CN103870509B - Browser resource storage method and terminal equipment - Google Patents

Browser resource storage method and terminal equipment Download PDF

Info

Publication number
CN103870509B
CN103870509B CN201210550117.8A CN201210550117A CN103870509B CN 103870509 B CN103870509 B CN 103870509B CN 201210550117 A CN201210550117 A CN 201210550117A CN 103870509 B CN103870509 B CN 103870509B
Authority
CN
China
Prior art keywords
browser
resource
resources
storage address
stored
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
CN201210550117.8A
Other languages
Chinese (zh)
Other versions
CN103870509A (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.)
Tencent Technology Wuhan Co Ltd
Original Assignee
Tencent Technology Wuhan 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 Wuhan Co Ltd filed Critical Tencent Technology Wuhan Co Ltd
Priority to CN201210550117.8A priority Critical patent/CN103870509B/en
Publication of CN103870509A publication Critical patent/CN103870509A/en
Application granted granted Critical
Publication of CN103870509B publication Critical patent/CN103870509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions

Landscapes

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

Abstract

The invention relates to the technical field of computers, and discloses a browser resource storage method and terminal equipment, wherein the method comprises the following steps: detecting an operation aiming at a browser resource, wherein the browser resource at least comprises a webpage picture of a browser; identifying the type of the input operation aiming at the browser resource, if the type of the operation is clicking, judging whether the clicking time length meets a set time threshold value, and if the clicking time length meets the set time threshold value, storing the browser resource to a preset default storage address in the browser. The embodiment of the invention can simplify the storage operation of the browser resources, shorten the storage time and reduce the visual fatigue of an operator.

Description

