CN104750478B - The display methods and device of application interface - Google Patents
The display methods and device of application interface Download PDFInfo
- Publication number
- CN104750478B CN104750478B CN201510092217.4A CN201510092217A CN104750478B CN 104750478 B CN104750478 B CN 104750478B CN 201510092217 A CN201510092217 A CN 201510092217A CN 104750478 B CN104750478 B CN 104750478B
- Authority
- CN
- China
- Prior art keywords
- interface
- display
- mode
- application interface
- mark
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000000694 effects Effects 0.000 abstract description 7
- 238000005516 engineering process Methods 0.000 abstract description 7
- 238000012545 processing Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 241000208340 Araliaceae Species 0.000 description 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 1
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 235000008434 ginseng Nutrition 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000012092 media component Substances 0.000 description 1
- 230000001766 physiological effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000013515 script Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure is directed to a kind of display methods of application interface and devices, belong to field of terminal technology.Method includes: to receive idsplay order, idsplay order carries first mode mark and the application interface at interface to be shown identifies in the case where terminal is in first mode;According to first mode mark and application interface mark, from preset first interface display database, corresponding display data are obtained;According to display data, draws application interface and identify corresponding application interface;The application interface of drafting is shown in the flrst mode.The disclosure is in the case where terminal is in first mode, obtain the display data at pre-set interface to be shown corresponding with first mode, and then according to display data, draw out corresponding application interface, so that the display scale of the interface element in application interface shown under first mode is greater than the display scale of interface element under second mode, the application interface display effect different under second mode is realized, so that interface display is more diversified.
Description
Technical field
This disclosure relates to the display methods and device of field of terminal technology more particularly to a kind of application interface.
Background technique
In modern society, because the user of different age group has different physiological properties, lead to the use at all ages and classes end
Family is different the display demand of terminal interface, and the elderly wishes that the display scale of terminal interface is big, content is succinct, young man
Wish that the display scale of terminal interface is moderate, abundant in content.For this purpose, terminal has different display patterns, for example, general mode
Extremely simple mode, general mode can meet young man to the use demand of terminal interface, and extremely simple mode can meet the elderly to end
Hold the use demand at interface.
However, the UI (User Interface, user interface) in terminal is developed only for general mode at present, work as terminal
When in extremely simple mode, it is only capable of displaying certain applications interface, such as short message interface, telephone directory interface, set interface, photograph album circle
Face etc. is to be difficult to show under extremely simple mode, leads to the application interface of display more for other application interface in terminal
It is single.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides the display methods and device of a kind of application interface.
According to the first aspect of the embodiments of the present disclosure, a kind of display methods of application interface is provided, this method comprises:
In the case where terminal is in first mode, idsplay order is received, the idsplay order carries first mode mark and to aobvious
Show the application interface mark at interface, the display pattern of the terminal includes first mode and second mode, under the first mode
The display scale of interface element is greater than the display scale of interface element under the second mode;
According to first mode mark and application interface mark, from preset first interface display database, obtain
Corresponding display data, the display data include the display parameters of interface element, interface element, the first interface display number
It include the interface layout of each application interface under first mode according to library;
According to the display data, draws the application interface and identify corresponding application interface;
In the first mode, the application interface of drafting is shown.
With reference to first aspect, in the first possible implementation of the first aspect, described according to the first mode
Mark and application interface mark before obtaining corresponding display data, are also wrapped from preset first interface display database
It includes:
It is in advance first mode mark the first display logic of setting, for second mode mark the second display logic of setting;
Respectively under first display logic and under second display logic, not for the setting of each application interface mark
Same display data, obtain the first interface display database and second contact surface shows database;
The corresponding relationship of memory module mark and interface display database.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect
In, it is described to be identified according to first mode mark and application interface, from preset first interface display database, acquisition pair
The display data answered, comprising:
Slave pattern mark obtains first mode and identifies corresponding first interface with the corresponding relationship of interface display database
Show database;
According to the interface identification, from the first interface display database, it is corresponding aobvious to obtain the interface identification
Registration evidence.
It is with reference to first aspect, in a third possible implementation of the first aspect, described according to the display data,
It draws before the application interface identifies corresponding application interface, further includes:
The multiple interface elements for including in the display data are encapsulated in the handle of same application interface;
Correspondingly, described according to the display data, it draws the application interface and identifies corresponding application interface, comprising:
According to the display parameters of each interface element, each Interface Element being encapsulated in the handle of same application interface is drawn
Element obtains the application interface and identifies corresponding application interface.
With reference to first aspect, in a fourth possible implementation of the first aspect, described to be in the first mould in terminal
Under formula, before reception idsplay order, further includes:
When terminal is under second mode, detects that pattern switching option is selected, present mode is cut by second mode
Shift to first mode.
According to the second aspect of an embodiment of the present disclosure, a kind of display device of application interface is provided, which includes:
Receiving module, in the case where terminal is in first mode, receiving idsplay order, the idsplay order carries the first mould
The application interface at formula mark and interface to be shown identifies, and the display pattern of the terminal includes first mode and second mode, institute
The display scale for stating interface element under first mode is greater than the display scale of interface element under the second mode;
Module is obtained, for identifying according to first mode mark and application interface, from preset first interface display
In database, corresponding display data are obtained, the display data include the display parameters of interface element, interface element, described
First interface display database includes the interface layout of each application interface under first mode;
Drafting module, for drawing the application interface and identifying corresponding application interface according to the display data;
Display module, in the first mode, being shown to the application interface of drafting.
In conjunction with second aspect, in the first possible implementation of the second aspect, described device, further includes:
First setup module is set for being in advance first mode mark the first display logic of setting for second mode mark
Set the second display logic;
Second setup module, for being each respectively under first display logic and under second display logic
Different display data are arranged in application interface mark, obtain the first interface display database and second contact surface shows database;
Memory module, the corresponding relationship for memory module mark and interface display database.
In conjunction with the first possible implementation of second aspect, in second of possible implementation of second aspect
In, the acquisition module obtains first mode mark pair for slave pattern mark with the corresponding relationship of interface display database
The the first interface display database answered;The boundary is obtained from the first interface display database according to the interface identification
Face identifies corresponding display data.
In conjunction with second aspect, in the third possible implementation of the second aspect, package module, for that described will show
Multiple interface elements that registration includes in are encapsulated in the handle of same application interface;
The drafting module, for the display parameters according to each interface element, drafting is encapsulated in same application interface sentence
Each interface element in handle obtains the application interface and identifies corresponding application interface.
In conjunction with second aspect, in the fourth possible implementation of the second aspect, described device further include:
Switching module detects that pattern switching option is selected, by present mode for being under second mode when terminal
First mode is switched to by second mode.
According to the third aspect of an embodiment of the present disclosure, a kind of display device of application interface is provided, which includes:
Processor;
The instruction that can be performed for storage processor;
Wherein, the processor is configured to:
In the case where terminal is in first mode, idsplay order is received, the idsplay order carries first mode mark and to aobvious
Show the application interface mark at interface, the display pattern of the terminal includes first mode and second mode, under the first mode
The display scale of interface element is greater than the display scale of interface element under the second mode;
According to first mode mark and application interface mark, from preset first interface display database, obtain
Corresponding display data, the display data include the display parameters of interface element, interface element, the first interface display number
It include the interface layout of each application interface under first mode according to library;
According to the display data, draws the application interface and identify corresponding application interface;
In the first mode, the application interface of drafting is shown.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the case where terminal is in first mode, the display number at pre-set interface to be shown corresponding with first mode is obtained
According to, and then according to display data, corresponding application interface is drawn out, so that in application interface shown under first mode
Interface element display scale be greater than second mode under interface element display scale, realize different under second mode
Application interface display effect, so that interface display is more diversified.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of the display methods of application interface shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of the display methods of application interface shown according to an exemplary embodiment.
Fig. 3 is the relationship and functional diagram of a kind of model-view-controller shown according to an exemplary embodiment.
Fig. 4 is a kind of schematic diagram of application interface shown according to an exemplary embodiment.
Fig. 5 is a kind of structural schematic diagram of the display device of application interface shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of the display device of application interface shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of the display methods of application interface shown according to an exemplary embodiment, such as Fig. 1 institute
Show, the display methods of application interface is for including the following steps in terminal.
In a step 101, in the case where terminal is in first mode, idsplay order is received, idsplay order carries first mode mark
Know and the application interface at interface to be shown identifies, the display pattern of terminal includes first mode and second mode, under first mode
The display scale of interface element is greater than the display scale of interface element under second mode.
In a step 102, it is identified according to first mode mark and application interface, from preset first interface display database
In, corresponding display data are obtained, display data include the display parameters of interface element, interface element, the first interface display number
It include the interface layout of each application interface under first mode according to library.
In step 103, it according to display data, draws application interface and identifies corresponding application interface.
At step 104, in the flrst mode, the application interface of drafting is shown.
The method that the embodiment of the present disclosure provides obtains pre-set and first mode in the case where terminal is in first mode
The display data at corresponding interface to be shown, and then according to display data, corresponding application interface is drawn out, so that first
The display scale of interface element under mode in shown application interface is greater than the display scale of interface element under second mode,
The application interface display effect different under second mode is realized, so that interface display is more diversified.
In another embodiment of the disclosure, identified according to first mode mark and application interface, from preset first
In interface display database, before the corresponding display data of acquisition, further includes:
It is in advance first mode mark the first display logic of setting, for second mode mark the second display logic of setting;
Respectively under the first display logic and under the second display logic, different displays is set for each application interface mark
Data, obtain the first interface display database and second contact surface shows database;
The corresponding relationship of memory module mark and interface display database.
In another embodiment of the disclosure, identified according to first mode mark and application interface, from preset first
In interface display database, corresponding display data are obtained, comprising:
Slave pattern mark obtains first mode and identifies corresponding first interface with the corresponding relationship of interface display database
Show database;
According to interface identification, from the first interface display database, the corresponding display data of interface identification are obtained.
In another embodiment of the disclosure, according to display data, draws application interface and identify corresponding application interface
Before, further includes:
It will show that the multiple interface elements for including in data are encapsulated in the handle of same application interface;
Correspondingly, it according to display data, draws the application interface and identifies corresponding application interface, comprising:
According to the display parameters of each interface element, each Interface Element being encapsulated in the handle of same application interface is drawn
Element, the corresponding application interface of the interface identification that is applied.
In another embodiment of the disclosure, in the case where terminal is in first mode, before receiving idsplay order, also wrap
It includes:
When terminal is under second mode, detects that pattern switching option is selected, present mode is cut by second mode
Shift to first mode.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination
It repeats one by one.
Fig. 2 is a kind of flow chart of the display methods of application interface shown according to an exemplary embodiment, such as Fig. 2 institute
Show, the display methods of application interface is in terminal, and this method is by taking present mode is second mode as an example, and in second mode
On the basis of provide first mode, and then can not only show the common application interface of user in the flrst mode, moreover it is possible to show
The application interface of custom application, so that the display of application interface is more diversified.This approach includes the following steps.
In step 201, when terminal is under second mode, detect that pattern switching option is selected, by present mode
First mode is switched to by second mode.
Wherein, terminal can have the equipment of display screen for smart phone, tablet computer etc..The terminal has a variety of aobvious
Show mode, such as first mode, second mode.In all embodiments of the disclosure, which can be extremely simple mode,
The second mode can be general mode.In order to be distinguished to different display patterns, the present embodiment be also first mode and
Different pattern identifications is arranged in second mode.Wherein, the pattern identification for first mode setting is known as first mode mark, is the
The pattern identification of two modes setting is known as second mode mark.Form about pattern identification can be decimal form, can also
Think binary form etc..Digit about pattern identification can be 1, or 2, the present embodiment is not made this specifically
Restriction.The form identified in mode be binary form for, when the digit of pattern identification be 1 when, can be by first mode
Pattern identification be set as 0, set 1 for the pattern identification of second mode;It, can when the digit of pattern identification can be 2
00 is set by the pattern identification of first mode, 11 etc. are set by the pattern identification of second mode, it is, of course, also possible to not
Same character combination etc. is identified different mode, and the embodiment of the present disclosure is not construed as limiting this.
The present embodiment, it is same to answer when terminal is in different display patterns in order to meet the use demand of different user
Be different with display scale of the interface element of program on terminal display, and under first mode interface element display
Ratio is greater than the display scale of interface element under second mode.For example, when terminal is under first mode, the display of interface element
Ratio is maximum display scale, and terminal is under second mode, and the display scale of interface element is only maximum display scale
80% etc..
It is switched between different display modes for the ease of terminal, pattern switching option is also provided in terminal, the mould
Terminal present mode can be switched to first mode by second mode by formula handoff options.For example, when terminal is under second mode,
It detects that the pattern switching option is selected, then under the triggering for choosing operation, pattern switching instruction will be generated, according to the mode
Present mode can be switched to first mode by second mode by switching command, terminal.
In addition, being also equipped with multiple application programs in terminal, such as short message application program reads application program, takes a picture and answer
It with program, photograph album application program, telephone book applications program etc., is shown by the application interface to these application programs, eventually
Various functions can be achieved in end.For example, terminal can realize transmitting-receiving short message by the display interface of display short message application program
Function;By showing the display interface of telephone book applications program, terminal can realize the storage etc. to contact information.Above-mentioned
In the process, the display interface of each application program has an application interface mark, applies boundary according to each application program
Face mark, terminal show different application interface differences.For example, terminal is according to the application interface mark for reading application program
Know, will show the application interface for reading application program;Terminal is identified according to the application interface of short message application program, will be shown short
The application interface etc. of Information application program.
It should be noted that be only able to achieve a set of UI (user interface) in practical applications, in each terminal, i.e., each end
It is able to achieve a kind of display logic in end, that is to say, each terminal only has a M module, V module and C module, wherein M module is
Model, change for package application program state, responsive state inquiry, notice view function etc.;V module is view, for solving
Model is released, model modification request is received, user input instruction and data is sent to M module, C module is allowed to select view;C mould
Block is controller, for receiving the instruction and data of user's input, according to the instruction and data that user inputs, definition application
User action is mapped to model modification, and the view of Response to selection by behavior.
Currently, what the UI in most of terminals was developed primarily directed to general mode, by set UI, in common mould
Application interface all in terminal can be shown under formula.However, the UI and support extremely simple mode, under extremely simple mode, under only
The application interface of some application program can directly be shown, application interface, dialing application journey such as short message application program
The application interface etc. of sequence, and the application interface of many application programs is directly to be shown, for example, application program of taking a picture
Application interface, the application interface for such as reading the application interface of application program, audio play-back application.In order to show this
A little application programs, the display methods for the application interface that the embodiment of the present disclosure provides increase a set of new on the basis of original UI
UI, the new UI and original UI share identical M module and C module, be based on this two sets of UI, method provided in this embodiment
Tool is there are two types of display logic, and a kind of display logic is in the normal mode showing the application interface of all application programs
Show, a kind of display logic is used under extremely simple mode show the application interface of application-specific.Further, in order to
The application interface of application-specific can be shown under extremely simple mode, user needs to determine on operator's server in advance
System.After being customized successfully to application-specific, using the display methods for the application interface that the embodiment of the present disclosure provides
The application interface of these application-specifics is shown, specifically shows process, reference can be made to following step 202 to 205.
In step 202, in the case where terminal is in first mode, terminal receives idsplay order, which carries first
Pattern identification and the application interface at interface to be shown mark.
In the case where terminal is in first mode, user wishes that terminal shows the display interface of any application program, and user can point
The application program is hit, when terminal detects user to the application program when choosing operation, terminal can obtain the aobvious of application program
Show instruction.The application interface mark at first mode mark and application program interface to be shown is at least carried in the idsplay order.
In step 203, terminal is identified according to first mode mark and application interface, from preset first interface display number
According in library, obtaining corresponding display data.
When receiving idsplay order, terminal is identified according to the first mode in idsplay order, can be from pre-stored mode
Mark gets the first interface display database, and then according in idsplay order with the corresponding relationship of interface display database
Application interface mark get the application interface from the first interface display database and identify corresponding display data.At this
In embodiment, the first interface display database includes the interface layout of each application interface under first mode, such as each application
Display font, display styles, the display scale at interface etc..Display data may include the display ginseng of interface element, interface element
Number etc..Wherein, interface element is each child control of application program, and the display parameters of interface element are each height of application program
The display format of control.It is photograph application program with application program, interface element can be take pictures control, U.S. face control, mode
Control etc., correspondingly, the display parameters of each interface element can be automatic camera, U.S. face, night scene mode etc..
Since the corresponding relationship of pre-stored pattern identification and interface display database is to obtain application interface mark pair
Therefore the key for the display data answered identifies, from preset first interface display according to first mode mark and application interface
In database, before obtaining corresponding display data, method provided in this embodiment also needs memory module mark and interface aobvious
Show the corresponding relationship of database.In memory module mark and the corresponding relationship of interface display database, terminal can be by mode mark
Know and is stored in the storage units such as memory, flash memory with the corresponding relationship of interface display database.Specifically memory module mark with
When the corresponding relationship of interface display database, it is the second mould that terminal, which can be in advance first mode mark the first display logic of setting,
Formula mark the second display logic of setting, wherein the display scale of interface element is greater than the second display and patrols under the first display logic
The display scale of volume lower interface element, and under the first display logic under interface element and the second display logic interface element quantity
Not exactly the same, under the first display logic, the part interface element of application program may be prohibited, and part interface element may
It is activated.Terminal will be arranged different display data for each application interface mark, and obtain the first boundary under the first display logic
Face shows database, and each application interface is store in the first interface display database and identifies corresponding display data.With this
Meanwhile terminal will also be arranged different display data for each application interface mark, and obtain the second boundary under the second display logic
Face shows that database, the second contact surface show that store each application interface in database identifies corresponding display data.Pass through
Above-mentioned setting has corresponding relationship, second mode mark and second between first mode mark and the first interface display database
Also there is corresponding relationship, later, memory module is identified pair with interface display database by terminal between interface display database
It should be related to.
In step 204, terminal draws application interface and identifies corresponding application interface according to display data.
Due to having the display parameters of the interface element and interface element that need the application interface drawn in display data, and
According to the display parameters of interface element, can determine the drafting form for the interface element that needs are drawn, therefore, based on get to
The display data of display interface, terminal can draw the corresponding graphic element of interface element, and then draw out application interface mark pair
The application interface answered.Wherein, graphic element can be button, icon etc., and the present embodiment does not make specific limit to graphic element.
In order to improve interface display effect, the corresponding graphic element of each interface element is avoided to cause because drawing time difference
Occurs scintillation when display, method provided in this embodiment draws application interface and identify corresponding answer according to display data
Before when interface, it will also be shown that the multiple interface elements for including in data are encapsulated in the handle of same application interface.Wherein, it answers
It is the pointer of terminal operating system internal data structure with interfaces windows handle, number can be determined by application interface window handle
According to the corresponding memory first address of structure.In addition, the special elements in interface system can also be quoted by application interface window handle,
Such as window, bitmap, icon, memory block, cursor, font.About will show data in include multiple interface elements be encapsulated in
Mode in the handle of same application interface, when it is implemented, can be distributed for the multiple interface elements for including in display data same
A memory first address.Since the memory first address corresponds to the same application interface window handle, it can will be wrapped in display data
The multiple interface elements contained are encapsulated in the handle of same application interface.
Terminal draws the mode that application interface identifies corresponding application interface according to display data, including but not limited to:
According to the display parameters of each interface element, each Interface Element being encapsulated in the handle of same application interface is drawn
Element, the corresponding application interface of the interface identification that is applied.
For the above process, in order to make it easy to understand, with a specific example will carry out that explanation is explained in detail below.
By taking interface to be shown is the application interface of short message application program as an example, when receiving idsplay order, shown according to this
Show instruction, terminal gets the corresponding display data in short message interface, wherein is included as interface element A, boundary in the display data
Surface element B, interface element C, the display parameters of interface element A are a, and the display parameters of interface element B are b, and interface element C's is aobvious
Show that parameter is c.Terminal is when drawing the application interface corresponding application interface of mark, first by interface element a, interface element b, interface
Element c is encapsulated in the handle of same application interface, and later, terminal is a according to the display parameters of interface element A, draws Interface Element
The graphic element of plain A is b according to the display parameters of interface element B, the graphic element of interface element B is drawn, according to interface element
The display parameters of C are c, draw the graphic element of interface element C, and then obtain the application interface of short message application program.
The whole process that application interface is drawn for above-mentioned terminal, below will be with model-view-controller shown in Fig. 3
Relationship and functional diagram for be described in detail.
In the case where terminal is in general mode, user, can by the pattern switching option shown on general mode display interface
Terminal present mode is switched by general mode to extremely simple mode.Under extremely simple mode, when detecting user to any of customization
When choosing operation of application-specific, controller (C module) will acquire the instruction and data of user's input, which at least wraps
The interface identification of extremely simple pattern identification and application-specific is included, and the instruction and data that will acquire passes to business model (M
Module), after business model carries out logic judgment to the instruction and data received, from the corresponding database of extremely simple pattern identification
In, the corresponding display data of interface identification of application-specific are obtained, and the display data that will acquire are sent to view (V
Module), by V module by carrying out logic judgment to display data, draw out corresponding application interface.
In step 205, in the flrst mode, terminal shows the application interface of drafting.
When in the flrst mode, being applied after interface, in order to which the application interface of drafting is shown, this implementation
The method that example provides also needs for application interface to be mapped on the display screen of terminal, is shown by display screen, is shown at this time
Application interface under the application interface and second mode that show on display screen curtain is different.
In order to intuitively show the application interface under different display modes, it is illustrated by taking Fig. 4 as an example below.
(a) figure in Fig. 4 is the application interface of telephone book applications program under the second mode, and (b) figure in Fig. 4 is phone
The application interface of thin application program in the flrst mode.By (a) figure and (b) figure in Fig. 4 it is found that telephone book applications program is the
Page layout under one mode and under second mode is different, the application interface of telephone book applications program in the flrst mode aobvious
Show that ratio is not only bigger than the display scale under second mode, but also interface element is also different on application interface.
It should be noted that above-mentioned in the first mode and a second mode to be illustrated for extremely simple mode and general mode
, in fact, first mode and second mode can also be other modes, when first mode and second mode are other modes
When, the method shown to application interface is same as mentioned above, and referring specifically to the above method, details are not described herein again.
The method that the embodiment of the present disclosure provides obtains pre-set and first mode in the case where terminal is in first mode
The display data at corresponding interface to be shown, and then according to display data, corresponding application interface is drawn out, so that first
The display scale of interface element under mode in shown application interface is greater than the display scale of interface element under second mode,
The application interface display effect different under second mode is realized, so that interface display is more diversified.Terminal user or
Operator can be the display interface of applying under terminal custom different mode, and will be using display according to the actual demand of user
The display data at interface are stored in the corresponding interface display database of extremely simple mode, to realize some scripts under extremely simple mode not
The application interface of compatible application can also be shown under extremely simple mode, to improve customization, be provided preferably
Service.
Fig. 5 is a kind of display device schematic diagram of application interface shown according to an exemplary embodiment.It, should referring to Fig. 5
Device includes: receiving module 501, obtains module 502, drafting module 503 and display module 504.
The receiving module 501 is configured as in the case where terminal is in first mode, receives idsplay order, and idsplay order carries the
One pattern identification and the application interface at interface to be shown mark, the display pattern of terminal includes first mode and second mode, the
The display scale of interface element is greater than the display scale of interface element under second mode under one mode;
The acquisition module 502 is configured as being identified according to first mode and application interface identifies, from preset first interface
It showing in database, obtains corresponding display data, display data include the display parameters of interface element, interface element, and first
Interface display database includes the interface layout of each application interface under first mode;
The drafting module 503 is configured as drawing application interface according to display data and identifying corresponding application interface;
The display module 504 is configured as in the flrst mode, showing the application interface of drafting.
In another embodiment of the disclosure, the device, further includes: the first setup module, the second setup module and deposit
Store up module.
First setup module is configured as in advance being first mode mark the first display logic of setting, is second mode mark
Know the second display logic of setting;
Second setup module be configured under the first display logic and the second display logic under, be each application
Different display data are arranged in interface identification, obtain the first interface display database and second contact surface shows database;
The memory module is configured as the corresponding relationship of memory module mark and interface display database.
In another embodiment of the disclosure, which is configured as slave pattern mark and interface display database
Corresponding relationship in, obtain first mode and identify corresponding first interface display database;According to interface identification, from the first interface
It shows in database, obtains the corresponding display data of interface identification.
In another embodiment of the disclosure, the device further include: package module.
The package module is configured as to show that the multiple interface elements for including in data are encapsulated in same application interface sentence
In handle.
The drafting module is configured as the display parameters according to each interface element, and drafting is encapsulated in same application interface sentence
Each interface element in handle, the corresponding application interface of the interface identification that is applied.
In another embodiment of the disclosure, the device further include: switching module.
The switching module is configured as being under second mode when terminal, detects that pattern switching option is selected, will work as
Premode switches to first mode by second mode.
The device that the embodiment of the present disclosure provides obtains pre-set and first mode in the case where terminal is in first mode
The display data at corresponding interface to be shown, and then according to display data, corresponding application interface is drawn out, so that first
The display scale of interface element under mode in shown application interface is greater than the display scale of interface element under second mode,
The application interface display effect different under second mode is realized, so that interface display is more diversified.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 6 is a kind of block diagram of display device 600 for application interface shown according to an exemplary embodiment.Example
Such as, device 600 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, and plate is set
It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 6, device 600 may include following one or more components: processing component 602, memory 604, power supply
Component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor module 614, Yi Jitong
Believe component 616.
The integrated operation of the usual control device 600 of processing component 502, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing component 602 may include that one or more processors 620 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 602 may include one or more modules, just
Interaction between processing component 602 and other assemblies.For example, processing component 602 may include multi-media module, it is more to facilitate
Interaction between media component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in device 600.These data are shown
Example includes the instruction of any application or method for operating on device 600, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 606 provides electric power for the various assemblies of device 600.Power supply module 606 may include power management system
System, one or more power supplys and other with for device 600 generate, manage, and distribute the associated component of electric power.
Multimedia component 608 includes the screen of one output interface of offer between described device 600 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 608 includes a front camera and/or rear camera.When device 600 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike
Wind (MIC), when device 600 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 604 or via communication set
Part 616 is sent.In some embodiments, audio component 610 further includes a loudspeaker, is used for output audio signal.
I/O interface 612 provides interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 614 includes one or more sensors, and the state for providing various aspects for device 600 is commented
Estimate.For example, sensor module 614 can detecte the state that opens/closes of device 600, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 600, and sensor module 614 can be with 600 1 components of detection device 600 or device
Position change, the existence or non-existence that user contacts with device 600,600 orientation of device or acceleration/deceleration and device 600
Temperature change.Sensor module 614 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 614 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between device 600 and other equipment.Device
600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 616 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 616 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 600 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 604 of instruction, above-metioned instruction can be executed by the processor 620 of device 600 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device executes, so that mobile terminal is able to carry out a kind of display methods of application interface, which comprises
In the case where terminal is in first mode, idsplay order is received, idsplay order carries first mode mark and boundary to be shown
The application interface in face identifies, and the display pattern of terminal includes first mode and second mode, and interface element is aobvious under first mode
Show that ratio is greater than the display scale of interface element under second mode;
According to first mode mark and application interface mark, from preset first interface display database, obtains and correspond to
Display data, display data include the display parameters of interface element, interface element, and the first interface display database includes the
The interface layout of each application interface under one mode;
According to display data, draws application interface and identify corresponding application interface;
In the flrst mode, the application interface of drafting is shown.
In another embodiment of the disclosure, identified according to first mode mark and application interface, from preset first
In interface display database, before the corresponding display data of acquisition, further includes:
It is in advance first mode mark the first display logic of setting, for second mode mark the second display logic of setting;
Respectively under the first display logic and under the second display logic, different displays is set for each application interface mark
Data, obtain the first interface display database and second contact surface shows database;
The corresponding relationship of memory module mark and interface display database.
In another embodiment of the disclosure, identified according to first mode mark and application interface, from preset first
In interface display database, corresponding display data are obtained, comprising:
Slave pattern mark obtains first mode and identifies corresponding first interface with the corresponding relationship of interface display database
Show database;
According to interface identification, from the first interface display database, the corresponding display data of interface identification are obtained.
In another embodiment of the disclosure, according to display data, draws application interface and identify corresponding application interface
Before, further includes:
It will show that the multiple interface elements for including in data are encapsulated in the handle of same application interface;
According to display data, draws application interface and identifies corresponding application interface, comprising:
According to the display parameters of each interface element, each Interface Element being encapsulated in the handle of same application interface is drawn
Element, the corresponding application interface of the interface identification that is applied.
In another embodiment of the disclosure, in the case where terminal is in first mode, before receiving idsplay order, also wrap
It includes:
When terminal is under second mode, detects that pattern switching option is selected, present mode is cut by second mode
Shift to first mode.
The non-transitorycomputer readable storage medium that the embodiment of the present disclosure provides is obtained in the case where terminal is in first mode
The display data at pre-set interface to be shown corresponding with first mode are taken, and then according to display data, are drawn out corresponding
Application interface so that the display scale of the interface element in application interface shown under first mode is greater than the second mould
The display scale of interface element under formula realizes the application interface display effect different under second mode, so that interface display
It is more diversified.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (9)
1. a kind of display methods of application interface, which is characterized in that the described method includes:
In the case where terminal is in first mode, idsplay order is received, the idsplay order carries first mode mark and boundary to be shown
The application interface in face identifies, and the display pattern of the terminal includes first mode and second mode, interface under the first mode
The display scale of element is greater than the display scale of interface element under the second mode;
According to first mode mark and application interface mark, from preset first interface display database, obtains and correspond to
Display data, it is described display data include interface element, interface element display parameters, the first interface display database
It include the interface layout of each application interface under first mode;
According to the display data, draws the application interface and identify corresponding application interface;
In the first mode, the application interface of drafting is shown,
It is described according to the display data, draw before the application interface identifies corresponding application interface, further includes:
The multiple interface elements for including in the display data are encapsulated in the handle of same application interface, the multiple Interface Element
Element includes the special elements in interface, and the special elements include window, icon and font;
Correspondingly, described according to the display data, it draws the application interface and identifies corresponding application interface, comprising:
According to the display parameters of each interface element, each interface element being encapsulated in the handle of same application interface is drawn, is obtained
Corresponding application interface is identified to the application interface.
2. the method according to claim 1, wherein described according to first mode mark and application interface mark
Know, from preset first interface display database, before the corresponding display data of acquisition, further includes:
It is in advance first mode mark the first display logic of setting, for second mode mark the second display logic of setting;
It is different for the mark setting of each application interface respectively under first display logic and under second display logic
It shows data, obtains the first interface display database and second contact surface shows database;
The corresponding relationship of memory module mark and interface display database.
3. according to the method described in claim 2, it is characterized in that, described according to first mode mark and application interface mark
Know, from preset first interface display database, obtain corresponding display data, comprising:
Slave pattern mark obtains first mode and identifies corresponding first interface display with the corresponding relationship of interface display database
Database;
According to the interface identification, from the first interface display database, the corresponding display number of the interface identification is obtained
According to.
4. reception display refers to the method according to claim 1, wherein described in the case where terminal is in first mode
Before order, further includes:
When terminal is under second mode, detects that pattern switching option is selected, present mode is switched to by second mode
First mode.
5. a kind of display device of application interface, which is characterized in that described device includes:
Receiving module, in the case where terminal is in first mode, receiving idsplay order, the idsplay order carries first mode mark
To know and the application interface at interface to be shown identifies, the display pattern of the terminal includes first mode and second mode, and described the
The display scale of interface element is greater than the display scale of interface element under the second mode under one mode;
Module is obtained, for identifying according to first mode mark and application interface, from preset first interface display data
In library, corresponding display data are obtained, the display data include the display parameters of interface element, interface element, and described first
Interface display database includes the interface layout of each application interface under first mode;
Drafting module, for drawing the application interface and identifying corresponding application interface according to the display data;
Display module, in the first mode, being shown to the application interface of drafting,
Described device further includes;
Package module, for the multiple interface elements for including in the display data to be encapsulated in the handle of same application interface,
The multiple interface element includes the special elements in interface, and the special elements include window, icon and font;
The drafting module, for the display parameters according to each interface element, drafting is encapsulated in the handle of same application interface
Each interface element, obtain the application interface and identify corresponding application interface.
6. device according to claim 5, which is characterized in that described device, further includes:
First setup module, for being in advance first mode mark the first display logic of setting, for second mode mark setting the
Two display logics;
Second setup module, under first display logic and under second display logic, being respectively each application
Different display data are arranged in interface identification, obtain the first interface display database and second contact surface shows database;
Memory module, the corresponding relationship for memory module mark and interface display database.
7. device according to claim 6, which is characterized in that the acquisition module, it is aobvious for slave pattern mark and interface
Show in the corresponding relationship of database, obtains first mode and identify corresponding first interface display database;It is marked according to the interface
Know, from the first interface display database, obtains the corresponding display data of the interface identification.
8. device according to claim 5, which is characterized in that described device further include:
Switching module detects that pattern switching option is selected for be under second mode when terminal, by present mode by the
Two modes switch to first mode.
9. a kind of display device of application interface characterized by comprising
Processor;
The instruction that can be performed for storage processor;
Wherein, the processor is configured to:
In the case where terminal is in first mode, idsplay order is received, the idsplay order carries first mode mark and boundary to be shown
The application interface in face identifies, and the display pattern of the terminal includes first mode and second mode, interface under the first mode
The display scale of element is greater than the display scale of interface element under the second mode;
According to first mode mark and application interface mark, from preset first interface display database, obtains and correspond to
Display data, it is described display data include interface element, interface element display parameters, the first interface display database
It include the interface layout of each application interface under first mode;
According to the display data, draws the application interface and identify corresponding application interface;
In the first mode, the application interface of drafting is shown,
The processor is also configured to draw the application interface according to the display data described and identify corresponding answer
Before interface,
The multiple interface elements for including in the display data are encapsulated in the handle of same application interface, the multiple Interface Element
Element includes the special elements in interface, and the special elements include window, icon and font;
Correspondingly, described according to the display data, it draws the application interface and identifies corresponding application interface, comprising:
According to the display parameters of each interface element, each interface element being encapsulated in the handle of same application interface is drawn, is obtained
Corresponding application interface is identified to the application interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510092217.4A CN104750478B (en) | 2015-02-28 | 2015-02-28 | The display methods and device of application interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510092217.4A CN104750478B (en) | 2015-02-28 | 2015-02-28 | The display methods and device of application interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104750478A CN104750478A (en) | 2015-07-01 |
CN104750478B true CN104750478B (en) | 2018-12-25 |
Family
ID=53590233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510092217.4A Active CN104750478B (en) | 2015-02-28 | 2015-02-28 | The display methods and device of application interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104750478B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790923A (en) * | 2016-12-30 | 2017-05-31 | 深圳天珑无线科技有限公司 | Contact person interface display methods and device |
CN109144619B (en) * | 2017-06-14 | 2021-12-21 | 阿里巴巴集团控股有限公司 | Icon font information processing method, device and system |
CN110417978B (en) * | 2019-07-24 | 2021-04-09 | 广东商路信息科技有限公司 | Menu configuration method, device, equipment and storage medium |
CN112905073B (en) * | 2021-02-09 | 2022-08-09 | 维沃移动通信有限公司 | Method and device for realizing extremely simple mode of application program |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005525A (en) * | 2006-01-18 | 2007-07-25 | 英华达(南京)科技有限公司 | Functional mode switching method for providing different group use in cell phone |
CN101299780A (en) * | 2008-06-05 | 2008-11-05 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal interface display method, apparatus and mobile terminal |
CN101499080A (en) * | 2008-02-01 | 2009-08-05 | 网秦无限(北京)科技有限公司 | Method and system for fast acquiring information service on mobile terminal |
CN101753704A (en) * | 2008-12-15 | 2010-06-23 | 康佳集团股份有限公司 | Method, system and mobile terminal for achieving profile of mobile terminal |
US20140040572A1 (en) * | 2012-08-01 | 2014-02-06 | Microsoft Corporation | Request ordering support when switching virtual disk replication logs |
CN103685695A (en) * | 2012-09-12 | 2014-03-26 | 上海斐讯数据通信技术有限公司 | Method for implementing function customization based on senior mode and mobile terminal |
CN103873635A (en) * | 2012-12-10 | 2014-06-18 | 三星电子(中国)研发中心 | Method and device for realizing personalized profile of mobile terminal |
-
2015
- 2015-02-28 CN CN201510092217.4A patent/CN104750478B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101005525A (en) * | 2006-01-18 | 2007-07-25 | 英华达(南京)科技有限公司 | Functional mode switching method for providing different group use in cell phone |
CN101499080A (en) * | 2008-02-01 | 2009-08-05 | 网秦无限(北京)科技有限公司 | Method and system for fast acquiring information service on mobile terminal |
CN101299780A (en) * | 2008-06-05 | 2008-11-05 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal interface display method, apparatus and mobile terminal |
CN101753704A (en) * | 2008-12-15 | 2010-06-23 | 康佳集团股份有限公司 | Method, system and mobile terminal for achieving profile of mobile terminal |
US20140040572A1 (en) * | 2012-08-01 | 2014-02-06 | Microsoft Corporation | Request ordering support when switching virtual disk replication logs |
CN103685695A (en) * | 2012-09-12 | 2014-03-26 | 上海斐讯数据通信技术有限公司 | Method for implementing function customization based on senior mode and mobile terminal |
CN103873635A (en) * | 2012-12-10 | 2014-06-18 | 三星电子(中国)研发中心 | Method and device for realizing personalized profile of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104750478A (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105955607B (en) | Content sharing method and device | |
US9380433B2 (en) | Mobile terminal and control method thereof | |
EP2605495B1 (en) | Mobile terminal and control method thereof | |
CN104486451B (en) | Application program recommends method and device | |
KR101917696B1 (en) | Mobile terminal and control method thereof | |
CN104750479A (en) | Interface displaying method and device | |
CN104898505A (en) | Smart scene configuration method and device | |
JP2018503207A (en) | Information display method, apparatus, program, and recording medium | |
CN107193553A (en) | Key control method and device | |
CN109324846B (en) | Application display method and device and storage medium | |
EP3291508A1 (en) | Message pushing method and device, and terminal equipment | |
CN105224171A (en) | icon display method, device and terminal | |
CN112764607A (en) | Timing message processing method, device, terminal and storage medium | |
CN104750478B (en) | The display methods and device of application interface | |
CN109358929A (en) | Multi-screen display method, device and storage medium | |
CN105955808B (en) | The task management method and device of instant messaging application | |
CN106201275A (en) | Snapshot is as processing method and processing device | |
CN106325670A (en) | Message prompting method and device | |
CN105488829A (en) | Method and device for generating head portrait | |
CN109725806A (en) | Website edit methods and device | |
CN105187671A (en) | Recording method and device | |
CN104636064A (en) | Gesture generating method and device | |
CN105468281A (en) | Setup interface display method and device | |
CN107122149A (en) | Display methods, device and the terminal of application program | |
CN105677215A (en) | Application control method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |