CN110072012A - A kind of based reminding method and mobile terminal for screen state switching - Google Patents

A kind of based reminding method and mobile terminal for screen state switching Download PDF

Info

Publication number
CN110072012A
CN110072012A CN201910351578.4A CN201910351578A CN110072012A CN 110072012 A CN110072012 A CN 110072012A CN 201910351578 A CN201910351578 A CN 201910351578A CN 110072012 A CN110072012 A CN 110072012A
Authority
CN
China
Prior art keywords
state
screen state
screen
target
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.)
Granted
Application number
CN201910351578.4A
Other languages
Chinese (zh)
Other versions
CN110072012B (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

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 present invention provides a kind of based reminding methods and mobile terminal for screen state switching, belong to technical field of mobile terminals.Wherein, the relevant parameter of picture is currently shown in the available screen of mobile terminal, based on the determining screen state compatible with current display picture of relevant parameter, obtain target screen state, if the current screen state of screen is not matched that with target screen state, target prompting message corresponding with target screen state is exported.In the embodiment of the present invention, by when current screen state and the target screen state do not match that, i.e., when current display picture and current screen state do not match that, target prompting message is exported to user, it reminds the user screen state is switched to state compatible with picture is currently shown in time with this, and then reduces current screen state and the not compatible problem of current display picture to a certain extent, improve the display effect of mobile terminal.

Description

A kind of based reminding method and mobile terminal for screen state switching
Technical field
The invention belongs to technical field of mobile terminals, more particularly to a kind of based reminding method for screen state switching and Mobile terminal.
Background technique
With the continuous development of mobile terminal technology, be equipped with folding screen mobile terminal obtained it is more and more extensive Application.Screen for configuration is the mobile terminal of folding screen, and user during use, can be along screen Predetermined collapse region, folds screen, the screen state of mobile terminal is switched to folded state, reduces screen with this Actual displayed region, screen can also be unfolded, the screen state of mobile terminal is switched to unfolded state, with this come Expand the actual displayed region of screen.
In the prior art, user is usually to rely on personal experience, to determine when switch over to screen state, in this way, Often will appear timely and appropriate cannot switch over screen state, cause currently to show picture and current actual displayed The not compatible problem in region, and then cause display effect poor.
Summary of the invention
The present invention provides a kind of based reminding method and mobile terminal for screen state switching, to solve based on personal warp It tests to switch screen state, the poor problem of caused display effect.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to movement the embodiment of the invention provides a kind of based reminding method for screen state switching The screen of terminal, the mobile terminal is folding screen, and this method may include:
Obtain the relevant parameter that picture is currently shown in the screen;
Based on the determining screen state compatible with the current display picture of the relevant parameter, target screen tentiform is obtained State;The target screen state is folded state or unfolded state;
If the current screen state of the screen is not matched that with the target screen state, output and the target screen The corresponding target prompting message of tentiform state;The target prompting message is for reminding user to switch to the current screen state The target screen state.
Second aspect, the embodiment of the invention provides a kind of mobile terminal, the screen of the mobile terminal is folding screen, The mobile terminal may include:
First obtains module, for obtaining the relevant parameter for currently showing picture in the screen;
Determining module, for determining screen state compatible with the current display picture based on the relevant parameter, Obtain target screen state;The target screen state is folded state or unfolded state;
Output module, it is defeated if the current screen state for the screen is not matched that with the target screen state Target prompting message corresponding with the target screen state out;The target prompting message is for reminding user will be described current Screen state switches to the target screen state.
The third aspect the embodiment of the invention provides a kind of mobile terminal, including processor, memory and is stored in described It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor Now as described in relation to the first aspect for screen state switching based reminding method the step of.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Computer program is stored on medium, when the computer program is executed by processor realize as described in relation to the first aspect be used for screen The step of based reminding method of state switching.
In embodiments of the present invention, the relevant parameter of picture, then, base are currently shown in the available screen of mobile terminal In the determining screen state compatible with current display picture of relevant parameter, target screen state is obtained, wherein the target screen State is folded state or unfolded state, finally, if the current screen state of screen is not matched that with target screen state, it is defeated Target prompting message corresponding with target screen state out, wherein the target prompting message is for reminding user by current screen State switches to target screen state.In the embodiment of the present invention, by current screen state and the target screen state not phase When matching, that is, when current display picture and current screen state do not match that, export target prompting message to user, come with this It reminds user that screen state is switched to state compatible with picture is currently shown in time, and then reduces to a certain extent current Screen state and the not compatible problem of current display picture, improve the display effect of mobile terminal.
Detailed description of the invention
Fig. 1 is a kind of step flow chart for based reminding method for screen state switching that the embodiment of the present invention one provides;
Fig. 2 is a kind of step flow chart of based reminding method for screen state switching provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of block diagram for mobile terminal that the embodiment of the present invention three provides;
Fig. 4 is a kind of block diagram for mobile terminal that the embodiment of the present invention four provides;
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is a kind of step flow chart for based reminding method for screen state switching that the embodiment of the present invention one provides, This method can be applied to mobile terminal, and the screen of the mobile terminal is folding screen, as shown in Figure 1, this method can wrap It includes:
Step 101 obtains the relevant parameter that picture is currently shown in the screen.
In the embodiment of the present invention, this currently shows that picture can be the picture shown in current screen, the relevant parameter It can be the parameter for being adapted to degree for influencing whether currently to show picture and the current screen state of screen, exemplary, user couple The use demand of different application is different, for example, certain application programs use in the biggish situation in display area, can make The content of the application program is preferably shown, therefore, picture in different application is adapted to current screen state Degree may be different, and correspondingly, which can be the mark of application program belonging to display picture before deserving, further Ground, in practical application scene, it is possible that the picture having a size of unconventional size, and various sizes of picture and current screen The adaptation degree of state may be different, and correspondingly, which can be the screen resolution of current display picture.
Step 102, based on the determining screen state compatible with the current display picture of the relevant parameter, obtain mesh Mark screen state;The target screen state is folded state or unfolded state.
In the embodiment of the present invention, screen state compatible with current display picture refers to that the current display can be made The screen state of being optimal of display effect of picture, for example, currently display picture shows effect in the state that screen is unfolded Fruit is optimal, then can determine that screen state compatible with picture is currently shown is that unfolded state correspondingly currently shows picture Face display effect in the state that screen folds is optimal, then can determine that screen state compatible with picture is currently shown is Folded state.Further, since the different compatible screen states of current display picture may be different, the present invention In embodiment, mobile terminal can be according to the relevant parameter of the current display picture, to determine specifically in any screen state The display effect of the current display picture can down be optimal.
If step 103, the current screen state of the screen are not matched that with the target screen state, output and institute State the corresponding target prompting message of target screen state;The target prompting message is for reminding user by the current screen shape State switches to the target screen state.
In the embodiment of the present invention, if current screen state and target screen state are inconsistent, it may be considered that the two is not Match, it is exemplary, it is assumed that current screen state is folded state, and target screen state is unfolded state, it may be considered that two Person do not match that, correspondingly, it is assumed that current screen state is unfolded state, and target screen state is folded state, then can recognize It is not matched that for the two.
Further, if the current screen state of screen is not matched that with target screen state, it may be considered that current aobvious Show that picture is not adapted with the actual displayed region that screen provides under current screen state, therefore, can to user export with The corresponding target prompting message of target screen state, wherein the target prompting message is for reminding user by current screen state Target screen state is switched to, which can be the information of literal type, be also possible to the types such as voice, animation Information, the embodiment of the present invention is not construed as limiting this.
In conclusion the based reminding method for screen state switching that the embodiment of the present invention one provides, mobile terminal can be with The relevant parameter that picture is currently shown in screen is obtained, it is then, determining compatible with current display picture based on relevant parameter Screen state obtains target screen state, wherein the target screen state is folded state or unfolded state, finally, if screen Current screen state do not matched that with target screen state, then export corresponding with target screen state target prompting message, Wherein, the target prompting message is for reminding user that current screen state is switched to target screen state.The embodiment of the present invention In, by when current screen state and the target screen state do not match that, that is, current display picture and current screen state When not matching that, target prompting message is exported to user, reminds the user to be in time switched to screen state and currently show with this Show the compatible state of picture, and then reduces current screen state and current display to a certain extent picture is not compatible and ask Topic, improves the display effect of mobile terminal.
Embodiment two
Fig. 2 is a kind of step flow chart of based reminding method for screen state switching provided by Embodiment 2 of the present invention, This method can be applied to mobile terminal, and the screen of the mobile terminal is folding screen, as shown in Fig. 2, this method can wrap It includes:
Step 201 obtains the relevant parameter that picture is currently shown in the screen.
Exemplary, which can be the mark of application program belonging to current display picture, the application program Mark can be used for the mark for uniquely distinguishing the application program, and exemplary, the mark of application program can be using journey The title of sequence, is also possible to number of application program, etc., and the embodiment of the present invention is not construed as limiting this.Correspondingly, mobile terminal The corresponding real data of current display picture can be obtained from back-end data, then from the data of the acquisition described in extraction The mark of application program.Further, which may be that the screen resolution of current display picture correspondingly moves Dynamic terminal can read the corresponding real data of current display picture from back-end data, be then based on the corresponding real data It determines the current display picture number of pixels in the horizontal direction, and the current display is determined based on the corresponding real data Picture vertical direction number of pixels, and then obtain currently show picture screen resolution.
Step 202, based on the determining screen state compatible with the current display picture of the relevant parameter, obtain mesh Mark screen state;The target screen state is folded state or unfolded state.
In this step, in the case where relevant parameter is the current mark for showing application program belonging to picture, correspondingly, Step 202 can be accomplished in the following manner the step 2021 in mode one~step 2022 and realize:
Implementation one:
Step 2021, using the mark of application program belonging to the current display picture as target identification, from preset In application program identification and screen state corresponding relationship, the corresponding screen state of the target identification is searched.
In this step, in the preset application program identification and screen state corresponding relationship, it may include each using journey Sequence mark and its corresponding screen state, wherein the corresponding screen state of each application program identification can be by exploit person The characteristic of the corresponding display content of major function of the member based on the application program is in advance the application setting and the application The compatible screen state of main display content of program.It is exemplary, it is assumed that the major function of application program a is to read text, Since user is when carrying out text reading using the application program, the main display content of the application program is often text, and Text is usually shown in the case where screen state is folded state, that is, can reach preferable display effect, hence, it can be determined that should The compatible screen state of application program a is folded state, correspondingly, can be in application program identification pass corresponding with screen state The mark of application program a and the corresponding relationship of folded state are established in system, further, it is assumed that the major function of application program b For game, since user is when carrying out object for appreciation game using the application program, the main display content of the application program is often State picture, and the dynamic menu in game usually screen state be unfolded state under carry out display can achieve preferable display Effect, hence, it can be determined that the compatible screen state of application program b is that unfolded state correspondingly can be in application program The mark of application program b and the corresponding relationship of unfolded state are established in mark and screen state corresponding relationship.
In the embodiment of the present invention, by the characteristic of the corresponding display content of the major function based on different application, in advance Compatible screen state, Lai Jianli application program identification and screen state corresponding relationship first are set for different application, and The corresponding screen state of picture owning application will currently be shown by therefrom searching, using as target screen state, and then can be with So that in subsequent step, mobile terminal may remind the user that switch to current screen state and be applied belonging to picture with currently showing The compatible screen state of program, and then user's body of the user using the current display picture owning application when can be improved It tests, and improves current display effect.
Further, the application program identification and screen state corresponding relationship may include: application program identification and application Classification corresponding relationship and applicating category and screen state corresponding relationship.Specifically, since same category of application often has phase Same major function, in this way, screen state compatible with the main display content of application program each in same category is often Unanimously, therefore, in the embodiment of the present invention, the major function that can be in advance based on each application program determines each application program institute The classification of category, and application program identification and applicating category corresponding relationship are established, it is then based on the corresponding master of each applicating category again Function is wanted, determines the corresponding screen state of each applicating category, and establish applicating category and screen state corresponding relationship, and then To application program identification and screen state corresponding relationship.
Correspondingly, step 2021 can be realized by following sub-steps (1)~sub-step (2):
Sub-step (1): it from the application program identification and applicating category corresponding relationship, searches and the target identification phase The corresponding applicating category of matched application program identification, obtains target category.
Specifically, can be when pre-establishing the application program identification and applicating category corresponding relationship by artificial true Fixed mode based on the major function of each application program determines classification belonging to each application program, exemplary, Ke Yitong Manually determining mode is crossed, determines that classification belonging to application program " certain letter " is social category, determines that application program " clan X is prominent " belongs to In game class, classification belonging to application program " certain is read " is determined to read class, etc..It is of course also possible to be to collect and deposit in advance The icon for each application program for including in storage different application classification, then when judging classification belonging to some application program, It can use pattern recognition technique, judge that the icon of the application program is similar to the icon for the application program each collected in advance Degree, finally, the corresponding applicating category of the highest icon of similarity is determined as classification belonging to the application program, further, It is also possible to collect and store the keyword for the major function that can embody each applicating category in advance, for example, for text class Application program, can preset keyword is " readding ", " reading ", " thought ", etc., is then being judged belonging to some application program When classification, semantics recognition technology can use, the semanteme for judging that the title of the application program indicates is corresponding with each applicating category Keyword represented by semanteme matching degree, finally, the corresponding applicating category of highest matching degree is determined as the application program Affiliated classification.
Further, the application program identification and applicating category corresponding relationship can be stored in advance in mobile terminal local, Also it can store beyond the clouds, correspondingly, mobile terminal is searching mesh from the application program identification and applicating category corresponding relationship When marking classification, the application program identification and applicating category corresponding relationship first can be read from local, or obtain this from cloud and answer With program identification and applicating category corresponding relationship, the embodiment of the present invention is not construed as limiting this.Then, mobile terminal can answer this It is matched one by one with program identification with each application program identification in applicating category corresponding relationship with target identification, finally, Applicating category that the application program identification to match with the target identification is corresponding is as target category.Wherein, if with the target The similarity of mark reaches default similarity threshold, then it is assumed that the application program identification matches with the target identification, this is default Similarity threshold, which can be, to be preset, for example, the default similarity threshold can be 99%.
It should be noted that an application program may correspond to multiple major functions, that is, may in practical application Belong to multiple classifications, therefore, in the embodiment of the present invention, the frequency that can also be used based on each major function of the application program Rate is that the corresponding applicating category of each major function sets weight, correspondingly, in mark and the target identification phase of the application program It, can be using the highest applicating category of weight as target category when matching.Meanwhile by pre-existing corresponding multiple using class Not, and using the highest applicating category of weight as target class otherwise, can be adjusted in the function of the application program, often When the frequency that a major function is used changes, carried out by the weight to the corresponding multiple applicating categories of the application program Corresponding adjustment, can easily control mobile terminal for the highest applicating category of weight adjusted and be determined as target category, It is of course also possible to which only the corresponding highest applicating category of weight of storage application program, the embodiment of the present invention are not construed as limiting this.
Sub-step (2): from the applicating category and screen state corresponding relationship, lookup matches with the target category The corresponding screen state of applicating category, obtain the corresponding screen state of the target identification.
Specifically, can be when pre-establishing the applicating category and screen state corresponding relationship based on every in the application The corresponding characteristic for showing content of identical major function possessed by a application program, it is compatible for the applicating category in advance Screen state.It is the corresponding screen of game category setting for example, being that text categories set corresponding screen state as folded state State is unfolded state.Further, the applicating category and screen state corresponding relationship can be stored in advance in mobile terminal sheet Ground also can store beyond the clouds, and correspondingly, mobile terminal first can read applicating category pass corresponding with screen state from local System, or the applicating category and screen state corresponding relationship are obtained from cloud, the embodiment of the present invention is not construed as limiting this.Then, Mobile terminal can carry out each applicating category in the applicating category and screen state corresponding relationship one by one with target category Matching, and then search screen state corresponding with the applicating category that the target category matches, that is, the corresponding screen of target identification State.
In practical application scene, often there is a large amount of application program, if it is corresponding to be in advance based on each application program Screen state, directly establish the mode of the mark of application program and the corresponding relationship of screen state, then search target mark When knowing corresponding screen state, it is necessary to match target identification one by one with the mark of a large amount of application program, can just determine Corresponding screen state, and in the embodiment of the present invention, by pre-establishing application program identification and applicating category corresponding relationship, with And applicating category and screen state corresponding relationship are pre-established, allow mobile terminal first to determine target based on target identification Then classification recycles target category to be matched with applicating category with each applicating category in screen state corresponding relationship, It can determine that corresponding screen state, since the quantity of applicating category is far smaller than the quantity of application program, certain The cost for determining the screen state to match can be reduced in degree, improved and determined efficiency.
Step 2022, by the corresponding screen state of the target identification, be determined as the target screen state.
It is exemplary, it is assumed that the corresponding screen state of target identification is folded state, then can determine the target screen state For folded state.
Further, in practical application scene, user may control mobile terminal during using mobile terminal Show the picture of some unconventional sizes, for example, long screenshot or the video pictures of different resolution, etc., therefore, the phase The screen resolution that parameter may be current display picture is closed, correspondingly, step 202 can be accomplished in the following manner in mode two Step 2023~step 2025 realize:
Implementation two:
The current screen of step 2023, the display resolution of the current display area of the acquisition screen and the screen State.
Specifically, can be carried out to screen display content when obtaining the display resolution of current display area of screen Then screenshot calculates screenshot number of pixels in the horizontal direction, and in the number of pixels of vertical direction, and then is deserved The display resolution of preceding display area.Further, it in practical application scene, configures in the mobile terminal of folding screen, it is past Toward the display resolution that display area of the screen in folded state can be stored in advance, and the display area in unfolded state Display resolution correspondingly, can be based on the display resolution that gets and pre-stored when obtaining current screen state The display resolution of display area when different screen state compares, by what is matched with the display resolution got The corresponding screen state of display resolution is determined as current screen state, exemplary, it is assumed that the screen of mobile terminal is in rugosity Display resolution when state is 2000*1000, and the display resolution in unfolded state is 4000*1000, then showing currently When showing that the display resolution in region and 2000*1000 match, then it can determine that current screen state is folded state, accordingly Ground can then determine current screen state for expansion when the display resolution and 4000*1000 of current display area match State.
If step 2024, the screen resolution are not more than the display resolution, and the current screen state is exhibition Open state, it is determined that the target screen state is folded state.
In this step, if currently display point of the screen resolution of display picture no more than the current display area of screen Resolution, and current screen state is unfolded state, it may be considered that the picture currently shown is without using biggish display area It is shown, at this point it is possible to target screen state is determined as folded state, in order to remind user that will shield in the next steps Curtain switches to folded state, and then can be reduced to a certain extent to the unnecessary consumption of mobile terminal electricity, reduces to movement Terminal resource causes unnecessary waste.
If step 2025, the screen resolution are greater than the display resolution, and the current screen state is to fold State, it is determined that the target screen state is unfolded state.
In this step, if the display that currently screen resolution of display picture is greater than the current display area of screen is differentiated Rate, and current screen state is folded state, it may be considered that the picture currently shown is displayed in lesser display area, May there are problems that currently showing that picture is shown by compression, at this point it is possible to target screen state is determined as unfolded state, In order to remind user by screens switch to folding and expanding in the next steps, and then improve the display effect of current display picture Fruit.
Current display in the embodiment of the present invention, under screen resolution and current screen state based on current display picture The display resolution in region in the subsequent step made, can be reminded to determine target screen state based on the target screen state User is switched to unfolded state in the case where the current display area of screen is too small, by screen state, current to improve with this It shows the display effect of picture, and in the case where the current display area of screen is excessive, screen state is switched to folding State, the display effect of current display picture is improved with this, and is reduced and caused unnecessary waste to mobile terminal resource.
If step 203, the current screen state of the screen are not matched that with the target screen state, output and institute State the corresponding target prompting message of target screen state.
Specifically, the implementation of this step is referred to above-mentioned steps 103, the embodiment of the present invention is not construed as limiting this.
Further, in the corresponding implementation two with above-mentioned steps 202, mobile terminal is in output target prompting message Later, user may be adjusted correspondingly screen state based on the target prompting message, and correspondingly, mobile terminal may be used also To execute following step A~step C after step 203, to further increase the viewing experience of user:
If step A, detecting, the current screen state is arranged to state compatible with the target screen state, Then obtain the ratio of width to height of the ratio of width to height of current display picture and the current display area of the screen.
It is exemplary, if target screen state is folded state, can be arranged to fold in current screen state When state, confirmation detects that current screen state is arranged to state compatible with target screen state, correspondingly, if mesh Mark screen state is unfolded state, then can confirm and detect currently when current screen state is arranged to unfolded state Screen state is arranged to state compatible with target screen state.Further, mobile terminal can calculate current display The ratio of picture number of pixels in the horizontal direction and the number of pixels in vertical direction, the width for obtaining the current display picture are high Than, and the ratio of the number of pixels in the horizontal direction and the number of pixels in vertical direction of current display area is calculated, it obtains To the ratio of width to height of the current display area.
Step B, the ratio of the ratio of width to height of the current display picture and the ratio of width to height of the current display area is calculated.
It is exemplary, it is assumed that the ratio of width to height of current display picture is 1: 1, and the ratio of width to height of current display area is 2: 1, then can To obtain ratio as 1: 1/2: 1=0.5.
If step C, the described ratio is fallen in outside default ratio range, the ratio of width to height of the current display picture is adjusted It is whole, so that the ratio is fallen into the default ratio range.
Specifically, the default ratio range can be developer and preset according to the actual situation, exemplary, this is default Ratio range can be [0.7,1.3], correspondingly, if the ratio is fallen in outside the default ratio range, it may be considered that deserving The ratio of preceding display picture and the proportional difference of current display area are larger, correspondingly, can be to the width height of current display picture Than being adjusted, for example, the ratio of width to height of current display picture can be adjusted to 1.4: 1, so that the ratio falls into the default ratio It is worth in range, in this way, can reduce the difference of the ratio of the current display picture and the ratio of current display area, so that currently The more coordination that display picture seems in current display area, and then improve display effect.
Step 204, the current residual electricity for obtaining the mobile terminal.
In this step, mobile terminal can first determine the current value of present battery input/output, be then based on the current value Time is integrated, and then obtains current residual electricity.
Step 205 judges whether the current residual electricity is less than default power threshold.
In this step, which can be presets according to the actual situation, exemplary, the default electricity threshold Value can be 30%, alternatively, the default power threshold may be 20%, further, which can be saved It in mobile terminal local, can also be stored in predetermined server, correspondingly, mobile terminal can be with predetermined period from default clothes It is obtained in business device and saves the default power threshold, the embodiment of the present invention is not construed as limiting this.Specifically, mobile terminal can incite somebody to action Current residual electricity is compared with default power threshold, presets electricity threshold with this to judge whether current residual electricity is less than this Value.
If step 206, the current residual electricity are less than the default power threshold and the current screen state is exhibition Open state then shows folding prompting message;The folding prompting message is for prompting user to switch the current screen state For folded state.
In this step, if current residual electricity is less than default power threshold, it may be considered that current residual electricity is less, Further, if at this time current screen state be unfolded state, it would be possible that will appear mobile terminal electricity can quickly by The problem of exhausting correspondingly in order to increase the cruise duration of mobile terminal as far as possible, avoids mobile terminal automatic shutdown, mobile Terminal can be when current residual electricity be less than default power threshold and current screen state is unfolded state, and display, which folds, to be reminded Information, wherein the folding prompting message is for reminding user that current screen state is switched to folded state, to save as far as possible The electricity of mobile terminal, further, the folding prompting message can be the information of literal type, be also possible to voice, animation Etc. types information, the embodiment of the present invention is not construed as limiting this.
Further, when display folds prompting message, when mobile terminal can be first unfolded state based on screen state History power consumption rate and the current residual electricity, it is continuous when screen state is unfolded state to calculate the mobile terminal Endurance is long, wherein the history power consumption rate when screen state is unfolded state, which can be, is in advance based on going through under unfolded state History power consumption curve is calculated, which can be stored in advance in mobile terminal, and correspondingly, mobile terminal can To read the history power consumption rate, then, the quotient of the current residual electricity Yu the history power consumption rate is calculated, mobile terminal is obtained Continuation of the journey duration when screen state is unfolded state, then, mobile terminal can show that the continuation of the journey duration and the folding mention Awake information.
In the embodiment of the present invention, by determining the continuation of the journey duration when screen state is unfolded state, and simultaneously, display should Screen state can be switched to folded state in prompt user to reduce the same of power consumption by duration of continuing a journey and folding prompting message When, the continuation of the journey duration for intuitively determining the mobile terminal without switching the case where is allowed users to, and then give user's selection The foundation whether switched, in order to which user can choose whether to switch over according to the actual conditions of oneself.Further, real In the application scenarios of border, the history power consumption rate and current residual electricity being also based on when screen state is folded state, meter Continuation of the journey duration of the mobile terminal when screen state is folded state is calculated, and shows the continuation of the journey duration simultaneously, to realize to user More selection gists are provided.It should be noted that in practical application scene, step 204~step 206 in the embodiment of the present invention Sequence it is not unique, it is exemplary, step 204~step 206 can after step 203, can also before step 203, , can also be before step 202, after step 201 after step 202, can also be before step 201, the embodiment of the present invention In only schematically illustrated after step 203 with step 204~step 206.
In conclusion the based reminding method provided by Embodiment 2 of the present invention for screen state switching, mobile terminal can be with The relevant parameter that picture is currently shown in screen is obtained, it is then, determining compatible with current display picture based on relevant parameter Screen state obtains target screen state, wherein the target screen state is folded state or unfolded state, finally, if screen Current screen state do not matched that with target screen state, then export corresponding with target screen state target prompting message, Wherein, the target prompting message is for reminding user that current screen state is switched to target screen state.The embodiment of the present invention In, by when current screen state target screen state compatible with this and current display picture does not match that, that is, current Display picture and current screen state export target prompting message when not matching that, to user, reminds user in time will with this Screen state is switched to state compatible with picture is currently shown, and then reduces current screen state and current to a certain extent It shows the not compatible problem of picture, improves the display effect of mobile terminal.
Further, mobile terminal also can determine whether current residual electricity, when current residual electricity is less, remind user will Screen state is switched to the folded state that can save electricity, increases the cruise duration of mobile terminal as far as possible with this, in turn Improve user experience.
Embodiment three
Fig. 3 is a kind of block diagram for mobile terminal that the embodiment of the present invention three provides, as shown in figure 3, the mobile terminal 30 can To include:
First obtains module 301, for obtaining the relevant parameter for currently showing picture in the screen.
Determining module 302, for determining screen shape compatible with the current display picture based on the relevant parameter State obtains target screen state;The target screen state is folded state or unfolded state.
Output module 303, if the current screen state for the screen is not matched that with the target screen state, Export target prompting message corresponding with the target screen state;The target prompting message is for reminding user to work as by described in Forth screen state switches to the target screen state.
In conclusion mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 The each process realized, to avoid repeating, which is not described herein again.Mobile terminal provided in an embodiment of the present invention, first obtains mould The relevant parameter of picture is currently shown in the available screen of block, then, it is determined that module can be determined and be worked as based on relevant parameter The compatible screen state of preceding display picture, obtains target screen state, wherein the target screen state is folded state or exhibition Open state, finally, if the current screen state of screen does not match that output module can export and mesh with target screen state Mark the corresponding target prompting message of screen state, wherein the target prompting message is for reminding user to cut current screen state Shift to target screen state.In the embodiment of the present invention, by when current screen state and the target screen state do not match that, That is, currently display picture and current screen state export target prompting message to user when not matching that, user is reminded with this Screen state is switched to state compatible with picture is currently shown in time, and then reduces current screen state to a certain extent Problem not compatible with current display picture, improves the display effect of mobile terminal.
Example IV
Fig. 4 is a kind of block diagram for mobile terminal that the embodiment of the present invention four provides, as shown in figure 4, the mobile terminal 40 can To include:
First obtains module 401, for obtaining the relevant parameter for currently showing picture in the screen;
Determining module 402, for determining screen shape compatible with the current display picture based on the relevant parameter State obtains target screen state;The target screen state is folded state or unfolded state;
Output module 403, if the current screen state for the screen is not matched that with the target screen state, Export target prompting message corresponding with the target screen state;The target prompting message is for reminding user to work as by described in Forth screen state switches to the target screen state.
Optionally, the relevant parameter is the mark of application program belonging to the current display picture;
The determining module 402, comprising:
Submodule is searched, for using the mark of application program belonging to the current display picture as target identification, from In preset application program identification and screen state corresponding relationship, the corresponding screen state of the target identification is searched;
Submodule is determined, for being determined as the target screen state for the corresponding screen state of the target identification.
Optionally, the application program identification and screen state corresponding relationship include: application program identification and applicating category Corresponding relationship and applicating category and screen state corresponding relationship;
The lookup submodule, is used for:
From the application program identification and applicating category corresponding relationship, the application to match with the target identification is searched The corresponding applicating category of program identification, obtains target category;
From the applicating category and screen state corresponding relationship, the applicating category to match with the target category is searched Corresponding screen state obtains the corresponding screen state of the target identification.
Optionally, the relevant parameter is the screen resolution of the current display picture;
The determining module 402, is used for:
Obtain the display resolution of the current display area of the screen and the current screen state of the screen;
If the screen resolution is not more than the display resolution, and the current screen state is unfolded state, then Determine that the target screen state is folded state;
If the screen resolution is greater than the display resolution, and the current screen state is folded state, then really The fixed target screen state is unfolded state.
Optionally, the mobile terminal 40 further include:
Second obtains module, if for detecting that the current screen state is arranged to and the target screen state phase The state of adaptation then obtains the ratio of width to height of the ratio of width to height of current display picture and the current display area of the screen;
Computing module, for calculating the ratio of width to height and the ratio of width to height of the current display area of the current display picture Ratio;
Module is adjusted, it is high to the width of the current display picture if being fallen in outside default ratio range for the ratio Than being adjusted, so that the ratio is fallen into the default ratio range.
Optionally, the mobile terminal 40 further include:
Third obtains module 404, for obtaining the current residual electricity of the mobile terminal;
Judgment module 405, for judging whether the current residual electricity is less than default power threshold;
Display module 406, if being less than the default power threshold and the current screen for the current residual electricity State is unfolded state, then shows folding prompting message;The folding prompting message is for prompting user by the current screen State is switched to folded state.
Optionally, the display module 406, is used for:
Based on screen state be unfolded state when history power consumption rate and the current residual electricity, calculate the shifting Continuation of the journey duration of the dynamic terminal when unfolded state is folded state;
Show the continuation of the journey duration and the folding prompting message.
In conclusion mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 2 The each process realized, to avoid repeating, which is not described herein again.Mobile terminal provided in an embodiment of the present invention, available screen The relevant parameter of picture is currently shown in curtain, then, based on the determining screen shape compatible with current display picture of relevant parameter State obtains target screen state, wherein the target screen state be folded state or unfolded state, finally, if screen it is current Screen state is not matched that with target screen state, then exports target prompting message corresponding with target screen state, wherein should Target prompting message is for reminding user that current screen state is switched to target screen state.In the embodiment of the present invention, pass through When current screen state target screen state compatible with this and current display picture does not match that, that is, currently show picture When face and current screen state do not match that, target prompting message is exported to user, reminds user in time by screen shape with this State is switched to state compatible with picture is currently shown, and then reduces current screen state and current display picture to a certain extent The not compatible problem in face, improves the display effect of mobile terminal.Further, mobile terminal also can determine whether current residual electricity Amount reminds user that screen state is switched to the folded state that can save electricity when current residual electricity is less, is come with this Increase the cruise duration of mobile terminal as far as possible, and then improves user experience.
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, vehicle mobile terminals, wearable device and pedometer etc..
Wherein, processor 510, for obtaining the relevant parameter for currently showing picture in the screen.
Processor 510 obtains the alternative image of at least two frames for extracting the image for including in the target video.
Processor 510, for determining screen state compatible with the current display picture based on the relevant parameter, Obtain target screen state;The target screen state is folded state or unfolded state.
Processor 510, it is defeated if the current screen state for the screen is not matched that with the target screen state Target prompting message corresponding with the target screen state out;The target prompting message is for reminding user will be described current Screen state switches to the target screen state.
In the embodiment of the present invention, currently show then the relevant parameter of picture is based in the available screen of mobile terminal The determining screen state compatible with current display picture of relevant parameter, obtains target screen state, wherein the target screen tentiform State is folded state or unfolded state, finally, exporting if the current screen state of screen is not matched that with target screen state Target prompting message corresponding with target screen state, wherein the target prompting message is for reminding user by current screen shape State switches to target screen state.In the embodiment of the present invention, by current screen state and the target screen state not phase Timing, that is, when current display picture and current screen state do not match that, export target prompting message to user, mentioned with this Screen state is switched to state compatible with picture is currently shown in time by awake user, and then reduces current screen to a certain extent Tentiform state and the not compatible problem of current display picture, improve the display effect of mobile terminal.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor (Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 5041, treated that picture frame can be deposited Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071 Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments 5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511 Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510 Each process of the above-mentioned based reminding method embodiment for screen state switching of Shi Shixian, and identical technical effect can be reached, To avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize the above-mentioned based reminding method embodiment for screen state switching when being executed by processor Each process, and identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, described computer-readable Storage medium, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including There is also other identical elements in the process, method of the element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a mobile terminal (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (15)

1. a kind of based reminding method for screen state switching, is applied to mobile terminal, the screen of the mobile terminal is that can roll over Folded screen, which is characterized in that the described method includes:
Obtain the relevant parameter that picture is currently shown in the screen;
Based on the determining screen state compatible with the current display picture of the relevant parameter, target screen state is obtained; The target screen state is folded state or unfolded state;
If the current screen state of the screen is not matched that with the target screen state, output and the target screen tentiform The corresponding target prompting message of state;The target prompting message is used to that user to be reminded to switch to the current screen state described Target screen state.
2. the method according to claim 1, wherein the relevant parameter is belonging to the current display picture The mark of application program;
It is described based on the determining screen state compatible with the current display picture of the relevant parameter, obtain target screen tentiform State, comprising:
Regard the mark of application program belonging to the current display picture as target identification, from preset application program identification and In screen state corresponding relationship, the corresponding screen state of the target identification is searched;
By the corresponding screen state of the target identification, it is determined as the target screen state.
3. according to the method described in claim 2, it is characterized in that, the application program identification and screen state corresponding relationship packet It includes: application program identification and applicating category corresponding relationship and applicating category and screen state corresponding relationship;
It is described from preset application program identification and screen state corresponding relationship, search the corresponding screen shape of the target identification State, comprising:
From the application program identification and applicating category corresponding relationship, the application program to match with the target identification is searched Corresponding applicating category is identified, target category is obtained;
From the applicating category and screen state corresponding relationship, search corresponding with the applicating category that the target category matches Screen state, obtain the corresponding screen state of the target identification.
4. the method according to claim 1, wherein the relevant parameter is the picture of the current display picture Resolution ratio;
It is described based on the determining screen state compatible with the current display picture of the relevant parameter, obtain target screen tentiform State, comprising:
Obtain the display resolution of the current display area of the screen and the current screen state of the screen;
If the screen resolution is not more than the display resolution, and the current screen state is unfolded state, it is determined that The target screen state is folded state;
If the screen resolution is greater than the display resolution, and the current screen state is folded state, it is determined that institute Stating target screen state is unfolded state.
5. according to the method described in claim 4, it is characterized in that, the mesh that the output matches with the target screen state After marking prompting message, the method also includes:
If detecting, the current screen state is arranged to state compatible with the target screen state, obtains current Show the ratio of width to height of the ratio of width to height of picture and the current display area of the screen;
Calculate the ratio of the ratio of width to height of the current display picture and the ratio of width to height of the current display area;
If the ratio is fallen in outside default ratio range, the ratio of width to height of the current display picture is adjusted, so that institute Ratio is stated to fall into the default ratio range.
6. method according to any one of claims 1 to 5, which is characterized in that the method also includes:
Obtain the current residual electricity of the mobile terminal;
Judge whether the current residual electricity is less than default power threshold;
If it is unfolded state that the current residual electricity, which is less than the default power threshold and the current screen state, show Fold prompting message;The folding prompting message is for prompting user that the current screen state is switched to folded state.
7. according to the method described in claim 6, it is characterized in that, the display folds prompting message, comprising:
History power consumption rate and the current residual electricity when based on screen state being unfolded state, calculate it is described it is mobile eventually Hold the continuation of the journey duration when unfolded state is folded state;
Show the continuation of the journey duration and the folding prompting message.
8. a kind of mobile terminal, the screen of the mobile terminal is folding screen, which is characterized in that the mobile terminal packet It includes:
First obtains module, for obtaining the relevant parameter for currently showing picture in the screen;
Determining module is obtained for determining screen state compatible with the current display picture based on the relevant parameter Target screen state;The target screen state is folded state or unfolded state;
Output module, if the current screen state for the screen is not matched that with the target screen state, output with The corresponding target prompting message of the target screen state;The target prompting message is for reminding user by the current screen State switches to the target screen state.
9. mobile terminal according to claim 8, which is characterized in that the relevant parameter is the current display picture institute The mark of the application program of category;
The determining module, comprising:
Search submodule, for using it is described it is current display picture belonging to application program mark be used as target identification, from preset Application program identification and screen state corresponding relationship in, search the corresponding screen state of the target identification;
Submodule is determined, for being determined as the target screen state for the corresponding screen state of the target identification.
10. mobile terminal according to claim 9, which is characterized in that the application program identification is corresponding with screen state Relationship includes: application program identification and applicating category corresponding relationship and applicating category and screen state corresponding relationship;
The lookup submodule, is used for:
From the application program identification and applicating category corresponding relationship, the application program to match with the target identification is searched Corresponding applicating category is identified, target category is obtained;
From the applicating category and screen state corresponding relationship, search corresponding with the applicating category that the target category matches Screen state, obtain the corresponding screen state of the target identification.
11. mobile terminal according to claim 8, which is characterized in that the relevant parameter is the current display picture Screen resolution;
The determining module, is used for:
Obtain the display resolution of the current display area of the screen and the current screen state of the screen;
If the screen resolution is not more than the display resolution, and the current screen state is unfolded state, it is determined that The target screen state is folded state;
If the screen resolution is greater than the display resolution, and the current screen state is folded state, it is determined that institute Stating target screen state is unfolded state.
12. mobile terminal according to claim 11, which is characterized in that the mobile terminal further include:
Second obtains module, if for detecting that the current screen state is arranged to be adapted with the target screen state State, then obtain the ratio of width to height of the ratio of width to height of current display picture and the current display area of the screen;
Computing module, for calculating the ratio of the ratio of width to height of the current display picture and the ratio of width to height of the current display area Value;
Adjust module, if being fallen in outside default ratio range for the ratio, to it is described it is current display picture the ratio of width to height into Row adjustment, so that the ratio is fallen into the default ratio range.
13. according to any mobile terminal of claim 8 to 12, which is characterized in that the mobile terminal further include:
Third obtains module, for obtaining the current residual electricity of the mobile terminal;
Judgment module, for judging whether the current residual electricity is less than default power threshold;
Display module, if being less than the default power threshold and the current screen state for the current residual electricity for exhibition Open state then shows folding prompting message;The folding prompting message is for prompting user to switch the current screen state For folded state.
14. mobile terminal according to claim 13, which is characterized in that the display module is used for:
History power consumption rate and the current residual electricity when based on screen state being unfolded state, calculate it is described it is mobile eventually Hold the continuation of the journey duration when unfolded state is folded state;
Show the continuation of the journey duration and the folding prompting message.
15. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute The computer program run on processor is stated, such as claim 1 to 7 is realized when the computer program is executed by the processor Any one of described in for screen state switching based reminding method the step of.
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 true CN110072012A (en) 2019-07-30
CN110072012B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111198668A (en) * 2019-12-26 2020-05-26 成都中科合迅科技有限公司 Multi-screen system based on browser and multi-screen interaction method
CN111614992A (en) * 2020-05-20 2020-09-01 西安闻泰电子科技有限公司 Screen recording method and device and electronic equipment
CN111666056A (en) * 2020-05-28 2020-09-15 北京百度网讯科技有限公司 Screen switching display method and device, intelligent rearview mirror and readable storage medium
WO2021093847A1 (en) * 2019-11-15 2021-05-20 华为技术有限公司 Display method for electronic device having flexible screen, and electronic device
CN112905144A (en) * 2021-03-30 2021-06-04 中国建设银行股份有限公司 Terminal display method and device, electronic equipment and storage medium
CN113206915A (en) * 2021-04-28 2021-08-03 Oppo广东移动通信有限公司 Display method and device, computer readable medium and electronic equipment
WO2023088116A1 (en) * 2021-11-19 2023-05-25 华为技术有限公司 Snapshot processing method and apparatus

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2450781A2 (en) * 2010-11-03 2012-05-09 Samsung Electronics Co., Ltd Mobile terminal and screen change control method based on input signals for the same
US20120157044A1 (en) * 2010-12-21 2012-06-21 Dongwoo Kim Mobile terminal and method of controlling a mode screen display therein
CN104571979A (en) * 2013-10-09 2015-04-29 腾讯科技(深圳)有限公司 Method and device for realizing split-screen views
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
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 (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2450781A2 (en) * 2010-11-03 2012-05-09 Samsung Electronics Co., Ltd Mobile terminal and screen change control method based on input signals for the same
US20120157044A1 (en) * 2010-12-21 2012-06-21 Dongwoo Kim Mobile terminal and method of controlling a mode screen display therein
CN104571979A (en) * 2013-10-09 2015-04-29 腾讯科技(深圳)有限公司 Method and device for realizing split-screen views
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
CN109254715A (en) * 2018-08-31 2019-01-22 努比亚技术有限公司 Screen display direction control method, device, mobile terminal and readable storage medium storing program for executing

Cited By (11)

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

Also Published As

Publication number Publication date
CN110072012B (en) 2021-11-09

Similar Documents

Publication Publication Date Title
CN110072012A (en) A kind of based reminding method and mobile terminal for screen state switching
CN108536411A (en) A kind of method for controlling mobile terminal and mobile terminal
CN109151180A (en) A kind of object identifying method and mobile terminal
CN108495029A (en) A kind of photographic method and mobile terminal
CN108989668A (en) A kind of working method and mobile terminal of camera
CN108089891A (en) A kind of application program launching method, mobile terminal
CN109788136A (en) Information display method and mobile terminal
CN107845057A (en) One kind is taken pictures method for previewing and mobile terminal
CN108509782A (en) A kind of recognition of face control method and mobile terminal
CN107679514A (en) A kind of face identification method and electronic equipment
CN109871125A (en) A kind of display control method and terminal device
CN108833709A (en) A kind of the starting method and mobile terminal of camera
CN108984066A (en) A kind of application icon display methods and mobile terminal
CN109117239A (en) A kind of screen wallpaper display methods and mobile terminal
CN110457086A (en) A kind of control method of application program, mobile terminal and server
CN110096203A (en) A kind of screenshot method and mobile terminal
CN110018805A (en) A kind of display control method and mobile terminal
CN108174081B (en) A kind of image pickup method and mobile terminal
CN109922294A (en) A kind of method for processing video frequency and mobile terminal
CN109448069A (en) A kind of template generation method and mobile terminal
CN109522524A (en) A kind of text browsing methods and terminal device
CN109671034A (en) A kind of image processing method and terminal device
CN109033912A (en) A kind of recognition methods of identification code and mobile terminal
CN109413264A (en) A kind of background picture method of adjustment and terminal device
CN109033913A (en) A kind of recognition methods of identification code 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