WO2023078406A1 - Display control method and apparatus, and electronic device and storage medium - Google Patents

Display control method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2023078406A1
WO2023078406A1 PCT/CN2022/129944 CN2022129944W WO2023078406A1 WO 2023078406 A1 WO2023078406 A1 WO 2023078406A1 CN 2022129944 W CN2022129944 W CN 2022129944W WO 2023078406 A1 WO2023078406 A1 WO 2023078406A1
Authority
WO
WIPO (PCT)
Prior art keywords
pages
page
display area
task
main window
Prior art date
Application number
PCT/CN2022/129944
Other languages
French (fr)
Chinese (zh)
Inventor
孙樱迪
彭兆元
何天昊
张鲁
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023078406A1 publication Critical patent/WO2023078406A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a display control method, device, electronic equipment and storage medium.
  • the present disclosure provides a display control method, device, terminal and storage medium.
  • the present disclosure adopts the following technical solutions.
  • the present disclosure provides a display control method, including:
  • the last preset number of pages among the multiple pages are displayed in the first display area of the main window, and the second display area of the main window stacking and displaying other pages of the plurality of pages in the form of slices;
  • a page corresponding to the page switching operation among the plurality of pages is displayed in the first display area of the main window.
  • the present disclosure provides a display control device, including:
  • the display unit is configured to display the last preset number of pages opened among the multiple pages in the first display area of the main window when multiple pages are drilled down based on the same task in the target application, and in the main window
  • the second display area of the second display area stacks and displays other pages in the plurality of pages in the form of slices;
  • the control unit is 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 present disclosure provides an electronic device comprising: at least one memory and at least one processor;
  • the memory is used to store program codes
  • the processor is used to call the program codes stored in the memory to execute the above method.
  • the present disclosure provides a computer-readable storage medium, the computer-readable storage medium is used for storing program code, and when the program code is executed by a processor, it causes the processor to perform any of the above-mentioned one of the methods described.
  • multiple pages opened by drilling down to the same task are displayed in the first display area and the second display area respectively, and the pages displayed in the first display area can be switched, so that the pages displayed in the same task All the pages can be recorded, so as to prevent the pages opened by the task from being broken.
  • the historical pages opened by drilling down through multiple pages are recorded, which is convenient for the user to compare the context and saves the user between different applications. The time for jumping and comparing between different pages is reduced, and the cost for users to jump and search between different pages is reduced.
  • FIG. 1 is a flowchart of a display control method according to an embodiment of the present disclosure.
  • Fig. 2 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
  • Fig. 3 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
  • Fig. 4 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
  • Fig. 5 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
  • Fig. 7 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
  • Fig. 8 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” is “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • a tree structure is used to record the relationship between pages.
  • the upper-level page has a lower-level page that can be opened after being triggered.
  • the relationship between the upper-level page and the lower-level page is the relationship between the parent node and the child node.
  • the relationship between sub-nodes and the page with the upper-lower relationship form a task-associated page.
  • This tree structure is easy to cause faults in tasks and low processing efficiency.
  • 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. , high operation and memory costs, especially those tasks that require frequent page comparisons.
  • the operation and backtracking costs of a single task need to be doubled, causing users to waste time in searching and switching windows.
  • FIG. 1 is a flowchart of a display control method according to an embodiment of the present disclosure, including the following steps S11 and S12 .
  • the target application can be any application, for example, it can be an instant messaging application.
  • the target task when an operation is performed on the first page to open the second page, for example, an indicator on the first page is triggered to open the second page.
  • Two pages, the first page and the second page belong to the same task, if you jump to the third page by means of markings other than the multiple pages that trigger the task, the third page does not belong to the task, but belongs to Another task. Therefore, there is a main page in the multiple pages opened by the drill-down of a task, and other pages in the multiple pages are opened directly or indirectly based on the main page.
  • the newly opened page is not opened based on the multiple pages, The newly opened page does not belong to the same task as the multiple pages.
  • a task refers to a collection of pages (multiple pages) that are opened continuously when completing a job. Specifically, for example, in the instant messaging software, click on the conversation with user A in the feed flow (such as the conversation list), and at this moment, the conversation page with user A pops up, and task A starts. If you open the link, document in the conversation page , applets, etc., newly opened pages of links, documents, and applets, these opened pages and pages that have conversations with user A belong to multiple pages of task A, further based on the controls in the pages of links, documents, and applets Or identify the opened page, which also belongs to multiple pages of task A.
  • the conversation page with user B does not belong to the multiple pages of task A, because the page with conversation with user B is not task-based
  • the pages opened by multiple pages in A so the pages that have a conversation with user B belong to task B.
  • Pages opened based on multiple pages of a task will also be attributed to 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.
  • the main window of the target application has a connected first display area and a second display area.
  • the page of 2) is displayed in the first display area, while in the second display area, other pages among the multiple pages are stacked and displayed in the form of slices.
  • the stack has the feature of first-in-first-out.
  • the pages displayed in the first display area of the main window can be switched, and the pages located in the second display area can be switched to the first display area for display through the page switching operation.
  • the pages in the first display area can be extended Hide outside the display area.
  • all the drill-down pages of the task are opened through the main window of the target application, instead of being opened through a third-party application, and all pages opened in the same task can be recorded, so that The target application can record the pages related to the same task, but if multiple pages of the task are opened through a third-party application, it will cause a task fault.
  • any logo in multiple pages needs to open other pages, it will still be opened in the target application and added to the multiple pages, so that it is convenient for users to compare contexts and save the time for users to jump and compare between different applications , and save the cost for users to jump and search between different pages.
  • various types of reading plug-ins, browser plug-ins, and video plug-ins may be embedded in the target application to ensure that various types of pages can be opened.
  • the multiple pages include at least one of the following: an instant messaging session page, an online document page, an offline document page, a webpage within the target application, a webpage outside the target application, and a mini-program page.
  • the webpage in the target application means that the link address pointed to by the webpage points to an address in the target application
  • the webpage outside the target application means that the link address pointed to by the webpage points to an address outside the target application.
  • a browser plug-in can be embedded in the target application. Open a webpage outside the target application through a browser plug-in without calling software other than the target application. All pages are opened through the target application itself, and the opened webpage is added to multiple pages, so that users do not need to switch between different applications. to switch between.
  • the page switching operation includes at least one of the following: a shortcut key operation; a gesture sliding operation; and a click switching operation.
  • the shortcut key operation can be an operation on a preset key or a combination of preset keys in the keyboard, or an operation on a virtual key on the display screen.
  • the gesture sliding operation can be, for example, sliding from the first display area to the second display area, And sliding from the second display area to the first display area can also be a gesture sliding operation of other preset tracks
  • the click switch operation can be a touch click switch operation, such as clicking on an area close to the second display area in the first display area , the previous page is displayed, and the next page is displayed when clicking on an area far away from the second display area in the first display area.
  • 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.
  • the second display area is a left area of the main window
  • the first display area is a right area of the main window.
  • the boundary between the second display area and the first display area changes dynamically.
  • displaying the last 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 One page; or, the last two or three pages of the plurality of pages are displayed side by side in the first display area of the main window.
  • the number of pages displayed in the first display area can be one, two or three, and when two or three are displayed, the display ratio of two or three pages can be set in the first display area , that is, two or three sub-areas can be set in the first display area to display pages, and the ratio of the display size of these sub-areas is fixed.
  • the pages displayed in the first display area are displayed in the order of opening time in the sub-areas , that is, it can be set that the opening time of the page displayed in the first sub-area is earlier than that of the page displayed in the second sub-area.
  • two pages are displayed at the same time in Figure 2, and the first display area is divided into two sub-areas, which are respectively a sub-area with a smaller width on the left and an area with a larger width on the right.
  • the size ratio is fixed, the opening time of the page displayed in the left sub-area is earlier than that of the right sub-area, and the opened page is displayed according to the size of the sub-area adaptively.
  • the pages whose opening time is earlier than the target page are stacked
  • the state is displayed in the second display area, and the target page is displayed in the first display area in an expanded state.
  • the first display area in the main window displays the page in the expanded state, while the second display area displays the page in the stack state.
  • the following method is used to determine whether the page is displayed in the stack state Still in the unfolded state, first determine the target page that will be or is currently displayed in the first display area, determine the sum of the display size of the page whose opening time is before the target page and the target page, and determine whether the sum of the display size is greater than the preset size.
  • the size can 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, so the target page is displayed in an expanded state, and the previously opened target page is displayed.
  • the pages are displayed in the second display area in a stack state, and the pages whose opening time is behind the target page can be hidden.
  • the number of target pages may be a preset number, that is, 1, 2 or 3. Please refer to Figure 4.
  • Page 1 is the target page.
  • Page 2 and Page 3 are opened after Page 1.
  • Page 2 and Page 3 can be hidden outside the main window in the unfolded state, which cannot be observed by the user. They can be displayed by switching to view page 2 and page 3.
  • one or more pages with the earliest opening time are displayed in the expanded state on the first A display area is displayed, and other pages other than one or more pages with the earliest opening time are hidden.
  • the earliest opened page will be displayed as shown in Figure 5
  • the earliest opened one or more pages can be 1, 2 or 3 pages, and the specific display of several earliest opened pages can be based on The size of the first display area is determined.
  • the size of the first display area can be equal to the size of the main window, and the size of the first display area can also be different from the size of the main window.
  • the size of the window displays as many of the earliest opened pages as possible.
  • the first display area can be only a part of the main window.
  • the main window can also display the entrances of different tasks, and hide other pages except the earliest opened page.
  • Other pages can be It is hidden outside the main window in the expanded state, and the hidden page can be displayed by switching operations, such as sliding the hidden page to the left to display in the main window by sliding to the left.
  • the method further includes: performing deduplication processing on the same page among the plurality of pages opened by the drill-down of the same task, and retaining the page with the latest opening time among the same pages.
  • the pages opened by the same task drill-down do not retain the same page.
  • displaying the page corresponding to the page switching operation among the multiple pages in the first display area of the main window includes: displaying the multiple pages When the page corresponding to the page switching operation is selected, the last accessed position of the page is located. In some embodiments, the access location of the page is recorded, so that the location of the last visit can be located after switching back to the page next time.
  • it also includes: multiple pages opened based on the same task are drilled down, and the associated page status information of the task is recorded as a unit, and the multiple pages opened by the drill-down are associated pages of the task, which are recorded in the associated page status
  • the associated page state information may also record the opening sequence and access location of each page; in response to the switching operation of the task of the target application, according to the associated page state information of the switched task in the main page of the target application The page associated with the switched task is displayed in the window.
  • FIG. 5 Please refer to FIG. 5 to FIG. 8.
  • the first display area in FIG. 5 shows the page with the earliest opening time in task 1. After a new page is triggered to open in task 1, it will be as shown in FIG. 6. Add the associated pages of Task 1. In some embodiments, if the total size of the associated pages is smaller than the preset size, all pages will be expanded side by side in the style shown in Figure 6.
  • the target application has a first identifier corresponding to task 1 and a second identifier corresponding to task 2, and the first identifier and the second identifier may be different contacts in the left contact list in FIG. 5, for example.
  • the function entry identifiers such as "message", "calendar” and "cloud document” in Figure 5.
  • the multiple pages opened based on the same task drill-down can be the associated pages of the task corresponding to the first identifier.
  • another task corresponding to the second identifier such as opening a session with another user
  • the associated page of task 2 will be displayed, and the associated page of task 2, taking the session task in Figure 8 as an example, if the session task in Figure 8 has other associated pages in the task 2 besides the session page, Then other associated pages can be hidden outside the main window in an expanded state. For example, by sliding from right to left, the pages hidden outside the main window can be switched and displayed in the main window.
  • Drilling down refers to gradually opening from the main page of the task, and the main page of the session task in Figure 8 is the session page shown in Figure 8 .
  • the corresponding page status information is recorded separately for different tasks.
  • the associated page of the task will not be closed, but saved first, so that after the task is switched, it can quickly Find the pages that have been opened before, without having to drill down and open them step by step, you can switch the associated pages that display the task through the switching operation.
  • 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 button operation.
  • the target application has an identifier corresponding to the task, and different tasks are opened by triggering different identifiers.
  • Touch gesture operations can be user-defined, and buttons can be physical or virtual buttons.
  • the method further includes: if there is the same page in the pages associated with different tasks, keep the content synchronization between the same pages, but respectively record the respective content browsing positions in the state information of the associated pages of different tasks .
  • the same page may be opened in different tasks. At this time, the same page in each task is kept, and the synchronization of the same content is maintained. For example, if document 1 is opened in both task 1 and task 2, then in task 1 The modifications made to document 1 in 1 can also be viewed in task 2.
  • the document 1 displayed in the two tasks is the same, but the access progress corresponding to each task is recorded in different tasks, for example, the access in document 1 Position, so that when the same page is opened in different tasks, the positions to be located can be different.
  • a task is defined as a collection of pages that are continuously opened when a task is completed.
  • the You can start a task, and 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.
  • the same pages are deduplicated, and only one is reserved. Window, when displaying a page, retains the page position when leaving the page. Between the associated pages of different tasks, the same pages are not deduplicated, allowing the same pages to be opened in different tasks at the same time.
  • Drill-down pages can include chat sessions, document pages, web pages, and applet pages.
  • the method proposed in the embodiment of the present disclosure can directly invoke the page of the function from the associated page when completing a complex task requires multiple function calls in the target application, eliminating the need for switching between different pages and Find costs.
  • the associated page of the interrupted task will be recorded and saved. It is convenient to look back at the context when reprocessing the task, saving a lot of path finding and memory costs.
  • webpages such as documents are embedded in the task pages, saving jumping steps.
  • a display control device including:
  • the display unit is configured to display the last preset number of pages opened among the multiple pages in the first display area of the main window when multiple pages are drilled down based on the same task in the target application, and in the main window
  • the second display area of the second display area stacks and displays other pages in the plurality of pages in the form of slices;
  • the control unit is 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 multiple pages include at least one of the following:
  • Instant messaging session pages online document pages, offline document pages, web pages within the target application, web pages outside the target application, and applet pages.
  • the page switching operation includes at least one of the following: shortcut button operation; gesture sliding operation; click to switch operation.
  • 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 main window
  • the left area of the first display area is the right area of the main window; where, with the different number of stacked slices in the second display area, the boundary between the second display area and the first display area Dynamic changes.
  • displaying the last preset number of pages among the plurality of pages in the first display area of the main window includes: displaying the last opened one of the plurality of pages in the first display area of the main window or display the last two or three pages of the plurality of pages side by side in the first display area of the main window.
  • the pages in the plurality of pages have a stack state stacked in the second display area, and an expanded state sequentially connected to expand;
  • the page whose opening time is located before the target page is displayed on the first page in a stack state. and a second display area, displaying the target page in the first display area in an expanded state.
  • control unit is further configured to, in response to a trigger operation on the pages in the stacked state in the second display area, place the page with the earliest opening time among the plurality of pages in the unfolded state on the The first display area is displayed, and other pages other than the page with the earliest opening time are hidden.
  • control unit is further configured to perform deduplication processing on the same page among the plurality of pages drilled down and opened by the same task, and keep the page with the latest opening time among the same pages.
  • displaying the page corresponding to the page switching operation among the multiple pages in the first display area of the main window includes: displaying the multiple pages When the page corresponding to the page switching operation is selected, the last accessed position of the page is located.
  • control unit is also used to drill down multiple pages opened based on the same task, and record the associated page status information of the task as a unit;
  • the page associated with the switched task is displayed in the main window of the target application according to the associated page state information of the switched task.
  • 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 button operation.
  • control unit is also used to keep the synchronization of the content between the same pages if there is the same page in the pages associated with different tasks, but record the respective content browsing positions in the state information of the associated pages of different tasks .
  • a closing control is provided on a page among the plurality of pages, and the control unit is further configured to close the corresponding page after the closing control is triggered, and the pages before and after the page to be closed are on the plurality of pages The positions in are set to be adjacent.
  • the present disclosure also provides a terminal and a storage medium, which are described below.
  • FIG. 9 shows a schematic structural diagram of an electronic device (such as a terminal device or a server) 800 suitable for implementing an embodiment of the present disclosure.
  • the terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like.
  • the electronic device shown in the figure is just an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
  • the electronic device 800 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 801, which may be loaded into a random access memory (RAM) 803 according to a program stored in a read-only memory (ROM) 802 or loaded from a storage device 808 Various appropriate actions and processing are performed by the program. In the RAM 803, various programs and data necessary for the operation of the electronic device 800 are also stored.
  • the processing device 801, ROM 802, and RAM 803 are connected to each other through a bus 804.
  • An input/output (I/O) interface 805 is also connected to the bus 804 .
  • the following devices can be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 807 such as a computer; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809.
  • the communication means 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. While the electronic device 800 is shown with various means, it is to be understood that implementing or having all the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts.
  • the computer program may be downloaded and installed from a network via communication means 809, or from storage means 808, or from ROM 802.
  • the processing device 801 When the computer program is executed by the processing device 801, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • the client and the server can communicate using any currently known or future network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium
  • HTTP HyperText Transfer Protocol
  • the communication eg, communication network
  • Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to execute the above-mentioned method of the present disclosure.
  • Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • 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, apparatus, or device.
  • 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, apparatus, or device, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • a display control method including:
  • the last preset number of pages among the multiple pages are displayed in the first display area of the main window, and the second display area of the main window stacking and displaying other pages of the plurality of pages in the form of slices;
  • a page corresponding to the page switching operation among the plurality of pages is displayed in the first display area of the main window.
  • a display control method includes at least one of the following: an instant messaging session page, an online document page, an offline document page, a web page in a target application, Web pages and applet pages outside the target application.
  • a display control method includes at least one of the following: a shortcut key operation; a gesture sliding operation; and a click switching operation.
  • a display control method is provided, 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, with the number of stacked slices in the second display area The boundary between the second display area and the first display area changes dynamically.
  • a display control method is provided. Displaying the last preset number of pages among the plurality of pages in the first display area of the main window includes:
  • the last opened page among the plurality of pages is displayed in the first display area of the main window; or, the last two or three pages opened in the plurality of pages are displayed side by side in the first display area of the main window.
  • a display control method is provided, if the sum of the size of the target page displayed in the first display area and the page whose opening time is earlier than the target page exceeds a preset size
  • the page whose opening time is earlier than the target page is displayed in the second display area in a stack state, and the target page is displayed in the first display area in an expanded state.
  • a display control method further comprising:
  • a display control method displaying one or more pages with the earliest opening time among the plurality of pages in the first display area in an expanded state, including:
  • a display control method is provided, and the method further includes: performing deduplication processing on the same page among the multiple pages opened by the drill-down of the same task, and retaining the same The page with the most recent opening time among the pages.
  • a display control method wherein in response to a page switching operation, displaying the page switching among the plurality of pages in the first display area of the main window
  • the pages corresponding to the operation include:
  • a display control method further comprising:
  • the page associated with the switched task is displayed in the main window of the target application according to the associated page state information of the switched task.
  • a display control method is provided, and the task switching operation of the target application includes:
  • a display control method further includes: if there is the same page among the pages associated with different tasks, keeping the content synchronization between the same pages, but The respective content browsing positions are recorded in the state information of the associated page of the task.
  • a display control method wherein a close control is provided on a page among the plurality of pages, and the corresponding page is closed after the close control is triggered, and the page to be closed The previous and subsequent pages are connected.
  • a display control device including:
  • the display unit is configured to display the last preset number of pages opened among the multiple pages in the first display area of the main window when multiple pages are drilled down based on the same task in the target application, and in the main window
  • the second display area of the second display area stacks and displays other pages in the plurality of pages in the form of slices;
  • the control unit is 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.
  • an electronic device including:
  • the at least one memory is used for storing program codes
  • the at least one processor is used for invoking the program codes stored in the at least one memory to execute any of the methods described above.
  • a computer-readable storage medium the computer-readable storage medium is used for storing program code, and when the program code is executed by a processor, the processor Perform any of the methods described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Provided in the present disclosure are a display control method and apparatus, and an electronic device and a storage medium. The display control method provided in present disclosure comprises: when a plurality of pages are opened in a target application on the basis of the same task and by means of drill down, displaying, in a first display region of a main window, a preset number of last opened pages among the plurality of pages, and displaying the other pages of the plurality of pages in a stacked manner in the form of slices in a second display region of the main window; and in response to a page switching operation, displaying, in the first display region of the main window, a page among the plurality of pages that corresponds to the page switching operation. By means of the embodiments of the present disclosure, a task can be prevented from being interrupted, facilitating a user quickly switching to a previously opened page.

