WO2021170120A1 - Method for returning to historical page, and terminal device - Google Patents

Method for returning to historical page, and terminal device Download PDF

Info

Publication number
WO2021170120A1
WO2021170120A1 PCT/CN2021/078286 CN2021078286W WO2021170120A1 WO 2021170120 A1 WO2021170120 A1 WO 2021170120A1 CN 2021078286 W CN2021078286 W CN 2021078286W WO 2021170120 A1 WO2021170120 A1 WO 2021170120A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
browser
slot
input
area
Prior art date
Application number
PCT/CN2021/078286
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 WO2021170120A1 publication Critical patent/WO2021170120A1/en

Links

Images

Classifications

    • 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/903Querying
    • G06F16/9038Presentation of query results
    • 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/903Querying
    • G06F16/9032Query formulation
    • 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/904Browsing; Visualisation therefor
    • 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]

Definitions

  • This application relates to the IT field, and in particular to a method and terminal device for returning to a historical page.
  • a user usually opens multiple webpage tabs on the browser, and a webpage page is displayed under each webpage tab. Due to the limited screen of the terminal device, the opened web pages are usually displayed cascadingly. Most commonly, the screen can only display the top-level web page, while other running web pages will be obscured by the web page displayed at the top-level of the screen, making it invisible to the user.
  • the present application provides a method and terminal device for returning to a history page, which can realize the return of the history page across webpage tags.
  • a method for returning to the history page including:
  • the corresponding history page is found from the collection of history pages and displayed in a floating form on the browser, where the collection of history pages includes the history under each webpage tag in the browser page.
  • the texture of the trajectory input area includes any one of opaque, semi-transparent and fully transparent, and the area of the trajectory input area includes that the area of the trajectory input area is equal to that of the browser.
  • Area the area of the track input area is larger than the area of the browser, and the area of the track input area is smaller than the area of the browser;
  • the shape of the track input area includes a rectangle, an ellipse, a circle, and a diamond Any of them.
  • the content of the track input is one or more combinations of letters, numbers, and symbols.
  • the languages supported by the content of the track input include one or more of Chinese, English, Japanese, German, and French.
  • the language supported by the content of the track input is determined according to the language used by the current page of the browser.
  • the floating display bar includes a plurality of slots, and the corresponding historical page is found from the set of historical pages according to the content input by the track and displayed on the browser in a floating form, including:
  • the corresponding history page is found from the collection of history pages and displayed in one or more slots of the floating display column.
  • the corresponding history pages in different slots are all displayed in the same size.
  • the history page in the first slot is enlarged and displayed, and the size of the history page in other slots remains unchanged.
  • the first slot belongs to the multiple slots.
  • the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, where the second slot belongs to the multiple slots.
  • the history page in the third slot is enlarged and displayed, and the second slot is reduced and displayed, wherein the The third slot belongs to the multiple slots.
  • a recommended page is selected according to the content input by the track, and the recommended page is displayed on In the remaining slots of the floating display column.
  • displaying the trajectory input area on the browser includes: displaying the trajectory input area on the browser when the user performs a mode triggering operation, wherein the mode triggering operation includes clicking a mouse Right-click and slide the mouse at the same time, or click the left mouse button and slide the mouse at the same time.
  • a terminal device including: a display module, an acquisition module, an identification module, and a floating display module;
  • the display module is used to display a track input area on a browser, wherein the track input area is used for a user to perform track input;
  • the acquisition module is used to acquire the trajectory input by the user in the trajectory input area
  • the recognition module is used to recognize the content of the track input from the track;
  • the floating display module is used to find the corresponding historical page from the historical page set according to the content input by the track and display it on the browser in a floating form, wherein the historical page set includes the browser The history page under each page tab.
  • the texture of the trajectory input area includes any one of opaque, semi-transparent and fully transparent, and the area of the trajectory input area includes that the area of the trajectory input area is equal to that of the browser.
  • Area the area of the track input area is larger than the area of the browser, and the area of the track input area is smaller than the area of the browser;
  • the shape of the track input area includes a rectangle, an ellipse, a circle, and a diamond Any of them.
  • the content of the track input is one or more combinations of letters, numbers, and symbols.
  • the languages supported by the content of the track input include one or more of Chinese, English, Japanese, German, and French.
  • the language supported by the content of the track input is determined according to the language used by the current page of the browser.
  • the floating display module is further configured to find a corresponding historical page from a collection of historical pages according to the content input by the trajectory and display it in one or more slots of the floating display column.
  • the corresponding history pages in different slots are all displayed in the same size.
  • the floating display module is also used to enlarge and display the history page in the first slot when the user slides the mouse into the first slot, and the history page in the other slots The size of the page remains unchanged, wherein the first slot belongs to the multiple slots.
  • the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, where the second slot belongs to the multiple slots.
  • the floating display module is also used to enlarge and display the history page in the third slot when the user slides the mouse into the third slot, and display the second slot The position is reduced and displayed, wherein the third slot belongs to the plurality of slots.
  • the floating display module is further configured to select a recommended page according to the content input by the trajectory when the number of corresponding history pages is less than the number of slots in the floating display column, And the recommended page is displayed in the remaining slots of the floating display column.
  • the display module is also used to display a track input area on the browser when the user performs a mode trigger operation, where the mode trigger operation includes clicking the right mouse button and sliding the mouse simultaneously Or, click the left mouse button and slide the mouse at the same time.
  • a terminal device including a memory and a processor, and the processor executes a program in the memory to run a computing service and a storage service, thereby executing the method according to any one of the first aspect.
  • a readable storage medium including instructions, which, when the instructions run on a terminal device, cause the computing node to execute the method according to any one of the first aspects.
  • a computer program product is provided.
  • the method according to any one of the first aspects will be executed.
  • the trajectory input area by displaying the trajectory input area on the browser, the trajectory input by the user in the trajectory input area is acquired, and the content of the trajectory input is recognized from the trajectory; the content input by the trajectory is collected from the history page
  • the corresponding history page is found to be displayed on the browser in a floating form, where the history page set includes the history page under each webpage tag in the browser, therefore, it is possible to return to the history page across webpage tags .
  • FIGS. 1A to 1B are schematic diagrams of some stacked web pages involved in an embodiment of the present application.
  • FIGS. 2A to 2B are schematic diagrams of some returning history pages related to embodiments of the present application.
  • FIG. 3 is a schematic diagram of a user operation for triggering entry into a cross-page tab returning to a historical page mode according to an embodiment of the present application;
  • FIGS. 4-7 are schematic diagrams of some trajectory input areas involved in this application.
  • FIG. 8 is a schematic diagram of a user performing trajectory input in a trajectory input area related to the present application.
  • FIGS. 9A to 9D are schematic diagrams of some floating display columns involved in this application.
  • 10A to 10D are schematic diagrams of displaying historical pages on the floating display bar involved in this application.
  • FIGS. 11A to 11C are schematic diagrams showing other historical pages displayed on the floating display bar involved in this application.
  • Figure 12 is a schematic diagram of loading a selected history page in a browser involved in this application.
  • FIG. 13 is a schematic diagram of another user operation for triggering entry into the cross-page tab return history page mode provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of another user performing trajectory input in the trajectory input area related to the present application.
  • FIG. 15 is a schematic structural diagram of a terminal device involved in this application.
  • FIG. 16 is a schematic diagram of the internal execution of the terminal device shown in FIG. 15 returning to the history page;
  • FIG. 17 is a schematic structural diagram of another terminal device involved in this application.
  • FIG. 18 is a schematic diagram of the internal execution of the terminal device shown in FIG. 17 returning to the history page;
  • FIG. 19 is a schematic structural diagram of another terminal device involved in this application.
  • FIGS. 1A to 1B schematic diagrams of stacked web pages involved in an embodiment of the present application.
  • the browser 120 is invoked on the terminal device 110 to run multiple web pages 130 at the same time, which can be as follows: search engine web pages, such as Google, Baidu; portal web pages, such as Yahoo, Sina, and hao123, etc.; map web pages, such as Gaode map, Baidu map, etc....
  • the terminal device 110 may be a CRT display, a liquid crystal display, a tablet computer, a smart phone, and so on.
  • the browser 120 may be *** home, Sogou high-speed browser, QQ browser, 360 security browser, travel browser, UC browser, and so on.
  • the browser 120 usually displays multiple web pages in a cascading manner, and these web pages having a cascading relationship may be referred to as stacked web pages. That is, at the same time, the browser 120 can only display one web page completely at the top, which can be called the current page, and the remaining web pages will be hidden by the current page and displayed in a layered manner below the current page.
  • the first is that the current page completely occludes other web pages; the second is that the current page partially occludes other web pages.
  • the first method can be used for display.
  • the second method can be used for display.
  • the terminal device 110 uses a data structure, such as a stack, to record the stacking relationship of multiple web pages, that is, the relationship where the current page occludes other web pages.
  • a data structure such as a stack
  • the current page is the most recently activated web page.
  • the activation operation can be triggered by opening the web page, actively operating on the web page, or triggered by internal events of the web page, for example, the user opens a new web page, and the user actively selects There is no specific limitation here.
  • the browser 120 includes a plurality of webpage tags 121, and each webpage tag 120 corresponds to a webpage page.
  • the webpage 130 corresponding to the webpage tag 121 is completely displayed at the top (which can be called the current page), and the remaining webpages 130 will be hidden by the current page and stacked on top of the current page.
  • the x-axis and y-axis constitute a plane parallel to the screen of the terminal device 110
  • the z-axis represents a coordinate axis perpendicular to the screen.
  • web pages running on the terminal device 110 are arranged along the z-axis in the stacking order. Stacked structure.
  • the terminal device 110 displays the first-level web page as the Zhihu web page, and the second-level web page
  • the page is the web page of the European Patent Office, that is, the web page of Zhihu obscures the web page of the European Patent Office.
  • the x-axis and y-axis constitute a plane parallel to the screen of the terminal device 110, and the z-axis represents the coordinate axis perpendicular to the screen.
  • web pages running on the terminal device 110 follow the stacking order along the z-axis. A layered structure.
  • the terminal device 110 displays the first layer of the web page as the web page of the European Patent Office, and the second layer
  • the web page is the web page of Zhihu, that is, the web page of the European Patent Office obscures the web page of Zhihu.
  • FIG. 1A and FIG. 1B are merely examples of stacked web pages involved in the embodiment of the present application, and should not constitute a limitation. In practical applications, the number of stacked web pages can be more or less than the two shown in FIGS. 1A and 1B, and the stacked web pages and the stacking order are not limited by FIGS. 1A and 1B.
  • the history page is the web page visited by the browser before visiting the display page.
  • the display page is the web page displayed by the browser when the web page tag is selected.
  • the browser includes web page tag 1 and web page tag 2.
  • the browser opened web page 1 in web page tag 1, and at time t 2 , the browser left web page 1 in web page tag 1, and opened Web page 2, at time t 3 , the browser leaves Web page 2 in Web tab 1, and opens Web page 3, and Web page 3 is the display page, t 1 ⁇ t 2 ⁇ t 3 . Therefore, web page 1 and web page 2 are historical pages.
  • the browser opens web page 4 in web page tag 2, and at t 5 , the browser leaves web page 4 in web page tag 2, and opens Web page 5, at time t 6 , the browser leaves Web page 5 in Web tab 2 and opens Web page 6, and Web page 6 is a display page, and t 4 ⁇ t 5 ⁇ t 6 . Therefore, the web page 4 and the web page 5 are historical pages.
  • the user clicks the "back" button on the browser for example, the left arrow
  • the browser leaves the web page Page 3 display page
  • web page 2 history page
  • the display page displayed by the browser is webpage page 6.
  • FIG. 2A and FIG. 2B are only some examples of returning history pages involved in the embodiments of the present application, and should not constitute a limitation.
  • the number of history pages can be more or less than the two shown in FIG. 2A and FIG. 2B, and neither the current page nor the history page is limited by FIGS. 2A and 2B.
  • UI User Interface
  • user operation embodiments for returning to a history page across webpage tags related to the embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a user operation for triggering entry into the cross-webpage tag returning to the history page mode according to an embodiment of the present application.
  • the user operation that triggers the entry into the cross-webpage tag returning to the history page mode is referred to as a mode trigger operation.
  • the browser Before the execution mode trigger operation, the browser is in the non-cross-webpage tag returning to the historical page mode, and after the execution mode trigger operation, the browser is in the cross-webpage tag returning to the historical page mode.
  • the mode trigger operation may be a mouse touch operation.
  • the mouse touch operation may be a mouse operation that is not completely different from the usual mouse operation.
  • the common mouse operations can be left-clicking the mouse, moving the mouse, scrolling the mouse, clicking the right mouse button, double-clicking the left mouse button, etc., which are not specifically limited here.
  • the mode trigger operation may be an operation of clicking the right mouse button and sliding the mouse at the same time, or an operation of clicking the left mouse button and sliding the mouse at the same time, and so on.
  • the terminal device When the terminal device detects a mode trigger operation on the user interface, in response to the mode trigger operation, the terminal device may display a track input area on the browser for the user to perform track input.
  • the track input area can achieve the following two functions: (1) Obtain the mouse track input by the user; (2) Avoid accidentally triggering the function buttons on the browser when the user enters the mouse track, for example, the menu and function buttons on the browser and many more.
  • the trajectory input area can be analogized as a "mask”.
  • the "mask” is a layer floating above the browser, which can effectively protect the browser from misoperation. It should be understood that the larger the area covered by the "mask”, the larger the space for the user to input the trajectory.
  • the display elements of the display track input area may be determined according to the location information of the browser and the user's selection.
  • the display elements that display the track input area may include texture, area, position, shape, and so on.
  • the location information of the browser may include the coordinate information of the four top corners of the browser.
  • the terminal device may obtain the coordinate information of the four top corners of the browser to determine the position and area of the browser, and determine the display element of the display track input area according to the position and area display of the browser and the user's selection.
  • FIGS. 4-7 are schematic diagrams of some trajectory input areas involved in this application. Among them, FIGS. 4 to 7 respectively describe in detail the texture, area, position, and shape of the trajectory input area.
  • the texture of the trajectory input area can be varied.
  • the texture of the trajectory input area can be opaque.
  • the texture of the trajectory input area can be It is semi-transparent, as shown in Figure 4(c), the texture of the track input area can be completely transparent.
  • the transparency of the track input area can also be freely set by the user according to personal preference, and there is no specific limitation here.
  • the pattern of the trajectory input area can also be freely set by the user, for example, a star pattern, a crescent pattern, a flower pattern, etc., even the user can select one or more photos as the pattern of the trajectory input area, etc. There are no specific restrictions.
  • the area of the trajectory input area can be various.
  • the area of the trajectory input area can be equal to the area of the browser.
  • the area of the trajectory input area The area can be smaller than the area of the browser.
  • the area of the track input area may also be larger than the area of the browser.
  • the area of the track input area can be made greater than or equal to the area of the browser.
  • the area of the track input area can be made equal to the area of the display screen of the entire terminal device. Perform track input at any position on the terminal device.
  • the area of the track input area can be set by the user, and there is no specific limitation here.
  • the position of the trajectory input area can be various, for example, as shown in Figure 6 (a), the position of the trajectory input area can be on the left half, as shown in Figure 6 (b), the position of the trajectory input area It can be located on the right half. As shown in Figure 6(c), the location of the track input area can be located on the upper half. As shown in Figure 6(d), the location of the track input area can be located on the lower half. It should be understood that the position of the above-mentioned track input area is only taken as some specific examples. In practical applications, the position of the track input area can also be the upper left corner side, the upper right corner side, the lower left corner side, the lower right corner side, the middle part, etc. , I will not explain one by one here. In addition, the location of the track input area can be set by the user, and there is no specific limitation here.
  • the shape of the trajectory input area can be various, for example, as shown in Figure 7 (a), the shape of the trajectory input area can be rectangular; as shown in Figure 7 (a), the shape of the trajectory input area can be Oval. It should be understood that the shape of the trajectory input area can also be diamond-shaped, heart-shaped or circular, a combination of multiple shapes, etc., and the shape of the trajectory input area can be irregular in addition to a regular shape. The shape is not specifically limited here. In addition, the shape of the trajectory input area can be set by the user, which is not specifically limited here.
  • the user can also combine the texture, area, position, and shape of the track input area.
  • the texture of the track input area can be opaque or semi-transparent.
  • the user can operate the mouse to enter the trajectory in the trajectory input area.
  • the trajectory input can be continuous input or intermittent input.
  • continuous input means that the process of trajectory input cannot be interrupted briefly, and it needs to be done in one go.
  • Intermittent input means that the process of trajectory input can be interrupted for a short time, and it does not need to be done in one go.
  • the terminal device converts the trajectory input by the user into a trajectory picture, and recognizes the content of the trajectory input from the trajectory picture through the semantic recognition module. Taking the example shown in FIG. 8 as an example, the terminal device can recognize from the trajectory input by the user shown in FIG. 8 that the content of the trajectory input is "EPO". Among them, the content of the trajectory input can be diverse.
  • the content of the trajectory input can be one or more combinations of letters, numbers, and symbols; from the perspective of language, the content of the trajectory input can be Support Chinese, English, Japanese, German, French, etc.
  • the language supported by the content of the trajectory input can also be determined according to the current page displayed by the browser. For example, if the current page determined by the browser is in Chinese, the language supported by the content of the trajectory input is automatically converted to Chinese. , There is no specific limitation here.
  • the terminal device finds the corresponding history page from the collection of history pages according to the content of the trajectory input and the corresponding relationship between the content of the trajectory input and the web page and displays the corresponding history page in a floating form on the browser.
  • the historical page collection is a collection of historical pages that the browser has visited before.
  • the historical page set includes historical pages under each webpage tag in the browser.
  • the browser includes web page tag 1 and web page tag 2.
  • the history page includes web page page 1 and web page page 2.
  • the history page includes web page 4 and web page 5. Therefore, the collection of history pages includes web page 1, web page 2, web page 4, and web page 5.
  • the web pages in the history page collection can be updated regularly or can be triggered to update. For example, the regular update can be updated every day, and the triggered update can be updated when the browser is closed or opened, which is not specifically limited here.
  • the corresponding relationship between the content of the track input and the web page may be preset.
  • the web page can use the URL as the unique identifier.
  • Table 1 the corresponding relationship between the content of the track input and the web page can be expressed as:
  • the correspondence between the content of the trajectory input and the web page in the above example is a one-to-one relationship.
  • the correspondence between the content of the trajectory input and the web page may also be a one-to-many relationship. There are no specific restrictions.
  • the terminal device may establish or initialize the corresponding relationship between the content of the track input and the web page in the following manner.
  • the corresponding relationship between the content of the track input stored in the terminal device and the web page can be applied to most users. It should be understood that most of the web pages visited by users are within a limited reasonable range and can be listed one by one. The content of the trajectory input is also within a limited reasonable range, and can also be listed one by one. Therefore, the terminal device can exhaustively list the corresponding relationship between the content of the track input and the web page, and store it in a local or external server.
  • the corresponding relationship between the content of the track input stored in the terminal device and the web page may be applicable to a single user.
  • the corresponding relationship between the content of the track input and the web page may be blank at the initial moment.
  • the terminal device can continuously fill in the corresponding relationship between the content of the track input and the web page when the user uses the terminal device, so that the data amount of the corresponding relationship between the content of the track input and the web page can be reduced.
  • the first method can be applied to large data scenarios such as cloud services
  • the second method can be applied to small data scenarios such as personal computers.
  • the browser is usually provided with a floating display bar, wherein the floating display bar is usually provided with multiple slots, and each slot can be used to display a found history page corresponding to the content of the track input.
  • Figures 9A to 9D will describe in detail some specific embodiments of the floating display bar.
  • the floating display bar is located at the bottom of the browser. Accordingly, the floating display bar is provided with slot 1, slot 2, and slot 3 in order from left to right. Among them, slot 1 is used to display history page 1, slot 2 is used to display history page 2, and slot 3 is used to display history page 3.
  • the floating display bar is located on the left side of the browser. Accordingly, the floating display bar is sequentially provided with slot 1, slot 2, and slot 3 from top to bottom. Among them, slot 1 is used to display history page 1, slot 2 is used to display history page 2, and slot 3 is used to display history page 3.
  • the floating display bar is located above the browser.
  • the floating display bar is sequentially provided with slot 1, slot 2, and slot 3 from left to right.
  • slot 1 is used to display history page 1
  • slot 2 is used to display history page 2
  • slot 3 is used to display history page 3.
  • the floating display bar is located on the right side of the browser. Accordingly, the floating display bar is sequentially provided with slot 1, slot 2, and slot 3 from top to bottom. Among them, slot 1 is used to display history page 1, slot 2 is used to display history page 2, and slot 3 is used to display history page 3.
  • the floating display bar can also adopt other methods.
  • the floating display bar can be set in the middle of the browser, etc.
  • the floating display bar The number of slots in the display column may not be 3, but may be less or more, and there is no specific limitation here.
  • 10A to 10D are some implementations in which all the slots in the floating display bar are used to display historical pages.
  • Figures 11A to 11C are the slots in the floating display bar that are used to display both historical pages and display history pages.
  • 10A to 10D respectively introduce different ways of displaying historical pages on the floating display bar when all the historical pages on the floating display bar are.
  • FIG. 10A different history pages on the floating display bar have the same size.
  • the web page tag is web page tag 1
  • the terminal device recognizes the content of the trajectory input as "EPO" from the trajectory input by the user
  • the hovering The web page 4 is displayed in slot 1 of the display bar
  • the web page 5 is displayed in slot 2 of the floating display bar
  • the web page 6 is displayed in slot 3 of the floating display bar.
  • the sizes of the web page 4, the web page 5, and the web page 6 are all equal.
  • the embodiment shown in FIG. 10B can also have other changes.
  • the web page 4 and the web page 6 are mosaicked, and when the mouse moves into the web page 4 or the web page 6, the web page 4 or the web page The mosaic of page 6 is removed, or, when the mouse slides into the position of slot 1, page 4 of the web page can be enlarged and displayed, etc., which is not specifically limited here.
  • the history page with the highest matching degree on the floating display bar is enlarged and displayed, and the other history pages remain unchanged.
  • the terminal device recognizes from the trajectory input by the user that the content of the trajectory input is "EPO", and the web page page 6
  • the matching degree of is highest, normal web page 4 is displayed in slot 1 of the floating display bar, web page 5 is displayed in slot 2 of the floating display bar, and web page 6 is displayed in slot 3 of the floating display bar.
  • the web page 6 is enlarged and displayed, and the web page 4 and the web page 5 remain unchanged.
  • the embodiment shown in FIG. 10D can have other changes.
  • the web page 4 and the web page 6 are mosaicked, and the web page 4 or the web page is moved when the mouse is moved into the web page 4 or the web page 6.
  • the mosaic of page 6 is removed, or when the mouse slides into the position of slot 2, the web page 4 can be kept unchanged, and the web page 6 can be kept enlarged, etc.
  • 11A to 11C respectively introduce different ways of displaying the history pages on the floating display bar when the number of history pages corresponding to the content of the track input is different.
  • the history pages corresponding to the content of the first few track inputs with the highest matching degree can be displayed on Floating in the slot on the display bar.
  • the terminal device recognizes from the trajectory input by the user that the content of the trajectory input is "EPO", with the highest matching degree
  • the history pages corresponding to the content entered by the first few tracks are web page 4, web page 5, and web page 6. Therefore, web page 4 can be displayed in slot 1 of the floating display bar, and in the slot of the floating display bar The web page 5 is displayed on 2, and the web page 6 is displayed on the slot 3 of the floating display bar.
  • FIG. 11A can have many changes.
  • the history page with the highest matching degree can be enlarged and displayed.
  • other history pages with a lower matching degree can also be mosaicked. No details are given here. limited.
  • the example shown in FIG. 11B can have many changes.
  • the history page with the highest matching degree can be enlarged and displayed.
  • other history pages with a lower matching degree can also be mosaicked. No details are given here. limited.
  • the recommended page when the content of the track input does not have a corresponding history page, the recommended page can be displayed in the slot of the floating display column. If the number of recommended pages is greater than or equal to the number of slots on the floating display bar, the recommended pages with the highest matching degree can be displayed in the slots on the floating display bar; if the number of recommended pages is less than the number of slots on the floating display bar When the number of, all recommended pages can be displayed in the slots on the floating display bar. If there is no suitable recommended page, no web pages will be displayed in the slots on the floating display bar.
  • the terminal device recognizes from the trajectory input by the user that the content of the trajectory input is "EPO", and the trajectory input The content does not have a corresponding history page. Therefore, recommended page 1 can be displayed in slot 1 of the floating display bar, recommended page 2 can be displayed in slot 2 of the floating display bar, and recommendation can be displayed in slot 3 of the floating display bar Page 3.
  • the example shown in FIG. 11C can have many changes.
  • the recommended recommended pages can be enlarged and displayed, and further, other recommended pages can be mosaicked, which is not specifically limited here.
  • the recommended page may be calculated by the terminal device according to the content of the trajectory input by the user according to the recommendation algorithm, which is not specifically limited here.
  • the browser when the user selects the history page on the slot of the floating bar, the browser loads and displays the selected history page.
  • the selection operation can be left-clicking the history page on the slot, left-clicking the history page on the slot, right-clicking the history page on the slot, or right-clicking the history page on the slot, etc. Etc., there is no specific limitation here.
  • the browser After loading, the browser can hide the floating bar to avoid obstructing the loaded history page.
  • the floating bar can be redisplayed through the viewing operation.
  • the viewing operation may be an operation of clicking the right mouse button and sliding the mouse at the same time, or an operation of clicking the left mouse button and sliding the mouse at the same time, and so on.
  • the mode triggering operation and the viewing operation must be two different operations. Therefore, when the mode triggering operation is the operation of clicking the right mouse button and sliding the mouse at the same time, the viewing operation can be clicking the left mouse button and sliding the mouse at the same time. Operation: When the mode trigger operation is the operation of clicking the left mouse button and sliding the mouse at the same time, the viewing operation can be the operation of clicking the right mouse button and sliding the mouse at the same time.
  • the terminal device is a personal computer, notebook computer, etc.
  • the input is mouse input as an example.
  • the terminal device can be a smart phone, a tablet computer, etc., and the input can be touch input.
  • the terminal device can be a smart phone, a tablet computer, etc.
  • the input can be touch input.
  • the mode trigger operation may be a touch screen touch input operation.
  • the touch input operation of the touch screen may be a touch operation that is not completely different from a common touch operation.
  • the commonly used touch screen touch operation may be to touch the touch screen with a finger, etc., which is not specifically limited here.
  • the mode trigger operation may be an operation of the user tapping the touch screen with a knuckle, or the like.
  • the user can operate the finger to input the trajectory in the trajectory input area.
  • the trajectory input can be an intermittent input.
  • the terminal device converts the trajectory of the character input by the user into a trajectory picture, and recognizes the content of the trajectory input from the trajectory picture through the semantic recognition module.
  • the terminal converts the trajectory input by the user into a picture, and recognizes that the content of the trajectory input is "E", and the user inputs
  • the terminal converts the trajectory input by the user into a picture, and recognizes that the content of the trajectory input is "P”
  • the user inputs the character as shown in Figure 14 (c)
  • the terminal converts the trajectory input by the user into a picture, and recognizes that the content of the trajectory input is "O”
  • the terminal device recognizes that the content of the trajectory input is "EPO".
  • the terminal device supports browsers running multiple webpage tags.
  • the browser can use different input and output devices, for example, the input device can be a keyboard and a mouse, and the output device can be a display screen. Or, the browser uses a common input and output device: touch screen.
  • the touch screen is used to receive the user's touch operation and display the output content of the browser.
  • FIG. 15 is a structural block diagram of an implementation manner of the terminal device 100.
  • the terminal device may include: a host 210, an output device 220, and an input device 230.
  • the host 210 may integrate: one or more processors, a clock module, and a power management module.
  • the clock module integrated in the host 210 is mainly used to generate a clock required for data transmission and timing control for the processor.
  • the power management module integrated in the host 210 is mainly used to provide a stable, high-precision voltage for the processor, the output device 220, and the input device 230.
  • the host 210 also integrates a memory for storing various software programs and/or multiple sets of instructions.
  • the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory can store an operating system, such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX.
  • the memory can also store a communication program, which can be used to communicate with one or more input devices or output devices.
  • the memory can also store a user interface program, which can vividly display the content of the browser through a graphical operation interface, and receive user control operations on the browser through input controls such as menus, dialog boxes, and buttons.
  • the memory 115 may also store one or more programs. These programs may include: social applications, such as Facebook; image management applications, such as photo albums; map applications, such as Google Maps, and so on.
  • the output device 220 mainly includes a display, and the display may include a cathode ray tube display (Cathode Ray Tube, CRT), a plasma display (Plasma Display Panel, PDP), a liquid crystal display (Liquid Crystal Display, LCD), and so on.
  • the liquid crystal display includes a liquid crystal panel and a backlight module.
  • the liquid crystal display panel includes a polarizing film, a glass substrate, a black matrix, a color filter, a protective film, a common electrode, a calibration layer, and a liquid crystal layer (liquid crystal , Spacer, sealant), capacitor, display electrode, prism layer, light scattering layer.
  • the backlight module includes: illuminating light source, reflecting plate, light guide plate, diffuser, brightness enhancement film (prism sheet), frame and so on.
  • the input device may include a keyboard and a mouse.
  • Keyboard and mouse are the most commonly used and most important input devices. Through the keyboard, English letters, numbers, punctuation marks, etc. can be input into the computer, so as to issue commands to the computer, input data, etc., and quickly locate the vertical and horizontal coordinates through the mouse. This simplifies the operation.
  • the keyboard may include a mechanical keyboard, a plastic film keyboard (Mechanical), a conductive rubber keyboard (Membrane), a contactless electrostatic capacitor keyboard (Capacitives), etc.
  • the mouse may include a roller ball mouse, an optical mouse, and a wireless mouse.
  • FIG. 16 illustrates the main user operation processing stages involved in the embodiments of the present application from the internal processing flow of the terminal device.
  • the output device (such as the display 220) displays multiple web pages in a stack
  • the user performs a mouse touch operation through the input device, and determines that the mouse touch operation is used to trigger a cross-page tag return
  • the operation in the history page mode, that is, the mode triggers the operation.
  • the display device responds to the above mode trigger operation and displays the track input area on the browser.
  • the track input area can achieve the following two functions: (1) Obtain the mouse track input by the user; (2) Avoid accidentally triggering the function buttons on the browser when the user enters the mouse track, for example, the menu and function buttons on the browser and many more.
  • the texture, area, position, and shape of the track input area can be referred to the content in the foregoing embodiments shown in FIGS. 4 to 7, and will not be repeated here.
  • the user inputs the trajectory in the trajectory input area through the input device.
  • the trajectory may be obtained by sampling the passing points in the movement path of the input device, and sequentially connecting the sampled points.
  • the sampled points can be represented by (x, y), x represents the abscissa of the passing point in the movement path of the input device, and y represents the ordinate of the passing point in the movement path of the input device.
  • the host recognizes the content of the track input from the track.
  • the content of the trajectory input is one or more combinations of letters, numbers, and symbols, and the languages supported by the content of the trajectory input include one or more of Chinese, English, Japanese, German, and French.
  • the language supported by the content of the trajectory input is determined according to the language used by the current page of the browser, that is, if the current page uses Chinese, the content supported by the trajectory input The language should be Chinese accordingly.
  • the host finds the corresponding history page from the collection of history pages according to the content input by the trajectory.
  • the collection of historical pages can be stored in the browser or outside the browser.
  • the collection of historical pages can be restored from the outside to effectively avoid data loss.
  • the host notifies the output device to display the history page on the browser in a floating form.
  • the floating display bar includes a plurality of slots, and the corresponding historical page is found from the historical page collection according to the content input by the track and displayed in one or more slots of the floating display bar.
  • the following display modes may be included:
  • the corresponding history pages in different slots are all displayed in the same size. Further, when the user slides the mouse into the first slot, the history page in the first slot is enlarged and displayed, and the size of the history page in other slots remains unchanged.
  • One slot belongs to the multiple slots.
  • the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, where the second slot belongs to the multiple slots. Further, when the user slides the mouse into the third slot, the history page in the third slot is enlarged and displayed, and the second slot is reduced and displayed, wherein the third slot Belong to the multiple slots.
  • the multiple slots are used to display recommended pages in addition to displaying the history pages.
  • a recommended page is selected according to the content input by the trajectory, and the recommended page is displayed in the remaining slots of the floating display column.
  • terminal device is only an example provided by the embodiment of the present invention, and the terminal device may have more or fewer components than shown, may combine two or more components, or may have Different configurations are implemented.
  • FIG. 17 is a structural block diagram of an implementation manner of the terminal device 300.
  • the terminal device may include: a baseband chip 310, a memory 315, including one or more computer-readable storage media, a radio frequency (RF) module 316, and a peripheral system 317. These components may communicate on one or more communication buses 314.
  • RF radio frequency
  • the peripheral system 317 is mainly used to implement the interactive function between the terminal device 310 and the user/external environment, and mainly includes the input and output devices of the terminal device 300.
  • the peripheral system 317 may include: a touch screen controller 318, a camera controller 319, an audio controller 320, and a sensor management module 321.
  • each controller can be coupled with respective corresponding peripheral devices, such as a touch screen 323, a camera 324, an audio circuit 325, and a sensor 326.
  • the gesture sensor in the sensor 326 may be used to receive gesture control operations input by the user.
  • the pressure sensor in the sensor 326 can be disposed under the touch screen 323, and can be used to collect the touch pressure acting on the touch screen 323 when the user inputs a touch operation through the touch screen 323. It should be noted that the peripheral system 317 may also include other I/O peripherals.
  • the baseband chip 310 may integrate: one or more processors 311, a clock module 312, and a power management module 313.
  • the clock module 312 integrated in the baseband chip 310 is mainly used to generate a clock required for data transmission and timing control for the processor 311.
  • the power management module 313 integrated in the baseband chip 310 is mainly used to provide a stable, high-precision voltage for the processor 311, the radio frequency module 36, and peripheral systems.
  • the radio frequency (RF) module 316 is used to receive and transmit radio frequency signals, and mainly integrates the receiver and transmitter of the terminal device 300.
  • the radio frequency (RF) module 316 communicates with the communication network and other communication devices through radio frequency signals.
  • the radio frequency (RF) module 316 may include, but is not limited to: an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chip, and a SIM card 3161 And storage media.
  • the radio frequency module can also include WIFI 3162, Bluetooth and other short-range wireless communication modules.
  • the radio frequency (RF) module 316 may be implemented on a separate chip.
  • FIG. 18 illustrates the main user operation processing stages involved in the embodiment of the present application from the internal processing flow of the terminal device.
  • the user Under the condition of browsers displaying multiple web pages stacked on the touch screen, the user performs touch screen touch input through the touch screen, and determines that this touch screen touch input is used to trigger the operation of returning to the history page mode across web tabs, that is, The mode triggers operation.
  • the touch screen responds to the above-mentioned mode trigger operation and displays the track input area on the browser.
  • the track input area can achieve the following two functions: (1) Obtain the track input by the user; (2) Avoid accidentally triggering the function buttons on the browser when the user enters the track, for example, the menu and function buttons on the browser, etc. .
  • the texture, area, position, and shape of the track input area can refer to the content in the foregoing embodiment, and will not be repeated here.
  • the user inputs the trajectory in the trajectory input area with a finger.
  • the trajectory may be obtained by sampling the passing points in the moving path of the finger, and sequentially connecting the sampled points.
  • the sampled points can be represented by (x, y), x represents the abscissa of the passed point in the finger movement path, and y represents the ordinate of the passed point in the finger movement path.
  • the processor recognizes the content of the trajectory input from the trajectory.
  • the content of the trajectory input is one or more combinations of letters, numbers, and symbols, and the languages supported by the content of the trajectory input include one or more of Chinese, English, Japanese, German, and French.
  • the language supported by the content of the trajectory input is determined according to the language used by the current page of the browser, that is, if the current page uses Chinese, the content supported by the trajectory input The language should be Chinese accordingly.
  • the processor finds the corresponding history page from the collection of history pages according to the content input by the trajectory.
  • the collection of historical pages can be stored in the browser or outside the browser.
  • the collection of historical pages can be restored from the outside to effectively avoid data loss.
  • the processor notifies the output device to display the history page on the browser in a floating form.
  • the floating display bar includes a plurality of slots, and the corresponding historical page is found from the historical page collection according to the content input by the track and displayed in one or more slots of the floating display bar.
  • the following display modes may be included:
  • the corresponding history pages in different slots are all displayed in the same size. Further, when the user slides the mouse into the first slot, the history page in the first slot is enlarged and displayed, and the size of the history page in other slots remains unchanged.
  • One slot belongs to the multiple slots.
  • the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, where the second slot belongs to the multiple slots. Further, when the user slides the mouse into the third slot, the history page in the third slot is enlarged and displayed, and the second slot is reduced and displayed, wherein the third slot Belong to the multiple slots.
  • the multiple slots are used to display recommended pages in addition to displaying the history pages.
  • a recommended page is selected according to the content input by the trajectory, and the recommended page is displayed in the remaining slots of the floating display column.
  • terminal device is only an example provided in the embodiment of the present application, and the terminal device may have more or less components than the shown components, may combine two or more components, or may have Different configurations are implemented.
  • FIG. 19 shows a functional block diagram of another terminal device provided by an embodiment of the present application.
  • the functional blocks of the terminal device can implement the solution of the present application by hardware, software, or a combination of hardware and software.
  • the functional blocks described in FIG. 19 can be combined or separated into several sub-blocks to implement the solution of the present application. Therefore, the content described above in this application can support any possible combination or separation or further definition of the following functional modules.
  • the terminal device may include: a display module 410, an acquisition module 420, and an identification module 430.
  • the display module 410 may be the display shown in FIG. 15, or the touch screen shown in FIG. 17, or the like.
  • the acquisition module 420 may be the input device shown in FIG. 15 or the touch screen shown in FIG. 17.
  • the identification module 430 may be the host shown in FIG. 15 or the processor shown in FIG. 17.
  • the display module 410 is configured to display a track input area on the browser, where the track input area is used for the user to perform track input;
  • the acquiring module 420 is configured to acquire the trajectory input by the user in the trajectory input area
  • the identification module 430 is used to identify the content of the track input from the track;
  • the display module 410 is configured to find the corresponding historical page from the historical page set according to the content input by the track and display it in a floating form on the browser, where the historical page set includes the browser The history page under each page tab.
  • the texture of the trajectory input area includes any one of opaque, semi-transparent and fully transparent, and the area of the trajectory input area includes the area of the trajectory input area equal to that of the browser.
  • the area of the trajectory input area is larger than the area of the browser, and the area of the trajectory input area is smaller than the area of the browser;
  • the shape of the trajectory input area includes a rectangle, an ellipse, a circle, and Any of the diamond shapes.
  • the texture, area, position, and shape of the track input area can be referred to the content in the foregoing embodiments shown in FIGS. 4 to 7, and will not be repeated here.
  • the content of the trajectory input can be diverse. From the perspective of characters, the content of the trajectory input can be one or more combinations of letters, numbers, and symbols; from the perspective of language ,
  • the content of the track input can support Chinese, English, Japanese, German, French and so on.
  • the language supported by the content of the trajectory input can also be determined according to the current page displayed by the browser. For example, if the current page determined by the browser is in Chinese, the language supported by the content of the trajectory input is automatically converted to Chinese. , There is no specific limitation here.
  • the floating display bar includes multiple slots, and the display module 410 finds the corresponding history page from the set of history pages according to the content input by the track, and displays it in one or more of the floating display bar. In slots.
  • the following display modes may be included:
  • the display module 410 is used to enlarge and display the history page in the first slot when the user slides the mouse into the first slot, and the size of the history page in other slots remains unchanged.
  • the first slot belongs to the multiple slots.
  • the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, where the second slot belongs to the multiple slots.
  • the display module 410 is used to zoom in and display the history page in the third slot and zoom out and display the second slot when the user slides the mouse into the third slot.
  • the third slot belongs to the multiple slots.
  • the display module 410 is configured to select a recommended page according to the content input by the trajectory, and display the recommended page in the remaining slots of the floating display bar.
  • terminal device is only an example provided by the embodiment of the present invention, and the terminal device may have more or fewer components than shown, may combine two or more components, or may have Different configurations are implemented.
  • the trajectory input area by displaying the trajectory input area on the browser, the trajectory input by the user in the trajectory input area is acquired, and the content of the trajectory input is recognized from the trajectory; the content input by the trajectory is collected from the history page
  • the corresponding history page is found to be displayed on the browser in a floating form, where the history page set includes the history page under each webpage tag in the browser, therefore, it is possible to return to the history page across webpage tags .
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a storage disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).

