CN115174733A - Interface display method, device and equipment - Google Patents

Interface display method, device and equipment Download PDF

Info

Publication number
CN115174733A
CN115174733A CN202210688783.1A CN202210688783A CN115174733A CN 115174733 A CN115174733 A CN 115174733A CN 202210688783 A CN202210688783 A CN 202210688783A CN 115174733 A CN115174733 A CN 115174733A
Authority
CN
China
Prior art keywords
interface
view
user
target
display
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.)
Pending
Application number
CN202210688783.1A
Other languages
Chinese (zh)
Inventor
段竣耀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202210688783.1A priority Critical patent/CN115174733A/en
Publication of CN115174733A publication Critical patent/CN115174733A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Abstract

The embodiment of the application discloses an interface display method, device and equipment, wherein when a first interface is displayed on a display screen, calling information of a target collection interface in the first interface can be acquired by receiving collection operation of a user on a collection control in the first interface, the calling information is collected, when a second interface of a display control comprising the target collection interface is displayed on the display screen, the display operation of the user on the display control can be received as the display control is associated with the calling information of the target collection interface, and the target collection interface is displayed according to the calling information of the target collection interface associated with the display control. That is to say, the user can display the target collection interface again only by triggering the collection control of the first interface and the display control of the second interface, and does not need to perform repeated operation step by step according to a specific sequence, so that operation steps are saved, and the operation time of the user is saved.

Description

Interface display method, device and equipment
Technical Field
The present application relates to the field of mobile terminals, and in particular, to an interface display method, apparatus and device.
Background
Typically, a user interacts with a mobile terminal through an application installed on the mobile terminal. An application program usually generates a plurality of interfaces based on a plurality of operations of a user, and the user may jump between different interfaces during the application program usage process to realize the switching of different interfaces. When the user wants to see the concerned interface again, the user can only jump from other interfaces to the concerned interface according to the interface jump sequence specified by the application program, so that the concerned interface is displayed, and the problems of inconvenient operation and poor experience of the user are caused.
Disclosure of Invention
The embodiment of the application provides an interface display method, device and equipment, and is used for solving the problem of inconvenient operation of interface skipping in the prior art.
A first aspect of the present application provides an interface display method, which may be applied to a mobile terminal, and the method includes:
the mobile terminal displays a first interface, wherein the first interface comprises a target collection interface and a collection control, the target collection interface refers to an interface concerned by a user, the collection control refers to a control for receiving collection operation of the user, and the control can be arranged in the floating window. For example, a text pushing interface in the WeChat serves as a target collection interface, a first suspension window is arranged on the upper layer of the target collection interface, a collection control is arranged in the first suspension window, and the text pushing interface and the first suspension window containing the collection control form a first interface. The mobile terminal receives the collection operation of the user on the collection control, acquires the calling information of the target collection interface, and collects the calling information. The calling information of the target collection interface is information required for calling and displaying the target collection interface. And then, the mobile terminal displays a second interface, wherein the second interface comprises a display control of the target collection interface, the display control is associated with the calling information of the target collection interface, and when the display operation of the user on the display control is received, the mobile terminal can acquire the calling information of the target collection interface associated with the display control and display the target collection interface according to the calling information of the target collection interface.
Compared with the prior art, the target collection interface can be displayed again only by triggering the collection control of the first interface and the display control of the second interface by the user according to the embodiment of the application, step-by-step repeated operation is not needed according to a specific sequence, operation steps are saved, and accordingly operation time of the user is saved.
In some possible designs, the calling information of the target collection interface includes an active calling chain of an activity corresponding to the target collection interface, and the active calling chain is a calling chain of an activity required to be generated for displaying the target collection interface.
The embodiment of the application provides one implementation mode of the calling information of the target collection interface, namely an activity calling chain of an activity corresponding to the target collection interface, and the target collection interface can be rapidly displayed by calling the activity calling chain of the activity corresponding to the target collection interface.
In some possible designs, the interface display method further includes: if the first interface comprises a plurality of interfaces, determining a target collection interface from the plurality of interfaces.
When the first interface comprises a plurality of interfaces, the plurality of interfaces are not necessarily target collection interfaces which the user wants to collect, so that the target collection interfaces can be determined from the plurality of interfaces in the first interface, and collection of the target collection interfaces is achieved by obtaining call information of the target collection interfaces.
In some possible designs, determining the target collection interface from the plurality of interfaces includes: and if the plurality of interfaces comprise the preset interface, determining a target collection interface from the plurality of interfaces except the preset interface.
If the plurality of interfaces include preset interfaces, such as interfaces of a shortcut menu window, the preset interfaces are usually not target collection interfaces that the user needs to collect, so that the target collection interfaces can be determined from the plurality of interfaces except the preset interfaces by screening the preset interfaces, so that the collection of the target collection interfaces is realized by obtaining call information of the target collection interfaces.
In some possible designs, if the number of the interfaces other than the preset interface is multiple, for example, when two or more application program windows are displayed on the same screen, the determining the target collection interface from the interfaces other than the preset interface may include: and displaying interface selection controls corresponding to each interface except the preset interface, wherein the interface selection controls display the representative view of the corresponding interface and/or the name of the representative view of the corresponding interface. And receiving the selection operation of the user on the interface selection control, and determining the interface corresponding to the interface selection control selected by the user as a target collection interface.
By taking the interface corresponding to the interface selection control selected by the user in the plurality of interfaces except the preset interface as the target collection interface, the accuracy of determining the target collection interface can be improved, and the user experience is improved.
In some possible designs, the interface display method further includes: after receiving a collection operation of a user on a collection control, acquiring view parameters of a target view of a target collection interface, and displaying a display control of a second interface comprises the following steps: and displaying a display control of the second interface, wherein the display control comprises a representative view, the representative view is a view for embodying the content of the target view, and the representative view is obtained according to the view parameters of the target view.
In the embodiment of the application, the display control in the second interface may further include a representative view, the representative view is a view for embodying the content of the target view, and the target view is a view in the target collection interface, so that the representative view is a view capable of embodying the content of the target collection interface, and therefore a user can quickly know which target collection interface the display control corresponds to through the representative view displayed by the display control, and after the user triggers a certain display control, the mobile terminal can quickly display the target collection interface corresponding to the display control, thereby improving user experience. In addition, the action of acquiring the view parameter of the target view may be executed immediately after receiving the collection operation of the user on the collection control, may be executed when generating the instruction for displaying the second interface, or may be executed at any other time after receiving the collection operation of the user on the collection control and before displaying the second interface.
In some possible designs, the interface display method further comprises: and acquiring a plurality of candidate views corresponding to the target collection interface, and determining a target view from the candidate views.
In the embodiment of the application, the target view may be a view capable of embodying the content of the target collection interface, and when the target collection interface corresponds to a plurality of candidate views, not every candidate view can embody the content of the target collection interface, so that the target view capable of embodying the content of the target collection interface can be determined from the plurality of candidate views, so as to further obtain a representative view embodying the content of the target collection interface according to the target view, that is, so that the representative view can embody the content of the target collection interface.
Specifically, the target view can be determined from a plurality of candidate views in the following three ways.
The first mode is that a plurality of candidate views are grouped according to the display positions of the candidate views to obtain a plurality of groups of candidate views; and displaying view selection controls corresponding to each group of candidate views in the multiple groups of candidate views in a third interface, receiving selection operation of a user on the view selection controls, and determining the candidate view corresponding to the view selection control selected by the user as a target view.
The candidate views are grouped according to the display positions, and the candidate views which the user wants to select are obtained through the view selection control, so that the interaction experience of the user is improved.
The second way is to respectively acquire the attributes of a plurality of candidate views and determine a target view from the plurality of candidate views according to the attributes of the plurality of candidate views.
The attribute of the candidate view can be, for example, a video, a character, a picture and the like, and the attribute of the candidate view can reflect the degree of representing the target collection interface by the candidate view to a certain degree, so that the target view is determined according to the attribute of the candidate view, the content which the user wants to obtain can be obtained as accurately as possible on the premise of not needing user operation, and the use experience of the user is improved.
The third mode is that candidate views of a preset number of layers are selected from a view tree formed by a plurality of candidate views and determined as target views, and the preset number is a positive integer.
By selecting the candidate views of the front preset number of layers from the view tree, the main candidate views can be used as target views, so that the content which the user wants to obtain can be obtained as accurately as possible on the premise of not needing user operation, and the use experience of the user is improved.
It is of course understood that the above three ways do not constitute limitations to the technical solution of the present application, and those skilled in the art may also adopt other methods to determine the target view.
In some possible designs, generating the representative view from the view parameters includes: and reducing the view size in the view parameter by a preset scale to generate a representative view.
The representative view can be generated by reducing the size of the target view according to the view size, is a thumbnail of the target view, and can embody the characteristics of the target view, so that a user can obtain information of a target collection interface through the representative view, and the user experience is improved.
In some possible designs, obtaining view parameters for a target view of a target collection interface includes: acquiring updated view parameters of a target view of a target collection interface; the obtaining of the representative view according to the view parameters of the target view comprises: the representative view is obtained according to the updated view parameters of the target view.
As described above, the action of obtaining the view parameter of the target view may be performed immediately after receiving the collection operation of the user on the collection control, when the second interface is displayed, the view parameter of the target view may be updated, and if the update occurs, the representative view may be generated according to the updated target parameter of the target view, so that the content of the updated target view can be embodied by the representative view, and thus the user can see the representative view embodying the updated target collection interface, and user experience is improved.
In some possible designs, before displaying the presentation control of the second interface including the representative view, the interface display method further includes: if the application program corresponding to the target collection interface is in a closed state, starting the application program according to the calling information background of the target collection interface; the acquiring of the view parameters of the target view of the target collection interface comprises the following steps: and acquiring view parameters of a target view of the target collection interface from the application program started in the background.
In some possible designs, before displaying the presentation control of the second interface including the representative view, the interface display method further includes: and if the application program corresponding to the target collection interface is in an activated state, background running the application program according to the calling information of the target collection interface, and acquiring view parameters of the target view of the target collection interface in the process of running the application program in the background.
As described above, the action of obtaining the view parameter of the target view may be performed when the instruction for displaying the second interface is generated, so as to ensure that the target view embodies the content of the latest version of the target collection interface, that is, ensure that the representative view is generated in real time. When the view parameters of the target view of the latest version are obtained, if the application program corresponding to the target collection interface is in a closed state, the application program is started in the background according to the calling information of the target collection interface, the view parameters of the target view of the target collection interface are obtained from the application program started in the background, the generated interface before the application program is started to jump to the target collection interface and the target collection interface are ensured not to be seen by a user, the user only sees a second interface displaying the display control of the latest version of the representative view, and the user experience is improved. When the view parameters of the target view of the latest version are obtained, if the application program corresponding to the target collection interface is in the activated state, the application program is operated in the background according to the calling information of the target collection interface, and the view parameters of the target view of the target collection interface are obtained in the process of operating the application program in the background, so that the process that the application program opens the target collection interface is not seen by a user, and the user experience is improved.
In some possible designs, the interface display method further comprises: in the process of starting an application program in a background, adding an additional restart mark to the activity corresponding to a target collection interface; displaying a target collection interface includes: if the identifier of the activity corresponding to the target collection interface exists in the activity thread and an additional restart mark is added to the activity, destroying the activity, restarting the application program corresponding to the activity and displaying the target collection interface according to the calling information of the target collection interface.
When the application program corresponding to the target collection interface is started for obtaining the view parameters of the target view, an additional restart mark can be added to the activity corresponding to the target collection interface so as to distinguish whether the starting is the background starting for obtaining the view parameters of the target view or the starting caused by triggering the display control by the user, so that different processing can be performed according to different starting modes. If the identifier of the activity exists in the activity thread and the activity is added with an additional restart mark, it is indicated that the activity is started in the background for the view parameter of the target view by the mobile terminal, for the activity started in the background, after receiving the display operation of the display control by the user, the activity started in the background is firstly destroyed, then the application program is restarted, and the target collection interface is displayed on the display screen, so as to realize the quick display of the interface. It should be noted that the process of restarting the application may be displayed on the display screen, or may not be displayed, and the target collection interface is directly displayed.
In some possible designs, the presentation control further includes a display control in which a view name representing the view is displayed; the method further comprises the following steps: and receiving the display operation of the user on the display control, and displaying the representative view in the display control.
In the embodiment of the application, the display control may include a display control for displaying the name of the target view, and because the display control occupies a smaller space on the display screen, when there are a plurality of display controls, more display controls may be displayed on the display screen. When a user wants to watch a representative view in a certain display control, the mobile terminal can display the representative view in the display control by receiving the display operation of the user on the display control in the display, so that the user experience is improved.
In some possible designs, the interface display method further includes: and receiving the deletion operation of the user on the display control, and deleting the display control.
When the target collection interface does not need to be displayed quickly, the display control corresponding to the target collection interface can be deleted, so that the display space is saved, and the user experience is improved.
In some possible designs, the interface display method further includes: after the deletion operation of the user on the display control is received, if an additional restart mark is added to the activity corresponding to the target collection interface, the activity is destroyed.
When the deletion operation of the user on the display control is received, if the extra restart mark is added to the activity corresponding to the target collection interface, the application program corresponding to the target collection interface is started by the mobile terminal in the background, so that the activity with the extra restart mark can be destroyed, unnecessary application programs running in the background are reduced, and the system load is reduced.
In some possible designs, the interface display method further comprises: the method comprises the steps of receiving a first touch screen operation and a second touch screen operation which are triggered by a user on a target collection interface in sequence, and displaying a collection control on a first interface if the first touch screen operation and the second touch screen operation meet preset conditions.
By judging whether the two touch screen operations of the user meet the preset condition or not, misoperation can be prevented, user experience is improved, and when the touch screen operations meet the preset condition, the first floating window of the collection control can be displayed so as to receive the collection operation of the user on the collection control.
In some possible designs, the preset condition includes at least one of: the first touch screen operation meets a first preset touch screen condition, the second touch screen operation meets a second preset touch screen condition, and the interval time between the first touch screen operation and the second touch screen operation meets a preset time condition.
The preset condition can reflect the condition that the user wants to display the collection control, the collection control can be displayed by receiving two touch screen operations of the user meeting the preset condition, the user is prevented from displaying the collection control due to mistaken touch, and the user experience is improved.
In some possible designs, the first touch screen operation is a first sliding operation, the first sliding operation includes a first contact point and a second contact point, the first contact point is a starting point of the first sliding operation, the second contact point is an end point of the first sliding operation, and coordinates of the first contact point are different from coordinates of the second contact point; the first preset touch screen condition includes: the difference between the abscissas of the first contact and the second contact satisfies a first distance condition; and/or the difference in ordinate between the first contact and the second contact satisfies a second distance condition; and/or, there is and at least one touch point on the display at any time during the process from the generation of the first touch point to the generation of the second touch point.
In some possible designs, the second touch screen operation is a second sliding operation, the second sliding operation includes a third contact point and a fourth contact point, the third contact point is a starting point of the first sliding operation, the fourth contact point is an end point of the second sliding operation, and coordinates of the third contact point are different from coordinates of the fourth contact point; the second preset touch screen condition includes: the difference of the abscissas between the third contact and the fourth contact meets a third distance condition; and/or a difference between the ordinate of the third contact and the ordinate of the fourth contact satisfies a fourth distance condition; and/or, there is one and only one contact on the display screen at any time during the performance of the second sliding operation.
By limiting the first touch screen operation and the second touch screen operation, the first preset touch screen condition and the second preset touch screen condition, the touch screen operation of the user can be specifically analyzed, so that the collection control is displayed according to the touch screen operation which is triggered by the user and meets the preset conditions, the collection operation of the user on the collection control is received conveniently, and the interaction experience of the user is improved.
In some possible designs, the interface display method further includes: and receiving a first touch screen operation triggered on the target collection interface by a user, and displaying a second floating window.
The second floating window can be used for prompting a user that the first touch screen operation is effective, after the user sees the second floating window, the user can decide whether to continue to execute the second touch screen operation, and if the second touch screen operation triggered by the user is received by the mobile terminal and the first touch screen operation and the second touch screen operation meet the preset conditions, the collection control is displayed, and user experience is improved.
A second aspect of the present application provides an interface display apparatus, including:
the first display unit is used for displaying a first interface, and the first interface comprises a target collection interface and a collection control;
the collection unit is used for receiving collection operation of a user on the collection control, acquiring calling information of a target collection interface and collecting the calling information;
the second display unit is used for displaying a second interface, the second interface comprises a display control of the target collection interface, and the display control is associated with the calling information of the target collection interface;
and the third display unit is used for receiving the display operation of the user on the display control, acquiring the calling information of the target collection interface and displaying the target collection interface according to the calling information of the target collection interface.
In some possible designs, the calling information of the target collection interface includes an active calling chain of an activity corresponding to the target collection interface, and the active calling chain is a calling chain of an activity required to be generated for displaying the target collection interface.
In some possible designs, the interface display device further includes: and the activity determining unit is used for acquiring a plurality of activities corresponding to the first interface and determining one of the activities as the activity corresponding to the target collection interface from the plurality of activities corresponding to the first interface.
In some possible designs, the interface display device further includes:
the view parameter acquiring unit is used for acquiring view parameters of a target view of a target collection interface after receiving collection operation of a user on a collection control;
and the display control display unit is used for displaying a display control comprising a representative view of the second interface, the representative view is a view for embodying the content of the target view, and the representative view is obtained according to the view parameters of the target view.
In some possible designs, the interface display device further includes: and the target view determining unit is used for acquiring a plurality of candidate views corresponding to the target collection interface and determining the target view from the candidate views.
In some possible designs, the target view determination unit includes:
the grouping unit is used for acquiring a plurality of candidate views corresponding to the target collection interface, and grouping the candidate views according to the display positions of the candidate views to obtain a plurality of groups of candidate views;
the view selection control display unit is used for displaying view selection controls corresponding to each group of candidate views in the multiple groups of candidate views in a third interface;
and the target view determining subunit is used for receiving the selection operation of the user on the view selection control and determining the candidate view corresponding to the view selection control selected by the user as the target view.
In some possible designs, the target view determination unit is specifically configured to:
the method comprises the steps of obtaining a plurality of candidate views corresponding to a target collection interface, obtaining attributes of the candidate views respectively, and determining a target view from the candidate views according to the attributes of the candidate views.
In some possible designs, the target view determination unit is specifically configured to:
the method comprises the steps of obtaining a plurality of candidate views corresponding to a target collection interface, selecting candidate views of a front preset number layer from a view tree formed by the candidate views, and determining the candidate views as target views, wherein the preset number is a positive integer.
In some possible designs, the view parameter acquiring unit is further configured to acquire updated view parameters of the target view of the target collection interface after receiving a collection operation of a user on the collection control;
and the display control display unit is also used for displaying a display control comprising a representative view of the second interface, the representative view is a view for embodying the content of the target view, and the representative view is obtained according to the updated view parameters of the target view.
In some possible designs, the interface display device further includes:
the background starting application program unit is used for starting the application program in a background if the application program corresponding to the target collection interface is in a closed state;
the view parameter acquiring unit is further used for acquiring view parameters of a target view of the target collection interface from the application program started in the background after receiving the collection operation of the user on the collection control.
In some possible designs, the presentation control further includes a display control in which a view name representing the view is displayed; the interface display device further includes:
and the representative view display unit is used for receiving the display operation of the user on the display control and displaying the representative view in the display control.
In some possible designs, the interface display device further includes:
the collection control display unit is used for acquiring a first touch screen operation and a second touch screen operation which are triggered by a user on a target collection interface in sequence, and displaying the collection control on the first interface if the first touch screen operation and the second touch screen operation meet preset conditions.
In some possible designs, the preset condition includes at least one of: the first touch screen operation meets a first preset touch screen condition, the second touch screen operation meets a second preset touch screen condition, and the interval time between the first touch screen operation and the second touch screen operation meets a preset time condition.
In some possible designs, the first touch screen operation is a first sliding operation, the first sliding operation includes a first contact point and a second contact point, the first contact point is a starting point of the first sliding operation, the second contact point is an end point of the first sliding operation, and coordinates of the first contact point are different from coordinates of the second contact point;
the first preset touch screen condition includes:
the difference between the abscissas of the first contact and the second contact meets a first distance condition; and/or the presence of a gas in the gas,
the difference of the ordinate between the first contact and the second contact satisfies a second distance condition; and/or the presence of a gas in the gas,
there is and at least one touch point on the display at any time during the process from the generation of the first touch point to the generation of the second touch point.
In some possible designs, the second touch screen operation is a second sliding operation, the second sliding operation includes a third contact point and a fourth contact point, the third contact point is a starting point of the second sliding operation, the fourth contact point is an end point of the second sliding operation, and coordinates of the third contact point are different from coordinates of the fourth contact point;
the second preset touch screen condition includes:
the difference of the abscissas between the third contact and the fourth contact meets a third distance condition; and/or the presence of a gas in the gas,
the difference of the vertical coordinates between the third contact and the fourth contact meets a fourth distance condition; and/or the presence of a gas in the gas,
during the execution of the second sliding operation, there is one and only one contact on the display screen at any time.
In some possible designs, the interface display device further includes:
and the display control deleting unit is used for receiving the deleting operation of the user on the display control and deleting the display control.
Yet another aspect of the present application provides an interface jump apparatus, including: a processor and a memory;
a memory to store instructions; a processor for executing instructions in memory to perform the methods of the above aspects.
Yet another aspect of the present application provides a computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of the above-described aspects.
Yet another aspect of the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above-described aspects.
Compared with the prior art, according to the interface display method, the interface display device and the interface display equipment provided by the embodiment of the application, when the first interface is displayed on the display screen, the calling information of the target collection interface in the first interface can be acquired by receiving the collection operation of the user on the collection control in the first interface, and the calling information is collected, when the second interface of the display control comprising the target collection interface is displayed on the display screen, the display operation of the user on the display control can be received because the display control is associated with the calling information of the target collection interface, and the target collection interface is displayed according to the calling information of the target collection interface associated with the display control. That is to say, the user can display the target collection interface again only by triggering the collection control of the first interface and the display control of the second interface, and does not need to perform repeated operation step by step according to a specific sequence, so that the operation steps are saved, and the operation time of the user is saved.
Drawings
FIG. 1 is a schematic illustration of an interface in an embodiment of the present application;
fig. 2 is a flowchart of an interface display method according to an embodiment of the present disclosure;
FIG. 3 is a schematic view of a floating window according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a touch screen operation in an embodiment of the present application;
FIG. 5 is a schematic display diagram illustrating a response to a touch screen operation in an embodiment of the present application;
FIG. 6 is a display diagram of a duplicate view in an embodiment of the present application;
FIG. 7 is a schematic view of an updated target collection interface in an embodiment of the present application;
FIG. 8 is a diagram illustrating an update of a duplicate view in an embodiment of the present application;
FIG. 9 is a schematic diagram of an operating system in an embodiment of the present application;
FIG. 10 is a schematic diagram of activity generation in an embodiment of the present application;
FIG. 11 is a flowchart of another interface display method provided in the embodiments of the present application;
FIG. 12 is an interaction diagram illustrating a first floating window process in an embodiment of the present application;
FIG. 13 is an interaction diagram of a first activity determination process in an embodiment of the present application;
FIG. 14 is a diagram illustrating an update process of a duplicate view in an embodiment of the present application;
FIG. 15 is an interaction diagram of an update process of a duplicate view in an embodiment of the present application;
FIG. 16 is an interaction diagram of an update process of another copy view in an embodiment of the present application;
FIG. 17 is an interaction diagram illustrating a process for presenting a target collection interface in an embodiment of the application;
FIG. 18 is an interaction diagram of a process for deleting duplicate views in an embodiment of the application;
FIG. 19 is a schematic structural diagram of an interface display apparatus according to an embodiment of the present application;
fig. 20 is a schematic structural diagram of an apparatus for executing the interface display method in the embodiment of the present application.
Detailed Description
The embodiment of the application provides an interface display method and device, which are used for rapidly displaying a target collection interface without spending long time to repeatedly jump, and improving user experience.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
At present, the interface display mode can only realize the display of the concerned interface by skipping from other interfaces to the concerned interface through the specific interface skipping sequence specified by the application program. For example, as shown in fig. 1 (e), for the text pushing interface 100 in the wechat (an instant messaging application) public number, the opening sequence can refer to fig. 1 (a), fig. 1 (b), fig. 1 (c) and fig. 1 (d), wherein the dotted line part is the area that the interface needs to be clicked for jumping, specifically: "WeChat" 101 in the home interface 110-subscription number "102 in the WeChat chat interface 120-daily bean" 103 in the subscription number interface 130-tweet profile "ZhouJenlen in the tweet List interface 140, I will not remember you often, but never forget" 104. Assuming that the tweet interface 100 is the interface of interest to the user, there may be inconvenience in operation regardless of whether the other interfaces (i.e., interfaces 110, 120, 130, and 140) are adjacent to the interface of interest to the user. The following description will be made according to the case where other interfaces are adjacent to the interface concerned by the user.
When the other interfaces are not adjacent to the interface concerned by the user, the user needs to realize the skipping of the interface through multiple skipping operations so as to display the concerned interface. For example, when the user opens the text pushing interface 100 shown in fig. 1 (e), the user returns to view the WeChat message, and the displayed interface is the WeChat chat interface 120, as shown in fig. 1 (b). If a user wants to open the original text pushing interface 100, the user needs to click on the "subscription number" 102 in the WeChat chat interface 120, the "bean per day" 103 in the subscription number interface 130, and the text pushing profile "Zhou Jien" in the text pushing list interface 140, i will not remember you often, but never forget "104, at this time, the number of operation steps required for displaying the interface is large, the user needs to memorize different operation steps, and spend much time and energy, if the user does not remember which public number the original text pushing interface 100 is, the user is likely to be unable to find the article, that is, unable to open the text pushing interface 100 successfully, resulting in poor user experience. For another example, after the user exits the WeChat and opens another application, for example, after opening a microblog (an application for instantly sharing a short real-time message), if the user wants to open the text pushing interface 100 of FIG. 1 (e) in the WeChat public number, the WeChat needs to be opened first, and then the user needs to repeatedly jump according to the opening sequence, which also needs to spend much time and effort.
When the other interfaces are adjacent to the interface concerned by the user, the user can realize the skipping of the interface by only one-time skipping operation, but the skipping efficiency is low. For example, the user opens the tweet list interface 140 shown in fig. 1 (d), which presents a plurality of tweets, each arranged in chronological order. When the number of the phrases is large, the user wants to open the phrase interface 100 shown in fig. 1 (e), and may select one of the phrases to be viewed from the plurality of messages to open, and if the date of the phrase that the user wants to view is earlier, much time and effort are required to find the phrase in a plurality of historical phrases, and it is not easy to quickly locate the previous phrase, which results in poor user experience.
In order to solve the above problem, an embodiment of the present application provides an interface display method and an interface display apparatus, where the method is applied to a mobile terminal, and the mobile terminal includes but is not limited to a mobile phone, a tablet computer, and the like. According to the interface display method provided by the embodiment of the application, the collection operation of the user in the first interface is received, the calling information of the target collection interface in the first interface is obtained, the calling information is collected, when the second interface is displayed on the display screen, if the user needs to display the target collection interface, the display control in the second interface can be displayed regardless of whether the second interface is other interfaces of the application program corresponding to the target collection interface or interfaces of other application programs different from the application program corresponding to the target collection interface, the target collection interface is directly displayed according to the calling information of the target collection interface associated with the display control, and the user does not need to perform repeated operation step by step according to a specific sequence, so that the display of the target collection interface is rapidly realized, the operation is simple and rapid, and the user experience is good.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating a step of an interface display method at a mobile terminal side according to an embodiment of the present application. The following specifically illustrates an interface display method provided in the embodiments of the present application.
S201, displaying a first interface, wherein the first interface comprises a target collection interface and a collection control.
The target collection interface refers to an interface focused on by the user, and can be an interface in an application program, such as a tweet interface 100, a WeChat chat interface 120, a subscription number interface 130, a tweet list interface 140, and the like. In this embodiment, the target collection interface is taken as the text pushing interface 100 as an example.
In a conventional manner, a user wants to jump from another interface to a target collection interface to display the target collection interface, which is usually realized by performing one or more interface jump operations.
The collection control is a control capable of receiving collection operation of a user, and can be a physical key or a virtual key. The collection control can be arranged in a suspension window of the first interface, the display position of the suspension window can be a preset position on the display screen, for example, the display screen can be arranged on the left side of the display screen, the display screen can be arranged on the right side of the display screen, the suspension window can be arranged above or below the display screen, the shape and the size of the suspension window can be any, the suspension window can cover the whole display screen, the suspension window can be smaller than the display screen, the suspension window can have a certain transparency, and the suspension window can completely shield a target collection interface. Referring to fig. 3 (a), "add +"301 may be provided as a favorite control in the first floating window 310 (see the gray floating window region).
Alternatively, the favorites control may be displayed in response to user manipulation. When the currently displayed interface is the target collection interface, the first floating window 310 provided with the collection control may be displayed in response to a user operation. That is, the first interface includes a target stowage interface and a first floating window 310 provided with stowage controls.
In order to avoid misoperation, the collection control can be displayed in a mode that the user performs two touch screen operations on the target collection interface. The method comprises the steps that a mobile terminal obtains a first touch screen operation and a second touch screen operation which are triggered by a user on a target collection interface in sequence, the two touch screen operations are judged, and if the first touch screen operation and the second touch screen operation meet preset conditions, a collection control is displayed on a first interface. And if the collection control is arranged in the first floating window 310, responding to a first touch screen operation and a second touch screen operation which are triggered by a user and meet a preset condition, and displaying the first floating window 310 with the collection control.
The preset conditions may be one or more of the following conditions: the method comprises the steps that a first touch screen operation meets a first preset touch screen condition, a second touch screen operation meets a second preset touch screen condition, the interval time between the first touch screen operation and the second touch screen operation meets a preset time condition and the like.
As a possible implementation manner, the first touch screen operation may be a first sliding operation, and the first sliding operation includes a first contact point and a second contact point. The first contact point is a starting point of the first sliding operation, the second contact point is an end point of the first sliding operation, and the coordinate of the first contact point is different from the coordinate of the second contact point. At this time, the first preset touch screen condition may include one or more of the following conditions: the difference of the abscissa between the first contact point and the second contact point meets a first distance condition, the difference of the ordinate between the first contact point and the second contact point meets a second distance condition, and in the process from the generation of the first contact point to the generation of the second contact point, at least one contact point is arranged on the display screen at any time.
In the process from the generation of the first touch point to the generation of the second touch point, if at least one touch point exists on the display screen at any time, the first touch screen operation is indicated as a first sliding operation. If there is one and only one touch point on the display screen at any time, the first sliding operation is a one-finger sliding operation. If there are and there are a plurality of contacts on the display screen at any moment, then the first sliding operation is a multi-finger sliding operation. In practical applications, the first sliding operation may be a continuous sliding operation having a preset shape, such as sliding along a triangle, a zigzag, or a circle, as shown in fig. 4 (a), 4 (b), and 4 (c).
If the difference in the ordinate between the first contact point and the second contact point is greater than or equal to a first distance (e.g., 2 cm), i.e., the first distance condition is satisfied, the first sliding operation is regarded as the longitudinal sliding operation. If, at the same time, the difference between the abscissas of the first contact point and the second contact point is less than or equal to a second distance (e.g., 0.5 cm), i.e., the second distance condition is satisfied, the first sliding operation is regarded as the vertical sliding operation. If the condition that only one touch point exists on the display screen at any time in the process of executing the first sliding operation is combined, the first sliding operation can be regarded as the one-finger vertical sliding operation.
If the difference in the abscissa between the first contact point and the second contact point is greater than or equal to a first distance (e.g., 2 cm), i.e., the first distance condition is satisfied, the first sliding operation is regarded as the lateral sliding operation. If, at the same time, the difference in the ordinate between the first contact point and the second contact point is less than or equal to the second distance (e.g., 0.5 cm), i.e., the second distance condition is satisfied, the first sliding operation is considered to be a horizontal sliding operation. If the condition that there is one and only one touch point on the display screen at any time is combined in the process of executing the first sliding operation, the first sliding operation can be regarded as a single-finger horizontal sliding operation.
Of course, the sliding direction of the first sliding operation may be specified in addition to the above conditions. That is, if the first sliding operation is a vertical sliding operation, it may be further specified that the ordinate of the first contact is smaller than the ordinate of the second contact, or that the ordinate of the first contact is larger than the ordinate of the second contact. Alternatively, if the second sliding operation is a lateral sliding operation, it may be further specified that the abscissa of the first contact point is smaller than the abscissa of the second contact point, or the abscissa of the first contact point is larger than the abscissa of the second contact point.
Similarly, the second touch screen operation may be a second sliding operation, the second sliding operation includes a third contact point and a fourth contact point, the third contact point is a starting point of the second sliding operation, the fourth contact point is an end point of the second sliding operation, and coordinates of the third contact point are different from coordinates of the fourth contact point. At this time, the second preset touch screen condition may include one or more of the following conditions: the difference of the abscissa between the third contact and the fourth contact meets a third distance condition, the difference of the ordinate between the third contact and the fourth contact meets a fourth distance condition, and at least one contact is arranged on the display screen at any time in the process from the generation of the third contact to the generation of the fourth contact. The third and fourth distance conditions may be analogous to the first and second distance conditions, see above for the relevant examples. The third and fourth distances may be numerically the same as or different from the first and second distances.
In addition, if the interval time between the first touch screen operation and the second touch screen operation meets the preset time condition, the first touch screen operation and the second touch screen operation are considered to meet the preset condition, and then the favorite control can be displayed. The preset time condition may be that the time interval between the first touch screen operation and the second touch screen operation is less than or equal to a first threshold. The first threshold value should be a short time, for example within 1s, that is, when the interval between the first touch screen operation and the second touch screen operation is short, the two touch screen operations are considered to be the instruction for triggering the same instruction, that is, displaying the favorite control.
In this embodiment, the user may also be prompted that the touch screen operation is valid, for example, the second floating window 1710 may be displayed when the first touch screen operation meets the first preset touch screen condition, as shown in fig. 5 (b). Wherein the size of the second floating window 1701 may be smaller than the size of the first floating window 310. If the second touch screen operation by the user is not acquired within the preset time period, the display of the second floating window 1701 may be cancelled. If the second touch screen operation of the user is acquired within the preset time, the first floating window 310 provided with the collection control is displayed, so that the user can have visual interactive feeling, and the user experience is improved. In the latter case, the second floating window 1701 may not be displayed, and the implementation of the embodiment of the present application may not be affected.
In the embodiment of the present application, the first touch screen operation and the second touch screen operation may be the same operation or different operations, for example, the first touch screen operation and the second touch screen operation may both be a horizontal sliding operation, as shown in fig. 5 (a), in the tweet interface 100, a sliding operation from left to right is taken as the first touch screen operation, and in response to the first touch screen operation, a smaller second floating window 1701 appears on the left side of the interface, as shown in fig. 5 (b). Sliding from left to right again is taken as a second touch screen operation, as shown in fig. 5 (c), in response to which a first floating window 310 provided with a favorite control "add +"301 appears on the left side of the interface, as shown with reference to fig. 3 (a). The tweet interface 100 as the target collection interface and the floating window 310 constitute a first interface.
S202, receiving collection operation of a user on the collection control, obtaining calling information of a target collection interface, and collecting the calling information.
The user's collection operation of the collection control can be realized by clicking the collection control on the first interface. In this embodiment, the mobile terminal may receive a collection operation of a user on the collection control, acquire call information of the target collection interface, and collect the call information.
The call information of the target collection interface refers to a path that can open the target collection interface, and may be, for example, an Activity call chain of an Activity (Activity) corresponding to the target collection interface, where the Activity call chain is a call chain of an Activity that needs to be generated to display the target collection interface.
In practical applications, the first interface may include a plurality of interfaces, which are not necessarily all target collection interfaces that the user wants to collect. Therefore, when multiple interfaces are included in the first interface, a target collection interface may be determined from the multiple interfaces.
For example, in addition to the target collection interface, the first interface may further include other interfaces for assisting the user with using the application program window, that is, preset interfaces, which may not be the target collection interface with a high probability, so that the preset interfaces may be excluded when determining the target collection interface, that is, the target collection interface may be determined from among the interfaces of the first interface except the preset interfaces.
For example, the target collection interface that the user wants to collect is the text pushing interface 100, and the preset interface may include a shortcut menu interface, such as an interface corresponding to a 360-speed acceleration ball; alternatively, the preset interface may be an interface that includes a favorite control, such as the first floating window 310.
In a general display method, the number of interfaces except for the preset interface in the first interface is only one, because in most cases, only one application program window is a main window, for example, fig. 1 (e), and the main window is a WeChat window, the interface except for the preset interface displayed on the display screen, that is, the text pushing interface 100, can be directly acquired as the target collection interface.
If a plurality of interfaces except the preset interface are arranged in the first interface, the user can select which interface is specifically selected as the target collection interface. For example, two or more application windows are displayed on the same screen in the first interface, for example, the upper half of the display screen displays a window for displaying WeChat and the lower half displays a window for displaying microblog, and the interfaces of the two applications may be target collection interfaces that the user wants to select. At this time, the mobile terminal may respectively obtain the representative views or the names of the representative views of the multiple interfaces except for the preset interface, the obtaining manner of the representative views may refer to the obtaining manner in S203, an interface selection control is generated for each interface, and the representative view and/or the name of the representative view of the corresponding interface are/is displayed in the interface selection control. The mobile terminal receives the selection operation of the user on the plurality of interface selection controls, and determines the interface corresponding to the interface selection control selected by the user as a target collection interface.
For example, referring to fig. 3 (b), three interfaces except for the preset interface are included in the first interface, the collection operation of the user on the collection control is received, a third floating window 320 including a view selection control is displayed on the display screen, and in the third floating window 320, the view names corresponding to three candidate interfaces except for the preset interface are: the "VIEW1 name" 321, "VIEW2 name" 322, "VIEW3 name" 323 (see within the dashed box), which may be displayed as text labels, have a VIEW selection control of "+"324 (see within the dashed box) formed to the right of the VIEW name "VIEW1 name" 321 for user selection. If it is detected that the user clicks the VIEW selection control "+"324 on the right side of the "VIEW1 name" 321, the user may be considered to select the interface corresponding to the VIEW1, and the interface corresponding to the VIEW1 is correspondingly taken as the target collection interface by the mobile terminal.
In addition, in practical application, after the mobile terminal receives the collection operation of the collection control by the user, acquires the calling information of the target collection interface according to the collection operation and collects the calling information, the collection process is completed, and the floating window containing the collection control can be hidden. The corresponding hiding instruction can be generated according to a click event of a user in a preset area of the display screen, and can also be generated according to a sliding event of the user in the preset area of the display screen, wherein the preset area can be an area which is not covered by the suspended window in the display screen. Taking the favorite control "add +"301 in the first floating window 310 as an example, as shown in fig. 3 (a), clicking an area outside the first floating window 310 and within the text pushing interface 100 can hide the first floating window 310, that is, can hide the favorite control "add +"301 in the first floating window 310 at the same time.
And S203, displaying a second interface, wherein the second interface comprises a display control of the target collection interface.
And in the second interface, a display control of the target collection interface is included, the display control refers to a control capable of receiving display operation of a user, and the display control is associated with the calling information of the target collection interface. After the user triggers the display control, the mobile terminal can display the target collection interface according to the calling information of the target collection interface corresponding to the display control. Similar to the collection control, the display control may be a physical button or a virtual button, and the display control may be disposed in the floating window, for example, the first floating window 310 or other floating windows.
Optionally, the display control may be displayed by responding to a user operation, and when the second interface includes an application program interface, the first floating window 310 provided with the display control may be displayed by responding to an operation of the user on the application program interface, and a type of the operation of the user on the application program interface may refer to an operation type required for displaying the first floating window 310 provided with the collection control in S201.
That is, the second interface includes an application interface and a first floating window 310 provided with a presentation control. The application program interface may be other interfaces of the application program corresponding to the target collection interface, may also be interfaces of other application programs different from the application program corresponding to the target collection interface, and may also be the target collection interface itself.
When the display control of the target collection interface is a virtual key, the display control can be a blank virtual key or a virtual key comprising a representative view, wherein the representative view can embody the content of the target collection interface.
The representative view may be a view formed from all or a portion of the views in the target collection interface. Specifically, all or part of the views in the target collection interface can be selected as target views, and then a representative view is generated according to the selected target views, wherein the representative view can be a combination of the target views or a thumbnail of the combination view of the target views.
In the embodiment of the application, the target view is a view capable of representing the content of the target collection interface, and when the target collection interface corresponds to a plurality of candidate views, not each candidate view can represent the content of the target collection interface, so that the plurality of candidate views corresponding to the target collection interface can be obtained, and the target view can be determined from the plurality of candidate views.
As a possible implementation manner, the candidate views may be grouped according to display positions of the candidate views in the screen, so as to obtain multiple groups of candidate views. And displaying view selection controls corresponding to each group of candidate views in the multiple groups of candidate views in a third interface, receiving selection operation of a user on the view selection controls, and determining the candidate view corresponding to the view selection control selected by the user as a target view. For example, the candidate views may be divided into two groups, one group located in the upper half of the screen and the other group located in the lower half of the screen according to the positions of the candidate views in the screen. Each set of candidate views corresponds to one view selection control, e.g., a set of candidate views in the top half of the screen corresponds to a first view selection control and a set of candidate views in the bottom half of the screen corresponds to a second view selection control. If the user clicks on the first view selection control, a set of candidate views in the top half are taken as the target views.
As another possible implementation manner, the attributes of the multiple candidate views may be obtained respectively, and the target view may be determined from the multiple candidate views according to the attributes of the multiple candidate views. For example, the candidate views may include candidate views with different attributes such as characters, pictures, videos, audios, and the like, and since the attribute of the candidate view reflects the degree that the representative candidate view represents the target collection interface to a certain extent, the candidate views may be grouped according to the different attributes of the candidate view, and the content that the user wants to obtain is obtained as accurately as possible without user operation. For example, the user may select candidate views of pictures and text as the target view. Of course, the above grouping does not constitute a limitation of the present application, and those skilled in the art can design the present invention according to specific situations. The candidate views may be grouped, for example, according to web page title, body, or other information (e.g., advertisements) in the page.
In practical application, the selection result of the user on the target view can be obtained through artificial intelligence, and the preference of the user is analyzed, so that the target view is recommended to the user or a proper target view is automatically selected for the user. For an article, for example, a user may typically select a view corresponding to a title as a target view; for video websites, the user will typically select the video itself as the target view.
As another possible implementation manner, the multiple candidate views may not be in a parallel relationship, for example, a view tree may be formed, where the view tree may include multiple layers, and the first layer is a root view, the second layer is a 2-level sub-view, and so on. It will be appreciated that the fewer the number of layers, the fewer the number of candidate views contained; the larger the number of layers, the larger the number of candidate views contained. At this time, candidate views of a preset number of layers before can be selected from the view tree and determined as target views, where the preset number is a positive integer, so that the main candidate views can be used as the target views, and the content that the user wants to acquire can be acquired as accurately as possible without user operation.
In practical applications, the user may determine a specific number of layers in order to improve the user experience. In order to facilitate the user determination, candidate views of a preset number of layers determined by the user may be displayed to the user, and if the user feels that the candidate views of the preset number of layers determined by the user are insufficient to express the content displayed by the target collection interface or the number of views of the target view is too large, the number of layers of the candidate views displayed may be adjusted by a slider displayed on the interface, so as to determine the depth of the displayed view tree.
After the target-removing view is selected, the representative view can be formed according to the target view, and the representative view is obtained according to the target view and can embody the content of the target view, and the target view is the view in the target collection interface, so that the representative view can embody the content of the target collection interface.
After the representative view capable of embodying the content of the target collection interface is obtained, the representative view can be displayed in a display control of the target collection interface.
For example, the plurality of presentation controls may be displayed in a list on the display screen, and the display position thereof may be in the first floating window 310. As shown in fig. 6 (a), the view "zhou jeren, i will not always remember you, but never forget" 401 as the representative view, in the first floating window 310, at the position representing the first item of the view list. If there are a plurality of representative views, they may be displayed at the positions of the second item, the third item, etc. of the representative view list (not shown in fig. 6 (a)). In the above example, the target view is a combination of the public view corresponding to tweet, the title of tweet, "zhojgren, i would not always remember you, but never forget," and the release date view in tweet interface 100, representing that the view is a thumbnail of the target view.
In this embodiment of the present application, the presentation control may further include a display control, where the display control may display a name of a view of the target view, and the name of the representative view may be the same as the name of the target collection view, may also be the same as the name of the target view, and may further include more interface information. Alternatively, the display position of the name representing the view may be located above the representing view. Because the display control occupies a small space on the display screen, when there are a plurality of display controls, more display controls can be displayed on the display screen.
As shown in FIG. 6 (b), the name "Bean-Zhouguer every day" 8230representative of the view is displayed, the display control of "402 and the view" Zhouguer "representative of the view, i would not frequently remember you but never forget that" 401 was displayed on the first item of the list and the name "Bean-Zhouguer every day" 8230representative of the view is displayed, the display control of "402 is located on the view" Zhouguer "representative of the view, i would not frequently remember you but never forget above" 401.
In a specific implementation, the content of the presentation control may also be changed, for example, when the content of the presentation control includes a representative view, or includes a representative view and a display control displaying a name of the representative view, if there are a plurality of representative views and the display screen of the mobile terminal is small, a hiding operation of the user on the view may be received, and the representative view displayed on the display screen is hidden. The hiding operation for the view may be a click event or a slide event of a preset area on the display screen by the user, and when the name representing the view is displayed in the first floating window 310, the preset area may be a position representing the name of the view, and of course, the preset area may also be other areas, for example, a blank of the first floating window 310.
After the representative view is hidden, the presentation control only includes a presentation control displaying the name of the representative view, and at this time, the presentation control may also be displayed in a list. As shown in fig. 6 (c), a name "bean-weekly jegeren \8230" representing a view is displayed, a display control of "402 displays a first item of a list in the first floating window 310, displays a name" QQ viewpoint \8230 "representing a view, which is not yet \, a display control of" 403 and displays a display control representing a view name "tianmao supermarket \8230, a display control of" 404 is displayed as a display control of other interfaces, which are second and third items in the list.
Before hiding the representative view, the representative view "Zhou Ji Lun, I would not always remember you, but never forget" 401 can be referred to as shown in FIG. 6 (b), and after hiding the representative view, only the display control with the name "Bean-Zhou Ji 8230" 402 "is displayed, which refers to FIG. 6 (c).
Correspondingly, if the display content of the presentation control only includes the name of the representative view, the representative view can be displayed by receiving the user's viewing operation on the name of the representative view, and the triggering manner may be clicking the name of the representative view. For example, referring to FIG. 6 (c), clicking on the display with the name "Bean-Zhouguer once a day" 823082308230, which represents a view, "Zhouguer once a day", may be displayed under the display control of "Bean-Zhouguer once a day" 8230, 402, which represents a view, "Zhouguer" may be displayed, i will never recall you often, but never forget "401, as shown in FIG. 6 (b).
In actual practice, the presentation control may by default include only the display control in order for the user to see more content. When a user needs to see a certain representative view, the corresponding display control can be clicked, and the representative view is displayed; when the user does not need to see the representative view, the display control may be clicked again, or a blank of the first floating window 310 may be clicked such that the representative view is hidden.
Of course, it is understood that in the process of hiding or displaying a certain representative view, the positions of other representative views or the positions of other display controls should be changed accordingly. For example, if going from FIG. 6 (b) to FIG. 6 (c), i.e., hiding the representative view "Zhou Jieren, i would not always recall you, but never forget" 401, "then display the name" QQ viewpoint "representative view-so far none \8230," display control of 403 and display the name "Techthy Supermarket-time snatch \8230," 404's display control moves up with position adaptability; and changing from fig. 6 (c) to fig. 6 (b), i.e., displaying the representative view "zhou jieren, i will not always remember you, but never forget" 401, "the display control of" 403 and the display control of "tianmao supermarket-time limited snatching \8230," the display control of "404 are displayed with the name" QQ viewpoint-not yet \8230, "and the position adaptability of the display control of" 404 is moved downward.
Since the representative view may be used to represent the content of the target collection interface, if the content of the target collection interface is updated, for example, the push text in the wechat messenger in the push text interface 100 in fig. 1 (e) is deleted, an updated target collection interface 500 as shown in fig. 7 is formed, optionally, the representative view may be generated according to the target view, and the target view is the view in the updated target collection interface 500. Specifically, the representative view may be generated in the following two ways.
In a first manner, the mobile terminal may automatically obtain the target view according to the updated target collection interface 500, may monitor the target collection interface 500, and when it is monitored that the target collection interface 500 is updated, obtain the target view from the updated target collection interface 500, and generate the representative view according to the target view.
In a second manner, the view of the target collection interface may be obtained by receiving a viewing operation of the user on the name of the representative view, the target view may be obtained from the view of the target collection interface, and the representative view may be generated according to the target view, where at this time, if the target collection interface is the updated target collection interface 500, the generated representative view is a view corresponding to the updated target collection interface 500. For example, the user may click on the name of the representative view to effect a view operation on the name of the representative view.
A second way of generating the representative view is described below with reference to the drawings. Referring to fig. 8 (a), a first floating window 310 is displayed with a name "bean per day-zhou jiron \8230" representing a view, "a display control of 402, a user clicks the" bean per day-zhou jiron \8230, "a display control of 402, a viewing operation is performed on the name representing the view, a mobile terminal receives the viewing operation of the user on the name representing the view, and generates and displays a representing view, the generated first floating window 310 with the representing view displayed is as shown in fig. 8 (b), wherein the generated representing view is" the content has been deleted by a publisher "601, and the corresponding displayed representing view has a name" bean per day-the content \8230, "602. The user may also click on the blank of the first floating window 310 causing the mobile terminal to hide the representative view "this content has been deleted by the publisher" 601, displaying only the name "bean a day-this content \8230;" 602, which represents the view.
S204, receiving the display operation of the user on the display control, acquiring the calling information of the target collection interface, and displaying the target collection interface according to the calling information of the target collection interface.
The user's operation of showing the show control can be realized by clicking the show control on the second interface. The display control is a control for receiving a display operation of a user, and may be a physical button or a virtual button, and the display control may be disposed in the floating window, for example, the first floating window 310. By receiving the display operation of the user on the display control, the mobile terminal can acquire the calling information corresponding to the target collection interface corresponding to the display control according to the incidence relation between the display control and the calling information of the target collection interface.
The mobile terminal can display the target collection interface according to the calling information of the target collection interface. For example, referring to fig. 6 (c), when the second interface includes the wechat chat interface 120 and the first floating window 310 shown in fig. 1 (b), by receiving an operation that the user clicks a representative view "zhou jieren" as a presentation control in the first floating window 310, i will not remember you often, but never forget "401, the mobile terminal jumps from the wechat interface 120 to the text interface 100 to realize quick display of the text interface 100, and the user can realize quick display of the interface without memorizing different operation steps.
When the second interface comprises the text pushing list interface 140 and the first floating window 310 shown in fig. 1 (d), or the second interface comprises an interface of an application other than a WeChat (e.g., an interface of a microblog) and the first floating window 310, it is also possible to jump from the text pushing list interface 140 or the interface of a microblog to the text pushing interface 100 by receiving an operation that a user clicks the representative view "Zhou Jielon" in the first floating window 310 as a presentation control, i will not frequently remember you, but never forget "401, so as to realize a quick display of the text pushing interface 100. The user does not need to search for the desired text pushing and additionally open the application program corresponding to the text pushing interface 100, so that the operation steps are reduced, and the user experience is improved.
In this embodiment of the present application, a presentation control corresponding to the target collection interface may also be deleted, for example, a representative view and/or a name of the representative view serving as the presentation control may be deleted.
Specifically, the mobile terminal deletes the display control by receiving the deletion operation of the user on the display control. For example, the name "bean a day-the content" \8230 "of the representative view in fig. 8 (c)," X "603 on the right side of" 602 may be used as a deletion control, where the deletion control refers to a control that can receive a deletion operation by a user, when the user triggers the deletion control, the mobile terminal deletes the name and the representative view of the representative view, and adjusts the display positions of other representative views accordingly, so that the formed first floating window 310 may refer to fig. 8 (d).
It should be noted that, in the triggering manners of each control in the embodiment of the present application, the manner of clicking, double clicking, long pressing, and the like is only exemplary, and during specific operations, other clicking manners may also be used.
To sum up, in the interface display method provided in this embodiment of the present application, when a first interface is displayed on a display screen, call information of a target collection interface in the first interface may be obtained and collected by receiving a collection operation of a user on a collection control in the first interface, and when a second interface is displayed on the display screen, the second interface includes a display control of the target collection interface, where the display control is associated with the call information of the target collection interface, receives a display operation of the display control by the user, and displays the target collection interface according to the call information of the target collection interface associated with the display control. That is to say, the user can display the target collection interface again only by triggering the collection control of the first interface and the display control of the second interface, and does not need to perform repeated operation step by step according to a specific sequence, so that operation steps are saved, and the operation time of the user is saved.
In the embodiment of the present application, in order to implement the interface display method, an application layer and a framework layer inside the mobile terminal are required to provide support. For ease of understanding, the relationship of the activities of the interface and framework layers on the mobile terminal is described below.
Taking an Android (Android) mobile phone as an example, the operating system of the Android mobile phone can be divided into multiple layers, which are an Android Application layer (Application) 710, an Android Application Framework layer (Application Framework) 720, an Android system running layer (Libraries and runtimes) 730, and a Linux Kernel layer (Linux Kernel) 740 from high to low, as shown in fig. 9.
The application layer 710 includes some core application packages and customized applications, such as contacts 711, microblogs 712, weChat 713, browser 714, and email 715; the application framework layer 720 is a basis for android application development, provides a basic framework required by application implementation, and is used for supporting the contents of the application layer, and may include an Activity Manager (Activity Manager) 721, a Resource Manager (Resource Manager) 722, a view system 723, a content provider 724, a notification Manager 725, an installation Package Manager (Package Manager) 726, a Window Manager (Window Manager) 727, and the like; the system runtime layer 730 is used to support various components of the application framework layer, such as layer management 731, a media library 732, a relational database (SQLite) 733, a Web browser engine (WebKit) 734, an Open Computing Language (OpenCL) 735, and the like in the system runtime library; the Linux kernel is also an abstraction layer as a hardware and software stack, and is used for supporting android core system services, including processes/threads 741, power management 742, drivers 743, and the like. The system running layer 730 and the Linux kernel layer 740 are not particularly related to the embodiments of the present application, and are not specifically described herein.
For the application layer and the application framework layer, for example, after a user clicks an application icon on a desktop belonging to the application layer, the activity manager 721 of the application framework layer starts an activity, and the window manager calculates and draws a window, specifically, a method of establishing a View (setContentView) is called, a window object associated with the activity is called, the window object is used for describing an application program window corresponding to the activity, the window object calls a View (View) object therein, and the View object recursively calls a drawing method of a subclass thereof to complete drawing of each sub-View control (actually, before drawing, the size of the View and the position displayed in the screen need to be determined through layout (layout) and measurement (measure), and finally, after all the sub-views are drawn, the screen buffer service communicates with a hardware drawing program of the bottom layer, and the interface is refreshed and displayed on the screen.
The information of the activity usually exists in the form of package name, class name, etc., and in the specific implementation, the activity is usually saved in the form of stack. Referring to fig. 10, with the WeChat open, the display displays the WeChat chat interface 120 as shown in fig. 1 (b), and creates a stack 801, resulting in activity 1 for the WeChat chat interface 120, with activity 1 at the top of the stack 801. The WeChat chat interface 120 displays the subscription number 102, the user clicks the subscription number 102, the mobile terminal enters the subscription number interface 130 shown in FIG. 1 (c), and at the same time, the activity 2 corresponding to the subscription number interface 130 is generated, the current stack is a stack 802, the activity 2 is at the top of the stack 802, and the activity 1 is suspended. The subscription number interface 130 displays a plurality of public numbers, the user clicks one of the public numbers "bean per day" 103, the mobile terminal opens a tweet list interface 140 as shown in fig. 1 (d), the tweet list interface 140 includes information of a plurality of tweets, and the mobile terminal generates an activity 3 corresponding to the tweet list interface, the current stack is a stack 803, and the activity 3 is at the top of the stack 803, and the activities 2 and 1 are suspended. The user clicks on the tweet profile "Zhou Jieren, I will not remember you often, but never forget" 104. The mobile terminal displays a tweet interface 100 as in FIG. 1 (e) and generates a tweet corresponding to activity 4, the current stack being stack 804, and activity 4 being at the top of stack 804, with activity 3, activity 2, and activity 1 being paused. When the push text list interface 140 shown in fig. 1 (d) is returned from the push text interface 100 shown in fig. 1 (e) by triggering an action of returning to the previous interface, the activity 4 is popped from the top of the stack 804, namely is destroyed, the current stack is the stack 803, the stack at the top is the activity 3, and the activity 3 is restored to be visible. In this embodiment, the meaning that the activity is visible means that an interface corresponding to the activity is displayed on the display screen.
The above generation of each activity can be realized by an activity call chain, and the activity call chain refers to a generation path of the activity. When the target collection interface is in a non-visible state, jumping from other interfaces to the target collection interface according to the activity call chain to enable the target collection interface to be visible. As can be appreciated from stack 803, for example, the activity call chain for activity 3 can be "Activity 1-Activity 2-Activity 3," i.e., activity 1 is generated first, activity 2 is generated second, and Activity 3 is generated last. The activity manager 721 can jump from the current activity to activity 3 according to the activity call chain of activity 3, leaving the interface corresponding to activity 3 in a visible state.
Therefore, for each interface displayed at the application layer, it is supported by the activity of the application framework layer. In the embodiment of the application, the management of the interface can be realized through the management of the activity, and the jump of the interface is realized through the jump of the activity. The interface display method provided by the application in real time can be realized through interaction among the first application program, the first system service and the second system service. As described above, the first application may be an application developed in an application layer to implement the interface display method of the present application, and a user completes triggering of a series of instructions through an operation interface provided by the first application. The first system service is a service component developed at an application framework layer for providing support for the first application program, the second system service is other service components except the first system service in the android system, and the second application program is other application programs except the first application program in the android system, such as WeChat, microblog and the like.
Referring to fig. 11, fig. 11 is a schematic diagram illustrating a step of an interface display method on a first application side according to an embodiment of the present application. The following specifically illustrates an interface display method provided in the embodiments of the present application.
S1101, displaying the collection control in the first interface.
The collection control is a control capable of receiving collection operation of a user, and can be a physical key or a virtual key. The favorite control may be disposed in a floating window, and as shown in fig. 3 (a), "add +"301 may be disposed as a favorite control in a first floating window 310 (see grey floating window area). The favorite control may be displayed in the first application, and a display interface of the first application is the first floating window 310.
Meanwhile, a target collection interface is also displayed on the display screen, and the target collection interface can be an interface in an application program, such as a text pushing interface 100, a WeChat chat interface 120, a subscription number interface 130, a text pushing list interface 140, and the like. The suspension window provided with the collection control and the target collection interface form a first interface.
The collection control can be displayed by responding to user operation, and when the currently displayed interface is a display target collection interface, the first floating window 310 provided with the collection control is displayed by responding to the user operation, so that a first interface is formed. While the first floating window 310 is in the display state, the target collection interface may pause but still be in a visible state.
In order to avoid misoperation, the collection control can be displayed in a mode that the user performs two touch screen operations on the target collection interface. The mobile terminal obtains a first touch screen operation and a second touch screen operation which are triggered by a user on a target collection interface in sequence, judges the two touch screen operations, and displays a collection control on a first interface if the first touch screen operation and the second touch screen operation meet preset conditions. The preset condition may refer to the description in S201, which is not described herein.
For convenience of understanding, referring to fig. 12, fig. 12 is an interaction diagram among a first system service, a second system service, and a first application in a process that the first application displays a first floating window and a favorite control therein according to a touch screen operation of a user, and it is understood that the following description is only exemplary and does not constitute a limitation to the technical solution of the present application. The interactive process comprises the following steps:
1) The second system service acquires a first touch screen operation of a user, determines touch screen operation information of the first touch screen operation, such as time and coordinates for pressing down a screen, time and coordinates for leaving the screen, and the like, and sends the touch screen operation information of the first touch screen operation to the first system service;
2) If the first system service judges that the first touch screen operation meets the first touch screen condition according to the touch screen operation information, a second floating window 1701 is created by requesting the second system service;
3) The second system service receives a request to create a second flyover window 1701, and obtains a view of the second flyover window 1701 so that the first application program can display the second flyover window 1701;
4) The second system service acquires a second touch screen operation of the user, determines touch screen operation information of the second touch screen operation, such as time and coordinates for pressing down the screen, time and coordinates for leaving the screen, and the like, and sends the touch screen operation information of the second touch screen operation to the first system service;
5) And if the first system service judges that the second touch screen operation meets the second touch screen condition according to the touch screen operation information, requesting the second system service to create a first floating window 310.
And S1102, receiving the collection operation of the user on the collection control, acquiring the calling information of the first activity corresponding to the target collection interface, and collecting the calling information.
The user's collection operation of the collection control can be realized by clicking the collection control on the first interface. The collection operation of the user is an instruction for indicating the first application program to collect the target collection interface, the user can collect the collection control in the first application program, and the mobile terminal interacts with the second system service through the first application program and the first system service to realize the response to the operation.
The target collection interface may be other interfaces except the collection control in the first interface, and receives a collection operation of a user on the collection control, and the mobile terminal may obtain activity calling information of a first activity, where the first activity is an activity corresponding to the target collection interface, and specifically, may obtain an activity calling chain of the first activity, where the activity calling chain of the first activity refers to a path capable of generating the first activity and is a calling chain of activities required to be generated for displaying the target collection interface.
When the user collects the collection control, the first interface comprises the collection control and the target collection interface, the interface where the collection control is located serves as the interface displayed on the display screen at present, and the corresponding activity of the corresponding application program is also in a visible state. That is, when the target collection interface is displayed on the display screen, the first activity corresponding to the target collection interface is necessarily in a visible state, and the activities in the visible state are not necessarily all the first activities. Therefore, in order to identify the first activity corresponding to the target collection interface, in the embodiment of the present application, these activities in the visible state may be taken as candidate activities, and the first activity may be determined from a plurality of candidate activities.
Specifically, if the candidate activities include a preset activity, the preset activity may be, for example, an activity corresponding to an application window used by the auxiliary user on the display screen, for example, an activity corresponding to a shortcut menu, an activity corresponding to a first application corresponding to a favorite control, and the like, and at this time, the first activity may be determined from the candidate activities other than the preset activity.
In general, the number of the candidate activities except the preset activity is only one, because in most cases, only one application window is a main window, as shown in fig. 1 (b) to fig. 1 (e), the main window is a WeChat window, and the application windows displayed on the display screen include WeChat windows and a first floating window 310 provided with a collection control, and at this time, the candidate activities except the preset activity corresponding to the first floating window 310 only have activities corresponding to the WeChat windows, that is, the activity corresponding to the WeChat windows can be regarded as the first activity. At this point, the first application may obtain an activity in a visible state, such as an activity at the top of the stack, that may be the first activity corresponding to the target collection interface.
When two or more application program windows are displayed on the same screen, that is, when there are a plurality of candidate interfaces except for the preset interface, for example, the upper half of the display screen may display a window for displaying a WeChat, the lower half may display a window for displaying a microblog, and a floating window for a shortcut menu is also displayed, at this time, two activities except the preset activity may be the first activity corresponding to the target collection interface that the user wants to select. At this time, after receiving the collection operation of the user on the collection control, the first application may respectively obtain the representative views or the names of the representative views corresponding to a plurality of candidate activities other than the preset activity, and generate one activity selection control for each activity in the candidate state, where the activity selection control is the same as the interface selection control in S202, display the representative views and/or the names of the representative views in the third floating window 320, and display the activity selection controls corresponding to the candidate activities. The mobile terminal receives the selection operation of the user on the activity selection control, and determines the activity corresponding to the activity selection control selected by the user as a first activity.
When the displayed view of the activity corresponding to the application program is in a tree structure, the view selected by the user may be a root view corresponding to the application program or a child view corresponding to the application program. When the view selected by the user is the root view or the child view corresponding to the application program, the user can be considered to select the activity corresponding to the application program as the first activity.
After the first activity is determined, the activity call chain of the first activity can be obtained through the second system service, so that when a user performs display operation on a display control of the target collection interface, the display of the target collection interface corresponding to the first activity is achieved according to the activity call chain of the first activity.
For convenience of understanding, the following description is provided for the process of the first application displaying a representative view corresponding to the candidate activity to the user and determining the first activity according to the selection operation of the activity selection control by the user, and it should be understood that the following description is only exemplary and does not constitute a limitation to the technical solution of the present application. Referring to fig. 13, a diagram of interaction among a first system service, a first application program, and a second application program in a determination process of a first activity includes the following steps:
1) The first application program receives the collection operation of the collection control, and creates a third floating window 320 through the second system service, wherein the third floating window is used for displaying the representative view of the candidate activities and requesting the second system service to acquire the identifiers of the activities in the visible state;
2) The second system service sends the identification list to the first application program;
3) The first application program requests the second system service to acquire a representative view corresponding to the activity in the visible state;
4) The second system service acquires a representative view corresponding to the candidate activity through a second application program and sends the representative view list to the first application program;
5) The first application program displays a representative view of the candidate activities except the preset activities, and displays an activity selection control at a position corresponding to the view of the candidate activities except the preset activities;
6) After receiving the selection operation of a user on the activity selection control, the first application program takes the activity corresponding to the selected representative view as a first activity and obtains an activity call chain of the first activity;
7) The activity call chain for the first activity is saved, a representative view of the first activity is displayed in the first floating window 310, and the first application program interface is updated.
In the embodiment of the application, after the calling information of the target collection interface is collected, the floating window provided with the collection control can be hidden, the corresponding hiding instruction can be generated according to a click event of a user in a preset area of the display screen, and can also be generated according to a sliding event of the user in the preset area of the display screen, and the preset area can be an uncovered area of a lower-layer interface of the floating window.
And S1103, displaying the display control in the second interface.
In the embodiment of the application, the display control refers to a control capable of receiving a display operation of a user, and the display control is associated with the calling information of the first activity corresponding to the target collection interface. Similar to the collection control, the display control may be a physical button or a virtual button, and the display control may be disposed in the floating window, for example, the first floating window 310 or other floating windows.
Optionally, the display control may be displayed in response to a user operation, when the second interface includes an application program interface, the first floating window 310 provided with the display control may be displayed in response to an operation of the user on the application program interface, and a type of the operation of the user on the application program interface may refer to an operation type required for displaying the first floating window 310 provided with the collection control in S1101.
When the display control of the target collection interface is a virtual key, the display control can be a blank virtual key or a virtual key comprising a representative view, and the representative view can embody the content of the target collection interface.
Specifically, a target view may be selected from views corresponding to a first activity corresponding to the target collection interface, and a representative view may be generated according to view parameters of the selected target view, where the representative view may be a combination of the target views or a thumbnail of a combined view of the target views.
In practical application, the target view is a view capable of embodying the content of the target collection interface, and when the first activity corresponds to a plurality of candidate views, not every candidate view can embody the content of the target collection interface, so that the plurality of candidate views corresponding to the first activity can be obtained, and the target view is determined from the plurality of candidate views, for example, the candidate views can be grouped by the first application program, so that the user can select the target view according to the grouped candidate views. For the grouping process of the candidate views, reference may be made to S203, which is not described herein again.
After the target view is determined, view parameters of the target view may be acquired, and a representative view may be generated according to the view parameters of the target view. The View parameter of the target View is a drawing basis of the target View, and may be, for example, a View size of the target View, a position displayed in a screen, a pixel value, and the like, and the View parameter of the target View may be calculated by calling a layout function and a measure function of a View object corresponding to the first activity.
For the process of forming the representative view, since the representative view is displayed so that the user can more conveniently acquire the information of the target collection interface, the view size in the view parameter of the target view can be reduced by a preset proportion, and the representative view is generated according to the reduced view size, where the preset proportion may be determined according to the actual situation, for example, the view size may be reduced to 1/5 of the original size. When the number of the target views is small, the positions and pixel values of the target views displayed in the screen can be changed, and the target views are rearranged and combined to generate the representative view. The generation manner of the representative view of the target view may also depend on actual situations, and is not specifically described here.
After the representative view capable of reflecting the content of the target collection interface is obtained, a display control of the target collection interface can be formed. If there are a plurality of display controls, the display controls may be displayed in the form of a list, for example, in a floating window covering a display screen.
In this embodiment of the application, the presentation control may further include a display control, where the display control may display a name of a view of the target view, and the name of the representative view may be the same as the name of the target collection view, may also be the same as the name of the target view, and may further include more interface information. Alternatively, the display position of the name representing the view may be located above the representing view. Because the display control occupies a small space on the display screen, when there are a plurality of display controls, more display controls can be displayed on the display screen.
In a specific implementation, the display content of the display control may also be changed, refer to S203.
Because the representative view can be used for representing the content of the target collection interface of the collection, if the content of the target collection interface is updated, for example, the push text in the WeChat public account is deleted, the representative view can be correspondingly generated according to the updated data of the target view.
The generation process of the representative view can refer to the steps shown in fig. 14: and the view of the target collection interface corresponding to the first activity is changed, the view component of the application framework layer redraws the view in the target collection interface according to the updated view parameters, the view in the target collection interface is correspondingly updated after the view is drawn, meanwhile, the first application program can acquire the target view of the updated target collection interface, and generate a representative view according to the updated view parameters of the target view.
The representative view may be generated in the following two ways.
The first generation mode of the representative view may automatically generate the representative view through a background, specifically, may monitor view parameters of a target view corresponding to the representative view, and generate the representative view when the view parameters of the target view are updated. In this way, when monitoring that the view parameter of the target view is modified, the first system service may obtain the modified view parameter of the target view, and generate the representative view according to the modified view parameter.
Specifically, the second system service may send a notification to the first application program after monitoring that a notification that drawing of the view is completed is provided, and the first application program determines whether the view is in the stored view list, and if the view is in the stored view list and is corresponding to the collected activity, it is determined that the view parameter of the target view corresponding to the collected activity is modified, so that the drawn target view may be obtained, and the representative view may be generated according to the modified view parameter of the target view.
After the representative view is generated, the representative view can be displayed on a display interface of the first application program, so that a user can obtain view information corresponding to the first activity in real time, and user experience is improved. If the representative view is not in the display state or the first application program is in the invisible state, only the representative view may be saved, the representative view is not displayed, and the representative view is displayed when the first application program is started next time.
Referring to fig. 15, fig. 15 is an interaction diagram among a first system service, a second system service, a first application program, and a second application program in a process of generating a representative view according to modified view parameters when monitoring that view parameters of a target view are modified, and it should be understood that the following description is only exemplary and does not constitute a limitation to the technical solution of the present application. The interactive process comprises the following steps:
1) The second system service monitors a notification that the drawing of the view of the second application program is finished, and sends the drawn view of the second application program to the first system service;
2) The first system service judges whether the view is in a stored view list, if so, the second system service judges whether the first application program is in a visible state, if so, the representative view is obtained according to the drawn view, and the representative view is sent to the first application program;
3) And the first application program receives the representative view, checks whether the representative view corresponding to the view is displayed, and if so, updates the representative view and refreshes the display content of the screen.
The second generation manner of the representative view may receive a viewing operation of a user on a name of the representative view, obtain a view corresponding to the first activity, obtain a target view from the view of the first activity, and generate the representative view according to the target view, where at this time, if the target collection interface is the updated target collection interface 500, the generated representative view is a view corresponding to the updated target collection interface 500. For example, the user may click on the name of the representative view to perform a view operation on the name of the representative view. In this method, two situations may occur, that is, the application program corresponding to the first activity may be running or may have finished running. The method includes the steps of judging whether an application program corresponding to a first activity is running, specifically, obtaining an identifier of the first activity, and judging whether the identifier of the first activity exists in an activity thread, wherein the identifier can be obtained by receiving a user's viewing operation of a name representing a view, the identifier of the first activity can be an activity name, can also be an identifier such as an activity code and the like which can distinguish different activities, and can be the same as or different from the name of an interface or the name of the view corresponding to the first activity. If the identifier of the first activity is in the activity thread, the application program corresponding to the first activity is running in the background; if the identifier of the first activity is not in the activity thread, it indicates that the application program corresponding to the first activity has finished running, and the corresponding first activity is also destroyed, so that the first activity is not in the activity thread.
In the above two cases, the process of acquiring the view parameters of the target view by receiving the user's viewing operation of the name representing the view is slightly different. These two cases will be described separately below.
If the identifier of the first activity exists in the activity thread, it indicates that the application program corresponding to the first activity runs in the background, and the application program corresponding to the target collection interface is in the activated state, and the application program can run in the background according to the call information of the target collection interface, and in the process of running the application program in the background, the view parameter of the target view corresponding to the first activity is obtained.
If the identifier of the first activity does not exist in the activity thread, it indicates that the first activity has been destroyed, and the application program corresponding to the target collection interface is in a closed state, at this time, the application program corresponding to the first activity can be started in the background according to the calling information of the target collection interface, and the activity generated from the start of the application program to before jumping to the first activity and the first activity are in an invisible state, that is, the application program corresponding to the first activity is only operated in the background before the user starts the application program, and the view parameter of the target view is obtained through the first activity corresponding to the application program started in the background. The purpose of starting the application program corresponding to the first activity is to acquire updated view parameters of the target view, so that the application program can be run in a background without being displayed on a display screen, and after a user manually starts the application program or the mobile terminal executes display operation of the target collection interface and jumps to the target collection interface corresponding to the first activity, the target collection interface is displayed.
The action of acquiring the view parameters of the target view can be executed when the instruction for displaying the second interface is generated, so that the target view is ensured to embody the content of the target collection interface of the latest version, namely the representative view is ensured to be generated in real time. If the application program corresponding to the target collection interface is in a closed state, the application program is started in the background according to the calling information of the target collection interface, the view parameters of the target view of the target collection interface are obtained from the application program started in the background, the generated interface before the application program is started to jump to the target collection interface and the target collection interface are ensured not to be seen by a user, the user only sees a second interface displaying the display control of the latest version of representative view, and the user experience is improved. When the view parameter of the target view of the latest version is obtained, if the application program corresponding to the target collection interface is in an activated state, the application program is operated in a background mode according to the calling information of the target collection interface, the view parameter of the target view of the target collection interface is obtained in the process of operating the application program in the background mode, the process that the application program opens the target collection interface is guaranteed not to be seen by a user, and user experience is improved.
After obtaining the updated view parameters of the target view, the representative view may be generated according to the updated view parameters of the target view, and the process of generating the representative view according to the view parameters of the target view may be referred to herein, which is not described herein again.
And after generating the representative view, forming a display control of the target collection interface.
It can be understood that, when it is determined that the identifier of the first activity does not exist in the activity thread, the application program corresponding to the first activity is started, in order to achieve acquisition of the updated view parameters of the target view, which is different from normal starting of the application program, so that an additional restart marker may also be added to the first activity, and is distinguished from normal starting of the application program.
Referring to fig. 16, fig. 16 is a diagram illustrating interaction among a first system service, a second system service, a first application program and a second application program in a process of generating a representative view by receiving a user's viewing operation on a name of the representative view, and it should be understood that the following description is only exemplary and does not limit the technical solution of the present application. The interactive process comprises the following steps:
1) The first application program receives the viewing operation of a user on the name of the representative view and sends the identifier of the first activity corresponding to the representative view to the second system service;
2) The second system service judges whether the first activity exists in the activity thread, if not, the step 3) is executed, and if so, the step 4) is executed;
3) Restarting a second application program corresponding to the first activity by the first application program through a second system service, adding an additional restart mark for the first activity, enabling the second application program to run in the background and not to be displayed on a screen, and executing the step 4);
4) The first application program obtains view parameters of the target view through the second system service, generates a representative view according to the view parameters of the target view, and executes the step 5);
5) The first application sends information representing the view to a first system service.
In the embodiment of the application, when the target collection interface is updated, the updating condition of the target collection interface can be obtained according to the displayed representative view under the condition that the application program is not opened, and the floating window is hidden when the application program window corresponding to the first activity does not need to be displayed, so that the user can check conveniently, and the user experience is improved.
And S1104, receiving a display operation of the user on the display control, acquiring an activity call chain of the first activity, and enabling the first activity to be in a visible state according to the activity call chain of the first activity.
The user's operation of showing the show control can be realized by clicking the show control on the second interface. The display control is a control for receiving the display operation of a user, and can be a physical key or a virtual key, and the display control can be arranged in the floating window. By receiving the display operation of the user on the display control, the first application program can obtain the activity call chain of the first activity corresponding to the display control according to the incidence relation between the display control and the activity call chain of the first activity.
Taking the activities corresponding to the other application program interfaces in the second interface except the interface corresponding to the display control as second activities, where the application program interface corresponding to the second activity and the first interface corresponding to the first activity may be adjacent interfaces, may also be non-adjacent interfaces, and may also be the same interface, which is not specifically limited herein.
The activity call chain may be associated with a package name, class name, etc. corresponding to the activity. The view component of the application framework layer can acquire the activity and the corresponding view parameter thereof according to the activity call chain of the first activity, draw the view according to the view parameter, and display the drawn view on the display screen of the mobile terminal by the window manager, so as to realize the display of the interface of the target collection.
The display control is associated with the calling information of the target collection interface, and the calling information of the target collection interface can include an activity calling chain of a first activity corresponding to the target collection interface, so that the first activity corresponding to the target collection interface associated with the display control can be obtained according to the display operation of the user on the display control, and further the interaction calling chain of the first activity can be obtained.
For example, referring to fig. 6 (b) and 6 (c), the activity corresponding to the tweet interface 100 is activity 4, whose activity call chain is: activity 1-activity 2-activity 3-activity 4. The representative view "zhojjoron", i will not frequently remember you but never forget "401, which may be used as a display control of the text pushing interface 100, by receiving a display operation of the user on the representative view" zhojjoron ", i will not frequently remember you but never forget" 401, the first application program may obtain a first activity corresponding to the target collection interface according to the representative view, further obtain an activity call chain of the first activity, and generate the first activity according to the activity call chain of the first activity.
When the user operates the showing of the showing control, the first activity may exist in the activity thread or may not exist in the activity thread. The jump from the second activity to the first activity may be implemented in a different manner depending on whether the first activity is present in the activity thread. Specifically, the identifier of the first activity may be obtained first, and whether the identifier of the first activity exists in the activity thread is determined according to the identifier of the first activity.
If the activity identifier of the first activity exists in the activity thread, the second activity can be directly jumped to the first activity from the second activity according to the activity call chain of the first activity, and the second activity is the activity corresponding to the second interface, so that the second interface in the visible state is jumped to the target collection interface. If it is detected that the additional restart marker is added to the first activity, in order to enable the user to feel the jump action, the first activity may be destroyed, the application program corresponding to the first activity is restarted, and then the first activity is jumped to according to the activity call chain. If the identifier of the first activity does not exist in the activity thread, the application program corresponding to the first activity can be restarted, and the second activity is switched to the first activity according to the activity call chain. After completing the jump from the second activity to the first activity, the first application may be paused or stopped.
Referring to fig. 17, fig. 17 is an interaction diagram among a second system service, a first application program, and a second application program in a process of presenting a target collection interface corresponding to a first activity after a user performs a presentation operation on a presentation control, and it should be understood that the following description is only exemplary and does not limit the technical solution of the present application. The interactive process comprises the following steps:
1) The first application program receives the display operation of the user on the display control and sends the identifier of the first activity to the second system service;
2) The second system service judges whether the activity mark of the first activity exists in the activity thread, if so, the step 3) is executed, and if not, the step 4) is executed;
3) The first application program judges whether the first activity has an additional restart mark, if so, the additional restart mark is cancelled, the first activity is destroyed through the second system service, and if not, the first activity is destroyed through the second system service, and the step 4) is executed;
4) And restarting the application program of the target collection interface according to the activity identifier of the first activity, jumping to the first activity according to the activity call chain of the first activity, displaying the target collection interface, and pausing or stopping the first application program.
In this embodiment, a display control corresponding to the target collection interface may also be deleted, for example, the representative view and/or the name of the representative view are deleted. Specifically, after a deletion operation of the user on the presentation control is received, if an additional restart marker is added to the first activity, it is indicated that the first activity is started for obtaining the view parameter of the second view, and the user does not need to make the first activity run in the background, so that the first activity can be destroyed.
Referring to fig. 18, fig. 18 is a diagram illustrating interaction among a first system service, a second system service, a first application program, and a second application program after a user delete operation on a presentation control is received, and it should be understood that the following description is only exemplary and does not limit the technical solution of the present application. The interactive process comprises the following steps:
1) The method comprises the steps that a first application program receives a deletion operation of a display control in a display control list;
2) The first application program removes the list item where the deletion control is located, and updates the interface;
3) The first application program obtains an activity identifier corresponding to the representative view corresponding to the deletion item, judges whether the activity has an additional restart mark, and if so, requests a second system service to destroy the activity;
4) The first application program clears the representative view corresponding to the activity and sends the updated representative view to the first system service;
5) The first system service updates the representative view.
To sum up, in the interface display method provided in this embodiment of the application, when the first interface is displayed on the display screen, the call information of the target collection interface in the first interface may be obtained by receiving a collection operation of a user on a collection control in the first interface, and the call information is collected, when the second interface is displayed on the display screen, the second interface includes a display control of the target collection interface, the display control is associated with the call information of the target collection interface, the display operation of the user on the display control is received, and the target collection interface is displayed according to the call information of the target collection interface associated with the display control. That is to say, the user can display the target collection interface again only by triggering the collection control of the first interface and the display control of the second interface, and does not need to perform repeated operation step by step according to a specific sequence, so that the operation steps are saved, and the operation time of the user is saved.
To facilitate better implementation of the above-described aspects of the embodiments of the present application, the following also provides relevant means for implementing the above-described aspects. Referring to fig. 19, an interface display apparatus 1900 according to an embodiment of the present application specifically corresponds to the functions of the interface display method provided above. The functions may be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units corresponding to the above functions, and the units may be software and/or hardware. The apparatus 1900 may include:
a first display unit 1901, configured to display a first interface, where the first interface includes a target collection interface and a collection control;
a collecting unit 1902, configured to receive a collecting operation of a user on a collecting control, acquire call information of a target collecting interface, and collect the call information;
a second display unit 1903, configured to display a second interface, where the second interface includes a display control of the target collection interface, and the display control is associated with the call information of the target collection interface;
the third display unit 1904 is configured to receive a display operation of the display control performed by the user, obtain the calling information of the target collection interface, and display the target collection interface according to the calling information of the target collection interface.
In some possible designs, the calling information of the target collection interface includes an active calling chain of an activity corresponding to the target collection interface, and the active calling chain is a calling chain of an activity required to be generated for displaying the target collection interface.
In some possible designs, the interface display device further includes: and the activity determining unit is used for acquiring a plurality of activities corresponding to the first interface and determining one of the activities as the activity corresponding to the target collection interface from the plurality of activities corresponding to the first interface.
In some possible designs, the interface display device further includes:
the view parameter acquisition unit is used for acquiring view parameters of a target view of a target collection interface after receiving collection operation of a user on a collection control;
and the display control display unit is used for displaying a display control comprising a representative view of the second interface, the representative view is a view for embodying the content of the target view, and the representative view is obtained according to the view parameters of the target view.
In some possible designs, the interface display device further includes: and the target view determining unit is used for acquiring a plurality of candidate views corresponding to the target collection interface and determining the target view from the candidate views.
In some possible designs, the target view determination unit includes:
the grouping unit is used for acquiring a plurality of candidate views corresponding to the target collection interface, and grouping the candidate views according to the display positions of the candidate views to obtain a plurality of groups of candidate views;
the view selection control display unit is used for displaying view selection controls corresponding to each group of candidate views in the multiple groups of candidate views in a third interface;
and the target view determining subunit is used for receiving the selection operation of the user on the view selection control and determining the candidate view corresponding to the view selection control selected by the user as the target view.
In some possible designs, the target view determination unit is specifically configured to:
the method comprises the steps of obtaining a plurality of candidate views corresponding to a target collection interface, obtaining attributes of the candidate views respectively, and determining a target view from the candidate views according to the attributes of the candidate views.
In some possible designs, the target view determination unit is specifically configured to:
the method comprises the steps of obtaining a plurality of candidate views corresponding to a target collection interface, selecting candidate views of a front preset number layer from a view tree formed by the candidate views, and determining the candidate views as target views, wherein the preset number is a positive integer.
In some possible designs, the view parameter acquiring unit is further configured to acquire updated view parameters of the target view of the target collection interface after receiving a collection operation of a user on the collection control;
and the display control display unit is also used for displaying a display control comprising a representative view of the second interface, the representative view is a view for embodying the content of the target view, and the representative view is obtained according to the updated view parameters of the target view.
In some possible designs, the interface display device further includes:
the background starting application program unit is used for starting the application program in the background if the application program corresponding to the target collection interface is in a closed state;
the view parameter acquiring unit is further used for acquiring view parameters of a target view of the target collection interface from the application program started in the background after receiving the collection operation of the user on the collection control.
In some possible designs, the presentation control further comprises a display control in which a view name representing the view is displayed; the interface display device further includes:
and the representative view display unit is used for receiving the display operation of the user on the display control and displaying the representative view in the display control.
In some possible designs, the interface display device further includes:
the collection control display unit is used for acquiring a first touch screen operation and a second touch screen operation which are triggered by a user on a target collection interface in sequence, and displaying the collection control on the first interface if the first touch screen operation and the second touch screen operation meet preset conditions.
In some possible designs, the preset condition includes at least one of: the first touch screen operation meets a first preset touch screen condition, the second touch screen operation meets a second preset touch screen condition, and the interval time between the first touch screen operation and the second touch screen operation meets a preset time condition.
In some possible designs, the first touch screen operation is a first sliding operation, the first sliding operation includes a first contact point and a second contact point, the first contact point is a starting point of the first sliding operation, the second contact point is an end point of the first sliding operation, and coordinates of the first contact point are different from coordinates of the second contact point;
the first preset touch screen condition includes:
the difference between the abscissas of the first contact and the second contact satisfies a first distance condition; and/or the presence of a gas in the gas,
the difference of the ordinate between the first contact and the second contact satisfies a second distance condition; and/or the presence of a gas in the atmosphere,
there is and at least one touch point on the display at any time during the process from the generation of the first touch point to the generation of the second touch point.
In some possible designs, the second touch screen operation is a second sliding operation, the second sliding operation includes a third contact point and a fourth contact point, the third contact point is a starting point of the second sliding operation, the fourth contact point is an end point of the second sliding operation, and coordinates of the third contact point are different from coordinates of the fourth contact point;
the second preset touch screen condition includes:
the difference of the abscissas between the third contact and the fourth contact meets a third distance condition; and/or the presence of a gas in the atmosphere,
the difference of the vertical coordinates between the third contact and the fourth contact meets a fourth distance condition; and/or the presence of a gas in the atmosphere,
during the execution of the second sliding operation, there is one and only one contact on the display screen at any time.
In some possible designs, the interface display device further includes:
and the display control deleting unit is used for receiving the deleting operation of the user on the display control and deleting the display control.
To sum up, in the interface display device provided in this embodiment of the application, when a first interface is displayed on a display screen, call information of a target collection interface in the first interface may be obtained by receiving a collection operation of a user on a collection control in the first interface, and the call information is collected, when a second interface is displayed on the display screen, the second interface includes a display control of the target collection interface, the display control is associated with the call information of the target collection interface, a display operation of the user on the display control is received, and the target collection interface is displayed according to the call information of the target collection interface associated with the display control. That is to say, the user can display the target collection interface again only by triggering the collection control of the first interface and the display control of the second interface, and does not need to perform repeated operation step by step according to a specific sequence, so that the operation steps are saved, and the operation time of the user is saved.
Next, a device for implementing interface skip in the embodiment of the present application, which may be a terminal device, is described.
Referring to fig. 20, the apparatus 2000 for interface hopping includes an input unit 2050, a processor 2030, an output unit 2010, a communication unit 2070, a memory 2040, a radio frequency circuit 2080, and the like.
These components communicate over one or more buses. It will be understood by those skilled in the art that the configuration of the interface jump device shown in fig. 20 is not intended to limit the invention, and may be a bus configuration, a star configuration, a configuration including more or less components than those shown, a combination of certain components, or a different arrangement of components.
In an embodiment of the present invention, the interface jump device may be any mobile or portable electronic device, including but not limited to a smart phone, a mobile computer, a tablet computer, a Personal Digital Assistant (PDA), a media player, and the like.
The interface jump apparatus 2000 includes:
an output unit 2010 for outputting an image to be displayed.
Specifically, the output unit 2010 includes, but is not limited to, a video output unit 2011 and a sound output unit 2012.
The image output unit 2011 is used for outputting text, pictures and/or videos. The image output unit 2011 may include a display panel, such as a display panel configured in a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), a Field Emission Display (FED), and the like. Alternatively, the image output unit 2011 may include a reflective display, such as an electrophoretic (electrophoretic) display, or a display using an interferometric modulation of Light (interferometric modulation).
The image output unit 2011 may include a single display or a plurality of displays of different sizes. In the embodiment of the present invention, the touch screen may also be used as a display panel of the output unit 2010.
For example, when the touch screen detects a gesture operation of touch or proximity thereto, it is transferred to the processor 2030 to determine the type of touch event, and then the processor 2030 provides a corresponding visual output on the display panel according to the type of touch event. Although in fig. 20, the input unit 2050 and the output unit 2010 are implemented as two separate components to implement the input and output functions of the interface jump device, in some embodiments, a touch screen may be integrated with a display panel to implement the input and output functions of the interface jump device. For example, the image output unit 2011 may display various Graphical User Interfaces (GUIs) as virtual control elements, including but not limited to windows, scroll bars, icons, and scrapbooks, for the user to operate in a touch manner.
In one embodiment of the present invention, the image output unit 2011 comprises a filter and an amplifier for filtering and amplifying the video output from the processor 2030. Sound output unit 2012 includes a digital to analog converter that converts the audio signal output by processor 2030 from a digital format to an analog format.
And the processor 2030, configured to execute the substitute command in the memory, execute the interface display method, and process the received information to generate and output a corresponding interface.
Specifically, the processor 2030 is a control center of the interface jump device, connects various portions of the entire interface jump device using various interfaces and lines, and executes various functions of the interface jump device and/or processes data by running or executing software programs and/or modules stored in the memory and calling data stored in the memory. The processor 2030 may be an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected to the same or different functions.
For example, the processor 2030 may include only a Central Processing Unit (CPU), or a combination of a Graphics Processing Unit (GPU), a Digital Signal Processor (DSP), and a control chip (e.g., a baseband chip) in the communication unit. In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A memory 2040 for storing code and data, the code for execution by the processor 2030.
Specifically, the memory 2040 may be used for storing software programs and modules, and the processor 2030 executes various functional applications of the interface jump device and implements data processing by operating the software programs and modules stored in the memory 2040. The memory 2040 mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, applications required for at least one function, such as a sound playing program, an image playing program, and the like; the data storage area may store data (such as audio data, a phonebook, etc.) created according to the use of the interface jump device, and the like.
In an embodiment of the invention, the memory 2040 may include a volatile memory, such as a nonvolatile dynamic random access memory (NVRAM), a phase change random access memory (PRAM), a Magnetoresistive Random Access Memory (MRAM), and the like, and may further include a nonvolatile memory, such as at least one magnetic disk memory device, an electrically erasable programmable read-only memory (EEPROM), a flash memory device, such as a NOR flash memory (NOR flash memory), or a NOR flash memory (NAND flash memory).
The non-volatile memory stores the operating system and applications executed by processor 2030. Processor 2030 loads operating programs and data from nonvolatile memory into memory and stores digital content in a mass storage device. The operating system includes various components and/or drivers for controlling and managing conventional system tasks, such as memory management, storage device control, power management, etc., as well as facilitating communication between various hardware and software components.
In the embodiment of the present invention, the operating system may be an Android operating system developed by Google, an iOS system developed by Apple, a Windows operating system developed by Microsoft, or an embedded operating system such as Vxworks.
Applications include any application installed on the interface hopping device, including but not limited to browser, email, instant messaging service, word processing, keyboard virtualization, widgets (widgets), encryption, digital rights management, voice recognition, voice replication, positioning (e.g., functions provided by the global positioning system), music playing, and so forth.
And the input unit 2050 is used for realizing interaction between a user and the interface jump device and/or inputting information into the interface jump device.
For example, the input unit 2050 may receive numeric or character information input by a user to generate a signal input related to user setting or function control. In the embodiment of the present invention, the input unit 2050 may be a touch screen, other human-computer interaction interfaces such as an entity input key and a microphone, or other external information capturing devices such as a camera.
The touch screen disclosed by the embodiment of the invention can collect the operation actions touched or approached by the user. For example, the user can use any suitable object or accessory such as a finger, a stylus, etc. to operate on or near the touch screen, and drive the corresponding connection device according to a preset program. Alternatively, the touch screen may include two parts, a touch detection device and a touch controller. The touch detection device detects touch operation of a user, converts the detected touch operation into an electric signal and transmits the electric signal to the touch controller; the touch controller receives the electrical signal from the touch sensing device and converts it to touch point coordinates, which are provided to processor 2030.
The touch controller may also receive and execute commands from processor 2030. In addition, the touch screen can be realized by various types such as a resistive type, a capacitive type, an infrared ray, a surface acoustic wave and the like.
In other embodiments of the present invention, the physical input keys employed by the input unit 2050 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc. An input unit 2050, in the form of a microphone, may collect and convert speech input by a user or the environment into commands executable by processor 2030 in the form of electrical signals.
In other embodiments of the present invention, the input unit 2050 may also be various sensing devices, such as hall devices, for detecting physical quantities of the interface jump device, such as force, moment, pressure, stress, position, displacement, speed, acceleration, angle, angular velocity, number of revolutions, rotational speed, and time when the operating state changes, and converting the physical quantities into electrical quantities for detection and control. Other sensing devices may also include gravity sensors, three-axis accelerometers, gyroscopes, electronic compasses, ambient light sensors, proximity sensors, temperature sensors, humidity sensors, pressure sensors, heart rate sensors, fingerprint identifiers, and the like.
A communication unit 2070 for establishing a communication channel, passing the interface jump apparatus through the communication channel to connect to the remote server, and downloading media data from the remote server. The communication unit 2070 may include a wireless local area network (wlan) module, a bluetooth module, a baseband module, and other communication modules, and Radio Frequency (RF) circuits corresponding to the communication modules, and is configured to perform wlan communication, bluetooth communication, infrared communication, and/or cellular communication system communication, such as wideband code division multiple access (W-CDMA) and/or High Speed Downlink Packet Access (HSDPA). The communication module is used for controlling the communication of each component in the interface jump device and can support direct memory access.
In various embodiments of the present invention, the various communication modules in the communication unit 2070 are generally in the form of integrated circuit chips (integrated circuit chips) and can be selectively combined, without including all the communication modules and corresponding antenna groups. For example, the communication unit 2070 may include only a baseband chip, a radio frequency chip and a corresponding antenna to provide a communication function in a cellular communication system. The interface jump apparatus may be connected to a cellular network (cellular network) or the internet via a wireless communication connection, such as a wireless local area network access or a WCDMA access, established by the communication unit 2070. In some alternative embodiments of the invention, a communication module, such as a baseband module, in communication unit 2070 may be integrated into processor 2030, typically as the APQ + MDM family of platforms provided by highpass (qualcomm) corporation.
And the radio frequency circuit 2080 is used for receiving and sending signals in the process of information transceiving or conversation. For example, after receiving downlink information of the base station, the downlink information is processed by the processor 2030; in addition, data for designing uplink is transmitted to the base station. Generally, the radio frequency circuitry 2080 includes well-known circuitry for performing these functions, including but not limited to an antenna system, a radio frequency transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a codec chipset, a Subscriber Identity Module (SIM) card, memory, and so forth. In addition, the radio frequency circuit 2080 may also communicate with networks and other devices via wireless communication.
The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), high Speed Uplink Packet Access (HSUPA), long Term Evolution (LTE), email, short Message Service (SMS), and the like.
A power supply 2090 is used to power the various components of the interface jump device to maintain its operation. As a general understanding, the power source 2090 may be a built-in battery, such as a conventional lithium ion battery, a nickel metal hydride battery, or the like, and may also include an external power source that directly supplies power to the interface jump device, such as an AC adapter or the like. In some embodiments of the invention, the power source 2090 may be more broadly defined and may include, for example, a power management system, a charging system, a power failure detection circuit, a power converter or inverter, a power status indicator (e.g., a light emitting diode), and any other components associated with the generation, management, and distribution of power to interface jump devices.
Yet another aspect of the present application provides a computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of the above-described aspects.
Yet another aspect of the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the method of the above-described aspects.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.