Description

显示控制方法、装置、电子设备和存储介质Display control method, device, electronic device and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请基于申请号为202111316993.X、申请日为2021年11月08日,名称为“显示控制方法、装置、电子设备和存储介质”的中国专利申请提出,并要求该中国专利申请的优先权,上述中国专利申请的公开内容全文以引入方式并入本文。This application is based on the Chinese patent application with the application number 202111316993.X, the filing date is November 08, 2021, and the name is "display control method, device, electronic equipment and storage medium", and claims the priority of the Chinese patent application , the disclosure content of the above-mentioned Chinese patent application is incorporated herein by reference in its entirety.
技术领域technical field
本公开涉及计算机技术领域,尤其涉及一种显示控制方法、装置、电子设备和存储介质。The present disclosure relates to the field of computer technology, and in particular to a display control method, device, electronic equipment and storage medium.
背景技术Background technique
在终端中,在应用中执行任务的期间,例如进行一个会话期间,有时会打开一些相关联的页面,如果该页面在应用以外的程序中打开,将会导致任务的中断,用户无法沿任务流进行回溯。In the terminal, during the execution of tasks in the application, such as during a session, sometimes some associated pages are opened. If the page is opened in a program other than the application, the task will be interrupted, and the user cannot follow the task flow. Do backtracking.
发明内容Contents of the invention
本公开提供一种显示控制方法、装置、终端和存储介质。The present disclosure provides a display control method, device, terminal and storage medium.
本公开采用以下的技术方案。The present disclosure adopts the following technical solutions.
在一些实施例中,本公开提供一种显示控制方法,包括:In some embodiments, the present disclosure provides a display control method, including:
在目标应用中基于同一个任务下钻打开多个页面时,在主窗口的第一显示区域显示所述多个页面中的最后打开的预设个数的页面,在主窗口的第二显示区域以切片形式堆栈显示所述多个页面中的其他页面;When multiple pages are drilled down based on the same task in the target application, the last preset number of pages among the multiple pages are displayed in the first display area of the main window, and the second display area of the main window stacking and displaying other pages of the plurality of pages in the form of slices;
响应于页面切换操作,在所述主窗口的第一显示区域显示所述多个页面中与所述页面切换操作所对应的页面。In response to the 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.
在一些实施例中,本公开提供一种显示控制装置,包括:In some embodiments, the present disclosure provides a display control device, including:
显示单元,用于在目标应用中基于同一个任务下钻打开多个页面时,在主窗口的第一显示区域显示所述多个页面中的最后打开的预设个数的页面,在主窗口的第二显示区域以切片形式堆栈显示所述多个页面中的其他页面;The display unit is configured to display the last preset number of pages opened among the multiple pages in the first display area of the main window when multiple pages are drilled down based on the same task in the target application, and in the main window The second display area of the second display area stacks and displays other pages in the plurality of pages in the form of slices;
控制单元,用于响应于页面切换操作,在所述主窗口的第一显示区域显示所述多个页面中与所述页面切换操作所对应的页面。The control unit is 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.
在一些实施例中,本公开提供一种电子设备,包括:至少一个存储器和至少一个处理器;In some embodiments, the present disclosure provides an electronic device comprising: at least one memory and at least one processor;
其中,存储器用于存储程序代码,处理器用于调用所述存储器所存储的程序代码执行上述的方法。Wherein, 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.
在一些实施例中,本公开提供一种计算机可读存储介质,所述计算机可读存储介质用于存储程序代码,所述程序代码在被处理器运行时,促使所述处理器执行上述中任一项所述的方法。In some embodiments, the present disclosure provides a computer-readable storage medium, the computer-readable storage medium is used for storing program code, and when the program code is executed by a processor, it causes the processor to perform any of the above-mentioned one of the methods described.
在本公开的一些实施例中,在将同一个任务下钻打开的多个页面分别显示在第一显示区域和第二显示区域,并且第一显示区域所显示的页面可切换,使得同一任务下的所有页面都能够被记录,从而可以防止任务所打开的页面断层,本公开实施例中,通过多个页面记录下钻打开的历史页面,从而方便用户对比上下文,节省了用户在不同的应用之间进行跳转对比的时间,并且降低了用户进行不同的页面之间的跳转和查找的成本。In some embodiments of the present disclosure, multiple pages opened by drilling down to the same task are displayed in the first display area and the second display area respectively, and the pages displayed in the first display area can be switched, so that the pages displayed in the same task All the pages can be recorded, so as to prevent the pages opened by the task from being broken. In the embodiment of the present disclosure, the historical pages opened by drilling down through multiple pages are recorded, which is convenient for the user to compare the context and saves the user between different applications. The time for jumping and comparing between different pages is reduced, and the cost for users to jump and search between different pages is reduced.
附图说明Description of drawings
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,元件和元素不一定按照比例绘制。The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and elements and elements have not necessarily been drawn to scale.
图1是本公开实施例的一种显示控制方法的流程图。FIG. 1 is a flowchart of a display control method according to an embodiment of the present disclosure.
图2是本公开实施例的一种目标应用的显示示意图。Fig. 2 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
图3是本公开实施例的一种目标应用的显示示意图。Fig. 3 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
图4是本公开实施例的一种目标应用的显示示意图。Fig. 4 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
图5是本公开实施例的一种目标应用的显示示意图。Fig. 5 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
图6是本公开实施例的一种目标应用的显示示意图。FIG. 6 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
图7是本公开实施例的一种目标应用的显示示意图。Fig. 7 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
图8是本公开实施例的一种目标应用的显示示意图。Fig. 8 is a schematic display diagram of a target application according to an embodiment of the present disclosure.
图9是本公开实施例的电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。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 drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.
应当理解,本公开的方法实施方式中记载的各个步骤可以按和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that various steps described in the method implementation manners of the present disclosure may be executed in sequence and/or in parallel. Additionally, method embodiments may include additional steps and/or omit performing illustrated steps. The scope of the present disclosure is not limited in this respect.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "comprise" and its variations are open-ended, ie "including but not limited to". The term "based on" is "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one further embodiment"; the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms will be given in the description below.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the sequence of functions performed by these devices, modules or units or interdependence.
需要注意,本公开中提及的“一个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modification of "a" 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 the context clearly indicates otherwise.
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are used for illustrative purposes only, and are not used to limit the scope of these messages or information.
以下将结合附图,对本公开实施例提供的方案进行详细描述。The solutions provided by the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
在应用程序内部,采用树状结构记录页面之间的关系,上级页面中具有可以被触发后打开的下级页面,上级页面与下级页面之间为父节点与子节点的关系,下级页面之间为子节点的关系,具有上下级关系的页面形成一个任务的关联页面,这种树状结构容易造成任务的断层,处理效率低。在处理单任务时,树状结构的关系决定了用户想要从一个页面跳转到另一个页面时,必定存在频繁的页面跳转,通常需要返回上层节点,再下到下层节点,导致任务断层,操作和记忆成本高,特别是那些需要频繁对比页面的任务。在处理多任务时,一旦任务中断并有多个并行任务时,则需要成倍于单任务的操作和回溯成本,使用户浪费时间在窗口的寻找和切换中。Inside the application, a tree structure is used to record the relationship between pages. The upper-level page has a lower-level page that can be opened after being triggered. The relationship between the upper-level page and the lower-level page is the relationship between the parent node and the child node. The relationship between sub-nodes and the page with the upper-lower relationship form a task-associated page. This tree structure is easy to cause faults in tasks 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. , high operation and memory costs, especially those tasks that require frequent page comparisons. When dealing with multitasking, once a task is interrupted and there are multiple parallel tasks, the operation and backtracking costs of a single task need to be doubled, causing users to waste time in searching and switching windows.
如图1所示,图1是本公开实施例的显示控制方法的流程图,包括如下步骤S11和S12。As shown in FIG. 1 , FIG. 1 is a flowchart of a display control method according to an embodiment of the present disclosure, including the following steps S11 and S12 .
S11:在目标应用中基于同一个任务下钻打开多个页面时,在主窗口的第一显示区域显示多个页面中的最后打开的预设个数的页面,在主窗口的第二显示区域以切片形式堆栈显示多个页面中的其他页面。S11: When multiple pages are drilled down and opened based on the same task in the target application, the last preset number of pages opened among the multiple pages is displayed in the first display area of the main window, and the second display area of the main window Stacks other pages among multiple pages as slices.
S12:响应于页面切换操作,在主窗口的第一显示区域显示多个页面中与页面切换操作所对应的页面。S12: In response to the 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.
一些实施例中,目标应用可以是任一应用,例如可以是即时通信应用,目标任务中,当在第一页面中执行操作从而打开了第二页面,例如触发第一页面中的标识从而打开第二页面,则第一页面和第二页面均属于同一个任务,如果通过触发任务的多个页面中以外的标识的方式跳转到第三页面,则第三页面不属于该任务,而是属于另一个任务。因此,一个任务下钻打开的多个页面中具有一个主页面,多个页面中的其他页面都直接或间接的基于主页面打开,当新打开的页面不是基于所述多个页面打开的时,该新打开的页面也就与所述多个页面不属于同一个任务。一个任务是指完成一项工作时所连续打开的页面的集合(多个页面)。具体举例而言,在即时通信软件中,点击feed流(例如会话列表)中的与用户A的会话,此时弹出与用户A的会话页面,开始任务A,如果打开会话页面中的链接、文档、小程序等,新打开链接、文档、小程序的页面,这些打开的页面以及与用户A进行会话的页面均属于任务A的多个页面,进一步基于链接、文档、小程序的页面中的控件或标识所打开的页面,也属于任务A的多个页面。如果此时点击feed流中的与用户B的会话,开始与用户B进行会话,则与用户B进行会话的会话页面不属于任务A的多个页面,因为与用户B进行会话的页面不是基于任务A中多个页面所打开的,因此与用户B进行会话的页面是属于任务B。基于一个任务的多个页面所打开的页面,也将被归属于在该任务的多个页面。如果一个新页面不是基于所述多个页面所打开的,那么新页面与所述多个页面也就不属于同一个任务。如图2所示,目标应用的主窗口具有相连的第一显示区和第二显示区,对于同一个任务下钻打开多个页面时,其中最后打开的预设个数(预设个数可以是2)的页面显示在第一显示区域,而在第二显示区域则以切片形式堆栈显示多个页面中的其他页面,一些实施例 中,堆栈具有先进先出的特点。本实施例中,主窗口第一显示区域所显示的页面可以切换,可以通过页面切换操作将位于第二显示区域的页面切换到第一显示区域进行显示,此时第一显示区域的页面可以延伸到显示区域以外进行隐藏,例如如图2所示,以页面切换操作为从左向右滑动为例,当执行了页面切换操作之后,则将左侧第二显示区域的页面显示到第一显示区域,而第一显示区域继续向右移动到显示区域以外隐藏,此时可以再执行从右侧向左侧滑动的操作,将隐藏的页面移动到第一显示区域进行显示。被切换隐藏的页面不会关闭,本公开实施例中任务的多个页面彼此按照打开时间连接形成页面流,页面流部分被堆栈,部分展开,目标应用可以只是显示页面流中的部分页面,页面流中的页面可以全部或部分位于目标应用的主窗口内,位于主窗口外的页面则可以隐藏,各个页面在页面流中的顺序可以交换或调整,默认按照打开顺序排布。In some embodiments, the target application can be any application, for example, it can be an instant messaging application. In the target task, when an operation is performed on the first page to open the second page, for example, an indicator on the first page is triggered to open the second page. Two pages, the first page and the second page belong to the same task, if you jump to the third page by means of markings other than the multiple pages that trigger the task, the third page does not belong to the task, but belongs to Another task. Therefore, there is a main page in the multiple pages opened by the drill-down of a task, and 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 task as the multiple pages. A task refers to a collection of pages (multiple pages) that are opened continuously when completing a job. Specifically, for example, in the instant messaging software, click on the conversation with user A in the feed flow (such as the conversation list), and at this moment, the conversation page with user A pops up, and task A starts. If you open the link, document in the conversation page , applets, etc., newly opened pages of links, documents, and applets, these opened pages and pages that have conversations with user A belong to multiple pages of task A, further based on the controls in the pages of links, documents, and applets Or identify the opened page, which also belongs to multiple pages of task A. If you click on the conversation with user B in the feed stream at this time to start a conversation with user B, the conversation page with user B does not belong to the multiple pages of task A, because the page with conversation with user B is not task-based The pages opened by multiple pages in A, so the pages that have a conversation with user B belong to task B. Pages opened based on multiple pages of a task will also be attributed to 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. As shown in Figure 2, the main window of the target application has a connected first display area and a second display area. The page of 2) is displayed in the first display area, while in the second display area, other pages among the multiple pages are stacked and displayed in the form of slices. In some embodiments, the stack has the feature of first-in-first-out. In this embodiment, the pages displayed in the first display area of the main window can be switched, and the pages located in the second display area can be switched to the first display area for display through the page switching operation. At this time, the pages in the first display area can be extended Hide outside the display area. For example, as shown in Figure 2, take the page switching operation as 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 will be displayed on the first display area, and the first display area continues to move to the right to be hidden outside the display area. At this time, you can perform the operation of sliding from the right to the left again to move the hidden page to the first display area for display. The pages that are switched and hidden will not be closed. In the embodiment of the disclosure, multiple pages of the 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 some pages in the page flow. All or part of the pages in the flow can be located in the main window of the target application, and the pages outside the main window can be hidden. The order of each page in the page flow can be exchanged or adjusted, and the pages are arranged according to the opening order by default.
在本公开的一些实施例中,在对任务进行处理期间,通过目标应用的主窗口打开任务的所有下钻页面,而不是通过第三方应用打开,能够记录所有同一个任务中打开的页面,这样目标应用能够记录与同一任务相关的页面,而如果通过第三方应用打开任务的多个页面,则会造成任务断层,本公开实施例中,始终在目标应用内打开任务的多个页面,在触发多个页面中的任何标识需要打开其他页面时,也仍然在目标应用中打开,并加入所述多个页面,从而方便用户对比上下文,节省了用户在不同的应用之间进行跳转对比的时间,并且节省了用户进行不同的页面之间的跳转和查找的成本。一些实施例中,可以是在目标应用中嵌入阅读插件、浏览器插件、视频插件等各种类型的以保证能够打开各种类型的页面。In some embodiments of the present disclosure, during the processing of a task, all the drill-down pages of the task are opened through the main window of the target application, instead of being opened through a third-party application, and all pages opened in the same task can be recorded, so that The target application can record the pages related to the same task, but if multiple pages of the task are opened through a third-party application, it will cause a task fault. When any logo in multiple pages needs to open other pages, it will still be opened in the target application and added to the multiple pages, so that it is convenient for users to compare contexts and save the time for users to jump and compare between different applications , and save the cost for users to jump and search between different pages. In some embodiments, various types of reading plug-ins, browser plug-ins, and video plug-ins may be embedded in the target application to ensure that various types of pages can be opened.
在一些实施例中,多个页面包括如下的至少一种:即时通信会话页面、在线文档页面、离线文档页面、目标应用内的网页、目标应用外的网页、小程序页面。一些实施例中,目标应用内的网页是指网页所指向的链接地址指向目标应用内的某个地址,目标应用外的网页是指网页所指向的链接地址指向目标应用外的某个地址,常规技术中,当打开目标应用外的网页时,是通过外部的浏览器进行打开,本实施例中则是通过目标应用打开,更具体的,本实施例中可以在目标应用中嵌入浏览器插件,通过浏览器插件打开目标应用外的网页,而不会调用目标应用以外的软件,所有页面都是通过目标应用本身打开,并且将打开的网页加入到多个页面,从而无需用户在不同的应用之间进行切换。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 webpage within the target application, a webpage outside the target application, and a mini-program page. In some embodiments, the webpage in the target application means that the link address pointed to by the webpage points to an address in the target application, and the webpage outside the target application means that the link address pointed to by the webpage points to an address outside the target application. In the technology, when opening a webpage outside the target application, it is opened through an external browser. 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. Open a webpage outside the target application through a browser plug-in without calling software other than the target application. All pages are opened through the target application itself, and the opened webpage is added to multiple pages, so that users do not need to switch between different applications. to switch between.
在一些实施例中,所述页面切换操作包括如下的至少一种:快捷按键操作;手势滑动操作;点击切换的操作。快捷键按键操作可以是对键盘中预设按键或预设按键组合的操作,也可以是对显示屏幕上虚拟按键的操作,手势滑动操作例如可以是从第一显示区滑动到第二显示区,以及从第二显示区滑动到第一显示区,也可以是其他预设轨迹的手势滑动操作,点击切换操作可以是触控点击切换操作,例如点击第一显示区域中靠近第二显示区域的区域,则显示上一个页面,点击第一显示区域中远离第二显示区域的区域,则显示下一个页面。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 switching operation. The shortcut key operation can be an operation on a preset key or a combination of preset keys in the keyboard, or an operation on a virtual key on the display screen. The gesture sliding operation can be, for example, sliding from the first display area to the second display area, And sliding from the second display area to the first display area can also be a gesture sliding operation of other preset tracks, and the click switch operation can be a touch click switch operation, such as clicking on an area close to the second display area in the first display area , the previous page is displayed, and the next page is displayed when clicking on an area far away from the second display area in the first display area.
一些实施例中,请参考图2,所述第二显示区域为所述主窗口的右侧区域,所述第一显示区域为所述主窗口的左侧区域。或者,在一些其他的实施例中,所述第二显示区域为所述主窗口的左侧区域,所述第一显示区域为所述主窗口的右侧区域。其中,随着所述第二显示区域中堆栈的切片数量的不同,第二显示区域和第一显示区域的边界动态变化。具体的,请参考图2和图3,在图2中第二显示区域中有2个页面切片,在图3中第二显示区域有1个页面切片,而图2中第二显示区域的宽度明显大于图3 中第二显示区域的宽度,即第二显示区域与第一显示区域的边界会随着第二显示区域的切片数量的改变而改变。In some embodiments, please refer to FIG. 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. Or, in some other embodiments, the second display area is a left area of the main window, and the first display area is a right area of the main window. Wherein, as the number of stacked slices in the second display area is different, the boundary between the second display area and the first display area changes dynamically. Specifically, please refer to Figure 2 and Figure 3, there are 2 page slices in the second display area in Figure 2, and 1 page slice in the second display area in Figure 3, and the width of the second display area in Figure 2 It is obviously larger than the width of the second display area in FIG. 3 , 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.
在一些实施例中,在主窗口第一显示区域显示所述多个页面中的最后打开的预设个数的页面包括:在主窗口第一显示区域显示所述多个页面中的最后打开的一个页面;或者,在主窗口第一显示区域并列显示所述多个页面中的最后打开的两个或三个页面。In some embodiments, displaying the last 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 One page; or, the last two or three pages of the plurality of pages are displayed side by side in the first display area of the main window.
一些实施例中,第一显示区域所显示的页面个数可以是一个、两个或三个,当显示两个或三个时,可以在第一显示区域设置两个或三个页面的显示比例,即第一显示区域中可以设置两个或三个子区域用于显示页面,这些子区域的显示尺寸的比例是固定的,第一显示区域所显示的页面中按照打开时间顺序,显示在子区域中,即可以设置第一子区域显示的页面的打开时间早于第二子区域显示的页面的打开时间。例如图2所示,图2中同时显示两个页面,将第一显示区域划分为两个子区域,分别为左侧宽度较小的子区域和右侧宽度较大的区域,这两个子区域的尺寸比例是固定的,左侧的子区域显示的页面的打开时间早于右侧的子区域的打开时间,打开的页面根据子区域的尺寸自适应调节尺寸进行显示。In some embodiments, the number of pages displayed in the first display area can be one, two or three, and when two or three are displayed, the display ratio of two or three pages can be set in the first display area , that is, two or three sub-areas can be set in the first display area to display pages, and the ratio of the display size of these sub-areas is fixed. The pages displayed in the first display area are displayed in the order of opening time in the sub-areas , that is, it can be set that the opening time of the page displayed in the first sub-area is earlier than that of the page displayed in the second sub-area. For example, as shown in Figure 2, two pages are displayed at the same time in Figure 2, and the first display area is divided into two sub-areas, which are respectively a sub-area with a smaller width on the left and an area with a larger width on the right. The size ratio is fixed, the opening time of the page displayed in the left sub-area is earlier than that of the right sub-area, and the opened page is displayed according to the size of the sub-area adaptively.
在一些实施例中,若所述第一显示区域所显示的目标页面以及打开时间位于所述目标页面之前的页面的尺寸之和超过预设尺寸,打开时间位于所述目标页面之前的页面以堆栈状态显示在所述第二显示区域,将所述目标页面以展开状态显示在第一显示区域。具体的,请参考图3,主窗口内的第一显示区域所显示的是展开状态的页面,而第二显示区域所显示的是堆栈状态的页面,通过如下方式判断是将页面显示为堆栈状态还是展开状态,先确定即将或当前在第一显示区域显示的目标页面,确定打开时间位于目标页面之前的页面以及目标页面的显示尺寸之和,判断显示尺寸之和是否大于预设尺寸,预设尺寸例如可以是主窗口的尺寸,如果超过了预设尺寸,则表明主窗口不能以展开状态显示目标页面以及目标页面之前的页面,因此将目标页面以展开状态进行显示,将目标页面之前打开的页面以堆栈状态显示在第二显示区,而打开时间位于目标页面之后的页面,则可以进行隐藏。目标页面的个数可以是预设个数,即可以是1个、2个或3个。请参考图4,页面1为目标页面,页面2和页面3打开时间位于页面1之后的页面,页面2和页面3可以以展开状态隐藏在主窗口外,用户不能观测到,可以通过切换需要显示的目标页面从而查看页面2和页面3。In some embodiments, if the sum of the sizes of the target page displayed in the first display area and the pages whose opening time is earlier than the target page exceeds a preset size, the pages whose opening time is earlier than the target page are stacked The state is displayed in the second display area, and the target page is displayed in the first display area in an expanded state. Specifically, please refer to Figure 3. The first display area in the main window displays the page in the expanded state, while the second display area displays the page in the stack state. The following method is used to determine whether the page is displayed in the stack state Still in the unfolded state, first determine the target page that will be or is currently displayed in the first display area, determine the sum of the display size of the page whose opening time is before the target page and the target page, and determine whether the sum of the display size is greater than the preset size. The size can 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, so the target page is displayed in an expanded state, and the previously opened target page is displayed. The pages are displayed in the second display area in a stack state, and the pages whose opening time is behind the target page can be hidden. The number of target pages may be a preset number, that is, 1, 2 or 3. Please refer to Figure 4. Page 1 is the target page. Page 2 and Page 3 are opened after Page 1. Page 2 and Page 3 can be hidden outside the main window in the unfolded state, which cannot be observed by the user. They can be displayed by switching to view page 2 and page 3.
一些实施例中,响应于对所述第二显示区域中处于堆叠状态的页面的触发操作后,将所述多个页面中打开时间最早的一个或多个页面以所述展开状态在所述第一显示区域进行显示,并隐藏打开时间最早的一个或多个页面以外的其他页面。In some embodiments, in response to a trigger operation on the pages in the stacked state in the second display area, among the multiple pages, one or more pages with the earliest opening time are displayed in the expanded state on the first A display area is displayed, and other pages other than one or more pages with the earliest opening time are hidden.
一些实施例中,请结合附图3和图5,通过触发图3中第二显示区域的页面,例如通过点击第二区域的页面的方式进行处理,则会如图5所示显示最早打开的一个或多个页面,而隐藏其他页面,此时没有第二显示区域,最早打开的一个或多个页面可以是1个、2个或3个页面,具体展示几个最早打开的页面可以是根据第一显示区的尺寸决定,此时因为没有第二显示区域,第一显示区域的尺寸可以等于主窗口的尺寸,第一显示区域的尺寸,也可以是不等于主窗口的尺寸,可以根据主窗口的尺寸显示尽可能多的最早打开的页面,第一显示区域可以只是主窗口的一部分,主窗口中还可以显示不同任务 的入口,而将除最早打开的页面以外其他页面隐藏,其他页面可以是以展开状态隐藏在主窗口之外,可以通过切换操作显示隐藏的页面,例如通过左滑将隐藏的页面向左拉入主窗口内进行显示。In some embodiments, please refer to Figure 3 and Figure 5, by triggering the page in the second display area in Figure 3, for example, by clicking on the page in the second area, the earliest opened page will be displayed as shown in Figure 5 One or more pages, while hiding other pages, there is no second display area at this time, the earliest opened one or more pages can be 1, 2 or 3 pages, and the specific display of several earliest opened pages can be based on The size of the first display area is determined. 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, and the size of the first display area can also be different from the size of the main window. The size of the window displays as many of the earliest opened pages as possible. The first display area can be only a part of the main window. The main window can also display the entrances of different tasks, and hide other pages except the earliest opened page. Other pages can be It is hidden outside the main window in the expanded state, and the hidden page can be displayed by switching operations, such as sliding the hidden page to the left to display in the main window by sliding to the left.
一些实施例中,该方法还包括:对同一个任务下钻打开的所述多个页面中的相同页面进行去重处理,保留所述相同页面中打开时间最近的页面。一些实施例中,同一个任务下钻打开的页面中不保留相同的页面。In some embodiments, the method further includes: performing deduplication processing on the same page among the plurality of pages opened by the drill-down of the same task, and retaining the page with the latest opening time among the same pages. In some embodiments, the pages opened by the same task drill-down do not retain the same page.
一些实施例中,所述响应于页面切换操作,在所述主窗口的第一显示区域显示所述多个页面中的与所述页面切换操作所对应的页面包括:在显示所述多个页面中与所述页面切换操作所对应的页面时,定位至该页面的最近一次被访问的位置。一些实施例中,会记录页面的访问位置,这样在下一次切换回该页面后可以定位到上一次访问的位置。In some embodiments, in response to the page switching operation, displaying the page corresponding to the page switching operation among the multiple pages in the first display area of the main window includes: displaying the multiple pages When the page corresponding to the page switching operation is selected, the last accessed position of the page is located. In some embodiments, the access location of the page is recorded, so that the location of the last visit can be located after switching back to the page next time.
一些实施例中,还包括:基于同一个任务下钻打开的多个页面,作为一个单位记录任务的关联页面状态信息,下钻打开的多个页面为任务的关联页面,被记录在关联页面状态信息中,关联页面状态信息中还可以记录各个页面的打开顺序和访问位置;响应于对所述目标应用的任务的切换操作,根据切换后的任务的关联页面状态信息在所述目标应用的主窗口中显示所述切换后的任务关联的页面。In some embodiments, it also includes: multiple pages opened based on the same task are drilled down, and the associated page status information of the task is recorded as a unit, and the multiple pages opened by the drill-down are associated pages of the task, which are recorded in the associated page status In the information, the associated page state information may also record the opening sequence and access location of each page; in response to the switching operation of the task of the target application, according to the associated page state information of the switched task in the main page of the target application The page associated with the switched task is displayed in the window.
一些实施例中,请参考图5至图8,图5的第一显示区域显示了任务一中打开时间最早的页面,在任务1中触发打开了新的页面后,会如图6所示,加入任务1的关联页面,一些实施例中,如果关联页面的总尺寸小于预设尺寸,则以图6所示的样式并排展开所有页面,此时可以继续在任务1中打开新的页面,如图7所示,如果打开新的页面后,关联页面的总尺寸大于预设尺寸,则在第一显示区域显示最近打开的预设个数的页面,在第二显示区域以切片形式显示其他页面,一些实施例中,目标应用中具有与任务1对应的第一标识和任务2对应的第二标识,第一标识和第二标识例如可以是图5中左侧联系人列表中不同的联系人,也可以是图5中“消息”、“日历”、“云文档”等功能入口标识,基于同一个任务下钻打开的多个页面可以是第一标识对应的任务的关联页面,在切换到另一个第二标识对应的任务时,例如打开与另一个用户的会话,会根据切换后的任务关联的页面状态信息,在主窗口显示关联的页面,如图8所示,在切换到任务2后,会显示任务2的关联页面,任务2的关联页面,以图8中的会话任务为例,如果图8中的会话任务中除了会话页面以外,该任务2中还有其他关联的页面,则其他关联的页面可以以展开状态隐藏在主窗口外,通过例如从右向左滑动的方式,可以将隐藏在主窗口外的页面切换显示到主窗口内,其他关联的页面例如为切换后的任务2中下钻打开的页面。下钻是指从任务的主页面开始逐步打开,图8中会话任务的主页面为图8所显示的会话页面。本实施例中为不同的任务分别记录对应的页面状态信息,当从一个任务切换到另一任务后,不会关闭任务的关联页面,而是先保存,这样在进行任务切换后,可以快速的找到之前打开过的页面,而无需一步步下钻打开,可通过切换操作切换显示任务的关联页面。In some embodiments, please refer to FIG. 5 to FIG. 8. The first display area in FIG. 5 shows the page with the earliest opening time in task 1. After a new page is triggered to open in task 1, it will be as shown in FIG. 6. Add the associated pages of Task 1. In some embodiments, if the total size of the associated pages is smaller than the preset size, all pages will be expanded side by side in the style shown in Figure 6. At this time, you can continue to open new pages in Task 1, such as As shown in Figure 7, if the total size of the associated pages is greater than the preset size after opening a new page, the newly opened preset number of pages will be displayed in the first display area, and other pages will be displayed in the form of slices in the second display area , in some embodiments, the target application has a first identifier corresponding to task 1 and a second identifier corresponding to task 2, and the first identifier and the second identifier may be different contacts in the left contact list in FIG. 5, for example. , can also be the function entry identifiers such as "message", "calendar" and "cloud document" in Figure 5. The multiple pages opened based on the same task drill-down can be the associated pages of the task corresponding to the first identifier. After switching to When another task corresponding to the second identifier, such as opening a session with another user, will display the associated page in the main window according to the page status information associated with the switched task, as shown in Figure 8, after switching to task 2 After that, the associated page of task 2 will be displayed, and the associated page of task 2, taking the session task in Figure 8 as an example, if the session task in Figure 8 has other associated pages in the task 2 besides the session page, Then other associated pages can be hidden outside the main window in an expanded state. For example, by sliding from right to left, the pages hidden outside the main window can be switched and displayed in the main window. Other associated pages are, for example, the switched Drill down to the opened page in Task 2. Drilling down refers to gradually opening from the main page of the task, and the main page of the session task in Figure 8 is the session page shown in Figure 8 . In this embodiment, the corresponding page status information is recorded separately 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 the task is switched, it can quickly Find the pages that have been opened before, without having to drill down and open them step by step, you can switch the associated pages that display the task through the switching operation.
一些实施例中,所述目标应用的任务的切换操作,包括:对另一任务对应的标识的触发操作、预设的触控手势操作、预设的按键操作中的至少一个。一些实施例中,目标应用中具有与任务对应的标识,通过触发不同的标识打开不同的任务。触控手势操作可以是用户自定义的,按键可以是物理或虚拟按键。In some embodiments, 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 button operation. In some embodiments, the target application has an identifier corresponding to the task, and different tasks are opened by triggering different identifiers. Touch gesture operations can be user-defined, and buttons can be physical or virtual buttons.
一些实施例中,该方法还包括:不同的任务关联的页面中若存在相同页面,保持所述相同页面之间内容的同步,但在不同任务的关联页面状态信息中分别记录各自的内容浏览位置。一些实施例中,不同的任务中可能会打开相同的页面,此时保留各个任务中相同的页面,并且保持相同内容的同步,例如在任务1和任务2中都打开了文档1,则在任务1中对文档1进行的修改,也可以在任务2中查看到,两个任务中显示的文档1是相同的,但不同的任务中记录了各自任务对应的访问进度,例如文档1中的访问位置,这样不同任务打开中相同页面时,定位到的位置可以不同。In some embodiments, the method further includes: if there is the same page in the pages associated with different tasks, keep the content synchronization between the same pages, but respectively record the respective content browsing positions in the state information of the associated pages of different tasks . In some embodiments, the same page may be opened in different tasks. At this time, the same page in each task is kept, and the synchronization of the same content is maintained. For example, if document 1 is opened in both task 1 and task 2, then in task 1 The modifications made to document 1 in 1 can also be viewed in task 2. The document 1 displayed in the two tasks is the same, but the access progress corresponding to each task is recorded in different tasks, for example, the access in document 1 Position, so that when the same page is opened in different tasks, the positions to be located can be different.
一些实施例中,所述多个页面中的页面上具有关闭控件,在所述关闭控件被触发后关闭对应的页面,将被关闭的页面之前和之后的页面在多个页面中的位置设为相邻。一些实施例中,如图2所示,在页面的左上角可以有“×”样式的关闭控件,通过触发(例如点击)该控件,就可以关闭该页面,该页面从任务的关联页面中移除,并将该页面之前和之后的页面连接使其位置相邻,重新形成任务的多个页面。In some embodiments, there is a closing control on the pages of the plurality of pages, and after the closing control is triggered, the corresponding page is closed, and the positions of the pages before and after the closed page in the plurality of pages are set to adjacent. In some embodiments, as shown in FIG. 2, there may be a close control in the style of "×" in the upper left corner of the page. By triggering (for example, clicking) the control, the page can be closed, and the page is removed from the associated page of the task. and connect the pages before and after the page so that their positions are adjacent to form multiple pages of the task.
为了更好的说明本公开提出的方法,以下列举一个具体的实施例,在本实施例中定义任务是完成一项工作时所连续打开的页面的集合,用户在打开目标应用的任一页面均可开始一个任务,通过该页面打开的页面也会被加入该任务的关联页面,任务的关联页面按照打开顺序从左到右排布,在一个任务内,相同的页面做去重,只保留一个窗口,当显示某个页面时,保留之前离开该页面时的页面位置。在不同任务的关联页面之间,相同的页面不做去重,允许在不同任务中的同时打开相同的页面。相同页面在不同任务中,分别记住各自的页面内容浏览位置,且页面内容保持同步。本实施例在树形结构的目标应用内,允许在各个任务中发起的下钻页面,下钻页面堆栈显示或展开显示,方便用户对比上下文,且节省跳转功能或切换到浏览器时的时间。在下钻页面之间进行切换,可以使用键盘快捷键或者触摸板双指左右轻扫来切换,使用户用最低成本来进行页面之间的切换,提升效率。下钻页面可以是包括聊天会话、文档页面、网页、小程序页面。本公开实施例中提出的方法,在完成一个复杂任务需要多个目标应用内的功能调用的时候,可以直接在从关联的页面中唤起该功能的页面,省去了不同页面之间的切换和查找成本。在处理多个任务时,被中断的任务的关联页面将会被记录保存,在重新处理该任务的时候方便回溯上下文,节省很大部分的路径找寻、记忆成本。本实施例将文档等网页嵌入任务的页面中,节省了跳转步骤。In order to better illustrate the method proposed in this disclosure, a specific embodiment is listed below. In this embodiment, a task is defined as a collection of pages that are continuously opened when a task is completed. When the user opens any page of the target application, the You can start a task, and 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 is reserved. Window, when displaying a page, retains the page position when leaving the page. Between the associated pages of different tasks, the same pages are not deduplicated, allowing the same pages to be opened in different tasks at the same time. The same page remembers the browsing position of the respective page content in different tasks, and the page content is kept in sync. In the target application of the tree structure, this embodiment allows the drill-down page initiated in each task, and the drill-down page stack display or expanded display is convenient for the user to compare the context, and saves time when jumping to the function or switching to the browser . To switch between drill-down pages, you can use keyboard shortcuts or swipe left and right with two fingers on the touchpad to switch, so that users can switch between pages at the lowest cost and improve efficiency. Drill-down pages can include chat sessions, document pages, web pages, and applet pages. The method proposed in the embodiment of the present disclosure can directly invoke the page of the function from the associated page when completing a complex task requires multiple function calls in the target application, eliminating the need for switching between different pages and Find costs. When processing multiple tasks, the associated page of the interrupted task will be recorded and saved. It is convenient to look back at the context when reprocessing the task, saving a lot of path finding and memory costs. In this embodiment, webpages such as documents are embedded in the task pages, saving jumping steps.
在本公开实施例中还提出一种显示控制装置,包括:In an embodiment of the present disclosure, a display control device is also proposed, including:
显示单元,用于在目标应用中基于同一个任务下钻打开多个页面时,在主窗口的第一显示区域显示所述多个页面中的最后打开的预设个数的页面,在主窗口的第二显示区域以切片形式堆栈显示所述多个页面中的其他页面;The display unit is configured to display the last preset number of pages opened among the multiple pages in the first display area of the main window when multiple pages are drilled down based on the same task in the target application, and in the main window The second display area of the second display area stacks and displays other pages in the plurality of pages in the form of slices;
控制单元,用于响应于页面切换操作,在所述主窗口的第一显示区域显示所述多个页面中与所述页面切换操作所对应的页面。The control unit is 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.
一些实施例中,所述多个页面包括如下的至少一种:In some embodiments, the multiple pages include at least one of the following:
即时通信会话页面、在线文档页面、离线文档页面、目标应用内的网页、目标应用外的网页、小程序页面。Instant messaging session pages, online document pages, offline document pages, web pages within the target application, web pages outside the target application, and applet pages.
一些实施例中,所述页面切换操作包括如下的至少一种:快捷按键操作;手势滑动操作;点击切换的操作。In some embodiments, the page switching operation includes at least one of the following: shortcut button operation; gesture sliding operation; click to switch operation.
一些实施例中,所述第二显示区域为所述主窗口的右侧区域,所述第一显示区域为所述主窗口的左侧区域;或者,所述第二显示区域为所述主窗口的左侧区域,所述第一显示区域为所述主窗口的右侧区域;其中,随着所述第二显示区域中堆栈的切片数量的不同,第二显示区域和第一显示区域的边界动态变化。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 main window The left area of the first display area is the right area of the main window; where, with the different number of stacked slices in the second display area, the boundary between the second display area and the first display area Dynamic changes.
一些实施例中,在主窗口第一显示区域显示所述多个页面中的最后打开的预设个数的页面包括:在主窗口第一显示区域显示所述多个页面中的最后打开的一个页面;或者,在主窗口第一显示区域并列显示所述多个页面中的最后打开的两个或三个页面。In some embodiments, displaying the last preset number of pages among the plurality of pages in the first display area of the main window includes: displaying the last opened one of the plurality of pages in the first display area of the main window or display the last two or three pages of the plurality of pages side by side in the first display area of the main window.
一些实施例中,所述多个页面中的页面具有堆栈在所述第二显示区的堆栈状态,以及依次连接展开的展开状态;In some embodiments, the pages in the plurality of pages have a stack state stacked in the second display area, and an expanded state sequentially connected to expand;
若所述第一显示区域所显示的目标页面以及打开时间位于所述目标页面之前的页面的尺寸之和超过预设尺寸,打开时间位于所述目标页面之前的页面以堆栈状态显示在所述第二显示区域,将所述目标页面以展开状态显示在第一显示区域。If the sum of the size of the target page displayed in the first display area and the page whose opening time is located before the target page exceeds the preset size, the page whose opening time is located before the target page is displayed on the first page in a stack state. and a second display area, displaying the target page in the first display area in an expanded state.
一些实施例中,控制单元还用于响应于对所述第二显示区域中处于堆叠状态的页面的触发操作后,将所述多个页面中打开时间最早的页面以所述展开状态在所述第一显示区域进行显示,并隐藏打开时间最早的页面以外其他页面。In some embodiments, the control unit is further configured to, in response to a trigger operation on the pages in the stacked state in the second display area, place the page with the earliest opening time among the plurality of pages in the unfolded state on the The first display area is displayed, and other pages other than the page with the earliest opening time are hidden.
一些实施例中,控制单元还用于对同一个任务下钻打开的所述多个页面中的相同页面进行去重处理,保留所述相同页面中打开时间最近的页面。In some embodiments, the control unit is further configured to perform deduplication processing on the same page among the plurality of pages drilled down and opened by the same task, and keep the page with the latest opening time among the same pages.
一些实施例中,所述响应于页面切换操作,在所述主窗口的第一显示区域显示所述多个页面中的与所述页面切换操作所对应的页面包括:在显示所述多个页面中与所述页面切换操作所对应的页面时,定位至该页面的最近一次被访问的位置。In some embodiments, in response to the page switching operation, displaying the page corresponding to the page switching operation among the multiple pages in the first display area of the main window includes: displaying the multiple pages When the page corresponding to the page switching operation is selected, the last accessed position of the page is located.
一些实施例中,控制单元还用于基于同一个任务下钻打开的多个页面,作为一个单位记录任务的关联页面状态信息;In some embodiments, the control unit is also used to drill down multiple pages opened based on the same task, and record the associated page status information of the task as a unit;
响应于对所述目标应用的任务的切换操作,根据切换后的任务的关联页面状态信息在所述目标应用的主窗口中显示所述切换后的任务关联的页面。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 state information of the switched task.
一些实施例中,所述目标应用的任务的切换操作,包括:对另一任务对应的标识的触发操作、预设的触控手势操作、预设的按键操作中的至少一个。In some embodiments, 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 button operation.
一些实施例中,控制单元还用于不同的任务关联的页面中若存在相同页面,保持所述相同页面之间内容的同步,但在不同任务的关联页面状态信息中分别记录各自的内容浏览位置。In some embodiments, the control unit is also used to keep the synchronization of the content between the same pages if there is the same page in the pages associated with different tasks, but record the respective content browsing positions in the state information of the associated pages of different tasks .
一些实施例中,所述多个页面中的页面上具有关闭控件,控制单元还用于在所述关闭控件被触发后关闭对应的页面,将被关闭的页面之前和之后的页面在多个页面中的位置设为相邻。In some embodiments, a closing control is provided on a page among the plurality of pages, and the control unit is further configured to close the corresponding page after the closing control is triggered, and the pages before and after the page to be closed are on the plurality of pages The positions in are set to be adjacent.
对于装置的实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离模块说明的模块可以是或者也 可以不是分开的。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the embodiment of the device, since it basically corresponds to the embodiment of the method, for relevant parts, please refer to part of the description of the embodiment of the method. The apparatus embodiments described above are illustrative only, wherein the modules described as separate modules may or may not be separate. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without creative effort.
以上,基于实施例和应用例说明了本公开的方法及装置。此外,本公开还提供一种终端及存储介质,以下说明这些终端和存储介质。The method and device of the present disclosure have been 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.
下面参考图9,其示出了适于用来实现本公开实施例的电子设备(例如终端设备或服务器)800的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图中示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring now to FIG. 9 , it shows a schematic structural diagram of an electronic device (such as a terminal device or a server) 800 suitable for implementing an embodiment of the present disclosure. The terminal equipment in the embodiment of the present disclosure may include but not limited to such as mobile phone, notebook computer, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), vehicle terminal (such as mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers and the like. The electronic device shown in the figure is just an example, and should not limit the functions and application scope of the embodiments of the present disclosure.
电子设备800可以包括处理装置(例如中央处理器、图形处理器等)801,其可以根据存储在只读存储器(ROM)802中的程序或者从存储装置808加载到随机访问存储器(RAM)803中的程序而执行各种适当的动作和处理。在RAM803中,还存储有电子设备800操作所需的各种程序和数据。处理装置801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。The electronic device 800 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 801, which may be loaded into a random access memory (RAM) 803 according to a program stored in a read-only memory (ROM) 802 or loaded from a storage device 808 Various appropriate actions and processing are performed by the program. In the RAM 803, various programs and data necessary for the operation of the electronic device 800 are also stored. The processing device 801, ROM 802, and RAM 803 are connected to each other through a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804 .
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储装置808;以及通信装置809。通信装置809可以允许电子设备800与其他设备进行无线或有线通信以交换数据。虽然图中示出了具有各种装置的电子设备800,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 807 such as a computer; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. While the electronic device 800 is shown with various means, it is to be understood that implementing or having all the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储装置808被安装,或者从ROM 802被安装。在该计算机程序被处理装置801执行时,执行本公开实施例的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 809, or from storage means 808, or from ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信 号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can transmit, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and the server can communicate using any currently known or future network protocols such as HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and can communicate with digital data in any form or medium The communication (eg, communication network) interconnections. Examples of communication networks include local area networks ("LANs"), wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述的本公开的方法。The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to execute the above-mentioned method of the present disclosure.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present disclosure can be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above 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), System on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、 电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。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, apparatus, or device. 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, apparatus, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
根据本公开的一个或多个实施例,提供了一种显示控制方法,包括:According to one or more embodiments of the present disclosure, a display control method is provided, including:
在目标应用中基于同一个任务下钻打开多个页面时,在主窗口的第一显示区域显示所述多个页面中的最后打开的预设个数的页面,在主窗口的第二显示区域以切片形式堆栈显示所述多个页面中的其他页面;When multiple pages are drilled down based on the same task in the target application, the last preset number of pages among the multiple pages are displayed in the first display area of the main window, and the second display area of the main window stacking and displaying other pages of the plurality of pages in the form of slices;
响应于页面切换操作,在所述主窗口的第一显示区域显示所述多个页面中与所述页面切换操作所对应的页面。In response to the 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.
根据本公开的一个或多个实施例,提供了一种显示控制方法,所述多个页面包括如下的至少一种:即时通信会话页面、在线文档页面、离线文档页面、目标应用内的网页、目标应用外的网页、小程序页面。According to one or more embodiments of the present disclosure, a display control method is provided, 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 in a target application, Web pages and applet pages outside the target application.
根据本公开的一个或多个实施例,提供了一种显示控制方法,所述页面切换操作包括如下的至少一种:快捷按键操作;手势滑动操作;点击切换的操作。According to one or more embodiments of the present disclosure, a display control method is provided, and the page switching operation includes at least one of the following: a shortcut key operation; a gesture sliding operation; and a click switching operation.
根据本公开的一个或多个实施例,提供了一种显示控制方法,所述第二显示区域为所述主窗口的右侧区域,所述第一显示区域为所述主窗口的左侧区域;或者,所述第二显示区域为所述主窗口的左侧区域,所述第一显示区域为所述主窗口的右侧区域;其中,随着所述第二显示区域中堆栈的切片数量的不同,第二显示区域和第一显示区域的边界动态变化。According to one or more embodiments of the present disclosure, a display control method is provided, 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, with the number of stacked slices in the second display area The boundary between the second display area and the first display area changes dynamically.
根据本公开的一个或多个实施例,提供了一种显示控制方法,在主窗口第一显示区域显示所述多个页面中的最后打开的预设个数的页面包括:According to one or more embodiments of the present disclosure, a display control method is provided. Displaying the last preset number of pages among the plurality of pages in the first display area of the main window includes:
在主窗口第一显示区域显示所述多个页面中的最后打开的一个页面;或者,在主窗口第一显示区域并列显示所述多个页面中的最后打开的两个或三个页面。The last opened page among the plurality of pages is displayed in the first display area of the main window; or, the last two or three pages opened in the plurality of pages are displayed side by side in the first display area of the main window.
根据本公开的一个或多个实施例,提供了一种显示控制方法,若所述第一显示区域所显示的目标页面以及打开时间位于所述目标页面之前的页面的尺寸之和超过预设尺寸,打开时间位于所述目标页面之前的页面以堆栈状态显示在所述第二显示区域,将所述目标页面以展开状态显示在第一显示区域。According to one or more embodiments of the present disclosure, a display control method is provided, if the sum of the size of the target page displayed in the first display area and the page whose opening time is earlier than the target page exceeds a preset size The page whose opening time is earlier than the target page is displayed in the second display area in a stack state, and the target page is displayed in the first display area in an expanded state.
根据本公开的一个或多个实施例,提供了一种显示控制方法,还包括:According to one or more embodiments of the present disclosure, there is provided a display control method, further comprising:
响应于对所述第二显示区域中处于堆叠状态的页面的触发操作后,将所述多个页面中打开时间最早的一个或多个页面以所述展开状态在所述第一显示区域进行显示,并隐藏打开时间最早的一个或多个页面以外的其他页面。In response to a trigger operation on the pages in the stacked state in the second display area, displaying one or more pages with the earliest opening time among the plurality of pages in the first display area in the expanded state , and hide all pages other than the page or pages that were opened the earliest.
根据本公开的一个或多个实施例,提供了一种显示控制方法,将所述多个页面中打开时间最早的一个或多个页面以展开状态在所述第一显示区域进行显示,包括:According to one or more embodiments of the present disclosure, a display control method is provided, displaying one or more pages with the earliest opening time among the plurality of pages in the first display area in an expanded state, including:
扩大所述第一显示区域,使得扩大后的第一显示区域的尺寸等于所述主窗口的尺寸,将所述多个页面中打开时间最早的一个或多个页面以展开状态在扩大后的第一显示区域进行显示。Enlarging the first display area so that the size of the expanded first display area is equal to the size of the main window, and placing one or more pages with the earliest opening time among the plurality of pages in the expanded state in the expanded first display area a display area for display.
根据本公开的一个或多个实施例,提供了一种显示控制方法,该方法还包括:对同一个任务下钻打开的所述多个页面中的相同页面进行去重处理,保留所述相同页面中打开时间最近的页面。According to one or more embodiments of the present disclosure, a display control method is provided, and the method further includes: performing deduplication processing on the same page among the multiple pages opened by the drill-down of the same task, and retaining the same The page with the most recent opening time among the pages.
根据本公开的一个或多个实施例,提供了一种显示控制方法,所述响应于页面切换操作,在所述主窗口的第一显示区域显示所述多个页面中的与所述页面切换操作所对应的页面包括: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 the page switching among the plurality of pages in the first display area of the main window The pages corresponding to the operation include:
在显示所述多个页面中与所述页面切换操作所对应的页面时,定位至该页面的最近一次被访问的位置。When displaying the page corresponding to the page switching operation among the plurality of pages, locate to the last accessed position of the page.
根据本公开的一个或多个实施例,提供了一种显示控制方法,还包括:According to one or more embodiments of the present disclosure, there is provided a display control method, further comprising:
基于同一个任务下钻打开的多个页面,作为一个单位记录任务的关联页面状态信息;Drill down multiple pages opened based on the same task, and record the associated page status information of the task as a unit;
响应于对所述目标应用的任务的切换操作,根据切换后的任务的关联页面状态信息在所述目标应用的主窗口中显示所述切换后的任务关联的页面。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 state information of the switched task.
根据本公开的一个或多个实施例,提供了一种显示控制方法,所述目标应用的任务的切换操作,包括:According to one or more embodiments of the present disclosure, a display control method is provided, and the task switching operation 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.
根据本公开的一个或多个实施例,提供了一种显示控制方法,该方法还包括:不同的任务关联的页面中若存在相同页面,保持所述相同页面之间内容的同步,但在不同任务的关联页面状态信息中分别记录各自的内容浏览位置。According to one or more embodiments of the present disclosure, a display control method is provided, the method further includes: if there is the same page among the pages associated with different tasks, keeping the content synchronization between the same pages, but The respective content browsing positions are recorded in the state information of the associated page of the task.
根据本公开的一个或多个实施例,提供了一种显示控制方法,所述多个页面中的页面上具有关闭控件,在所述关闭控件被触发后关闭对应的页面,将被关闭的页面之前和之后的页面相连接。According to one or more embodiments of the present disclosure, a display control method is provided, wherein a close control is provided on a page among the plurality of pages, and the corresponding page is closed after the close control is triggered, and the page to be closed The previous and subsequent pages are connected.
根据本公开的一个或多个实施例,提供了一种显示控制装置,包括:According to one or more embodiments of the present disclosure, there is provided a display control device, including:
显示单元,用于在目标应用中基于同一个任务下钻打开多个页面时,在主窗口的第一显示区域显示所述多个页面中的最后打开的预设个数的页面,在主窗口的第二显示区域以切片形式堆栈显示所述多个页面中的其他页面;The display unit is configured to display the last preset number of pages opened among the multiple pages in the first display area of the main window when multiple pages are drilled down based on the same task in the target application, and in the main window The second display area of the second display area stacks and displays other pages in the plurality of pages in the form of slices;
控制单元,用于响应于页面切换操作,在所述主窗口的第一显示区域显示所述多个页面中与所述页面切换操作所对应的页面。The control unit is 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.
根据本公开的一个或多个实施例,提供了一种电子设备,包括:According to one or more embodiments of the present disclosure, there is provided an electronic device, including:
至少一个存储器和至少一个处理器;at least one memory and at least one processor;
其中,所述至少一个存储器用于存储程序代码,所述至少一个处理器用于调用所述至少一个存储器所存储的程序代码执行上述任一项所述的方法。Wherein, the at least one memory is used for storing program codes, and the at least one processor is used for invoking the program codes stored in the at least one memory to execute any of the methods described above.
根据本公开的一个或多个实施例,提供了一种计算机可读存储介质,所述计算机可读存储介质用于存储程序代码,所述程序代码在被处理器运行时,促使所述处理器执行上述任一项所述的方法。According to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium, the computer-readable storage medium is used for storing program code, and when the program code is executed by a processor, the processor Perform any of the methods described above.
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它 技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present disclosure and an illustration of the applied technical principle. Those skilled in the art should understand that the disclosure scope involved in this disclosure is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, but also covers the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。In addition, while operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or performed in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while the above discussion contains several specific implementation details, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims (17)

  1. 一种显示控制方法,其特征在于,包括:A display control method, characterized by comprising:
    在目标应用中基于同一个任务下钻打开多个页面时,在主窗口的第一显示区域显示所述多个页面中的最后打开的预设个数的页面,在主窗口的第二显示区域以切片形式堆栈显示所述多个页面中的其他页面;When multiple pages are drilled down based on the same task in the target application, the last preset number of pages among the multiple pages are displayed in the first display area of the main window, and the second display area of the main window stacking and displaying other pages of the plurality of pages in the form of slices;
    响应于页面切换操作,在所述主窗口的第一显示区域显示所述多个页面中与所述页面切换操作所对应的页面。In response to the 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.
  2. 根据权利要求1所述的方法,其特征在于,所述多个页面包括如下的至少一种:The method according to claim 1, wherein the plurality of pages includes at least one of the following:
    即时通信会话页面、在线文档页面、离线文档页面、目标应用内的网页、目标应用外的网页、小程序页面。Instant messaging session pages, online document pages, offline document pages, web pages within the target application, web pages outside the target application, and applet pages.
  3. 根据权利要求1所述的方法,其特征在于,所述页面切换操作包括如下的至少一种:The method according to claim 1, wherein the page switching operation comprises at least one of the following:
    快捷按键操作;Shortcut button operation;
    手势滑动操作;Gesture sliding operation;
    点击切换的操作。Click to toggle the action.
  4. 根据权利要求1所述的方法,其特征在于,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, The first display area is the right area of the main window;
    其中,随着所述第二显示区域中堆栈的切片数量的不同,第二显示区域和第一显示区域的边界动态变化。Wherein, as the number of stacked slices in the second display area is different, the boundary between the second display area and the first display area changes dynamically.
  5. 根据权利要求1所述的方法,其特征在于,在主窗口第一显示区域显示所述多个页面中的最后打开的预设个数的页面包括:The method according to claim 1, wherein displaying the last preset number of pages among the plurality of pages in the first display area of the main window comprises:
    在主窗口第一显示区域显示所述多个页面中的最后打开的一个页面;displaying the last opened page among the plurality of pages in the first display area of the main window;
    或者,or,
    在主窗口第一显示区域并列显示所述多个页面中的最后打开的两个或三个页面。The last two or three pages of the plurality of pages are displayed side by side in the first display area of the main window.
  6. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that,
    若所述第一显示区域所显示的目标页面以及打开时间位于所述目标页面之前的页面的尺寸之和超过预设尺寸,打开时间位于所述目标页面之前的页面以堆栈状态显示在所述第二显示区域,将所述目标页面以展开状态显示在第一显示区域。If the sum of the size of the target page displayed in the first display area and the page whose opening time is located before the target page exceeds the preset size, the page whose opening time is located before the target page is displayed on the first page in a stack state. and a second display area, displaying the target page in the first display area in an expanded state.
  7. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    响应于对所述第二显示区域中处于堆叠状态的页面的触发操作后,将所述多个页面中打开时间最早的一个或多个页面以展开状态在所述第一显示区域进行显示,并隐藏打开时间最早的一个或多个页面以外的其他页面。In response to a trigger operation on the pages in the stacked state in the second display area, displaying one or more pages with the earliest opening time among the plurality of pages in the first display area in an expanded state, and Hide all pages other than the oldest opened page or pages.
  8. 根据权利要求7所述的方法,其特征在于,将所述多个页面中打开时间最早的一个或多个页面以展开状态在所述第一显示区域进行显示,包括:The method according to claim 7, wherein displaying one or more pages with the earliest opening time among the plurality of pages in the first display area in an expanded state comprises:
    扩大所述第一显示区域,使得扩大后的第一显示区域的尺寸等于所述主窗口的尺寸,将所述 多个页面中打开时间最早的一个或多个页面以展开状态在扩大后的第一显示区域进行显示。Enlarging the first display area so that the size of the expanded first display area is equal to the size of the main window, and placing one or more pages with the earliest opening time among the plurality of pages in the expanded state in the expanded first display area a display area for display.
  9. 根据权利要求1所述的方法,其特征在于,该方法还包括:The method according to claim 1, characterized in that the method further comprises:
    对同一个任务下钻打开的所述多个页面中的相同页面进行去重处理,保留所述相同页面中打开时间最近的页面。Deduplication processing is performed on the same page among the plurality of pages opened by the drill-down of the same task, and the page with the latest opening time among the same pages is kept.
  10. 根据权利要求1所述的方法,其特征在于,所述响应于页面切换操作,在所述主窗口的第一显示区域显示所述多个页面中的与所述页面切换操作所对应的页面包括:The method according to claim 1, wherein in response to the page switching operation, displaying the page corresponding to the page switching operation among the plurality of pages in the first display area of the main window comprises :
    在显示所述多个页面中与所述页面切换操作所对应的页面时,定位至该页面的最近一次被访问的位置。When displaying the page corresponding to the page switching operation among the plurality of pages, locate to the last accessed position of the page.
  11. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    将基于同一个任务下钻打开的多个页面作为一个单位,记录任务的关联页面状态信息;Multiple pages opened based on the same task drill-down are regarded as a unit, and the associated page status information of the task is recorded;
    响应于对所述目标应用的任务的切换操作,根据切换后的任务的关联页面状态信息在所述目标应用的主窗口中显示所述切换后的任务关联的页面。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.
  12. 根据权利要求11所述的方法,其特征在于,所述目标应用的任务的切换操作,包括:The method according to claim 11, wherein the task switching operation of the target application comprises:
    对另一任务对应的标识的触发操作、预设的触控手势操作、预设的按键操作中的至少一个。At least one of a trigger operation of an identifier corresponding to another task, a preset touch gesture operation, and a preset key operation.
  13. 根据权利要求11所述的方法,其特征在于,该方法还包括:The method according to claim 11, characterized in that the method further comprises:
    不同的任务关联的页面中若存在相同页面,保持所述相同页面之间内容的同步,但在不同任务的关联页面状态信息中分别记录各自的内容浏览位置。If there is the same page in the pages associated with different tasks, the content synchronization between the same pages is maintained, but the respective content browsing positions are recorded in the state information of the associated pages of different tasks.
  14. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that,
    所述多个页面中的页面上具有关闭控件,在所述关闭控件被触发后关闭对应的页面,将被关闭的页面之前和之后的页面在所述多个页面中的位置设为相邻。A closing control is provided on a page among the plurality of pages, and the corresponding page is closed after the closing control is triggered, and the positions of pages before and after the closed page are set as adjacent in the plurality of pages.
  15. 一种显示控制装置,其特征在于,包括:A display control device, characterized in that it comprises:
    显示单元,用于在目标应用中基于同一个任务下钻打开多个页面时,在主窗口的第一显示区域显示所述多个页面中的最后打开的预设个数的页面,在主窗口的第二显示区域以切片形式堆栈显示所述多个页面中的其他页面;The display unit is configured to display the last preset number of pages opened among the multiple pages in the first display area of the main window when multiple pages are drilled down based on the same task in the target application, and in the main window The second display area of the second display area stacks and displays other pages in the plurality of pages in the form of slices;
    控制单元,用于响应于页面切换操作,在所述主窗口的第一显示区域显示所述多个页面中与所述页面切换操作所对应的页面。The control unit is 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.
  16. 一种电子设备,包括:An electronic device comprising:
    至少一个存储器和至少一个处理器;at least one memory and at least one processor;
    其中,所述至少一个存储器用于存储程序代码,所述至少一个处理器用于调用所述至少一个存储器所存储的程序代码执行权利要求1至14中任一项所述的方法。Wherein, 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 the method according to any one of claims 1 to 14.
  17. 一种计算机可读存储介质,所述计算机可读存储介质用于存储程序代码,所述程序代码在被处理器运行时,促使所述处理器执行权利要求1至14中任一项所述的方法。A computer-readable storage medium, the computer-readable storage medium is used to store program code, and when the program code is executed by a processor, it causes the processor to execute the method described in any one of claims 1 to 14. method.
