Display control method, device, electronic device and storage medium
By displaying the last opened page among multiple pages in the first display area of the main window in the terminal, and displaying other pages in a stack in the form of slices in the second display area, the problems of task interruption and low page switching efficiency are solved, and It improves the continuous recording of tasks and the efficiency of page switching.
Patent Information
- Application Number
- CN202111316993.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-08
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-11-08
AI Technical Summary
In the terminal, when a task is interrupted, the user cannot trace back along the task flow, and the page switching efficiency is low, resulting in high operation and memory costs, especially during multi-tasking.
In the target application, by displaying the last preset number of pages opened among multiple pages in the first display area of the main window, and displaying other pages in a stack in the form of slices in the second display area, responding to the page switching operation, ensuring Users can smoothly retrace and compare task flows.
It realizes the continuous recording of tasks, reduces users’ jumping and search costs between different applications, improves the efficiency of page switching, and saves users’ time and operating costs.
Smart Images

Figure CN113986063B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a display control method, device, electronic device and storage medium. Background Art
[0002] In a terminal, when executing a task in an application, such as during a session, some related pages are sometimes opened. If the page is opened in a program other than the application, the task will be interrupted and the user cannot retrace along the task flow. Summary of the invention
[0003] The present disclosure provides a display control method, device, terminal and storage medium.
[0004] The present disclosure adopts the following technical solutions.
[0005] In some embodiments, the present disclosure provides a display control method, including:
[0006] When multiple pages are opened based on the same task in the target application, the last opened preset number of pages among the multiple pages are displayed in the first display area of the main window, and the other pages among the multiple pages are displayed in a sliced stack in the second display area of the main window;
[0007] In response to a page switching operation, a page corresponding to the page switching operation among the plurality of pages is displayed in the first display area of the main window.
[0008] In some embodiments, the present disclosure provides a display control device, including:
[0009] A display unit, configured to, when drilling down and opening multiple pages based on the same task in a target application, display a preset number of pages that were opened last among the multiple pages in a first display area of the main window, and display other pages among the multiple pages in a stack in a slice form in a second display area of the main window;
[0010] The control unit is used to display, in response to a page switching operation, a page corresponding to the page switching operation among the multiple pages in the first display area of the main window.
[0011] In some embodiments, the present disclosure provides an electronic device, comprising: at least one memory and at least one processor;
[0012] The memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above method.
[0013] In some embodiments, the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, the processor is prompted to perform any of the above methods.
[0014] In some embodiments of the present disclosure, multiple pages opened by drilling down on the same task are respectively displayed in the first display area and the second display area, and the pages displayed in the first display area can be switched, so that all pages under the same task can be recorded, thereby preventing the pages opened by the task from being disconnected. In the embodiments of the present disclosure, the historical pages opened by drilling down are recorded by multiple pages, so that it is convenient for users to compare contexts, saving users time in jumping and comparing between different applications, and reducing the cost of users jumping and searching between different pages. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0016] Figure 1 It is a flow chart of a display control method according to an embodiment of the present disclosure.
[0017] Figure 2 It is a display schematic diagram of a target application of an embodiment of the present disclosure.
[0018] Figure 3 It is a display schematic diagram of a target application of an embodiment of the present disclosure.
[0019] Figure 4 It is a display schematic diagram of a target application of an embodiment of the present disclosure.
[0020] Figure 5 It is a display schematic diagram of a target application of an embodiment of the present disclosure.
[0021] Figure 6 It is a display schematic diagram of a target application of an embodiment of the present disclosure.
[0022] Figure 7 It is a display schematic diagram of a target application of an embodiment of the present disclosure.
[0023] Figure 8 It is a display schematic diagram of a target application of an embodiment of the present disclosure.
[0024] Fig. 9 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0026] It should be understood that the various steps described in the method embodiments of the present disclosure can be performed in sequence and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0027] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0028] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0029] It should be noted that the modification of “one” mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that it should be understood as “one or more” unless otherwise clearly indicated in the context.
[0030] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0031] The solution provided by the embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0032] In the application, a tree structure is used to record the relationship between pages. The upper page has a lower page that can be opened after being triggered. The upper page and the lower page have a parent-child relationship, and the lower pages have a child relationship. Pages with upper and lower relationships form an associated page of a task. This tree structure easily causes task faults and low processing efficiency. When processing a single task, the relationship of the tree structure determines that when the user wants to jump from one page to another, there must be frequent page jumps. Usually, it is necessary to return to the upper node and then go down to the lower node, resulting in task faults and high operation and memory costs, especially for tasks that require frequent page comparisons. When processing multiple tasks, once a task is interrupted and there are multiple parallel tasks, the operation and backtracking costs are doubled that of a single task, causing users to waste time searching and switching windows.
[0033] like Figure 1 As shown, Figure 1 is a flowchart of a display control method according to an embodiment of the present disclosure, comprising the following steps S11 and S12.
[0034] S11: When multiple pages are opened based on the same task in the target application, the last preset number of pages opened among the multiple pages are displayed in the first display area of the main window, and the other pages among the multiple pages are stacked and displayed in the form of slices in the second display area of the main window.
[0035] S12: In response to the page switching operation, displaying a page corresponding to the page switching operation among the multiple pages in the first display area of the main window.
[0036] In some embodiments, the target application can be any application, for example, it can be an instant messaging application. In the target task, when page 2 is opened in page 1, for example, identifier 1 in page 1 is triggered, then page 1 and page 2 both belong to the same task 1. If page 3 is jumped to by an identifier other than in the multiple pages of the triggered task, then page 3 does not belong to task 1, but to another task. Therefore, a task has a main page among the multiple pages opened by drilling down, and the other pages in the multiple pages are opened directly or indirectly based on the main page. When the newly opened page is not opened based on the multiple pages, the newly opened page does not belong to the same page as the multiple pages. A task refers to a collection of pages (multiple pages) that are opened continuously when completing a task. To give a specific example, in the instant communication software, click on the conversation with user A in the feed stream, and the conversation page with user A pops up to start task A. If you open the link, document, applet, etc. in the conversation page, the newly opened link, document, applet page, these opened pages and the page for the conversation with user A all belong to the multiple pages of task A. Further, the page opened based on the control or logo in the link, document, applet page also belongs to the multiple pages of task A. If you click on the conversation with user B in the feed stream (such as the conversation list) to start a conversation with user B, the conversation page for the conversation with user B does not belong to the multiple pages of task A, because the page for the conversation with user B is not opened based on the multiple pages in task A, so the page for the conversation with user B belongs to task B. Pages opened based on multiple pages of a task will also be attributed to the multiple pages of the task. If a new page is not opened based on the multiple pages, then the new page and the multiple pages do not belong to the same task. Figure 2 As shown, the main window of the target application has a first display area and a second display area connected. When multiple pages are opened for the same task, the last preset number of pages opened (the preset number can be 2) are displayed in the first display area, and the other pages in the multiple pages are stacked and displayed in the second display area in the form of slices. In some embodiments, the stack has a first-in-first-out feature. In this embodiment, the page displayed in the first display area of the main window can be switched, and the page in the second display area can be switched to the first display area for display through the page switching operation. At this time, the page in the first display area can be extended outside the display area to be hidden, for example, Figure 2As shown, taking the page switching operation of sliding from left to right as an example, after the page switching operation is performed, the page in the second display area on the left is displayed in the first display area, and the first display area continues to move to the right to hide outside the display area. At this time, the sliding operation from the right to the left can be performed again to move the hidden page to the first display area for display. The switched hidden page will not be closed. In the embodiment of the present disclosure, multiple pages of a task are connected to each other according to the opening time to form a page flow. The page flow is partially stacked and partially expanded. The target application can only display part of the pages in the page flow. The pages in the page flow can be located in whole or in part in the main window of the target application. The pages located outside the main window can be hidden. The order of each page in the page flow can be exchanged or adjusted, and they are arranged in the order of opening by default.
[0037] In some embodiments of the present disclosure, during the processing of a task, all drill-down pages of the task are opened through the main window of the target application, rather than through a third-party application, so that all pages opened in the same task can be recorded, so that the target application can record pages related to the same task. If multiple pages of a task are opened through a third-party application, it will cause a task fault. In the embodiments of the present disclosure, multiple pages of a task are always opened in the target application. When any identifier in the multiple pages is triggered to open other pages, they are still opened in the target application and the multiple pages are added, so as to facilitate the user to compare contexts, save the user's time in jumping and comparing between different applications, and save the user the cost of jumping and searching between different pages. In some embodiments, various types of reading plug-ins, browser plug-ins, video plug-ins, etc. can be embedded in the target application to ensure that various types of pages can be opened.
[0038] In some embodiments, the multiple pages include at least one of the following: an instant messaging session page, an online document page, an offline document page, a web page within the target application, a web page outside the target application, and a mini-program page. In some embodiments, a web page within the target application refers to a web page that points to a link address within the target application, and a web page outside the target application refers to a web page that points to a link address outside the target application. In conventional technology, when a web page outside the target application is opened, it is opened through an external browser, while in this embodiment, it is opened through the target application. More specifically, in this embodiment, a browser plug-in can be embedded in the target application, and a web page outside the target application is opened through the browser plug-in without calling software outside the target application. All pages are opened through the target application itself, and the opened web pages are added to multiple pages, so that the user does not need to switch between different applications.
[0039] In some embodiments, the page switching operation includes at least one of the following: a shortcut key operation; a gesture sliding operation; and a click-to-switch operation. The shortcut key operation may be an operation on a preset key or a preset key combination in a keyboard, or an operation on a virtual key on a display screen. The gesture sliding operation may be, for example, sliding from the first display area to the second display area, and from the second display area to the first display area, or may be a gesture sliding operation of other preset trajectories. The click-to-switch operation may be a touch-click-to-switch operation, for example, clicking on an area in the first display area close to the second display area will display the previous page, and clicking on an area in the first display area far from the second display area will display the next page.
[0040] For some examples, please refer to Figure 2 , the second display area is the right area of the main window, and the first display area is the left area of the main window. Alternatively, in some other embodiments, the second display area is the left area of the main window, and the first display area is the right area of the main window. Wherein, as the number of slices stacked in the second display area changes, the boundary between the second display area and the first display area changes dynamically. For details, please refer to Figure 2 and Figure 3 ,exist Figure 2 There are 2 page slices in the second display area. Figure 3 The second display area has 1 page slice, and Figure 2 The width of the second display area is significantly larger than Figure 3 The width of the second display area, that is, the boundary between the second display area and the first display area, will change as the number of slices of the second display area changes.
[0041] In some embodiments, displaying a preset number of pages that were last opened among the multiple pages in the first display area of the main window includes: displaying the last opened page among the multiple pages in the first display area of the main window; or displaying the last opened two or three pages of the multiple pages side by side in the first display area of the main window.
[0042] In some embodiments, the number of pages displayed in the first display area may be one, two, or three. When two or three pages are displayed, the display ratio of the two or three pages may be set in the first display area, that is, two or three sub-areas may be set in the first display area for displaying pages, and the ratio of the display sizes of these sub-areas is fixed. The pages displayed in the first display area are displayed in the sub-areas in the order of opening time, that is, the opening time of the page displayed in the first sub-area may be set earlier than the opening time of the page displayed in the second sub-area. For example Figure 2 As shown, Figure 2Two pages are displayed simultaneously, and the first display area is divided into two sub-areas, namely a sub-area with a smaller width on the left and an area with a larger width on the right. The size ratio of the two sub-areas is fixed. The opening time of the page displayed in the sub-area on the left is earlier than the opening time of the sub-area on the right. The opened page is displayed by adaptively adjusting the size according to the size of the sub-area.
[0043] In some embodiments, the pages in the plurality of pages have a stacked state stacked in the second display area, and an expanded state sequentially connected and expanded; if the sum of the sizes of the target page to be displayed in the first display area and the page opened before the target page exceeds a preset size, the page opened before the target page is displayed in a stacked state in the second display area, and the target page is displayed in an expanded state in the first display area. For details, please refer to Figure 3 , the first display area in the main window displays a page in an expanded state, while the second display area displays a page in a stacked state. Whether to display the page in a stacked state or an expanded state is determined in the following manner: first determine the target page that is about to be or currently displayed in the first display area, determine the sum of the display sizes of the pages whose opening time is before the target page and the target page, and determine whether the sum of the display sizes is greater than a preset size. The preset size may be, for example, the size of the main window. If it exceeds the preset size, it indicates that the main window cannot display the target page and the pages before the target page in an expanded state. Therefore, the target page is displayed in an expanded state, and the pages opened before the target page are displayed in a stacked state in the second display area, while the pages whose opening time is after the target page can be hidden. The number of target pages may be a preset number, that is, it may be 1, 2, or 3. Please refer to Figure 4 , page 1 is the target page, and page 2 and page 3 are pages opened after page 1. Page 2 and page 3 can be hidden outside the main window in an expanded state, and the user cannot observe them. Page 2 and page 3 can be viewed by switching the target page to be displayed.
[0044] In some embodiments, in response to a triggering operation on a page in a stacked state in the second display area, the page opened earliest among the multiple pages is displayed in the first display area in the expanded state, and other pages except the page opened earliest are hidden.
[0045] In some embodiments, please combine the attached Figure 3 and Figure 5 , by triggering Figure 3 For example, if you click on the page in the second display area, Figure 5As shown, the earliest opened page is displayed, while other pages are hidden. At this time, there is no second display area. The earliest opened page can be 1, 2 or 3. The specific number of earliest opened pages displayed can be determined according to the size of the first display area. At this time, because there is no second display area, the size of the first display area can be equal to the size of the main window. The size of the first display area can also be unequal to the size of the main window. As many earliest opened pages as possible can be displayed according to the size of the main window. The first display area can be only a part of the main window. The main window can also display entrances to different tasks, while pages other than the earliest opened page are hidden. Other pages can be hidden outside the main window in an expanded state. The hidden pages can be displayed by switching operations, for example, by swiping left to pull the hidden page to the left into the main window for display.
[0046] In some embodiments, the method further comprises: performing deduplication processing on identical pages among the multiple pages opened by drilling down on the same task, and retaining the page opened most recently among the identical pages. In some embodiments, identical pages are not retained among the pages opened by drilling down on the same task.
[0047] In some embodiments, in response to the page switching operation, displaying the page corresponding to the page switching operation in the first display area of the main window includes: when displaying the page corresponding to the page switching operation in the multiple pages, locating to the most recently visited location of the page. In some embodiments, the page access location is recorded so that the last visited location can be located after switching back to the page next time.
[0048] In some embodiments, it also includes: based on the multiple pages opened by drilling down on the same task, the associated page status information of the task is recorded as a unit, the multiple pages opened by drilling down are the associated pages of the task, which are recorded in the associated page status information, and the opening order and access location of each page can also be recorded in the associated page status information; in response to the switching operation of the task of the target application, the page associated with the switched task is displayed in the main window of the target application according to the associated page status information of the switched task.
[0049] For some examples, please refer to Figures 5 to 8 , Figure 5 The first display area shows the page opened earliest in Task 1. After a new page is opened in Task 1, Figure 6 As shown, the associated pages of Task 1 are added. In some embodiments, if the total size of the associated pages is smaller than the preset size, Figure 6 Expand all pages side by side in the style shown. You can continue to open new pages in Task 1, such as Figure 7As shown, if after opening a new page, the total size of the associated pages is greater than the preset size, the first display area displays the preset number of pages that have been opened recently, and the second display area displays other pages in slice form. In some embodiments, the target application has a first identifier corresponding to task 1 and a second identifier corresponding to task 2. The first identifier and the second identifier can be, for example, Figure 5 Different contacts in the contact list on the left, or Figure 5 In the "Message", "Calendar", "Cloud Document" and other function entry indicators, multiple pages opened by drilling down based on the same task can be related pages of the task corresponding to the first indicator. When switching to another task corresponding to the second indicator, such as opening a session with another user, the related page will be displayed in the main window according to the page status information associated with the switched task, such as Figure 8 As shown, after switching to Task 2, the associated page of Task 2 will be displayed. Figure 8 For example, if Figure 8 In the session task in , in addition to the session page, there are other related pages in Task 2. The other related pages can be hidden outside the main window in an expanded state. By sliding from right to left, for example, the page hidden outside the main window can be switched to the main window. The other related pages are, for example, the pages opened by drilling down in Task 2 after switching. Drilling down means opening gradually from the main page of the task. Figure 8 The main page of the session task is Figure 8 The displayed session page. In this embodiment, the corresponding page status information is recorded for different tasks. When switching from one task to another, the associated page of the task will not be closed, but saved first, so that after switching tasks, the previously opened page can be quickly found without drilling down step by step. The associated page of the task can be switched through the switching operation.
[0050] In some embodiments, the switching operation of the task of the target application includes at least one of: a triggering operation on an identifier corresponding to another task, a preset touch gesture operation, and a preset key operation. In some embodiments, the target application has an identifier corresponding to a task, and different tasks are opened by triggering different identifiers. The touch gesture operation can be user-defined, and the key can be a physical or virtual key.
[0051] In some embodiments, the method further includes: if the same page exists in the pages associated with different tasks, the content between the same pages is kept synchronized, but the respective content browsing positions are recorded in the associated page status information of the different tasks. In some embodiments, the same page may be opened in different tasks. In this case, the same page in each task is retained, and the synchronization of the same content is kept. For example, if document 1 is opened in both task 1 and task 2, the changes made to document 1 in task 1 can also be viewed in task 2. The documents displayed in the two tasks are the same, but the access progress corresponding to each task is recorded in different tasks, such as the access position in the document, so that when different tasks open the same page, the positions located can be different.
[0052] In some embodiments, a page among the plurality of pages has a close control, and when the close control is triggered, the corresponding page is closed, and the pages before and after the closed page are connected. Figure 2 As shown, there may be an "×" style close control in the upper left corner of the page. By triggering (for example, clicking) the control, the page can be closed, the page is removed from the associated pages of the task, and the pages before and after the page are connected to re-form multiple pages of the task.
[0053] In order to better illustrate the method proposed in the present disclosure, a specific embodiment is listed below. In this embodiment, a task is defined as a collection of pages opened continuously when completing a task. A user can start a task by opening any page of the target application. The pages opened through this page will also be added to the associated pages of the task. The associated pages of the task are arranged from left to right in the order of opening. In a task, the same pages are deduplicated and only one window is retained. When a certain page is displayed, the page position when the page was left is retained. Between the associated pages of different tasks, the same pages are not deduplicated, and the same pages can be opened simultaneously in different tasks. The same page in different tasks remembers the browsing position of the page content, and the page content is kept synchronized. In this embodiment, in the target application with a tree structure, the drill-down page initiated in each task is allowed to be displayed in a stack or expanded, which is convenient for users to compare contexts and saves time when jumping functions or switching to browsers. To switch between drill-down pages, keyboard shortcuts or double-finger swipes on the touchpad can be used to switch, so that users can switch between pages at the lowest cost and improve efficiency. The drill-down page may include a chat session, a document page, a web page, or a mini-program page. When the method proposed in the disclosed embodiment requires multiple function calls within the target application to complete a complex task, the page of the function can be directly called up from the associated page, eliminating the switching and search costs between different pages. When processing multiple tasks, the associated pages of the interrupted tasks will be recorded and saved, which is convenient for tracing back the context when reprocessing the task, saving a large part of the path finding and memory costs. This embodiment embeds web pages such as documents into the page of the task, saving the jump step.
[0054] In an embodiment of the present disclosure, a display control device is also provided, comprising:
[0055] A display unit, configured to, when drilling down and opening multiple pages based on the same task in a target application, display a preset number of pages that were opened last among the multiple pages in a first display area of the main window, and display other pages among the multiple pages in a stack in a slice form in a second display area of the main window;
[0056] The control unit is used to display, in response to a page switching operation, a page corresponding to the page switching operation among the multiple pages in the first display area of the main window.
[0057] In some embodiments, the plurality of pages include at least one of the following:
[0058] Instant messaging session page, online document page, offline document page, web page within the target application, web page outside the target application, and mini-program page.
[0059] In some embodiments, the page switching operation includes at least one of the following: a shortcut key operation; a gesture sliding operation; a click switching operation.
[0060] In some embodiments, the second display area is the right area of the main window, and the first display area is the left area of the main window; or, the second display area is the left area of the main window, and the first display area is the right area of the main window; wherein the boundary between the second display area and the first display area changes dynamically as the number of slices stacked in the second display area changes.
[0061] In some embodiments, displaying a preset number of pages that were last opened among the multiple pages in the first display area of the main window includes: displaying the last opened page among the multiple pages in the first display area of the main window; or displaying the last opened two or three pages among the multiple pages side by side in the first display area of the main window.
[0062] In some embodiments, a page of the plurality of pages has a stacked state in which the pages are stacked in the second display area, and an expanded state in which the pages are sequentially connected and expanded;
[0063] If the sum of the sizes of the target page and the page opened before the target page displayed in the first display area exceeds a preset size, the page opened before the target page is displayed in a stacked state in the second display area, and the target page is displayed in an expanded state in the first display area.
[0064] In some embodiments, the control unit is also used to display the page with the earliest opening time among the multiple pages in the first display area in the expanded state in response to a trigger operation on a page in a stacked state in the second display area, and hide other pages except the page with the earliest opening time.
[0065] In some embodiments, the control unit is further configured to perform deduplication processing on identical pages among the multiple pages opened by drilling down on the same task, and retain the page opened most recently among the identical pages.
[0066] In some embodiments, in response to a page switching operation, displaying a page among the multiple pages corresponding to the page switching operation in the first display area of the main window includes: when displaying the page among the multiple pages corresponding to the page switching operation, locating to the most recently visited position of the page.
[0067] In some embodiments, the control unit is further configured to drill down multiple pages opened based on the same task and record the associated page status information of the task as a unit;
[0068] In response to a switching operation on a task of the target application, a page associated with the switched task is displayed in a main window of the target application according to state information of a page associated with the switched task.
[0069] In some embodiments, the switching operation of the task of the target application includes: at least one of a triggering operation on an identifier corresponding to another task, a preset touch gesture operation, and a preset key operation.
[0070] In some embodiments, the control unit is further configured to synchronize the contents of the same pages if there are the same pages among the pages associated with different tasks, but to record the respective content browsing positions in the associated page status information of the different tasks.
[0071] In some embodiments, a page among the multiple pages has a close control, and the control unit is further used to close the corresponding page after the close control is triggered, and connect the pages before and after the closed page.
[0072] For the embodiments of the device, since they basically correspond to the method embodiments, the relevant parts refer to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the modules described as separation modules may or may not be separated. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present embodiment. Those of ordinary skill in the art can understand and implement without paying creative work.
[0073] The method and device of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
[0074] Reference below Fig. 9 , which shows a schematic diagram of the structure of an electronic device (such as a terminal device or a server) 800 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in the figure is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present disclosure.
[0075] The electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0076] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although the electronic device 800 with various devices is shown in the figure, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.
[0077] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0078] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0079] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0080] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0081] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method of the present disclosure.
[0082] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0083] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0084] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0085] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0086] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0087] According to one or more embodiments of the present disclosure, a display control method is provided, including:
[0088] When multiple pages are opened based on the same task in the target application, the last opened preset number of pages among the multiple pages are displayed in the first display area of the main window, and the other pages among the multiple pages are displayed in a sliced stack in the second display area of the main window;
[0089] In response to a page switching operation, a page corresponding to the page switching operation among the plurality of pages is displayed in the first display area of the main window.
[0090] According to one or more embodiments of the present disclosure, a display control method is provided, wherein the multiple pages include at least one of the following: an instant messaging session page, an online document page, an offline document page, a web page within a target application, a web page outside a target application, and a mini-program page.
[0091] According to one or more embodiments of the present disclosure, a display control method is provided, wherein the page switching operation includes at least one of the following: a shortcut key operation; a gesture sliding operation; and a click switching operation.
[0092] According to one or more embodiments of the present disclosure, a display control method is provided, wherein the second display area is the right area of the main window, and the first display area is the left area of the main window; or, the second display area is the left area of the main window, and the first display area is the right area of the main window; wherein the boundary between the second display area and the first display area changes dynamically with the number of slices stacked in the second display area.
[0093] According to one or more embodiments of the present disclosure, a display control method is provided, wherein displaying a preset number of pages that were last opened among the multiple pages in a first display area of a main window comprises:
[0094] The last opened page among the multiple pages is displayed in the first display area of the main window; or the last opened two or three pages among the multiple pages are displayed side by side in the first display area of the main window.
[0095] According to one or more embodiments of the present disclosure, a display control method is provided, wherein a page among the plurality of pages has a stack state of being stacked in the second display area, and an expanded state of being sequentially connected and expanded;
[0096] If the sum of the sizes of the target page and the page opened before the target page displayed in the first display area exceeds a preset size, the page opened before the target page is displayed in a stacked state in the second display area, and the target page is displayed in an expanded state in the first display area.
[0097] According to one or more embodiments of the present disclosure, a display control method is provided, further comprising:
[0098] In response to a trigger operation on the pages in the stacked state in the second display area, the page opened earliest among the multiple pages is displayed in the first display area in the expanded state, and other pages except the page opened earliest are hidden.
[0099] According to one or more embodiments of the present disclosure, a display control method is provided, which further includes: deduplicating identical pages among the multiple pages opened by drilling down on the same task, and retaining the page opened most recently among the identical pages.
[0100] According to one or more embodiments of the present disclosure, a display control method is provided, wherein in response to a page switching operation, displaying a page corresponding to the page switching operation among the multiple pages in a first display area of the main window comprises:
[0101] When displaying a page corresponding to the page switching operation among the multiple pages, positioning is performed to a position where the page was last accessed.
[0102] According to one or more embodiments of the present disclosure, a display control method is provided, further comprising:
[0103] Multiple pages opened based on the same task are recorded as a unit to record the status information of the associated pages of the task;
[0104] In response to a switching operation on a task of the target application, a page associated with the switched task is displayed in a main window of the target application according to state information of a page associated with the switched task.
[0105] According to one or more embodiments of the present disclosure, a display control method is provided, wherein the switching operation of the task of the target application includes:
[0106] At least one of a trigger operation of an identifier corresponding to another task, a preset touch gesture operation, and a preset key operation.
[0107] According to one or more embodiments of the present disclosure, a display control method is provided, which further includes: if the same page exists in pages associated with different tasks, the contents between the same pages are kept synchronized, but the respective content browsing positions are recorded in the associated page status information of the different tasks.
[0108] According to one or more embodiments of the present disclosure, a display control method is provided, wherein a page among the multiple pages has a close control, and when the close control is triggered, the corresponding page is closed, and the pages before and after the closed page are connected.
[0109] According to one or more embodiments of the present disclosure, there is provided a display control device, comprising:
[0110] A display unit, configured to, when drilling down and opening multiple pages based on the same task in a target application, display a preset number of pages that were opened last among the multiple pages in a first display area of the main window, and display other pages among the multiple pages in a stack in a slice form in a second display area of the main window;
[0111] The control unit is used to display, in response to a page switching operation, a page corresponding to the page switching operation among the multiple pages in the first display area of the main window.
[0112] According to one or more embodiments of the present disclosure, there is provided an electronic device, including:
[0113] at least one memory and at least one processor;
[0114] The at least one memory is used to store program codes, and the at least one processor is used to call the program codes stored in the at least one memory to execute any of the above methods.
[0115] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, the processor is prompted to execute any one of the above methods.
[0116] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0117] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0118] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A display control method, characterized in that: include: When multiple pages are opened based on the same task in the target application, the last opened preset number of pages among the multiple pages are displayed in the first display area of the main window, and the other pages among the multiple pages are displayed in a sliced stack in the second display area of the main window; In response to a page switching operation, displaying a page corresponding to the page switching operation among the plurality of pages in the first display area of the main window; Treat multiple pages opened based on the same task as a unit and record the status information of the associated pages of the task; In response to a switching operation on a task of the target application, displaying a page associated with the switched task in a main window of the target application according to state information of an associated page of the switched task; If there are identical pages among the pages associated with different tasks, the respective content browsing positions are recorded in the associated page status information of the different tasks.
2. The method according to claim 1, characterized in that The multiple pages include at least one of the following: an instant messaging session page, an online document page, an offline document page, a web page within a target application, a web page outside a target application, and a mini-program page.
3. The method according to claim 1, characterized in that The page switching operation includes at least one of the following: Quick key operation; Gesture sliding operation; Click the toggle action.
4. The method according to claim 1, characterized in that: The second display area is the right area of the main window, and the first display area is the left area of the main window; or, the second display area is the left area of the main window, and the first display area is the right area of the main window; Wherein, as the number of slices stacked in the second display area changes, the boundary between the second display area and the first display area changes dynamically.
5. The method according to claim 1, characterized in that Displaying the last opened preset number of pages among the plurality of pages in the first display area of the main window includes: Displaying the last opened page among the plurality of pages in the first display area of the main window; or, The last opened two or three pages among the multiple pages are displayed side by side in the first display area of the main window.
6. The method according to claim 1, characterized in that The pages in the plurality of pages have a stacked state in which they are stacked in the second display area, and an expanded state in which they are sequentially connected and expanded; If the sum of the sizes of the target page and the page opened before the target page displayed in the first display area exceeds a preset size, the page opened before the target page is displayed in a stacked state in the second display area, and the target page is displayed in an expanded state in the first display area.
7. The method according to claim 6, characterized in that Also includes: In response to a triggering operation on a page in a stacked state in the second display area, the page opened earliest among the plurality of pages is displayed in the first display area in the expanded state, and other pages except the page opened earliest are hidden.
8. The method according to claim 1, characterized in that The method further includes: The same pages among the multiple pages opened by drilling down for the same task are deduplicated, and the page opened most recently among the same pages is retained.
9. The method according to claim 1, characterized in that: In response to the page switching operation, displaying a page corresponding to the page switching operation among the multiple pages in the first display area of the main window includes: When displaying a page corresponding to the page switching operation among the multiple pages, positioning is performed to a position where the page was last accessed.
10. The method according to claim 1, characterized in that The switching operation of the task of the target application includes: At least one of a trigger operation of an identifier corresponding to another task, a preset touch gesture operation, and a preset key operation.
11. The method according to claim 1, characterized in that: The method further includes: If there are identical pages among the pages associated with different tasks, the contents between the identical pages are kept synchronized.
12. The method according to claim 1, characterized in that A close control is provided on a page of the plurality of pages. When the close control is triggered, the corresponding page is closed, and the pages before and after the closed page are connected.
13. A display control device, characterized in that: include: A display unit, configured to, when drilling down and opening multiple pages based on the same task in a target application, display a preset number of pages that were opened last among the multiple pages in a first display area of the main window, and display other pages among the multiple pages in a stack in a slice form in a second display area of the main window; a control unit, configured to, in response to a page switching operation, display a page corresponding to the page switching operation among the plurality of pages in the first display area of the main window; The control unit is further configured to record the associated page status information of the task by treating the multiple pages opened by drilling down based on the same task as a unit; in response to the switching operation of the task of the target application, display the page associated with the switched task in the main window of the target application according to the associated page status information of the switched task; If there are identical pages among the pages associated with different tasks, the respective content browsing positions are recorded in the associated page status information of the different tasks.
14. An electronic device comprising: at least one memory and at least one processor; The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method according to any one of claims 1 to 12. 15 . A computer-readable storage medium, the computer-readable storage medium being used to store program code, wherein when the program code is executed by a processor, the processor is prompted to execute the method according to claim 1 .
Citation Information
Patent Citations
Page display method and page display equipment
CN105786894A
Display control method and device, electronic equipment and storage medium
CN110162371A
Small program page display method and device, terminal and storage medium
CN111475246A
Terminal display control method and device, terminal and storage medium
CN112241229A
Interface control method and device, computer equipment and storage medium
CN113127128A