Claims (10)

1. An interface display method, characterized in that the method comprises:
displaying a first target collection interface, wherein the first target collection interface is an interface in a first application program;
detecting a first operation of a user;
responding to a first operation of a user, and displaying a first interface, wherein the first interface comprises the first target collection interface and a first collection control;
receiving the collection operation of a user on the first collection control, and collecting the first target collection interface;
displaying a second target collection interface, wherein the second target collection interface is an interface in a second application program;
detecting a second operation of the user;
responding to a second operation of the user, and displaying a fourth interface, wherein the fourth interface comprises the second target collection interface and a second collection control;
receiving the collection operation of the user on the second collection control, and collecting the second target collection interface;
displaying a second interface, wherein the second interface comprises second page information, and the first display control and a second display control, the first display control is associated with the first target collection interface, and the second display control is associated with the second target collection interface;
receiving the display operation of the user on the first display control, and displaying the first target collection interface in a first application program;
and receiving the display operation of the user on the second display control, and displaying the second target collection interface in a second application program.
2. The method of claim 1,
and receiving a fifth operation of the user on the first display control, and displaying a display control of a first representative view, wherein the first representative view is obtained through the first collection interface.
3. The method of claim 1 or 2, wherein the representative view comprises a name of the representative view.
4. The method of any one of claims 1-3, wherein receiving a display operation of the first display control by the user, opening a first application, and displaying the first target collection interface in the first application comprises:
receiving a fifth operation of the user on the first display control, and displaying a display control of a first representative view, wherein the first representative view is obtained through the first collection interface;
and receiving sixth operation of the user on a display control of the first representative view, and displaying the first target collection interface in the first application program.
5. The method of any of claims 1-4, wherein obtaining the representative view via the first favorites interface comprises:
acquiring updated view parameters of the first target collection interface;
and obtaining the first representative view according to the updated view parameter of the first target collection interface.
6. The method of any of claims 1-5, wherein obtaining the representative view via the first favorite interface comprises:
acquiring the deleted information of the first target collection interface;
and obtaining the representative view corresponding to the deleted first target collection interface according to the information.
7. The method of any of claims 1-6, wherein displaying the first target collection interface in the first application comprises:
and if the first application program is in a closed state, starting the first application program in a background according to the calling information of the target collection interface, and displaying the first target collection interface in the first application program.
8. The method of any one of claims 1-7, further comprising:
and receiving the deletion operation of the user on the first display control, and deleting the first display control.
9. The method of any of claims 1-8, wherein receiving a user's favorite operation of the first favorite control, favorite the first target favorite interface comprises:
acquiring calling information of the target collection interface, and collecting the calling information; wherein the content of the first and second substances,
the calling information of the target collection interface comprises an active calling chain of an activity corresponding to the target collection interface, and the active calling chain is used for displaying the activity required to be generated by the target collection interface.
10. An interface display device, the device comprising: a processor and a memory;
the memory to store instructions;
the processor, configured to execute the instructions in the memory, to perform the method of any of claims 1 to 9.
CN202210688783.1A 2018-04-28 2018-04-28 Interface display method, device and equipment Pending CN115174733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210688783.1A CN115174733A (en) 2018-04-28 2018-04-28 Interface display method, device and equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810402152.2A CN110417988B (en) 2018-04-28 2018-04-28 Interface display method, device and equipment
CN202210688783.1A CN115174733A (en) 2018-04-28 2018-04-28 Interface display method, device and equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810402152.2A Division CN110417988B (en) 2018-04-28 2018-04-28 Interface display method, device and equipment

Publications (1)

Publication Number Publication Date
CN115174733A true CN115174733A (en) 2022-10-11

Family

ID=68293766

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810402152.2A Active CN110417988B (en) 2018-04-28 2018-04-28 Interface display method, device and equipment
CN202210688783.1A Pending CN115174733A (en) 2018-04-28 2018-04-28 Interface display method, device and equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810402152.2A Active CN110417988B (en) 2018-04-28 2018-04-28 Interface display method, device and equipment

Country Status (2)

Country Link
CN (2) CN110417988B (en)
WO (1) WO2019206158A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112818259A (en) * 2019-11-15 2021-05-18 腾讯科技(深圳)有限公司 Content recommendation method, electronic device and computer-readable storage medium
CN111767108A (en) * 2020-06-28 2020-10-13 Oppo广东移动通信有限公司 Application program label generation method, application interface display method and device
CN111782298B (en) * 2020-06-30 2024-03-19 Oppo(重庆)智能科技有限公司 Application management method and device, storage medium and electronic equipment
CN111880703A (en) * 2020-07-07 2020-11-03 北京小米移动软件有限公司 Method and device for processing content of smart television and storage medium
CN111984809A (en) * 2020-08-20 2020-11-24 深圳集智数字科技有限公司 Image searching method and related device
CN112068763A (en) * 2020-09-22 2020-12-11 深圳市欢太科技有限公司 Target information management method and device, electronic equipment and storage medium
CN114650330A (en) * 2020-12-18 2022-06-21 华为技术有限公司 Method, electronic equipment and system for adding operation sequence
CN113110905B (en) * 2021-03-29 2023-06-23 联想(北京)有限公司 Control method, device, equipment and computer readable storage medium
CN113648661B (en) * 2021-08-18 2024-04-12 网易(杭州)网络有限公司 Method and device for processing information in game, electronic equipment and storage medium
CN113900571B (en) * 2021-10-14 2023-11-14 北京淇瑀信息科技有限公司 Information display method and device and electronic equipment
CN114296611B (en) * 2021-12-29 2024-03-26 北京字跳网络技术有限公司 Live broadcasting room control method, device, electronic equipment, medium and program product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323932A (en) * 2011-08-30 2012-01-18 百度在线网络技术(北京)有限公司 Method for processing web page collection information and equipment
CN102508597A (en) * 2011-09-30 2012-06-20 北京风灵创景科技有限公司 Method and equipment for collecting applications on desktop of movable terminal
CN104407937A (en) * 2014-11-19 2015-03-11 北京奇虎科技有限公司 Method for loading data in browser and browser
CN105308590A (en) * 2013-05-29 2016-02-03 微软技术许可有限责任公司 Centralized management of link data for multiple applications, computers and resources, through operating systems and networked storage services
CN107085617A (en) * 2017-05-31 2017-08-22 北京安云世纪科技有限公司 Application program page collecting method, device and corresponding mobile terminal
CN107193975A (en) * 2017-05-25 2017-09-22 北京小米移动软件有限公司 Information resources collecting method, device and computer-readable recording medium
CN107203630A (en) * 2017-05-31 2017-09-26 北京安云世纪科技有限公司 Application program page collecting method, device and corresponding mobile terminal
CN107402690A (en) * 2017-07-07 2017-11-28 上海爱优威软件开发有限公司 A kind of global collecting method and system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8019940B2 (en) * 2006-12-06 2011-09-13 Fusion-Io, Inc. Apparatus, system, and method for a front-end, distributed raid
CN106202223A (en) * 2016-06-28 2016-12-07 北京小米移动软件有限公司 Content collection method, device and for collecting the device of content in application program
CN106406995A (en) * 2016-09-07 2017-02-15 珠海市魅族科技有限公司 Application page task switching method and device and mobile terminal
CN106648364A (en) * 2016-12-20 2017-05-10 四川长虹电器股份有限公司 Mobile application view structure-based method for viewing collected contents immediately
CN106648707B (en) * 2017-01-10 2020-07-03 深圳铂睿智恒科技有限公司 Intelligent terminal application information collection method and system and intelligent terminal
CN107092707B (en) * 2017-05-31 2020-11-24 北京安云世纪科技有限公司 Display method and device for collected application program page

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102323932A (en) * 2011-08-30 2012-01-18 百度在线网络技术(北京)有限公司 Method for processing web page collection information and equipment
CN102508597A (en) * 2011-09-30 2012-06-20 北京风灵创景科技有限公司 Method and equipment for collecting applications on desktop of movable terminal
CN105308590A (en) * 2013-05-29 2016-02-03 微软技术许可有限责任公司 Centralized management of link data for multiple applications, computers and resources, through operating systems and networked storage services
CN104407937A (en) * 2014-11-19 2015-03-11 北京奇虎科技有限公司 Method for loading data in browser and browser
CN107193975A (en) * 2017-05-25 2017-09-22 北京小米移动软件有限公司 Information resources collecting method, device and computer-readable recording medium
CN107085617A (en) * 2017-05-31 2017-08-22 北京安云世纪科技有限公司 Application program page collecting method, device and corresponding mobile terminal
CN107203630A (en) * 2017-05-31 2017-09-26 北京安云世纪科技有限公司 Application program page collecting method, device and corresponding mobile terminal
CN107402690A (en) * 2017-07-07 2017-11-28 上海爱优威软件开发有限公司 A kind of global collecting method and system

