CN103095801B - A kind ofly apply the method and apparatus that browser processes resource automatically - Google Patents

A kind ofly apply the method and apparatus that browser processes resource automatically Download PDF

Info

Publication number
CN103095801B
CN103095801B CN201210526600.2A CN201210526600A CN103095801B CN 103095801 B CN103095801 B CN 103095801B CN 201210526600 A CN201210526600 A CN 201210526600A CN 103095801 B CN103095801 B CN 103095801B
Authority
CN
China
Prior art keywords
resource file
resource
browser
threshold
processes
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
CN201210526600.2A
Other languages
Chinese (zh)
Other versions
CN103095801A (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 one can according to the environment for use such as network insertion, memory space, the method and apparatus that the automatic application browser processed processes resource is automatically carried out to Internet resources file, comprise the steps: S1, create and safeguard the processing rule of the resource file for the resource file shown in browser or link; S2, when described browser receives processing instruction, then apply the processing rule described in S1, the pending resource file corresponding to described processing instruction processes.By adopting technical scheme of the present invention, according to situations such as current internet access way, access bandwidth and local free memories, the resource file that the link shown in the resource file shown in browser or browser is linked to can be processed automatically.

Description

A kind ofly apply the method and apparatus that browser processes resource automatically
Technical field
The present invention relates to internet, applications field, particularly relate to and a kind ofly apply the method and apparatus that browser processes resource automatically.
Background technology
Current use mobile phone or mobile device are got more and more by the user of 2G or 3G accessing Internet, the time of the netizen's surfing Internet with cell phone even had greatly exceed the time of surfing the Net with computer (desktop computer or notebook computer), 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 service of 2G or the 3G accessing Internet provided due to mobile telecommunication service business is normally by flow or duration based accounting, so just need during general 2G or 3G of use online to take some modes of saving flow to reduce expenses, but current mobile phone or mobile device generally all have wifi function, and only need to connect a wireless router to cable broadband mobile phone just can be used easily to have been surfed the Net by wifi, and because cable broadband is all generally not limit flow in unlimited time, so just need not consider to save the problem of flow.Therefore, no small puzzlement is brought with the user of mobile phone or mobile device online with regard to giving, because when using the online of the browser on mobile phone, see has value for preservation or highly with the Internet resources that good friend shares very much, prepare download preserve or when being shared with good friend, must first go to check what access way of oneself being and the problem such as memory space is enough, then go to do respective handling to resource file, thus very loaded down with trivial details.
Summary of the invention
The object of the present invention is to provide one can according to the environment for use such as network insertion, memory space, automatically a kind of of process is carried out to Internet resources file and applies the method and apparatus that browser processes resource automatically, thus solve the foregoing problems existed in prior art.
To achieve these goals, the technical solution used in the present invention is as follows:
Apply the method that browser processes resource automatically, comprise the steps:
S1, creates and safeguards the processing rule of the resource file for the resource file shown in browser or link;
S2, when described browser receives processing instruction, then apply the processing rule described in S1, the pending resource file corresponding to described processing instruction processes.
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 preset first threshold value and Second Threshold respectively;
When judging that current internet access way or access bandwidth or local free memory are applicable to using described first threshold, the size then applying first threshold and described resource file compares, if described resource file size is greater than described first threshold, then adopt long-range share or remote download mode process described in resource file, if resource file size is less than described first threshold, then local uploading is adopted to share or resource file described in local mode process of downloading preservation;
When judging that current internet access way is applicable to using described Second Threshold and access band to be applicable to using described Second Threshold and local free memory is applicable to using described first threshold, the size then applying Second Threshold and described resource file compares, if resource file size is greater than described Second Threshold, then adopt long-range share or remote download mode process described in resource file, if resource file size is less than described Second Threshold, then local uploading is adopted to share or resource file described in local mode process of downloading preservation.
Preferably, following steps are also had before S2:
Obtain the file size of the pending resource file corresponding to 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.
Apply the device that browser processes resource automatically, comprising:
Processing rule maintenance module, for creating and safeguarding the processing rule of the resource file for the resource file shown in browser or link;
Processing instruction receives Executive Module, and for receiving processing instruction, and the pending resource file performing described processing instruction corresponding to described processing instruction processes, processing rule during process described in application.
Preferably, the device that described application browser processes resource automatically also comprises:
Current environment acquisition module, for obtaining current internet access way, access bandwidth and local free memory.
Preferably, the device that described application browser processes resource automatically also comprises: resource file acquiring size module, for obtaining the file size of the pending resource file corresponding to described processing instruction.
The invention has the beneficial effects as follows:
By adopting technical scheme of the present invention, according to situations such as current internet access way, access bandwidth and local free memories, the resource file that the link shown in the resource file shown in browser or browser is linked to can be processed automatically.When 2G, the 3G network accessing Internet of flow or duration based accounting is pressed in user's use, can ensure preserve in timely remote download or while network resource sharing file, flow and Networked Time can also be saved to greatest extent.In time resource file can be saved in this locality again when user uses the access way of not limit flow or duration to surf the Net, thus easier real-time edition uses, and also can not cause obstruction to sharing.
Accompanying drawing explanation
Fig. 1 is the method step flow chart that application browser of the present invention processes resource automatically.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, 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, be not intended to limit the present invention.
As shown in Figure 1, application browser disclosed by the invention processes the method for resource automatically, comprises the steps:
S1, creates and safeguards the processing rule of the resource file for the resource file shown 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, determines 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 preset first threshold value and Second Threshold respectively;
When judging that current internet access way or access bandwidth or local free memory are applicable to using described first threshold, such as current internet access way is that 3G network or 2G network or access bandwidth are less than 1M or local free memory when being less than 2GB, the size then applying first threshold and described resource file compares, if described resource file size is greater than described first threshold, then adopt long-range share or remote download mode process described in resource file, if resource file size is less than described first threshold, local uploading then is adopted to share or resource file described in local mode process of downloading preservation,
When judging that current internet access way is applicable to using described Second Threshold and access band to be applicable to using described Second Threshold and local free memory is applicable to using described first threshold, such as current internet access way be cable broadband or wifi mode and access band be greater than 1M and local free memory is greater than 2GB time, the size then applying Second Threshold and described resource file compares, if resource file size is greater than described Second Threshold, then adopt long-range share or remote download mode process described in resource file, if resource file size is less than described Second Threshold, local uploading then is adopted to share or resource file described in local mode process of downloading preservation.
Obtain the file size of the pending resource file corresponding to described processing instruction.
S2, when described browser receives processing instruction, then apply the processing rule described in S1, the pending resource file corresponding to described processing instruction processes.
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.
Application browser disclosed by the invention processes the device of resource automatically, comprising:
Processing rule maintenance module, for creating and safeguarding the processing rule of the resource file for the resource file shown in browser or link;
Processing instruction receives Executive Module, and for receiving processing instruction, and the pending resource file performing described processing instruction corresponding to described processing instruction processes, processing rule during process described in application.
Current environment acquisition module, for obtaining current internet access way, access bandwidth and local free memory.
Resource file acquiring size module, for obtaining the file size of the pending resource file corresponding to described processing instruction.
Described remote download, refer to and send instruction by browser to remote server, download the Internet resources of specifying by remote server and preserve, when sharing, only needing remote server to pass to good friend for the link of sharing of the file generated preserved on the server.Thus do not need first Internet resources file first to be downloaded to this locality, then send good friend to.So both eliminating the trouble of download, save flow, also can not link because of only sharing an original document, and the embarrassment cannot shared after causing original document link fails.
By adopting technique scheme disclosed by the invention, obtain effect useful as follows:
According to situations such as current internet access way, access bandwidth and local free memories, the resource file that the link shown in the resource file shown in browser or browser is linked to can be processed automatically.When 2G, the 3G network accessing Internet of flow or duration based accounting is pressed in user's use, can ensure preserve in timely remote download or while network resource sharing file, flow and Networked Time can also be saved to greatest extent.In time resource file can be saved in this locality again when user uses the access way of not limit flow or duration to surf the Net, thus easier real-time edition uses, and also can not cause obstruction to sharing.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should look protection scope of the present invention.

Claims (9)

1. apply the method that browser processes resource automatically, it is characterized in that, comprise the steps:
S1, creates and safeguards the processing rule of the resource file for the resource file shown in browser or link;
S2, when described browser receives processing instruction, then apply the processing rule described in S1, the pending resource file corresponding to described processing instruction processes;
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, determines to take which kind of processing mode for described pending resource file.
2. application browser according to claim 1 processes the method for resource automatically, it is characterized in that, 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 processes 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 preset first threshold value and Second Threshold respectively;
When judging that current internet access way or access bandwidth or local free memory are applicable to using described first threshold, the size then applying first threshold and described resource file compares, if described resource file size is greater than described first threshold, then adopt long-range share or remote download mode process described in resource file, if resource file size is less than described first threshold, then local uploading is adopted to share or resource file described in local mode process of downloading preservation;
When judging that current internet access way is applicable to using described Second Threshold and access band to be applicable to using described Second Threshold and local free memory is applicable to using described first threshold, the size then applying Second Threshold and described resource file compares, if resource file size is greater than described Second Threshold, then adopt long-range share or remote download mode process described in resource file, if resource file size is less than described Second Threshold, then local uploading is adopted to share or resource file described in local mode process of downloading preservation.
4. application browser according to claim 1 processes the method for resource automatically, it is characterized in that, also has following steps before S2:
Obtain the file size of the pending resource file corresponding to described processing instruction.
5. automatically process the method for resource according to the arbitrary described application browser of claim 1-4, it is characterized in that, described browser is web browser.
6. automatically process the method for resource according to the arbitrary described application browser of claim 1-4, it is characterized in that, described resource comprises data file and/or picture and/or video display and/or music and/or text.
7. implement the claims described in 1-4 any one and apply the device that browser processes the method for resource automatically, it is characterized in that, described application browser processes the device of resource automatically, comprising:
Processing rule maintenance module, for creating and safeguarding the processing rule of the resource file for the resource file shown in browser or link;
Processing instruction receives Executive Module, and for receiving processing instruction, and the pending resource file performing described processing instruction corresponding to described processing instruction processes, processing rule during process described in application.
8. application browser according to claim 7 processes the device of resource automatically, it is characterized in that, the device that described application browser processes resource automatically also comprises:
Current environment acquisition module, for obtaining current internet access way, access bandwidth and local free memory.
9. application browser according to claim 7 processes the device of resource automatically, it is characterized in that, the device that described application browser processes resource automatically also comprises:
Resource file acquiring size module, for obtaining the file size of the pending resource file corresponding to 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 CN103095801A (en) 2013-05-08
CN103095801B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128070A1 (en) * 2016-01-26 2017-08-03 陈学良 File transmission method and transmission system
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
CN109766315B (en) * 2017-08-23 2022-11-04 腾讯科技(深圳)有限公司 File display method and terminal, computer storage medium and computer equipment
CN107885859B (en) * 2017-11-20 2021-10-15 郑州云海信息技术有限公司 Method and device for file number quota and computer readable storage medium
CN111381960A (en) * 2018-12-29 2020-07-07 中兴通讯股份有限公司 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

Also Published As

Publication number Publication date
CN103095801A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103095801B (en) A kind ofly apply the method and apparatus that browser processes resource automatically
CN105051685B (en) For causing networked asset to be able to access that locally applied system and method
US9173097B2 (en) Techniques for auto-authentication
CN110096660A (en) Method, apparatus and electronic equipment for loading page picture
CN101794298A (en) Method for realizing page adaptation, page adaptation system and communication system
CN104539682A (en) Debug method, device, mobile terminal, server and system for mobile webpage
CN104486388A (en) Accessing method and device of cloud storage file
CN101662454A (en) Method, device and system for image processing in internet
WO2013060243A1 (en) Network file uploading method, apparatus and system
CN104253714A (en) Monitoring method, system, browser and server
CN104104995A (en) Image display method and device
CN102314340A (en) Method for closing camera
CN105487640A (en) Image pre-loading and caching method of Android watch
CN106973020A (en) The flow limitation method and system of network sharing terminal and network sharing
US8554792B1 (en) Method and system for providing contents available on the internet to mobile handset
CN103167014A (en) Method and device of sharing resources with browsers
US20170171339A1 (en) Advertisement data transmission method, electrnoic device and system
US20150269274A1 (en) Method and apparatus for uploading information
CN104202432A (en) Remote web management system and method
CN102469109B (en) Display method of browser homepage in mobile terminal and apparatus thereof
CN103780478A (en) Information sharing method and mobile terminal
CN111190564A (en) Screen interaction method and system
CN103001924A (en) Method, network server and system for accessing pages
CN105656921A (en) Data transmission method, apparatus and device
CN103108027B (en) A kind of method and apparatus applying browser downloads resource

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
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.