Abstract

Provided is a method for returning to a historical page. The method comprises: displaying a trajectory input area on a browser, wherein the trajectory input area is used for a user to input a trajectory; acquiring the trajectory input by the user in the trajectory input area, and identifying the content of the input trajectory from the trajectory; and searching, in a historical page set, for a corresponding historical page according to the content of the input trajectory, and displaying same on the browser in a suspension form, wherein the historical page set comprises a historical page under each webpage tag in the browser. By means of the solution, a historical page can be returned across webpage tags.

Description

返回历史页面的方法和终端设备Method and terminal device for returning historical page
本申请要求于2020年2月29日提交中国专利局、申请号为202010132767.5、申请名称为“返回历史页面的方法和终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on February 29, 2020, the application number is 202010132767.5, and the application name is "Method and terminal device for returning to the history page", the entire content of which is incorporated into this application by reference middle.
技术领域Technical field
本申请涉及IT领域,尤其涉及一种返回历史页面的方法和终端设备。This application relates to the IT field, and in particular to a method and terminal device for returning to a historical page.
背景技术Background technique
用户通常会在浏览器上打开多个网页标签,每个网页标签下显示一个网页页面。由于终端设备的屏幕有限,被打开的这些网页页面通常会层叠显示。最常见的,屏幕一般只能显示最上层的网页页面,而其他正在运行的网页页面会被显示在屏幕最上层的网页页面遮挡,不为用户所见。A user usually opens multiple webpage tabs on the browser, and a webpage page is displayed under each webpage tab. Due to the limited screen of the terminal device, the opened web pages are usually displayed cascadingly. Most commonly, the screen can only display the top-level web page, while other running web pages will be obscured by the web page displayed at the top-level of the screen, making it invisible to the user.
现有技术中,返回历史页面只能在同一个网页标签下进行,不便于返回其他网页标签下的历史页面。In the prior art, returning to the history page can only be performed under the same webpage tag, which is inconvenient to return to the history page under other webpage tags.
发明内容Summary of the invention
为了解决上述问题,本申请提供了一种返回历史页面的方法和终端设备,能够实现跨网页标签返回历史页面。In order to solve the above-mentioned problems, the present application provides a method and terminal device for returning to a history page, which can realize the return of the history page across webpage tags.
第一方面,提供一种返回历史页面的方法,包括:In the first aspect, a method for returning to the history page is provided, including:
在浏览器之上显示轨迹输入区域,其中,所述迹输入区域用于供用户进行轨迹输入;Displaying a track input area on the browser, where the track input area is used for the user to perform track input;
获取用户在所述轨迹输入区域输入的轨迹,并从所述轨迹识别轨迹输入的内容;Acquiring the trajectory input by the user in the trajectory input area, and identifying the content of the trajectory input from the trajectory;
根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面以悬浮的形式显示在浏览器之上,其中,所述历史页面集合包括了所述浏览器中各个网页标签之下的历史页面。According to the content input by the track, the corresponding history page is found from the collection of history pages and displayed in a floating form on the browser, where the collection of history pages includes the history under each webpage tag in the browser page.
在一些可能的设计中,所述轨迹输入区域的质地包括不透明的、半透明的以及全透明的中的任意一种,所述轨迹输入区域的面积包括所述轨迹输入区域的面积等于浏览器的面积、所述轨迹输入区域的面积大于浏览器的面积以及所述轨迹输入区域的面积小于浏览器的面积中的任意一种;所述轨迹输入区域的形状包括矩形、椭圆形、圆形以及菱形中的任意一种。In some possible designs, the texture of the trajectory input area includes any one of opaque, semi-transparent and fully transparent, and the area of the trajectory input area includes that the area of the trajectory input area is equal to that of the browser. Area, the area of the track input area is larger than the area of the browser, and the area of the track input area is smaller than the area of the browser; the shape of the track input area includes a rectangle, an ellipse, a circle, and a diamond Any of them.
在一些可能的设计中,所述轨迹输入的内容是字母、数字以及符号中的一种或者多种组合。In some possible designs, the content of the track input is one or more combinations of letters, numbers, and symbols.
在一些可能的设计中,所述轨迹输入的内容支持的语言包括中文、英文、日文、德文以及法文中的一种或者多种。In some possible designs, the languages supported by the content of the track input include one or more of Chinese, English, Japanese, German, and French.
在一些可能的设计中,所述轨迹输入的内容支持的语言是根据所述浏览器的当前页面使用的语言确定的。In some possible designs, the language supported by the content of the track input is determined according to the language used by the current page of the browser.
在一些可能的设计中,悬浮显示栏上包括多个槽位,所述根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面以悬浮的形式显示在浏览器之上,包括:In some possible designs, the floating display bar includes a plurality of slots, and the corresponding historical page is found from the set of historical pages according to the content input by the track and displayed on the browser in a floating form, including:
根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面显示在所述悬浮显示栏的一个或者多个槽位中。According to the content input by the track, the corresponding history page is found from the collection of history pages and displayed in one or more slots of the floating display column.
在一些可能的设计中,不同槽位中的对应历史页面均以相同的大小进行显示。In some possible designs, the corresponding history pages in different slots are all displayed in the same size.
在一些可能的设计中,在用户将鼠标滑入第一槽位的情况下,将所述第一槽位中的历史页面进行放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第一槽位属于所述多个槽位。In some possible designs, when the user slides the mouse into the first slot, the history page in the first slot is enlarged and displayed, and the size of the history page in other slots remains unchanged. , The first slot belongs to the multiple slots.
在一些可能的设计中,第二槽位中的历史页面放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第二槽位属于所述多个槽位。In some possible designs, the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, where the second slot belongs to the multiple slots.
在一些可能的设计中,在用户将鼠标滑入第三槽位的情况下,将所述第三槽位中的历史页面进行放大显示,将所述第二槽位缩小显示,其中,所述第三槽位属于所述多个槽位。In some possible designs, when the user slides the mouse into the third slot, the history page in the third slot is enlarged and displayed, and the second slot is reduced and displayed, wherein the The third slot belongs to the multiple slots.
在一些可能的设计中,在所述对应的历史页面的数量小于所述悬浮显示栏的槽位的数量的情况下,根据所述轨迹输入的内容选择推荐页面,并将所述推荐页面显示在所述悬浮显示栏的剩余槽位中。In some possible designs, when the number of corresponding history pages is less than the number of slots in the floating display column, a recommended page is selected according to the content input by the track, and the recommended page is displayed on In the remaining slots of the floating display column.
在一些可能的设计中,在浏览器之上显示轨迹输入区域,包括:在用户执行模式触发操作的情况下,在浏览器之上显示轨迹输入区域,其中,所述模式触发操作包括单击鼠标右键并同时滑动鼠标的操作,或者,单击鼠标左键并同时滑动鼠标的操作。In some possible designs, displaying the trajectory input area on the browser includes: displaying the trajectory input area on the browser when the user performs a mode triggering operation, wherein the mode triggering operation includes clicking a mouse Right-click and slide the mouse at the same time, or click the left mouse button and slide the mouse at the same time.
第二方面,提供一种终端设备,包括:显示模块、获取模块、识别模块以及悬浮显示模块;In a second aspect, a terminal device is provided, including: a display module, an acquisition module, an identification module, and a floating display module;
所述显示模块用于在浏览器之上显示轨迹输入区域,其中,所述迹输入区域用于供用户进行轨迹输入;The display module is used to display a track input area on a browser, wherein the track input area is used for a user to perform track input;
所述获取模块用于获取用户在所述轨迹输入区域输入的轨迹;The acquisition module is used to acquire the trajectory input by the user in the trajectory input area;
所述识别模块用于从所述轨迹识别轨迹输入的内容;The recognition module is used to recognize the content of the track input from the track;
所述悬浮显示模块用于根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面以悬浮的形式显示在浏览器之上,其中,所述历史页面集合包括了所述浏览器中各个网页标签之下的历史页面。The floating display module is used to find the corresponding historical page from the historical page set according to the content input by the track and display it on the browser in a floating form, wherein the historical page set includes the browser The history page under each page tab.
在一些可能的设计中,所述轨迹输入区域的质地包括不透明的、半透明的以及全透明的中的任意一种,所述轨迹输入区域的面积包括所述轨迹输入区域的面积等于浏览器的面积、所述轨迹输入区域的面积大于浏览器的面积以及所述轨迹输入区域的面积小于浏览器的面积中的任意一种;所述轨迹输入区域的形状包括矩形、椭圆形、圆形以及菱形中的任意一种。In some possible designs, the texture of the trajectory input area includes any one of opaque, semi-transparent and fully transparent, and the area of the trajectory input area includes that the area of the trajectory input area is equal to that of the browser. Area, the area of the track input area is larger than the area of the browser, and the area of the track input area is smaller than the area of the browser; the shape of the track input area includes a rectangle, an ellipse, a circle, and a diamond Any of them.
在一些可能的设计中,所述轨迹输入的内容是字母、数字以及符号中的一种或者多种组合。In some possible designs, the content of the track input is one or more combinations of letters, numbers, and symbols.
在一些可能的设计中,所述轨迹输入的内容支持的语言包括中文、英文、日文、德文以及法文中的一种或者多种。In some possible designs, the languages supported by the content of the track input include one or more of Chinese, English, Japanese, German, and French.
在一些可能的设计中,所述轨迹输入的内容支持的语言是根据所述浏览器的当前页面使用的语言确定的。In some possible designs, the language supported by the content of the track input is determined according to the language used by the current page of the browser.
在一些可能的设计中,所述悬浮显示模块还用于根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面显示在所述悬浮显示栏的一个或者多个槽位中。In some possible designs, the floating display module is further configured to find a corresponding historical page from a collection of historical pages according to the content input by the trajectory and display it in one or more slots of the floating display column.
在一些可能的设计中,不同槽位中的对应历史页面均以相同的大小进行显示。In some possible designs, the corresponding history pages in different slots are all displayed in the same size.
在一些可能的设计中,所述悬浮显示模块还用于在用户将鼠标滑入第一槽位的情况下,将所述第一槽位中的历史页面进行放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第一槽位属于所述多个槽位。In some possible designs, the floating display module is also used to enlarge and display the history page in the first slot when the user slides the mouse into the first slot, and the history page in the other slots The size of the page remains unchanged, wherein the first slot belongs to the multiple slots.
在一些可能的设计中,第二槽位中的历史页面放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第二槽位属于所述多个槽位。In some possible designs, the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, where the second slot belongs to the multiple slots.
在一些可能的设计中,所述悬浮显示模块还用于在用户将鼠标滑入第三槽位的情况下,将所述第三槽位中的历史页面进行放大显示,将所述第二槽位缩小显示,其中,所述第三槽位属于所述多个槽位。In some possible designs, the floating display module is also used to enlarge and display the history page in the third slot when the user slides the mouse into the third slot, and display the second slot The position is reduced and displayed, wherein the third slot belongs to the plurality of slots.
在一些可能的设计中,所述悬浮显示模块还用于在所述对应的历史页面的数量小于所述悬浮显示栏的槽位的数量的情况下,根据所述轨迹输入的内容选择推荐页面,并将所述推荐页面显示在所述悬浮显示栏的剩余槽位中。In some possible designs, the floating display module is further configured to select a recommended page according to the content input by the trajectory when the number of corresponding history pages is less than the number of slots in the floating display column, And the recommended page is displayed in the remaining slots of the floating display column.
在一些可能的设计中,所述显示模块还用于在用户执行模式触发操作的情况下,在浏览器之上显示轨迹输入区域,其中,所述模式触发操作包括单击鼠标右键并同时滑动鼠标的操作,或者,单击鼠标左键并同时滑动鼠标的操作。In some possible designs, the display module is also used to display a track input area on the browser when the user performs a mode trigger operation, where the mode trigger operation includes clicking the right mouse button and sliding the mouse simultaneously Or, click the left mouse button and slide the mouse at the same time.
第三方面,提供了一种终端设备,包括存储器以及处理器,所述处理器执行所述存储器中的程序以运行计算服务和存储服务,从而执行如第一方面任一项所述的方法。In a third aspect, a terminal device is provided, including a memory and a processor, and the processor executes a program in the memory to run a computing service and a storage service, thereby executing the method according to any one of the first aspect.
第四方面,提供了一种可读存储介质,包括指令,当所述指令在终端设备上运行时,使得所述计算节点执行如第一方面任一项所述的方法。In a fourth aspect, a readable storage medium is provided, including instructions, which, when the instructions run on a terminal device, cause the computing node to execute the method according to any one of the first aspects.
第五方面,提供了一种计算机程序产品,当所述计算机程序产品被终端设备读取并执行时,如第一方面任一项所述的方法将被执行。In a fifth aspect, a computer program product is provided. When the computer program product is read and executed by a terminal device, the method according to any one of the first aspects will be executed.
上述方案中,通过在浏览器之上显示轨迹输入区域,获取用户在所述轨迹输入区域输入的轨迹,并从所述轨迹识别轨迹输入的内容;根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面以悬浮的形式显示在浏览器之上,其中,所述历史页面集合包括了所述浏览器中各个网页标签之下的历史页面,因此,能够实现跨网页标签返回历史页面。In the above solution, by displaying the trajectory input area on the browser, the trajectory input by the user in the trajectory input area is acquired, and the content of the trajectory input is recognized from the trajectory; the content input by the trajectory is collected from the history page The corresponding history page is found to be displayed on the browser in a floating form, where the history page set includes the history page under each webpage tag in the browser, therefore, it is possible to return to the history page across webpage tags .
附图说明Description of the drawings
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。In order to more clearly describe the technical solutions in the embodiments of the present application or the background art, the following will describe the drawings that need to be used in the embodiments of the present application or the background art.
图1A至图1B是本申请实施例涉及的一些层叠网页页面的示意图;1A to 1B are schematic diagrams of some stacked web pages involved in an embodiment of the present application;
图2A至图2B是本申请实施例涉及的一些返回历史页面的示意图;2A to 2B are schematic diagrams of some returning history pages related to embodiments of the present application;
图3是本申请实施例提供的一种用于触发进入跨网页标签返回历史页面模式的用户操作的示意图;FIG. 3 is a schematic diagram of a user operation for triggering entry into a cross-page tab returning to a historical page mode according to an embodiment of the present application;
图4-图7是本申请涉及的一些轨迹输入区域的示意图;Figures 4-7 are schematic diagrams of some trajectory input areas involved in this application;
图8是本申请涉及的一种用户在轨迹输入区域进行轨迹输入的示意图;FIG. 8 is a schematic diagram of a user performing trajectory input in a trajectory input area related to the present application;
图9A至图9D是本申请涉及的一些悬浮显示栏的示意图;9A to 9D are schematic diagrams of some floating display columns involved in this application;
图10A至图10D是本申请涉及的一些在悬浮显示栏上显示历史页面的示意图;10A to 10D are schematic diagrams of displaying historical pages on the floating display bar involved in this application;
图11A至图11C是本申请涉及的另一些在悬浮显示栏上显示历史页面的示意图;11A to 11C are schematic diagrams showing other historical pages displayed on the floating display bar involved in this application;
图12是本申请涉及的在浏览器中加载被选择的历史页面的示意图;Figure 12 is a schematic diagram of loading a selected history page in a browser involved in this application;
图13是本申请实施例提供的另一种用于触发进入跨网页标签返回历史页面模式的用户操作的示意图;FIG. 13 is a schematic diagram of another user operation for triggering entry into the cross-page tab return history page mode provided by an embodiment of the present application; FIG.
图14是本申请涉及的另一种用户在轨迹输入区域进行轨迹输入的示意图;FIG. 14 is a schematic diagram of another user performing trajectory input in the trajectory input area related to the present application;
图15是本申请涉及的一种终端设备的结构示意图;FIG. 15 is a schematic structural diagram of a terminal device involved in this application;
图16是图15所示的终端设备的内部执行返回历史页面的流程示意图;FIG. 16 is a schematic diagram of the internal execution of the terminal device shown in FIG. 15 returning to the history page;
图17是本申请涉及的另一种终端设备的结构示意图;FIG. 17 is a schematic structural diagram of another terminal device involved in this application;
图18是图17所示的终端设备的内部执行返回历史页面的流程示意图;18 is a schematic diagram of the internal execution of the terminal device shown in FIG. 17 returning to the history page;
图19是本申请涉及的又一种终端设备的结构示意图。FIG. 19 is a schematic structural diagram of another terminal device involved in this application.
具体实施方式Detailed ways
为了便于理解本发明实施例,这里先说明本申请实施例涉及的应用场景:层叠网页页面(stacking web pages)。In order to facilitate the understanding of the embodiments of the present invention, the application scenario involved in the embodiments of the present application is first described here: stacking web pages.
参见图1A至图1B,本申请实施例涉及的层叠网页页面的示意图。如图1A至图1B所示,终端设备110上调用浏览器120同时运行多个网页页面130,可如下:搜索引擎类网页页面,例如,***,百度;门户网页页面,例如,雅虎、新浪以及hao123等等;地图类网页页面,例如,高德地图,百度地图等等,……。其中,终端设备110可以是CRT显示器、液晶显示器、平板电脑、智能手机等等。浏览器120可以是*** chome、搜狗高速浏览器、QQ浏览器、360安全浏览器、遨游浏览器以及UC浏览器等等。1A to 1B, schematic diagrams of stacked web pages involved in an embodiment of the present application. As shown in FIGS. 1A to 1B, the browser 120 is invoked on the terminal device 110 to run multiple web pages 130 at the same time, which can be as follows: search engine web pages, such as Google, Baidu; portal web pages, such as Yahoo, Sina, and hao123, etc.; map web pages, such as Gaode map, Baidu map, etc.... Among them, the terminal device 110 may be a CRT display, a liquid crystal display, a tablet computer, a smart phone, and so on. The browser 120 may be *** home, Sogou high-speed browser, QQ browser, 360 security browser, travel browser, UC browser, and so on.
浏览器120通常采用层叠方式显示多个网页页面,这些具有层叠关系的网页页面可以称之为层叠网页页面。即,在同一时刻,浏览器120只能在上方完整显示一个网页页面,该网页页面可以称之为当前页面,其余网页页面则会被当前页面所遮挡,层叠显示在当前页面的下方。The browser 120 usually displays multiple web pages in a cascading manner, and these web pages having a cascading relationship may be referred to as stacked web pages. That is, at the same time, the browser 120 can only display one web page completely at the top, which can be called the current page, and the remaining web pages will be hidden by the current page and displayed in a layered manner below the current page.
层叠网页页面表现出的层叠方式可包括两种:第一种,当前页面完全遮挡其他网页页面;第二种,当前页面部分遮挡其他网页页面。通常来说,如果终端设备110的显示器的面积比较大,可以采用第一种方式进行显示,相反,如果终端设备110的显示器的面积比较小,可以采用第二种方式进行显示。There are two types of stacking modes shown by stacking web pages: the first is that the current page completely occludes other web pages; the second is that the current page partially occludes other web pages. Generally speaking, if the display area of the terminal device 110 is relatively large, the first method can be used for display. Conversely, if the display area of the terminal device 110 is relatively small, the second method can be used for display.
终端设备110通过一个数据结构,例如,堆栈,来记录多个网页页面的层叠关系,即,当前页面遮挡其余网页页面的关系。通常地,当前页面为最近被激活的网页页面,其中,激活操作可以是打开网页页面,主动对网页页面进行操作或者网页页面的内部事件触发的,例如,用户打开新的网页页面,用户主动选择了网页页面或者下载完成弹出新的网页页面等等,此处不作具体限定。The terminal device 110 uses a data structure, such as a stack, to record the stacking relationship of multiple web pages, that is, the relationship where the current page occludes other web pages. Generally, the current page is the most recently activated web page. The activation operation can be triggered by opening the web page, actively operating on the web page, or triggered by internal events of the web page, for example, the user opens a new web page, and the user actively selects There is no specific limitation here.
在一具体的实施例中,浏览器120包括多个网页标签121,每个网页标签120对应一个网页页面。当某个网页标签121被选中时,该网页标签121对应的网页页面130完整地显示在上方(可以称之为当前页面),其余网页页面130则会被当前页面所遮挡,层叠在当前页面的下方。以图1A为例,x轴和y轴构成了平行于终端设备110的屏幕的平面,z轴表示垂直于屏幕的坐标轴,同时运行于终端设备110中的网页页面按照层叠顺序沿z轴呈层叠结构。当网页标签1(知乎的网页标签)被选中,网页标签2(欧洲专利局的网页标签) 没有被选中时,终端设备110显示第一层网页页面为知乎的网页页面,第二层网页页面为欧洲专利局的网页页面,即,知乎的网页页面遮挡了欧洲专利局的网页页面。继续以图1B为例,x轴和y轴构成了平行于终端设备110的屏幕的平面,z轴表示垂直于屏幕的坐标轴,同时运行于终端设备110中的网页页面按照层叠顺序沿z轴呈层叠结构。当网页标签1(知乎的网页标签)没有被选中,网页标签2(欧洲专利局的网页标签)被选中时,终端设备110显示第一层网页页面为欧洲专利局的网页页面,第二层网页页面为知乎的网页页面,即,欧洲专利局的网页页面遮挡了知乎的网页页面。In a specific embodiment, the browser 120 includes a plurality of webpage tags 121, and each webpage tag 120 corresponds to a webpage page. When a certain webpage tag 121 is selected, the webpage 130 corresponding to the webpage tag 121 is completely displayed at the top (which can be called the current page), and the remaining webpages 130 will be hidden by the current page and stacked on top of the current page. Below. Taking Figure 1A as an example, the x-axis and y-axis constitute a plane parallel to the screen of the terminal device 110, and the z-axis represents a coordinate axis perpendicular to the screen. At the same time, web pages running on the terminal device 110 are arranged along the z-axis in the stacking order. Stacked structure. When web page tag 1 (Zhihu's web page tag) is selected, and web page tag 2 (the European Patent Office web page tag) is not selected, the terminal device 110 displays the first-level web page as the Zhihu web page, and the second-level web page The page is the web page of the European Patent Office, that is, the web page of Zhihu obscures the web page of the European Patent Office. Continuing to take Figure 1B as an example, the x-axis and y-axis constitute a plane parallel to the screen of the terminal device 110, and the z-axis represents the coordinate axis perpendicular to the screen. At the same time, web pages running on the terminal device 110 follow the stacking order along the z-axis. A layered structure. When the web page tag 1 (Zhihu's web page tag) is not selected, and the web page tag 2 (the web page tag of the European Patent Office) is selected, the terminal device 110 displays the first layer of the web page as the web page of the European Patent Office, and the second layer The web page is the web page of Zhihu, that is, the web page of the European Patent Office obscures the web page of Zhihu.
需要说明的是,图1A以及图1B仅仅是本申请实施例涉及的层叠网页页面的一种示例,不应构成限定。实际应用中,层叠网页页面的数量可以多于或少于图1A以及图1B示出的2个,层叠网页页面以及层叠顺序均不受图1A以及图1B限制。It should be noted that FIG. 1A and FIG. 1B are merely examples of stacked web pages involved in the embodiment of the present application, and should not constitute a limitation. In practical applications, the number of stacked web pages can be more or less than the two shown in FIGS. 1A and 1B, and the stacked web pages and the stacking order are not limited by FIGS. 1A and 1B.
下面介绍在层叠网页页面场景下,如何实现返回历史页面的功能。The following describes how to implement the function of returning to the history page in the context of cascading web pages.
历史页面为浏览器在访问展示页面之前访问过的网页页面。其中,展示页面为网页标签被选择中时,浏览器展示的网页页面。下面将结合具体的例子进行详细说明。假设浏览器包括网页标签1以及网页标签2。如图2A所示,对于网页标签1而言,t 1时刻,浏览器在网页标签1中打开了网页页面1,t 2时刻,浏览器在网页标签1中离开了网页页面1,并打开了网页页面2,t 3时刻,浏览器在网页标签1中离开了网页页面2,并打开了网页页面3,并且,网页页面3为展示页面,t 1<t 2<t 3。因此,网页页面1以及网页页面2是历史页面。如图2B所示,对于网页标签2而言,t 4时刻,浏览器在网页标签2中打开了网页页面4,t 5时刻,浏览器在网页标签2中离开了网页页面4,并打开了网页页面5,t 6时刻,浏览器在网页标签2中离开了网页页面5,并打开了网页页面6,并且,网页页面6为展示页面,t 4<t 5<t 6。因此,网页页面4以及网页页面5是历史页面。 The history page is the web page visited by the browser before visiting the display page. Among them, the display page is the web page displayed by the browser when the web page tag is selected. A detailed description will be given below in conjunction with specific examples. Assume that the browser includes web page tag 1 and web page tag 2. As shown in Figure 2A, for web page tag 1, at time t 1 , the browser opened web page 1 in web page tag 1, and at time t 2 , the browser left web page 1 in web page tag 1, and opened Web page 2, at time t 3 , the browser leaves Web page 2 in Web tab 1, and opens Web page 3, and Web page 3 is the display page, t 1 <t 2 <t 3 . Therefore, web page 1 and web page 2 are historical pages. As shown in Figure 2B, for web page tag 2, at t 4 , the browser opens web page 4 in web page tag 2, and at t 5 , the browser leaves web page 4 in web page tag 2, and opens Web page 5, at time t 6 , the browser leaves Web page 5 in Web tab 2 and opens Web page 6, and Web page 6 is a display page, and t 4 <t 5 <t 6 . Therefore, the web page 4 and the web page 5 are historical pages.
在需要返回历史页面时,用户点击浏览器上的“返回”按键,此时,浏览器离开当前页面,显示当前页面的历史页面。这里,浏览器是按照顺序返回历史页面的,并且,浏览器返回历史页面的顺序为浏览器访问网页页面的顺序的逆序。下面继续以上述的例子为例进行详细的说明。如图2A所示,在网页标签1被选中的情况下,浏览器显示的展示页面为网页页面3,用户点击浏览器上的“返回”按键(例如,向左的箭头),浏览器离开网页页面3(展示页面),并显示网页页面2(历史页面),用户再次点击浏览器上的“返回”按键,浏览器离开网页页面2(历史页面),并显示网页页面1(历史页面)。如图2B所示,在网页标签2被选中的情况下,浏览器显示的展示页面为网页页面6,用户点击浏览器上的“返回”按键(例如,向左的箭头),浏览器离开网页页面6(展示页面),并显示网页页面5(历史页面),用户再次点击浏览器上的“返回”按键,浏览器离开网页页面5(历史页面),并显示网页页面4(历史页面)。When the user needs to return to the history page, the user clicks the "return" button on the browser. At this time, the browser leaves the current page and displays the history page of the current page. Here, the browser returns the history pages in order, and the order in which the browser returns the history pages is the reverse order of the order in which the browser accesses the web pages. The following will continue to take the above example as an example for detailed description. As shown in Figure 2A, when the web page tab 1 is selected, the display page displayed by the browser is web page 3. The user clicks the "back" button on the browser (for example, the left arrow), and the browser leaves the web page Page 3 (display page), and web page 2 (history page) is displayed, the user clicks the "back" button on the browser again, the browser leaves web page 2 (history page), and displays web page 1 (history page). As shown in Figure 2B, when the webpage tag 2 is selected, the display page displayed by the browser is webpage page 6. The user clicks the "back" button (for example, the left arrow) on the browser, and the browser leaves the webpage Page 6 (display page), and web page 5 (history page) is displayed, the user clicks the "back" button on the browser again, the browser leaves web page 5 (history page), and web page 4 (history page) is displayed.
需要说明的是,图2A以及图2B仅仅是本申请实施例涉及的返回历史页面的一些示例,不应构成限定。实际应用中,历史页面的数量可以多于或少于图2A以及图2B示出的2个,当前页面以及历史页面均不受图2A以及图2B限制。It should be noted that FIG. 2A and FIG. 2B are only some examples of returning history pages involved in the embodiments of the present application, and should not constitute a limitation. In practical applications, the number of history pages can be more or less than the two shown in FIG. 2A and FIG. 2B, and neither the current page nor the history page is limited by FIGS. 2A and 2B.
但是,上述返回历史页面只能在同一个网页标签下进行,不能实现跨网页标签返回历史页面。However, the above-mentioned returning to the history page can only be performed under the same webpage tag, and it is not possible to return to the history page across webpage tags.
下面介绍本发明实施例涉及的用于跨网页标签返回历史页面的用户界面(UI:User Interface)及用户操作实施例。The following introduces a user interface (UI: User Interface) and user operation embodiments for returning to a history page across webpage tags related to the embodiment of the present invention.
参见图3,图3是本申请实施例提供的一种用于触发进入跨网页标签返回历史页面模式的用户操作的示意图。Referring to FIG. 3, FIG. 3 is a schematic diagram of a user operation for triggering entry into the cross-webpage tag returning to the history page mode according to an embodiment of the present application.
本申请实施例中,将所述触发进入跨网页标签返回历史页面模式的用户操作称为模式触发操作。在执行模式触发操作之前,浏览器处于非跨网页标签返回历史页面模式,在执行模式触发操作之后,浏览器处于跨网页标签返回历史页面模式。In the embodiment of the present application, the user operation that triggers the entry into the cross-webpage tag returning to the history page mode is referred to as a mode trigger operation. Before the execution mode trigger operation, the browser is in the non-cross-webpage tag returning to the historical page mode, and after the execution mode trigger operation, the browser is in the cross-webpage tag returning to the historical page mode.
所述模式触发操作可以是鼠标触控操作。为了避免误操作,所述鼠标触控操作可以是不完全不同于常用鼠标操作的鼠标操作。这里,常用鼠标操作可以是单击鼠标左键、移动鼠标、滚动鼠标单击鼠标右键,双击鼠标左键等等,此处不作具体限定。在一具体的实施例中,如图3所示,所述模式触发操作可以是单击鼠标右键并同时滑动鼠标的操作,或者,单击鼠标左键并同时滑动鼠标的操作等等。The mode trigger operation may be a mouse touch operation. In order to avoid misoperation, the mouse touch operation may be a mouse operation that is not completely different from the usual mouse operation. Here, the common mouse operations can be left-clicking the mouse, moving the mouse, scrolling the mouse, clicking the right mouse button, double-clicking the left mouse button, etc., which are not specifically limited here. In a specific embodiment, as shown in FIG. 3, the mode trigger operation may be an operation of clicking the right mouse button and sliding the mouse at the same time, or an operation of clicking the left mouse button and sliding the mouse at the same time, and so on.
当终端设备在用户界面检测到模式触发操作时,响应于所述模式触发操作,终端设备可以在浏览器之上显示轨迹输入区域,以供用户进行轨迹输入。其中,轨迹输入区域可以实现以下两个功能:(1)获取用户输入的鼠标轨迹;(2)避免用户输入鼠标轨迹时误触发浏览器上的功能按键,例如,浏览器上的菜单以及功能按钮等等。为了形象说明,轨迹输入区域可以类比为“遮罩”,“遮罩”是悬浮在浏览器之上的层,能够有效地保护浏览器不被误操作。应理解,“遮罩”覆盖的面积越大,用户用于输入轨迹的空间越大。When the terminal device detects a mode trigger operation on the user interface, in response to the mode trigger operation, the terminal device may display a track input area on the browser for the user to perform track input. Among them, the track input area can achieve the following two functions: (1) Obtain the mouse track input by the user; (2) Avoid accidentally triggering the function buttons on the browser when the user enters the mouse track, for example, the menu and function buttons on the browser and many more. To illustrate, the trajectory input area can be analogized as a "mask". The "mask" is a layer floating above the browser, which can effectively protect the browser from misoperation. It should be understood that the larger the area covered by the "mask", the larger the space for the user to input the trajectory.
显示轨迹输入区域的显示要素可以是根据浏览器的位置信息以及用户选择确定的。其中,显示轨迹输入区域的显示要素可以包括质地、面积、位置以及形状等等。浏览器的位置信息可以包括浏览器的四个顶角的坐标信息。具体地,终端设备可以获取浏览器的四个顶角的坐标信息确定所述浏览器的位置以及面积,并根据浏览器的位置以及面积显示以及用户选择确定显示轨迹输入区域的显示要素。The display elements of the display track input area may be determined according to the location information of the browser and the user's selection. Among them, the display elements that display the track input area may include texture, area, position, shape, and so on. The location information of the browser may include the coordinate information of the four top corners of the browser. Specifically, the terminal device may obtain the coordinate information of the four top corners of the browser to determine the position and area of the browser, and determine the display element of the display track input area according to the position and area display of the browser and the user's selection.
图4-图7是本申请涉及的一些轨迹输入区域的示意图。其中,图4至图7分别从轨迹输入区域的质地、面积、位置、以及形状各个角度进行详细的介绍。Figures 4-7 are schematic diagrams of some trajectory input areas involved in this application. Among them, FIGS. 4 to 7 respectively describe in detail the texture, area, position, and shape of the trajectory input area.
轨迹输入区域的质地可以是多种多样的,例如,如图4中(a)所示,轨迹输入区域的质地可以是不透明的,如图4中(b)所示,轨迹输入区域的质地可以是半透明的,如图4中(c)所示,轨迹输入区域的质地可以是全透明的。应理解,轨迹输入区域的透明度还可以是用户根据个人喜好自由设置的,此处不作具体限定。另外,轨迹输入区域的图案也可以是用户自由设置的,例如,星星图案、月牙图案以及花朵图案等等,甚至地,用户可以选择一张或者多张照片作为轨迹输入区域的图案等等,此处不作具体限定。The texture of the trajectory input area can be varied. For example, as shown in Figure 4(a), the texture of the trajectory input area can be opaque. As shown in Figure 4(b), the texture of the trajectory input area can be It is semi-transparent, as shown in Figure 4(c), the texture of the track input area can be completely transparent. It should be understood that the transparency of the track input area can also be freely set by the user according to personal preference, and there is no specific limitation here. In addition, the pattern of the trajectory input area can also be freely set by the user, for example, a star pattern, a crescent pattern, a flower pattern, etc., even the user can select one or more photos as the pattern of the trajectory input area, etc. There are no specific restrictions.
轨迹输入区域的面积可以是多种多样的,例如,如图5中(a)所示,轨迹输入区域的面积可以等于浏览器的面积,如图5中(b)所示,轨迹输入区域的面积可以小于浏览器的面积。当然,在其他的实施例中,轨迹输入区域的面积还可以大于浏览器的面积。通常地,为了便于用户输入,可以令轨迹输入区域的面积大于或者等于浏览器的面积,特别地,可以令轨迹输入区域的面积等于整个终端设备的显示屏的面积,此时,用户可以随意在终端设备上任一个位置进行轨迹输入。另外,轨迹输入区域的面积可以是用户自行设置的,此 处不作具体限定。The area of the trajectory input area can be various. For example, as shown in Figure 5 (a), the area of the trajectory input area can be equal to the area of the browser. As shown in Figure 5 (b), the area of the trajectory input area The area can be smaller than the area of the browser. Of course, in other embodiments, the area of the track input area may also be larger than the area of the browser. Generally, in order to facilitate user input, the area of the track input area can be made greater than or equal to the area of the browser. In particular, the area of the track input area can be made equal to the area of the display screen of the entire terminal device. Perform track input at any position on the terminal device. In addition, the area of the track input area can be set by the user, and there is no specific limitation here.
轨迹输入区域的位置可以是多种多样的,例如,如图6中(a)所示,轨迹输入区域的位置可以位于左边半侧,如图6中(b)所示,轨迹输入区域的位置可以位于右边半侧,如图6中(c)所示,轨迹输入区域的位置可以位于上边半侧,如图6中(d)所示,轨迹输入区域的位置可以位于下边半侧。应理解,上述轨迹输入区域的位置仅仅是作为一些具体的举例,在实际应用中,轨迹输入区域的位置还可以是左上角侧,右上角侧,左下角侧,右下角侧以及中间部分等等,此处不再一一说明。另外,轨迹输入区域的位置可以是用户自行设置的,此处不作具体限定。The position of the trajectory input area can be various, for example, as shown in Figure 6 (a), the position of the trajectory input area can be on the left half, as shown in Figure 6 (b), the position of the trajectory input area It can be located on the right half. As shown in Figure 6(c), the location of the track input area can be located on the upper half. As shown in Figure 6(d), the location of the track input area can be located on the lower half. It should be understood that the position of the above-mentioned track input area is only taken as some specific examples. In practical applications, the position of the track input area can also be the upper left corner side, the upper right corner side, the lower left corner side, the lower right corner side, the middle part, etc. , I will not explain one by one here. In addition, the location of the track input area can be set by the user, and there is no specific limitation here.
轨迹输入区域的形状可以是多种多样的,例如,如图7中(a)所示,轨迹输入区域的形状可以是矩形;如图7中(a)所示,轨迹输入区域的形状可以是椭圆形。应理解,轨迹输入区域的形状还可以是菱形的,心形的或者圆形,设置多种形状的组合等等,并且,轨迹输入区域的形状除了可以是规则形状之外,还可以是不规则形状,此处不作具体限定。另外,轨迹输入区域的形状可以是用户自行设置的,此处不作具体限定。The shape of the trajectory input area can be various, for example, as shown in Figure 7 (a), the shape of the trajectory input area can be rectangular; as shown in Figure 7 (a), the shape of the trajectory input area can be Oval. It should be understood that the shape of the trajectory input area can also be diamond-shaped, heart-shaped or circular, a combination of multiple shapes, etc., and the shape of the trajectory input area can be irregular in addition to a regular shape. The shape is not specifically limited here. In addition, the shape of the trajectory input area can be set by the user, which is not specifically limited here.
此外,用户还可以对轨迹输入区域的质地、面积、位置、以及形状等等进行组合,如,当轨迹输入区域的面积小于浏览器的面积时,轨迹输入区域的质地可以是不透明或者半透明的,以防止用户越过轨迹输入区域,错误触发浏览器的功能按键。In addition, the user can also combine the texture, area, position, and shape of the track input area. For example, when the area of the track input area is smaller than the area of the browser, the texture of the track input area can be opaque or semi-transparent. , In order to prevent the user from crossing the track input area and falsely triggering the browser's function buttons.
如图8所示,用户可以操作鼠标在轨迹输入区域进行轨迹输入。这里,轨迹输入可以是连续输入,也可以是间续输入。其中,连续输入是指轨迹输入过程中不可以短暂中断,需要一气呵成。间续输入是指轨迹输入过程中可以短暂中断,不需要一气呵成。终端设备将用户输入的轨迹转成轨迹图片,并通过语义识别模块从轨迹图片中识别出轨迹输入的内容。以图8所示的例子为例,终端设备可以从图8所示的用户输入的轨迹识别出轨迹输入的内容为“EPO”。其中,轨迹输入的内容可以是多种多样的,从字符角度来说,轨迹输入的内容可以是字母、数字以及符号中的一种或者多种组合;从语言角度来说,轨迹输入的内容可以支持中文、英文、日文、德文以及法文等等。在一具体的实施例中,轨迹输入的内容支持的语言还可以根据浏览器展示的当前页面确定,例如,浏览器确定的当前页面是使用中文,则轨迹输入的内容支持的语言自动转换为中文,此处不作具体限定。As shown in Figure 8, the user can operate the mouse to enter the trajectory in the trajectory input area. Here, the trajectory input can be continuous input or intermittent input. Among them, continuous input means that the process of trajectory input cannot be interrupted briefly, and it needs to be done in one go. Intermittent input means that the process of trajectory input can be interrupted for a short time, and it does not need to be done in one go. The terminal device converts the trajectory input by the user into a trajectory picture, and recognizes the content of the trajectory input from the trajectory picture through the semantic recognition module. Taking the example shown in FIG. 8 as an example, the terminal device can recognize from the trajectory input by the user shown in FIG. 8 that the content of the trajectory input is "EPO". Among them, the content of the trajectory input can be diverse. From the perspective of characters, the content of the trajectory input can be one or more combinations of letters, numbers, and symbols; from the perspective of language, the content of the trajectory input can be Support Chinese, English, Japanese, German, French, etc. In a specific embodiment, the language supported by the content of the trajectory input can also be determined according to the current page displayed by the browser. For example, if the current page determined by the browser is in Chinese, the language supported by the content of the trajectory input is automatically converted to Chinese. , There is no specific limitation here.
终端设备根据轨迹输入的内容以及轨迹输入的内容和网页页面的对应关系从历史页面集合中查找到对应的历史页面以悬浮的形式显示在浏览器之上。The terminal device finds the corresponding history page from the collection of history pages according to the content of the trajectory input and the corresponding relationship between the content of the trajectory input and the web page and displays the corresponding history page in a floating form on the browser.
历史页面集合是是浏览器之前访问过的历史页面的集合。也就是说,历史页面集合包括了所述浏览器中各个网页标签之下的历史页面。继续以图2A至图2B所示的例子为例进行说明,假设浏览器包括网页标签1以及网页标签2,在网页标签1之下,历史页面包括网页页面1以及网页页面2,在网页标签2之下,历史页面包括网页页面4以及网页页面5,因此,历史页面集合包括网页页面1、网页页面2、网页页面4以及网页页面5。应理解,历史页面集合中的网页页面可以定期更新,也可以是触发更新,例如,定期更新可以是每天更新,触发更新可以是浏览器被关闭或者打开时更新,此处不作具体限定。The historical page collection is a collection of historical pages that the browser has visited before. In other words, the historical page set includes historical pages under each webpage tag in the browser. Continue to take the example shown in Figure 2A to Figure 2B as an example. Assume that the browser includes web page tag 1 and web page tag 2. Under web page tag 1, the history page includes web page page 1 and web page page 2. Below, the history page includes web page 4 and web page 5. Therefore, the collection of history pages includes web page 1, web page 2, web page 4, and web page 5. It should be understood that the web pages in the history page collection can be updated regularly or can be triggered to update. For example, the regular update can be updated every day, and the triggered update can be updated when the browser is closed or opened, which is not specifically limited here.
轨迹输入的内容和网页页面的对应关系可以是预先设置的。其中,网页页面可以采用URL作为唯一标识。如表1所示,轨迹输入的内容和网页页面的对应关系可以表示为:The corresponding relationship between the content of the track input and the web page may be preset. Among them, the web page can use the URL as the unique identifier. As shown in Table 1, the corresponding relationship between the content of the track input and the web page can be expressed as:
表1 轨迹输入的内容和网页页面的对应关系Table 1 Correspondence between the content of the track input and the web page
Figure PCTCN2021078286-appb-000001
Figure PCTCN2021078286-appb-000001
应理解,上述例子中轨迹输入的内容和网页页面的对应关系是一对一的关系,但是,在实际应用中,轨迹输入的内容和网页页面的对应关系也可以是一对多的关系,此处不作具体限定。It should be understood that the correspondence between the content of the trajectory input and the web page in the above example is a one-to-one relationship. However, in practical applications, the correspondence between the content of the trajectory input and the web page may also be a one-to-many relationship. There are no specific restrictions.
本申请实施例中,终端设备可以通过下述方式建立或初始化所述轨迹输入的内容和网页页面的对应关系。In the embodiment of the present application, the terminal device may establish or initialize the corresponding relationship between the content of the track input and the web page in the following manner.
第一种方式,终端设备存储的所述轨迹输入的内容和网页页面的对应关系可以适用大部分的用户。应理解的,大部分的用户访问的网页页面处于一个有限的合理范围中,可以被一一列举出来。轨迹输入的内容也处于一个有限的合理范围中,也可以被一一列举出来。因此,终端设备可以穷举出轨迹输入的内容和网页页面的对应关系,并存储在本地或者外部服务器中。In the first way, the corresponding relationship between the content of the track input stored in the terminal device and the web page can be applied to most users. It should be understood that most of the web pages visited by users are within a limited reasonable range and can be listed one by one. The content of the trajectory input is also within a limited reasonable range, and can also be listed one by one. Therefore, the terminal device can exhaustively list the corresponding relationship between the content of the track input and the web page, and store it in a local or external server.
第二种方式,终端设备存储的所述轨迹输入的内容和网页页面的对应关系可以适用单个用户。所述轨迹输入的内容和网页页面的对应关系在初始时刻可以是空白的。终端设备可以在用户使用终端设备的过程中不断填充所述轨迹输入的内容和网页页面的对应关系,这样可减小所述所述轨迹输入的内容和网页页面的对应关系的数据量。In the second manner, the corresponding relationship between the content of the track input stored in the terminal device and the web page may be applicable to a single user. The corresponding relationship between the content of the track input and the web page may be blank at the initial moment. The terminal device can continuously fill in the corresponding relationship between the content of the track input and the web page when the user uses the terminal device, so that the data amount of the corresponding relationship between the content of the track input and the web page can be reduced.
应理解,第一种方式可以适用于云服务等等大型数据场景,第二种方式可以适用于个人电脑等等小型数据场景。It should be understood that the first method can be applied to large data scenarios such as cloud services, and the second method can be applied to small data scenarios such as personal computers.
浏览器上通常设置有悬浮显示栏,其中,悬浮显示栏上通常设置有多个槽位,每个槽位可用于显示一个查找到的与轨迹输入的内容对应的历史页面。图9A至图9D将详细介绍悬浮显示栏的一些具体的实施例。The browser is usually provided with a floating display bar, wherein the floating display bar is usually provided with multiple slots, and each slot can be used to display a found history page corresponding to the content of the track input. Figures 9A to 9D will describe in detail some specific embodiments of the floating display bar.
参见图9A,悬浮显示栏位于浏览器的下方,相应地,悬浮显示栏从左至右依次设置有槽位1、槽位2以及槽位3。其中,槽位1用于显示历史页面1,槽位2用于显示历史页面2,槽位3用于显示历史页面3。Referring to FIG. 9A, the floating display bar is located at the bottom of the browser. Accordingly, the floating display bar is provided with slot 1, slot 2, and slot 3 in order from left to right. Among them, slot 1 is used to display history page 1, slot 2 is used to display history page 2, and slot 3 is used to display history page 3.
参见图9B,悬浮显示栏位于浏览器的左方,相应地,悬浮显示栏从上至下依次设置有槽位1、槽位2以及槽位3。其中,槽位1用于显示历史页面1,槽位2用于显示历史页面2,槽位3用于显示历史页面3。Referring to FIG. 9B, the floating display bar is located on the left side of the browser. Accordingly, the floating display bar is sequentially provided with slot 1, slot 2, and slot 3 from top to bottom. Among them, slot 1 is used to display history page 1, slot 2 is used to display history page 2, and slot 3 is used to display history page 3.
参见图9C,悬浮显示栏位于浏览器的上方,相应地,悬浮显示栏从左至右依次设置有槽位1、槽位2以及槽位3。其中,槽位1用于显示历史页面1,槽位2用于显示历史页面 2,槽位3用于显示历史页面3。Referring to FIG. 9C, the floating display bar is located above the browser. Correspondingly, the floating display bar is sequentially provided with slot 1, slot 2, and slot 3 from left to right. Among them, slot 1 is used to display history page 1, slot 2 is used to display history page 2, and slot 3 is used to display history page 3.
参见图9D,悬浮显示栏位于浏览器的右方,相应地,悬浮显示栏从上至下依次设置有槽位1、槽位2以及槽位3。其中,槽位1用于显示历史页面1,槽位2用于显示历史页面2,槽位3用于显示历史页面3。Referring to FIG. 9D, the floating display bar is located on the right side of the browser. Accordingly, the floating display bar is sequentially provided with slot 1, slot 2, and slot 3 from top to bottom. Among them, slot 1 is used to display history page 1, slot 2 is used to display history page 2, and slot 3 is used to display history page 3.
应理解,上述实施例仅仅描述了悬浮显示栏一些可能的实施例,在实际应用中,悬浮显示栏还可以采用其他方式,例如,悬浮显示栏可以设置在浏览器的中间等等,另外,悬浮显示栏中槽位的数量也可以是不3个,而是可以是更少或者更多,此处不作具体限定。It should be understood that the above embodiments only describe some possible embodiments of the floating display bar. In practical applications, the floating display bar can also adopt other methods. For example, the floating display bar can be set in the middle of the browser, etc. In addition, the floating display bar The number of slots in the display column may not be 3, but may be less or more, and there is no specific limitation here.
下面将详细介绍在悬浮显示栏上显示历史页面的一些实施方式。其中,图10A至图10D是悬浮显示栏中的槽位全部用于显示历史页面的一些实施方式,图11A至图11C是悬浮显示栏中的槽位既用于显示历史页面,也用于显示推荐页面的一些实施方式。Some implementation manners of displaying the history page on the floating display bar will be described in detail below. 10A to 10D are some implementations in which all the slots in the floating display bar are used to display historical pages. Figures 11A to 11C are the slots in the floating display bar that are used to display both historical pages and display history pages. Some implementations of recommended pages.
图10A至图10D分别介绍了在悬浮显示栏上的均是历史页面的情况下,悬浮显示栏上显示历史页面的不同方式。10A to 10D respectively introduce different ways of displaying historical pages on the floating display bar when all the historical pages on the floating display bar are.
如图10A所示,悬浮显示栏上不同的历史页面的大小均相同。继续上接上述的例子进行说明,对应于图2A-图2B所示的例子,在网页标签为网页标签1,终端设备从用户输入的轨迹识别出轨迹输入的内容为“EPO”时,在悬浮显示栏的槽位1中显示网页页面4,在悬浮显示栏的槽位2中显示网页页面5,在悬浮显示栏的槽位3中显示网页页面6。这里,网页页面4、网页页面5以及网页页面6的大小均是相等的。As shown in FIG. 10A, different history pages on the floating display bar have the same size. Continuing with the above example for explanation, corresponding to the example shown in Figure 2A-2B, when the web page tag is web page tag 1, and the terminal device recognizes the content of the trajectory input as "EPO" from the trajectory input by the user, the hovering The web page 4 is displayed in slot 1 of the display bar, the web page 5 is displayed in slot 2 of the floating display bar, and the web page 6 is displayed in slot 3 of the floating display bar. Here, the sizes of the web page 4, the web page 5, and the web page 6 are all equal.
在图10A的基础上,如果用户将鼠标滑入其中一个悬浮显示栏的槽位,则将该悬浮显示栏的槽位中的网页页面放大显示。如图10B所示,用户将鼠标滑入悬浮显示栏的槽位2,因此可以将悬浮显示栏的槽位2中的网页页面5放大显示,以便于用户可以看清楚网页页面5的更多细节。On the basis of FIG. 10A, if the user slides the mouse into one of the slots of the floating display bar, the web page in the slot of the floating display bar will be enlarged and displayed. As shown in Figure 10B, the user slides the mouse into slot 2 of the floating display bar, so the web page 5 in slot 2 of the floating display bar can be enlarged and displayed, so that the user can see more details of the web page 5 .
可以理解,图10B所示的实施例还可以有其他的变化,例如,将网页页面4以及网页页面6打上马赛克,在鼠标滑入网页页面4或者网页页面6时,再将网页页面4或者网页页面6的马赛克去掉,或者,在鼠标滑入槽位1的位置时,可以将网页页面4放大显示等等,此处不作具体限定。It is understandable that the embodiment shown in FIG. 10B can also have other changes. For example, the web page 4 and the web page 6 are mosaicked, and when the mouse moves into the web page 4 or the web page 6, the web page 4 or the web page The mosaic of page 6 is removed, or, when the mouse slides into the position of slot 1, page 4 of the web page can be enlarged and displayed, etc., which is not specifically limited here.
如图10C所示,悬浮显示栏上匹配度最高的历史页面的放大显示,其他历史页面保持不变。继续上接上述的例子进行说明,对应于图2A-图2B所示的例子,在网页标签为网页标签1,终端设备从用户输入的轨迹识别出轨迹输入的内容为“EPO”,网页页面6的匹配度最高时,在悬浮显示栏的槽位1中普通网页页面4,在悬浮显示栏的槽位2中显示网页页面5,在悬浮显示栏的槽位3中显示网页页面6。这里,网页页面6被放大显示,网页页面4以及网页页面5保持不变。As shown in FIG. 10C, the history page with the highest matching degree on the floating display bar is enlarged and displayed, and the other history pages remain unchanged. Continuing with the above example for explanation, corresponding to the example shown in Figure 2A-2B, when the web page tag is web page tag 1, the terminal device recognizes from the trajectory input by the user that the content of the trajectory input is "EPO", and the web page page 6 When the matching degree of is highest, normal web page 4 is displayed in slot 1 of the floating display bar, web page 5 is displayed in slot 2 of the floating display bar, and web page 6 is displayed in slot 3 of the floating display bar. Here, the web page 6 is enlarged and displayed, and the web page 4 and the web page 5 remain unchanged.
在图10C的基础上,如果用户将鼠标滑入其中一个悬浮显示栏的槽位,则将该悬浮显示栏的槽位中的网页页面放大显示,其他网页页面缩小或者保持不变。如图10D所示,用户将鼠标滑入悬浮显示栏的槽位2,因此可以将悬浮显示栏的槽位2中的网页页面5放大显示,网页页面4保持不变,网页页面6缩小显示,以便于用户可以看清楚网页页面5的更多细节。On the basis of FIG. 10C, if the user slides the mouse into one of the slots of the floating display bar, the web page in the slot of the floating display bar will be enlarged and displayed, and other web pages will be reduced or kept unchanged. As shown in Figure 10D, the user slides the mouse into slot 2 of the floating display bar, so the web page 5 in slot 2 of the floating display bar can be enlarged and displayed, the web page 4 remains unchanged, and the web page 6 is displayed in a reduced size. So that the user can see more details of page 5 clearly.
可以理解,图10D所示的实施例还可以有其他的变化,例如,将网页页面4以及网页 页面6打上马赛克,在鼠标滑入网页页面4或者网页页面6时,再将网页页面4或者网页页面6的马赛克去掉,或者,在鼠标滑入槽位2的位置时,可以将网页页面4保持不变,网页页面6保持放大显示等等,此处不作具体限定。It is understandable that the embodiment shown in FIG. 10D can have other changes. For example, the web page 4 and the web page 6 are mosaicked, and the web page 4 or the web page is moved when the mouse is moved into the web page 4 or the web page 6. The mosaic of page 6 is removed, or when the mouse slides into the position of slot 2, the web page 4 can be kept unchanged, and the web page 6 can be kept enlarged, etc. There is no specific limitation here.
图11A至图11C分别介绍了轨迹输入的内容对应的历史页面的数量不同时,悬浮显示栏上显示历史页面的不同方式。11A to 11C respectively introduce different ways of displaying the history pages on the floating display bar when the number of history pages corresponding to the content of the track input is different.
如图11A所示,在轨迹输入的内容对应的历史页面的数量大于或者等于悬浮显示栏上的槽位的数量时,可以将匹配度最高的前几个轨迹输入的内容对应的历史页面显示在悬浮显示栏上的槽位中。继续上接上述的例子进行说明,对应于图2A-图2B所示的例子,在网页标签为网页标签1,终端设备从用户输入的轨迹识别出轨迹输入的内容为“EPO”,匹配度最高的前几个轨迹输入的内容对应的历史页面分别为网页页面4、网页页面5以及网页页面6,因此,可以在悬浮显示栏的槽位1上显示网页页面4,在悬浮显示栏的槽位2上显示网页页面5,以及,悬浮显示栏的槽位3上显示网页页面6。As shown in Figure 11A, when the number of history pages corresponding to the content of the track input is greater than or equal to the number of slots on the floating display bar, the history pages corresponding to the content of the first few track inputs with the highest matching degree can be displayed on Floating in the slot on the display bar. Continuing with the above example for explanation, corresponding to the example shown in Figures 2A-2B, when the web page tag is web page tag 1, the terminal device recognizes from the trajectory input by the user that the content of the trajectory input is "EPO", with the highest matching degree The history pages corresponding to the content entered by the first few tracks are web page 4, web page 5, and web page 6. Therefore, web page 4 can be displayed in slot 1 of the floating display bar, and in the slot of the floating display bar The web page 5 is displayed on 2, and the web page 6 is displayed on the slot 3 of the floating display bar.
可以理解,图11A所示的例子还可以有很多变化,例如,可以将匹配度最高的历史页面进行放大显示,进一步地,还可以将其他匹配度比较低的历史页面打上马赛克,此处不作具体限定。It can be understood that the example shown in FIG. 11A can have many changes. For example, the history page with the highest matching degree can be enlarged and displayed. Further, other history pages with a lower matching degree can also be mosaicked. No details are given here. limited.
如图11B所示,在轨迹输入的内容对应的历史页面的数量小于悬浮显示栏上的槽位的数量时,可以将轨迹输入的内容对应的所有历史页面显示在悬浮显示栏的槽位中,并讲推荐页面显示在剩余的悬浮显示栏的槽位中。继续上接上述的例子进行说明,对应于图2A-图2B所示的例子,在网页标签为网页标签1,终端设备从用户输入的轨迹识别出轨迹输入的内容为“EPO”,匹配度最高的前几个轨迹输入的内容对应的历史页面分别为网页页面4以及网页页面5,因此,可以在悬浮显示栏的槽位1上显示网页页面4,在悬浮显示栏的槽位2上显示网页页面5,以及,悬浮显示栏的槽位3上显示推荐页面1。As shown in Figure 11B, when the number of history pages corresponding to the content of the track input is less than the number of slots on the floating display bar, all the history pages corresponding to the content of the track input can be displayed in the slots of the floating display bar. In addition, the recommended page is displayed in the remaining slots of the floating display column. Continuing with the above example for explanation, corresponding to the example shown in Figures 2A-2B, when the web page tag is web page tag 1, the terminal device recognizes from the trajectory input by the user that the content of the trajectory input is "EPO", with the highest matching degree The history pages corresponding to the content entered in the first few tracks are web page 4 and web page 5. Therefore, web page 4 can be displayed in slot 1 of the floating display bar, and the web page can be displayed in slot 2 of the floating display bar Page 5, and the recommended page 1 is displayed on slot 3 of the floating display bar.
可以理解,图11B所示的例子还可以有很多变化,例如,可以将匹配度最高的历史页面进行放大显示,进一步地,还可以将其他匹配度比较低的历史页面打上马赛克,此处不作具体限定。It is understandable that the example shown in FIG. 11B can have many changes. For example, the history page with the highest matching degree can be enlarged and displayed. Further, other history pages with a lower matching degree can also be mosaicked. No details are given here. limited.
如图11C所示,在轨迹输入的内容没有对应的历史页面时,可以将推荐页面显示在悬浮显示栏的槽位中。如果推荐页面的数量大于或者等于悬浮显示栏上的槽位的数量时,可以将匹配度最高的推荐页面显示在悬浮显示栏上的槽位;如果推荐页面的数量小于悬浮显示栏上的槽位的数量时,可以将所有推荐页面显示在悬浮显示栏上的槽位中,如果没有合适的推荐页面,则悬浮显示栏上的槽位中不显示任何网页页面。继续上接上述的例子进行说明,对应于图2A-图2B所示的例子,在网页标签为网页标签1,终端设备从用户输入的轨迹识别出轨迹输入的内容为“EPO”,轨迹输入的内容没有对应的历史页面,因此,可以在悬浮显示栏的槽位1上显示推荐页面1,在悬浮显示栏的槽位2上显示推荐页面2,以及,悬浮显示栏的槽位3上显示推荐页面3。As shown in FIG. 11C, when the content of the track input does not have a corresponding history page, the recommended page can be displayed in the slot of the floating display column. If the number of recommended pages is greater than or equal to the number of slots on the floating display bar, the recommended pages with the highest matching degree can be displayed in the slots on the floating display bar; if the number of recommended pages is less than the number of slots on the floating display bar When the number of, all recommended pages can be displayed in the slots on the floating display bar. If there is no suitable recommended page, no web pages will be displayed in the slots on the floating display bar. Continuing with the above example for description, corresponding to the example shown in Figure 2A-2B, when the web page tag is web page tag 1, the terminal device recognizes from the trajectory input by the user that the content of the trajectory input is "EPO", and the trajectory input The content does not have a corresponding history page. Therefore, recommended page 1 can be displayed in slot 1 of the floating display bar, recommended page 2 can be displayed in slot 2 of the floating display bar, and recommendation can be displayed in slot 3 of the floating display bar Page 3.
可以理解,图11C所示的例子还可以有很多变化,例如,可以将重点推荐的推荐页面进行放大显示,进一步地,还可以将其他推荐页面打上马赛克,此处不作具体限定。It can be understood that the example shown in FIG. 11C can have many changes. For example, the recommended recommended pages can be enlarged and displayed, and further, other recommended pages can be mosaicked, which is not specifically limited here.
这里,推荐页面可以是终端设备根据用户输入的轨迹输入的内容根据推荐算法计算得到的,此处不做具体限定。Here, the recommended page may be calculated by the terminal device according to the content of the trajectory input by the user according to the recommendation algorithm, which is not specifically limited here.
如图12所示,在用户对悬浮栏的槽位上的历史页面进行选择操作时,浏览器将被选择的历史页面加载并显示。其中,选择操作可以是左键单击槽位上的历史页面,可以是左键双击槽位上的历史页面,右键单击槽位上的历史页面,可以是右键双击槽位上的历史页面等等,此处不作具体限定。在加载完毕后,浏览器可以将悬浮栏进行隐藏,以避免遮挡加载的历史页面。As shown in Figure 12, when the user selects the history page on the slot of the floating bar, the browser loads and displays the selected history page. Among them, the selection operation can be left-clicking the history page on the slot, left-clicking the history page on the slot, right-clicking the history page on the slot, or right-clicking the history page on the slot, etc. Etc., there is no specific limitation here. After loading, the browser can hide the floating bar to avoid obstructing the loaded history page.
可以理解,在悬浮栏被隐藏之后,如果用户还需要查看悬浮栏,可以通过查看操作重新显示悬浮栏。其中,查看操作可以是单击鼠标右键并同时滑动鼠标的操作,或者,单击鼠标左键并同时滑动鼠标的操作等等。应理解,模式触发操作和查看操作必须是两个不同的操作,因此,当模式触发操作是单击鼠标右键并同时滑动鼠标的操作时,查看操作可以是单击鼠标左键并同时滑动鼠标的操作;当模式触发操作是单击鼠标左键并同时滑动鼠标的操作时,查看操作可以是单击鼠标右键并同时滑动鼠标的操作。It is understandable that after the floating bar is hidden, if the user still needs to view the floating bar, the floating bar can be redisplayed through the viewing operation. Among them, the viewing operation may be an operation of clicking the right mouse button and sliding the mouse at the same time, or an operation of clicking the left mouse button and sliding the mouse at the same time, and so on. It should be understood that the mode triggering operation and the viewing operation must be two different operations. Therefore, when the mode triggering operation is the operation of clicking the right mouse button and sliding the mouse at the same time, the viewing operation can be clicking the left mouse button and sliding the mouse at the same time. Operation: When the mode trigger operation is the operation of clicking the left mouse button and sliding the mouse at the same time, the viewing operation can be the operation of clicking the right mouse button and sliding the mouse at the same time.
上述例子中,均以终端设备为个人电脑、笔记本电脑等等,输入为鼠标输入为例进行说明的,在实际应用中,终端设备可以是智能手机,平板电脑等等,输入可以是触控输入,此处不作具体限定。In the above examples, the terminal device is a personal computer, notebook computer, etc., and the input is mouse input as an example. In practical applications, the terminal device can be a smart phone, a tablet computer, etc., and the input can be touch input. , There is no specific limitation here.
在终端设备是智能手机,输入为触摸屏触控输入的情况下,所述模式触发操作可以是触摸屏触控输入操作。为了避免误操作,所述触摸屏触控输入操作可以是不完全不同于常用触控操作的触控操作。这里,常用触摸屏触控操作可以是用手指触控触摸屏等等,此处不作具体限定。在一具体的实施例中,如图13所示,所述模式触发操作可以是用户用指关节敲击触摸屏的操作等等。When the terminal device is a smart phone and the input is a touch screen touch input, the mode trigger operation may be a touch screen touch input operation. In order to avoid misoperation, the touch input operation of the touch screen may be a touch operation that is not completely different from a common touch operation. Here, the commonly used touch screen touch operation may be to touch the touch screen with a finger, etc., which is not specifically limited here. In a specific embodiment, as shown in FIG. 13, the mode trigger operation may be an operation of the user tapping the touch screen with a knuckle, or the like.
如图14所示,用户可以操作手指在轨迹输入区域进行轨迹输入。这里,轨迹输入可以是间续输入。用户每输入一个字符,终端设备将用户输入的字符的轨迹转成轨迹图片,并通过语义识别模块从轨迹图片中识别出轨迹输入的内容。以图14所示的例子为例,用户输入如图14中的(a)所示的字符时,终端将用户输入的轨迹转为图片,并识别出轨迹输入的内容为“E”,用户输入如图14中的(b)所示的字符时,终端将用户输入的轨迹转为图片,并识别出轨迹输入的内容为“P”,用户输入如图14中的(c)所示的字符时,终端将用户输入的轨迹转为图片,并识别出轨迹输入的内容为“O”,最终,终端设备识别出轨迹输入的内容为“EPO”。As shown in Fig. 14, the user can operate the finger to input the trajectory in the trajectory input area. Here, the trajectory input can be an intermittent input. Each time the user inputs a character, the terminal device converts the trajectory of the character input by the user into a trajectory picture, and recognizes the content of the trajectory input from the trajectory picture through the semantic recognition module. Taking the example shown in Figure 14 as an example, when the user inputs the characters shown in Figure 14(a), the terminal converts the trajectory input by the user into a picture, and recognizes that the content of the trajectory input is "E", and the user inputs When the character shown in Figure 14 (b) is shown, the terminal converts the trajectory input by the user into a picture, and recognizes that the content of the trajectory input is "P", and the user inputs the character as shown in Figure 14 (c) At the time, the terminal converts the trajectory input by the user into a picture, and recognizes that the content of the trajectory input is "O", and finally, the terminal device recognizes that the content of the trajectory input is "EPO".
下面介绍本发明实施例涉及的终端设备的一种实现方式。该终端设备支持运行多个网页标签的浏览器。浏览器可以分别使用不同的输入输出设备,例如,输入设备可以是键盘和鼠标,输出设备可以是显示屏。或者,浏览器使用公共的输入输出设备:触摸屏。触摸屏用于接收用户的触控操作,而且显示浏览器的输出内容。The following describes an implementation manner of the terminal device involved in the embodiment of the present invention. The terminal device supports browsers running multiple webpage tags. The browser can use different input and output devices, for example, the input device can be a keyboard and a mouse, and the output device can be a display screen. Or, the browser uses a common input and output device: touch screen. The touch screen is used to receive the user's touch operation and display the output content of the browser.
图15是终端设备100的一种实现方式的结构框图。如图15所示,终端设备可包括:主机210、输出设备220以及输入设备230。FIG. 15 is a structural block diagram of an implementation manner of the terminal device 100. As shown in FIG. 15, the terminal device may include: a host 210, an output device 220, and an input device 230.
主机210可集成包括:一个或多个处理器、时钟模块以及电源管理模块。集成于主机210中的时钟模块主要用于为处理器产生数据传输和时序控制所需要的时钟。集成于主机210中的电源管理模块主要用于为处理器、输出设备220以及输入设备230提供稳定的、高精确度的电压。主机210还集成了存储器,用于存储各种软件程序和/或多组指令。具体 实现中,存储器可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器可以存储操作***,例如ANDROID,IOS,WINDOWS,或者LINUX等嵌入式操作***。存储器还可以存储通信程序,该通信程序可用于与一个或多个输入设备或者输出设备进行通信。存储器还可以存储用户界面程序,该用户界面程序可以通过图形化的操作界面将浏览器的内容形象逼真的显示出来,并通过菜单、对话框以及按键等输入控件接收用户对浏览器的控制操作。存储器115还可以存储一个或一个以上程序。这些程序可包括:社交应用程序,例如Facebook;图像管理应用程序,例如相册;地图类应用程序,例如谷歌地图等等。The host 210 may integrate: one or more processors, a clock module, and a power management module. The clock module integrated in the host 210 is mainly used to generate a clock required for data transmission and timing control for the processor. The power management module integrated in the host 210 is mainly used to provide a stable, high-precision voltage for the processor, the output device 220, and the input device 230. The host 210 also integrates a memory for storing various software programs and/or multiple sets of instructions. In a specific implementation, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory can store an operating system, such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX. The memory can also store a communication program, which can be used to communicate with one or more input devices or output devices. The memory can also store a user interface program, which can vividly display the content of the browser through a graphical operation interface, and receive user control operations on the browser through input controls such as menus, dialog boxes, and buttons. The memory 115 may also store one or more programs. These programs may include: social applications, such as Facebook; image management applications, such as photo albums; map applications, such as Google Maps, and so on.
输出设备220主要包括显示器,显示器可包括阴极射线管显示器(Cathode Ray Tube,CRT),等离子显示器(Plasma Display Panel,PDP),液晶显示器(Liquid Crystal Display,LCD)等等。以显示器为LCD为例,液晶显示包括液晶面板以及背光模组,其中,液晶显示面板包括偏振膜、玻璃基板、黑色矩阵、彩色滤光片、保护膜、普通电极、校准层、液晶层(液晶、间隔、密封剂)、电容、显示电极、棱镜层、散光层。背光模组包括:照明光源、反射板、导光板、扩散片、增亮膜(棱镜片)及框架等等。The output device 220 mainly includes a display, and the display may include a cathode ray tube display (Cathode Ray Tube, CRT), a plasma display (Plasma Display Panel, PDP), a liquid crystal display (Liquid Crystal Display, LCD), and so on. Taking the display as LCD as an example, the liquid crystal display includes a liquid crystal panel and a backlight module. The liquid crystal display panel includes a polarizing film, a glass substrate, a black matrix, a color filter, a protective film, a common electrode, a calibration layer, and a liquid crystal layer (liquid crystal , Spacer, sealant), capacitor, display electrode, prism layer, light scattering layer. The backlight module includes: illuminating light source, reflecting plate, light guide plate, diffuser, brightness enhancement film (prism sheet), frame and so on.
输入设备可以包括键盘和鼠标。键盘和鼠标是最常用也是最主要的输入设备,通过键盘可以将英文字母、数字、标点符号等输入到计算机中,从而向计算机发出命令、输入数据等,通过鼠标可以快速地进行纵横坐标定位,从而简化操作。其中,键盘可以包括机械键盘、塑料薄膜式键盘(Mechanical)、导电橡胶式键盘(Membrane),无接点静电电容键盘(Capacitives)等等,鼠标可以包括滚球鼠标、光电鼠标以及无线鼠标等等。The input device may include a keyboard and a mouse. Keyboard and mouse are the most commonly used and most important input devices. Through the keyboard, English letters, numbers, punctuation marks, etc. can be input into the computer, so as to issue commands to the computer, input data, etc., and quickly locate the vertical and horizontal coordinates through the mouse. This simplifies the operation. The keyboard may include a mechanical keyboard, a plastic film keyboard (Mechanical), a conductive rubber keyboard (Membrane), a contactless electrostatic capacitor keyboard (Capacitives), etc. The mouse may include a roller ball mouse, an optical mouse, and a wireless mouse.
以鼠标触控操作为例,图16从终端设备的内部处理流程说明了本申请实施例涉及的主要的用户操作处理阶段。Taking mouse touch operations as an example, FIG. 16 illustrates the main user operation processing stages involved in the embodiments of the present application from the internal processing flow of the terminal device.
1.在输出设备(例如显示屏220)中层叠显示多个网页页面的浏览器的条件下,用户通过输入设备进行鼠标触控操作,并判定这个鼠标触控操作就是用于触发跨网页标签返回历史页面模式的操作,即,所述模式触发操作。1. Under the condition that the output device (such as the display 220) displays multiple web pages in a stack, the user performs a mouse touch operation through the input device, and determines that the mouse touch operation is used to trigger a cross-page tag return The operation in the history page mode, that is, the mode triggers the operation.
2.显示设备响应上述模式触发操作,显示在浏览器之上显示轨迹输入区域。其中,轨迹输入区域可以实现以下两个功能:(1)获取用户输入的鼠标轨迹;(2)避免用户输入鼠标轨迹时误触发浏览器上的功能按键,例如,浏览器上的菜单以及功能按钮等等。2. The display device responds to the above mode trigger operation and displays the track input area on the browser. Among them, the track input area can achieve the following two functions: (1) Obtain the mouse track input by the user; (2) Avoid accidentally triggering the function buttons on the browser when the user enters the mouse track, for example, the menu and function buttons on the browser and many more.
具体地,轨迹输入区域的质地、面积、位置、以及形状可以参见前述图4至图7所示实施例中的内容,这里不再赘述。Specifically, the texture, area, position, and shape of the track input area can be referred to the content in the foregoing embodiments shown in FIGS. 4 to 7, and will not be repeated here.
3.用户通过输入设备在轨迹输入区域输入轨迹。其中,轨迹可以是采样输入设备移动路径中的经过的点,并将采样的点顺序进行连接获得的。采样的点可以用(x,y)表示,x表示输入设备移动路径中的经过的点的横坐标,y表示输入设备移动路径中的经过的点的纵坐标。3. The user inputs the trajectory in the trajectory input area through the input device. Wherein, the trajectory may be obtained by sampling the passing points in the movement path of the input device, and sequentially connecting the sampled points. The sampled points can be represented by (x, y), x represents the abscissa of the passing point in the movement path of the input device, and y represents the ordinate of the passing point in the movement path of the input device.
4.主机从所述轨迹识别轨迹输入的内容。其中,轨迹输入的内容是字母、数字以及符号中的一种或者多种组合,所述轨迹输入的内容支持的语言包括中文、英文、日文、德文以及法文中的一种或者多种。在一具体的实施例中,所述轨迹输入的内容支持的语言是根据所述浏览器的当前页面使用的语言确定的,也就是说,当前页面使用的是中文,则轨迹输入的内容支持的语言相应采用中文。4. The host recognizes the content of the track input from the track. The content of the trajectory input is one or more combinations of letters, numbers, and symbols, and the languages supported by the content of the trajectory input include one or more of Chinese, English, Japanese, German, and French. In a specific embodiment, the language supported by the content of the trajectory input is determined according to the language used by the current page of the browser, that is, if the current page uses Chinese, the content supported by the trajectory input The language should be Chinese accordingly.
5.主机根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面。其中,历史页面集合可以存储在浏览器中,也可以存储在浏览器之外。当历史页面集合存储在浏览器之外时,重装浏览器之后,可以从外部恢复历史页面集合,以有效避免数据丢失。5. The host finds the corresponding history page from the collection of history pages according to the content input by the trajectory. Among them, the collection of historical pages can be stored in the browser or outside the browser. When the collection of historical pages is stored outside the browser, after reinstalling the browser, the collection of historical pages can be restored from the outside to effectively avoid data loss.
6.主机通知输出设备以悬浮的形式将历史页面显示在浏览器之上。其中,悬浮显示栏上包括多个槽位,根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面显示在所述悬浮显示栏的一个或者多个槽位中。6. The host notifies the output device to display the history page on the browser in a floating form. Wherein, the floating display bar includes a plurality of slots, and the corresponding historical page is found from the historical page collection according to the content input by the track and displayed in one or more slots of the floating display bar.
具体地,在所述多个槽位均用于显示历史页面时,可以包括以下几种显示方式:Specifically, when the multiple slots are used to display historical pages, the following display modes may be included:
第一种方式,不同槽位中的对应历史页面均以相同的大小进行显示。进一步地,在用户将鼠标滑入第一槽位的情况下,将所述第一槽位中的历史页面进行放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第一槽位属于所述多个槽位。In the first way, the corresponding history pages in different slots are all displayed in the same size. Further, when the user slides the mouse into the first slot, the history page in the first slot is enlarged and displayed, and the size of the history page in other slots remains unchanged. One slot belongs to the multiple slots.
第二种方式,第二槽位中的历史页面放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第二槽位属于所述多个槽位。进一步地,在用户将鼠标滑入第三槽位的情况下,将所述第三槽位中的历史页面进行放大显示,将所述第二槽位缩小显示,其中,所述第三槽位属于所述多个槽位。In the second way, the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, where the second slot belongs to the multiple slots. Further, when the user slides the mouse into the third slot, the history page in the third slot is enlarged and displayed, and the second slot is reduced and displayed, wherein the third slot Belong to the multiple slots.
然而,在所述对应的历史页面的数量小于所述悬浮显示栏的槽位的数量的情况下,所述多个槽位除了用于显示历史页面之外,还用于显示推荐页面。其中,根据所述轨迹输入的内容选择推荐页面,并将所述推荐页面显示在所述悬浮显示栏的剩余槽位中。However, when the number of corresponding history pages is less than the number of slots in the floating display column, the multiple slots are used to display recommended pages in addition to displaying the history pages. Wherein, a recommended page is selected according to the content input by the trajectory, and the recommended page is displayed in the remaining slots of the floating display column.
应当理解,终端设备仅为本发明实施例提供的一个例子,并且,终端设备可具有比示出的部件更多或更少的部件,可以组合两个或更多个部件,或者可具有部件的不同配置实现。It should be understood that the terminal device is only an example provided by the embodiment of the present invention, and the terminal device may have more or fewer components than shown, may combine two or more components, or may have Different configurations are implemented.
图17是终端设备300的一种实现方式的结构框图。如图17所示,终端设备可包括:基带芯片310、存储器315,包括一个或多个计算机可读存储介质、射频(RF)模块316、******317。这些部件可在一个或多个通信总线314上通信。FIG. 17 is a structural block diagram of an implementation manner of the terminal device 300. As shown in FIG. 17, the terminal device may include: a baseband chip 310, a memory 315, including one or more computer-readable storage media, a radio frequency (RF) module 316, and a peripheral system 317. These components may communicate on one or more communication buses 314.
******317主要用于实现终端设备310和用户/外部环境之间的交互功能,主要包括终端设备300的输入输出装置。具体实现中,******317可包括:触摸屏控制器318、摄像头控制器319、音频控制器320以及传感器管理模块321。其中,各个控制器可与各自对应的***设备,例如触摸屏323、摄像头324、音频电路325以及传感器326,耦合。在一些实施例中,传感器326中的手势传感器可用于接收用户输入的手势控制操作。传感器326中的压力传感器可设置于触摸屏323的下方,可用于采集用户通过触摸屏323输入触控操作时作用于触摸屏323上的触控压力。需要说明的,******317还可以包括其他I/O外设。The peripheral system 317 is mainly used to implement the interactive function between the terminal device 310 and the user/external environment, and mainly includes the input and output devices of the terminal device 300. In a specific implementation, the peripheral system 317 may include: a touch screen controller 318, a camera controller 319, an audio controller 320, and a sensor management module 321. Among them, each controller can be coupled with respective corresponding peripheral devices, such as a touch screen 323, a camera 324, an audio circuit 325, and a sensor 326. In some embodiments, the gesture sensor in the sensor 326 may be used to receive gesture control operations input by the user. The pressure sensor in the sensor 326 can be disposed under the touch screen 323, and can be used to collect the touch pressure acting on the touch screen 323 when the user inputs a touch operation through the touch screen 323. It should be noted that the peripheral system 317 may also include other I/O peripherals.
基带芯片310可集成包括:一个或多个处理器311、时钟模块312以及电源管理模块313。集成于基带芯片310中的时钟模块312主要用于为处理器311产生数据传输和时序控制所需要的时钟。集成于基带芯片310中的电源管理模块313主要用于为处理器311、射频模块36以及******提供稳定的、高精确度的电压。The baseband chip 310 may integrate: one or more processors 311, a clock module 312, and a power management module 313. The clock module 312 integrated in the baseband chip 310 is mainly used to generate a clock required for data transmission and timing control for the processor 311. The power management module 313 integrated in the baseband chip 310 is mainly used to provide a stable, high-precision voltage for the processor 311, the radio frequency module 36, and peripheral systems.
射频(RF)模块316用于接收和发送射频信号,主要集成了终端设备300的接收器和发射器。射频(RF)模块316通过射频信号与通信网络和其他通信设备通信。具体实现中, 射频(RF)模块316可包括但不限于:天线***、RF收发器、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC芯片、SIM卡3161和存储介质等。此外,射频模块还可以包括WIFI 3162,蓝牙等等短距离无线通信模块。在一些实施例中,可在单独的芯片上实现射频(RF)模块316。The radio frequency (RF) module 316 is used to receive and transmit radio frequency signals, and mainly integrates the receiver and transmitter of the terminal device 300. The radio frequency (RF) module 316 communicates with the communication network and other communication devices through radio frequency signals. In a specific implementation, the radio frequency (RF) module 316 may include, but is not limited to: an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC chip, and a SIM card 3161 And storage media. In addition, the radio frequency module can also include WIFI 3162, Bluetooth and other short-range wireless communication modules. In some embodiments, the radio frequency (RF) module 316 may be implemented on a separate chip.
以触摸屏触控输入操作为例,图18从终端设备的内部处理流程说明了本申请实施例涉及的主要的用户操作处理阶段。Taking a touch screen touch input operation as an example, FIG. 18 illustrates the main user operation processing stages involved in the embodiment of the present application from the internal processing flow of the terminal device.
1.在触摸屏中层叠显示多个网页页面的浏览器的条件下,用户通过触摸屏进行触摸屏触控输入,并判定这个触摸屏触控输入就是用于触发跨网页标签返回历史页面模式的操作,即,所述模式触发操作。1. Under the condition of browsers displaying multiple web pages stacked on the touch screen, the user performs touch screen touch input through the touch screen, and determines that this touch screen touch input is used to trigger the operation of returning to the history page mode across web tabs, that is, The mode triggers operation.
2.触摸屏响应上述模式触发操作,显示在浏览器之上显示轨迹输入区域。其中,轨迹输入区域可以实现以下两个功能:(1)获取用户输入的轨迹;(2)避免用户输入轨迹时误触发浏览器上的功能按键,例如,浏览器上的菜单以及功能按钮等等。2. The touch screen responds to the above-mentioned mode trigger operation and displays the track input area on the browser. Among them, the track input area can achieve the following two functions: (1) Obtain the track input by the user; (2) Avoid accidentally triggering the function buttons on the browser when the user enters the track, for example, the menu and function buttons on the browser, etc. .
具体地,轨迹输入区域的质地、面积、位置、以及形状可以参见前述实施例中的内容,这里不再赘述。Specifically, the texture, area, position, and shape of the track input area can refer to the content in the foregoing embodiment, and will not be repeated here.
3.用户通过手指在轨迹输入区域输入轨迹。其中,轨迹可以是采样手指移动路径中的经过的点,并将采样的点顺序进行连接获得的。采样的点可以用(x,y)表示,x表示手指移动路径中的经过的点的横坐标,y表示手指移动路径中的经过的点的纵坐标。3. The user inputs the trajectory in the trajectory input area with a finger. Wherein, the trajectory may be obtained by sampling the passing points in the moving path of the finger, and sequentially connecting the sampled points. The sampled points can be represented by (x, y), x represents the abscissa of the passed point in the finger movement path, and y represents the ordinate of the passed point in the finger movement path.
4.处理器从所述轨迹识别轨迹输入的内容。其中,轨迹输入的内容是字母、数字以及符号中的一种或者多种组合,所述轨迹输入的内容支持的语言包括中文、英文、日文、德文以及法文中的一种或者多种。在一具体的实施例中,所述轨迹输入的内容支持的语言是根据所述浏览器的当前页面使用的语言确定的,也就是说,当前页面使用的是中文,则轨迹输入的内容支持的语言相应采用中文。4. The processor recognizes the content of the trajectory input from the trajectory. The content of the trajectory input is one or more combinations of letters, numbers, and symbols, and the languages supported by the content of the trajectory input include one or more of Chinese, English, Japanese, German, and French. In a specific embodiment, the language supported by the content of the trajectory input is determined according to the language used by the current page of the browser, that is, if the current page uses Chinese, the content supported by the trajectory input The language should be Chinese accordingly.
5.处理器根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面。其中,历史页面集合可以存储在浏览器中,也可以存储在浏览器之外。当历史页面集合存储在浏览器之外时,重装浏览器之后,可以从外部恢复历史页面集合,以有效避免数据丢失。5. The processor finds the corresponding history page from the collection of history pages according to the content input by the trajectory. Among them, the collection of historical pages can be stored in the browser or outside the browser. When the collection of historical pages is stored outside the browser, after reinstalling the browser, the collection of historical pages can be restored from the outside to effectively avoid data loss.
6.处理器通知输出设备以悬浮的形式将历史页面显示在浏览器之上。其中,悬浮显示栏上包括多个槽位,根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面显示在所述悬浮显示栏的一个或者多个槽位中。6. The processor notifies the output device to display the history page on the browser in a floating form. Wherein, the floating display bar includes a plurality of slots, and the corresponding historical page is found from the historical page collection according to the content input by the track and displayed in one or more slots of the floating display bar.
具体地,在所述多个槽位均用于显示历史页面时,可以包括以下几种显示方式:Specifically, when the multiple slots are used to display historical pages, the following display modes may be included:
第一种方式,不同槽位中的对应历史页面均以相同的大小进行显示。进一步地,在用户将鼠标滑入第一槽位的情况下,将所述第一槽位中的历史页面进行放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第一槽位属于所述多个槽位。In the first way, the corresponding history pages in different slots are all displayed in the same size. Further, when the user slides the mouse into the first slot, the history page in the first slot is enlarged and displayed, and the size of the history page in other slots remains unchanged. One slot belongs to the multiple slots.
第二种方式,第二槽位中的历史页面放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第二槽位属于所述多个槽位。进一步地,在用户将鼠标滑入第三槽位的情况下,将所述第三槽位中的历史页面进行放大显示,将所述第二槽位缩小显示,其中,所述第三槽位属于所述多个槽位。In the second way, the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, where the second slot belongs to the multiple slots. Further, when the user slides the mouse into the third slot, the history page in the third slot is enlarged and displayed, and the second slot is reduced and displayed, wherein the third slot Belong to the multiple slots.
然而,在所述对应的历史页面的数量小于所述悬浮显示栏的槽位的数量的情况下,所述多个槽位除了用于显示历史页面之外,还用于显示推荐页面。其中,根据所述轨迹输入 的内容选择推荐页面,并将所述推荐页面显示在所述悬浮显示栏的剩余槽位中。However, when the number of corresponding history pages is less than the number of slots in the floating display column, the multiple slots are used to display recommended pages in addition to displaying the history pages. Wherein, a recommended page is selected according to the content input by the trajectory, and the recommended page is displayed in the remaining slots of the floating display column.
应当理解,终端设备仅为本申请实施例提供的一个例子,并且,终端设备可具有比示出的部件更多或更少的部件,可以组合两个或更多个部件,或者可具有部件的不同配置实现。It should be understood that the terminal device is only an example provided in the embodiment of the present application, and the terminal device may have more or less components than the shown components, may combine two or more components, or may have Different configurations are implemented.
图19示出了本申请实施例提供的又一种终端设备的功能框图。终端设备的功能块可由硬件、软件或硬件与软件的组合来实施本申请方案。所属领域的技术人员应理解,图19中所描述的功能块可经组合或分离为若干子块以实施本申请方案。因此,本申请中上面描述的内容可支持对下述功能模块的任何可能的组合或分离或进一步定义。如图19所示,终端设备可包括:显示模块410、获取模块420以及识别模块430。这里,显示模块410可以是图15所示的显示器,或者,图17所示的触摸屏等等。获取模块420可以是图15所示的输入设备或者图17所示的触摸屏。识别模块430可以是图15所示的主机,或者,图17所示的处理器。FIG. 19 shows a functional block diagram of another terminal device provided by an embodiment of the present application. The functional blocks of the terminal device can implement the solution of the present application by hardware, software, or a combination of hardware and software. Those skilled in the art should understand that the functional blocks described in FIG. 19 can be combined or separated into several sub-blocks to implement the solution of the present application. Therefore, the content described above in this application can support any possible combination or separation or further definition of the following functional modules. As shown in FIG. 19, the terminal device may include: a display module 410, an acquisition module 420, and an identification module 430. Here, the display module 410 may be the display shown in FIG. 15, or the touch screen shown in FIG. 17, or the like. The acquisition module 420 may be the input device shown in FIG. 15 or the touch screen shown in FIG. 17. The identification module 430 may be the host shown in FIG. 15 or the processor shown in FIG. 17.
所述显示模块410用于在浏览器之上显示轨迹输入区域,其中,所述迹输入区域用于供用户进行轨迹输入;The display module 410 is configured to display a track input area on the browser, where the track input area is used for the user to perform track input;
所述获取模块420用于获取用户在所述轨迹输入区域输入的轨迹;The acquiring module 420 is configured to acquire the trajectory input by the user in the trajectory input area;
所述识别模块430用于从所述轨迹识别轨迹输入的内容;The identification module 430 is used to identify the content of the track input from the track;
所述显示模块410用于根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面以悬浮的形式显示在浏览器之上,其中,所述历史页面集合包括了所述浏览器中各个网页标签之下的历史页面。The display module 410 is configured to find the corresponding historical page from the historical page set according to the content input by the track and display it in a floating form on the browser, where the historical page set includes the browser The history page under each page tab.
在一些可能的实施方式中,所述轨迹输入区域的质地包括不透明的、半透明的以及全透明的中的任意一种,所述轨迹输入区域的面积包括所述轨迹输入区域的面积等于浏览器的面积、所述轨迹输入区域的面积大于浏览器的面积以及所述轨迹输入区域的面积小于浏览器的面积中的任意一种;所述轨迹输入区域的形状包括矩形、椭圆形、圆形以及菱形中的任意一种。In some possible implementation manners, the texture of the trajectory input area includes any one of opaque, semi-transparent and fully transparent, and the area of the trajectory input area includes the area of the trajectory input area equal to that of the browser. The area of the trajectory input area is larger than the area of the browser, and the area of the trajectory input area is smaller than the area of the browser; the shape of the trajectory input area includes a rectangle, an ellipse, a circle, and Any of the diamond shapes.
具体地,轨迹输入区域的质地、面积、位置、以及形状可以参见前述图4至图7所示实施例中的内容,这里不再赘述。Specifically, the texture, area, position, and shape of the track input area can be referred to the content in the foregoing embodiments shown in FIGS. 4 to 7, and will not be repeated here.
在一些可能的实施方式中,轨迹输入的内容可以是多种多样的,从字符角度来说,轨迹输入的内容可以是字母、数字以及符号中的一种或者多种组合;从语言角度来说,轨迹输入的内容可以支持中文、英文、日文、德文以及法文等等。在一具体的实施例中,轨迹输入的内容支持的语言还可以根据浏览器展示的当前页面确定,例如,浏览器确定的当前页面是使用中文,则轨迹输入的内容支持的语言自动转换为中文,此处不作具体限定。In some possible implementations, the content of the trajectory input can be diverse. From the perspective of characters, the content of the trajectory input can be one or more combinations of letters, numbers, and symbols; from the perspective of language , The content of the track input can support Chinese, English, Japanese, German, French and so on. In a specific embodiment, the language supported by the content of the trajectory input can also be determined according to the current page displayed by the browser. For example, if the current page determined by the browser is in Chinese, the language supported by the content of the trajectory input is automatically converted to Chinese. , There is no specific limitation here.
在一些可能的实施方式中,悬浮显示栏上包括多个槽位,显示模块410根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面显示在所述悬浮显示栏的一个或者多个槽位中。In some possible implementations, the floating display bar includes multiple slots, and the display module 410 finds the corresponding history page from the set of history pages according to the content input by the track, and displays it in one or more of the floating display bar. In slots.
具体地,在所述多个槽位均用于显示历史页面时,可以包括以下几种显示方式:Specifically, when the multiple slots are used to display historical pages, the following display modes may be included:
第一种方式,不同槽位中的对应历史页面均以相同的大小进行显示。进一步地,显示模块410用于在用户将鼠标滑入第一槽位的情况下,将所述第一槽位中的历史页面进行放 大显示,其他槽位中的历史页面的大小保持不变,其中,所述第一槽位属于所述多个槽位。In the first way, the corresponding history pages in different slots are all displayed in the same size. Further, the display module 410 is used to enlarge and display the history page in the first slot when the user slides the mouse into the first slot, and the size of the history page in other slots remains unchanged. Wherein, the first slot belongs to the multiple slots.
第二种方式,第二槽位中的历史页面放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第二槽位属于所述多个槽位。进一步地,显示模块410用于在用户将鼠标滑入第三槽位的情况下,将所述第三槽位中的历史页面进行放大显示,将所述第二槽位缩小显示,其中,所述第三槽位属于所述多个槽位。In the second way, the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, where the second slot belongs to the multiple slots. Further, the display module 410 is used to zoom in and display the history page in the third slot and zoom out and display the second slot when the user slides the mouse into the third slot. The third slot belongs to the multiple slots.
然而,在所述对应的历史页面的数量小于所述悬浮显示栏的槽位的数量的情况下,所述多个槽位除了用于显示历史页面之外,还用于显示推荐页面。其中,显示模块410用于根据所述轨迹输入的内容选择推荐页面,并将所述推荐页面显示在所述悬浮显示栏的剩余槽位中。However, when the number of corresponding history pages is less than the number of slots in the floating display column, the multiple slots are used to display recommended pages in addition to displaying the history pages. Wherein, the display module 410 is configured to select a recommended page according to the content input by the trajectory, and display the recommended page in the remaining slots of the floating display bar.
应当理解,终端设备仅为本发明实施例提供的一个例子,并且,终端设备可具有比示出的部件更多或更少的部件,可以组合两个或更多个部件,或者可具有部件的不同配置实现。It should be understood that the terminal device is only an example provided by the embodiment of the present invention, and the terminal device may have more or fewer components than shown, may combine two or more components, or may have Different configurations are implemented.
上述方案中,通过在浏览器之上显示轨迹输入区域,获取用户在所述轨迹输入区域输入的轨迹,并从所述轨迹识别轨迹输入的内容;根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面以悬浮的形式显示在浏览器之上,其中,所述历史页面集合包括了所述浏览器中各个网页标签之下的历史页面,因此,能够实现跨网页标签返回历史页面。In the above solution, by displaying the trajectory input area on the browser, the trajectory input by the user in the trajectory input area is acquired, and the content of the trajectory input is recognized from the trajectory; the content input by the trajectory is collected from the history page The corresponding history page is found to be displayed on the browser in a floating form, where the history page set includes the history page under each webpage tag in the browser, therefore, it is possible to return to the history page across webpage tags .
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、存储盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态存储盘Solid State Disk(SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website site, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a storage disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a Solid State Disk (SSD)).