Also Published As

Publication number Publication date
WO2019206158A1 (en) 2019-10-31
CN110417988B (en) 2022-06-14
CN110417988A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN110417988B (en) Interface display method, device and equipment
US10187872B2 (en) Electronic device and method of providing notification by electronic device
KR102497195B1 (en) A mehtod for processing contents, an electronic device and a storage medium therefor
CN107077292B (en) Cut and paste information providing method and device
AU2010327453B2 (en) Method and apparatus for providing user interface of portable device
CN107422934B (en) Icon setting method and electronic equipment
JP5956725B2 (en) Method, device, and computer program product for providing context-aware help content
RU2675153C2 (en) Method for providing feedback in response to user input and terminal implementing same
US10877624B2 (en) Method for displaying and electronic device thereof
CN108027706A (en) A kind of application interface display methods and terminal device
KR20140082000A (en) Terminal and method for providing related application
CN107066188B (en) A kind of method and terminal sending screenshot picture
KR102280474B1 (en) Method and apparatus for operating of electronic device
WO2015014305A1 (en) Method and apparatus for presenting clipboard contents on a mobile terminal
CN107015752B (en) Electronic device and method for processing input on viewing layer
US10156979B2 (en) Method and apparatus for providing user interface of portable device
US11416122B2 (en) Location text
EP3525084A1 (en) Data processing method, and electronic terminal
CN115454286A (en) Application data processing method and device and terminal equipment
KR20140036532A (en) Method and system for executing application, device and computer readable recording medium thereof
KR20160056827A (en) Content Share Method and Content Share System
US20170212962A1 (en) Apparatus and method for managing history information in an electronic device
US20150325254A1 (en) Method and apparatus for displaying speech recognition information
KR101982305B1 (en) Devices, methods, and graphical user interfaces used to move application interface elements
CN113672290A (en) File opening method and equipment

Legal Events

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