CN107273123A - The method and mobile terminal of application interface are shown under split screen display available state - Google Patents
The method and mobile terminal of application interface are shown under split screen display available state Download PDFInfo
- Publication number
- CN107273123A CN107273123A CN201710438583.XA CN201710438583A CN107273123A CN 107273123 A CN107273123 A CN 107273123A CN 201710438583 A CN201710438583 A CN 201710438583A CN 107273123 A CN107273123 A CN 107273123A
- Authority
- CN
- China
- Prior art keywords
- interface
- application interface
- mobile terminal
- ratio
- application
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of method and mobile terminal that application interface is shown under split screen display available state, including:If mobile terminal is in split screen display available state, the application interface viewing area of destination application is determined;Obtain the length value and the length value of longitudinal edge of the widthwise edge of application interface viewing area;Calculate the ratio of the length value of widthwise edge and the length value of longitudinal edge;In at least two application interfaces that destination application includes, the to be shown intended application interface corresponding with ratio is selected, and in application interface viewing area display target application interface.Mobile terminal is under split screen display available state, determine the application interface viewing area of destination application, obtain the ratio of the length value of the widthwise edge of the application interface viewing area and the length value of longitudinal edge, intended application interface to be shown is determined further according to the ratio, and shows in application interface viewing area the intended application interface.Show that the display effect of application interface is relatively good under split screen display available state.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of method that application interface is shown under split screen display available state
And mobile terminal.
Background technology
At present, there are various applications on mobile terminal, and some applications possess at least two different applications circle
Face.For example:Calculator interface in mobile terminal can be divided into two kinds of forms:Plain edition calculates interface and calculates boundary with science type
Face.Mobile terminal is under portrait layout dispaly state, and during for full screen display state, can show that plain edition calculates boundary on screen
Face;Mobile terminal is under transverse screen dispaly state, and during for full screen display state, can show that science type calculates boundary on screen
Face.
When mobile terminal is changed into split screen display available state from full screen display state, it can show and press in calculator viewing area
Calculator after being reduced according to certain proportion.But, the display effect of such a scheme and unsightly.For example, when mobile terminal is in
Under transverse screen dispaly state, and when being changed into split screen display available state from full screen display state, if the area shared by calculator viewing area
Domain is smaller, will seem that comparison is crowded when showing that science type calculates interface.Therefore, in the prior art, when application possesses at least
During two kinds of different application interfaces, show that the display effect of application interface is poor under split screen display available state, it is not attractive in appearance enough.
The content of the invention
The embodiment of the present invention provides a kind of method and mobile terminal that application interface is shown under split screen display available state, to solve
Certainly when application possesses at least two different application interfaces, shown under split screen display available state the display effect of application interface compared with
Difference, the problem of not attractive in appearance enough.
In a first aspect, the embodiments of the invention provide a kind of method that application interface is shown under split screen display available state, should
For mobile terminal, methods described includes:
If the mobile terminal is in the split screen display available state, the application interface viewing area of destination application is determined
Domain;
Obtain the length value and the length value of longitudinal edge of the widthwise edge of the application interface viewing area;
Calculate the ratio of the length value of the widthwise edge and the length value of the longitudinal edge;
In at least two application interfaces that the destination application includes, select corresponding with the ratio to wait to show
The intended application interface shown, and show the intended application interface in the application interface viewing area.
Second aspect, the embodiment of the present invention also provides a kind of mobile terminal, including:
First determining module, if being in split screen display available state for the mobile terminal, determines answering for destination application
Use interface display region;
Acquisition module, length value and the length of longitudinal edge for the widthwise edge that obtains the application interface viewing area
Value;
Computing module, the ratio for calculating the length value of the widthwise edge and the length value of the longitudinal edge;
Selecting module, at least two application interfaces that the destination application includes, selecting and the ratio
The corresponding intended application interface to be shown of value, and show the intended application interface in the application interface viewing area.
The third aspect, the embodiment of the present invention also provides a kind of mobile terminal, it is characterised in that including processor, memory
And it is stored in the control that application interface is shown under split screen display available state that can be run on the memory and on the processor
Processing procedure sequence, realized when the control program that application interface is shown under split screen display available state is by the computing device it is above-mentioned
The step of method of application interface is shown under split screen display available state.
So, in the embodiment of the present invention, if the mobile terminal is in the split screen display available state, intended application journey is determined
The application interface viewing area of sequence;Obtain the length value and the length of longitudinal edge of the widthwise edge of the application interface viewing area
Value;Calculate the ratio of the length value of the widthwise edge and the length value of the longitudinal edge;Include in the destination application
In at least two application interfaces, the to be shown intended application interface corresponding with the ratio is selected, and in application circle
Face viewing area shows the intended application interface.If mobile terminal is under split screen display available state, mobile terminal can be true
The application interface viewing area for the application program that sets the goal, so obtain the application interface viewing area widthwise edge length value and
The length value of longitudinal edge, then calculates the ratio of the length value of widthwise edge and the length value of longitudinal edge, is obtained finally according to calculating
Ratio determine intended application interface to be shown, and show in application interface viewing area the intended application interface.So, exist
Show that the display effect of application interface is preferable under split screen display available state, better appearance.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed for description of the embodiment of the present invention
The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention,
For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of flow of method that application interface is shown under split screen display available state provided in an embodiment of the present invention
Figure;
Fig. 2 is the schematic diagram that plain edition provided in an embodiment of the present invention calculates interface;
Fig. 3 is the schematic diagram that science type provided in an embodiment of the present invention calculates interface;
Fig. 4 is the schematic diagram of split screen above and below portrait layout provided in an embodiment of the present invention;
Fig. 5 is the flow of another method that application interface is shown under split screen display available state provided in an embodiment of the present invention
Figure;
Fig. 6 is the schematic diagram of transverse screen provided in an embodiment of the present invention or so split screen;
Fig. 7 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Fig. 8 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Fig. 9 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 10 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 11 is the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 12 is the structure chart of another mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of method that application interface is shown under split screen display available state provided in an embodiment of the present invention
Flow chart, applied to mobile terminal, as shown in figure 1, comprising the following steps:
If step 101, the mobile terminal are in the split screen display available state, the application interface of destination application is determined
Viewing area.
In a step 101, there are various applications on mobile terminal, and to possess at least two different for some applications
Application interface.For example:Calculator interface in mobile terminal can be divided into two kinds of forms:Plain edition calculates interface and science type meter
Calculate interface.In ensuing narration, it is illustrated by taking calculator interface as an example.
Plain edition calculates interface can be comprising 3 regions:Viewing area, normal operation symbol area and numeric area.It is general
Flow-through calculates the negligible amounts for the button that interface is included, and the length value of the widthwise edge at plain edition calculating interface will be generally less than
The length value of longitudinal edge.As shown in Fig. 2 calculating the schematic diagram at interface for plain edition.
Science type calculates interface can be comprising 4 regions:Viewing area, normal operation symbol area, numeric area and section
Learn oeprator region.The quantity that science type calculates the button that interface is included is more, and science type calculates the widthwise edge at interface
Length value be generally larger than the length value of longitudinal edge.As shown in figure 3, calculating the schematic diagram at interface for science type.
Therefore, when mobile terminal be in portrait layout dispaly state under, and for full screen display state when, because application interface is shown
Region be whole screen, and the widthwise edge of application interface viewing area length value be less than longitudinal edge length value, can screen
Show that plain edition calculates interface on curtain;When mobile terminal be in transverse screen dispaly state under, and for full screen display state when, due to should
With interface display region be whole screen, and the widthwise edge of application interface viewing area length value be more than longitudinal edge length
Value, can show that science type calculates interface on screen.
Split screen display available state is changed into from full screen display state when mobile terminal is in split screen display available state, i.e. mobile terminal
When, it can first determine the application interface viewing area of destination application, you can first to determine the application interface of calculator program
Viewing area.For example, it is assumed that mobile terminal beginning is under portrait layout dispaly state, and it is full screen display state, into split screen
After dispaly state, i.e., into after split screen display available state above and below portrait layout, the region above cut-off rule can be regard as calculator
The application interface viewing area of program.As shown in figure 4, being the schematic diagram of split screen above and below portrait layout.In Fig. 4, cut-off rule will be located at
The region of top is designated as a-quadrant, and the region below cut-off rule is designated as into B regions, can regard a-quadrant as calculator program
Application interface viewing area.
The length value and the length value of longitudinal edge of step 102, the widthwise edge of the acquisition application interface viewing area.
In a step 102, it is determined that after the application interface viewing area of destination application, that is, calculator journey is determined
After the application interface viewing area of sequence, mobile terminal can obtain the transverse direction of the application interface viewing area of destination application
The length value on side and the length value of longitudinal edge, you can with the length of the widthwise edge of the application interface viewing area that obtains calculator program
The length value of angle value and longitudinal edge, namely the length value of the widthwise edge of a-quadrant and the length value of longitudinal edge can be obtained.
The ratio of the length value of step 103, the length value for calculating the widthwise edge and the longitudinal edge.
In step 103, get the length value of the widthwise edge of the application interface viewing area of destination application and indulge
To after the length value on side, that is, get the length value and longitudinal edge of the widthwise edge of the application interface viewing area of calculator program
Length value after, mobile terminal can calculate the ratio of the length value of widthwise edge and the length value of longitudinal edge.
Step 104, at least two application interfaces that the destination application includes, select it is relative with the ratio
The intended application interface to be shown answered, and show the intended application interface in the application interface viewing area.
At step 104, can after mobile terminal calculates the ratio of the length value of widthwise edge and the length value of longitudinal edge
With at least two application interfaces that destination application includes, to be shown corresponding with the ratio that calculating is obtained of selection
Intended application interface, you can so that in two application interfaces including in calculator program, selection is relative with the ratio that calculating is obtained
The intended application interface to be shown answered.
In Fig. 4, the length value of the widthwise edge of the application interface viewing area of calculator program is more than the length of longitudinal edge
Value, the i.e. ratio of the length value of the length value of widthwise edge and longitudinal edge are more than 1, can now be shown in application interface viewing area
Intended application interface, you can to show that science type calculates interface in the application interface viewing area of calculator program, namely can be with
Show that science type calculates interface in a-quadrant.
It should be noted that cut-off rule can be moved freely.When user moves the cut-off rule manually, mobile terminal
The length value and the length value of longitudinal edge of the widthwise edge of the application interface viewing area of destination application can be obtained in real time, entered
And the ratio of the length value of widthwise edge and the length value of longitudinal edge is calculated in real time.When judging to calculate obtained ratio more than 1, then
It can determine that intended application interface to be shown calculates interface for science type, and then can show in the application interface of calculator program
Show that region shows that science type calculates interface;When judging to calculate obtained ratio less than or equal to 1, then it can determine to be shown
Intended application interface calculate interface for plain edition, and then can be shown commonly in the application interface viewing area of calculator program
Type calculates interface.
In the embodiment of the present invention, above-mentioned mobile terminal can be mobile phone, tablet personal computer (Tablet Personal
Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital
Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device
(Wearable Device) etc..
The method that application interface is shown under split screen display available state of the embodiment of the present invention, applied to mobile terminal, if institute
State mobile terminal and be in the split screen display available state, determine the application interface viewing area of destination application;Obtain described answer
With the length value and the length value of longitudinal edge of the widthwise edge of interface display region;Calculate the length value of the widthwise edge and described vertical
To the ratio of the length value on side;In at least two application interfaces that the destination application includes, selection and the ratio
Corresponding intended application interface to be shown, and show the intended application interface in the application interface viewing area.Such as
Fruit mobile terminal is under split screen display available state, and mobile terminal can determine the application interface viewing area of destination application,
And then the length value of the widthwise edge of the application interface viewing area and the length value of longitudinal edge are obtained, then calculate the length of widthwise edge
The ratio of the length value of angle value and longitudinal edge, the ratio obtained finally according to calculating determines intended application interface to be shown, and
The intended application interface is shown in application interface viewing area.So, the display of application interface is shown under split screen display available state
Effect is preferable, better appearance.
Referring to Fig. 5, Fig. 5 is another side that application interface is shown under split screen display available state provided in an embodiment of the present invention
The flow chart of method, applied to mobile terminal.The present embodiment and the difference of previous embodiment are first determine mobile terminal
Dispaly state, then determine the length value and the length of longitudinal edge of the widthwise edge of the application interface viewing area of destination application
Value, so determine widthwise edge length value and longitudinal edge length value ratio, finally according to mobile terminal dispaly state with
And the ratio that calculating is obtained determines intended application interface to be shown.As shown in figure 5, comprising the following steps:
If step 501, the mobile terminal are in the split screen display available state, the display shape of the mobile terminal is determined
State, the dispaly state includes transverse screen dispaly state and portrait layout dispaly state.
In step 501, there are various applications on mobile terminal, and to possess at least two different for some applications
Application interface.For example:Calculator interface in mobile terminal can be divided into two kinds of forms:Plain edition calculates interface and science type meter
Calculate interface.In ensuing narration, it is illustrated by taking calculator interface as an example.
Assuming that mobile terminal beginning is under transverse screen dispaly state, and it is full screen display state, now can be in screen
Upper display science type calculates interface.When mobile terminal is changed into split screen display available state, i.e. mobile terminal from full screen display state
During split screen display available state, the dispaly state of mobile terminal can be first determined.It now may determine that mobile terminal is aobvious in transverse screen
Show under state.As shown in fig. 6, being the schematic diagram of transverse screen or so split screen.In figure 6, C will be designated as positioned at the region on the cut-off rule left side
Region, D regions are designated as by the region on the right of cut-off rule.
Step 502, the application interface viewing area for determining destination application.
In step 502, when mobile terminal be in split screen display available state, and determine mobile terminal dispaly state it
Afterwards, it may further determine that the application interface viewing area of destination application, you can to further determine that calculator program
Application interface viewing area.C regions can be regard as the application interface viewing area of calculator program.
The length value and the length value of longitudinal edge of step 503, the widthwise edge of the acquisition application interface viewing area.
In step 503, it is determined that after the application interface viewing area of destination application, that is, calculator journey is determined
After the application interface viewing area of sequence, mobile terminal can obtain the transverse direction of the application interface viewing area of destination application
The length value on side and the length value of longitudinal edge, i.e. mobile terminal can obtain the horizontal stroke of the application interface viewing area of calculator program
Length value and the longitudinal direction of the widthwise edge in C regions can be obtained to the length value and the length value of longitudinal edge on side, namely mobile terminal
The length value on side.
The ratio of the length value of step 504, the length value for calculating the widthwise edge and the longitudinal edge.
In step 504, obtain the length value of the widthwise edge of the application interface viewing area of destination application and indulge
To after the length value on side, that is, obtain the length value and longitudinal edge of the widthwise edge of the application interface viewing area of calculator program
Length value after, namely after obtaining the length value of the widthwise edge in C regions and the length value of longitudinal edge, mobile terminal can be with
Calculate the ratio of the length value of widthwise edge and the length value of longitudinal edge.
Step 505, at least two application interfaces that the destination application includes, it is determined that with the mobile terminal
Corresponding and corresponding with the ratio intended application interface to be shown of dispaly state, and in the application interface
Viewing area shows the intended application interface.
In step 505, it is determined that the dispaly state of mobile terminal, and calculate destination application application interface show
After the ratio for showing the length value of the widthwise edge in region and the length value of longitudinal edge, mobile terminal can be in destination application bag
In at least two application interfaces included, it is determined that it is corresponding with the dispaly state of mobile terminal, and with calculating obtained ratio phase
Corresponding intended application interface to be shown, and apply boundary in the application interface viewing area display target of destination application
Face.I.e. mobile terminal can be in two application interfaces that calculator program includes, it is determined that the dispaly state phase with mobile terminal
It is corresponding, and the to be shown intended application interface corresponding with the ratio that calculating is obtained, and in application circle of calculator program
Face viewing area display target application interface.
Optionally, the determination is corresponding with the dispaly state of the mobile terminal and corresponding with the ratio
Intended application interface to be shown, including:
If the mobile terminal is under the transverse screen dispaly state, judge whether the ratio is more than 1;
If the ratio is more than 1, it is determined that the intended application interface to be shown is that the science type calculates interface;
If the ratio is less than or equal to 1, it is determined that the intended application interface to be shown is the plain edition meter
Calculate interface.
If it is determined that mobile terminal is under transverse screen dispaly state, then answering for destination application can be determined whether
Whether it is more than 1 with the ratio of the length value of the widthwise edge of interface display region and the length value of longitudinal edge.
If it is judged that the ratio is more than 1, then it can determine that intended application interface to be shown calculates interface for science type,
And then can show that science type calculates interface in the application interface viewing area of calculator program, you can with C regions display section
Type calculates interface.Now, the application interface viewing area of calculator program is larger, can just show that science type is calculated accordingly
Interface.It is more that science type calculates the button that is included of interface, it is possible to achieve function it is also more.
If it is judged that the ratio is less than or equal to 1, then it is plain edition that can determine intended application interface to be shown
Interface is calculated, and then can show that plain edition calculates interface in the application interface viewing area of calculator program, you can with C areas
Domain shows that plain edition calculates interface.
It should be noted that cut-off rule can be moved freely.When user moves the cut-off rule manually, mobile terminal
The length value and the length value of longitudinal edge of the widthwise edge of the application interface viewing area of destination application can be obtained in real time, entered
And the ratio of the length value of widthwise edge and the length value of longitudinal edge is calculated in real time.When judging to calculate obtained ratio more than 1, then
It can determine that intended application interface to be shown calculates interface for science type, and then can show in the application interface of calculator program
Show that region shows that science type calculates interface;When judging to calculate obtained ratio less than or equal to 1, then it can determine to be shown
Intended application interface calculate interface for plain edition, and then can be shown commonly in the application interface viewing area of calculator program
Type calculates interface.
Optionally, if the mobile terminal is under the portrait layout dispaly state, it is determined that the target to be shown should
It is that the plain edition calculates interface with interface.
If it is determined that mobile terminal is under portrait layout dispaly state, then it can determine that intended application interface to be shown is
Plain edition calculates interface, and then can show that plain edition calculates interface in the application interface viewing area of calculator program.
It should be noted that cut-off rule can be moved freely.It is corresponding to adjust when user moves the cut-off rule manually
Whole plain edition calculates the size at interface.When mobile terminal enters split screen display available state up and down under portrait layout dispaly state,
Because the application interface viewing area of calculator program is smaller, and the button that plain edition calculating interface is included is less, therefore can
Only show that plain edition calculates interface with the application interface viewing area in calculator program.User can so be facilitated to plain edition
The button calculated in interface carries out clicking operation.
Optionally, the destination application is calculator program, and calculator program bag type containing science calculates boundary
Face and plain edition calculate interface, described at least two application interfaces that the destination application includes, selection with it is described
The corresponding intended application interface to be shown of ratio, including:
Judge whether the ratio is more than 1;
If the ratio is more than 1, it is determined that the intended application interface to be shown is that the science type calculates interface;
If the ratio is less than or equal to 1, it is determined that the intended application interface to be shown is the plain edition meter
Calculate interface.
Once mentioned in previous embodiment, when mobile terminal enters split screen display available state, mobile terminal can be first true
The application interface viewing area for the application program that sets the goal, you can first to determine the application interface viewing area of calculator program;Again
The length value and the length value of longitudinal edge of the widthwise edge of the application interface viewing area of destination application are obtained, that is, obtains and calculates
The length value and the length value of longitudinal edge of the widthwise edge of the application interface viewing area of device program;Then the length of widthwise edge is calculated
The ratio of the length value of value and longitudinal edge.Next, may determine that whether the ratio is more than 1.When judging to calculate obtained ratio
Value is more than 1, then can determine that intended application interface to be shown calculates interface for science type, and then can be in calculator program
Application interface viewing area shows that science type calculates interface;Be less than or equal to 1 when judging to calculate obtained ratio, then can be with
Determine that intended application interface to be shown calculates interface for plain edition, and then can be in the application interface viewing area of calculator program
Domain shows that plain edition calculates interface.
The method that application interface is shown under split screen display available state of the embodiment of the present invention, applied to mobile terminal, if
Mobile terminal is under split screen display available state, can first determine the dispaly state of mobile terminal, and then can determine intended application
The application interface viewing area of program, then obtain the length value of the widthwise edge of the application interface viewing area and the length of longitudinal edge
Value, then calculate widthwise edge length value and longitudinal edge length value ratio, finally according to mobile terminal dispaly state with
And the ratio that calculating is obtained determines intended application interface to be shown, and intended application circle is shown in application interface viewing area
Face.So, show that the display effect of application interface is preferable under split screen display available state, better appearance.It is also possible to use family
More facilitate when the button in calculator interface is operated.
Referring to Fig. 7, Fig. 7 is the structure chart for the mobile terminal that the present invention implements offer, as shown in fig. 7, mobile terminal 700 is wrapped
The first determining module 701, acquisition module 702, computing module 703 and selecting module 704 are included, wherein:
First determining module 701, if being in split screen display available state for the mobile terminal, determines destination application
Application interface viewing area;
Acquisition module 702, length value and the length of longitudinal edge for the widthwise edge that obtains the application interface viewing area
Angle value;
Computing module 703, the ratio for calculating the length value of the widthwise edge and the length value of the longitudinal edge;
Selecting module 704, at least two application interfaces that the destination application includes, selection with it is described
The corresponding intended application interface to be shown of ratio, and show intended application circle in the application interface viewing area
Face.
Optionally, as shown in figure 8, the destination application is calculator program, and the calculator program bag contains section
Type calculates interface and plain edition calculates interface, and selecting module 704 includes:
First judging submodule 7041, for judging whether the ratio is more than 1;
First determination sub-module 7042, if being more than 1 for the ratio, it is determined that the intended application interface to be shown
Interface is calculated for the science type;
Second determination sub-module 7043, if being less than or equal to 1 for the ratio, it is determined that the target to be shown
Application interface is that the plain edition calculates interface.
Optionally, as shown in figure 9, the destination application is calculator program, and the calculator program bag contains section
Type calculates interface and plain edition calculates interface, and the mobile terminal also includes:
Second determining module 705, the dispaly state for determining the mobile terminal, the dispaly state includes:Transverse screen
Dispaly state and portrait layout dispaly state;
The selecting module 704 is specifically at least two application interfaces that the destination application includes, really
Fixed intended application interface to be shown corresponding with the dispaly state of the mobile terminal and corresponding with the ratio.
Optionally, as shown in Figure 10, the selecting module 704 also includes:
Second judging submodule 7044, if being in for the mobile terminal under the transverse screen dispaly state, judges institute
State whether ratio is more than 1;
3rd determination sub-module 7045, if being more than 1 for the ratio, it is determined that the intended application interface to be shown
Interface is calculated for the science type;
4th determination sub-module 7046, if being less than or equal to 1 for the ratio, it is determined that the target to be shown
Application interface is that the plain edition calculates interface.
Optionally, as shown in figure 11, the mobile terminal also includes:
3rd determining module 706, if being in for the mobile terminal under the portrait layout dispaly state, it is determined that described to treat
The intended application interface of display is that the plain edition calculates interface.
Mobile terminal 700 can realize each process that mobile terminal is realized in Fig. 1 and Fig. 5 embodiment of the method, to keep away
Exempt to repeat, repeat no more here., can and mobile terminal 700 can be realized if mobile terminal 700 is under split screen display available state
First to determine the dispaly state of mobile terminal 700, and then the application interface viewing area of destination application can be determined, then obtained
Take the length value of the widthwise edge of the application interface viewing area and the length value of longitudinal edge, then calculate widthwise edge length value and
The ratio of the length value of longitudinal edge, the ratio that dispaly state and calculating finally according to mobile terminal 700 are obtained determines to wait to show
The intended application interface shown, and show in application interface viewing area the intended application interface.So, under split screen display available state
Show that the display effect of application interface is preferable, better appearance.It is also possible to use button of the family in calculator interface enters
More facilitate during row operation.
Referring to Figure 12, Figure 12 is the structure chart for the mobile terminal that the present invention implements offer, as shown in figure 12, mobile terminal
1200 include:At least one processor 1201, memory 1202, at least one network interface 1204 and user interface 1203 and deposit
Store up the control journey that application interface is shown under split screen display available state that can be run on memory 1202 and on processor 1201
Sequence, shown under split screen display available state realized when the control program of application interface is performed by processor 1201 it is above-mentioned in split screen display available
The step of method of application interface is shown under state.Each component in mobile terminal 1 200 is coupling in by bus system 1205
Together.It is understood that bus system 1205 is used to realize the connection communication between these components.Bus system 1205, which is removed, includes data
Outside bus, in addition to power bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, in fig. 12
Various buses are all designated as bus system 1205.
Wherein, user interface 1203 can include display, keyboard or pointing device (for example, mouse, trace ball
(track ball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 1202 in the embodiment of the present invention can be volatile memory or non-volatile memories
Device, or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage
(Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only
Read memory (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM,
) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used
Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static random-access
Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access
Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data
Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous
Connect dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The memory 1202 of system and method described herein be intended to including but not limited to this
The memory of a little and any other suitable type.
In some embodiments, memory 1202 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 12021 and application program 12022.
Wherein, operating system 12021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for
Realize various basic businesses and handle hardware based task.Application program 12022, includes various application programs, such as matchmaker
Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented
The program of example method may be embodied in application program 12022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 1202, specifically, can be application
The program stored in program 12022 or instruction, processor 1201 are used for:
If the mobile terminal is in the split screen display available state, the application interface viewing area of destination application is determined
Domain;
Obtain the length value and the length value of longitudinal edge of the widthwise edge of the application interface viewing area;
Calculate the ratio of the length value of the widthwise edge and the length value of the longitudinal edge;
In at least two application interfaces that the destination application includes, select corresponding with the ratio to wait to show
The intended application interface shown, and show the intended application interface in the application interface viewing area.
The method that the embodiments of the present invention are disclosed can apply in processor 1201, or real by processor 1201
It is existing.Processor 1201 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method
Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1201 or software form.Above-mentioned
Processor 1201 can be general processor, digital signal processor (Digital Signal Processor, DSP), special
Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 1202, processor 1201 reads the information in memory 1202, the step of completing the above method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized by performing the module (such as process, function) of function described herein herein for software
Described technology.Software code is storable in memory and by computing device.Memory can within a processor or
Realized outside processor.
Optionally, processor 1201 performs the destination application for calculator program, and the calculator program bag
Type containing science calculates interface and plain edition calculates interface, at least two application interfaces included in the destination application
In, the to be shown intended application interface corresponding with the ratio is selected, including:
Judge whether the ratio is more than 1;
If the ratio is more than 1, it is determined that the intended application interface to be shown is that the science type calculates interface;
If the ratio is less than or equal to 1, it is determined that the intended application interface to be shown is the plain edition meter
Calculate interface.
Optionally, the destination application is calculator program, and calculator program bag type containing science calculates boundary
Face and plain edition calculate interface, the step of the application interface viewing area of the determination destination application before, processor
1201 are additionally operable to:
The dispaly state of the mobile terminal is determined, the dispaly state includes:Transverse screen dispaly state and portrait layout show shape
State;
It is described at least two application interfaces that the destination application includes, select it is corresponding with the ratio
Intended application interface to be shown, including:
In at least two application interfaces that the destination application includes, it is determined that the display shape with the mobile terminal
State is corresponding, and the to be shown intended application interface corresponding with the ratio.
Optionally, processor 1201 perform it is described determine it is corresponding with the dispaly state of the mobile terminal, and with institute
The corresponding intended application interface to be shown of ratio is stated, including:
If the mobile terminal is under the transverse screen dispaly state, judge whether the ratio is more than 1;
If the ratio is more than 1, it is determined that the intended application interface to be shown is that the science type calculates interface;
If the ratio is less than or equal to 1, it is determined that the intended application interface to be shown is the plain edition meter
Calculate interface.
Optionally, processor 1201 is additionally operable to:
If the mobile terminal is under the portrait layout dispaly state, it is determined that the intended application interface to be shown is
The plain edition calculates interface.
Mobile terminal 1 200 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more., can be first true and mobile terminal 1 200 can be realized if mobile terminal 1 200 is under split screen display available state
Determine the dispaly state of mobile terminal 1 200, and then the application interface viewing area of destination application can be determined, then obtain this
The length value of the widthwise edge of application interface viewing area and the length value of longitudinal edge, then calculate length value and the longitudinal direction of widthwise edge
The ratio of the length value on side, the ratio that dispaly state and calculating finally according to mobile terminal 1 200 are obtained determines to be shown
Intended application interface, and show in application interface viewing area the intended application interface.So, shown under split screen display available state
The display effect of application interface is preferable, better appearance.It is also possible to use button of the family in calculator interface is grasped
More facilitate when making.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (11)
1. a kind of method that application interface is shown under split screen display available state, it is characterised in that applied to mobile terminal, the side
Method includes:
If the mobile terminal is in the split screen display available state, the application interface viewing area of destination application is determined;
Obtain the length value and the length value of longitudinal edge of the widthwise edge of the application interface viewing area;
Calculate the ratio of the length value of the widthwise edge and the length value of the longitudinal edge;
In at least two application interfaces that the destination application includes, select corresponding with the ratio to be shown
Intended application interface, and show the intended application interface in the application interface viewing area.
2. the method as described in claim 1, it is characterised in that the destination application is calculator program, and the meter
Calculate device program bag type containing science and calculate interface and plain edition calculating interface, it is described include in the destination application at least two
In individual application interface, the to be shown intended application interface corresponding with the ratio is selected, including:
Judge whether the ratio is more than 1;
If the ratio is more than 1, it is determined that the intended application interface to be shown is that the science type calculates interface;
If the ratio is less than or equal to 1, it is determined that the intended application interface to be shown is that the plain edition calculates boundary
Face.
3. the method as described in claim 1, it is characterised in that the destination application is calculator program, and the meter
Calculate device program bag type containing science and calculate interface and plain edition calculating interface, show in the application interface of the determination destination application
Before the step of showing region, methods described also includes:
The dispaly state of the mobile terminal is determined, the dispaly state includes:Transverse screen dispaly state and portrait layout dispaly state;
It is described at least two application interfaces that the destination application includes, select corresponding with the ratio to wait to show
The intended application interface shown, including:
In at least two application interfaces that the destination application includes, it is determined that the dispaly state phase with the mobile terminal
Corresponding and corresponding with ratio intended application interface to be shown.
4. method as claimed in claim 3, it is characterised in that the determination is corresponding with the dispaly state of the mobile terminal
, and the to be shown intended application interface corresponding with the ratio, including:
If the mobile terminal is under the transverse screen dispaly state, judge whether the ratio is more than 1;
If the ratio is more than 1, it is determined that the intended application interface to be shown is that the science type calculates interface;
If the ratio is less than or equal to 1, it is determined that the intended application interface to be shown is that the plain edition calculates boundary
Face.
5. method as claimed in claim 3, it is characterised in that methods described also includes:
If the mobile terminal is under the portrait layout dispaly state, it is determined that the intended application interface to be shown is described
Plain edition calculates interface.
6. a kind of mobile terminal, it is characterised in that including:
First determining module, if being in split screen display available state for the mobile terminal, determines application circle of destination application
Face viewing area;
Acquisition module, for the length value and the length value of longitudinal edge of the widthwise edge for obtaining the application interface viewing area;
Computing module, the ratio for calculating the length value of the widthwise edge and the length value of the longitudinal edge;
Selecting module, at least two application interfaces that the destination application includes, selecting and the ratio phase
Corresponding intended application interface to be shown, and show the intended application interface in the application interface viewing area.
7. mobile terminal as claimed in claim 6, it is characterised in that the destination application is calculator program, and institute
State calculator program bag type containing science and calculate interface and plain edition calculating interface, the selecting module includes:
First judging submodule, for judging whether the ratio is more than 1;
First determination sub-module, if being more than 1 for the ratio, it is determined that the intended application interface to be shown is the section
Type calculates interface;
Second determination sub-module, if being less than or equal to 1 for the ratio, it is determined that the intended application interface to be shown
Interface is calculated for the plain edition.
8. mobile terminal as claimed in claim 6, it is characterised in that the destination application is calculator program, and institute
State calculator program bag type containing science and calculate interface and plain edition calculating interface, the mobile terminal also includes:
Second determining module, the dispaly state for determining the mobile terminal, the dispaly state includes:Transverse screen dispaly state
With portrait layout dispaly state;
The selecting module is specifically at least two application interfaces that the destination application includes, it is determined that and institute
The dispaly state for stating mobile terminal is corresponding, and the to be shown intended application interface corresponding with the ratio.
9. mobile terminal as claimed in claim 8, it is characterised in that the selecting module also includes:
Second judging submodule, if being in for the mobile terminal under the transverse screen dispaly state, judges that the ratio is
It is no to be more than 1;
3rd determination sub-module, if being more than 1 for the ratio, it is determined that the intended application interface to be shown is the section
Type calculates interface;
4th determination sub-module, if being less than or equal to 1 for the ratio, it is determined that the intended application interface to be shown
Interface is calculated for the plain edition.
10. mobile terminal as claimed in claim 8, it is characterised in that the mobile terminal also includes:
3rd determining module, if being in for the mobile terminal under the portrait layout dispaly state, it is determined that described to be shown
Intended application interface is that the plain edition calculates interface.
11. a kind of mobile terminal, it is characterised in that including processor, memory and be stored on the memory and can be in institute
The control program that application interface is shown under split screen display available state run on processor is stated, it is described to show under split screen display available state
Show the control program of application interface by realized during the computing device as any one of claim 1 to 5 in split screen
The step of method of application interface is shown under dispaly state.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710438583.XA CN107273123B (en) | 2017-06-12 | 2017-06-12 | The method and mobile terminal of application interface are shown under split screen display available state |
PCT/CN2018/084665 WO2018228062A1 (en) | 2017-06-12 | 2018-04-26 | Application interface display method under split-screen display state and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710438583.XA CN107273123B (en) | 2017-06-12 | 2017-06-12 | The method and mobile terminal of application interface are shown under split screen display available state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107273123A true CN107273123A (en) | 2017-10-20 |
CN107273123B CN107273123B (en) | 2019-06-07 |
Family
ID=60066533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710438583.XA Active CN107273123B (en) | 2017-06-12 | 2017-06-12 | The method and mobile terminal of application interface are shown under split screen display available state |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107273123B (en) |
WO (1) | WO2018228062A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018228062A1 (en) * | 2017-06-12 | 2018-12-20 | 维沃移动通信有限公司 | Application interface display method under split-screen display state and mobile terminal |
WO2019127439A1 (en) * | 2017-12-29 | 2019-07-04 | 华为技术有限公司 | Calculator operation method and terminal |
CN113010135A (en) * | 2021-04-29 | 2021-06-22 | 深圳Tcl新技术有限公司 | Data processing method and device, display terminal and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035662A (en) * | 2014-05-15 | 2014-09-10 | 小米科技有限责任公司 | Interface display method, device and terminal |
CN104808782A (en) * | 2014-01-28 | 2015-07-29 | 中兴通讯股份有限公司 | Application split screen method, application split screen device and intelligent terminal |
CN105843577A (en) * | 2016-04-29 | 2016-08-10 | 板牙信息科技(上海)有限公司 | Vehicle-mounted display screen and display method thereof |
CN107168712A (en) * | 2017-05-19 | 2017-09-15 | 广东欧珀移动通信有限公司 | Interface method for drafting, mobile terminal and computer-readable recording medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103105999A (en) * | 2013-01-17 | 2013-05-15 | 广东欧珀移动通信有限公司 | Video window adjustment method and mobile intelligent terminal |
CN105573740B (en) * | 2015-06-30 | 2020-09-11 | 宇龙计算机通信科技(深圳)有限公司 | Split screen display mode operation method and terminal |
CN105159640B (en) * | 2015-08-28 | 2020-06-12 | 北京小米移动软件有限公司 | Display interface rotating method and device and mobile terminal |
KR20170058051A (en) * | 2015-11-18 | 2017-05-26 | 삼성전자주식회사 | Portable apparatus and method for controlling a screen |
CN107273123B (en) * | 2017-06-12 | 2019-06-07 | 维沃移动通信有限公司 | The method and mobile terminal of application interface are shown under split screen display available state |
-
2017
- 2017-06-12 CN CN201710438583.XA patent/CN107273123B/en active Active
-
2018
- 2018-04-26 WO PCT/CN2018/084665 patent/WO2018228062A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104808782A (en) * | 2014-01-28 | 2015-07-29 | 中兴通讯股份有限公司 | Application split screen method, application split screen device and intelligent terminal |
CN104035662A (en) * | 2014-05-15 | 2014-09-10 | 小米科技有限责任公司 | Interface display method, device and terminal |
CN105843577A (en) * | 2016-04-29 | 2016-08-10 | 板牙信息科技(上海)有限公司 | Vehicle-mounted display screen and display method thereof |
CN107168712A (en) * | 2017-05-19 | 2017-09-15 | 广东欧珀移动通信有限公司 | Interface method for drafting, mobile terminal and computer-readable recording medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018228062A1 (en) * | 2017-06-12 | 2018-12-20 | 维沃移动通信有限公司 | Application interface display method under split-screen display state and mobile terminal |
WO2019127439A1 (en) * | 2017-12-29 | 2019-07-04 | 华为技术有限公司 | Calculator operation method and terminal |
CN110383244A (en) * | 2017-12-29 | 2019-10-25 | 华为技术有限公司 | A kind of operation method and terminal of calculator |
CN113010135A (en) * | 2021-04-29 | 2021-06-22 | 深圳Tcl新技术有限公司 | Data processing method and device, display terminal and storage medium |
CN113010135B (en) * | 2021-04-29 | 2024-03-12 | 深圳Tcl新技术有限公司 | Data processing method and device, display terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107273123B (en) | 2019-06-07 |
WO2018228062A1 (en) | 2018-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104615665B (en) | Information display control method and device in Webpage | |
US20160357365A1 (en) | Document Channel Selection for Document Viewing Application | |
CN105825537B (en) | A kind of method and terminal for generating animation curve | |
CN106933592A (en) | Interactive animation generation method and device | |
CN107273123A (en) | The method and mobile terminal of application interface are shown under split screen display available state | |
CN106933453A (en) | The method for sorting and mobile terminal of a kind of desktop icons | |
CN106843655B (en) | A kind of information display method and electronic equipment | |
CN106657793A (en) | Image processing method and mobile terminal | |
CN106651761A (en) | Method for adding filters to pictures, and mobile terminal | |
CN107450778A (en) | A kind of false touch recognition methods and mobile terminal | |
CN107358111A (en) | A kind of method for secret protection and mobile terminal | |
CN107438204A (en) | A kind of method and mobile terminal of media file loop play | |
CN106453949A (en) | Schedule creating method and mobile terminal | |
CN106909224A (en) | The method and mobile terminal of a kind of display image preview interface | |
CN107247508A (en) | A kind of data source processing method and terminal device | |
CN106445357A (en) | Control method of slider widget, and mobile terminal | |
CN106559570A (en) | A kind of volume adjusting method and mobile terminal | |
CN103605461A (en) | Method and terminal for displaying application interfaces | |
CN106454182A (en) | Video generation method and mobile terminal | |
CN107688420A (en) | A kind of method and mobile terminal for starting suspension object | |
CN106530222A (en) | Picture saving method and mobile terminal | |
CN107678813A (en) | A kind of switching method and mobile terminal of the theme of desktop icons | |
CN106293813A (en) | A kind of application recommendation method and mobile terminal | |
CN107621982A (en) | A kind of method and mobile terminal of the performance parameter for adjusting processor | |
CN107229371A (en) | A kind of 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 |