CN103095801A - Method and device for processing resources automatically with Internet explorer - Google Patents

Method and device for processing resources automatically with Internet explorer Download PDF

Info

Publication number
CN103095801A
CN103095801A CN2012105266002A CN201210526600A CN103095801A CN 103095801 A CN103095801 A CN 103095801A CN 2012105266002 A CN2012105266002 A CN 2012105266002A CN 201210526600 A CN201210526600 A CN 201210526600A CN 103095801 A CN103095801 A CN 103095801A
Authority
CN
China
Prior art keywords
resource file
processed
resource
threshold
browser
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.)
Granted
Application number
CN2012105266002A
Other languages
Chinese (zh)
Other versions
CN103095801B (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.)
Beijing aoyi Xiaosheng Technology Co.,Ltd.
Original Assignee
MAXTHON INTERNATIONAL 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 MAXTHON INTERNATIONAL Ltd filed Critical MAXTHON INTERNATIONAL Ltd
Priority to CN201210526600.2A priority Critical patent/CN103095801B/en
Publication of CN103095801A publication Critical patent/CN103095801A/en
Application granted granted Critical
Publication of CN103095801B publication Critical patent/CN103095801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for processing resources automatically with an Internet explorer. The method and the device are capable of processing network resource files automatically according to service environment such as network access and memory space. The method for processing resources automatically with Internet explorer includes the following steps: S1, establishing and maintaining processing rules which are operated on displayed resource files or linked resource files on the Internet explorer, S2, processing the pending resource files corresponding to processing instructions according to the processing rules in S1 when the Internet explorer receives the processing instructions. According to the technical scheme, displayed resource files or linked resource files on the Internet explorer can be processed automatically according to the access way, access bandwidth and local available memory space of current Internet and the like.

Description

