CN110072012B - Reminding method for screen state switching and mobile terminal - Google Patents

Reminding method for screen state switching and mobile terminal Download PDF

Info

Publication number
CN110072012B
CN110072012B CN201910351578.4A CN201910351578A CN110072012B CN 110072012 B CN110072012 B CN 110072012B CN 201910351578 A CN201910351578 A CN 201910351578A CN 110072012 B CN110072012 B CN 110072012B
Authority
CN
China
Prior art keywords
screen state
state
target
screen
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910351578.4A
Other languages
Chinese (zh)
Other versions
CN110072012A (en
Inventor
冯天良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910351578.4A priority Critical patent/CN110072012B/en
Publication of CN110072012A publication Critical patent/CN110072012A/en
Application granted granted Critical
Publication of CN110072012B publication Critical patent/CN110072012B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/453Help systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a reminding method for screen state switching and a mobile terminal, and belongs to the technical field of mobile terminals. The mobile terminal can acquire relevant parameters of a current display picture in a screen, determine a screen state matched with the current display picture based on the relevant parameters to obtain a target screen state, and output target reminding information corresponding to the target screen state if the current screen state of the screen is not matched with the target screen state. In the embodiment of the invention, when the current screen state is not matched with the target screen state, namely the current display picture is not matched with the current screen state, the target reminding information is output to the user, so that the user is reminded to switch the screen state to the state matched with the current display picture in time, the problem that the current screen state is not matched with the current display picture is further reduced to a certain extent, and the display effect of the mobile terminal is improved.

Description

Reminding method for screen state switching and mobile terminal
Technical Field
The invention belongs to the technical field of mobile terminals, and particularly relates to a reminding method for screen state switching and a mobile terminal.
Background
With the continuous development of mobile terminal technology, mobile terminals with foldable screens are applied more and more widely. For a mobile terminal with a foldable screen, a user can fold the screen along a preset folding area of the screen and switch the screen state of the mobile terminal to a folding state to reduce the actual display area of the screen during use, and can also unfold the screen and switch the screen state of the mobile terminal to an unfolding state to expand the actual display area of the screen.
In the prior art, a user usually determines when to switch the screen state by means of personal experience, and thus, the problem that the current display picture is not matched with the current actual display area due to the fact that the screen state cannot be timely and properly switched often occurs, and the display effect is poor.
Disclosure of Invention
The invention provides a reminding method for screen state switching and a mobile terminal, which are used for solving the problem of poor display effect caused by switching screen states based on personal experience.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for reminding screen state switching, which is applied to a mobile terminal, where a screen of the mobile terminal is a foldable screen, and the method may include:
acquiring related parameters of a current display picture in the screen;
determining a screen state matched with the current display picture based on the related parameters to obtain a target screen state; the target screen state is a folded state or an unfolded state;
if the current screen state of the screen is not matched with the target screen state, outputting target reminding information corresponding to the target screen state; the target reminding information is used for reminding a user of switching the current screen state to the target screen state.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where a screen of the mobile terminal is a foldable screen, and the mobile terminal may include:
the first acquisition module is used for acquiring related parameters of a current display picture in the screen;
the determining module is used for determining the screen state matched with the current display picture based on the related parameters to obtain a target screen state; the target screen state is a folded state or an unfolded state;
the output module is used for outputting target reminding information corresponding to the target screen state if the current screen state of the screen is not matched with the target screen state; the target reminding information is used for reminding a user of switching the current screen state to the target screen state.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the method for prompting screen state switching according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the reminding method for screen state switching according to the first aspect.
In the embodiment of the invention, the mobile terminal can acquire the related parameters of the current display picture in the screen, then determine the screen state matched with the current display picture based on the related parameters to obtain the target screen state, wherein the target screen state is a folded state or an unfolded state, and finally, if the current screen state of the screen is not matched with the target screen state, output the target reminding information corresponding to the target screen state, wherein the target reminding information is used for reminding a user to switch the current screen state to the target screen state. In the embodiment of the invention, when the current screen state is not matched with the target screen state, namely the current display picture is not matched with the current screen state, the target reminding information is output to the user, so that the user is reminded to switch the screen state to the state matched with the current display picture in time, the problem that the current screen state is not matched with the current display picture is further reduced to a certain extent, and the display effect of the mobile terminal is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for prompting screen status switching according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a method for prompting screen status switching according to a second embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a flowchart of steps of a reminding method for screen state switching according to an embodiment of the present invention, where the method is applicable to a mobile terminal, and a screen of the mobile terminal is a foldable screen, as shown in fig. 1, the method may include:
step 101, obtaining relevant parameters of a current display picture in the screen.
In the embodiment of the present invention, the current display frame may be a frame displayed in a current screen, and the related parameter may be a parameter that affects a degree of adaptation between the current display frame and a current screen state of the screen, for example, users may have different requirements for using different application programs, for example, some applications are used in situations where the display area is large, enabling the content of the application to be better displayed, the adaptation of the picture to the current screen state may therefore vary from application to application and, accordingly, the related parameter may be an identifier of an application program to which the current display screen belongs, and further, in an actual application scenario, a picture with an irregular size may appear, and the adaptation degree of the picture with different size to the current screen state may be different, and accordingly, the related parameter may be the picture resolution of the current display picture.
Step 102, determining a screen state matched with the current display picture based on the related parameters to obtain a target screen state; the target screen state is a folded state or an unfolded state.
In the embodiment of the present invention, the screen state adapted to the current display screen refers to a screen state capable of optimizing the display effect of the current display screen, for example, if the display effect of the current display screen is optimal in the state that the screen is unfolded, it may be determined that the screen state adapted to the current display screen is an unfolded state, and accordingly, if the display effect of the current display screen is optimal in the state that the screen is folded, it may be determined that the screen state adapted to the current display screen is a folded state. Further, since the screen states adapted to different current display pictures may be different, in the embodiment of the present invention, the mobile terminal may determine, according to the related parameter of the current display picture, which screen state the display effect of the current display picture can be optimized in.
103, if the current screen state of the screen is not matched with the target screen state, outputting target reminding information corresponding to the target screen state; the target reminding information is used for reminding a user of switching the current screen state to the target screen state.
In the embodiment of the present invention, if the current screen state is not consistent with the target screen state, the current screen state and the target screen state may be considered to be not matched, for example, if the current screen state is a folded state and the target screen state is an unfolded state, the current screen state and the target screen state may be considered to be not matched, and accordingly, if the current screen state is an unfolded state and the target screen state is a folded state, the current screen state and the target screen state may be considered to be not matched.
Further, if the current screen state of the screen is not matched with the target screen state, it may be considered that the current display picture is not matched with the actual display area provided by the screen in the current screen state, and therefore, target reminding information corresponding to the target screen state may be output to the user, where the target reminding information is used to remind the user to switch the current screen state to the target screen state, and the target reminding information may be information of a text type, or information of a voice type, an animation type, or the like, and the embodiment of the present invention does not limit this.
In summary, in the reminding method for switching the screen state provided in the embodiment of the present invention, the mobile terminal may obtain the relevant parameters of the current display picture in the screen, then determine the screen state adapted to the current display picture based on the relevant parameters, to obtain the target screen state, where the target screen state is a folded state or an unfolded state, and finally, if the current screen state of the screen is not matched to the target screen state, output the target reminding information corresponding to the target screen state, where the target reminding information is used to remind the user to switch the current screen state to the target screen state. In the embodiment of the invention, when the current screen state is not matched with the target screen state, namely the current display picture is not matched with the current screen state, the target reminding information is output to the user, so that the user is reminded to switch the screen state to the state matched with the current display picture in time, the problem that the current screen state is not matched with the current display picture is further reduced to a certain extent, and the display effect of the mobile terminal is improved.
Example two
Fig. 2 is a flowchart of steps of a reminding method for screen state switching according to a second embodiment of the present invention, where the method is applicable to a mobile terminal, and a screen of the mobile terminal is a foldable screen, as shown in fig. 2, the method may include:
step 201, obtaining relevant parameters of a current display picture in the screen.
For example, the related parameter may be an identifier of an application program to which the current display screen belongs, the identifier of the application program may be an identifier that can be used to uniquely distinguish the application program, and the identifier of the application program may be a name of the application program, a number of the application program, or the like. Accordingly, the mobile terminal may obtain actual data corresponding to the current display screen from the background data, and then extract the identifier of the application program from the obtained data. Further, the related parameter may also be a picture resolution of the current display picture, and accordingly, the mobile terminal may read actual data corresponding to the current display picture from the background data, determine the number of pixels of the current display picture in the horizontal direction based on the corresponding actual data, and determine the number of pixels of the current display picture in the vertical direction based on the corresponding actual data, thereby obtaining the picture resolution of the current display picture.
Step 202, determining a screen state adapted to the current display picture based on the relevant parameters to obtain a target screen state; the target screen state is a folded state or an unfolded state.
In this step, if the relevant parameter is the identifier of the application program to which the current display screen belongs, step 202 can be implemented by steps 2021 to 2022 in the first implementation manner:
the implementation mode is as follows:
step 2021, taking the identifier of the application program to which the current display screen belongs as a target identifier, and searching for the screen state corresponding to the target identifier from a preset correspondence relationship between the application program identifier and the screen state.
In this step, the preset correspondence relationship between the application identifier and the screen state may include each application identifier and its corresponding screen state, where the screen state corresponding to each application identifier may be a screen state that is preset for the application program and is adapted to the main display content of the application program based on the characteristics of the display content corresponding to the main function of the application program by a developer. For example, assuming that the main function of the application a is text reading, since the main display content of the application a is often a text when the user uses the application to read the text, and the text is usually displayed in a folded state, a better display effect can be achieved, it can be determined that the screen state adapted to the application a is the folded state, accordingly, the corresponding relationship between the identifier of the application a and the folded state can be established in the corresponding relationship between the identifier of the application and the screen state, further, assuming that the main function of the application b is a game, since the user uses the application to play the game, the main display content of the application is often a dynamic picture, and the dynamic picture in the game is usually displayed in an unfolded state to achieve a better display effect, therefore, the screen state adapted to the application program b can be determined to be the expansion state, and accordingly, the correspondence between the identifier of the application program b and the expansion state can be established in the correspondence between the identifier of the application program b and the screen state.
In the embodiment of the invention, the adaptive screen states are preset for different application programs based on the characteristics of the display contents corresponding to the main functions of the different application programs to establish the corresponding relation between the application program identifier and the screen state, and the screen state corresponding to the application program to which the current display picture belongs is searched from the corresponding relation to be used as the target screen state, so that in the subsequent steps, the mobile terminal can remind a user of switching the current screen state to the screen state adaptive to the application program to which the current display picture belongs, the user experience when the user uses the application program to which the current display picture belongs can be improved, and the current display effect is improved.
Further, the application identifier and screen state correspondence may include: and the application program identification and application type corresponding relation and the application type and screen state corresponding relation. Specifically, since the applications of the same category often have the same main function, and thus, the screen states adapted to the main display contents of the respective application programs in the same category often coincide with each other, in the embodiment of the present invention, the category to which each application program belongs may be determined in advance based on the main function of each application program, and the correspondence between the application program identifier and the application category is established, and then, the screen state corresponding to each application category is determined based on the main function corresponding to each application category, and the correspondence between the application category and the screen state is established, so that the correspondence between the application program identifier and the screen state is obtained.
Accordingly, step 2021 may be achieved by the following sub-steps (1) to (2):
substep (1): and searching the application category corresponding to the application program identifier matched with the target identifier from the corresponding relation between the application program identifier and the application category to obtain the target category.
Specifically, when the correspondence between the application identifier and the application category is established in advance, the category to which each application belongs may be determined based on the main function of each application in a manner determined manually, for example, the category to which "some letter" of the application belongs may be determined as a social category, the category to which "clan X" of the application belongs may be determined as a game category, the category to which "some reading" of the application belongs may be determined as a reading category, and the like in a manner determined manually. Of course, it may also be that icons of each application program included in different application categories are collected and stored in advance, then when a category to which a certain application program belongs is judged, the similarity between the icon of the application program and the icon of each application program collected in advance may be judged by using a graph recognition technology, finally, the application category corresponding to the icon with the highest similarity is determined as the category to which the application program belongs, further, keywords capable of embodying the main function of each application category may be collected and stored in advance, for example, for a text type application program, keywords may be preset as "read", and the like, then when a category to which a certain application program belongs is judged, the matching degree between the semantic meaning represented by the name of the application program and the semantic represented by the keyword corresponding to each application category may be judged by using a semantic recognition technology, and finally, determining the application category corresponding to the highest matching degree as the category to which the application program belongs.
Further, the application identifier and application category corresponding relationship may be pre-stored in the local of the mobile terminal, or may be stored in the cloud, and accordingly, when the mobile terminal searches for the target category from the application identifier and application category corresponding relationship, the application identifier and application category corresponding relationship may be read locally, or the application identifier and application category corresponding relationship may be obtained from the cloud. Then, the mobile terminal may match each application identifier in the correspondence between the application identifier and the application category with the target identifier one by one, and finally, take the application category corresponding to the application identifier matched with the target identifier as the target category. If the similarity between the application identifier and the target identifier reaches a preset similarity threshold, the application identifier is considered to be matched with the target identifier, and the preset similarity threshold may be preset, for example, the preset similarity threshold may be 99%.
It should be noted that, in practical applications, one application program may correspond to a plurality of main functions, that is, may belong to a plurality of categories, and therefore, in the embodiment of the present invention, a weight may also be set for an application category corresponding to each main function based on a frequency with which each main function of the application program is used, and accordingly, when an identifier of the application program matches with a target identifier, an application category with a highest weight may be taken as the target category. Meanwhile, by pre-storing a plurality of corresponding application categories and taking the application category with the highest weight as the target category, when the frequency of using each main function changes, the mobile terminal can be conveniently controlled to determine the application category with the highest weight after adjustment as the target category by correspondingly adjusting the weights of the plurality of application categories corresponding to the application program, and of course, only the application category with the highest weight corresponding to the application program can be stored, which is not limited in the embodiment of the present invention.
Substep (2): and searching the screen state corresponding to the application category matched with the target category from the corresponding relation between the application category and the screen state to obtain the screen state corresponding to the target identifier.
Specifically, when the correspondence between the application category and the screen state is established in advance, the screen state may be adapted to the application category in advance based on the characteristics of the display content corresponding to the same main function of each application program in the application. For example, the corresponding screen state is set to the folded state for the text category, and the corresponding screen state is set to the expanded state for the game category. Further, the application category and screen state corresponding relationship may be pre-stored locally in the mobile terminal, or may also be stored in the cloud, and accordingly, the mobile terminal may first read the application category and screen state corresponding relationship locally, or obtain the application category and screen state corresponding relationship from the cloud. Then, the mobile terminal may match each application category in the correspondence between the application category and the screen state with the target category one by one, and further search for a screen state corresponding to the application category matched with the target category, that is, a screen state corresponding to the target identifier.
In an actual application scene, a large number of application programs often exist, if a mode of a corresponding relation between an identifier of an application program and a screen state is directly established in advance based on a screen state corresponding to each application program, when the screen state corresponding to a target identifier is searched, the target identifier needs to be matched with the identifiers of the large number of application programs one by one to determine the corresponding screen state, in the embodiment of the invention, the target class can be determined by establishing the corresponding relation between the identifier of the application program and the application class in advance and the corresponding relation between the application class and the screen state in advance, then the corresponding screen state can be determined by matching each application class in the corresponding relation between the target class and the application class and the screen state, and as the number of the application classes is far smaller than the number of the application programs, therefore, the cost for determining the matched screen state can be reduced to a certain extent, and the determination efficiency is improved.
Step 2022, determining the screen state corresponding to the target identifier as the target screen state.
For example, assuming that the screen state corresponding to the target identifier is a folded state, it may be determined that the target screen state is a folded state.
Further, in an actual application scenario, during the process of using the mobile terminal, the user may control the mobile terminal to display some unconventional-sized frames, such as a long screenshot, or video frames with different resolutions, and so on, so that the relevant parameter may also be the frame resolution of the currently displayed frame, and accordingly, step 202 may be implemented through steps 2023 to 2025 in the following implementation manner two:
the implementation mode two is as follows:
step 2023, acquiring the display resolution of the current display area of the screen and the current screen state of the screen.
Specifically, when the display resolution of the current display area of the screen is obtained, a screenshot of the screen display content may be performed, and then the number of pixels of the screenshot in the horizontal direction and the number of pixels in the vertical direction are calculated, so as to obtain the display resolution of the current display area. Further, in an actual application scenario, in a mobile terminal configured with a foldable screen, the display resolution of the display area of the screen in the folded state and the display resolution of the display area in the unfolded state are often pre-stored, and accordingly, when the current screen state is acquired, the screen state corresponding to the display resolution matching the acquired display resolution may be determined as the current screen state based on comparing the acquired display resolution with the pre-stored display resolution of the display area in a different screen state, for example, assuming that the display resolution of the screen of the mobile terminal in the folded state is 2000 × 1000, and the display resolution in the unfolded state is 4000 × 1000, when the display resolution of the current display area matches 2000 × 1000, the current screen state may be determined as the folded state, accordingly, when the display resolution of the current display area matches 4000 × 1000, the current screen state may be determined to be the expanded state.
Step 2024, if the resolution of the image is not greater than the display resolution and the current screen state is the extended state, determining that the target screen state is the folded state.
In this step, if the resolution of the currently displayed picture is not greater than the resolution of the currently displayed area of the screen and the current screen state is the expanded state, it can be considered that the currently displayed picture is not required to be displayed with a large display area, and at this time, the target screen state can be determined to be the folded state, so as to remind the user to switch the screen to the folded state in the subsequent steps, thereby reducing unnecessary consumption of electric quantity of the mobile terminal to a certain extent and reducing unnecessary waste of mobile terminal resources.
Step 2025, if the frame resolution is greater than the display resolution and the current screen state is a folded state, determining that the target screen state is an unfolded state.
In this step, if the resolution of the currently displayed picture is greater than the resolution of the currently displayed area of the screen and the current screen state is the folded state, it may be considered that the currently displayed picture is displayed in a smaller display area, and there may be a problem that the currently displayed picture is compressed and displayed.
In the embodiment of the invention, the target screen state is determined based on the picture resolution of the current display picture and the display resolution of the current display area in the current screen state, so that in the subsequent steps, the user can be reminded to switch the screen state to the unfolding state based on the target screen state under the condition that the current display area of the screen is too small, thereby improving the display effect of the current display picture, and switch the screen state to the folding state under the condition that the current display area of the screen is too large, thereby improving the display effect of the current display picture and reducing unnecessary waste of mobile terminal resources.
Step 203, if the current screen state of the screen is not matched with the target screen state, outputting target reminding information corresponding to the target screen state.
Specifically, the step 103 may be referred to in an implementation manner of this step, and this is not limited in this embodiment of the present invention.
Further, corresponding to the second implementation manner in step 202, after the mobile terminal outputs the target reminding information, the user may correspondingly adjust the screen state based on the target reminding information, and accordingly, the mobile terminal may further perform the following steps a to C after step 203, so as to further improve the viewing experience of the user:
and step A, if the current screen state is detected to be set to be the state matched with the target screen state, acquiring the aspect ratio of the current display picture and the aspect ratio of the current display area of the screen.
For example, if the target screen state is a folded state, it may be confirmed that the current screen state is detected to be set to a state that fits the target screen state when the current screen state is set to the folded state, and correspondingly, if the target screen state is an expanded state, it may be confirmed that the current screen state is detected to be set to a state that fits the target screen state when the current screen state is set to the expanded state. Further, the mobile terminal may calculate a ratio of the number of pixels in the horizontal direction to the number of pixels in the vertical direction of the current display screen to obtain an aspect ratio of the current display screen, and calculate a ratio of the number of pixels in the horizontal direction to the number of pixels in the vertical direction of the current display area to obtain an aspect ratio of the current display area.
And B, calculating the ratio of the aspect ratio of the current display picture to the aspect ratio of the current display area.
For example, assuming that the aspect ratio of the current display screen is 1:1 and the aspect ratio of the current display area is 2:1, a ratio of 1:1/2:1 to 0.5 may be obtained.
And C, if the ratio falls out of the preset ratio range, adjusting the aspect ratio of the current display picture so as to enable the ratio to fall into the preset ratio range.
Specifically, the preset ratio range may be preset by a developer according to an actual situation, for example, the preset ratio range may be [0.7, 1.3], and accordingly, if the ratio falls outside the preset ratio range, the ratio of the current display screen to the ratio of the current display area may be considered to be greatly different, and accordingly, the aspect ratio of the current display screen may be adjusted, for example, the aspect ratio of the current display screen may be adjusted to 1.4:1, so that the ratio falls within the preset ratio range, and thus, the difference between the ratio of the current display screen to the ratio of the current display area may be reduced, so that the current display screen looks more harmonious in the current display area, and the display effect is further improved.
And step 204, acquiring the current residual power of the mobile terminal.
In this step, the mobile terminal may determine a current value of current battery input/output, and then integrate the current value with respect to time to obtain the current remaining power.
Step 205, determining whether the current remaining power is smaller than a preset power threshold.
In this step, the preset electric quantity threshold may be preset according to an actual situation, for example, the preset electric quantity threshold may be 30%, or the preset electric quantity threshold may also be 20%, further, the preset electric quantity threshold may be stored locally in the mobile terminal, or may also be stored in the preset server, and accordingly, the mobile terminal may obtain and store the preset electric quantity threshold from the preset server in a preset period, which is not limited in the embodiment of the present invention. Specifically, the mobile terminal may compare the current remaining power with a preset power threshold, so as to determine whether the current remaining power is smaller than the preset power threshold.
Step 206, if the current remaining power is less than the preset power threshold and the current screen state is an expanded state, displaying folding reminding information; the folding reminding information is used for prompting a user to switch the current screen state into a folding state.
In this step, if the current remaining power is less than the preset power threshold, it may be considered that the current remaining power is small, further, if the current screen state is the expanded state at this time, a problem that the power of the mobile terminal is exhausted soon may occur, accordingly, in order to increase the duration of the mobile terminal as much as possible and avoid the automatic shutdown of the mobile terminal, the mobile terminal may display a folding reminding message when the current remaining power is less than the preset power threshold and the current screen state is the expanded state, where the folding reminding message is used to remind the user to switch the current screen state to the folded state, so as to save the power of the mobile terminal as much as possible, and further, the folding reminding message may be a text type message, or may be a message of a type such as voice, animation, and the embodiment of the present invention does not limit this.
Further, when the folding reminding information is displayed, the mobile terminal may calculate the duration of the mobile terminal when the screen state is the unfolded state based on the historical power consumption speed when the screen state is the unfolded state and the current remaining power, wherein the historical power consumption speed when the screen state is the unfolded state may be calculated in advance based on a historical power consumption curve in the unfolded state, the historical power consumption speed may be stored in the mobile terminal in advance, correspondingly, the mobile terminal may read the historical power consumption speed, then calculate a quotient of the current remaining power and the historical power consumption speed to obtain the duration of the mobile terminal when the screen state is the unfolded state, and then, the mobile terminal may display the duration of the flight and the folding reminding information.
In the embodiment of the invention, the endurance time when the screen state is the unfolding state is determined, and the endurance time and the folding reminding information are simultaneously displayed, so that the user can intuitively determine the endurance time of the mobile terminal under the condition of not switching while prompting the user to switch the screen state to the folding state so as to reduce power consumption, and further the user can select whether to switch according to the actual condition of the user. Furthermore, in an actual application scenario, the duration of the mobile terminal in the folded state can be calculated based on the historical power consumption speed and the current remaining power of the screen in the folded state, and the duration of the mobile terminal in the folded state is displayed at the same time, so that more selection bases can be provided for the user. It should be noted that, in an actual application scenario, the sequence of step 204 to step 206 in the embodiment of the present invention is not unique, for example, step 204 to step 206 may be after step 203, or before step 203, or after step 202, or before step 202, or after step 201, or before step 201, and in the embodiment of the present invention, only step 204 to step 206 are schematically described after step 203.
In summary, in the reminding method for switching the screen state provided in the second embodiment of the present invention, the mobile terminal may obtain the relevant parameters of the current display picture in the screen, then determine the screen state adapted to the current display picture based on the relevant parameters, to obtain the target screen state, where the target screen state is a folded state or an unfolded state, and finally, if the current screen state of the screen is not matched to the target screen state, output the target reminding information corresponding to the target screen state, where the target reminding information is used to remind the user to switch the current screen state to the target screen state. In the embodiment of the invention, when the current screen state is not matched with the target screen state matched with the current display picture, namely when the current display picture is not matched with the current screen state, the target reminding information is output to the user, so that the user is reminded to switch the screen state to the state matched with the current display picture in time, the problem that the current screen state is not matched with the current display picture is further reduced to a certain extent, and the display effect of the mobile terminal is improved.
Furthermore, the mobile terminal can also determine the current residual capacity, and when the current residual capacity is low, the mobile terminal reminds a user to switch the screen state into a folded state capable of saving the electric quantity, so that the endurance time of the mobile terminal is increased as much as possible, and the user experience is further improved.
EXAMPLE III
Fig. 3 is a block diagram of a mobile terminal according to a third embodiment of the present invention, and as shown in fig. 3, the mobile terminal 30 may include:
a first obtaining module 301, configured to obtain a relevant parameter of a current display frame in the screen.
A determining module 302, configured to determine, based on the relevant parameter, a screen state adapted to the current display picture, so as to obtain a target screen state; the target screen state is a folded state or an unfolded state.
An output module 303, configured to output a target reminding message corresponding to the target screen state if the current screen state of the screen is not matched with the target screen state; the target reminding information is used for reminding a user of switching the current screen state to the target screen state.
In summary, the mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiment of fig. 1, and is not described herein again to avoid repetition. In the mobile terminal provided in the embodiment of the present invention, the first obtaining module may obtain relevant parameters of a current display picture in a screen, and then the determining module may determine, based on the relevant parameters, a screen state adapted to the current display picture to obtain a target screen state, where the target screen state is a folded state or an unfolded state, and finally, if the current screen state of the screen is not matched with the target screen state, the output module may output target prompting information corresponding to the target screen state, where the target prompting information is used to prompt a user to switch the current screen state to the target screen state. In the embodiment of the invention, when the current screen state is not matched with the target screen state, namely the current display picture is not matched with the current screen state, the target reminding information is output to the user, so that the user is reminded to switch the screen state to the state matched with the current display picture in time, the problem that the current screen state is not matched with the current display picture is further reduced to a certain extent, and the display effect of the mobile terminal is improved.
Example four
Fig. 4 is a block diagram of a mobile terminal according to a fourth embodiment of the present invention, and as shown in fig. 4, the mobile terminal 40 may include:
a first obtaining module 401, configured to obtain relevant parameters of a current display frame in the screen;
a determining module 402, configured to determine, based on the relevant parameter, a screen state adapted to the current display picture, so as to obtain a target screen state; the target screen state is a folded state or an unfolded state;
an output module 403, configured to output a target reminding message corresponding to the target screen state if the current screen state of the screen is not matched with the target screen state; the target reminding information is used for reminding a user of switching the current screen state to the target screen state.
Optionally, the related parameter is an identifier of an application program to which the current display screen belongs;
the determining module 402 includes:
the searching submodule is used for taking the identifier of the application program to which the current display picture belongs as a target identifier, and searching the screen state corresponding to the target identifier from the corresponding relation between the preset application program identifier and the screen state;
and the determining submodule is used for determining the screen state corresponding to the target identifier as the target screen state.
Optionally, the correspondence between the application identifier and the screen state includes: the corresponding relation between the application program identification and the application type and the corresponding relation between the application type and the screen state;
the search submodule is configured to:
searching an application category corresponding to the application program identifier matched with the target identifier from the corresponding relation between the application program identifier and the application category to obtain a target category;
and searching the screen state corresponding to the application category matched with the target category from the corresponding relation between the application category and the screen state to obtain the screen state corresponding to the target identifier.
Optionally, the related parameter is a picture resolution of the current display picture;
the determining module 402 is configured to:
acquiring the display resolution of the current display area of the screen and the current screen state of the screen;
if the picture resolution is not greater than the display resolution and the current screen state is an expanded state, determining that the target screen state is a folded state;
and if the picture resolution is greater than the display resolution and the current screen state is a folded state, determining that the target screen state is an unfolded state.
Optionally, the mobile terminal 40 further includes:
a second obtaining module, configured to obtain an aspect ratio of a current display picture and an aspect ratio of a current display area of the screen if it is detected that the current screen state is set to a state that is adaptive to the target screen state;
the calculation module is used for calculating the ratio of the aspect ratio of the current display picture to the aspect ratio of the current display area;
and the adjusting module is used for adjusting the aspect ratio of the current display picture if the ratio falls outside a preset ratio range so as to enable the ratio to fall within the preset ratio range.
Optionally, the mobile terminal 40 further includes:
a third obtaining module 404, configured to obtain a current remaining power of the mobile terminal;
a determining module 405, configured to determine whether the current remaining power is smaller than a preset power threshold;
a display module 406, configured to display a folding reminding message if the current remaining power is less than the preset power threshold and the current screen state is an expanded state; the folding reminding information is used for prompting a user to switch the current screen state into a folding state.
Optionally, the display module 406 is configured to:
calculating the duration of the mobile terminal when the unfolding state is the folding state based on the historical power consumption speed when the screen state is the unfolding state and the current residual power;
and displaying the endurance time and the folding reminding information.
In summary, the mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiment of fig. 2, and is not described herein again to avoid repetition. The mobile terminal provided by the embodiment of the invention can acquire the relevant parameters of the current display picture in the screen, then determine the screen state matched with the current display picture based on the relevant parameters to obtain the target screen state, wherein the target screen state is a folded state or an unfolded state, and finally, if the current screen state of the screen is not matched with the target screen state, output the target reminding information corresponding to the target screen state, wherein the target reminding information is used for reminding a user to switch the current screen state to the target screen state. In the embodiment of the invention, when the current screen state is not matched with the target screen state matched with the current display picture, namely when the current display picture is not matched with the current screen state, the target reminding information is output to the user, so that the user is reminded to switch the screen state to the state matched with the current display picture in time, the problem that the current screen state is not matched with the current display picture is further reduced to a certain extent, and the display effect of the mobile terminal is improved. Furthermore, the mobile terminal can also determine the current residual capacity, and when the current residual capacity is low, the mobile terminal reminds a user to switch the screen state into a folded state capable of saving the electric quantity, so that the endurance time of the mobile terminal is increased as much as possible, and the user experience is further improved.
Figure 5 is a schematic diagram of a hardware configuration of a mobile terminal implementing various embodiments of the present invention,
the mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
The processor 510 is configured to obtain relevant parameters of a current display frame in the screen.
A processor 510, configured to extract images included in the target video, so as to obtain at least two candidate images.
A processor 510, configured to determine, based on the relevant parameter, a screen state adapted to the current display picture, and obtain a target screen state; the target screen state is a folded state or an unfolded state.
A processor 510, configured to output a target reminding message corresponding to the target screen state if the current screen state of the screen is not matched with the target screen state; the target reminding information is used for reminding a user of switching the current screen state to the target screen state.
In the embodiment of the invention, the mobile terminal can acquire the related parameters of the current display picture in the screen, then determine the screen state matched with the current display picture based on the related parameters to obtain the target screen state, wherein the target screen state is a folded state or an unfolded state, and finally, if the current screen state of the screen is not matched with the target screen state, output the target reminding information corresponding to the target screen state, wherein the target reminding information is used for reminding a user to switch the current screen state to the target screen state. In the embodiment of the invention, when the current screen state is not matched with the target screen state, namely the current display picture is not matched with the current screen state, the target reminding information is output to the user, so that the user is reminded to switch the screen state to the state matched with the current display picture in time, the problem that the current screen state is not matched with the current display picture is further reduced to a certain extent, and the display effect of the mobile terminal is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 106 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the above-mentioned reminding method for switching the screen state embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the processes of the above-mentioned reminding method for switching the screen state, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a mobile terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A reminding method for screen state switching is applied to a mobile terminal, and a screen of the mobile terminal is a foldable screen, and is characterized by comprising the following steps:
acquiring related parameters of a current display picture in the screen;
determining a screen state matched with the current display picture based on the related parameters to obtain a target screen state; the target screen state is a folded state or an unfolded state;
if the current screen state of the screen is not matched with the target screen state, outputting target reminding information corresponding to the target screen state; the target reminding information is used for reminding a user to switch the current screen state to the target screen state
The related parameters are the identifiers of the application programs to which the current display pictures belong;
the determining the screen state adapted to the current display picture based on the relevant parameters to obtain the target screen state includes:
taking the identifier of the application program to which the current display picture belongs as a target identifier, and searching a screen state corresponding to the target identifier from a preset corresponding relation between the application program identifier and the screen state;
determining the screen state corresponding to the target identifier as the target screen state;
wherein the current display picture comprises a picture displayed in a current screen.
2. The method of claim 1, wherein the application identification to screen state correspondence comprises: the corresponding relation between the application program identification and the application type and the corresponding relation between the application type and the screen state;
the searching for the screen state corresponding to the target identifier from the preset corresponding relationship between the application identifier and the screen state includes:
searching an application category corresponding to the application program identifier matched with the target identifier from the corresponding relation between the application program identifier and the application category to obtain a target category;
and searching the screen state corresponding to the application category matched with the target category from the corresponding relation between the application category and the screen state to obtain the screen state corresponding to the target identifier.
3. The method according to claim 1, wherein the related parameter is a picture resolution of the currently displayed picture;
the determining the screen state adapted to the current display picture based on the relevant parameters to obtain the target screen state includes:
acquiring the display resolution of the current display area of the screen and the current screen state of the screen;
if the picture resolution is not greater than the display resolution and the current screen state is an expanded state, determining that the target screen state is a folded state;
and if the picture resolution is greater than the display resolution and the current screen state is a folded state, determining that the target screen state is an unfolded state.
4. The method of claim 3, wherein after outputting the target reminder information that matches the target screen state, the method further comprises:
if the current screen state is detected to be set to be the state matched with the target screen state, acquiring the aspect ratio of a current display picture and the aspect ratio of a current display area of the screen;
calculating the ratio of the aspect ratio of the current display picture to the aspect ratio of the current display area;
and if the ratio falls out of the preset ratio range, adjusting the aspect ratio of the current display picture so as to enable the ratio to fall into the preset ratio range.
5. The method of any of claims 1 to 4, further comprising:
acquiring the current residual electric quantity of the mobile terminal;
judging whether the current residual electric quantity is smaller than a preset electric quantity threshold value or not;
if the current residual electric quantity is smaller than the preset electric quantity threshold value and the current screen state is an expanded state, displaying folding reminding information; the folding reminding information is used for prompting a user to switch the current screen state into a folding state.
6. The method of claim 5, wherein the displaying the fold reminder information comprises:
calculating the duration of the mobile terminal when the unfolding state is the folding state based on the historical power consumption speed when the screen state is the unfolding state and the current residual power;
and displaying the endurance time and the folding reminding information.
7. A mobile terminal, a screen of the mobile terminal is a foldable screen, the mobile terminal comprising:
the first acquisition module is used for acquiring related parameters of a current display picture in the screen;
the determining module is used for determining the screen state matched with the current display picture based on the related parameters to obtain a target screen state; the target screen state is a folded state or an unfolded state;
the output module is used for outputting target reminding information corresponding to the target screen state if the current screen state of the screen is not matched with the target screen state; the target reminding information is used for reminding a user of switching the current screen state to the target screen state;
the related parameters are the identifiers of the application programs to which the current display pictures belong;
the determining module includes:
the searching submodule is used for taking the identifier of the application program to which the current display picture belongs as a target identifier, and searching the screen state corresponding to the target identifier from the corresponding relation between the preset application program identifier and the screen state;
the determining submodule is used for determining the screen state corresponding to the target identifier as the target screen state;
wherein the current display picture comprises a picture displayed in a current screen.
8. The mobile terminal of claim 7, wherein the application identifier and screen state correspondence comprises: the corresponding relation between the application program identification and the application type and the corresponding relation between the application type and the screen state;
the search submodule is configured to:
searching an application category corresponding to the application program identifier matched with the target identifier from the corresponding relation between the application program identifier and the application category to obtain a target category;
and searching the screen state corresponding to the application category matched with the target category from the corresponding relation between the application category and the screen state to obtain the screen state corresponding to the target identifier.
9. The mobile terminal according to claim 7, wherein the related parameter is a picture resolution of the current display picture;
the determining module is configured to:
acquiring the display resolution of the current display area of the screen and the current screen state of the screen;
if the picture resolution is not greater than the display resolution and the current screen state is an expanded state, determining that the target screen state is a folded state;
and if the picture resolution is greater than the display resolution and the current screen state is a folded state, determining that the target screen state is an unfolded state.
10. The mobile terminal of claim 9, wherein the mobile terminal further comprises:
a second obtaining module, configured to obtain an aspect ratio of a current display picture and an aspect ratio of a current display area of the screen if it is detected that the current screen state is set to a state that is adaptive to the target screen state;
the calculation module is used for calculating the ratio of the aspect ratio of the current display picture to the aspect ratio of the current display area;
and the adjusting module is used for adjusting the aspect ratio of the current display picture if the ratio falls outside a preset ratio range so as to enable the ratio to fall within the preset ratio range.
11. The mobile terminal according to any of claims 7 to 10, wherein the mobile terminal further comprises:
the third acquisition module is used for acquiring the current residual electric quantity of the mobile terminal;
the judging module is used for judging whether the current residual electric quantity is smaller than a preset electric quantity threshold value or not;
the display module is used for displaying folding reminding information if the current residual electric quantity is smaller than the preset electric quantity threshold value and the current screen state is an unfolding state; the folding reminding information is used for prompting a user to switch the current screen state into a folding state.
12. The mobile terminal of claim 11, wherein the display module is configured to:
calculating the duration of the mobile terminal when the unfolding state is the folding state based on the historical power consumption speed when the screen state is the unfolding state and the current residual power;
and displaying the endurance time and the folding reminding information.
13. A mobile terminal comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the alerting method for screen state switching of any of claims 1 to 6.
CN201910351578.4A 2019-04-28 2019-04-28 Reminding method for screen state switching and mobile terminal Active CN110072012B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910351578.4A CN110072012B (en) 2019-04-28 2019-04-28 Reminding method for screen state switching and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910351578.4A CN110072012B (en) 2019-04-28 2019-04-28 Reminding method for screen state switching and mobile terminal

Publications (2)

Publication Number Publication Date
CN110072012A CN110072012A (en) 2019-07-30
CN110072012B true CN110072012B (en) 2021-11-09

Family

ID=67369367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910351578.4A Active CN110072012B (en) 2019-04-28 2019-04-28 Reminding method for screen state switching and mobile terminal

Country Status (1)

Country Link
CN (1) CN110072012B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230793A (en) * 2019-11-15 2021-01-15 华为技术有限公司 Display method of electronic equipment with flexible screen and electronic equipment
CN111198668B (en) * 2019-12-26 2023-06-16 成都中科合迅科技有限公司 Multi-screen system and multi-screen interaction method based on browser
CN111614992B (en) * 2020-05-20 2022-05-31 西安闻泰电子科技有限公司 Screen recording method and device and electronic equipment
CN111666056B (en) * 2020-05-28 2024-01-05 阿波罗智联(北京)科技有限公司 Screen switching display method and device, intelligent rearview mirror and readable storage medium
CN112905144B (en) * 2021-03-30 2024-03-22 中国建设银行股份有限公司 Terminal display method and device, electronic equipment and storage medium
CN113206915B (en) * 2021-04-28 2022-11-29 Oppo广东移动通信有限公司 Display method and device, computer readable medium and electronic equipment
CN116149531A (en) * 2021-11-19 2023-05-23 华为终端有限公司 Snapshot processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2450781A3 (en) * 2010-11-03 2013-03-27 Samsung Electronics Co., Ltd. Mobile terminal and screen change control method based on input signals for the same
CN105278811A (en) * 2015-10-23 2016-01-27 三星电子(中国)研发中心 Screen display device and method of intelligent terminal
CN106990828A (en) * 2017-03-31 2017-07-28 努比亚技术有限公司 A kind of apparatus and method for controlling screen display
CN107861670A (en) * 2017-11-30 2018-03-30 努比亚技术有限公司 Interactive display method, double screen terminal and the computer-readable storage medium of double screen terminal
CN108205411A (en) * 2017-09-30 2018-06-26 中兴通讯股份有限公司 Display changeover method and device, terminal
CN108989563A (en) * 2018-07-25 2018-12-11 努比亚技术有限公司 Display methods, mobile terminal and the computer readable storage medium of double-sided screen

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2011202836B2 (en) * 2010-12-21 2014-04-10 Lg Electronics Inc. Mobile terminal and method of controlling a mode screen display therein
CN104571979B (en) * 2013-10-09 2018-12-11 腾讯科技(深圳)有限公司 A kind of method and apparatus for realizing split view
CN109254715A (en) * 2018-08-31 2019-01-22 努比亚技术有限公司 Screen display direction control method, device, mobile terminal and readable storage medium storing program for executing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2450781A3 (en) * 2010-11-03 2013-03-27 Samsung Electronics Co., Ltd. Mobile terminal and screen change control method based on input signals for the same
CN105278811A (en) * 2015-10-23 2016-01-27 三星电子(中国)研发中心 Screen display device and method of intelligent terminal
CN106990828A (en) * 2017-03-31 2017-07-28 努比亚技术有限公司 A kind of apparatus and method for controlling screen display
CN108205411A (en) * 2017-09-30 2018-06-26 中兴通讯股份有限公司 Display changeover method and device, terminal
CN107861670A (en) * 2017-11-30 2018-03-30 努比亚技术有限公司 Interactive display method, double screen terminal and the computer-readable storage medium of double screen terminal
CN108989563A (en) * 2018-07-25 2018-12-11 努比亚技术有限公司 Display methods, mobile terminal and the computer readable storage medium of double-sided screen

Also Published As

Publication number Publication date
CN110072012A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
CN110072012B (en) Reminding method for screen state switching and mobile terminal
CN109739669B (en) Unread message prompting method and mobile terminal
CN111143015B (en) Screen capturing method and electronic equipment
CN108182271B (en) Photographing method, terminal and computer readable storage medium
CN108391008B (en) Message reminding method and mobile terminal
CN107748640B (en) Screen-off display method and mobile terminal
CN109523253B (en) Payment method and device
CN111142745B (en) Display method and electronic equipment
CN109558046B (en) Information display method and terminal equipment
CN109189303B (en) Text editing method and mobile terminal
CN110209452B (en) Page display method of mobile terminal and mobile terminal
CN109388456B (en) Head portrait selection method and mobile terminal
CN107808107B (en) Application message display method and mobile terminal
CN112596625A (en) Electronic equipment, display control method and device
CN110855839A (en) Message display method and electronic equipment
CN109656636B (en) Application starting method and device
CN109144393B (en) Image display method and mobile terminal
CN110825474B (en) Interface display method and device and electronic equipment
CN111158815B (en) Dynamic wallpaper blurring method, terminal and computer readable storage medium
CN110308769B (en) Information display method and terminal
CN109982273B (en) Information reply method and mobile terminal
CN110928407A (en) Information display method and device
CN108520760B (en) Voice signal processing method and terminal
CN108391011B (en) Face recognition method and mobile terminal
CN107729100B (en) Interface display control method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant