CN104978318B - Browser control method and browser control device - Google Patents

Browser control method and browser control device Download PDF

Info

Publication number
CN104978318B
CN104978318B CN201410131992.1A CN201410131992A CN104978318B CN 104978318 B CN104978318 B CN 104978318B CN 201410131992 A CN201410131992 A CN 201410131992A CN 104978318 B CN104978318 B CN 104978318B
Authority
CN
China
Prior art keywords
browser
edge
display frame
end line
trigger area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410131992.1A
Other languages
Chinese (zh)
Other versions
CN104978318A (en
Inventor
豆宁军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yayue Technology Co ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410131992.1A priority Critical patent/CN104978318B/en
Publication of CN104978318A publication Critical patent/CN104978318A/en
Application granted granted Critical
Publication of CN104978318B publication Critical patent/CN104978318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a browser control method and a browser control device, wherein the browser control method comprises the following steps: receiving an operation instruction for moving the webpage content, and performing moving operation on the webpage content according to the operation instruction; detecting that a first end line and a second end line of the webpage content are positioned at the position of a display frame of a browser; and if the first endpoint is positioned outside the first edge and the second endpoint is positioned outside the second edge, simultaneously blanking the address bar of the browser and the tool bar of the browser. The invention also provides a browser control device. The browser control method and the control device automatically display and blank the toolbar and the address bar according to the reading of the user, and improve the browser efficiency of the user.

Description

Browser control method and browser control device
Technical Field
The present invention relates to the field of internet, and in particular, to a browser control method and a browser control apparatus for a mobile terminal.
Background
With the increasing popularization of mobile terminals, people basically can not leave the mobile terminals every day. In addition to using the mobile terminal for mobile communication, people also use the mobile terminal to obtain network information, for example, use a browser of the mobile terminal to browse the network information.
The browser of the conventional mobile terminal generally has a structure as shown in fig. 1A, and generally includes an address bar 11 for inputting a web page address, a display frame 12 for displaying web page contents 14, and a toolbar 13 for displaying a web page operation tool. Wherein the address bar 11 is generally located at the upper portion of the display frame 12 and the tool bar 13 is generally located at the lower portion of the display frame 12, such that the address bar 11, the display frame 12, and the tool bar 13 include all the contents of the browser.
However, when the user browses web pages by using the browser, the web page content 14 in the display frame 12 is mainly concerned, and if the address bar 11 and the toolbar 13 are also always located in the display frame 12 of the browser in the process of browsing web page content, the web page content 14 above the display frame 12 and below the display frame 12 can be blocked, so that the range of browsing the web page content 14 in the display frame by the user is influenced, and the web page browsing efficiency of the user is reduced.
For example, during browsing the web page content, the address bar 11 will automatically disappear, so that the user can increase the browsing speed of the web page content 14 in the display frame. However, the user may need to operate the web page through the address bar 11 during the browsing process, and if the user cannot find the address bar 11 in the browser, the web page browsing efficiency of the user is also reduced.
Disclosure of Invention
The embodiment of the invention provides a browser control method capable of improving the webpage browsing efficiency of a user, and aims to solve the technical problem that the webpage browsing efficiency of the user is low in the conventional browser control method.
The embodiment of the invention also provides a browser control device capable of improving the webpage browsing efficiency of a user, so as to solve the technical problem that the webpage browsing efficiency of the user in the conventional browser control device is low.
In order to solve the above problems, the technical scheme provided by the invention is as follows:
the embodiment of the invention provides a browser control method, which comprises the following steps:
receiving a first operation instruction for moving webpage content, and performing moving operation on the webpage content according to the first operation instruction;
detecting that a first end line and a second end line of the webpage content are positioned at the positions of a display frame of a browser, wherein the first end line and the second end line are respectively positioned at two opposite ends of the webpage content, the display frame comprises a first edge and a second edge, and the first edge and the second edge are respectively positioned at two opposite ends of the display frame;
and if the first endpoint is positioned outside the first edge and the second endpoint is positioned outside the second edge, simultaneously blanking an address bar of the browser and a tool bar of the browser.
An embodiment of the present invention further provides a browser control apparatus, including:
the operation instruction receiving module is used for receiving a first operation instruction for moving webpage content and carrying out moving operation on the webpage content according to the first operation instruction; (ii) a
The detection module is used for detecting that a first end line and a second end line of the webpage content are located at the positions of a display frame of a browser, wherein the first end line and the second end line are respectively located at two opposite ends of the webpage content, the display frame comprises a first edge and a second edge, and the first edge and the second edge are respectively located at two opposite ends of the display frame; and
and the blanking module is used for simultaneously blanking the address bar of the browser and the tool bar of the browser if the first endpoint is positioned at the outer side of the first edge and the second endpoint is positioned at the outer side of the second edge.
Compared with the browser control method and the browser control device in the prior art, the browser control method and the browser control device of the invention automatically display and automatically blank the toolbar and the address bar according to the reading habit of the user; the technical problem that the user webpage browsing efficiency in the existing browser control method and browser control device is low is solved.
Drawings
Fig. 1A is a schematic structural diagram of a browser of a conventional mobile terminal;
FIG. 1B is a schematic view of an operating environment of an electronic device in which a browser control apparatus according to the present invention is installed;
FIG. 2 is a schematic structural diagram of a first preferred embodiment of a browser control apparatus according to the present invention;
3A-3B are control schematic diagrams of the first preferred embodiment of the browser control apparatus according to the present invention, when the first end line is located outside the first edge and the second end line is located outside the second edge;
4A-4C are control schematic diagrams of the first preferred embodiment of the browser control apparatus according to the present invention when the first end line is located inside the first edge;
5A-5C are control schematic diagrams of the first preferred embodiment of the browser control apparatus according to the present invention when the second end line is located inside the second edge;
FIG. 6 is a flowchart of a first preferred embodiment of a browser control method of the present invention;
FIG. 7 is a flowchart of a second preferred embodiment of a browser control method of the present invention;
FIG. 8 is a flowchart of a third preferred embodiment of a browser control method of the present invention;
fig. 9 is a schematic structural diagram of a second preferred embodiment of the browser control apparatus according to the present invention;
FIG. 10 is a flowchart of a fourth preferred embodiment of a browser control method of the present invention;
FIG. 11 is a schematic structural diagram of a third preferred embodiment of the browser control apparatus according to the present invention;
FIG. 12 is a flowchart of a fifth preferred embodiment of a browser control method of the present invention;
fig. 13A to 13F are control diagrams of embodiments of a browser control method and a browser control apparatus according to the present invention.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
In the description that follows, embodiments of the invention are described with reference to steps and symbols of operations performed by one or more computers, unless otherwise indicated. It will thus be appreciated that those steps and operations, which are referred to herein several times as being computer-executed, include being manipulated by a computer processing unit in the form of electronic signals representing data in a structured form. This manipulation transforms the data or maintains it at locations in the computer's memory system, which may reconfigure or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the invention have been described in language specific to above, it is not intended to be limited to the specific details shown, since one skilled in the art will recognize that various steps and operations described below may be implemented in hardware.
As used herein, the terms "component," "module," "system," "interface," "process," and the like are generally intended to refer to a computer-related entity: hardware, a combination of hardware and software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a controller and the controller can be a component. One or more components can reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers.
Furthermore, the claimed subject matter may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof to control a computer to implement the disclosed subject matter. The term "article of manufacture" as used herein is intended to encompass a computer program accessible from any computer-readable device, carrier, or media. Of course, those skilled in the art will recognize many modifications may be made to this configuration without departing from the scope or spirit of the claimed subject matter.
FIG. 1B and the following discussion provide a brief, general description of an operating environment of an electronic device in which the browser control apparatus of the present invention may be implemented. The operating environment of FIG. 1B is only one example of a suitable operating environment and is not intended to suggest any limitation as to the scope of use or functionality of the operating environment. Example electronic devices 112 include, but are not limited to, personal computers, server computers, hand-held or laptop devices, mobile devices (such as mobile phones, Personal Digital Assistants (PDAs), media players, and the like), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Although not required, embodiments are described in the general context of "computer readable instructions" being executed by one or more electronic devices. Computer readable instructions may be distributed via computer readable media (discussed below). Computer readable instructions may be implemented as program modules, such as functions, objects, Application Programming Interfaces (APIs), data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the computer readable instructions may be combined or distributed as desired in various environments.
FIG. 1B illustrates an example of an electronic device 112 that includes one or more embodiments of a browser control apparatus of the present invention. In one configuration, electronic device 112 includes at least one processing unit 116 and memory 118. Depending on the exact configuration and type of electronic device, memory 118 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. This configuration is illustrated in FIG. 1B by dashed line 114.
In other embodiments, electronic device 112 may include additional features and/or functionality. For example, device 112 may also include additional storage (e.g., removable and/or non-removable) including, but not limited to, magnetic storage, optical storage, and the like. Such additional storage is illustrated in FIG. 1B by storage 120. In one embodiment, computer readable instructions to implement one or more embodiments provided herein may be in storage 120. Storage 120 may also store other computer readable instructions to implement an operating system, an application program, and the like. Computer readable instructions may be loaded in memory 118 for execution by processing unit 116, for example.
The term "computer readable media" as used herein includes computer storage media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions or other data. Memory 118 and storage 120 are examples of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by electronic device 112. Any such computer storage media may be part of electronic device 112.
Electronic device 112 may also include communication connection(s) 126 that allow electronic device 112 to communicate with other devices. Communication connection 126 may include, but is not limited to, a modem, a Network Interface Card (NIC), an integrated network interface, a radio frequency transmitter/receiver, an infrared port, a USB connection, or other interfaces for connecting electronic device 112 to other electronic devices. The communication connection 126 may comprise a wired connection or a wireless connection. Communication connection 126 may transmit and/or receive communication media.
The term "computer readable media" may include communication media. Communication media typically embodies computer readable instructions or other data in a "modulated data signal" such as a carrier wave or other transport mechanism and includes any information delivery media. The term "modulated data signal" may include signals that: one or more of the signal characteristics may be set or changed in such a manner as to encode information in the signal.
Electronic device 112 may include input device(s) 124 such as keyboard, mouse, pen, voice input device, touch input device, infrared camera, video input device, and/or any other input device. Output device(s) 122 such as one or more displays, speakers, printers, and/or any other output device may also be included in device 112. The input device 124 and the output device 122 may be connected to the electronic device 112 via a wired connection, a wireless connection, or any combination thereof. In one embodiment, an input device or an output device from another electronic device may be used as the input device 124 or the output device 122 of the electronic device 112.
The components of electronic device 112 may be connected by various interconnects, such as a bus. Such interconnects may include Peripheral Component Interconnect (PCI), such as PCI express, Universal Serial Bus (USB), firewire (IEEE1394), optical bus structures, and the like. In another embodiment, components of electronic device 112 may be interconnected by a network. For example, memory 118 may be comprised of multiple physical memory units located in different physical locations interconnected by a network.
Those skilled in the art will realize that storage devices utilized to store computer readable instructions may be distributed across a network. For example, an electronic device 130 accessible via network 128 may store computer readable instructions to implement one or more embodiments provided by the present invention. Electronic device 112 may access electronic device 130 and download a part or all of the computer readable instructions for execution. Alternatively, electronic device 112 may download pieces of the computer readable instructions, as needed, or some instructions may be executed at electronic device 112 and some at electronic device 130.
Various operations of embodiments are provided herein. In one embodiment, the one or more operations may constitute computer readable instructions stored on one or more computer readable media, which when executed by an electronic device, will cause the computing device to perform the operations. The order in which some or all of the operations are described should not be construed as to imply that these operations are necessarily order dependent. Those skilled in the art will appreciate alternative orderings having the benefit of this description. Moreover, it should be understood that not all operations are necessarily present in each embodiment provided herein.
Also, as used herein, the word "preferred" is intended to serve as an example, instance, or illustration. Any aspect or design described herein as "preferred" is not necessarily to be construed as advantageous over other aspects or designs. Rather, use of the word "preferred" is intended to present concepts in a concrete fashion. The term "or" as used in this application is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless specified otherwise or clear from context, "X employs A or B" is intended to include either of the permutations as a matter of course. That is, if X employs A; b is used as X; or X employs both A and B, then "X employs A or B" is satisfied in any of the foregoing examples.
Also, although the disclosure has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. The present disclosure includes all such modifications and alterations, and is limited only by the scope of the appended claims. In particular regard to the various functions performed by the above described components (e.g., elements, resources, etc.), the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the disclosure. In addition, while a particular feature of the disclosure may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for a given or particular application. Furthermore, to the extent that the terms "includes," has, "" contains, "or variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term" comprising.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a browser control device according to a first preferred embodiment of the present invention. The browser control device 20 according to the preferred embodiment may be disposed in the electronic device 112, and the browser control device 20 includes a detection module 21, an address bar display module 22, a toolbar display module 23, a blanking module 24, and an operation instruction receiving module 29.
As shown in fig. 3A and 3B, firstly, the operation instruction receiving module 29 receives an operation instruction for moving the web content 25 (for example, a user drags the web content 25 on a screen of the mobile terminal), and performs a moving operation on the web content according to the operation instruction (for example, a first operation instruction, a second operation instruction, and a third operation instruction); the detection module 21 detects that a first end 251 and a second end 252 of the web content 25 are located at positions of a display frame 26 of the browser, where the first end 251 and the second end 252 are located at two opposite ends of the web content 25, respectively, and the display frame 26 includes a first edge 261 and a second edge 262, and the first edge 261 and the second edge 262 are located at two opposite ends of the display frame 26, respectively. The first end line 251 of the web content 25 is closer to the first edge 261 of the display frame 26 than the second end line 252 of the web content 25, and the second end line 252 of the web content 25 is closer to the second edge 262 of the display frame 26 than the first end line 251 of the web content 25. For example, the first end line 251 may be an upper end line of the web content 25, the second end line 252 may be a lower end line of the web content 25, the first edge 261 may be an upper end edge of the display frame 26, and the second edge 262 may be a lower end edge of the display frame 26.
The address bar display module 22 is configured to display the address bar 27 of the browser between the first edge 261 and the first end line 251 if the first end line 251 is located inside the first edge 261 (e.g., the first end line 251 moves from the outside of the first edge 261 to the inside of the first edge 261). If the distance between the first edge 261 and the first end line 251 is greater than the height of the address bar 27, displaying the complete address bar 27 on the outer side adjacent to the first end line 251, and filling the content between the address bar 27 and the first edge 261 with a margin to indicate the displayed uppermost web page content 25; if the distance between the first edge 261 and the first end line 251 is less than the height of the address bar 27, a portion of the address bar 27 is displayed between the first edge 261 and the first end line 251.
If the second end line 252 is located inside the second edge 262 and the distance between the second end line 252 and the second edge 262 is greater than or equal to the height of the browser toolbar 28, the browser address bar 27 is displayed inside the first edge 261.
The toolbar display module 23 is configured to display the toolbar 28 of the browser between the second edge 262 and the second end line 252 if the second end line 252 is located inside the second edge 262 (e.g., the second end line 252 moves from outside the second edge 262 to inside the second edge 262). If the distance between the second edge 262 and the second end line 252 is greater than the height of the toolbar 28, then the entire toolbar 28 is displayed immediately outside of the second end line 252, and the content between the toolbar 28 and the second edge 262 is filled in with a margin, indicating that the lowermost web page content 25 is already displayed; if the distance between the second edge 262 and the second end line 252 is less than the height of the toolbar 28, a portion of the toolbar 28 is displayed between the second edge 262 and the second end line 252.
If the first end line 251 is located inside the first edge 261 and the distance between the first end line 251 and the first edge 261 is greater than or equal to the height of the address bar 27 of the browser, the toolbar 28 of the browser is displayed inside the second edge 262.
The blanking module 24 is configured to blank the address bar 27 of the browser and the tool bar 28 of the browser simultaneously if the first end line 251 is located outside the first edge 261 and the second end line 252 is located outside the second edge 262. The blanking refers to that the address bar and the tool bar of the browser are not displayed or hidden in the display frame of the browser so as to ensure that the maximum range of webpage contents can be displayed in the display frame of the browser.
Preferably, the display frame 26 of the browser of the preferred embodiment further includes a first trigger area 263 and a second trigger area 264, the first trigger area 263 is adjacent to the inner side of the first edge 261 of the display frame 26, the shape of the first trigger area 263 is the same as the shape of the address bar 27 of the browser, the second trigger area 264 is adjacent to the inner side of the second edge 262 of the display frame 26, and the shape of the second trigger area 264 is the same as the shape of the toolbar 28 of the browser.
When the first end line 251 is located outside the first edge 261 and the second end line 252 is located outside the second edge 262, if the second trigger area 264 of the display frame 26 of the browser receives a user instruction, the toolbar display module 23 displays the toolbar 28 of the browser in the second trigger area 264. If the first trigger area 263 of the display frame 26 of the browser receives a user instruction, the address bar display module 22 displays the address bar 27 of the browser in the first trigger area 263. Of course, if the first trigger area 263 or the second trigger area 264 of the display frame 26 of the browser receives a user command, the address bar 27 of the browser can be displayed in the first trigger area 263, and the toolbar 28 of the browser can be displayed in the second trigger area 264.
If the user instruction is not received in both the first trigger area 263 and the second trigger area 264 of the display frame 26 of the browser within a set time (e.g., 30 seconds), and the first trigger area 261 displays the address bar 27 of the browser and/or the second trigger area 264 displays the toolbar 28 of the browser, the blanking module 24 blanks the address bar 27 of the browser and the toolbar 28 of the browser at the same time.
The control flow of the first preferred embodiment of the browser control apparatus according to the present preferred embodiment when the first end line is located outside the first edge and the second end line is located outside the second edge is described in detail below with reference to fig. 3A to 3B.
Due to the tremendous abundance of information now and the user's ability to view the content in the web page more clearly, the length of the web page content 25 is typically greater than the length of the browser's display frame 26. Specifically, as shown in fig. 3A, after the operation instruction receiving module 29 performs the moving operation on the web content according to the first operation instruction, the detecting module 21 detects that the first end line 251 (upper end line) of the web content 25 is located outside the first edge 261 (upper edge) of the display frame 26 of the browser, and the second end line 252 (lower end line) of the web content 25 is located outside the second edge 262 (lower edge) of the display frame 26 of the browser. In order to make the user browse the web content 25 in the largest range, the blanking module 24 will blank the address bar 27 of the browser and the toolbar 28 of the browser at the same time, and the address bar 27 and the toolbar 28 will not be used by the user when browsing the web content 25, so that the actual use of the user will not be affected.
If the user needs to use the address bar 27 to perform a web page operation, the first trigger area 263 of the display frame 26 of the browser may be triggered, that is, a user instruction is sent to the first trigger area 263 of the display frame 26 of the browser, so that the address bar display module 22 displays the address bar 27 in the first trigger area 263, that is, the address bar 27 of the browser is displayed inside the first edge 261. Preferably, the browser toolbar 28 may be displayed in the second trigger area 264 at the same time, i.e., the browser toolbar 28 may be displayed inside the second edge 262.
If the user needs to use the toolbar 28 to perform a web page operation, the second trigger area 264 of the display frame 26 of the browser may be triggered, that is, a user instruction is sent to the second trigger area 264 of the display frame 26 of the browser, so that the toolbar display module 23 displays the toolbar 28 in the second trigger area 264, that is, the toolbar 28 of the browser is displayed inside the second edge 262. Preferably, the address bar 27 of the browser may be displayed in the first trigger area 263 at the same time, i.e., the address bar 27 of the browser is displayed inside the first edge 261.
The state diagram when the toolbar 28 and the address bar 27 are displayed in the display frame 26 of the browser is shown in fig. 3B. Therefore, the user can perform corresponding webpage operation through the address bar 27 and the tool bar 28, and the webpage operation efficiency of the user is improved.
When the toolbar 28 and/or the address bar 27 are displayed in the display frame 26 of the browser, for example, the first trigger area 261 (i.e., the address bar area of the browser) and the second trigger area 262 (i.e., the toolbar area of the browser) of the display frame 26 of the browser do not receive a user instruction within a set time, which indicates that the user does not need to perform a web page operation through the address bar 27 and the toolbar 28, the blanking module 24 may blank the address bar 27 of the browser and the toolbar 28 of the browser simultaneously, so as to expand the range of web page contents viewed by the user. As shown in fig. 3A.
The control flow of the first preferred embodiment of the browser control apparatus according to the present preferred embodiment when the first end line is located inside the first edge is described in detail below with reference to fig. 4A to 4C. Specifically, as shown in fig. 4A, after the operation instruction receiving module 29 performs the moving operation on the web content according to the second operation instruction, the detecting module 21 detects that the first end line 251 (upper end line) of the web content 25 is located inside (lower side) the first edge 261 (upper edge) of the display frame 26 of the browser, and the web content 25 can be dragged from the position of fig. 3A to the position of fig. 4A, that is, the first end line 251 of the web content 25 moves from the outer side of the first edge 261 to the inner side of the first edge 261 of the display frame 26, and since the length of the web content 25 is generally greater than the length of the display frame 26 of the browser, the second end line 252 (lower end line) of the web content 25 is generally located outside (lower side) the second edge 262 (lower edge) of the display frame 26 of the browser. At this time, the distance between the first edge 261 and the first end line 251 is smaller than the height of the address bar 27, and the address bar display module 22 displays a part of the address bar 27 between the first end line 251 of the web content 25 and the first edge 261 of the display frame 26 of the browser.
If the web content 25 continues to move downward, that is, the first end line 251 of the web content 25 continues to be away from the first edge 261 of the display frame 26 of the browser, so that the distance between the first edge 261 and the first end line 251 is equal to the height of the address bar 27, then the address bar display module 22 displays the complete address bar 27 between the first end line 251 of the web content 25 and the first edge 261 of the display frame 26 of the browser, as shown in fig. 4B. Since the upper end of the web content 25 is completely displayed, the complete display address bar 27 does not affect the range of the web content 25 viewed by the user. At the same time the user can select to perform other web page operations via the address bar 27. The toolbar display module 23 may further display the toolbar 28 of the browser inside the second edge 262 of the display frame 26 of the browser, so that the user may complete the corresponding web page operation through the cooperative use of the toolbar 28 and the address bar 27.
If the web content 25 continues to move downwards, that is, the first end line 251 of the web content 25 continues to be away from the first edge 261 of the display frame 26 of the browser, so that the distance between the first edge 261 and the first end line 251 is greater than the height of the address bar 27, at this time, the address bar display module 22 displays the complete address bar 27 on the outer side of the first end line 251 adjacent to the web content, and the content between the address bar 27 and the first edge 261 is filled with the margin, which indicates that the web content 25 at the uppermost end is displayed, as shown in fig. 4C specifically.
The control flow of the first preferred embodiment of the browser control apparatus according to the present preferred embodiment when the second end line is located inside the second edge is described in detail below with reference to fig. 5A to 5C. Specifically, as shown in fig. 5A, after the operation instruction receiving module 29 performs the moving operation on the web content according to the third operation instruction, the detecting module 21 detects that the second end line 252 (lower end line) of the web content 25 is located inside (upper side) the second edge 262 (lower edge) of the display frame 26 of the browser, and the web content 25 can be dragged from the position of fig. 3A to the position of fig. 5A, that is, the second end line 252 of the web content 25 moves from the outer side of the second edge 262 of the display frame 26 to the inner side of the second edge 262, because the length of the web content 25 is generally greater than the length of the display frame 26 of the browser, the first end line 251 (upper end line) of the web content 25 is generally located outside (upper side) the first edge 261 (upper edge) of the display frame 26 of the browser. When the distance between the second edge 262 and the second end line 252 is less than the height of the toolbar 28, the toolbar display module 23 displays a portion of the toolbar 28 between the second end line 252 of the web page content 25 and the second edge 262 of the browser's display frame 26.
If the web content 25 continues to move upward, i.e., the second end line 252 of the web content 25 continues to move away from the second edge 262 of the display frame 26 of the browser, such that the distance between the second edge 262 and the second end line 252 is equal to the height of the toolbar 28, the toolbar display module 23 displays the complete toolbar 28 between the second end line 252 of the web content 25 and the second edge 262 of the display frame 26 of the browser, as shown in fig. 5B. Since the lower end of the web content 25 is already fully displayed. The full display of the toolbar 28 does not affect the scope of the user's browsing of the web content 25. While the user may select other web page operations via the toolbar 28. In addition, the address bar display module 22 may also display the address bar 27 of the browser inside the first edge 261 of the display frame 26 of the browser, so that the user can complete the corresponding web page operation through the cooperative use of the toolbar 28 and the address bar 27.
If the web content 25 continues to move upward, i.e., the second end line 252 of the web content 25 continues to move away from the second edge 262 of the display frame 26 of the browser, so that the distance between the second edge 262 and the second end line 252 is greater than the height of the toolbar 28, then the toolbar display module 23 displays the complete toolbar 28 on the outer side of the second end line 252 next to the web content 25, and the content between the toolbar 28 and the second edge 262 is filled with a margin to indicate that the web content 25 at the lowest end has been displayed, as shown in fig. 5C.
The browser control device of the preferred embodiment can automatically display and automatically blank the address bar of the browser and the toolbar of the browser under the condition that any webpage content is large, and can expand the browsing range of the webpage content of the user as much as possible without influencing the operation of the webpage of the user.
Referring to fig. 2 and fig. 6, fig. 6 is a flowchart of a browser control method according to a first preferred embodiment of the present invention. The browser control method according to the present preferred embodiment may be implemented using the first preferred embodiment of the browser control device 20 described above, and includes:
step S601, receiving a first operation instruction for moving the webpage content, and performing moving operation on the webpage content according to the first operation instruction;
step S602, detecting that a first end line and a second end line of the webpage content are positioned at the position of a display bar of a webpage browser;
step S603, if the first endpoint is located outside the first edge and the second endpoint is located outside the second edge, blanking an address bar of the web browser and a toolbar of the web browser at the same time;
step S604, if the first trigger area or the second trigger area of the display frame of the browser receives a user instruction, displaying an address bar of the browser in the first trigger area, and simultaneously displaying a toolbar of the browser in the second trigger area;
in step S605, if the first trigger area or the second trigger area of the display frame of the browser does not receive the user instruction within the set time, the address bar of the browser and the toolbar of the browser are simultaneously blanked.
The following describes in detail the specific flow of each step of the browser control method according to the preferred embodiment.
In step S601, the operation instruction receiving module 29 receives an operation instruction for moving the web content 25 (for example, a user drags the web content 25 on a screen of the mobile terminal), and performs a moving operation on the web content according to a first operation instruction; subsequently, the process goes to step S602.
In step S602, the detection module 21 detects that the first end 251 and the second end 252 of the web content 25 are located at positions of the display frame 26 of the browser, where the first end 251 and the second end 252 are located at two opposite ends of the web content 25, respectively, the display frame 26 includes a first edge 261 and a second edge 262, and the first edge 261 and the second edge 262 are located at two opposite ends of the display frame 26, respectively. The first end line 251 of the web content 25 is closer to the first edge 261 of the display frame 26 than the second end line 252 of the web content 25, and the second end line 252 of the web content 25 is closer to the second edge 262 of the display frame 26 than the first end line 251 of the web content 25. For example, the first end line 251 may be an upper end line of the web content 25, the second end line 252 may be a lower end line of the web content 25, the first edge 261 may be an upper end edge of the display frame 26, and the second edge 262 may be a lower end edge of the display frame 26. If the first end line 261 of the web content 25 is located outside the first edge 261 of the display frame 26 of the browser, and the second end line 252 of the web content 25 is located outside the second edge 262 of the display frame 26 of the browser, go to step S603.
In step S603, if the first end line 251 of the web content 25 is located outside the first edge 261 of the display frame 26 of the browser, and the second end line 252 of the web content 25 is located outside the second edge 262 of the display frame 26 of the browser, in order to enable the user to browse the web content 25 in the largest range, the blanking module 24 simultaneously blanks the address bar 27 of the browser and the toolbar 28 of the browser, where blank means that the address bar and the toolbar of the browser are not displayed or hidden in the display frame of the browser, so as to ensure that the web content in the largest range can be displayed in the display frame of the browser. Subsequently, the process goes to step S604.
In step S604, the display frame 26 of the browser of the preferred embodiment further includes a first trigger area 263 and a second trigger area 264, the first trigger area 263 is closely attached to the inner side of the first edge 261 of the display frame 26, the shape of the first trigger area 263 is the same as the shape of the address bar 27 of the browser, the second trigger area 264 is closely attached to the inner side of the second edge 262 of the display frame 26, and the shape of the second trigger area 264 is the same as the shape of the toolbar 28 of the browser.
If the second trigger area 264 of the display frame 26 of the browser receives the user instruction, the toolbar display module 23 displays the toolbar 28 of the browser in the second trigger area 264. If the first trigger area 263 of the display frame 26 of the browser receives a user instruction, the address bar display module 22 displays the address bar 27 of the browser in the first trigger area 263. In the preferred embodiment, if the first trigger area 263 or the second trigger area 264 of the display frame 26 of the browser receives a user instruction, the address bar 27 of the browser is displayed in the first trigger area 263, and the toolbar 28 of the browser is displayed in the second trigger area 264. Subsequently, the process goes to step S605.
In step S605, if neither the first trigger area 263 nor the second trigger area 264 of the display frame 26 of the browser receives the user instruction within the set time (e.g., 30 seconds), and the first trigger area 261 displays the address bar 27 of the browser and/or the second trigger area 264 displays the toolbar 28 of the browser, which indicates that the user does not need to perform the web page operation through the address bar 27 and the toolbar 28, then the blank module 24 blanks the address bar 27 of the browser and the toolbar 28 of the browser simultaneously to expand the range of the web page content browsed by the user.
The browser control method of the preferred embodiment can automatically blank the address bar of the browser and the tool bar of the browser under the condition that any webpage content is large, and can expand the browsing range of the webpage content of the user as much as possible without influencing the operation of the webpage of the user.
Referring to fig. 2 and 7, fig. 7 is a flowchart illustrating a browser control method according to a second preferred embodiment of the present invention. The browser control method according to the present preferred embodiment may be implemented using the first preferred embodiment of the browser control device 20 described above, and includes:
step S701, receiving a second operation instruction for moving the webpage content, and performing moving operation on the webpage content according to the second operation instruction;
step S702, detecting that a first end line and a second end line of the webpage content are positioned at the position of a display bar of a webpage browser;
step S703, if the first end line moves from the outer side of the first edge to the inner side of the first edge, displaying an address bar of the browser between the first edge and the first end line;
in step S704, when the distance between the first end line and the first edge is greater than or equal to the height of the address bar of the web browser, a toolbar of the web browser is displayed on the inner side of the second edge.
The following describes in detail the specific flow of each step of the browser control method according to the preferred embodiment.
Step S701 is similar to the flow in step S601 in the first preferred embodiment of the browser control method, and please refer to the description in step S601 in the first preferred embodiment of the browser control method.
Step S702 is similar to the flow in step S602 in the first preferred embodiment of the browser control method, and please refer to the description in step S602 in the first preferred embodiment of the browser control method.
In step S703, when the first end line 251 moves from the outside of the first edge 261 of the display frame 26 of the browser to the inside of the first edge 261 of the display frame 26 of the browser, the address bar display module 22 displays the address bar 27 of the browser between the first edge 261 and the first end line 251. If the distance between the first edge 261 and the first end line 251 is less than the height of the address bar 27, the address bar display module 22 displays a portion of the address bar 27 between the first edge 261 and the first end line 251; if the distance between the first edge 261 and the first end line 251 is greater than or equal to the height of the address bar 27 of the browser, the process goes to step S704.
In step S704, if the distance between the first end line 251 of the web content 25 and the first edge 261 of the display frame 26 of the browser is equal to the height of the address bar 27 of the browser, the address bar display module 22 displays the complete address bar 27 between the first edge 261 and the first end line 251. Since the upper end of the web content 25 is completely displayed, the complete display address bar 27 does not affect the range of the web content 25 viewed by the user. At the same time the user can select to perform other web page operations via the address bar 27. In addition, the toolbar display module 23 displays the toolbar 28 of the browser on the inner side of the second edge 262, so that the user can complete the corresponding webpage operation through the cooperative use of the toolbar 28 and the address bar 27.
If the distance between the first end line 251 of the web content 25 and the first edge 261 of the display frame 26 of the browser is greater than the height of the address bar 27 of the browser, the address bar display module 22 displays the complete address bar 27 on the outer side adjacent to the first end line 251, and the content between the address bar 27 and the first edge 261 is filled with a margin to indicate that the web content 25 at the top is displayed.
The browser control method of the preferred embodiment can automatically display the address bar of the browser and the toolbar of the browser under the condition that any webpage content is large, and reduces influence on webpage operation of a user on the basis of expanding the browsing range of the webpage content of the user as much as possible.
Referring to fig. 2 and 8, fig. 8 is a flowchart illustrating a browser control method according to a third preferred embodiment of the present invention. The browser control method according to the present preferred embodiment may be implemented using the first preferred embodiment of the browser control device 20 described above, and includes:
step S801, receiving a third operation instruction for moving the webpage content, and performing moving operation on the webpage content according to the third operation instruction;
step S802, detecting that a first end line and a second end line of the webpage content are positioned at the position of a display bar of a webpage browser;
step S803, if the second end line moves from the outer side of the second edge to the inner side of the second edge, displaying a toolbar of the browser between the second edge and the second end line;
step S804, when the distance between the second end line and the second edge is greater than or equal to the height of the toolbar of the web browser, displaying the address bar of the web browser on the inner side of the first edge.
The following describes in detail the specific flow of each step of the browser control method according to the preferred embodiment.
Step S801 is similar to the flow in step S601 in the first preferred embodiment of the browser control method, and please refer to the description in step S601 in the first preferred embodiment of the browser control method.
Step S802 is similar to the flow in step S602 in the first preferred embodiment of the browser control method, and please refer to the description in step S602 in the first preferred embodiment of the browser control method.
In step S803, when the second end line 252 moves from the outside of the second edge 262 of the display frame 26 of the browser to the inside of the second edge 262 of the display frame 26 of the browser, the toolbar display module 23 displays the toolbar 28 of the browser between the second edge 252 and the second end line 262. If the distance between the second edge 252 and the second end line 262 is less than the height of the toolbar 28, the toolbar display module 23 displays a portion of the toolbar 28 between the second edge 252 and the second end line 262; if the distance between the second edge 252 and the second end line 262 is greater than or equal to the height of the toolbar 28 of the browser, then go to step S804.
In step S804, if the distance between the second end line 252 of the web page content 25 and the second edge 262 of the display frame 26 of the browser is equal to the height of the toolbar 28 of the browser, the toolbar display module 23 displays the complete toolbar 28 between the second edge 262 and the second end line 252. Since the lower end of the web content 25 is completely displayed, the complete display toolbar 28 does not affect the scope of the user's browsing of the web content 25. While the user may select other web page operations via the toolbar 28. In addition, the address bar display module 22 displays the address bar 27 of the browser on the inner side of the first edge 261, so that the user can complete the corresponding webpage operation through the cooperative use of the toolbar 28 and the address bar 27.
If the distance between the second end line 252 of the web content 25 and the second edge 262 of the display frame 26 of the browser is greater than the height of the toolbar 28 of the browser, the toolbar display module 23 displays the complete toolbar 28 immediately outside the second end line 252, and the content between the toolbar 28 and the second edge 262 is filled with a margin, indicating that the lowest web content 25 is displayed.
The browser control method of the preferred embodiment can automatically display the address bar of the browser and the toolbar of the browser under the condition that any webpage content is large, and reduces influence on webpage operation of a user on the basis of expanding the browsing range of the webpage content of the user as much as possible.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a browser control device according to a second preferred embodiment of the present invention. The browser control device 30 of the preferred embodiment may be disposed in the electronic device 112, and the browser control device 30 also includes a detection module 31, an address bar display module 32, a toolbar display module 33, a blanking module 34, and an operation instruction receiving module 39. The browser control device 30 of the present preferred embodiment is different from the first preferred embodiment in that when the first end line 251 of the web content 25 is located outside (upper side) the first edge 261 of the display frame 26 of the browser and the second end line 252 of the web content 25 is located outside (lower side) the second edge 262 of the display frame 26 of the browser, if the position of the web content 25 in the display frame 26 of the browser changes, the blanking module 34 blanks the address bar 27 of the browser and the toolbar 28 of the browser at the same time.
If the user continues to browse the web content 25 after completing the corresponding web page operations through the address bar 27 and the toolbar 28, the position of the web content 25 in the display frame 26 of the browser will be changed, and at this time, the blanking module 34 can blank the address bar 27 and the toolbar 28 of the browser, so that the user can browse the web content 25 in the largest range, and the user will not use the address bar 27 and the toolbar 28 when browsing the web content 25, and therefore the actual use of the user will not be affected.
Therefore, the browser control device of the preferred embodiment can automatically display and automatically blank the address bar of the browser and the toolbar of the browser even when the web page content is large, and can expand the browsing range of the web page content for the user as much as possible without affecting the operation of the user on the web page.
Referring to fig. 9 and 10, fig. 10 is a flowchart illustrating a browser control method according to a fourth preferred embodiment of the present invention. The browser control method according to the present preferred embodiment may be implemented using the second preferred embodiment of the browser control device 90 described above, and includes:
step S1001, receiving a first operation instruction for moving webpage content, and performing moving operation on the webpage content according to the first operation instruction;
step S1002, detecting the positions of a first end line and a second end line of the webpage content on a display frame of a browser;
step S1003, if the first endpoint is positioned at the outer side of the first edge and the second endpoint is positioned at the outer side of the second edge, simultaneously blanking an address bar of the browser and a toolbar of the browser;
step S1004, if a first trigger area or a second trigger area of a display frame of the browser receives a user instruction, displaying an address bar of the browser in the first trigger area, and simultaneously displaying a toolbar of the browser in the second trigger area;
in step S1005, if the position of the web page content in the display frame of the browser changes, the address bar of the browser and the toolbar of the browser are simultaneously blanked.
Steps S1001 to S1004 of the browser control method of the present preferred embodiment are the same as steps S601 to S604 of the browser control method of the first preferred embodiment, and refer to the description of the browser control method of the first preferred embodiment.
In step S1005, if the user continues to browse the web content 25 after completing the corresponding web page operation through the address bar 27 and the toolbar 28, the position of the web content 25 in the display frame 26 of the browser will be changed, and at this time, the blanking module 74 may blank the address bar 27 of the browser and the toolbar 28 of the browser, so that the user can browse the web content 25 in the largest range, and the user does not use the address bar 27 and the toolbar 28 while browsing the web content 25, so the actual use of the user is not affected.
Therefore, the browser control method of the preferred embodiment can automatically blank the address bar of the browser and the toolbar of the browser under the condition that any webpage content is large, and expand the browsing range of the webpage content of the user as much as possible without influencing the operation of the webpage of the user.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a browser control device according to a third preferred embodiment of the present invention. The browser control apparatus 40 according to the preferred embodiment may be disposed in the electronic device 112, and the browser control apparatus 40 also includes a detection module 41, an address bar display module 42, a toolbar display module 43, a blanking module 44, an execution module 45, and an operation instruction receiving module 49.
The operation instruction receiving module 49 receives an operation instruction for moving the web content 25 (for example, a user drags the web content 25 on a screen of the mobile terminal), and performs a moving operation on the web content according to the operation instruction (for example, a first operation instruction, a second operation instruction, and a third operation instruction); the detection module 41 detects that a first end 251 and a second end 252 of the web content 25 are located at positions of a display frame 26 of the browser, where the first end 251 and the second end 252 are located at two opposite ends of the web content 25, respectively, and the display frame 26 includes a first edge 261 and a second edge 262, and the first edge 261 and the second edge 262 are located at two opposite ends of the display frame 26, respectively. The first end line 251 of the web content 25 is closer to the first edge 261 of the display frame 26 than the second end line 252 of the web content 25, and the second end line 252 of the web content 25 is closer to the second edge 262 of the display frame 26 than the first end line 251 of the web content 25. For example, the first end line 251 may be an upper end line of the web content 25, the second end line 252 may be a lower end line of the web content 25, the first edge 261 may be an upper end edge of the display frame 26, and the second edge 262 may be a lower end edge of the display frame 26.
The address bar display module 42 is configured to display the address bar 27 of the browser between the first edge 261 and the first end line 251 if the first end line 251 is located inside the first edge 261 (e.g., the first end line 251 moves from the outside of the first edge 261 to the inside of the first edge 261). If the distance between the first edge 261 and the first end line 251 is greater than the height of the address bar 27, displaying the complete address bar 27 on the outer side adjacent to the first end line 251, and filling the content between the address bar 27 and the first edge 261 with a margin to indicate the displayed uppermost web page content 25; if the distance between the first edge 261 and the first end line 251 is less than the height of the address bar 27, a portion of the address bar 27 is displayed between the first edge 261 and the first end line 251.
If the second end line 252 is located inside the second edge 262 and the distance between the second end line 252 and the second edge 262 is greater than or equal to the height of the browser toolbar 28, the browser address bar 27 is displayed inside the first edge 261.
The toolbar display module 43 is configured to display the toolbar 28 of the browser between the second edge 262 and the second end line 252 if the second end line 252 is located inside the second edge 262 (e.g., the second end line 252 moves from outside the second edge 262 to inside the second edge 262). If the distance between the second edge 262 and the second end line 252 is greater than the height of the toolbar 28, then the entire toolbar 28 is displayed immediately outside of the second end line 252, and the content between the toolbar 28 and the second edge 262 is filled in with a margin, indicating that the lowermost web page content 25 is already displayed; if the distance between the second edge 262 and the second end line 252 is less than the height of the toolbar 28, a partial toolbar is displayed between the second edge 262 and the second end line 252.
If the first end line 251 is located inside the first edge 261 and the distance between the first end line 251 and the first edge 261 is greater than or equal to the height of the address bar 27 of the browser, the toolbar 28 of the browser is displayed inside the second edge 262.
The blanking module 44 is configured to blank the address bar 27 of the browser and the tool bar 28 of the browser simultaneously if the first end line 251 is located outside the first edge 261 and the second end line 252 is located outside the second edge 262.
Preferably, the display frame 26 of the browser of the preferred embodiment further includes a first trigger area 263 and a second trigger area 264, the first trigger area 263 is adjacent to the inner side of the first edge 261 of the display frame 26, the shape of the first trigger area 263 is the same as the shape of the address bar 27 of the browser, the second trigger area 264 is adjacent to the inner side of the second edge 262 of the display frame 26, and the shape of the second trigger area 264 is the same as the shape of the toolbar 28 of the browser.
When the first end line 251 is located outside the first edge 261 and the second end line 252 is located outside the second edge 262, if the first trigger area 264 of the display frame 26 of the browser receives a user instruction, the execution module 45 executes the user instruction at a corresponding position on the address bar 27 of the browser; if the second trigger area 263 of the display frame 26 of the browser receives the user instruction, the execution module 45 executes the user instruction at a corresponding position on the toolbar 28 of the browser.
When the browser control apparatus 40 of the present preferred embodiment is used, the control flow when the first end line 251 of the web content 25 is located inside the first edge 261 of the display frame 26 of the browser (e.g., the first end line 251 moves from the outside of the first edge 261 to the inside of the first edge 261), and the second end line 252 of the web content 25 is located inside the second edge 262 of the display frame 26 of the browser (e.g., the second end line 252 moves from the outside of the second edge 262 to the inside of the second edge 262) is similar to that described in the first preferred embodiment of the browser control apparatus 20 described above.
When the first end line 251 of the web content 25 is located outside the first edge 261 of the display frame 26 of the browser and the second end line 252 of the web content 25 is located outside the second edge 262 of the display frame 26 of the browser. If the user needs to use the address bar 27 to perform a web page operation, the first trigger area 263 of the display frame 26 of the browser may be triggered, that is, a user instruction is sent to the first trigger area 263 of the display frame 26 of the browser, so that the execution module 45 directly executes the user instruction at a corresponding position on the address bar 27 of the browser, and the browsing of the web page content 25 in the first trigger area 263 by the user is not affected in the execution process.
If the user needs to use the toolbar 28 to perform the web page operation, the second trigger area 264 of the display frame 26 of the browser may be triggered, that is, a user instruction is sent to the second trigger area 264 of the display frame 26 of the browser, so that the execution module 45 directly executes the user instruction at a corresponding position on the toolbar 28 of the browser, and the browsing of the web page content 25 in the second trigger area 264 by the user is not affected in the execution process.
The browser control device of the preferred embodiment can automatically blank the address bar of the browser and the tool bar of the browser under the condition that any webpage content is large, and can expand the browsing range of the webpage content of the user as much as possible without influencing the operation of the webpage of the user.
Referring to fig. 11 and 12, fig. 12 is a flowchart illustrating a browser control method according to a fifth preferred embodiment of the present invention. The browser control method according to the present preferred embodiment may be implemented using the third preferred embodiment of the browser control apparatus described above, and includes:
step S1201, receiving a first operation instruction for moving the webpage content, and performing moving operation on the webpage content according to the first operation instruction;
step S1202, detecting that a first end line and a second end line of the webpage content are located at the position of a display frame of the browser;
step S1203, blanking an address bar of the browser and a toolbar of the browser simultaneously if the first endpoint is located outside the first edge and the second endpoint is located outside the second edge;
step S1204, if the first trigger area of the display frame of the browser receives the user instruction, executing the user instruction on the corresponding position on the address bar of the browser; and if the second trigger area of the display frame of the browser receives the user instruction, executing the user instruction at the corresponding position on the toolbar of the browser.
Steps S1201 to S1203 of the browser control method according to the present preferred embodiment are similar to steps S601 to S603 of the browser control method according to the first preferred embodiment, and refer to the description of the browser control method according to the first preferred embodiment.
In step S1204, if the user needs to use the address bar 27 to perform a web page operation, the first trigger area 263 of the display frame 26 of the browser may be triggered, that is, a user instruction is sent to the first trigger area 263 of the display frame 26 of the browser, so that the execution module 45 directly executes the user instruction at a corresponding position on the address bar 27 of the browser, and the browsing of the web page content 25 in the first trigger area 263 by the user is not affected in the execution process.
If the user needs to use the toolbar 28 to perform the web page operation, the second trigger area 264 of the display frame 26 of the browser may be triggered, that is, a user instruction is sent to the second trigger area 264 of the display frame 26 of the browser, so that the execution module 45 directly executes the user instruction at a corresponding position on the toolbar 28 of the browser, and the browsing of the web page content 25 in the second trigger area 264 by the user is not affected in the execution process.
The browser control method of the preferred embodiment can automatically blank the address bar of the browser and the tool bar of the browser under the condition that any webpage content is large, and can expand the browsing range of the webpage content of the user as much as possible without influencing the operation of the webpage of the user.
The following describes a browser control method and a control flow of the browser control apparatus according to the present invention in detail with reference to fig. 13A to 13F.
Firstly, a user loads a webpage on a browser of a mobile terminal;
second, the address bar 1301 of the browser is located on the upper side of the display frame 1302 of the browser, and the toolbar 1303 of the browser is located on the lower side of the display frame 1302 of the browser, as shown in fig. 13A.
Third, the user slides the page, the web page content moves upwards (the user browses downwards), and the address bar 1301 of the browser moves upwards synchronously, and the address bar 1301 of the browser is always located between the upper end line of the web page content and the upper edge of the display frame 1302 of the browser, as shown in fig. 13B.
Fourthly, the user continues to slide the page, the webpage content continues to move upwards (the user browses downwards), the upper end line of the webpage content is overlapped with the upper edge of the display frame 1302 of the browser, at this time, the address bar 1301 of the browser is completely blanked, and meanwhile, the tool bar 1303 of the browser is also completely blanked, as shown in fig. 13C, so that the user can browse the webpage content in the largest range, and the maximization of the visual area of the webpage content is realized.
And fifthly, the user continues to slide the page, the webpage content continues to move upwards (the user browses downwards), and when the lower end line of the webpage content is positioned at the upper side of the lower edge of the display frame 1302 of the browser, a toolbar 1303 of the browser is displayed between the lower end line of the webpage content and the lower edge of the display frame 1302 of the browser, as shown in fig. 13D.
Sixthly, the user continues to slide the page, the webpage content continues to move upwards (the user browses downwards), and when the toolbar 1303 of the browser is completely displayed between the lower end line of the webpage content and the lower edge of the display frame 1302 of the browser, the address bar 1301 of the browser is displayed on the upper side of the display frame 1302 of the browser, as shown in fig. 13E, so that the problem that the address bar 1301 and the toolbar 1303 influence the user to browse the webpage content can be solved well.
Seventhly, if the user clicks the original position of the address bar 1301 or the toolbar 1303 (the upper side (the first trigger area 1304) and the lower side (the second trigger area 1305) of the display frame of the browser) under the condition that the address bar 1301 and the toolbar 1303 of the browser are completely blanked, the corresponding webpage operation (the webpage operation corresponds to the webpage operation of the original address bar 1301 or the toolbar 1303 at the corresponding position) can still be responded, and as shown in fig. 13F, the problem that the webpage browsing efficiency of the user is low can be solved well. Of course, the original positions of the address bar 1301 or the toolbar 1303 may be set to be clicked, and the address bar 1301 and the toolbar 1303 are displayed again, so that the user can perform the web page operation.
The browser control method and the browser control device automatically display and blank the toolbar and the address bar according to the reading habit of a user; the technical problem that the user webpage browsing efficiency in the existing browser control method and browser control device is low is solved.
Each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Each apparatus or system described above may perform the method in the corresponding method embodiment.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.

Claims (15)

1. A browser control method, comprising:
receiving a first operation instruction for moving webpage content, and performing moving operation on the webpage content according to the first operation instruction;
detecting that a first end line and a second end line of the webpage content are positioned at the positions of a display frame of a browser, wherein the first end line and the second end line are respectively positioned at two opposite ends of the webpage content, the display frame comprises a first edge and a second edge, and the first edge and the second edge are respectively positioned at two opposite ends of the display frame;
blanking an address bar of the browser and a toolbar of the browser simultaneously if the first endpoint is located outside the first edge and the second endpoint is located outside the second edge;
receiving a third operation instruction for moving the webpage content, and performing moving operation on the webpage content according to the third operation instruction;
detecting that a first end line and a second end line of the webpage content are positioned at the position of a display frame of a browser;
if the second end line moves from the outer side of the second edge to the inner side of the second edge, displaying a toolbar of the browser between the second edge and the second end line;
and if the second end line moves from the outer side of the second edge to the inner side of the second edge, and the distance between the second end line and the second edge is greater than or equal to the height of the toolbar of the browser, displaying the address bar of the browser adjacent to the inner side of the first edge.
2. The browser control method according to claim 1, comprising:
receiving a second operation instruction for moving the webpage content, and performing moving operation on the webpage content according to the second operation instruction;
detecting that a first end line and a second end line of the webpage content are positioned at the position of a display frame of a browser;
and if the first end line moves from the outer side of the first edge to the inner side of the first edge, displaying an address bar of the browser between the first edge and the first end line.
3. The method according to claim 2, wherein if the first end line moves from the outer side of the first edge to the inner side of the first edge, and the distance between the first end line and the first edge is greater than or equal to the height of the address bar of the browser, a toolbar of the browser is displayed next to the inner side of the second edge.
4. The browser control method according to claim 1, wherein a display frame of the browser includes a first trigger area and a second trigger area, the first trigger area being immediately inside a first edge of the display frame, the second trigger area being immediately inside a second edge of the display frame;
when the first terminal line is located on the outer side of the first edge and the second terminal line is located on the outer side of the second edge, if a first trigger area or a second trigger area of a display frame of the browser receives a user instruction, an address bar of the browser is displayed in the first trigger area, and a toolbar of the browser is displayed in the second trigger area.
5. The method according to claim 4, wherein when the first endpoint is located outside the first edge and the second endpoint is located outside the second edge, if the user instruction is not received in the first trigger area and the second trigger area of the display frame of the browser within a set time, the address bar of the browser and the toolbar of the browser are simultaneously blanked.
6. The method according to claim 4, wherein when the first endpoint is located outside the first edge and the second endpoint is located outside the second edge, if a position of the web content in a display frame of the browser changes, an address bar of the browser and a toolbar of the browser are simultaneously blanked.
7. The browser control method according to claim 1, wherein a display frame of the browser includes a first trigger area and a second trigger area, the first trigger area being immediately inside a first edge of the display frame, the second trigger area being immediately inside a second edge of the display frame;
when the first terminal line is positioned at the outer side of the first edge and the second terminal line is positioned at the outer side of the second edge, if a first trigger area of a display frame of the browser receives a user instruction, executing the user instruction at a corresponding position on an address bar of the browser; and if the second trigger area of the display frame of the browser receives a user instruction, executing the user instruction at a corresponding position on the toolbar of the browser.
8. A browser control apparatus, comprising:
the operation instruction receiving module is used for receiving a first operation instruction for moving webpage content and carrying out moving operation on the webpage content according to the first operation instruction; the mobile terminal is also used for receiving a third operation instruction for moving the webpage content and carrying out mobile operation on the webpage content according to the third operation instruction;
the detection module is used for detecting that a first end line and a second end line of the webpage content are located at the positions of a display frame of a browser, wherein the first end line and the second end line are respectively located at two opposite ends of the webpage content, the display frame comprises a first edge and a second edge, and the first edge and the second edge are respectively located at two opposite ends of the display frame;
a blanking module, configured to blank an address bar of the browser and a toolbar of the browser simultaneously if the first endpoint is located outside the first edge and the second endpoint is located outside the second edge;
a toolbar display module, configured to display a toolbar of the browser between the second edge and the second end line if the second end line moves from an outer side of the second edge to an inner side of the second edge; and
and the address bar display module is used for displaying the address bar of the browser adjacent to the inner side of the first edge if the second end line moves from the outer side of the second edge to the inner side of the second edge and the distance between the second end line and the second edge is greater than or equal to the height of the toolbar of the browser.
9. The browser control apparatus according to claim 8,
the operation instruction receiving module is further configured to receive a second operation instruction for moving the web content, and perform a moving operation on the web content according to the second operation instruction;
the browser control apparatus further includes:
and the address bar display module is used for displaying the address bar of the browser between the first edge and the first end line if the first end line moves from the outer side of the first edge to the inner side of the first edge.
10. The browser control apparatus according to claim 9, further comprising:
and the toolbar display module is used for displaying the toolbar of the browser adjacent to the inner side of the second edge if the first end line moves from the outer side of the first edge to the inner side of the first edge and the distance between the first end line and the first edge is greater than or equal to the height of the address bar of the browser.
11. The browser control device of claim 8, wherein the display frame of the browser comprises a first trigger area and a second trigger area, the first trigger area being immediately inside a first edge of the display frame, the second trigger area being immediately inside a second edge of the display frame;
the toolbar display module is further configured to, when the first endpoint is located outside the first edge and the second endpoint is located outside the second edge, display a toolbar of the browser in a second trigger area of a display frame of the browser if the second trigger area receives a user instruction;
the address bar display module is further configured to, when the first endpoint is located outside the first edge and the second endpoint is located outside the second edge, display the address bar of the browser in a first trigger area of a display frame of the browser if the first trigger area receives a user instruction.
12. The browser control apparatus according to claim 11,
the blanking module is further configured to, when the first endpoint is located outside the first edge and the second endpoint is located outside the second edge, blank an address bar of the browser and a toolbar of the browser simultaneously if the first trigger area and the second trigger area of the display frame of the browser do not receive the user instruction within a set time.
13. The browser control apparatus according to claim 11,
the blanking module is further configured to, when the first endpoint is located outside the first edge and the second endpoint is located outside the second edge, blank an address bar of the browser and a toolbar of the browser simultaneously if a position of the web content in a display frame of the browser changes.
14. The browser control device according to claim 8, wherein the display frame of the browser includes a first trigger area and a second trigger area, the first trigger area is located at a first edge end of the display frame, the shape of the first trigger area is the same as that of the address bar of the browser, the second trigger area is located at a second edge end of the display frame, and the shape of the second trigger area is the same as that of the toolbar of the browser;
the browser control apparatus further includes:
the execution module is used for executing a user instruction on a corresponding position on an address bar of the browser if the first trigger area of a display frame of the browser receives the user instruction when the first terminal line is positioned at the outer side of the first edge and the second terminal line is positioned at the outer side of the second edge; and if the second trigger area of the display frame of the browser receives a user instruction, executing the user instruction at a corresponding position on the toolbar of the browser.
15. A storage medium having stored therein processor-executable instructions, the instructions being loaded by one or more processors to perform the browser control method of any one of claims 1 to 7.
CN201410131992.1A 2014-04-02 2014-04-02 Browser control method and browser control device Active CN104978318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410131992.1A CN104978318B (en) 2014-04-02 2014-04-02 Browser control method and browser control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410131992.1A CN104978318B (en) 2014-04-02 2014-04-02 Browser control method and browser control device

Publications (2)

Publication Number Publication Date
CN104978318A CN104978318A (en) 2015-10-14
CN104978318B true CN104978318B (en) 2020-04-03

Family

ID=54274833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410131992.1A Active CN104978318B (en) 2014-04-02 2014-04-02 Browser control method and browser control device

Country Status (1)

Country Link
CN (1) CN104978318B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975190B (en) * 2016-05-20 2020-05-12 腾讯科技(深圳)有限公司 Graphical interface processing method, device and system
CN108664310A (en) * 2018-05-22 2018-10-16 平安科技(深圳)有限公司 Display box processing method, device, computer equipment and storage medium
CN108984246A (en) * 2018-06-20 2018-12-11 北京优酷科技有限公司 Rendering method, device and the storage medium of toolbar

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008089538A1 (en) * 2007-01-23 2008-07-31 Sxip Identity Corp. Intermediate data generation for transaction processing
CN101419624A (en) * 2008-11-17 2009-04-29 魏新成 Mobile information device and method for browsing web page
CN101588403A (en) * 2009-06-16 2009-11-25 魏新成 Method for browsing web pages on screen of Internet-enabled mobile phone through finger movements
CN101739420A (en) * 2008-11-05 2010-06-16 上海埃帕信息科技有限公司 Browser interface and operation method thereof
CN102314298A (en) * 2010-07-06 2012-01-11 宏碁股份有限公司 Electronic device and method for displaying toolbar
CN103019510A (en) * 2012-11-21 2013-04-03 北京小米科技有限责任公司 Method and device for controlling window
CN103324390A (en) * 2013-06-03 2013-09-25 贝壳网际(北京)安全技术有限公司 Interaction method for page browsing, browser device and mobile terminal
CN103376977A (en) * 2012-04-23 2013-10-30 腾讯科技(深圳)有限公司 Display method and display device for browser
CN103425386A (en) * 2012-05-23 2013-12-04 腾讯科技(深圳)有限公司 Microblog display control method and microblog client side

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060282795A1 (en) * 2004-09-13 2006-12-14 Network Solutions, Llc Domain bar
CN102307265A (en) * 2011-09-28 2012-01-04 魏新成 Corresponding operation on left-and-right drag and drop by finger at different window areas of touch screen mobile phone
CN102750165B (en) * 2012-05-30 2016-04-13 深圳市同洲电子股份有限公司 A kind of browser display method and handheld device
CN103513874B (en) * 2012-06-27 2017-12-19 腾讯科技(深圳)有限公司 The method and device of presentation of information
CN103593116B (en) * 2012-08-15 2018-10-19 腾讯科技(深圳)有限公司 The display of portable terminal toolbar and control method and its device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008089538A1 (en) * 2007-01-23 2008-07-31 Sxip Identity Corp. Intermediate data generation for transaction processing
CN101739420A (en) * 2008-11-05 2010-06-16 上海埃帕信息科技有限公司 Browser interface and operation method thereof
CN101419624A (en) * 2008-11-17 2009-04-29 魏新成 Mobile information device and method for browsing web page
CN101588403A (en) * 2009-06-16 2009-11-25 魏新成 Method for browsing web pages on screen of Internet-enabled mobile phone through finger movements
CN102314298A (en) * 2010-07-06 2012-01-11 宏碁股份有限公司 Electronic device and method for displaying toolbar
CN103376977A (en) * 2012-04-23 2013-10-30 腾讯科技(深圳)有限公司 Display method and display device for browser
CN103425386A (en) * 2012-05-23 2013-12-04 腾讯科技(深圳)有限公司 Microblog display control method and microblog client side
CN103019510A (en) * 2012-11-21 2013-04-03 北京小米科技有限责任公司 Method and device for controlling window
CN103324390A (en) * 2013-06-03 2013-09-25 贝壳网际(北京)安全技术有限公司 Interaction method for page browsing, browser device and mobile terminal

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
"The Galaxy Track Browser: Transforming the genome browser from visualization tool to analysis tool";Jeremy Goecks et al.;《 2011 IEEE Symposium on Biological Data Visualization 》;20111024;全文 *
"基于web页信息隐藏的研究与实现";顾流 等;《微计算机信息》;20061029;全文 *
"通过JS自动隐藏手机浏览器的地址栏";hbcui1984;《https://blog.csdn.net/hbcui1984/article/details/8350107》;20121220;全文 *
"通过JS自动隐藏手机浏览器的地址栏";iteye_6481;《https://blog.csdn.net/iteye_6481/article/details/82450361》;20121220;全文 *
"通过JS自动隐藏手机浏览器的地址栏";如果蜗牛有爱情;《https://www.cnblogs.com/hehe520/archive/2012/12/20/6330182.html》;20121220;全文 *
"通过JS自动隐藏手机浏览器的地址栏实现原理与代码";脚本之家;《https://www.jb51.net/article/32943.htm》;20130102;第1-2页 *
脚本之家."通过JS自动隐藏手机浏览器的地址栏实现原理与代码".《https://www.jb51.net/article/32943.htm》.2013, *

Also Published As

Publication number Publication date
CN104978318A (en) 2015-10-14

Similar Documents

Publication Publication Date Title
US9383916B2 (en) Dynamic image presentation
KR102384130B1 (en) Hover-based interaction with rendered content
US9015618B2 (en) Methods and apparatus for processing application windows
US11460988B2 (en) Method of styling content and touch screen device for styling content
CN104360797A (en) Content display method and system for electronic equipment
US10318605B2 (en) Method and device for relocating input box to target position in mobile terminal browser, storage medium
CN109074375B (en) Content selection in web documents
CN104267871A (en) Method for rendering pages and device thereof
KR102399588B1 (en) Apparatus AND method for DISPLAYING application
CN108459781B (en) Input box display control method and device and user terminal
US20160154564A1 (en) Electronic device and method for providing desktop user interface
KR20150095540A (en) User terminal device and method for displaying thereof
KR20200104899A (en) Digital component background rendering
CN104978318B (en) Browser control method and browser control device
CN103870191A (en) Method and electronic equipment for saving webpage
US20140359516A1 (en) Sensing user input to change attributes of rendered content
CN105320432A (en) Scroll bar display method and apparatus
US20160196240A1 (en) Method of displaying content and electronic device implementing same
US20130215155A1 (en) Visualization information bar
US20160062601A1 (en) Electronic device with touch screen and method for moving application functional interface
KR102297903B1 (en) Method for displaying web browser and terminal device using the same
US20150058710A1 (en) Navigating fixed format document in e-reader application
KR20150102991A (en) Managing tab buttons
KR101294458B1 (en) Apparatus and method of inputting text in mobile device
WO2018137470A1 (en) User terminal and webpage image resource loading device and method, storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221118

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518,101

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.