Claims (26)

  1. 一种返回历史页面的方法,其特征在于,包括:A method for returning to a historical page, which is characterized in that it includes:
    在浏览器之上显示轨迹输入区域,其中,所述迹输入区域用于供用户进行轨迹输入;Displaying a track input area on the browser, where the track input area is used for the user to perform track input;
    获取用户在所述轨迹输入区域输入的轨迹,并从所述轨迹识别轨迹输入的内容;Acquiring the trajectory input by the user in the trajectory input area, and identifying the content of the trajectory input from the trajectory;
    根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面以悬浮的形式显示在浏览器之上,其中,所述历史页面集合包括了所述浏览器中各个网页标签之下的历史页面。According to the content input by the track, the corresponding history page is found from the collection of history pages and displayed in a floating form on the browser, where the collection of history pages includes the history under each webpage tag in the browser page.
  2. 根据权利要求1所述的方法,其特征在于,所述轨迹输入区域的质地包括不透明的、半透明的以及全透明的中的任意一种,所述轨迹输入区域的面积包括所述轨迹输入区域的面积等于浏览器的面积、所述轨迹输入区域的面积大于浏览器的面积以及所述轨迹输入区域的面积小于浏览器的面积中的任意一种;所述轨迹输入区域的形状包括矩形、椭圆形、圆形以及菱形中的任意一种。The method according to claim 1, wherein the texture of the trajectory input area includes any one of opaque, semi-transparent, and fully transparent, and the area of the trajectory input area includes the trajectory input area The area of the track input area is equal to the area of the browser, the area of the track input area is larger than the area of the browser, and the area of the track input area is smaller than the area of the browser; the shape of the track input area includes a rectangle and an ellipse Any of a shape, a circle, and a rhombus.
  3. 根据权利要求1或2所述的方法,其特征在于,所述轨迹输入的内容是字母、数字以及符号中的一种或者多种组合。The method according to claim 1 or 2, wherein the content of the track input is one or a combination of letters, numbers, and symbols.
  4. 根据权利要求3所述的方法,其特征在于,所述轨迹输入的内容支持的语言包括中文、英文、日文、德文以及法文中的一种或者多种。The method according to claim 3, wherein the languages supported by the content of the track input include one or more of Chinese, English, Japanese, German, and French.
  5. 根据权利要求4所述的方法,其特征在于,所述轨迹输入的内容支持的语言是根据所述浏览器的当前页面使用的语言确定的。The method according to claim 4, wherein the language supported by the content of the track input is determined according to the language used by the current page of the browser.
  6. 根据权利要求1至5任一权利要求所述的方法,其特征在于,悬浮显示栏上包括多个槽位,所述根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面以悬浮的形式显示在浏览器之上,包括:The method according to any one of claims 1 to 5, wherein the floating display bar includes a plurality of slots, and the content entered according to the track is searched for a corresponding history page from a collection of history pages. The floating form is displayed on the browser, including:
    根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面显示在所述悬浮显示栏的一个或者多个槽位中。According to the content input by the track, the corresponding history page is found from the collection of history pages and displayed in one or more slots of the floating display column.
  7. 根据权利要求6所述的方法,其特征在于,不同槽位中的对应历史页面均以相同的大小进行显示。The method according to claim 6, wherein the corresponding history pages in different slots are all displayed in the same size.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    在用户将鼠标滑入第一槽位的情况下,将所述第一槽位中的历史页面进行放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第一槽位属于所述多个槽位。When the user slides the mouse into the first slot, the history page in the first slot is enlarged and displayed, and the size of the history page in the other slots remains unchanged, where the first slot Belong to the multiple slots.
  9. 根据权利要求6所述的方法,其特征在于,第二槽位中的历史页面放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第二槽位属于所述多个槽位。The method according to claim 6, wherein the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, wherein the second slot belongs to the plurality of Slot.
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:The method according to claim 9, wherein the method further comprises:
    在用户将鼠标滑入第三槽位的情况下,将所述第三槽位中的历史页面进行放大显示,将所述第二槽位缩小显示,其中,所述第三槽位属于所述多个槽位。When the user slides the mouse into the third slot, the history page in the third slot is enlarged and displayed, and the second slot is reduced and displayed, wherein the third slot belongs to the Multiple slots.
  11. 根据权利要求6至10任一权利要求所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 6 to 10, wherein the method further comprises:
    在所述对应的历史页面的数量小于所述悬浮显示栏的槽位的数量的情况下,根据所述轨迹输入的内容选择推荐页面,并将所述推荐页面显示在所述悬浮显示栏的剩余槽位中。In the case that the number of corresponding history pages is less than the number of slots in the floating display column, a recommended page is selected according to the content input by the trajectory, and the recommended page is displayed in the remaining of the floating display column In the slot.
  12. 根据权利要求1至11任一权利要求所述的方法,其特征在于,在浏览器之上显示轨迹输入区域,包括:The method according to any one of claims 1 to 11, wherein displaying the track input area on the browser comprises:
    在用户执行模式触发操作的情况下,在浏览器之上显示轨迹输入区域,其中,所述模式触发操作包括单击鼠标右键并同时滑动鼠标的操作,或者,单击鼠标左键并同时滑动鼠标的操作。When the user performs a pattern trigger operation, a track input area is displayed on the browser, where the pattern trigger operation includes the operation of clicking the right mouse button and sliding the mouse at the same time, or clicking the left mouse button and sliding the mouse at the same time Operation.
  13. 一种终端设备,其特征在于,包括:显示模块、获取模块以及识别模块;A terminal device, characterized by comprising: a display module, an acquisition module, and an identification module;
    所述显示模块用于在浏览器之上显示轨迹输入区域,其中,所述迹输入区域用于供用户进行轨迹输入;The display module is used to display a track input area on a browser, wherein the track input area is used for a user to perform track input;
    所述获取模块用于获取用户在所述轨迹输入区域输入的轨迹;The acquisition module is used to acquire the trajectory input by the user in the trajectory input area;
    所述识别模块用于从所述轨迹识别轨迹输入的内容;The recognition module is used to recognize the content of the track input from the track;
    所述显示模块用于根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面以悬浮的形式显示在浏览器之上,其中,所述历史页面集合包括了所述浏览器中各个网页标签之下的历史页面。The display module is configured to find corresponding historical pages from a collection of historical pages according to the content input by the trajectory and display them in a floating form on the browser, where the collection of historical pages includes each of the browsers. The history page under the page tab.
  14. 根据权利要求13所述的方法,其特征在于,所述轨迹输入区域的质地包括不透明的、半透明的以及全透明的中的任意一种,所述轨迹输入区域的面积包括所述轨迹输入区域的面积等于浏览器的面积、所述轨迹输入区域的面积大于浏览器的面积以及所述轨迹输入区域的面积小于浏览器的面积中的任意一种;所述轨迹输入区域的形状包括矩形、椭圆形、圆形以及菱形中的任意一种。The method according to claim 13, wherein the texture of the trajectory input area includes any one of opaque, semi-transparent and fully transparent, and the area of the trajectory input area includes the trajectory input area The area of the track input area is equal to the area of the browser, the area of the track input area is larger than the area of the browser, and the area of the track input area is smaller than the area of the browser; the shape of the track input area includes a rectangle and an ellipse Any of a shape, a circle, and a rhombus.
  15. 根据权利要求13或14所述的方法,其特征在于,所述轨迹输入的内容是字母、数字以及符号中的一种或者多种组合。The method according to claim 13 or 14, wherein the content of the track input is one or more combinations of letters, numbers, and symbols.
  16. 根据权利要求15所述的方法,其特征在于,所述轨迹输入的内容支持的语言包括中文、英文、日文、德文以及法文中的一种或者多种。The method according to claim 15, wherein the languages supported by the content of the track input include one or more of Chinese, English, Japanese, German, and French.
  17. 根据权利要求16所述的方法,其特征在于,所述轨迹输入的内容支持的语言是根据所述浏览器的当前页面使用的语言确定的。The method according to claim 16, wherein the language supported by the content of the track input is determined according to the language used by the current page of the browser.
  18. 根据权利要求13至17任一权利要求所述的方法,其特征在于,所述显示模块还用于根据所述轨迹输入的内容从历史页面集合中查找到对应的历史页面显示在所述悬浮显示栏的一个或者多个槽位中。The method according to any one of claims 13 to 17, wherein the display module is further configured to find a corresponding history page from a collection of history pages according to the content input by the track, and display it on the floating display. One or more slots in the column.
  19. 根据权利要求18所述的方法,其特征在于,不同槽位中的对应历史页面均以相同的大小进行显示。18. The method according to claim 18, wherein the corresponding history pages in different slots are all displayed in the same size.
  20. 根据权利要求19所述的方法,其特征在于,所述显示模块还用于在用户将鼠标滑入第一槽位的情况下,将所述第一槽位中的历史页面进行放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第一槽位属于所述多个槽位。The method according to claim 19, wherein the display module is further configured to enlarge and display the history page in the first slot when the user slides the mouse into the first slot, and other The size of the history page in the slot remains unchanged, where the first slot belongs to the multiple slots.
  21. 根据权利要求18所述的方法,其特征在于,第二槽位中的历史页面放大显示,其他槽位中的历史页面的大小保持不变,其中,所述第二槽位属于所述多个槽位。The method according to claim 18, wherein the history page in the second slot is enlarged and displayed, and the size of the history page in other slots remains unchanged, wherein the second slot belongs to the plurality of Slot.
  22. 根据权利要求21所述的方法,其特征在于,所述显示模块还用于在用户将鼠标滑入第三槽位的情况下,将所述第三槽位中的历史页面进行放大显示,将所述第二槽位缩小显示,其中,所述第三槽位属于所述多个槽位。22. The method according to claim 21, wherein the display module is further configured to enlarge and display the history page in the third slot when the user slides the mouse into the third slot, and display The second slot is zoomed out and displayed, where the third slot belongs to the multiple slots.
  23. 根据权利要求18至22任一权利要求所述的方法,其特征在于,所述显示模块还用于在所述对应的历史页面的数量小于所述悬浮显示栏的槽位的数量的情况下,根据所述轨迹输入的内容选择推荐页面,并将所述推荐页面显示在所述悬浮显示栏的剩余槽位中。The method according to any one of claims 18 to 22, wherein the display module is further configured to: when the number of the corresponding history pages is less than the number of slots in the floating display column, A recommended page is selected according to the content input by the trajectory, and the recommended page is displayed in the remaining slots of the floating display column.
  24. 根据权利要求13至23任一权利要求所述的方法,其特征在于,所述显示模块还用于在用户执行模式触发操作的情况下,在浏览器之上显示轨迹输入区域,其中,所述模式触发操作包括单击鼠标右键并同时滑动鼠标的操作,或者,单击鼠标左键并同时滑动鼠标的操作。The method according to any one of claims 13 to 23, wherein the display module is further configured to display a track input area on the browser when the user performs a mode trigger operation, wherein the The mode trigger operation includes the operation of clicking the right mouse button and sliding the mouse at the same time, or the operation of clicking the left mouse button and sliding the mouse at the same time.
  25. 一种终端设备,其特征在于,包括存储器以及处理器,所述处理器执行所述存储器中的程序以运行计算服务和存储服务,从而执行如权利要求1至12任一权利要求所述的方法。A terminal device, characterized by comprising a memory and a processor, the processor executes the program in the memory to run computing services and storage services, thereby executing the method according to any one of claims 1 to 12 .
  26. 一种可读存储介质,其特征在于,包括指令,当所述指令在计算节点上运行时,使得所述计算节点执行如权利要求1至12任一权利要求所述的方法。A readable storage medium, characterized by comprising instructions, when the instructions run on a computing node, cause the computing node to execute the method according to any one of claims 1-12.
PCT/CN2021/078286 2020-02-29 2021-02-27 Method for returning to historical page, and terminal device WO2021170120A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010132767.5 2020-02-29
CN202010132767.5A CN113326409A (en) 2020-02-29 2020-02-29 Table display method, equipment and system

Publications (1)

Publication Number Publication Date
WO2021170120A1 true WO2021170120A1 (en) 2021-09-02

Family

ID=77413093

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/078286 WO2021170120A1 (en) 2020-02-29 2021-02-27 Method for returning to historical page, and terminal device

Country Status (2)

Country Link
CN (1) CN113326409A (en)
WO (1) WO2021170120A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6460060B1 (en) * 1999-01-26 2002-10-01 International Business Machines Corporation Method and system for searching web browser history
TW201207640A (en) * 2010-08-02 2012-02-16 Orange Network Inc Method of recording and searching WebPage
CN103885992A (en) * 2012-12-24 2014-06-25 腾讯科技(武汉)有限公司 Method and device for controlling page display
CN105631036A (en) * 2016-01-13 2016-06-01 浙江慧脑信息科技有限公司 Method for browsing history inquiry
CN106874390A (en) * 2017-01-12 2017-06-20 北京奇虎科技有限公司 Browser history records inspection method and terminal
CN106909306A (en) * 2017-03-09 2017-06-30 携程旅游网络技术(上海)有限公司 The quick method and system for returning to specified page
CN108319613A (en) * 2017-01-18 2018-07-24 阿里巴巴集团控股有限公司 A kind of method and apparatus that webpage information is sorted out

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10860557B2 (en) * 2013-03-13 2020-12-08 Salesforce.Com, Inc. Systems, methods, and apparatuses for implementing change value indication and historical value comparison
CN108664316A (en) * 2017-03-31 2018-10-16 华为技术有限公司 A kind of method and apparatus for the interface message obtaining API
CN110019198B (en) * 2017-09-28 2021-11-05 北京国双科技有限公司 Data query method and device
CN110113394A (en) * 2019-04-19 2019-08-09 浙江数链科技有限公司 API Calls method and apparatus
CN110472127A (en) * 2019-07-17 2019-11-19 微梦创科网络科技(中国)有限公司 A kind of data query method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6460060B1 (en) * 1999-01-26 2002-10-01 International Business Machines Corporation Method and system for searching web browser history
TW201207640A (en) * 2010-08-02 2012-02-16 Orange Network Inc Method of recording and searching WebPage
CN103885992A (en) * 2012-12-24 2014-06-25 腾讯科技(武汉)有限公司 Method and device for controlling page display
CN105631036A (en) * 2016-01-13 2016-06-01 浙江慧脑信息科技有限公司 Method for browsing history inquiry
CN106874390A (en) * 2017-01-12 2017-06-20 北京奇虎科技有限公司 Browser history records inspection method and terminal
CN108319613A (en) * 2017-01-18 2018-07-24 阿里巴巴集团控股有限公司 A kind of method and apparatus that webpage information is sorted out
CN106909306A (en) * 2017-03-09 2017-06-30 携程旅游网络技术(上海)有限公司 The quick method and system for returning to specified page

Also Published As

Publication number Publication date
CN113326409A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
US10656755B1 (en) Gesture-equipped touch screen system, method, and computer program product
CN105446673B (en) The method and terminal device of screen display
US20170249059A1 (en) Context-aware field value suggestions
US10551998B2 (en) Method of displaying screen in electronic device, and electronic device therefor
WO2012012293A2 (en) Fisheye-based presentation of information for mobile devices
WO2017172548A1 (en) Ink input for browser navigation
KR102125212B1 (en) Operating Method for Electronic Handwriting and Electronic Device supporting the same
WO2021170120A1 (en) Method for returning to historical page, and terminal device
WO2021136300A1 (en) Method and terminal device for returning to historical page

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: 21761052

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21761052

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21761052

Country of ref document: EP

Kind code of ref document: A1