PCT/CN2022/129944 2021-11-08 2022-11-04 Display control method and apparatus, and electronic device and storage medium WO2023078406A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111316993.X 2021-11-08
CN202111316993.XA CN113986063A (en) 2021-11-08 2021-11-08 Display control method, display control device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023078406A1 true WO2023078406A1 (en) 2023-05-11

Family

ID=79747242

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/129944 WO2023078406A1 (en) 2021-11-08 2022-11-04 Display control method and apparatus, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN113986063A (en)
WO (1) WO2023078406A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986063A (en) * 2021-11-08 2022-01-28 北京字跳网络技术有限公司 Display control method, display control device, electronic equipment and storage medium
CN114661213A (en) * 2022-03-01 2022-06-24 携程旅游网络技术(上海)有限公司 Page display interaction method, system, device and medium based on mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786894A (en) * 2014-12-22 2016-07-20 广州市动景计算机科技有限公司 Page display method and page display equipment
US20180284948A1 (en) * 2017-03-29 2018-10-04 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for split-window display
CN111475246A (en) * 2020-04-10 2020-07-31 腾讯科技(深圳)有限公司 Applet page display method, device, terminal and storage medium
CN112114735A (en) * 2019-06-21 2020-12-22 百度在线网络技术(北京)有限公司 Method and device for managing tasks
CN112486611A (en) * 2020-11-25 2021-03-12 北京有竹居网络技术有限公司 Page switching display method and device, storage medium and electronic equipment
CN113986063A (en) * 2021-11-08 2022-01-28 北京字跳网络技术有限公司 Display control method, display control device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11385785B2 (en) * 2019-05-01 2022-07-12 Google Llc Interface for multiple simultaneous interactive views
CN110162371B (en) * 2019-05-24 2024-05-14 网易(杭州)网络有限公司 Display control method and device, electronic equipment and storage medium
CN113127128B (en) * 2021-05-07 2024-06-18 广州酷狗计算机科技有限公司 Interface control method, device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786894A (en) * 2014-12-22 2016-07-20 广州市动景计算机科技有限公司 Page display method and page display equipment
US20180284948A1 (en) * 2017-03-29 2018-10-04 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for split-window display
CN112114735A (en) * 2019-06-21 2020-12-22 百度在线网络技术(北京)有限公司 Method and device for managing tasks
CN111475246A (en) * 2020-04-10 2020-07-31 腾讯科技(深圳)有限公司 Applet page display method, device, terminal and storage medium
CN112486611A (en) * 2020-11-25 2021-03-12 北京有竹居网络技术有限公司 Page switching display method and device, storage medium and electronic equipment
CN113986063A (en) * 2021-11-08 2022-01-28 北京字跳网络技术有限公司 Display control method, display control device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113986063A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
WO2023078406A1 (en) Display control method and apparatus, and electronic device and storage medium
CN113938456B (en) Session message overhead processing method and device
KR102430623B1 (en) Application command control for small screen display
US8954887B1 (en) Long press interface interactions
EP2972742B1 (en) Semantic zoom-based navigation of displayed content
CN106164856B (en) Adaptive user interaction pane manager
EP2577435B1 (en) A user interface for a touch sensitive display on an electronic device
JP2020504865A (en) Application data processing method, apparatus, and storage medium
US10845950B2 (en) Web browser extension
EP3008713A1 (en) Incorporating external dynamic content into a whiteboard
WO2022268177A1 (en) Information display method and apparatus, and electronic device
WO2013097650A1 (en) Method, system and terminal equipment for starting of application programs
WO2014200717A2 (en) Navigating a calendar
US10209864B2 (en) UI differentiation between delete and clear
WO2023078405A1 (en) Display control method and apparatus, and electronic device and storage medium
US8635561B1 (en) System and method for sorting electronic documents
JP2020161135A (en) Method and system for displaying chat thread
WO2023072288A1 (en) Display control method and apparatus, and electronic device and storage medium
CN112307375A (en) Page display method and device, electronic equipment and computer readable medium
US9830056B1 (en) Indicating relationships between windows on a computing device
JP2016520923A (en) Multi-panel view interface for browsers running on computing devices
CN114691273A (en) User interface returning method and device, electronic equipment and storage medium
WO2024032708A1 (en) Information processing method and apparatus, electronic device, and storage medium
WO2023231851A1 (en) Information processing methods and apparatuses, and electronic device
US20220237365A1 (en) Method and system for providing mini-map in chatroom

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22889427

Country of ref document: EP

Kind code of ref document: A1