A kind ofly use the method and apparatus that browser is processed resource automatically
Technical field
The present invention relates to the internet, applications field, relate in particular to a kind of method and apparatus that browser is processed resource automatically of using.
Background technology
use at present mobile phone or mobile device more and more by the user of 2G or 3G accessing Internet, the netizen who even has has substantially exceeded the time of surfing the Net with computer (desktop computer or notebook computer) with the time of surfing Internet with cell phone, because surfing Internet with cell phone is very convenient, can be whenever and wherever possible, open any browser just can be surfed the Net, but the 2G that provides due to the mobile telecommunication service business or the service of 3G accessing Internet are normally by flow or duration based accounting, so just need to take some modes of saving flow to reduce expenses when generally using 2G or 3G online, but present mobile phone or mobile device generally all have the wifi function, just can use easily mobile phone to surf the Net by wifi and only need to connect a wireless router to cable broadband, and because cable broadband is all generally not limit flow in unlimited time, so just need not consider to have saved the problem of flow.Therefore, just brought no small puzzlement for the user with mobile phone or mobile device online, because during the online of the browser on using mobile phone, see the Internet resources that value for preservation arranged very much or be worth very much sharing with the good friend, when preparing to download preservation or being shared with the good friend, must first go to check oneself be the problems such as what access way of use and memory space be enough, then goes resource file is done respective handling, thereby very loaded down with trivial details.
Summary of the invention
The object of the present invention is to provide a kind of can be according to environments for use such as network insertion, memory spaces, the Internet resources file is carried out a kind of of processing automatically use the method and apparatus that browser is processed resource automatically, thereby solve the foregoing problems that exists in prior art.
To achieve these goals, the technical solution used in the present invention is as follows:
A kind ofly use the method that browser is processed resource automatically, comprise the steps:
S1 creates and safeguards processing rule for the resource file of the resource file that shows in browser or link;
S2 when described browser receives processing instruction, uses the processing rule described in S1, and the pending resource file that described processing instruction is corresponding is processed.
Preferably, further comprising the steps of after S1:
Obtain current internet access way, access bandwidth and local free memory.
Preferably, the processing rule described in S1 is:
According to current internet access way, access bandwidth and local free memory, and the size of pending resource file, determine to take which kind of processing mode for described pending resource file.
Preferably, the processing rule described in S1 is specially:
According to different interconnection network access modes, access bandwidth and local free memory, for resource file size difference preset first threshold value and Second Threshold;
When judgement current internet access way or access bandwidth or the described first threshold of the suitable use of local free memory, the size of using first threshold and described resource file compares, if described resource file size is greater than described first threshold, adopt long-range share or the mode of remote download is processed described resource file, if the resource file size is less than described first threshold, adopt local uploading to share or the local mode of preserving of downloading is processed described resource file;
When judgement current internet access way is fit to use described Second Threshold and access band to be fit to use described Second Threshold and local free memory to be fit to use described first threshold, the size of using Second Threshold and described resource file compares, if the resource file size is greater than described Second Threshold, adopt long-range share or the mode of remote download is processed described resource file, if the resource file size is less than described Second Threshold, adopt local uploading to share or the local mode of preserving of downloading is processed described resource file.
Preferably, also have following steps before S2:
Obtain the file size of the corresponding pending resource file of described processing instruction.
Preferably, described browser is web browser.
Preferably, described resource comprises data file and/or picture and/or video display and/or music and/or text.
A kind ofly use the device that browser is processed resource automatically, comprising:
The processing rule maintenance module is used for creating and safeguards the processing rule of the resource file of the resource file that shows for browser or link;
Processing instruction receives Executive Module, is used for the reception ﹠ disposal instruction, and carries out described processing instruction pending resource file corresponding to described processing instruction processed, and uses described processing rule during processing.
Preferably, the described application browser device of automatically processing resource also comprises:
The current environment acquisition module is used for obtaining current internet access way, access bandwidth and local free memory.
Preferably, the described application browser device of automatically processing resource also comprises:
Resource file acquiring size module is used for obtaining the file size of the corresponding pending resource file of described processing instruction.
The invention has the beneficial effects as follows:
By adopting technical scheme of the present invention, can be according to situations such as current internet access way, access bandwidth and local free memories, the resource file that the link that shows in the resource file that shows in browser or browser is linked to is processed automatically.When the user uses the 2G press flow or duration based accounting, 3G network accessing Internet, can guarantee to save to greatest extent flow and networking time in time remote download preservation or network resource sharing file.Can in time be saved in this locality to resource file again when the user uses the access way online of limit flow not or duration, thereby easier real-time edition uses, also can not give to share and cause obstruction.
Description of drawings
Fig. 1 is the method step flow chart that application browser of the present invention is processed resource automatically.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing, the present invention is further elaborated.Should be appreciated that embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, application browser disclosed by the invention is processed the method for resource automatically, comprises the steps:
S1 creates and safeguards processing rule for the resource file of the resource file that shows in browser or link; Described processing rule is: according to current internet access way, access bandwidth and local free memory, and the size of pending resource file, determine to take which kind of processing mode for described pending resource file.
Obtain current internet access way, access bandwidth and local free memory.
Processing rule described in S1 is specially:
According to different interconnection network access modes, access bandwidth and local free memory, for resource file size difference preset first threshold value and Second Threshold;
when judgement current internet access way or access bandwidth or the described first threshold of the suitable use of local free memory, when being 3G network or 2G network or access bandwidth less than 1M or local free memory less than 2GB such as the current internet access way, the size of using first threshold and described resource file compares, if described resource file size is greater than described first threshold, adopt long-range share or the mode of remote download is processed described resource file, if the resource file size is less than described first threshold, adopt local uploading to share or the local mode of preserving of downloading is processed described resource file,
when judgement current internet access way is fit to use described Second Threshold and access band to be fit to use described Second Threshold and local free memory to be fit to use described first threshold, when being cable broadband or wifi mode and access band greater than 1M and local free memory greater than 2GB such as the current internet access way, the size of using Second Threshold and described resource file compares, if the resource file size is greater than described Second Threshold, adopt long-range share or the mode of remote download is processed described resource file, if the resource file size is less than described Second Threshold, adopt local uploading to share or the local mode of preserving of downloading is processed described resource file.
Obtain the file size of the corresponding pending resource file of described processing instruction.
S2 when described browser receives processing instruction, uses the processing rule described in S1, and the pending resource file that described processing instruction is corresponding is processed.
Browser described in the present invention is web browser.
Described resource file comprises data file and/or picture and/or video display and/or music and/or text etc.
As shown in Figure 2, application browser disclosed by the invention is processed the device of resource automatically, comprising:
The processing rule maintenance module is used for creating and safeguards the processing rule of the resource file of the resource file that shows for browser or link;
Processing instruction receives Executive Module, is used for the reception ﹠ disposal instruction, and carries out described processing instruction pending resource file corresponding to described processing instruction processed, and uses described processing rule during processing.
The current environment acquisition module is used for obtaining current internet access way, access bandwidth and local free memory.
Resource file acquiring size module is used for obtaining the file size of the corresponding pending resource file of described processing instruction.
Described remote download, refer to send instruction by browser to remote server, download the Internet resources of appointment and preserve by remote server, only need to pass to the good friend to remote server for the link of sharing that is kept at the file generated on server when sharing.Thereby do not need first the Internet resources file first to be downloaded to this locality, then send the good friend to.So both saved the trouble of downloading, saved flow, and also can not link because of only sharing an original document, and cause the embarrassment that to share after the original document link fails.
By adopting technique scheme disclosed by the invention, obtained following useful effect:
Can be according to situations such as current internet access way, access bandwidth and local free memories, the resource file that the link that shows in the resource file that shows in browser or browser is linked to is processed automatically.When the user uses the 2G press flow or duration based accounting, 3G network accessing Internet, can guarantee to save to greatest extent flow and networking time in time remote download preservation or network resource sharing file.Can in time be saved in this locality to resource file again when the user uses the access way online of limit flow not or duration, thereby easier real-time edition uses, also can not give to share and cause obstruction.
The above is only the preferred embodiment of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be looked protection scope of the present invention.

Claims (10)

1. use the method that browser is processed resource automatically for one kind, it is characterized in that, comprise the steps:
S1 creates and safeguards processing rule for the resource file of the resource file that shows in browser or link;
S2 when described browser receives processing instruction, uses the processing rule described in S1, and the pending resource file that described processing instruction is corresponding is processed.
2. application browser according to claim 1 is processed the method for resource automatically, it is characterized in that, and is further comprising the steps of after S1:
Obtain current internet access way, access bandwidth and local free memory.
3. application browser according to claim 1 is processed the method for resource automatically, it is characterized in that, the processing rule described in S1 is:
According to current internet access way, access bandwidth and local free memory, and the size of pending resource file, determine to take which kind of processing mode for described pending resource file.
4. application browser according to claim 3 is processed the method for resource automatically, it is characterized in that, the processing rule described in S1 is specially:
According to different interconnection network access modes, access bandwidth and local free memory, for resource file size difference preset first threshold value and Second Threshold;
When judgement current internet access way or access bandwidth or the described first threshold of the suitable use of local free memory, the size of using first threshold and described resource file compares, if described resource file size is greater than described first threshold, adopt long-range share or the mode of remote download is processed described resource file, if the resource file size is less than described first threshold, adopt local uploading to share or the local mode of preserving of downloading is processed described resource file;
When judgement current internet access way is fit to use described Second Threshold and access band to be fit to use described Second Threshold and local free memory to be fit to use described first threshold, the size of using Second Threshold and described resource file compares, if the resource file size is greater than described Second Threshold, adopt long-range share or the mode of remote download is processed described resource file, if the resource file size is less than described Second Threshold, adopt local uploading to share or the local mode of preserving of downloading is processed described resource file.
5. application browser according to claim 1 is processed the method for resource automatically, it is characterized in that, also has following steps before S2:
Obtain the file size of the corresponding pending resource file of described processing instruction.
6. according to claim 1-5 arbitrary described application browsers are processed the method for resource automatically, it is characterized in that, described browser is web browser.
7. according to claim 1-5 arbitrary described application browsers are processed the method for resource automatically, it is characterized in that, described resource comprises data file and/or picture and/or video display and/or music and/or text.
8. use the device that browser is processed resource automatically for one kind, it is characterized in that, comprising:
The processing rule maintenance module is used for creating and safeguards the processing rule of the resource file of the resource file that shows for browser or link;
Processing instruction receives Executive Module, is used for the reception ﹠ disposal instruction, and carries out described processing instruction pending resource file corresponding to described processing instruction processed, and uses described processing rule during processing.
9. application browser according to claim 8 is processed the device of resource automatically, it is characterized in that, the device that described application browser is processed resource automatically also comprises:
The current environment acquisition module is used for obtaining current internet access way, access bandwidth and local free memory.
10. application browser according to claim 8 is processed the device of resource automatically, it is characterized in that, the device that described application browser is processed resource automatically also comprises:
Resource file acquiring size module is used for obtaining the file size of the corresponding pending resource file of described processing instruction.
CN201210526600.2A 2012-12-07 2012-12-07 A kind ofly apply the method and apparatus that browser processes resource automatically Active CN103095801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210526600.2A CN103095801B (en) 2012-12-07 2012-12-07 A kind ofly apply the method and apparatus that browser processes resource automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210526600.2A CN103095801B (en) 2012-12-07 2012-12-07 A kind ofly apply the method and apparatus that browser processes resource automatically

Publications (2)

Publication Number Publication Date
CN103095801A true CN103095801A (en) 2013-05-08
CN103095801B CN103095801B (en) 2015-09-23

Family

ID=48207924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210526600.2A Active CN103095801B (en) 2012-12-07 2012-12-07 A kind ofly apply the method and apparatus that browser processes resource automatically

Country Status (1)

Country Link
CN (1) CN103095801B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128068A1 (en) * 2016-01-26 2017-08-03 陈学良 Method for sending technical data when mobile phone transmits file and transmitting system
WO2017128069A1 (en) * 2016-01-26 2017-08-03 陈学良 Information pushing method in file transmission and transmission system
WO2017128070A1 (en) * 2016-01-26 2017-08-03 陈学良 File transmission method and transmission system
CN107885859A (en) * 2017-11-20 2018-04-06 郑州云海信息技术有限公司 A kind of method, apparatus and computer-readable recording medium of file number quota
CN109766315A (en) * 2017-08-23 2019-05-17 腾讯科技(深圳)有限公司 Document presentation method and terminal, computer storage medium, computer equipment
WO2020134551A1 (en) * 2018-12-29 2020-07-02 中兴通讯股份有限公司 Terminal task processing method and device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004001624A1 (en) * 2002-06-19 2003-12-31 Nokia Corporation Method and device for generating a mobile homepage in accordance with context relatd information
CN1786958A (en) * 2004-12-06 2006-06-14 京瓷株式会社 Portable terminal and method of controlling the same
CN102469109A (en) * 2010-10-29 2012-05-23 中国移动通信有限公司 Display method of browser homepage in mobile terminal and apparatus thereof
CN102722563A (en) * 2012-05-31 2012-10-10 优视科技有限公司 Method and device for displaying page

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004001624A1 (en) * 2002-06-19 2003-12-31 Nokia Corporation Method and device for generating a mobile homepage in accordance with context relatd information
CN1786958A (en) * 2004-12-06 2006-06-14 京瓷株式会社 Portable terminal and method of controlling the same
CN102469109A (en) * 2010-10-29 2012-05-23 中国移动通信有限公司 Display method of browser homepage in mobile terminal and apparatus thereof
CN102722563A (en) * 2012-05-31 2012-10-10 优视科技有限公司 Method and device for displaying page

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128068A1 (en) * 2016-01-26 2017-08-03 陈学良 Method for sending technical data when mobile phone transmits file and transmitting system
WO2017128069A1 (en) * 2016-01-26 2017-08-03 陈学良 Information pushing method in file transmission and transmission system
WO2017128070A1 (en) * 2016-01-26 2017-08-03 陈学良 File transmission method and transmission system
CN109766315A (en) * 2017-08-23 2019-05-17 腾讯科技(深圳)有限公司 Document presentation method and terminal, computer storage medium, computer equipment
CN107885859A (en) * 2017-11-20 2018-04-06 郑州云海信息技术有限公司 A kind of method, apparatus and computer-readable recording medium of file number quota
WO2020134551A1 (en) * 2018-12-29 2020-07-02 中兴通讯股份有限公司 Terminal task processing method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN103095801B (en) 2015-09-23

Similar Documents

Publication Publication Date Title
CN103095801B (en) A kind ofly apply the method and apparatus that browser processes resource automatically
CN104965848B (en) A kind of front end resource loading method and device
US9986083B2 (en) Information transmitting method, device and system, and storage medium
RU2498520C2 (en) Method of providing peer-to-peer communication on web page
CN110096660A (en) Method, apparatus and electronic equipment for loading page picture
JP2018014108A5 (en)
CN104426985B (en) Show the method, apparatus and system of webpage
CN105051685A (en) System and method to enable web property access to a native application
CN101662454A (en) Method, device and system for image processing in internet
CN104104995A (en) Image display method and device
CN103167014B (en) A kind of method and apparatus applied browser and share resource
US8554792B1 (en) Method and system for providing contents available on the internet to mobile handset
CN105302802A (en) Picture uploading method and system and browser
CN102594859B (en) A kind of rendering method of business datum, terminal, server and system
CN106973081A (en) A kind of method and apparatus for issuing cloud resource
US10157588B2 (en) Systems and methods for image optimization
CN103841157A (en) File sharing device and method
CN102469109B (en) Display method of browser homepage in mobile terminal and apparatus thereof
CN103179201A (en) Method and system for synchronizing files
CN111953718B (en) Page debugging method and device
CN103001924A (en) Method, network server and system for accessing pages
CN106357651A (en) Method for geographically limiting IP access on CDN
CN105656921A (en) Data transmission method, apparatus and device
CN102316146A (en) Method for achieving document transmission
CN101909110A (en) Mobile phone browser connection access method and device

Legal Events

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

Effective date of registration: 20190123

Address after: 100193 No. 10 Tianxiu Road, Haidian District, Beijing, No. 2 Building, No. 3, 3083, China Agricultural University International Pioneer Park

Patentee after: Beijing Maxthon Technology Co., Ltd.

Address before: Offshore Company Centre, Town Road, British Virgin Islands

Patentee before: Maxthon International Limited

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201217

Address after: 100086 b1-d11, 15-11 Zhongguancun Street, Haidian District, Beijing

Patentee after: Beijing aoyi Xiaosheng Technology Co.,Ltd.

Address before: 100193 No. 10 Tianxiu Road, Haidian District, Beijing, No. 2 Building, No. 3, 3083, China Agricultural University International Pioneer Park

Patentee before: BEIJING MAXTHON TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right