CN115174733B - Interface display method, device and equipment - Google Patents
Interface display method, device and equipment Download PDFInfo
- Publication number
- CN115174733B CN115174733B CN202210688783.1A CN202210688783A CN115174733B CN 115174733 B CN115174733 B CN 115174733B CN 202210688783 A CN202210688783 A CN 202210688783A CN 115174733 B CN115174733 B CN 115174733B
- Authority
- CN
- China
- Prior art keywords
- interface
- view
- user
- target collection
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 115
- 230000000694 effects Effects 0.000 claims description 321
- 238000007667 floating Methods 0.000 claims description 87
- 230000004044 response Effects 0.000 claims description 15
- 239000000758 substrate Substances 0.000 claims 3
- 230000000875 corresponding effect Effects 0.000 description 173
- 238000013461 design Methods 0.000 description 51
- 230000008569 process Effects 0.000 description 48
- 238000004891 communication Methods 0.000 description 30
- 238000010586 diagram Methods 0.000 description 23
- 230000009191 jumping Effects 0.000 description 22
- 230000003993 interaction Effects 0.000 description 21
- 230000006870 function Effects 0.000 description 16
- 230000001960 triggered effect Effects 0.000 description 11
- 238000012217 deletion Methods 0.000 description 8
- 230000037430 deletion Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000007726 management method Methods 0.000 description 7
- 230000009471 action Effects 0.000 description 6
- 235000010627 Phaseolus vulgaris Nutrition 0.000 description 4
- 244000046052 Phaseolus vulgaris Species 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 239000000725 suspension Substances 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000010267 cellular communication Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 241000282326 Felis catus Species 0.000 description 1
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 229910001416 lithium ion Inorganic materials 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 229910052987 metal hydride Inorganic materials 0.000 description 1
- 229910052759 nickel Inorganic materials 0.000 description 1
- PXHVJJICTQNCMI-UHFFFAOYSA-N nickel Substances [Ni] PXHVJJICTQNCMI-UHFFFAOYSA-N 0.000 description 1
- -1 nickel metal hydride Chemical class 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 230000010076 replication Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
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, the collection operation of a user on collection controls in the first interface can be received, the call information of a target collection interface in the first interface is obtained, the call information is collected, and when a second interface comprising display controls of the target collection interface is displayed on the display screen, the display controls are associated with the call information of the target collection interface, so that the display operation of the user on the display controls can be received, and the target collection interface is displayed according to the call information of the target collection interface associated with the display controls. That is, the user only needs to trigger the collection control of the first interface and the display control of the second interface, so that the target collection interface can be displayed again without performing repeated operation step by step according to a specific sequence, operation steps are saved, and therefore operation time of the user is saved.
Description
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 at the mobile terminal. An application program generally generates multiple interfaces based on multiple operations of a user, and the user may jump between different interfaces during the process of using the application program, so as to realize switching of the different interfaces. When the user wants to see the focused interface again, the user can only jump to the focused interface from other interfaces according to the interface jump sequence specified by the application program, so that the focused 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, which are used for solving the problem of inconvenient operation of interface jump in the traditional technology.
The first aspect of the present application provides an interface display method, which can 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 collection controls, the target collection interface is an interface focused by a user, the collection controls are controls for receiving collection operation of the user, and the controls can be arranged in a floating window. For example, a text pushing interface in WeChat is used as a target collection interface, a first floating window is arranged on the upper layer of the target collection interface, collection controls are arranged in the first floating window, and the text pushing interface and the first floating window containing the collection controls form a first interface. And the mobile terminal receives the collection operation of the user on the collection control, acquires the call information of the target collection interface, and collects the call 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 call information of the target collection interface, and when the display operation of the display control by a user is received, the mobile terminal can acquire the call information of the target collection interface associated with the display control and display the target collection interface according to the call information of the target collection interface.
Compared with the prior art, the embodiment of the application can realize the redisplay of the target collection interface by only triggering the collection control of the first interface and the display control of the second interface without performing repeated operation step by step according to a specific sequence, thereby saving operation steps and further saving the operation time of the user.
In some possible designs, the call information of the target collection interface includes an activity call chain of an activity corresponding to the target collection interface, where the activity call chain is a call chain of an activity required to be generated by displaying the target collection interface.
The embodiment of the application provides one implementation mode of the call information of the target collection interface, namely an activity call chain of the activity corresponding to the target collection interface, and the target collection interface can be rapidly displayed by calling the activity call chain of the activity corresponding to the target collection interface.
In some possible designs, the interface display method further includes: if the first interface includes a plurality of interfaces, a target collection interface is determined from the plurality of interfaces.
When the first interface includes a plurality of interfaces, the plurality of interfaces are not necessarily all target collection interfaces that the user wants to collect, so that the target collection interfaces can be determined from the plurality of interfaces in the first interface, so as to collect the target collection interfaces by acquiring 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 interfaces comprise the preset interfaces, determining a target collection interface from the interfaces except the preset interfaces.
If the interfaces include preset interfaces, such as an interface of a shortcut menu window, the preset interfaces are not target collection interfaces which are required to be collected by a user, so that the target collection interfaces can be determined from the interfaces except the preset interfaces by screening the preset interfaces, and collection of the target collection interfaces can be realized by acquiring call information of the target collection interfaces.
In some possible designs, if the number of interfaces other than the preset interface is plural, for example, when two or more application windows are displayed on the same screen, it may be determined that the target collection interface includes: and displaying interface selection controls corresponding to the interfaces except the preset interfaces respectively, wherein the interface selection controls display representative views of the corresponding interfaces and/or names of the representative views of the corresponding interfaces. 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 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 can be improved.
In some possible designs, the interface display method further includes: after receiving the collection operation of the user on the collection control, obtaining the view parameter of the target view of the target collection interface, and displaying the display control of the second interface includes: and displaying a display control of the second interface, wherein the display control comprises a representative view, the representative view is a view reflecting the content of the target view, and the representative view is obtained according to view parameters of the target view.
In the embodiment of the application, the display control in the second interface can further comprise a representative view, wherein the representative view is a view for reflecting 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 reflecting the content of the target collection interface, and therefore, a user can quickly acquire 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 performed immediately after receiving the collection operation of the collection control by the user, may be performed when the instruction for displaying the second interface is generated, or may be performed at any other moment after receiving the collection operation of the collection control by the user and before displaying the second interface.
In some possible designs, the interface display method further includes: and acquiring a plurality of candidate views corresponding to the target collection interface, and determining the target view from the plurality of candidate views.
In the embodiment of the application, the target view may be a view capable of reflecting 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 reflect the content of the target collection interface, so that the target view capable of reflecting the content of the target collection interface can be determined from the plurality of candidate views, so that a representative view reflecting the content of the target view is further obtained according to the target view, that is, the representative view can reflect the content of the target collection interface.
Specifically, there may be three ways to determine the target view from the multiple candidate views.
The first mode is that a plurality of candidate views are grouped according to the display positions of the plurality of candidate views, so that a plurality of groups of candidate views are obtained; and displaying view selection controls corresponding to each group of candidate views in the plurality of groups of candidate views in a third interface, receiving selection operation of the view selection controls by a user, and determining the candidate view corresponding to the view selection control selected by the user as a target view.
And grouping the candidate views according to the display positions, and acquiring the candidate views which the user wants to select through the view selection control, so that the interaction experience of the user is improved.
And the second mode is to acquire the attributes of a plurality of candidate views respectively, and determine the 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, video, text, picture and the like, and the attribute of the candidate view can reflect the degree that the candidate view represents the target collection interface to a certain extent, so that the target view is determined according to the attribute of the candidate view, the content which the user wants to acquire can be acquired 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, the candidate views are determined to be target views, and the preset number is a positive integer.
The main candidate view can be used as the target view by selecting the candidate views with the front preset number of layers from the view tree, so that the content which the user wants to acquire can be acquired as accurately as possible on the premise of not needing user operation, and the use experience of the user is improved.
It will be understood, of course, that the above three ways do not limit the technical solution of the present application, and those skilled in the art may also use 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 parameters by a preset proportion to generate a representative view.
The representative view can be generated by reducing the size of the target view, is a thumbnail of the target view, and can embody the characteristics of the target view, so that a user can acquire the information of the target collection interface through the representative view, and the user experience is improved.
In some possible designs, obtaining view parameters of 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 derived from updated rear 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, and then 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 may be represented by the representative view, so that the user may see the representative view representing the updated target collection interface, and user experience is improved.
In some possible designs, the interface display method further comprises, prior to displaying the presentation control of the second interface including the representative view: if the application program corresponding to the target collection interface is in a closed state, starting the application program in a background according to the calling information of the target collection interface; the obtaining view parameters of the target view of the target collection interface comprises the following steps: and acquiring view parameters of the target view of the target collection interface from the application program started in the background.
In some possible designs, the interface display method further comprises, prior to displaying the presentation control of the second interface including the representative view: and if the application program corresponding to the target collection interface is in an activated state, running the application program in the background according to the calling information of the target collection interface, and acquiring view parameters of a target view of the target collection interface in the process of running the application program in the background.
As described above, the act 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 acquired, if the application program corresponding to the target collection interface is in a closed state, starting the application program in the background according to the calling information of the target collection interface, and acquiring the view parameters of the target view of the target collection interface from the application program started in the background, so that the generated interface and the target collection interface before the application program is started to jump to the target collection interface are not seen by a user, and only the second interface displaying the display control of the latest version representation view is seen by the user, thereby improving the user experience. When the view parameters of the target view of the latest version are acquired, if the application program corresponding to the target collection interface is in an 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 acquired in the process of operating the application program in the background, so that the process of opening the target collection interface by the application program is not seen by a user, and the user experience is improved.
In some possible designs, the interface display method further includes: in the process of starting an application program in the background, adding an additional restart mark to the activity corresponding to the target collection interface; displaying the target collection interface includes: if the identification of the activity corresponding to the target collection interface exists in the activity thread and the activity is added with an additional restart mark, destroying the activity, restarting the application program corresponding to the activity, and displaying the target collection interface according to the call information of the target collection interface.
When an 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 to distinguish whether the starting is background starting for obtaining the view parameters of the target view or starting caused by triggering the display control by a user, so that different processes can be carried out 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, the activity is started in the background for the view parameter of the target view, and for the activity started in the background, the activity started in the background can be destroyed firstly after the display operation of the display control by the user is received, then the application program is restarted, the target collection interface is displayed on the display screen, and the rapid display of the interface is realized. It should be noted that the process of restarting the application program may be displayed on the display screen, or may not be displayed, and the target collection interface may be 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 steps of: and receiving display operation of a user on a display control, and displaying the representative view in the display control.
In the embodiment of the application, the display control can comprise the display control for displaying the name of the target view, and because the display control occupies smaller space on the display screen, more display controls can be displayed on the display screen when a plurality of display controls exist. When the user wants to watch the 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 deleting 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 receiving the deleting operation of the display control by the user, if the activity corresponding to the target collection interface is added with an additional restart mark, destroying the activity.
When receiving the deleting operation of the display control by the user, if the activity corresponding to the target collection interface is added with an additional restart mark, the application program corresponding to the target collection interface is started by the mobile terminal in the background, so that the activity with the additional 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 includes: and receiving a first touch screen operation and a second touch screen operation which are triggered by the user on the target collection interface in sequence, and displaying collection controls on the first interface if the first touch screen operation and the second touch screen operation meet preset conditions.
By judging whether the twice touch screen operation of the user meets the preset condition, misoperation can be prevented, user experience is improved, and when the touch screen operation meets the preset condition, a 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 conditions include 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 conditions are conditions for displaying the collection control, the collection control can be displayed by receiving the twice touch screen operation of the user meeting the preset conditions, the collection control is prevented from being displayed due to false touch by the user, 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 and a second contact, the first contact is a start point of the first sliding operation, the second contact is an end point of the first sliding operation, and coordinates of the first contact are different from those of the second contact; the first preset touch screen condition comprises: the difference in abscissa between 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 at least one contact is arranged on the display screen at any moment in the process of generating the first contact to generating the second contact.
In some possible designs, the second touch screen operation is a second sliding operation, the second sliding operation includes a third contact and a fourth contact, the third contact is a starting point of the first sliding operation, the fourth contact is an ending point of the second sliding operation, and coordinates of the third contact are different from those of the fourth contact; the second preset touch screen condition includes: the difference in abscissa between the third contact and the fourth contact satisfies a third distance condition; and/or the difference in ordinate between the third contact and 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 execution of the second sliding operation.
Through 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 meeting the preset condition triggered by the user, the collection operation of the user on the collection control is received, and the interactive experience of the user is improved.
In some possible designs, the interface display method further includes: and receiving a first touch screen operation triggered by the user on the target collection interface, and displaying a second floating window.
The second floating window may be used to prompt the user that the first touch screen operation is effective, after the user sees the second floating window, it may be determined whether to continue to execute the second touch screen operation, if the mobile terminal receives the second touch screen operation triggered by the user, and if the first touch screen operation and the second touch screen operation meet the preset conditions, the collection control is displayed, so as to improve user experience.
A second aspect of the present application provides an interface display device, comprising:
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 collection controls, acquiring call information of a target collection interface and collecting the call 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 calling information of the target collection interface;
And the third display unit is used for receiving the display operation of the display control by the user, acquiring the call information of the target collection interface and displaying the target collection interface according to the call information of the target collection interface.
In some possible designs, the call information of the target collection interface includes an activity call chain of an activity corresponding to the target collection interface, where the activity call chain is a call chain of an activity required to be generated by displaying the target collection interface.
In some possible designs, the interface display device further comprises: the activity determining unit is used for acquiring a plurality of activities corresponding to the first interface and determining one of the activities corresponding to the first interface as the activity corresponding to the target collection interface.
In some possible designs, the interface display device further comprises:
The view parameter acquisition unit is used for acquiring view parameters of a target view of the target collection interface after receiving collection operation of a user on the collection control;
and the display control display unit is used for displaying a display control of the second interface, wherein the display control comprises a representative view, the representative view is a view reflecting the content of the target view, and the representative view is obtained according to view parameters of the target view.
In some possible designs, the interface display device further comprises: 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 plurality of 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 plurality of candidate views according to the display positions of the plurality of 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 plurality of groups of candidate views respectively in the third interface;
And the target view determining subunit is used for receiving the selection operation of the view selection control by the user 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:
And acquiring a plurality of candidate views corresponding to the target collection interface, respectively acquiring attributes of the plurality of candidate views, and determining the target view from the plurality of candidate views according to the attributes of the plurality of candidate views.
In some possible designs, the target view determination unit is specifically configured to:
And acquiring a plurality of candidate views corresponding to the target collection interface, selecting a candidate view of a front preset number of layers from a view tree formed by the plurality of candidate views, determining the candidate views as target views, wherein the preset number is a positive integer.
In some possible designs, the view parameter obtaining unit is further configured to obtain updated view parameters of the target view of the target collection interface after receiving a collection operation of the collection control by the user;
And the display control display unit is also used for displaying a display control of the second interface, wherein the display control comprises a representative view, the representative view is a view reflecting the content of the target view, and the representative view is obtained according to updated view parameters of the target view.
In some possible designs, the interface display device further comprises:
The background starting application program unit is used for starting the application program if the application program corresponding to the target collection interface is in a closed state;
and the view parameter acquisition unit is also used for acquiring view parameters of the target view of the target collection interface from the application program started in the background after receiving the collection operation of the collection control by the user.
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 comprises:
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 conditions include 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 and a second contact, the first contact is a start point of the first sliding operation, the second contact is an end point of the first sliding operation, and coordinates of the first contact are different from those of the second contact;
The first preset touch screen condition includes:
The difference in abscissa between the first contact and the second contact satisfies a first distance condition; and/or the number of the groups of groups,
The difference in ordinate between the first contact and the second contact satisfies a second distance condition; and/or the number of the groups of groups,
In the process from the first contact to the second contact, at least one contact is arranged on the display screen at any moment.
In some possible designs, the second touch screen operation is a second sliding operation, the second sliding operation includes a third contact and a fourth contact, the third contact is a start point of the second sliding operation, the fourth contact is an end point of the second sliding operation, and coordinates of the third contact are different from those of the fourth contact;
The second preset touch screen condition includes:
the difference in abscissa between the third contact and the fourth contact satisfies a third distance condition; and/or the number of the groups of groups,
The difference in ordinate between the third contact and the fourth contact satisfies a fourth distance condition; and/or the number of the groups of groups,
During execution of the second sliding operation there is only one contact on the display screen at any time.
In some possible designs, the interface display device further comprises:
the display control deleting unit is used for receiving the deleting operation of the user on the display control and deleting the display control.
In still another aspect, the present application provides an interface jumping apparatus, including: a processor and a memory;
A memory for storing instructions; and the processor is used for executing the instructions in the memory and executing the methods of the aspects.
Yet another aspect of the application provides a computer-readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the methods of the above aspects.
Yet another aspect of the application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the methods of the above aspects.
Compared with the prior art, in the interface display method, the device and the equipment provided by the 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 can be obtained by receiving the collection operation of the collection control in the first interface by the user, and the call information is collected, and when the second interface including the display control of the target collection interface is displayed on the display screen, the display operation of the display control by the user can be received, and the target collection interface is displayed according to the call information of the target collection interface associated with the display control, because the display control is associated with the call information of the target collection interface. That is, the user only needs to trigger the collection control of the first interface and the display control of the second interface, so that the target collection interface can be displayed again without performing repeated operation step by step according to a specific sequence, operation steps are saved, and therefore operation time of the user is saved.
Drawings
FIG. 1 is a schematic diagram of an interface in an embodiment of the application;
FIG. 2 is a flowchart of an interface display method according to an embodiment of the present application;
FIG. 3 is a schematic view of a suspended window according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating touch screen operation according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a touch screen operation response display according to an embodiment of the present application;
FIG. 6 is a schematic representation of a replicated view in accordance with an embodiment of the present application;
FIG. 7 is a schematic diagram of an updated target collection interface according to an embodiment of the present application;
FIG. 8 is an update schematic of a replicated view in an embodiment of the present application;
FIG. 9 is a diagram of an operating system according to an embodiment of the application;
FIG. 10 is a schematic diagram of activity generation in accordance with an embodiment of the present application;
FIG. 11 is a flowchart of another method for displaying an interface according to an embodiment of the present application;
FIG. 12 is an interactive diagram showing a first floating window process in accordance with 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 replicated view according to an embodiment of the present application;
FIG. 15 is an interaction diagram of a copy view update process in accordance with an embodiment of the present application;
FIG. 16 is an interaction diagram of another copy view update process in accordance with 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 delete duplicate view process in an embodiment of the application;
FIG. 19 is a schematic diagram of an interface display device according to an embodiment of the application;
Fig. 20 is a schematic structural diagram of an apparatus for performing an interface display method according to an 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 for repeated jumping, and improving user experience.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise 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.
The current interface display mode can only jump from other interfaces to the concerned interface according to the specific interface jump sequence specified by the application program, so as to realize the display of the concerned interface. For example, as shown in fig. 1 (e), for a text interface 100 in a WeChat (an instant messaging application) public number, the opening sequence may be referred to as shown in fig. 1 (a), fig. 1 (b), fig. 1 (c) and fig. 1 (d), where the dotted line portion is the area that needs to be clicked for the interface jump, specifically: weChat 101 in the Main interface 110-WeChat chat interface 120 "subscription number" 102-daily bean 103 in subscription number interface 130-tweet profile "Zhou Jielun in tweet list interface 140, I will not always recall you, but never forget about 104. Assuming that the push interface 100 is the interface of interest to the user, there may be a problem of inconvenient operations regardless of whether other interfaces (i.e., the interfaces 110, 120, 130, and 140) are adjacent to the interface of interest to the user. The following description is made according to whether 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 implement the jumping of the interface through multiple jumping operations so as to display the concerned interface. For example, after the user opens the text-pushing interface 100 shown in fig. 1 (e), the user returns to view the WeChat message, and the display interface is the WeChat chat interface 120, as shown in fig. 1 (b). If the user wants to open the original text interface 100, he needs to click on the "subscription number" 102 in the WeChat chat interface 120 and the "daily bean" 103 in the subscription number interface 130 and the text introduction "Zhou Jielun in the text list interface 140, he will not always recall you, but will never forget" 104, and the user needs to memorize different operation steps, spends much time and effort, if he does not remember which public number the original text interface 100 is, he is likely to find the article, i.e. he cannot successfully open the text interface 100, resulting in poor user experience. For another example, after the user exits the WeChat and opens another application, for example, opens a microblog (an application that is shared in a short and real-time message in real time), if the user wants to open the text interface 100 in fig. 1 (e) in the WeChat public number, he needs to open the WeChat first and then repeatedly jump according to the above opening sequence, which also needs to take more time and effort.
When the other interfaces are adjacent to the interface concerned by the user, the user can skip the interface only by performing one skip operation, but the skip efficiency is low. For example, the user opens the tweet list interface 140 shown in FIG. 1 (d), in which a plurality of tweets are presented, each tweet being arranged in chronological order. When the number of the push texts is large, the user wants to open the push text interface 100 shown in fig. 1 (e), and may select the one of the push texts to be watched from the plurality of messages to open, if the push date of the push text to be watched by the user is early, it takes much time and effort to find the push text in a plurality of history push texts, and it is not easy to quickly locate the previous push text, resulting in poor user experience.
In order to solve the above problems, the embodiments of the present application provide an interface display method and apparatus, where the method is applied to a mobile terminal, and the mobile terminal includes, but is not limited to, a mobile phone and a tablet computer. According to the interface display method provided by the embodiment of the application, through receiving the collection operation of the user in the first interface, the call information of the target collection interface in the first interface is obtained, and the call 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 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, and the target collection interface is directly displayed according to the call information of the target collection interface associated with the display control, so that the user does not need to repeatedly operate the target collection interface step by step according to a specific sequence, the display of the target collection interface is realized quickly, and the operation is simple and quick, and the user experience is better.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating steps of an interface display method on a mobile terminal according to an embodiment of the application. The interface display method provided in the embodiment of the application is specifically and exemplarily described below.
S201, displaying a first interface, wherein the first interface comprises a target collection interface and collection controls.
The target collection interface refers to an interface that the user pays attention to, and may 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 a text interface 100 as an example.
In a conventional manner, a user wants to jump from other interfaces to a target collection interface, and display of the target collection interface is achieved, which is usually achieved by performing one or more interface jumping 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 floating window of the first interface, the display position of the floating window can be a preset position on the display screen, for example, the display position can be the left side of the display screen, the right side of the display screen, the upper side or the lower side of the display screen, the shape and the size of the floating window can be arbitrary, the floating window can cover the whole display screen, can be smaller than the display screen, can have a certain transparency, and can completely shield the target collection interface. As shown with reference to fig. 3 (a), an "add+" 301 may be provided as a collection control in the first floating window 310 (see gray floating window area).
Alternatively, the favorites control can be displayed in response to a user operation. 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 collection interface and a first floating window 310 provided with collection controls.
In order to avoid misoperation, the collection control can be displayed in a mode that a user performs two touch screen operations on the target collection interface. The mobile terminal acquires 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 collection controls on the first interface if the first touch screen operation and the second touch screen operation meet preset conditions. If the collection control is set in the first floating window 310, the first floating window 310 provided with the collection control is displayed in response to a first touch screen operation and a second touch screen operation which are triggered by a user and meet a preset condition.
The preset condition may be one or more of the following conditions: 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.
As one possible implementation, the first touch screen operation may be a first sliding operation, the first sliding operation including a first contact and a second contact. The first contact point is the starting point of the first sliding operation, the second contact point is the end point of the first sliding operation, and the coordinates of the first contact point are different from those 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 between the abscissa of the first contact and the second contact satisfies a first distance condition, the difference between the ordinate of the first contact and the second contact satisfies a second distance condition, and at least one contact is on the display screen at any time during the process from the generation of the first contact to the generation of the second contact, etc.
In the process of generating the first contact and generating the second contact, if at least one contact is arranged on the display screen at any time, the first touch screen is indicated to be operated as a first sliding operation. If there is only one contact on the display screen at any time, the first sliding operation is a single-finger sliding operation. If a plurality of contacts are arranged on the display screen at any time, 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 predetermined shape, for example, sliding along a triangle, a "Z" shape, or a circular shape, as shown with reference to fig. 4 (a), 4 (b), and 4 (c).
The first sliding operation is considered to be a longitudinal sliding operation 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 fulfilled. If at the same time the difference in abscissa between the first contact and the second contact is less than or equal to the second distance (e.g. 0.5 cm), i.e. the second distance condition is fulfilled, the first sliding operation is considered to be a vertical sliding operation. If the condition that there is only one contact on the display screen at any time is combined in the process of executing the first sliding operation at the same time, the first sliding operation can be considered as a single-finger vertical sliding operation.
The first sliding operation is considered to be a lateral sliding operation if the difference in abscissa between the first contact and the second contact is greater than or equal to the first distance (e.g. 2 cm), i.e. the first distance condition is fulfilled. 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 (for example, 0.5 cm), that is, the second distance condition is satisfied, the first sliding operation is regarded as a horizontal sliding operation. If the condition that there is only one contact on the display screen at any time is combined in the process of executing the first sliding operation at the same time, the first sliding operation can be considered as a single-finger horizontal sliding operation.
Of course, in addition to the above conditions, the sliding direction of the first sliding operation may be specified. That is, if the first sliding operation is a longitudinal sliding operation, it may also be provided that the ordinate of the first contact point is smaller than the ordinate of the second contact point, or that the ordinate of the first contact point is larger than the ordinate of the second contact point. 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 that 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, where the second sliding operation includes a third contact and a fourth contact, the third contact is a start point of the second sliding operation, the fourth contact is an end point of the second sliding operation, and coordinates of the third contact are different from coordinates of the fourth contact. At this time, the second preset touch screen condition may include one or more of the following conditions: the difference between the abscissa of the third contact and the fourth contact satisfies a third distance condition, the difference between the ordinate of the third contact and the fourth contact satisfies a fourth distance condition, and at least one contact is on the display screen at any time in the process from the generation of the third contact to the generation of the fourth contact, etc. The third distance condition and the fourth distance condition may be analogous to the first distance condition and the second distance condition, for relevant examples, see above. The third distance and the fourth distance may be the same as or different from the first distance and the second distance in value.
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 the collection control can be displayed. The preset time condition may be that an interval time between the first touch screen operation and the second touch screen operation is less than or equal to a first threshold value. The first threshold should be a short time, e.g. within 1s, i.e. when the interval between the first touch screen operation and the second touch screen operation is small, both touch screen operations are considered to be instructions for triggering the same instruction, i.e. displaying the favorites control.
In the embodiment of the present application, the user may also be prompted that the touch screen operation is effective, 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 operation of the user is not acquired within the preset time period, the display of the second floating window 1701 may be canceled. 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 is intuitively interacted with, and the user experience is improved. In the latter case, the second floating window 1701 may not be displayed, and does not affect the implementation of the embodiment of the present application.
In the embodiment of the present application, the first touch screen operation and the second touch screen operation may be the same operation or may be different operations, for example, the first touch screen operation and the second touch screen operation may be both lateral sliding operations, as shown in fig. 5 (a), and in the push interface 100, sliding from left to right is used 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). The sliding from left to right will again be a second touch screen operation, as shown in fig. 5 (c), in response to which a first hover window 310 with a collection control "add+" 301 disposed on the left side of the interface appears, as shown with reference to fig. 3 (a). The push interface 100 forms a first interface as a target collection interface and a floating window 310.
S202, receiving collection operation of a user on collection controls, acquiring call information of a target collection interface, and collecting the call information.
The user's collection operation of the collection control may be implemented by clicking on the collection control on the first interface. In this embodiment, the mobile terminal may receive a collection operation of the collection control by the user, obtain call information of the target collection interface, and collect the call information.
The call information of the target collection interface refers to a path capable of opening the target collection interface, and may be, for example, an Activity call chain corresponding to an Activity (Activity) of the target collection interface, where the Activity call chain is a call chain for an Activity required to be generated by displaying the target collection interface.
In practice, the first interface may include multiple interfaces, which are not necessarily all target collection interfaces that the user wants to collect. Therefore, when a plurality of interfaces are included in the first interface, the target collection interface may be determined from the plurality of interfaces.
For example, the first interface may include, in addition to the target collection interface, other interfaces for application windows for assisting the user, that is, preset interfaces, which are unlikely to be target collection interfaces 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 other than the preset interfaces.
For example, the target collection interface that the user wants to collect is the push interface 100, and the preset interface may include a shortcut menu interface, such as an interface corresponding to a 360-degree acceleration ball; or the preset interface may be an interface including a collection control, such as the first floating window 310.
In the display method, the number of interfaces except the preset interface in the first interface is only one, because in most cases, only one application window is the main window, for example, fig. 1 (e), and the main window is a WeChat window, then the interfaces except the preset interface, that is, the text-pushing interface 100, displayed on the display screen can be directly obtained as the target collection interface.
If there are a plurality of interfaces except the preset interface in the first interface, the specific selection of which interface is used as the target collection interface can be selected by the user. For example, two or more application windows in the first interface are displayed on the same screen, for example, a window for displaying a micro-letter in the upper half of the display screen and a window for displaying a micro-blog in the lower half of the display screen, where the interfaces of the two application programs are all possible target collection interfaces that the user wants to select. At this time, the mobile terminal may obtain representative views or names of representative views of the multiple interfaces except the preset interface, and the obtaining manner of the representative views may refer to the obtaining manner in S203, generate an interface selection control for each interface, and display the representative view and/or the name of the representative view of the corresponding interface in the interface selection control. And 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 in the first interface are used to receive the collection operation of the user on the collection control, 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 the three candidate interfaces except for the preset interface are respectively: "VIEW1 name" 321, "VIEW2 name" 322, "VIEW3 name" 323 (see within the dashed box), which may be displayed as text labels, and a "+"324 (see within the dashed box) VIEW selection control is formed on the right side of VIEW1 name "321 for selection by the user. If the fact that the user clicks the VIEW selection control "+"324 on the right side of the VIEW1 name 321 is detected, the user can be considered to select an interface corresponding to the VIEW1, and the mobile terminal correspondingly takes the interface corresponding to the VIEW1 as a target collection interface.
In addition, in practical application, when the mobile terminal receives the collection operation of the collection control by the user, and obtains the calling information of the target collection interface according to the collection operation and collects, the collection process is completed, and at the moment, 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, or can 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 floating window in the display screen. Taking the example that the collection control "add+" 301 is set in the first floating window 310, as shown in fig. 3 (a), clicking on an area outside the first floating window 310 and inside the text interface 100 can hide the first floating window 310, that is, can hide the collection control "add+" 301 in the first floating window 310 at the same time.
S203, displaying a second interface, wherein the second interface comprises a display control of the target collection interface.
In the second interface, the display control of the target collection interface is included, wherein the display control is a control capable of receiving display operation of a user, and the display control is associated with call 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 a floating window, for example, the first floating window 310 may be a first floating window or other floating windows may be a second floating window.
Alternatively, the presentation control may be displayed in response to a user operation, and when the second interface includes an application program interface, the first floating window 310 provided with the presentation control may be displayed in response to a user operation on the application program interface, and the type of the user operation on the application program interface may refer to the type of operation 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 presentation controls. The application program interface may be another interface of the application program corresponding to the target collection interface, may be an interface of another application program different from the application program corresponding to the target collection interface, or may 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 part of the views in the target collection interface. Specifically, all or part of the views can be selected from the target collection interface to serve 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 combined view of the target views.
In the embodiment of the application, the target view is a view capable of reflecting 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 reflect the content of the target collection interface, so that a 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, multiple candidate views may be grouped according to the display positions of the candidate views in the screen, resulting in multiple sets of candidate views. And displaying view selection controls corresponding to each group of candidate views in the plurality of groups of candidate views in a third interface, receiving selection operation of the view selection controls by a user, 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 according to their locations in the screen, one group being located in the upper half of the screen and the other group being located in the lower half of the screen. Each set of candidate views corresponds to a view selection control, e.g., a set of candidate views in the upper half of the screen corresponds to a first view selection control and a set of candidate views in the lower half of the screen corresponds to a second view selection control. If the user clicks the first view selection control, a set of candidate views located in the top half are taken as target views.
As another possible implementation manner, the attributes of the multiple candidate views may be acquired respectively, and the target view is determined from the multiple candidate views according to the attributes of the multiple candidate views. For example, the plurality of candidate views may include candidate views with different attributes such as text, picture, video and audio, and the attributes of the candidate views reflect the degree that the representative candidate view represents the target collection interface to a certain extent, so that the plurality of candidate views may be grouped according to the different attributes of the candidate views, and the content that the user wants to acquire may be acquired as accurately as possible without requiring the user to operate. For example, the user may select candidate views of pictures and text as the target view. Of course, the above grouping basis does not limit the present application, and those skilled in the art can also design the present application according to the specific circumstances. Candidate views may be grouped, for example, according to web page titles, text, 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 example, for an article, a user may typically select a view corresponding to a title as the target view; for video websites, the user will typically select the video itself as the target view.
As yet another possible implementation, the multiple candidate views may not be in a side-by-side relationship, for example, a view tree may be formed, where multiple layers may be included, a first layer being a root view, a second layer being a level 2 sub-view, and so on, in top-to-bottom order. It will be appreciated that the fewer the number of layers, the fewer the number of candidate views involved; the greater the number of layers, the greater the number of candidate views involved. At this time, candidate views of a previous preset number of layers can be selected from the view tree, and the candidate views are determined as target views, wherein the preset number is a positive integer, so that the main candidate views can be used as the target views, and the content which the user wants to acquire can be acquired as accurately as possible on the premise of not needing user operation.
In practical applications, in order to improve the user experience, the user may determine a specific number of layers. For the convenience of user determination, the candidate views of the front preset number of layers determined by the user can be displayed to the user, and if the user feels that the determined candidate views of the front preset number of layers are insufficient to express the content displayed by the target collection interface or the determined number of views of the target view is excessive, the number of layers of the displayed candidate views can be adjusted through a sliding block displayed on the interface, so that the depth of the displayed view tree is determined.
After the target view is selected and divided, a representative view can be formed according to the target view, and the representative view is obtained according to the target view, so that the content of the target view can be embodied, and the target view is the view in the target collection interface, so that the representative view is the view capable of embodying the content of the target collection interface.
After obtaining the representative view which can embody the content of the target collection interface, the representative view can be displayed in the display control of the target collection interface.
For example, a plurality of presentation controls may be displayed in a list on a display screen, where the display location may be in the first floating window 310. As shown in fig. 6 (a), view "Zhou Jielun, i will not always recall you, but never forget" 401 as a representative view, is located 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, it may be displayed at the position 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 number view corresponding to the tweet, the title of the tweet "Zhou Jielun, i will not always recall you, but never forget" view and release date view in the tweet interface 100, and the representative view is a thumbnail of the target view.
In the embodiment of the application, the display control can further comprise a display control, wherein the display control can display the view name of the target view, the name of the representative view can be the same as the name of the target collection view, can be the same as the name of the target view, and can also comprise 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 less space on the display screen, when there are multiple display controls, more display controls can be displayed on the display screen.
As shown in fig. 6 (b), the display control displaying the name of representative view "daily bean-Zhou Jielun …"402 and representative view "Zhou Jielun, i do not always recall you, but never forget" 401 to display in the first item of the list, and the display control displaying the name of representative view "daily bean-Zhou Jielun …"402 is located in representative view "Zhou Jielun, i do not always recall you, but never forget" 401 above.
In a specific implementation, the content of the display control may also be changed, for example, when the content of the display control includes a representative view, or includes a representative view and a display control displaying a name of the representative view, if there are multiple representative views, and the display screen of the mobile terminal is smaller, the 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 of the view may be a click event or a sliding event of a user on a preset area on the display screen, 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 space of the first floating window 310.
After hiding the representative view, the display control only comprises a display control for displaying the name of the representative view, and the display control can be displayed in a list mode. As shown in fig. 6 (c), a display control displaying the name "daily bean-Zhou Jielun …"402 representing the view is displayed in the first item of the list in the first floating window 310, a display control displaying the name "QQ viewpoint-as yet no …"403 representing the view and a display control displaying the name "daily cat supermarket-time limited robustly …"404 representing the view are displayed as display controls of other interfaces, in the second item and the third item of the list.
Before hiding the representative view, the representative view "Zhou Jielun, i don't always recall you, but never forget" 401 "as shown in fig. 6 (b), after hiding the representative view, only the display control with the name" daily bean-Zhou Jielun … "402 of the representative view is displayed, as shown in fig. 6 (c).
Correspondingly, if the display content of the display control only includes the name of the representative view, the representative view may be displayed by receiving a viewing operation of the user on the name of the representative view, and the triggering manner may be clicking on the name of the representative view. For example, referring to FIG. 6 (c), clicking on the display control displaying the name "daily bean-Zhou Jielun …"402 representing the view may display the representative view "Zhou Jielun" below the display control of "daily bean-Zhou Jielun …"402, i will not always recall you, but never forget "401, as shown in FIG. 6 (b).
In practical applications, the presentation control may default to include only the display control in order for the user to see more content. When a user needs to see a certain representative view, clicking a corresponding display control to display the representative view; when the user does not need to see the representative view, the display control may be clicked again, or the blank of the first hover window 310 may be clicked, so that the representative view is hidden.
Of course, it will be appreciated that in hiding or displaying a certain representative view, the positions of other representative views or other display control positions should also change accordingly. For example, if changing from fig. 6 (b) to fig. 6 (c), i.e. hiding the representative view "Zhou Jielun, i will not always recall you, but never forget" 401 ", the positions of the display control displaying the name" QQ viewpoint "of the representative view-heretofore no …"403 and the display control displaying the representative view name "kitten supermarket-time limited robbery …"404 are adaptively moved upward; while changing from fig. 6 (c) to fig. 6 (b), i.e. displaying the representative view "Zhou Jielun, i will not always recall you, but never forget" 401 ", the position of the display control displaying the name" QQ viewpoint "of the representative view-no …"403 so far, and the display control displaying the name "kitten supermarket-time limited robber …"404 of the representative view are adapted to move downwards.
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 text in the WeChat public number in the text interface 100 in FIG. 1 (e) is deleted, to form the updated target collection interface 500 as shown in FIG. 7, optionally, the representative view may be generated according to the target view, which is the view in the updated target collection interface 500. Specifically, the representative view may be generated in two ways.
In the first mode, the mobile terminal may automatically obtain the target view according to the updated target collection interface 500, monitor the target collection interface 500, obtain the target view from the updated target collection interface 500 when it is monitored that the target collection interface 500 is updated, and generate the representative view according to the target view.
In the second mode, the view of the target collection interface may be obtained by receiving a view 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 if the target collection interface is the updated target collection interface 500, the generated representative view is the 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 viewing operation of the name of the representative view.
The second way of generating the representative view is described below with reference to the accompanying drawings. Referring to fig. 8 (a), a display control including a name "daily bean-Zhou Jielun …"402 of a representative view is displayed in the first floating window 310, a user performs a viewing operation on the name of the representative view by clicking the display control "daily bean-Zhou Jielun …"402, and the mobile terminal receives a viewing operation on the name of the representative view by the user, and generates and displays the representative view, where the generated representative view is "the content has been deleted by the publisher" 601, and the name of the corresponding displayed representative view is "daily bean-the content …"602. The user may also click on the blank of the first floating window 310, causing the mobile terminal to hide the representative view "the content has been deleted by the publisher" 601, displaying only the name "daily bean-the content …"602 of the representative view.
S204, receiving the display operation of the display control by the user, acquiring the call information of the target collection interface, and displaying the target collection interface according to the call information of the target collection interface.
The user's presentation operation on the presentation control may be implemented by clicking on the presentation control on the second interface. The display control means a control for receiving a display operation of a user, and may be a physical key or a virtual key, and the display control may be disposed in a floating window, for example, may be disposed in the first floating window 310. Through receiving the display operation of the display control by the user, the mobile terminal can acquire the call information corresponding to the target collection interface corresponding to the display control according to the association relation between the display control and the call information of the target collection interface.
The mobile terminal can display the target collection interface according to the call 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 as shown in fig. 1 (b), by receiving the user clicking on the representative view "Zhou Jielun" as the show control in the first floating window 310, i will not always recall you, but never forget the operation of "401", and the mobile terminal will jump from the WeChat chat interface 120 to the text interface 100 in response to the jump from the WeChat chat interface 120, so as to realize the quick display of the text interface 100, and the user can realize the quick display of the interface without memorizing different operation steps.
When the second interface includes the tweet list interface 140 and the first hover window 310 as shown in fig. 1 (d), or the second interface includes an interface of an application program other than a micro-letter (for example, an interface of a micro-blog) and the first hover window 310, i can skip from the tweet list interface 140 or the interface of the micro-blog to the tweet interface 100 by receiving the representative view "Zhou Jielun" of the user clicking the first hover window 310 as a presentation control, i will not always recall you, but will never forget about the operation of "401. The user does not need to search for a desired text and additionally open an application program corresponding to the text interface 100, so that operation steps are reduced and user experience is improved.
In the embodiment of the application, the display control corresponding to the target collection interface can be deleted, for example, the representative view and/or the name of the representative view serving as the display control can be deleted.
Specifically, the mobile terminal can delete the display control by receiving the deletion operation of the display control by the user. As shown in fig. 8 (c), the name "sun bean" 603 on the right side of the content … "602 may be used as a deletion control, where the deletion control may be a control that may receive a deletion operation of a user, and 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 as to form a first floating window 310 referring to fig. 8 (d).
It should be noted that, in the embodiment of the present application, modes of clicking, double clicking, long pressing, etc. for each control are merely exemplary, and other clicking modes may be also available during specific operations, which are not limited correspondingly in the embodiment of the present application, and it is understood that different instructions may be triggered by executing different clicking operations on the same control, where clicking modes do not conflict with each other.
In summary, in the interface display method provided in the embodiment of the present application, when the first interface is displayed on the display screen, the user may obtain the call information of the target collection interface in the first interface by receiving the collection operation of the collection control in the first interface, and collect the call information, and when the second interface is displayed on the display screen, the second interface includes the display control of the target collection interface, where the display control is associated with the call information of the target collection interface, receive the display operation of the display control by the user, and display the target collection interface according to the call information of the target collection interface associated with the display control. That is, the user only needs to trigger the collection control of the first interface and the display control of the second interface, so that the target collection interface can be displayed again without performing repeated operation step by step according to a specific sequence, operation steps are saved, and therefore operation time of the user is saved.
In the embodiment of the 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 Android (Android) phones as an example, the operating systems of the Android (Android) phones can be divided into multiple layers, namely an Android Application layer (Application) 710, an Android Application framework layer (Application Framework) 720, an Android system running layer (Libraries and Runtime) 730 and a Linux Kernel layer (Linux Kernel) 740 from high to low, and the Android system running layer is shown in fig. 9.
The application layer 710 includes some core application packages and custom applications, such as contacts 711, microblogs 712, weChat 713, browser 714, e-mail 715, etc.; the application framework layer 720 is the basis for android application development, provides the basic framework required for application implementation, and is used for supporting the content 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 configured to support various components of an 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 (Open Computing Language, openCL) 735, and the like in a system runtime; the Linux kernel is also an abstract layer used as a hardware and software stack and 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 relevant to the embodiment of the present application, and are not specifically described herein.
For the application layer and the application framework layer, for example, after the 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, the window manager calculates and draws a window, specifically, a window object associated with the activity may be called by calling a View (setContentView) method, the window object is used for describing an application window corresponding to the activity, the window object calls a View (View) object therein, the View object recursively calls a drawing method of its subclass to complete drawing of each sub-View control (actually, before drawing, the size of the View and the position displayed in a screen are determined through layout (layout) and measurement), and after all the sub-views are drawn, the screen buffer service and the underlying hardware drawing program communicate to finish refreshing and displaying the interface on the screen.
The information of the activity is usually in the form of package name, class name, etc., and in the specific implementation, the activity is usually stored in the form of a stack. Referring to fig. 10, a WeChat is opened, a display screen displays the WeChat chat interface 120 as shown in fig. 1 (b), and a stack 801 is created, resulting in an activity 1 corresponding to the WeChat chat interface 120, the activity 1 being located at the top of the stack 801. The micro-letter 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 generates the activity 2 corresponding to the subscription number interface 130, the current stack is the stack 802, and 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 "daily bean" 103, the mobile terminal opens a push list interface 140 as shown in fig. 1 (d), the push list interface 140 includes a plurality of push information, and the mobile terminal generates an activity 3 corresponding to the push list interface, the current stack is a stack 803, and the activity 3 is at the stack top of the stack 803, and the activities 2 and 1 are suspended. The user clicks on the push profile "Zhou Jielun, i will not always recall you, but never forget about" 104 ", the mobile terminal displays the push interface 100 as in fig. 1 (e), and generates an activity 4 corresponding to the push, the current stack being stack 804, and activity 4 being at the top of the stack 804, and activities 3,2 and 1 being paused. When the action of returning to the previous interface is triggered, the push list interface 140 shown in fig. 1 (d) is returned from the push interface 100 shown in fig. 1 (e), the activity 4 is popped from the stack top of the stack 804, namely destroyed, the current stack is the stack 803, namely, the activity 3 is at the stack top, and the activity 3 is visible again. In this embodiment, the visible meaning of the activity means that the interface corresponding to the activity is displayed on the display screen.
The generation of each activity can be realized through an activity call chain, wherein the activity call chain refers to a generation path of the activity. When the target collection interface is in a non-visible state, the target collection interface can be made visible by jumping from other interfaces to the target collection interface according to the active call chain. For example, as known by the stack 803, an activity call chain for activity 3 may be "activity 1-activity 2-activity 3", i.e., activity 1 is generated first, then activity 2 is generated, and finally activity 3 is generated. The activity manager 721 may 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.
Thus, 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 interface can be managed by managing the activity, and the interface can be jumped by jumping the activity. The interface display method provided by the application 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 at an application layer for implementing the interface display method of the present application, and the user completes the triggering of a series of instructions through the operation interface provided by the first application. The first system service is a service component developed at an application framework layer to provide support for a first application program, the second system service is another service component except the first system service in the android system, and the second application program is another application program 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 steps of an interface display method on a first application program side according to an embodiment of the application. The interface display method provided in the embodiment of the application is specifically and exemplarily described below.
S1101, displaying collection controls 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 collection controls may be disposed in a floating window, and as shown with reference to fig. 3 (a), the "add+" 301 may be disposed as a collection control in a first floating window 310 (see gray floating window area). The collection control may be displayed in a first application, with the display interface of the first application being the first floating window 310.
Meanwhile, a target collection interface is also displayed on the display screen, and the target collection interface may be an interface in an application program, for example, a tweet interface 100, a WeChat chat interface 120, a subscription number interface 130, a tweet list interface 140, and the like. The floating window provided with the collection control and the target collection interface form a first interface.
The collection controls may be displayed in response to a user operation, and when the currently displayed interface is the display target collection interface, in response to a user operation, the first floating window 310 provided with the collection controls is displayed, thereby forming the first interface. While the first floating window 310 is in the display state, the target collection interface may be paused, but still in the visible state.
In order to avoid misoperation, the collection control can be displayed in a mode that a user performs two touch screen operations on the target collection interface. The mobile terminal acquires 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 collection controls on the first interface if the first touch screen operation and the second touch screen operation meet preset conditions. The preset conditions may refer to the description in S201, and will not be described herein.
For ease of understanding, referring to fig. 12, fig. 12 is an interaction diagram between the first system service, the second system service, and the first application program in the process that the first application program displays the first floating window and the collection control therein according to the touch screen operation of the user, and it is understood that the following description is merely exemplary and not limiting the technical solution of the present application. The interaction 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 of pressing a screen, time and coordinates of 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 determines that the first touch operation accords with the first touch condition according to the touch operation information, requesting to create a second floating window 1701 from the second system service;
3) The second system service receives a request to create a second floating window 1701, obtains a view of the second floating window 1701, and enables the first application program to display the second floating window 1701;
4) The second system service acquires second touch screen operation of the user, determines touch screen operation information of the second touch screen operation, such as time and coordinates of pressing down a screen, time and coordinates of 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) If the first system service determines that the second touch operation meets the second touch condition according to the touch operation information, the first system service requests to create the first floating window 310.
S1102, receiving collection operation of a user on collection controls, acquiring call information of a first activity corresponding to a target collection interface, and collecting the call information.
The user's collection operation of the collection control may be implemented by clicking on the collection control on the first interface. The user's collection operation is an instruction for instructing 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 for the collection control in the first interface, the collection operation of the user on the collection control is received, the mobile terminal may obtain activity call information of a first activity, where the first activity is an activity corresponding to the target collection interface, specifically, may obtain an activity call chain of the first activity, where the activity call chain of the first activity refers to a call chain capable of generating a path of the first activity, and is an activity required to be generated for displaying the target collection interface.
When the user operates the collection of the collection control, the first interface comprises the collection control and the target collection interface, the interface where the collection control is located is used as the interface currently displayed on the display screen, 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 must be 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, the activities in the visible state may be used as candidate activities, and the first activity may be determined from a plurality of candidate activities.
Specifically, if the candidate activities include preset activities, the preset activities may be, for example, activities corresponding to application windows used by the auxiliary user on the display screen, for example, activities corresponding to shortcut menus, activities corresponding to first applications corresponding to collection controls, and the like, where the first activities may be determined from the candidate activities other than the preset activities.
In general, the number of candidate activities except for the preset activities is only one, because in most cases, only one application window is the main window, as shown in fig. 1 (b) to 1 (e), the main window is a WeChat window, the application window displayed on the display screen includes a WeChat window and a first floating window 310 provided with a collection control, and at this time, the candidate activities except for the preset activities corresponding to the first floating window 310 only have activities corresponding to the WeChat window, i.e., the activities corresponding to the WeChat window can be regarded as the first activities. At this time, the first application may obtain an activity in a visible state, for example, an activity at the top of the stack, that is, the activity may be the first activity corresponding to the target collection interface.
When two or more application program windows are displayed on the same screen, namely, a plurality of candidate interfaces except the preset interface are provided, for example, a micro-letter window can be displayed on the upper half part of the display screen, a micro-blog window can be displayed on the lower half part of the display screen, and a suspension window of a shortcut menu is also displayed at the same time, at this time, two activities except the preset activity are possible to be the first activity corresponding to the target collection interface which the user wants to select. At this time, after receiving the collection operation of the user on the collection control, the first application may obtain representative views or names of representative views corresponding to a plurality of candidate activities except for the preset activity, and generate an activity selection control for each candidate activity, where the activity selection control is the same as the interface selection control in S202, and display the representative views and/or the names of the representative views in the third floating window 320, and display the activity selection control corresponding to the candidate activity. The mobile terminal receives a selection operation of the activity selection control by a user, and determines an 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 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 sub-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, an activity call chain of the first activity can be obtained through the second system service, so that when a user performs display operation on the display control of the target collection interface, display of the target collection interface corresponding to the first activity is realized according to the activity call chain of the first activity.
For easy understanding, the following description is given of a process of displaying a representative view corresponding to the candidate activity to the user by the first application program and determining the first activity according to the selection operation of the activity selection control by the user, and it is understood that the following description is merely exemplary and does not limit the technical solution of the present application. Referring to fig. 13, in the process of determining the first activity, an interaction diagram among the first system service, the first application program, and the second application program includes the following steps:
1) The first application program receives the collection operation of the collection control, creates a third floating window 320 through the second system service, and is used for displaying a representative view of the candidate activity, and requesting the second system service to acquire the identification of the activity in the visible state;
2) The second system service sends an identification list to the first application program;
3) The first application program requests to acquire a representative view corresponding to the activity in a visible state from the second system service;
4) The second system service obtains a representative view corresponding to the candidate activity through the 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 a selection operation of a user on an activity selection control, the first application program takes an activity corresponding to the selected representative view as a first activity and acquires 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 collecting the call information of the target collection interface, the floating window provided with the collection control can be hidden, the corresponding hiding instruction can be generated according to the click event of the user in the preset area of the display screen, and also can be generated according to the sliding event of the user in the preset area of the display screen, and the preset area can be an uncovered area of the lower interface of the floating window.
And S1103, displaying the display control in the second interface.
In the embodiment of the application, the display control is a control capable of receiving display operation of a user, and the display control is associated with calling information of a first activity corresponding to a 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 a floating window, for example, the first floating window 310 may be a floating window, or other floating windows may be used.
Alternatively, the presentation control may be displayed in response to a user operation, and when the second interface includes an application program interface, the first floating window 310 provided with the presentation control may be displayed in response to a user operation on the application program interface, and the type of the user operation on the application program interface may refer to the type of operation 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, the target view can be selected from the views corresponding to the first activities corresponding to the target collection interface, and the representative view can be a combination of the target views or a thumbnail of the combination view of the target views according to view parameters of the selected target view.
In practical application, the target view is a view capable of reflecting the content of the target collection interface, and when the first activity corresponds to a plurality of candidate views, not every candidate view can reflect the content of the target collection interface, so that a plurality of candidate views corresponding to the first activity can be obtained, the target view is determined from the plurality of candidate views, for example, the candidate views can be subjected to grouping processing through the first application program, and the user can select the target view according to the candidate views subjected to the grouping processing. The grouping process for the candidate view may refer to S203, and will not be described herein.
After the target view is determined, view parameters of the target view may be acquired, and a representative view may be generated from the view parameters of the target view. The View parameter of the target View is a drawing basis of the target View, for example, the View size of the target View, the position displayed in the screen, the pixel value and the like, and the View parameter of the target View can be calculated by calling a layout function and a measure function of a View object corresponding to the first activity.
For the forming process of the representative view, since the display of the representative view is to enable the user to obtain the information of the target collection interface more conveniently, the view size in the view parameters of the target view can be reduced by a preset proportion, and the representative view is generated according to the reduced view size, wherein the preset proportion can be determined according to the actual situation, for example, the view size can 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 the actual situation, and will not be described in detail herein.
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 multiple presentation controls, the presentation controls can be displayed in a list form, for example, in a floating window covering a display screen.
In the embodiment of the application, the display control can further comprise a display control, wherein the display control can display the view name of the target view, the name of the representative view can be the same as the name of the target collection view, can be the same as the name of the target view, and can also comprise 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 less space on the display screen, when there are multiple display controls, more display controls can be displayed on the display screen.
In specific implementation, the display content of the presentation control may be changed, which refers to S203.
Because the representative view can be used for reflecting the content of the collected target collection interface, if the content of the target collection interface is updated, for example, the text in the WeChat public number 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 may refer to the steps shown in fig. 14: the view component of the application framework layer redraws the view in the target collection interface according to updated view parameters, after the view is drawn, the view in the target collection interface is correspondingly updated, and meanwhile, the first application program can acquire the updated target view of the target collection interface and generate a representative view according to 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 can automatically generate the representative view through the background, specifically, view parameters of the target view corresponding to the representative view can be monitored, and the representative view is correspondingly generated when the view parameters of the target view are updated. In this manner, when the first system service monitors that the view parameter of the target view is modified, the first system service may acquire the modified view parameter of the target view, and generate the representative view according to the modified view parameter.
Specifically, after the second system service monitors that the notification that the drawing of the view is completed, the second system service sends a notification to the first application program, the first application program judges whether the view is in a stored view list, and because the view corresponding to the collected activity is stored in the view list, if the view is in the stored view list, it is indicated that the view is a target view corresponding to the collected activity, at the moment, the view parameters of the target view corresponding to the collected activity can be considered to be modified, so that the drawn target view can be obtained, and a representative view is generated according to the modified view parameters 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 acquire 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 is in the invisible state at this time, only the representative view may be saved, the representative view is not displayed, and the display may be performed when the first application is started next time.
Referring to fig. 15, fig. 15 is an interaction diagram between a first system service, a second system service, a first application program and a second application program in the process of generating a representative view according to a modified view parameter when it is monitored that a view parameter of a target view is modified, and it is understood that the following description is merely exemplary and not limiting the technical solution of the present application. The interaction process comprises the following steps:
1) The second system service monitors a notification that the view of the second application program is drawn, 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 yes, the second system service judges whether the first application program is in a visible state, if yes, a representative view is obtained according to the drawn view, and the representative view is sent to the first application program;
3) The first application program receives the representative view, checks whether the representative view corresponding to the view is being displayed, if yes, updates the representative view, and refreshes screen display content.
The second generation mode of the representative view may receive a view operation of the user on the name of the representative view, obtain a view corresponding to the first activity, obtain a target view from the view of the first activity, generate the representative view according to the target view, and if the target collection interface is the updated target collection interface 500, then 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 viewing operation of the name of the representative view. In this method, two situations may occur, that is, the application corresponding to the first activity may be running, or may have finished running. Judging whether an application program corresponding to the first activity is running, specifically, acquiring an identifier of the first activity, judging whether the identifier of the first activity exists in an activity thread, wherein the identifier can be acquired by receiving a view operation of a user on a name representing a view, and the identifier of the first activity can be an activity name, an identifier capable of distinguishing different activities such as an activity code, and the like, and can be the same as or different from the name of an interface corresponding to the first activity or the name of the view. If the identification of the first activity is in the activity thread, indicating that the application program corresponding to the first activity is running in the background; if the identification of the first activity is not in the active thread, the application program corresponding to the first activity is stopped running, and the corresponding first activity is destroyed, so that the first activity is not in the active thread.
In the above two cases, the receiving user's viewing operation for the name representing the view is slightly different from the acquisition process of the view parameters of the target view. The following description is made for each of these two cases.
If the identifier of the first activity exists in the activity thread, the application program corresponding to the first activity is indicated to run in the background, and the application program corresponding to the target collection interface is in an activated state, the application program can be run in the background according to the calling information of the target collection interface, and view parameters of the target view corresponding to the first activity are obtained in the process of running the application program in the background.
If the identifier of the first activity does not exist in the activity thread, the first activity is destroyed, 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 a background according to the call information of the target collection interface, and the activity generated from the starting of the application program to the jumping to the first activity and the first activity are in a non-visible 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 parameters of the target view are acquired 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 run in the background without being displayed on a display screen, and after the user manually starts the application program or the mobile terminal executes the display operation of the target collection interface to jump to the target collection interface corresponding to the first activity, the target collection interface is displayed.
Because the action of acquiring the view parameters of the target view can be executed when the instruction for displaying the second interface is generated, the target view is ensured to embody the content of the latest version of the target collection interface, 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, starting the application program in the background according to the calling information of the target collection interface, and acquiring view parameters of a target view of the target collection interface from the application program started in the background, so that the generated interface before the application program is started to jump to the target collection interface and the target collection interface are not seen by a user, and only the second interface of the display control which displays the latest version of representative view is seen by the user, thereby improving user experience. When the view parameters of the target view of the latest version are acquired, if the application program corresponding to the target collection interface is in an 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 acquired in the process of operating the application program in the background, so that the process of opening the target collection interface by the application program is not seen by a user, and the user experience is improved.
After the updated view parameters of the target view are obtained, a representative view may be generated according to the updated view parameters of the target view, and the process may refer to the process of generating the representative view according to the view parameters of the target view, which will not be described herein.
After the representative view is generated, a presentation control of the target collection interface is formed.
It may be appreciated that when it is determined that the identifier of the first activity does not exist in the activity thread, the application corresponding to the first activity is started to obtain updated view parameters of the target view, which is different from the normal start of the application, so that an additional restart marker may be added to the first activity to distinguish the first activity from the normal start of the application.
Referring to fig. 16, fig. 16 is an interaction diagram between a first system service, a second system service, a first application program and a second application program in the process of generating a representative view by receiving a user's viewing operation of a name of the representative view, and it is to be understood that the following description is merely exemplary and not limiting of the technical solution of the present application. The interaction process comprises the following steps:
1) The first application program receives a view operation of a user on the name of the representative view and sends an identification of a first activity corresponding to the representative view to a second system service;
2) The second system service judges whether the first activity exists in the activity thread or not, 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 update 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 when the application program window corresponding to the first activity is not required to be displayed, the suspension window is hidden, so that the user can conveniently check the suspension window, and the user experience is improved.
S1104, receiving a display operation of a display control by a user, 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 presentation operation on the presentation control may be implemented by clicking on the presentation control on the second interface. The display control means a control for receiving display operation of a user, and can be a physical button or a virtual button, and the display control can be arranged in the floating window. By receiving the display operation of the display control by the user, the first application program can acquire the active call chain of the first activity corresponding to the display control according to the association relation between the display control and the active call chain of the first activity.
And taking the activities corresponding to the application program interfaces except the interface corresponding to the display control in the second interface as second activities, wherein the first interface corresponding to the application program interface corresponding to the second activities and the first interface corresponding to the first activities can be adjacent interfaces, non-adjacent interfaces or the same interfaces, and the specific limitation is not made here.
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 view parameters corresponding to the activity according to the activity call chain of the first activity, draw the view according to the view parameters, and display the drawn view on a display screen of the mobile terminal by the window manager so as to realize the display of an interface of the target collection.
Because the display control is associated with the call information of the target collection interface, the call information of the target collection interface can comprise an activity call chain of the first activity corresponding to the target collection interface, and therefore, the first activity corresponding to the target collection interface associated with the display control can be acquired according to the display operation of the display control by a user, and further, the interaction call chain of the first activity is acquired.
For example, referring to fig. 6 (b) and 6 (c), the corresponding activity of the push interface 100 is activity 4, whose activity call chain is: activity 1-Activity 2-Activity 3-Activity 4. The representative view ' Zhou Jielun, i can not always recall you, but never forget ' 401 as a display control of the tweet interface 100, i can not always recall you, but never forget ' 401 ' display operation by receiving the user's representative view ' Zhou Jielun ', and the first application program can acquire a first activity corresponding to the corresponding target collection interface according to the representative view, further acquire an activity call chain of the first activity, and realize generation of the first activity according to the activity call chain of the first activity.
When the user performs the presentation operation on the presentation control, the first activity may or may not exist in the active thread. The jump from the second activity to the first activity may vary in its specific implementation 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 activity can be directly jumped from the second activity to the first activity according to the activity calling chain of the first activity, wherein 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 first activity is added with an additional restart mark at this time, in order to enable the user to feel the skip action, the first activity can be destroyed, an application program corresponding to the first activity is restarted, and then the first activity is skipped to according to the activity call chain. If the identification of the first activity does not exist in the activity thread, the application program corresponding to the first activity can be restarted, and the first activity is jumped from the second activity to the first activity according to the activity call chain. The first application may be paused or stopped after completing the jump of the second activity to the first activity.
Referring to fig. 17, fig. 17 is an interaction diagram between the second system service, the first application program and the second application program in the process of displaying the target collection interface corresponding to the first activity after the user performs the display operation on the display control, which is to be understood that the following description is merely exemplary and not limiting the technical solution of the present application. The interaction process comprises the following steps:
1) The first application program receives the display operation of the display control by the user and sends the identification of the first activity to the second system service;
2) The second system service judges whether the activity identifier of the first activity exists in the activity thread, if yes, 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 canceled, the first activity is destroyed by the second system service, if not, the first activity is destroyed by the second system service, and the step 4) is executed;
4) Restarting the application program of the target collection interface according to the activity identification of the first activity, calling the chain to jump to the first activity according to the activity of the first activity, displaying the target collection interface, and suspending or stopping the first application program.
In the embodiment of the application, the display control corresponding to the target collection interface can be deleted, for example, the representative view and/or the name of the representative view are deleted. In particular, after receiving the deletion operation of the display control by the user, if the first activity is added with an additional restart flag, it is indicated that the first activity is started to acquire 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 an interaction diagram between a first system service, a second system service, a first application program and a second application program after receiving a delete operation of a presentation control by a user, and it is to be understood that the following description is merely exemplary and not limiting the technical solution of the present application. The interaction process comprises the following steps:
1) The first application program receives a deleting operation of the display control in the 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 restarting 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.
In summary, in the interface display method provided in the embodiment of the present application, when the first interface is displayed on the display screen, the user may obtain the call information of the target collection interface in the first interface by receiving the collection operation of the collection control in the first interface, and collect the call information, and when the second interface is displayed on the display screen, the second interface includes the display control of the target collection interface, where the display control is associated with the call information of the target collection interface, receive the display operation of the display control by the user, and display the target collection interface according to the call information of the target collection interface associated with the display control. That is, the user only needs to trigger the collection control of the first interface and the display control of the second interface, so that the target collection interface can be displayed again without performing repeated operation step by step according to a specific sequence, operation steps are saved, and therefore operation time of the user is saved.
In order to facilitate better implementation of the above-described aspects of embodiments of the present application, the following provides related devices for implementing the above-described aspects. Referring to fig. 19, an interface display apparatus 1900 according to an embodiment of the application specifically corresponds to the functions of the interface display method provided above. The functions may be realized by hardware, or may be realized 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 for displaying a first interface including a target collection interface and collection controls;
The collection unit 1902 is used for receiving collection operation of a user on collection controls, acquiring call information of a target collection interface and collecting the call information;
A second display unit 1903, configured to display a second interface, where the second interface includes a presentation control of the target collection interface, and the presentation control is associated with call information of the target collection interface;
and a third display unit 1904, configured to receive a display operation of the display control by the user, obtain call information of the target collection interface, and display the target collection interface according to the call information of the target collection interface.
In some possible designs, the call information of the target collection interface includes an activity call chain of an activity corresponding to the target collection interface, where the activity call chain is a call chain of an activity required to be generated by displaying the target collection interface.
In some possible designs, the interface display device further comprises: the activity determining unit is used for acquiring a plurality of activities corresponding to the first interface and determining one of the activities corresponding to the first interface as the activity corresponding to the target collection interface.
In some possible designs, the interface display device further comprises:
The view parameter acquisition unit is used for acquiring view parameters of a target view of the target collection interface after receiving collection operation of a user on the collection control;
and the display control display unit is used for displaying a display control of the second interface, wherein the display control comprises a representative view, the representative view is a view reflecting the content of the target view, and the representative view is obtained according to view parameters of the target view.
In some possible designs, the interface display device further comprises: 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 plurality of 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 plurality of candidate views according to the display positions of the plurality of 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 plurality of groups of candidate views respectively in the third interface;
And the target view determining subunit is used for receiving the selection operation of the view selection control by the user 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:
And acquiring a plurality of candidate views corresponding to the target collection interface, respectively acquiring attributes of the plurality of candidate views, and determining the target view from the plurality of candidate views according to the attributes of the plurality of candidate views.
In some possible designs, the target view determination unit is specifically configured to:
And acquiring a plurality of candidate views corresponding to the target collection interface, selecting a candidate view of a front preset number of layers from a view tree formed by the plurality of candidate views, determining the candidate views as target views, wherein the preset number is a positive integer.
In some possible designs, the view parameter obtaining unit is further configured to obtain updated view parameters of the target view of the target collection interface after receiving a collection operation of the collection control by the user;
And the display control display unit is also used for displaying a display control of the second interface, wherein the display control comprises a representative view, the representative view is a view reflecting the content of the target view, and the representative view is obtained according to updated view parameters of the target view.
In some possible designs, the interface display device further comprises:
The background starting application program unit is used for starting the application program if the application program corresponding to the target collection interface is in a closed state;
and the view parameter acquisition unit is also used for acquiring view parameters of the target view of the target collection interface from the application program started in the background after receiving the collection operation of the collection control by the user.
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 comprises:
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 conditions include 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 and a second contact, the first contact is a start point of the first sliding operation, the second contact is an end point of the first sliding operation, and coordinates of the first contact are different from those of the second contact;
The first preset touch screen condition includes:
The difference in abscissa between the first contact and the second contact satisfies a first distance condition; and/or the number of the groups of groups,
The difference in ordinate between the first contact and the second contact satisfies a second distance condition; and/or the number of the groups of groups,
In the process from the first contact to the second contact, at least one contact is arranged on the display screen at any moment.
In some possible designs, the second touch screen operation is a second sliding operation, the second sliding operation includes a third contact and a fourth contact, the third contact is a start point of the second sliding operation, the fourth contact is an end point of the second sliding operation, and coordinates of the third contact are different from those of the fourth contact;
The second preset touch screen condition includes:
the difference in abscissa between the third contact and the fourth contact satisfies a third distance condition; and/or the number of the groups of groups,
The difference in ordinate between the third contact and the fourth contact satisfies a fourth distance condition; and/or the number of the groups of groups,
During execution of the second sliding operation there is only one contact on the display screen at any time.
In some possible designs, the interface display device further comprises:
the display control deleting unit is used for receiving the deleting operation of the user on the display control and deleting the display control.
In summary, in the interface display device provided in the embodiment of the present application, when the first interface is displayed on the display screen, the user may obtain the call information of the target collection interface in the first interface by receiving the collection operation of the collection control in the first interface, and collect the call information, and when the second interface is displayed on the display screen, the second interface includes the display control of the target collection interface, where the display control is associated with the call information of the target collection interface, receive the display operation of the display control by the user, and display the target collection interface according to the call information of the target collection interface associated with the display control. That is, the user only needs to trigger the collection control of the first interface and the display control of the second interface, so that the target collection interface can be displayed again without performing repeated operation step by step according to a specific sequence, operation steps are saved, and therefore operation time of the user is saved.
Next, an interface jumping device, which may be a terminal device, is implemented in the embodiment of the present application.
Referring to fig. 20, the interface jumping device 2000 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.
The components communicate via one or more buses. It will be appreciated by those skilled in the art that the configuration of the interface jump device shown in fig. 20 is not limiting of the invention, and that it may be a bus-like configuration, a star-like configuration, or may include more or fewer components than shown, or may be a combination of certain components, or may be a different arrangement of components.
In embodiments 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 (Personal DIGITAL ASSISTANT, PDA), a media player, and the like.
The interface jumping device 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 video. The image output unit 2011 may include a display panel, such as a display panel configured in a Liquid Crystal Display (LCD) form, an organic light-emitting diode (OLED) form, a field emission display (field emission display) form, and the like. Alternatively, the image output unit 2011 may include a reflective display, such as an electrophoretic (electrophoretic) display, or a display using optical interferometric modulation (interferometric modulation of Light).
The image output unit 2011 may include a single display or multiple displays of different sizes. In the embodiment of the invention, the touch screen may also be used as the display panel of the output unit 2010.
For example, when the touch screen detects a gesture operation of touch or proximity thereon, the gesture operation is transmitted 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 implement the input and output functions of the interface jumping device as two separate components, in some embodiments, a touch screen may be integrated with a display panel to implement the input and output functions of the interface jumping device. For example, the image output unit 2011 may display various graphical user interfaces (GRAPHICAL USER INTERFACE, GUI) as virtual control components, including, but not limited to, windows, scroll bars, icons, and scrapbooks, for the user to operate by touch.
In the embodiment of the invention, the image output unit 2011 includes a filter and an amplifier for filtering and amplifying the video output by the processor 2030. The sound output unit 2012 includes a digital-to-analog converter for converting the audio signal output by the processor 2030 from a digital format to an analog format.
And the processor 2030 is configured to execute the substitution instruction in the memory, perform 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 jumping device, connects various parts of the entire interface jumping device using various interfaces and lines, and executes various functions and/or processes data of the interface jumping device 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 comprised of integrated circuits (INTEGRATED CIRCUIT, ICs), for example, a single packaged IC, or may be comprised of packaged ICs that connect multiple identical or different functions.
For example, the processor 2030 may include only a central processing unit (central processing unit, CPU), or may be a combination of a graphics processor (graphics processing unit, GPU), a digital signal processor (DIGITAL SIGNAL processor, DSP), and a control chip (e.g., baseband chip) in a communication unit. In the embodiment of the invention, the CPU can be a single operation core or can comprise multiple operation cores.
Memory 2040 for storing code and data for execution by processor 2030.
In particular, the memory 2040 may be used to store software programs and modules, and the processor 2030 executes the software programs and modules stored in the memory 2040 to thereby perform various functional applications of the interface jump device and to perform data processing. 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, phonebooks, etc.) created from the use of the interface jumping device, and the like.
In particular embodiments of the invention, memory 2040 may include volatile memory, such as nonvolatile dynamic random access memory (nonvolatile random access memory, NVRAM), phase change random access memory (PHASE CHANGE random access memory, PRAM), magnetoresistive random access memory (magetoresistive random access memory, MRAM), and the like, and may also include nonvolatile memory, such as at least one disk storage device, electrically erasable programmable read only memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-only memory, EEPROM), flash memory devices, such as NOR flash memory (NOR flash memory), or NAND flash memory (NAND FLASH memory).
Nonvolatile memory stores an operating system and applications executed by processor 2030. Processor 2030 loads operating programs and data from nonvolatile storage into memory and stores digital content in mass storage. 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 the various software and hardware.
In the embodiment of the invention, the operating system can be an Android operating system of Google company, an iOS system developed by Apple company, a Windows operating system developed by Microsoft company, or the like, or an embedded operating system such as Vxworks.
Applications include any application installed on an interface jump 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, location (e.g., functions provided by a global positioning system), music playback, and the like.
And an input unit 2050, configured to implement interaction between a user and the interface jumping device and/or input information into the interface jumping device.
For example, the input unit 2050 may receive numeric or character information input by a user to generate signal inputs related to user settings or function controls. In a specific embodiment of the present invention, the input unit 2050 may be a touch screen, or may be other man-machine interaction interfaces, such as an entity input key, 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 of the user touching or approaching the touch screen. Such as a user operating on the touch screen or near the touch screen using any suitable object or accessory such as a finger, stylus, etc., and actuating the corresponding connection means according to a predetermined program. Alternatively, the touch screen may comprise 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 sent to the processor 2030.
The touch controller may also receive commands from the processor 2030 and execute the commands. In addition, the touch screen may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave.
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 (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc. The input unit 2050 in the form of a microphone may collect voice input by a user or an environment and convert it into commands executable by the processor 2030 in the form of electrical signals.
In other embodiments of the present invention, the input unit 2050 may be various sensing devices, such as a hall device, for detecting physical quantities of the interface jumping device, such as force, moment, pressure, stress, position, displacement, speed, acceleration, angle, angular velocity, rotation number, rotation speed, and time of change of working state, and converting the physical quantities into electric quantities for detection and control. Other sensing devices may also include gravity sensors, tri-axial 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, allowing the interface jumping device to connect to the remote server through the communication channel, and downloading media data from the remote server. The communication unit 2070 may comprise a wireless local area network (wireless local area network, WIRELESS LAN) module, a bluetooth module, a baseband module, and other communication modules, and Radio Frequency (RF) circuits corresponding to the communication modules for performing wireless local area network communication, bluetooth communication, infrared communication, and/or cellular communication system communication, such as wideband code division multiple access (wideband code division multiple access, W-CDMA) and/or high speed downlink packet access (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 communication unit 2070 are typically in the form of integrated circuit chips (INTEGRATED CIRCUIT CHIP) and may be selectively combined without necessarily including all 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 communication functions in a cellular communication system. The interface hopping device 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 the communication unit 2070 may be integrated into the processor 2030, typically as an apq+mdm series platform provided by the company high-pass (qualcomm).
The radio frequency circuit 2080 is configured to receive and transmit signals during information transceiving or communication. For example, after receiving the downlink information of the base station, the downlink information is processed by the processor 2030; in addition, the data of the design uplink is sent to the base station. In general, 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 code-decode (codec) chipset, a Subscriber Identity Module (SIM) card, memory, and so forth. In addition, the rf circuitry 2080 may also communicate with networks and other devices via wireless communications.
The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (global system of mobile communication, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), high speed uplink packet access technology (HIGH SPEED uplink PACKET ACCESS, HSUPA), long term evolution (long term evolution, LTE), email, short message service (short MESSAGING SERVICE, SMS), and the like.
A power supply 2090 for powering the different components of the interface jump device to maintain its operation. As a general understanding, the power supply 2090 may be a built-in battery, such as a conventional lithium ion battery, nickel metal hydride battery, etc., as well as an external power supply, such as an AC adapter, etc., that directly powers the interface jump device. In some embodiments of the invention, power supply 2090 may be defined more broadly 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 power generation, management, and distribution of interface jumping devices.
A further aspect of the application provides a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of the above aspects.
In a further aspect the application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the above aspects.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Claims (12)
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;
Responsive to a first operation by a user, displaying a first interface comprising a first collection control and part or all of the first target collection interface;
Receiving collection operation of a user on the first collection control, and collecting call information of 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;
responsive to a second operation by the user, displaying a second interface comprising a second collection control and part or all of the second target collection interface;
Receiving collection operation of a user on the second collection control, and collecting call information of the second target collection interface;
In response to a user operation, displaying a third interface, the third interface including part or all of a fourth interface of the first application program, and a first floating window; the first floating window comprises a 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 according to the call information of the first target collection interface;
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 according to the call information of the second target collection interface.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
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 target collection interface.
3. The method of claim 2, wherein the representative view comprises a name of the representative view.
4. The method of claim 1, wherein receiving the user's presentation of the first presentation control, 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 target collection interface;
And receiving a sixth operation of a display control of the first representative view by a user, and displaying the first target collection interface in the first application program.
5. The method of claim 2 or 4, wherein the obtaining of the representative view through the first target collection interface comprises:
acquiring updated view parameters of the first target collection interface;
And obtaining the first representative view according to the updated view parameters of the first target collection interface.
6. The method of claim 2 or 4, wherein the obtaining of the representative view through the first target collection interface comprises:
acquiring deleted information of the first target collection interface;
And obtaining a representative view corresponding to the deleted first target collection interface according to the information.
7. The method of claim 1 or 4, wherein displaying the first target collection interface in a first application comprises:
and if the first application program is in a closed state, starting the first application program according to the call information background 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-4, further comprising:
And receiving the deleting operation of the user on the first display control, and deleting the first display control.
9. The method of any of claims 1-4, wherein the receiving a user's collection operation of the first collection control, collecting the first target collection interface comprises:
Acquiring call information of the target collection interface, and collecting the call information; wherein,
The call information of the target collection interface comprises an activity call chain of an activity corresponding to the target collection interface, and the activity call chain is a call chain of an activity required to be generated by displaying the target collection interface.
10. The method of claim 1, wherein the step of determining the position of the substrate comprises,
A first floating window overlies any interface of the first application.
11. The method of claim 1, wherein the step of determining the position of the substrate comprises,
The first target collection interface is updated, and displaying the first target collection interface in the first application program according to the calling information of the first target collection interface comprises: and displaying the updated first target collection interface in the first application program according to the calling information of the first target collection interface.
12. An interface display device, the device comprising: a processor and a memory;
The memory is used for storing instructions;
The processor being configured to execute the instructions in the memory and to perform the method of any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210688783.1A CN115174733B (en) | 2018-04-28 | 2018-04-28 | Interface display method, device and equipment |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210688783.1A CN115174733B (en) | 2018-04-28 | 2018-04-28 | Interface display method, device and equipment |
CN201810402152.2A CN110417988B (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 (2)
Publication Number | Publication Date |
---|---|
CN115174733A CN115174733A (en) | 2022-10-11 |
CN115174733B true CN115174733B (en) | 2024-09-24 |
Family
ID=68293766
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210688783.1A Active CN115174733B (en) | 2018-04-28 | 2018-04-28 | Interface display method, device and equipment |
CN201810402152.2A Active CN110417988B (en) | 2018-04-28 | 2018-04-28 | Interface display method, device and equipment |
Family Applications After (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) | CN115174733B (en) |
WO (1) | WO2019206158A1 (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112818259B (en) * | 2019-11-15 | 2024-10-25 | 腾讯科技(深圳)有限公司 | Content recommendation method, electronic equipment and computer readable storage medium |
CN111399742B (en) * | 2020-03-13 | 2024-04-26 | 华为技术有限公司 | Interface switching method and device and electronic equipment |
CN111767108B (en) * | 2020-06-28 | 2024-08-02 | 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 |
CN112306340B (en) * | 2020-10-13 | 2024-06-18 | 北京沃东天骏信息技术有限公司 | Information display method, information transmission device, electronic equipment and 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 |
CN114329258A (en) * | 2021-12-31 | 2022-04-12 | 武汉斗鱼鱼乐网络科技有限公司 | Guide assembly setting method and related equipment |
CN115599266A (en) * | 2022-10-26 | 2023-01-13 | 抖音视界有限公司(Cn) | Collection management method, device, equipment and medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107193975A (en) * | 2017-05-25 | 2017-09-22 | 北京小米移动软件有限公司 | Information resources collecting method, device and computer-readable recording medium |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008070798A1 (en) * | 2006-12-06 | 2008-06-12 | Fusion Multisystems, Inc. (Dba Fusion-Io) | Apparatus, system, and method for managing commands of solid-state storage using bank interleave |
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 |
US20140359488A1 (en) * | 2013-05-29 | 2014-12-04 | Microsoft Corporation | Centralized Management of Link Data for Multiple Applications, Computers and Resources, through Operating Systems and Networked Storage Services |
CN104407937B (en) * | 2014-11-19 | 2018-07-03 | 北京奇虎科技有限公司 | The method and browser of data are loaded in browser |
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 |
CN107085617B (en) * | 2017-05-31 | 2020-11-24 | 北京安云世纪科技有限公司 | Application page collection method and device and corresponding mobile terminal |
CN107092707B (en) * | 2017-05-31 | 2020-11-24 | 北京安云世纪科技有限公司 | Display method and device for collected application program page |
CN107203630B (en) * | 2017-05-31 | 2020-11-24 | 北京安云世纪科技有限公司 | Application page collection method and device and corresponding mobile terminal |
CN107402690A (en) * | 2017-07-07 | 2017-11-28 | 上海爱优威软件开发有限公司 | A kind of global collecting method and system |
-
2018
- 2018-04-28 CN CN202210688783.1A patent/CN115174733B/en active Active
- 2018-04-28 CN CN201810402152.2A patent/CN110417988B/en active Active
-
2019
- 2019-04-24 WO PCT/CN2019/083988 patent/WO2019206158A1/en active Application Filing
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107193975A (en) * | 2017-05-25 | 2017-09-22 | 北京小米移动软件有限公司 | Information resources collecting method, device and computer-readable recording medium |
Also Published As
Publication number | Publication date |
---|---|
CN115174733A (en) | 2022-10-11 |
CN110417988A (en) | 2019-11-05 |
CN110417988B (en) | 2022-06-14 |
WO2019206158A1 (en) | 2019-10-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115174733B (en) | Interface display method, device and equipment | |
KR102497195B1 (en) | A mehtod for processing contents, an electronic device and a storage medium therefor | |
US11003331B2 (en) | Screen capturing method and terminal, and screenshot reading method and terminal | |
AU2010327453B2 (en) | Method and apparatus for providing user interface of portable device | |
CN107077292B (en) | Cut and paste information providing method and device | |
JP6689990B2 (en) | Graphic code display method, device and storage medium | |
US20180288739A1 (en) | Electronic device and method of providing notification by electronic device | |
EP3335411B1 (en) | Electronic device and method of managing application programs thereof | |
US11513753B2 (en) | Data processing method and electronic terminal | |
CN108027706A (en) | A kind of application interface display methods and terminal device | |
US11079926B2 (en) | Method and apparatus for providing user interface of portable device | |
KR20140082000A (en) | Terminal and method for providing related application | |
CN115454286A (en) | Application data processing method and device and terminal equipment | |
CN105955739A (en) | Graphical interface processing method, apparatus and system | |
US10540415B2 (en) | Apparatus and method for managing history information in an electronic device | |
US20130263040A1 (en) | Location Text | |
US10298590B2 (en) | Application-based service providing method, apparatus, and system | |
CN116594616A (en) | Component configuration method and device and computer readable storage medium | |
CN115659071A (en) | Page jump method and device, electronic equipment and storage medium | |
CN112232927A (en) | Information pushing method and device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |