The present disclosure relates to the field of Internet technology and, more particularly, relates to methods and devices for processing a tabbed-page.
Conventional methods for managing a browsing window, provided by browsers on terminal devices (such as tablet computers and smart phones), are mostly visual-display-type multi-tab-switching window management methods. In the conventional methods for browsing a window, a user can only perform relevant browsing operations with respect to one browsing interface at one time that the user is currently viewing. For example, the conventional methods cannot satisfy user's needs for playing a video in one window and simultaneously browsing a web page in another window and thus is very inconvenient for using.
According to various embodiments, there is provided a method for processing a tabbed-page. In this method, a first display area can be obtained from a screen of a tabbed-page processing device, when a pinning operation command with respect to a tabbed-page in a browser is received from a user. A corresponding first UIwebview based on the obtained first display area can be created by the tabbed-page processing device. Content of the tabbed-page can be loaded via the first UIwebview to pin the tabbed-page.
According to various embodiments, there is also provided a device for processing a tabbed-page. The device can include an area obtaining module and a pinning module. The area obtaining module can be configured to obtain a first display area from a screen of the device, when a pinning operation command with respect to a tabbed-page in a browser from a user is received. The pinning module can be configured to create a corresponding first UIwebview based on the first display area obtained by the area obtaining module and to load content of the tabbed-page via the first UIwebview to pin the tabbed-page.
According to various embodiments, there is also provided a computer-readable medium having executable computer program. When being executed by a processor, the computer program performs a method for processing a tabbed-page. The method includes obtaining, by a tabbed-page processing device, a first display area from a screen of the tabbed-page processing device, when a pinning operation command with respect to a tabbed-page in a browser is received from a user. The method also includes creating, by the tabbed-page processing device, a corresponding first UIwebview based on the obtained first display area. Further, the method includes loading, by the tabbed-page processing device, content of the tabbed-page via the first UIwebview to pin the tabbed-page.
Other aspects or embodiments of the present disclosure can be understood by those skilled in the art in light of the description, the claims, and the drawings of the present disclosure.
The following drawings are merely examples for illustrative purposes according to various disclosed embodiments and are not intended to limit the scope of the present disclosure.
Reference will now be made in detail to exemplary embodiments of the disclosure, which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
As shown in
The communication network 602 may include any appropriate type of communication network for providing network connections to the server 604 and terminal 606 or among multiple servers 604 or terminals 606. For example, the communication network 602 may include the Internet or other types of computer networks or telecommunication networks, either wired or wireless.
A terminal, as used herein, may refer to any appropriate user terminal device with certain computing capabilities, for example, a personal computer (PC), a work station computer, a notebook computer, a car computer (e.g., carrying in a car or other vehicles), a server computer, a hand-held computing device (a tablet computer), a mobile terminal (a mobile phone, a smart phone, an iPad, an aPad), a POS (i.e., point of sale) device, or any other user-side computing device. In various embodiments, the terms “terminal” and “terminal device” can be used interchangeably. In various embodiments, the terminal 606 can include a multi-window browsing device.
A server, as used herein, may refer one or more server computers configured to provide certain server functionalities, for example, search engines and database management. A server may also include one or more processors to execute computer programs in parallel.
The server 604 and the terminal 606 may be implemented on any appropriate computing platform.
The processor 702 can include any appropriate processor or processors. Further, the processor 702 can include multiple cores for multi-thread or parallel processing. The storage medium 704 may include memory modules, for example, ROM, RAM, and flash memory modules, and mass storages, for example, CD-ROM, U-disk, removable hard disk, etc. The storage medium 704 may store computer programs for implementing various processes, when executed by the processor 702.
Further, the peripherals 712 may include I/O devices, for example, keyboard and mouse, and the communication module 708 may include network devices for establishing connections through the communication network 602. The database 710 may include one or more databases for storing certain data and for performing certain operations on the stored data, for example, webpage browsing, database searching, etc.
In operation, the terminal 606 may cause the server 604 to perform certain actions, for example, an Internet search or other database operations. The server 604 may be configured to provide structures and functions for such actions and operations. More particularly, the server 604 may include a data searching system for real-time database searching. In various embodiments, a terminal, for example, a mobile terminal involved in the disclosed methods and systems can include the terminal 606.
In Step S101, when receiving a pinning operation command with respect to a tabbed-page in a browser from a user, a first display area can be obtained from a screen.
In one embodiment, the pinning operation command can include, but is not limited to, a long pressing (e.g., holding) command. A time length for the long pressing command to last can be greater than one second. For example, when a long-pressing command with respect to a tabbed-page 210c in a browser illustrated in
In Step S102, based on the obtained first display area, a corresponding first UIwebview can be created and content of the tabbed-page can be loaded via the first UIwebview so as to pin the tabbed-page.
As used herein, the UIwebview can be a built-in browser control, and can be used to browse a web page, open a document, and/or operate the like. After the first display area is obtained, the first UIwebview can be created according to the size of the first display area. In practice, the created first UIwebview can be named as a LockUIwebview. Specific creation process of the UIwebview may use known technologies.
After creating the first UIwebview, a kernel of the browser can parse content of the tabbed web page, load the parsed content using the UIwebview and, after the loading, display the content in the first display area to complete the operation of pinning the tabbed-page.
In one embodiment, since the tabbed-page can be pinned, user's operation with respect to other tabbed-pages in the browser cannot affect the pinned tabbed-page. This can satisfy user's needs of simultaneously performing relevant browsing operations in multiple windows.
In Step S301, when a pinning operation command with respect to a tabbed-page in a browser is received from a user, a first display area can be obtained from a screen.
In Step S302, based on the obtained first display area, a corresponding first UIwebview can be created and content of the tabbed-page can be loaded via the first UIwebview so as to pin the tabbed-page. Specific implementation processes of Steps S301 and S302 can be the same as Steps S101 and Step S102 as depicted in
In Step S303, a second display area can be obtained from the screen and, based on the second display area, a second UIwebview can be created and contents of remaining tabbed-pages in the browser can be loaded via the second UIwebview.
In one embodiment, at the same time when performing Step S302, a display area (e.g., the second display area) can be obtained from the screen to display contents of the remaining tabbed-pages in the browser. Specifically, the second display area can be obtained and, based on the size of the second display area, a UIwebview (e.g., the second UIwebview) can be created and the contents of the remaining tabbed-pages in the browser can be loaded via the second UIwebview. The remaining tabbed-pages are tabbed-pages in the browser excluding the pinned tabbed-page.
In an exemplary embodiment, in order to facilitate a user to simultaneously manage multiple windows, e.g., as shown in
It should be noted that, in order to obtain multiple pinned tabbed-pages, pinning operation can also be performed with respect to the remaining tabbed-pages in the browser. That is, when a pinning operation command with respect to one tabbed-page among the remaining tabbed-pages in the browser is received from a user, a third display area can be obtained. For example, the third display area can be a display area within the second display area. Based on a size of the third display area, a third UIwebview can be created and content of the tabbed-page can be loaded via the third UIwebview. Based on a size of a remaining display area of the second display area, a fourth UIwebview can be created and contents of remaining tabbed-pages in the browser can be loaded via the fourth UIwebview. Sizes of these display areas can be adjusted as needed, and so on, such that multiple pinned tabbed-pages can be obtained.
In various embodiments, in order to enhance usability and to improve user experience, the method depicted herein can further include the following step: obtaining a third display area and, based on the third display area, creating a third UIwebview and loading contents of tabbed-pages currently displayed in the browser via the third UIwebview, when an operation command for unpinning a pinned tabbed-page from a user is received.
For example, as illustrated in
In a case as illustrated in
For example, the tabbed-page processing device can include an area obtaining module 51, and a pinning module 52.
The area obtaining module 51 can be used to obtain a first display area when a pinning operation command with respect to a tabbed-page in a browser from a user is received.
The pinning module 52 can be used to create a corresponding first UIwebview based on the first display area obtained by the area obtaining module 51 and load content of the tabbed-page via the first UIwebview so as to pin the tabbed-page.
Further, the device can also include a processing module 53. The processing module 53 can be used to obtain a second display area from the screen, to create a second UIwebview based on the second display area, and to load contents of remaining tabbed-pages in the browser via the second UIwebview. The remaining tabbed-pages are tabbed-pages in the browser excluding the pinned tabbed-page. In an exemplary embodiment, a sum of the first display area and the second display area can be the display area of the screen.
Further, the exemplary device of
It should be noted that, in order to obtain multiple pinned tabbed-pages, pinning operation can also be performed with respect to the remaining tabbed-pages in the browser. That is, when a pinning operation command with respect to a tabbed-page among the remaining tabbed-pages in the browser is received from a user, a third display area can be obtained. The third display area can be a display area within the second display area. Based on a size of the third display area, a third UIwebview can be created and content of the tabbed-page can be loaded via the third UIwebview. Based on a size of a remaining display area of the second display area, a fourth UIwebview can be created and contents of remaining tabbed-pages in the browser can be loaded via the fourth UIwebview. Sizes of these display areas can be adjusted as needed, and so on, such that multiple pinned tabbed-pages can be obtained.
Further, the device in
In an exemplary embodiment, the pinning operation command can include a long pressing command. A time length/period that the long-pressing command lasts can be greater than one second.
The tabbed-page processing device provided herein can be used in the above-described corresponding tabbed-page processing method as depicted in
A person of ordinary skill in the art can understand that the modules included in
In this manner, when a pinning operation command with respect to a tabbed-page in the browser from a user is received, a first display area can be obtained from the screen. Based on the obtained first display area, a corresponding first UIwebview can be created and content of the tabbed-page can be loaded via the first UIwebview so as to pin the tabbed-page. The UIwebview created herein is different from a UIwebview opened by the browser and an area displayed by the UIwebview created herein is also different from an area displayed by the UIwebview opened by the browser. Therefore, a browsing operation by a user with respect to other tabbed-pages in the browser cannot affect the pinned tabbed-page. This allows multiple pinned tabbed-pages to be obtained and thus can satisfy user's needs of simultaneously performing relevant browsing operations in multiple windows including, for example, playing a video in one window and simultaneously browsing a web page in another window. The disclosed methods and devices are easy to implement and easy to use.
In various embodiments, the disclosed modules can be configured in one apparatus or configured in multiple apparatus as desired. The modules disclosed herein can be integrated in one module or in multiple modules. Each of the modules disclosed herein can be divided into one or more sub-modules, which can be recombined in any manner.
One of ordinary skill in the art would appreciate that suitable software and/or hardware (e.g., a universal hardware platform) may be included and used in the disclosed methods and systems. For example, the disclosed embodiments can be implemented by hardware only, which alternatively can be implemented by software products only. The software products can be stored in a computer-readable storage medium including, e.g., ROM/RAM, magnetic disk, optical disk, etc. The software products can include suitable commands to enable a terminal device (e.g., including a mobile phone, a personal computer, a server, or a network device, etc.) to implement the disclosed embodiments.
The embodiments disclosed herein are exemplary only. Other applications, advantages, alternations, modifications, or equivalents to the disclosed embodiments are obvious to those skilled in the art and are intended to be encompassed within the scope of the present disclosure.
Without limiting the scope of any claim and/or the specification, examples of industrial applicability and certain advantageous effects of the disclosed embodiments are listed for illustrative purposes. Various alternations, modifications, or equivalents to the technical solutions of the disclosed embodiments can be obvious to those skilled in the art and can be included in this disclosure.
Using disclosed methods and devices for processing a tabbed-page, when a pinning operation command with respect to a tabbed-page in the browser from a user is received, a first display area can be obtained from the screen. Based on the obtained first display area, a corresponding first UIwebview can be created and content of the tabbed-page can be loaded via the first UIwebview so as to pin the tabbed-page. The UIwebview created herein is different from a UIwebview opened by the browser and an area displayed by the UIwebview created herein is also different from an area displayed by the UIwebview opened by the browser. Therefore, a browsing operation by a user with respect to other tabbed-pages in the browser cannot affect the pinned tabbed-page. This allows multiple pinned tabbed-pages to be obtained and thus can satisfy user's needs of simultaneously performing relevant browsing operations in multiple windows including, for example, playing a video in one window and simultaneously browsing a web page in another window. The disclosed methods and devices are easy to implement and easy to use.
Number | Date | Country | Kind |
---|---|---|---|
201210278207.6 | Aug 2012 | CN | national |
This application is a continuation of PCT Patent Application No. PCT/CN2013/080629, filed on Aug. 1, 2013, which claims priority to Chinese Patent Application No. CN201210278207.6, filed on Aug. 7, 2012, the entire contents of all of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2013/080629 | Aug 2013 | US |
Child | 14085288 | US |