A kind of interface display method
Technical field
The present invention relates to field of communication technology more particularly to a kind of interface display methods.
Background technique
In the application of Intelligent mobile equipment especially smart phone, usually all triggered back comprising rollback operation and being provided with
The trigger control of operation is moved back, such as entity or virtual rollback key in Android phone, it can be with by clicking the rollback key
Rollback operation is triggered, then return key is arranged in the upper left corner of on-screen display (osd) area in for example some application program of mobile phone, usually shows
For the icon of an arrow to the left, rollback operation can be triggered by clicking the return key.
In implementing the present invention, it may, inventor has found that the prior art has the following problems:
Rollback operation does not dynamically adjust operating result, spy of the user due to not knowing about rollback operation under different scenes
Point, easily causes and obscures;Meanwhile most of applications usually set rollback to return to upper level interface, user needs first to return
The entrance at the interface returning back to really is wanted finding from upper level interface in upper level interface, cumbersome, operating experience compared with
Difference.
Summary of the invention
In consideration of it, the embodiment of the present invention provides a kind of interface display method, comprising the following steps:
Show the first interface,
Changing interface operation is obtained,
Show second contact surface,
Obtain rollback requests,
Dynamic retracts: the triggering mode operated according to the changing interface, it is determined whether display first interface.
In the embodiment of the present invention, rollback operation is set dynamically by the triggering mode operated according to the changing interface,
So that user when needing to carry out rollback operation, can be convenient and rapidly return back to desired interface, the operation of user is improved
Experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, the accompanying drawings in the following description is only implementation of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also obtain according to these attached drawings
Take other attached drawings.
Fig. 1 is a kind of flow diagram of the embodiment 101 of interface display method of the present invention.
Fig. 2 is a kind of flow diagram of the embodiment 103 of interface display method of the present invention.
Fig. 3 is a kind of flow diagram of the embodiment 105 of interface display method of the present invention.
Fig. 4 is a kind of flow diagram of the embodiment 107 of interface display method of the present invention.
Fig. 5 is a kind of flow diagram of the embodiment 109 of interface display method of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
It is only a part of the embodiment of the present invention, based on the embodiments of the present invention, those of ordinary skill in the art are not making creation
Property labour under the premise of, every other embodiment obtained shall fall within the protection scope of the present invention.
In the use process of Intelligent mobile equipment, rollback operation is a kind of very universal user's operation, is usually passed through
Virtual or entity rollback key in touch apparatus is completed.Rollback operation can be used for controlling the switching and display of user interface,
Current interface is for example switched to the interface, or the upper level interface for switching to current interface etc. of last presentation.Due to existing
Rollback operation usually not dynamically adjusts operating result under different scenes in technology, and user is not due to knowing about rollback operation
Feature easily causes and obscures;Meanwhile most of applications usually set rollback to return to upper level interface, user needs first to return
Go back to upper level interface, really want the entrance at the interface returning back to finding from upper level interface, it is cumbersome, operating experience compared with
Difference.
To solve the above problems, the embodiment of the invention provides a kind of interface display method, by being cut according to the interface
The triggering mode of operation is changed rollback operation is set dynamically, so that user when needing to carry out rollback operation, can be convenient quickly
Ground return back to desired interface, improves the operating experience of user.It is described in detail below with reference to several specific embodiments.
Embodiment 101: as shown in Figure 1, the present embodiment may comprise steps of:
It shows the first interface, may include, display one includes that the interface of displayed web page content components or one wrap
Interfaces of content components such as displaying local or online text, video, etc. are included.
Changing interface operation is obtained, may include, obtains the interface that user initiates by clicking the forms such as menu, key
Handover operation, or the interface that the notification message by clicking in the drop-down menu above Android or iOS device screen is initiated are cut
Change operation, etc..
Show second contact surface, which operates according to the changing interface and specify, and may include, for chatting for instant messaging
Its interface, or the interface, etc. including displayed web page news component.
Rollback requests are obtained, may include, user is obtained and is asked by clicking the rollback that the forms such as menu, key are initiated
It asks, or by clicking the rollback requests, etc. that entity or virtual rollback key are initiated below Android device screen.
Dynamic retracts: the triggering mode operated according to the changing interface, it is determined whether display first interface;It can be with
Including for example when user is initiated by clicking the notification message in the drop-down menu above Android or iOS device screen
Changing interface operation, or when user be initiated changing interface operation by clicking specified interactive component, then it is determined that
It shows first interface, otherwise shows other interfaces, etc..
In the present embodiment, rollback operation is set dynamically by the triggering mode operated according to the changing interface, made
User is obtained when needing to carry out rollback operation, can be convenient and rapidly return back to desired interface, improve the operating body of user
It tests.
Embodiment 102: the present embodiment is preferred and/or improvement on the basis of embodiment 101, preferably and/or is improved
It is, the dynamic back-off procedure specifically includes: the triggering mode operated according to the changing interface, by being selected in following operation
One operation executes: a) showing first interface, b) the upper level interface of the display second contact surface.
In the present embodiment, it is limited to the dynamic back-off procedure to show first interface and shows second boundary
Upper two class of an interface in face, operating result is clear, is easy to be easily accepted by a user, and improves the operating experience of user.
Embodiment 103: as shown in Fig. 2, the present embodiment is preferred and/or improvement on the basis of embodiment 101, preferably
And/or improve and be, the dynamic back-off procedure specifically includes:
Judge whether the acquisition changing interface operation includes the response events for obtaining notification message, if it is, determining
Show first interface.
Notification message can show as diversified forms, may include, with the notification window that mode or nonmodal forms pop up,
Or in Android or iOS device, the notice, etc. pulled down in notification bar above screen can be.Notification message is usual
It is actively presented in a manner of flashing, pop-up, auditory tone cues etc., and usually can rapidly be oriented to certain scripts and need multi-pass operation
The interface that can be reached is oriented to first interface to Client-initiated rollback requests with this condition, simplifies user behaviour
Make, it is easy-to-use.
Embodiment 104: the present embodiment is preferred and/or improvement on the basis of embodiment 101, preferably and/or is improved
It is, the notification message is included in a hidden area, and can be triggered the notice after the hidden area is shown and be disappeared
The response events of breath.The hidden area is included in interface in the indirect visible component of indirect visible component or part
Indirect visible part, etc. can usually show the content that the hidden area includes by the operations such as pulling down, being unfolded.It is hidden
Content in the domain of Tibetan area may be directed toward originally need more operating procedures just to can achieve interface, with this condition, to
The rollback requests that family is initiated are oriented to first interface, have better played the effect for simplifying user's operation, convenient easy
With.
Embodiment 105: as shown in figure 3, the present embodiment is preferred and/or improvement on the basis of embodiment 101, preferably
And/or improve and be, before the acquisition changing interface operating procedure, it can also include the following steps:
First interface internal show rich text display component, rich text display component may include display webpage,
The component of text, audio-video frequency content.
Also, only when the display content of the rich text display component be it is read-only, just execute the dynamic back-off procedure,
Otherwise, the dynamic back-off procedure is not executed, can be retracted in a manner of system or application default.Since read-only rich text is shown
Component has greater probability to illustrate that user is carrying out the correlated activations such as content reading, with this condition, in such a way that dynamic retracts
It allows user after having handled other operations, rapidly returns to related interfaces and continue the activities such as content reading, be easy to guarantee to think
The continuity of dimension promotes the usage experience of user.
Embodiment 106: the present embodiment is preferred and/or improvement on the basis of embodiment 101, preferably and/or is improved
Be, only when first interface includes at least the component that operation was closed or exited in a visual execution, can be closing or
Exit button, menu option etc. just execute the dynamic back-off procedure, otherwise, do not execute the dynamic back-off procedure, can be with
It is retracted in a manner of system or application default.Include the visual component for executing closing or exiting operation, be equivalent to
The selection that user actively exits current interface is given, executes dynamic back-off procedure with this condition, it is easier to which it is uncommon that generation meets user
The operating result of prestige, it is user-friendly.
Embodiment 107: as shown in figure 4, the present embodiment is preferred on the basis of embodiment 101 ~ 106 is any and/or changes
Into, preferably and/or improvement is, further comprising the steps of before the acquisition rollback requests step:
The component for obtaining triggering rollback requests may include, for triggering button, the menu of rollback operation in interface, etc.
Deng.
The appearance of the component of the triggering rollback requests is set according to the triggering mode that the changing interface operates, can wrap
It includes, when the triggering mode of changing interface operation causes the confirmation in the dynamic back-off procedure to show first interface
When, it shows an arrow to the left or the letter and/or Chinese character for prompt, otherwise shows a upward arrow or for prompt
Letter and/or Chinese character, etc..This dynamic changes the mode of component facade, family can be used to operating result definitely, side
Just it uses.
Embodiment 108: the present embodiment is preferred and/or improvement on the basis of embodiment 105, preferably and/or is improved
It is, before the acquisition changing interface operating procedure, can also includes the following steps:
Record the display position of content in the rich text display component;Also, in the dynamic back-off procedure, if
It shows first interface, then the rich text is shown according to the display position of content in the rich text display component of record
Content in display component.The mode of record display position may include recording text content have been displayed line number, in audio-video
Hold played position, etc..When showing first interface again, content adjustment will be shown according to the display position of record
To consistent when leaving the interface with the last time.In this way, thinking when user can be helped quickly to return to original viewing related content
State promotes the usage experience of user.
Embodiment 109: as shown in figure 5, the present embodiment is preferred and/or improvement on the basis of embodiment 105, preferably
And/or improve and be, it can also include the following steps:
It executes and notices that force mode determines, also, the judgement determined according to the attention force mode is as a result, determine whether to execute
The dynamic back-off procedure.Wherein, notice that force mode judgement may include determining user in first interface residence time
Whether more than a time threshold, or determine whether user is greater than the speed of certain threshold value when first interface is stopped with some
Spend page turning or roll content, etc., if it is, executing the dynamic back-off procedure, the dynamic rollback step is not otherwise executed
Suddenly.
Embodiment 110: the present embodiment is preferred and/or improvement on the basis of embodiment 109, preferably and/or is improved
It is, the attention mode determining step specifically:
At the time of obtaining first interface and start display, current time is obtained, first interface is obtained and starts to show
At the time of between the current time, dip number that the rich text display component rolls.Dip refers to device
Independent pixels (equipment independent pixel) is exactly the high score screen into 480 parts, wide to be divided into 320 parts, for example does one
The horizontal line of 160dip, no matter you are the length of a half screen on 320 also 480 simulator.Benefit using dip is can
To be easily compatible with the different equipment of screen size.
It calculates between the current time at the time of first interface starts to show, the rich text display component rolls
Dynamic speed Vt, measurement unit are dip/min, are easy for calculating using the benefit of the measurement unit.
The number of words Cc for the content of text that the rich text display component is currently shown is obtained, attention intensity Ai=1 is calculated
/ (1+1/exp (1.0 (Cc/96000.0 Vt -1))), wherein e is natural logrithm, according to Ai≤0.5
It is whether true, provide the judgement of True or False as a result, also, before the acquisition rollback requests step, further include following
Step: if the judgement result for noticing that force mode determines is True, the dynamic back-off procedure is executed.It for example, can be with
It is, if the judgement result for noticing that force mode determines is True, the dynamic back-off procedure to be executed, otherwise, then to be
System and/or the default behavior of program retract, if alternatively, the judgement result for being also possible to the attention force mode judgement is
False also executes the dynamic back-off procedure, and the implementing result of the dynamic back-off procedure is not show first boundary at this time
Face for example shows upper level interface of the second contact surface, etc..Using the attention strength calculation method, can quickly have
Effect ground calculate judgement as a result, and guarantee a lesser error rate, so that it is guaranteed that more suitable opportunity execute dynamic time
More reasonable dynamic rollback implementing result is moved back or provided, the operating efficiency of user is promoted.
Embodiment 201: the present embodiment provides the specific embodiment in conjunction with common mobile phone terminal instant messaging application.It is common
Mobile phone terminal instant messaging application usually combine the functions such as web page browsing.The specific steps of the present embodiment may include:
According to user's operation, the interface of web page browsing is shown, it includes the group for showing html5 content which, which can be one,
The interface of part.
When the instant messaging application receives the message of other users, the drop-down usually above mobile device screen at this time
There is related prompt in notification bar.Usually there are two types of modes of operation under this condition, the first mode of operation is that user clicks the prompt,
The response that the prompt is so clicked by obtaining user jumps directly to display chat interface, facilitates user to check and reply it
The message of his user.Second of mode of operation is that user does not click directly on the prompt of drop-down notification bar, but closes or exit and work as
Preceding web page browsing interface is voluntarily clicking to enter corresponding chat interface.
After user completes the relevant operation in chat interface, needs to return back to aforementioned web page browsing interface, at this time may be used
In a manner of clicking the response message etc. of rollback key by obtaining user, the rollback requests of user are obtained.
After obtaining rollback requests, handled in such a way that dynamic retracts.If switched to by web page browsing interface before
The mode of operation of chat interface is the first aforementioned mode of operation, then directly returning back to web page browsing interface;If before by
The mode of operation that web page browsing interface switches to chat interface is aforementioned second of mode of operation, then it is not necessary to directly return back to net
Page browsing interface retracts by system/software default mode, or return back to the upper level interface of chat interface, usually should be i.e.
When communication applications start when default enter main interface.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or the terminal device that include a series of elements not only include those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or end
The intrinsic element of end equipment.In the absence of more restrictions, being limited by sentence " including ... " or " including ... "
Element, it is not excluded that there is also other elements in process, method, article or the terminal device for including the element.This
Outside, herein, " being greater than ", " being less than ", " being more than " etc. are interpreted as not including this number;" more than ", " following ", " within " etc. understand
Being includes this number.When for indicating measurement section, " X ~ Y ", " [X, Y] ", " between X to Y ", " X is between Y ", " X and Y it
Between ", the expressions such as " between X and Y " include left and right endpoint section, " (X, Y) " indicate do not include left and right endpoint section;" (X,
Y] ", " [X, Y) " respectively indicates does not include left end point but section including right endpoint, including left end point but do not include right endpoint
Section.
It should be understood by those skilled in the art that, the various embodiments described above can provide as method, apparatus, system or computer
Program product.Complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in these embodiments
The form of embodiment.The all or part of the steps in method that the various embodiments described above are related to can be instructed relevant by program
Hardware is completed, and the program can store in the storage medium that computer equipment can be read, for executing above-mentioned each reality
Apply all or part of the steps described in a method.The computer equipment, including but not limited to: personal computer, leads to server
With computer, special purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, smart home device,
Wearable intelligent equipment, vehicle intelligent equipment etc.;The storage medium, including but not limited to: RAM, ROM, magnetic disk, tape,
CD, flash memory, USB flash disk, mobile hard disk, storage card, memory stick, webserver storage, network cloud storage etc..
The various embodiments described above are referring to the method according to embodiment, equipment (system) and computer program product
Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram
The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers
Program instruction generates a machine to the processor of computer equipment, so that the finger executed by the processor of computer equipment
It enables and generates to specify in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of function.
These computer program instructions, which may also be stored in, to be able to guide computer equipment computer operate in a specific manner and sets
In standby readable memory, so that the instruction being stored in the computer equipment readable memory generates the manufacture including command device
Product, command device realization refer in one or more flows of the flowchart and/or one or more blocks of the block diagram
Fixed function.
These computer program instructions can also be loaded into computer equipment, so that executing on a computing device a series of
Operating procedure is to generate computer implemented processing, so that the instruction executed on a computing device is provided for realizing in process
The step of function of being specified in figure one process or multiple processes and/or block diagrams one box or multiple boxes.
Although the various embodiments described above are described, once a person skilled in the art knows basic wounds
The property made concept, then additional changes and modifications can be made to these embodiments, so the above description is only an embodiment of the present invention,
It is not intended to limit scope of patent protection of the invention, it is all to utilize equivalent structure made by description of the invention and accompanying drawing content
Or equivalent process transformation, being applied directly or indirectly in other relevant technical fields, similarly includes in patent of the invention
Within protection scope.