Browser resource storage method and terminal equipment
Technical Field
The invention relates to the technical field of computers, in particular to a browser resource storage method and terminal equipment.
Background
Currently, a browser displays a web page picture in a purely static display manner on a Personal Computer (PC) or a mobile phone. When the webpage pictures need to be stored, an operator needs to select the webpage pictures first, then the selected webpage pictures (namely, a PC) are right-clicked or long-pressed to display the selection attributes, a corresponding storage function is selected from the selection attributes, then the storage addresses of the webpage pictures are selected, and the storage of the webpage pictures can be completed after the storage is determined.
In practice, it is found that the storage operation of the web page pictures is not only complicated, but also needs a long storage time and a long time of visual concentration when an operator completes the storage operation of all the web page pictures when a large number of web page pictures need to be stored, which is easy to cause visual fatigue.
Disclosure of Invention
The embodiment of the invention provides a browser resource storage method and terminal equipment, which can simplify storage operation, shorten storage time and reduce visual fatigue of an operator.
The embodiment of the invention provides a browser resource storage method, which comprises the following steps:
acquiring operation aiming at browser resources, wherein the browser resources at least comprise webpage pictures of a browser;
identifying the type of the input operation aiming at the browser resource, if the type of the operation is clicking, judging whether the clicking time length meets a set time threshold value, and if the clicking time length meets the set time threshold value, storing the browser resource to a preset default storage address in the browser.
The embodiment of the invention provides a terminal device, which comprises an acquisition unit, an identification unit, a first judgment unit and a storage unit, wherein:
the acquisition unit is used for acquiring input operation aiming at browser resources, and the browser resources at least comprise webpage pictures of the browser;
the identification unit is used for identifying the type of the input operation aiming at the browser resource;
the first judging unit is used for judging whether the clicking time length meets a set time threshold value or not when the identifying unit identifies that the operation type is clicking;
and the storage unit is used for storing the browser resources to a preset default storage address in the browser when the judgment result of the first judgment unit is yes.
In the embodiment of the invention, after the terminal device detects the operation aiming at the browser resource, the type of the input operation aiming at the browser resource can be firstly identified, when the type of the operation is clicking, whether the clicking time length meets the set time threshold value or not is further judged, and if the clicking time length meets the set time threshold value, the browser resource is stored in the default storage address preset in the browser. Therefore, through the embodiment of the invention, the user can realize the storage of the browser resources only by clicking the browser resources to meet the set time threshold value.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a browser resource storage method according to an embodiment of the present invention;
FIG. 2 is a flowchart of another browser resource storage method according to an embodiment of the present invention;
fig. 3 is a structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a browser resource storage method and terminal equipment, which can simplify the storage operation of browser resources, remarkably shorten the storage time and reduce the visual fatigue of an operator. The following are detailed below.
Referring to fig. 1, fig. 1 is a flowchart illustrating a browser resource storage method according to an embodiment of the present invention. As shown in fig. 1, the browser resource storage method may include the following steps.
101. The method comprises the steps of obtaining operation aiming at browser resources, wherein the browser resources at least comprise webpage pictures of a browser.
In the embodiment of the present invention, the browser resources may include, in addition to the web page pictures of the browser, texts, audio, video, and even characters of the browser, which is not limited in the embodiment of the present invention.
In one embodiment, the terminal device may detect an operation of the browser resource by a user input by a finger or by a stylus on a touch screen thereof. In another embodiment, the terminal device may also detect an operation for the browser resource input by the user through a mouse.
In this embodiment of the present invention, the type of the operation on the browser resource input may include clicking, sliding, and the like on the browser, which is not limited in this embodiment of the present invention.
102. Identifying the type of the input operation aiming at the browser resource, and if the type of the operation is clicking, executing step 103; if the type of operation is a swipe, step 104 is performed.
In the embodiment of the present invention, a specific process of the terminal device identifying the input operation type for the browser resource is common knowledge of those skilled in the art, and details of the embodiment of the present invention are not described herein.
103. Judging whether the click duration meets a set time threshold, and if so, executing step 106; if the set time threshold is not met, the process returns to step 101.
104. Judging whether the sliding direction meets the set direction, if so, executing step 105; if the setting direction is not satisfied, the process returns to step 101.
For example, the terminal device may determine whether the sliding direction for the browser resource is to slide up to the top toolbar of the browser (i.e., the set direction), and if so, the terminal device performs step 105; if not, the terminal device continues to perform step 101.
For example, the terminal device may also determine whether the sliding direction for the browser resource is to slide down to the bottom toolbar of the browser (i.e., the set direction), and if so, the terminal device executes step 105; if not, the terminal device continues to perform step 101.
In the embodiment of the present invention, the setting direction may be other directions, and the embodiment of the present invention is not limited.
105. Judging whether the sliding distance meets the set length, if so, executing step 106; if the set length is not satisfied, the process returns to step 101.
106. And storing the browser resources to a preset default storage address in the browser.
In an embodiment, the step 106 of storing the browser resource in the browser at the preset default storage address may specifically be:
judging whether the browser resources are stored in a default storage address preset in the browser, and if not, storing the browser resources to the default storage address preset in the browser; or if the browser resource is stored, prompting that the browser resource is stored, and outputting a selection item, wherein the selection item comprises an covering item and a non-covering item; and storing the browser resources to a preset default storage address in the browser according to the selected option.
In another embodiment, the step 106 of storing the browser resource in the browser at the preset default storage address may specifically be:
prompting a user whether to allow the browser resource to be stored in a preset default storage address in the browser, if the user inputs an allowed operation, judging whether the browser resource is stored in the preset default storage address in the browser, and if the browser resource is not stored, storing the browser resource in the preset default storage address in the browser; or if the browser resource is stored, prompting that the browser resource is stored, and outputting a selection item, wherein the selection item comprises an covering item and a non-covering item; and storing the browser resources to a preset default storage address in the browser according to the selected option.
In the embodiment of the invention, the user names the browser resources when trying to store the browser resources, and correspondingly, the terminal device can judge whether the browser resources are stored in the default storage address preset in the browser according to the names of the browser resources. For example, if the terminal device determines that the browser resource with the name identical to the name of the browser resource that the user tries to store is stored in the default storage address preset in the browser, it indicates that the browser resource that the user tries to store is already stored, and otherwise, it indicates that the browser resource that the user tries to store is not stored.
In the embodiment of the present invention, the default storage address preset in the browser may be not only a local storage address of the terminal device, but also a network hard disk address, a micro cloud storage space address, and the like.
In the embodiment of the present invention, the terminal device may further preset a default storage address, which is input by the user and used for storing the browser resource, in the function attribute of the browser.
In the browser resource storage method described in fig. 1, a user can store the browser resources only by simply clicking or sliding, and compared with the prior art, the browser resource storage method described in fig. 1 can simplify the storage operation of the browser resources, significantly reduce the storage time, and reduce the visual fatigue of the operator.
Referring to fig. 2, fig. 2 is a flowchart illustrating another browser resource storage method according to an embodiment of the present invention. Fig. 2 illustrates an example in which a terminal device is a touch-screen mobile phone and a browser freely serves as a web page picture, and details of a browser resource storage method provided by the embodiment of the present invention are described in detail. As shown in fig. 2, the browser resource storing method may include the following steps.
201. The touch screen mobile phone obtains the operation aiming at the webpage picture input by the user through the touch screen.
202. The touch screen mobile phone identifies the type of an input operation aiming at the webpage picture, and if the type of the operation is touch screen clicking, step 203 is executed; if the type of operation is a touch screen swipe, step 205 is performed.
203. And extracting the duration of the touch screen click by the touch screen mobile phone, and executing step 204.
204. The touch screen mobile phone judges whether the time length of the touch screen click meets a set time threshold, if so, step 209 is executed; if the set time threshold is not met, the process returns to step 201.
205. The touch screen mobile phone determines the touch screen sliding direction and executes step 206.
206. The touch screen mobile phone judges whether the sliding direction of the touch screen meets the set direction, if so, step 207 is executed; if the setting direction is not satisfied, the process returns to step 201.
207. The touch screen mobile phone calculates the sliding distance of the touch screen.
In the embodiment of the present invention, a specific process of calculating a sliding distance of a touch screen by a touch screen mobile phone is common knowledge of those skilled in the art, and details of the embodiment of the present invention are not described herein.
208. The touch screen mobile phone judges whether the sliding distance of the touch screen meets the set length, if so, step 209 is executed; if the set length is not satisfied, the process returns to step 201.
209. The touch screen mobile phone stores the browser resources to a preset default storage address in the browser.
In the browser resource storage method described in fig. 2, a user only needs to simply click or slide to store the web page picture, and the readability of the web page picture itself is not affected, and meanwhile, the browser resource storage method has a smoother operation experience. Compared with the prior art, the browser resource storage method described in fig. 2 can simplify the storage operation of browser resources, significantly reduce storage time, and reduce visual fatigue of operators.
Referring to fig. 3, fig. 3 is a structural diagram of a terminal device according to an embodiment of the present invention. The terminal device provided by the embodiment of the invention comprises but is not limited to a touch screen Mobile phone, a tablet computer, a PC (personal computer), an intelligent terminal and other Mobile Internet Devices (MID). As shown in fig. 3, the terminal device may include an acquisition unit 301, an identification unit 302, a first judgment unit 303, and a storage unit 304, wherein:
an obtaining unit 301, configured to obtain an input operation for a browser resource, where the browser resource includes at least a web page picture of a browser.
An identifying unit 302, configured to identify a type of an input operation for a browser resource.
A first judging unit 303, configured to, when the identifying unit 302 identifies that the type of the operation is a click, judge whether a duration of the click satisfies a set time threshold, and if the duration satisfies the set time threshold, start the storing unit 304;
the storage unit 304 is configured to store the browser resource to a default storage address preset in the browser after responding to the start of the first determining unit 303.
In one embodiment, the terminal device shown in fig. 3 may further include:
a second determination unit 305 configured to determine whether a direction of the sliding satisfies a set direction when the recognition unit 302 recognizes that the type of the operation is the sliding, determine whether a distance of the sliding satisfies a set length if the set direction is satisfied, and activate the storage unit 304 if the set length is satisfied;
the storage unit 304 is further configured to store the browser resource to a default storage address preset in the browser after responding to the start of the second determining unit 305.
In one embodiment, the terminal device shown in fig. 3 may further include:
a storage address presetting unit 306, configured to preset the input default storage address for storing the browser resource in the functional attribute of the browser.
In this embodiment of the present invention, the storage unit 304 is specifically configured to determine whether the browser resource is stored in a default storage address preset in the browser after responding to the start of the first determining unit 303 or after responding to the start of the second determining unit 305, and if not, store the browser resource to the default storage address preset in the browser; or if the browser resource is stored, prompting that the browser resource is stored, and outputting a selection item, wherein the selection item comprises covering and uncovering; and storing the browser resources to a preset default storage address in the browser according to the selected option.
In this embodiment of the present invention, the storage unit 304 is specifically configured to prompt a user whether to allow the browser resource to be stored in a default storage address preset in the browser after responding to the start of the first determining unit 303 or after responding to the start of the second determining unit 305, determine whether the browser resource is already stored in the default storage address preset in the browser if an allowing operation input by the user is received, and store the browser resource in the default storage address preset in the browser if the browser resource is not stored; or if the browser resource is stored, prompting that the browser resource is stored, and outputting a selection item, wherein the selection item comprises covering and uncovering; and storing the browser resources to a preset default storage address in the browser according to the selected option.
In the terminal device described in fig. 3, the user can store the web page picture only by simply clicking or sliding, and the readability of the web page picture itself is not affected, and meanwhile, the terminal device has a smoother operation experience. Compared with the prior art, the terminal device described in fig. 3 can simplify the storage operation of the browser resources, significantly reduce the storage time, and reduce the visual fatigue of the operator.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing describes in detail a browser resource storage method and a terminal device provided in an embodiment of the present invention, and a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the foregoing embodiment is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (7)

1. A browser resource storage method is characterized by comprising the following steps:
obtaining an operation for a browser resource, wherein the browser resource at least comprises a webpage picture of a browser, and the browser resource further comprises at least one of the following: text, audio, video and characters of the browser;
identifying the type of an input operation aiming at browser resources, and if the type of the operation is clicking, judging whether the clicking time length meets a set time threshold value;
if the preset time threshold is met, prompting a user whether to allow the browser resources to be stored in a preset default storage address in the browser, if the user inputs an allowed operation, judging whether the browser resources are stored in the preset default storage address in the browser, and if the browser resources are not stored, storing the browser resources to the preset default storage address in the browser; or if the browser resources are stored, prompting that the browser resources are stored, and outputting a selection item, wherein the selection item comprises covering and uncovering;
and storing the browser resources to a preset default storage address in the browser according to the selected option, wherein the preset default storage address comprises a network hard disk address or a micro-cloud storage space address.
2. The method of claim 1, further comprising:
if the operation type is sliding, judging whether the sliding direction meets a set direction, if so, judging whether the sliding distance meets a set length, and if so, storing the browser resources to a preset default storage address in the browser.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
presetting an input default storage address for storing browser resources in the functional attribute of the browser.
4. A terminal device is characterized by comprising an acquisition unit, an identification unit, a first judgment unit and a storage unit, wherein:
the acquiring unit is configured to acquire an operation for a browser resource, where the browser resource at least includes a web page picture of the browser, and the browser resource further includes at least one of: text, audio, video and characters of the browser;
the identification unit is used for identifying the type of the input operation aiming at the browser resource;
the first judging unit is used for judging whether the clicking time length meets a set time threshold value or not when the identifying unit identifies that the operation type is clicking;
the storage unit is configured to prompt a user whether to allow the browser resource to be stored in a default storage address preset in the browser when a determination result of the first determination unit is yes, determine whether the browser resource is already stored in the default storage address preset in the browser if an operation allowed by a user is received, and store the browser resource in the default storage address preset in the browser if the browser resource is not stored; or if the browser resources are stored, prompting that the browser resources are stored, and outputting a selection item, wherein the selection item comprises covering and uncovering; storing the browser resources to a preset default storage address in the browser according to the selected option; the preset default storage address comprises a network hard disk address or a micro cloud storage space address.
5. The terminal device according to claim 4, wherein the terminal device further comprises:
a second judging unit, configured to judge whether a direction of the sliding satisfies a set direction when the identifying unit identifies that the type of the operation is the sliding, and if the direction satisfies the set direction, judge whether a distance of the sliding satisfies a set length;
the storage unit is further configured to store the browser resource to a default storage address preset in the browser when the determination result of the second determination unit is yes.
6. The terminal device according to claim 4 or 5, wherein the terminal device further comprises:
and the storage address presetting unit is used for presetting the input default storage address for storing the browser resources in the functional attributes of the browser.
7. A computer-readable storage medium, characterized in that a program for executing the browser resource storage method according to any one of claims 1 to 3 is stored in the computer-readable storage medium.
CN201210550117.8A 2012-12-17 2012-12-17 Browser resource storage method and terminal equipment Active CN103870509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210550117.8A CN103870509B (en) 2012-12-17 2012-12-17 Browser resource storage method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210550117.8A CN103870509B (en) 2012-12-17 2012-12-17 Browser resource storage method and terminal equipment

Publications (2)

Publication Number Publication Date
CN103870509A CN103870509A (en) 2014-06-18
CN103870509B true CN103870509B (en) 2021-06-25

Family

ID=50909050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210550117.8A Active CN103870509B (en) 2012-12-17 2012-12-17 Browser resource storage method and terminal equipment

Country Status (1)

Country Link
CN (1) CN103870509B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573635A (en) * 2014-10-09 2016-05-11 阿里巴巴集团控股有限公司 Network information storage method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4712722B2 (en) * 2004-10-22 2011-06-29 株式会社Access Parameter setting and storage method
CN101763357B (en) * 2008-11-13 2016-09-14 北京搜狗科技发展有限公司 A kind of method and system for browser to load internet resources
CN101751207A (en) * 2008-12-12 2010-06-23 康佳集团股份有限公司 Method and device for controlling picture display at mobile terminal of touch screen, and mobile terminal
CN101882160B (en) * 2010-06-29 2012-09-12 宇龙计算机通信科技(深圳)有限公司 Web page management method and mobile terminal
JP2012137929A (en) * 2010-12-27 2012-07-19 Sony Corp Display apparatus, display method, and program

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
[Chrome]I’m a Gentleman – 快速下载网页图片;scavin;《https://www.appinn.com/im-a-gentleman-chrome-picture-download/》;20120721;第2-3页 *
Easy DragToGo+ —— 强大拖拽手势;怪兽工程师:before 千年狐妖;《http://mozilla.com.cn/thread-30318-1-1.html》;20100722;第1-2页 *
GreenBrowser浏览器的存图技巧;第二电脑网;《http://www.002pc.com/pcedu/software/Network/2008-12-14/7428.html》;20120307;第1-2页 *
简单鼠标拖拽;不填海的精卫;《https://addons.mozilla.org/en-US/firefox/addon/%E7%AE%80%E5%8D%95%E9%BC%A0%E6%A0%87%E6%8B%96%E6%8B%BD/》;20120802;第1-3页 *

Also Published As

Publication number Publication date
CN103870509A (en) 2014-06-18

Similar Documents

Publication Publication Date Title
US11079908B2 (en) Method and apparatus for adding icon to interface of android system, and mobile terminal
CN106484266B (en) Text processing method and device
US9886430B2 (en) Entity based content selection
CN104090762B (en) Screenshot processing device and method
CN105320417B (en) Page switching method and client
CN106325688B (en) Text processing method and device
CN104090761B (en) A kind of sectional drawing application apparatus and method
EP2854372A1 (en) Method and device for displaying pushed information
US20150052431A1 (en) Techniques for image-based search using touch controls
US11010211B2 (en) Content processing across applications
US9934206B2 (en) Method and apparatus for extracting web page content
CN105389173B (en) Interface switching display method and device based on long connection task
KR20140091555A (en) Measuring web page rendering time
US20180239777A1 (en) Method and apparatus for dissolving folder and mobile terminal
KR20160138279A (en) Method and device for operating target application on corresponding equipment
CN104571866A (en) Screen capture method
CN103838486B (en) The operating method and terminal of a kind of terminal display page
CN106598410A (en) Display method, device and terminal equipment of electronic book
US20150213148A1 (en) Systems and methods for browsing
CN111158841A (en) Page jump method, page jump creation method, device and terminal equipment
US9565259B2 (en) Method and apparatus for outputting recognizable identifier
CN106843559B (en) User instruction identification and processing method and device
US10254940B2 (en) Modifying device content to facilitate user interaction
CN103870509B (en) Browser resource storage method and terminal equipment
US20170277722A1 (en) Search service providing apparatus, system, method, and computer program

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