CN103020263A - Method, device and terminal for storing webpage information - Google Patents

Method, device and terminal for storing webpage information Download PDF

Info

Publication number
CN103020263A
CN103020263A CN2012105686047A CN201210568604A CN103020263A CN 103020263 A CN103020263 A CN 103020263A CN 2012105686047 A CN2012105686047 A CN 2012105686047A CN 201210568604 A CN201210568604 A CN 201210568604A CN 103020263 A CN103020263 A CN 103020263A
Authority
CN
China
Prior art keywords
hard disc
web page
network hard
current web
formatted file
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.)
Pending
Application number
CN2012105686047A
Other languages
Chinese (zh)
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 Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi Technology 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 Beijing Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
Priority to CN2012105686047A priority Critical patent/CN103020263A/en
Publication of CN103020263A publication Critical patent/CN103020263A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for storing webpage information, and is used for a mobile terminal. The method comprises the following steps of: acquiring preset contents of the current webpage; converting the preset contents of the current webpage into preset format files; and storing the preset format files into a remote server. By the technical scheme, the shortcomings that a website does not provide a sharing function can be conquered; and the subject contents of the webpage can be stored in the remote server for users to use for long time. The invention further discloses a device and a terminal for realizing the method.

Description

A kind of store method of info web, device and terminal
Technical field
The embodiment of the invention relates to mobile internet technical field, relates in particular to a kind of store method, device and terminal of info web.
Background technology
At present, mobile phone users can produce the behavior of browsing to webpage usually.When finding that one piece of article is better, this piece article will be preserved or collected, in order to checking later on.At this stage, some website can provide collection function, but only is defined in the webpage of this website of collection.For example, some websites of reading need the user to login, and the user can collect each piece article after logging in, and can pass through this website of login in the use afterwards, find this article in " my collection " in the account of self.In addition, at present a lot of websites can provide sharing function, have marks such as " sharing microblogging " at webpage.Have the mark of sharing function by click, webpage can be shared microblogging, later on by checking the microblogging of oneself, just can see the webpage of collection.
But still there is following shortcoming in this mode of sharing: the first, and not all website all can provide sharing function; The second, the mode that microblogging is shared all is by the URL of microblogging server record webpage (Uniform/Universal Resource Locator, resource locator), it is web page address, rather than complete preservation web page contents, after this URL lost efficacy, collection will be lost.
Summary of the invention
The embodiment of the invention provides a kind of store method of info web, is used for allowing user's one key collect the webpage of browsing, and this collection can be converted to webpage default form and be saved to the medium-term and long-term existence of far-end server, makes things convenient for later the searching and reading of user.
A kind of store method of info web is used for portable terminal, may further comprise the steps: the preset content that obtains current web page; The preset content of described current web page is converted to default formatted file; Described default formatted file is saved to far-end server.Adopt this technical scheme, can overcome the shortcoming that the website does not provide sharing function, store the Web page subject content into far-end server for the user for a long time.
The embodiment of the invention also provides the device that is used for realizing said method.
A kind of save set of info web is used for portable terminal, comprises acquisition module, modular converter and upper transmission module, and wherein, described acquisition module is for the preset content that obtains current web page; Described modular converter is used for the preset content of described current web page is converted to default formatted file; Described upper transmission module is used for described default formatted file is saved to far-end server.
The embodiment of the invention also provides a kind of terminal, comprises above-mentioned device for realizing said method.
The further feature of the embodiment of the invention and advantage will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the present invention.The purpose of the embodiment of the invention and other advantages can realize and obtain by specifically noted structure in the instructions of writing, claims and accompanying drawing.
Below by drawings and Examples, the technical scheme of the embodiment of the invention is described in further detail.
Description of drawings
Accompanying drawing is used to provide the further understanding to the embodiment of the invention, and consists of the part of instructions, is used for together with embodiments of the present invention explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the process flow diagram of info web store method in the embodiment of the invention;
Fig. 2 is the process flow diagram of the preferred implementation of info web store method in the embodiment of the invention;
Fig. 3 is the process flow diagram of the another kind of preferred implementation of info web store method in the embodiment of the invention;
Fig. 4 is the structural representation of info web save set in the embodiment of the invention;
Fig. 5 is the structural representation of the preferred implementation of info web save set in the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, is not intended to limit the present invention.
Embodiment one
As shown in Figure 1, embodiment one provides a kind of store method of info web, is used for portable terminal, may further comprise the steps:
Step 101, obtain the preset content of current web page;
Step 102, the preset content of described current web page is converted to default formatted file;
Step 103, described default formatted file is saved to far-end server.
Among this embodiment, portable terminal is by the interested webpage of network browsing, after finding the webpage that wish is preserved, is saved to far-end server after this webpage is converted to general default formatted file, wherein, the file layout of the file of default form for opening by relative program.The tending to of related web page comprises a plurality of son files, is unfavorable for preserving, and the purpose that is converted into common-format files is can open easily when browsing after it is preserved for the user.The operation of this preservation is finished by communication network by portable terminal, is no longer dependent on the website of browsing and whether has key collection function or a sharing function, can be convenient allow the terminal user with interested webpage long preservation, and can browse at any time.
Embodiment two
As shown in Figure 2, provide a kind of preferably technical scheme of store method of info web, may further comprise the steps:
Step 201, terminal access network address show the web page contents that this network address is corresponding;
Step 202, extract predetermined fraction in the current web page according to preset rules, described predetermined fraction is set type again obtains the preset content of described current web page;
In this step, there are the more unwanted redundant informations such as advertisement in the webpage that possible user browses and wish is preserved, portable terminal can be by arranging reading model or filtering function in browser, extract the key content of webpage by preset rules, and these contents are set type again so that read.The mode extracted can be the page documents of obtaining current web page; Extraction is to preset the node content of the node that identifies as predetermined fraction with node identification in the described page documents.
Wherein, predetermined fraction can comprise the whole or specified portions of web page contents.
In the following example:
The page documents corresponding according to this network address (when for example being the html webpage, being the html document), and according to default rule the node identification in the page documents, nodal community and node content are analyzed, the key content that obtains in the node extracted.For example, can be<title with node identification〉node content as exercise question, i.e. the part of webpage key content.
Step 203, the current web page preset content is converted to picture format file or single webpage mht formatted file;
In this step, specifically determine to be converted to any form according to the webpage format of user's request and wish preservation.The file of general format can comprise the picture files such as jpg, jpeg, also can be the mht file.(the abbreviation of MIME HTML of mht file, a kind of form that is used for preserving html file), can be the many files that comprise in webpage and the webpage, such as picture, Flash (animation), js (javascript, the java script), css (Cascading Style Sheet, Cascading Style Sheet) etc. save as a single file.Open this single file with browser and just can see the contents such as all pages, picture.
Preferably, webpage is saved as the mht file.The problem of resolution distortion might occur in picture file, and can't preserve the files such as video, audio frequency, so the mht formatted file has more versatility.Preferably, obtain the key content of current web page, and pack according to the mht file layout, obtain the mht file.If wish to be packaged as picture file, then the resolution sectional drawing according to web displaying is picture file.
Step 204, portable terminal are uploaded to described common-format files in the network hard disc by the network hard disc application program.
Embodiment three
Present embodiment is on the basis of embodiment two, and a kind of preferably embodiment of proposition as shown in Figure 3, may further comprise the steps:
Step 301, portable terminal are preserved account name and the password of described network hard disc;
Step 302, the path that network hard disc uses is set and starts described network hard disc and use;
Step 303, terminal access network address show the web page contents that this network address is corresponding;
Step 304, extract predetermined fraction in the current web page according to preset rules, described predetermined fraction is set type again obtains the preset content of current web page;
Step 305, described preset content is converted to the mht formatted file and for described file designation;
Step 306, portable terminal are used to indicate described network hard disc by described network hard disc application programming interface to the process transmission of network hard disc application program and use the parameter of uploading described default formatted file;
Step 307, portable terminal are uploaded to described default formatted file in the far-end server at network hard disc place by the network hard disc application program.
Among this embodiment, the user arranges account name and the password of own net dish in portable terminal, and preserved by browser, automatically start net dish application program and debarkation net dish by default net dish application path, the user can install a plurality of net dish App in terminal like this, so that freely select when preserving web page files.Before uploading web page files, be its name, after making things convenient for the user, in the net dish, search this document.
Embodiment four
As shown in Figure 4, be the structural representation for the device of realizing said method, be used for portable terminal, comprise acquisition module 401, modular converter 402 and upper transmission module 403, wherein, acquisition module 401 is for the preset content that obtains current web page; Modular converter 402 is used for the preset content of described current web page is converted to default formatted file; Upper transmission module 403 is used for described default formatted file is saved to far-end server.
Embodiment five
Present embodiment is a kind of embodiment that preferably installs, and is wherein identical among the effect of modular converter and upper transmission module and the embodiment four, and acquisition module is used for extracting according to preset rules the predetermined fraction of current web page; Described predetermined fraction set type again obtain the preset content of described current web page.
Preferably, acquisition module comprises:
Extraction unit is used for the predetermined fraction according to preset rules extraction current web page;
The composing unit obtains the preset content of described current web page for described predetermined fraction is set type again.
Preferably, extraction unit, for the page documents of obtaining current web page, extracting node identification in the described page documents is to preset the node content of the node that identifies as predetermined fraction.
Preferably, modular converter is used for described predetermined fraction is converted to picture format file or single webpage mht formatted file; Upper transmission module is used for portable terminal and by the network hard disc application program described default formatted file is uploaded to network hard disc.Present embodiment can be set type again to web page contents, and acquisition is more suitable in the formatted file of user's request and is saved in the far-end server.
Embodiment six
As shown in Figure 5, for the another kind structural representation of device embodiments preferably, comprise login module 501, be used for account name and password that portable terminal is preserved described network hard disc; Module 502 is set, is used for arranging the path of network hard disc application program; Start module 503, be used for starting described network hard disc application program; Acquisition module 504 is used for the terminal access network address and shows the webpage that this network address is corresponding, and extracts content in the described info web according to preset rules, and described content is set type again; Modular converter 505 is used for described info web is converted to the mht formatted file; Name module 506 is used to described common-format files name; Upper transmission module 507, be used for portable terminal and transmit parameter corresponding to described common-format files by described network hard disc application programming interface to the process of network hard disc application program, and by the network hard disc application program described common-format files is uploaded in the network hard disc.
The embodiment of the invention also provides a kind of terminal, comprises arbitrary described device in the technique scheme.This terminal obtains the key content of webpage by browser and these contents is converted to the file of a general format, upload the file of conversion to the net dish, debarkation net is examined and seized and is got in needs, can solve number of site in the correlation technique does not have the shortcoming of key collection or sharing function, conveniently finishes the permanent collection of the webpage interested to user.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to process flow diagram and/or the block scheme of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block scheme and/or square frame and process flow diagram and/or the block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device producing a machine, so that the instruction of carrying out by the processor of computing machine or other programmable data processing device produces the device of the function that is used for being implemented in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computing machine or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame in the instruction that computing machine or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (15)

1. the store method of an info web is used for portable terminal, may further comprise the steps:
Obtain the preset content of current web page;
The preset content of described current web page is converted to default formatted file;
Described default formatted file is saved to far-end server.
2. the method for claim 1 is characterized in that, the described preset content that obtains current web page, in the following way:
According to the predetermined fraction in the preset rules extraction current web page;
Described predetermined fraction set type again obtain the preset content of described current web page.
3. method according to claim 2 is characterized in that, and is described according to the predetermined fraction in the preset rules extraction current web page, in the following way:
Obtain the page documents of current web page;
Extraction is to preset the node content of the node that identifies as predetermined fraction with node identification in the described page documents.
4. method as claimed in claim 1 or 2 is characterized in that, described default formatted file is picture format file or single page file mht formatted file.
5. method as claimed in claim 1 or 2 is characterized in that,
Described far-end server is the server at network hard disc place, described described default formatted file is saved to the step of far-end server, in the following way:
By the network hard disc application described default formatted file is uploaded in the described far-end server.
6. method as claimed in claim 5 is characterized in that, described method also comprises step:
The path that network hard disc is used is set;
Starting described network hard disc uses.
7. such as claim 5 or 6 described methods, it is characterized in that, also comprise step:
The process transmission of using to network hard disc by described network hard disc application programming interface is used to indicate the parameter that described default formatted file is uploaded in described network hard disc application.
8. the save set of an info web is characterized in that, described device comprises acquisition module, modular converter and upper transmission module, wherein,
Described acquisition module is for the preset content that obtains current web page;
Described modular converter is used for the preset content of described current web page is converted to default formatted file;
Described upper transmission module is used for described default formatted file is saved to far-end server.
9. device as claimed in claim 8 is characterized in that, described acquisition module comprises:
Extraction unit is used for the predetermined fraction according to preset rules extraction current web page;
The composing unit obtains the preset content of described current web page for described predetermined fraction is set type again.
10. device as claimed in claim 9 is characterized in that, described extraction unit, and for the page documents of obtaining current web page, extracting node identification in the described page documents is to preset the node content of the node that identifies as predetermined fraction.
11. device is characterized in that described default formatted file is picture format file or single page file mht formatted file as claimed in claim 8 or 9.
12. device is characterized in that as claimed in claim 8 or 9,
Described far-end server is the server at network hard disc place, and described upper transmission module is used for, and uses by network hard disc described default formatted file is uploaded in the described far-end server.
13. device as claimed in claim 12 is characterized in that, described device also comprises: module is set and starts module, wherein,
The described module that arranges is used for arranging the path that network hard disc is used;
Described startup module is used for starting described network hard disc and uses.
14. device as claimed in claim 13 is characterized in that,
Described upper transmission module is used for, and the process transmission of using to network hard disc by described network hard disc application programming interface is used to indicate the parameter that described default formatted file is uploaded in described network hard disc application.
15. a terminal is characterized in that, comprises the arbitrary described device of claim 8 to 14.
CN2012105686047A 2012-12-24 2012-12-24 Method, device and terminal for storing webpage information Pending CN103020263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012105686047A CN103020263A (en) 2012-12-24 2012-12-24 Method, device and terminal for storing webpage information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012105686047A CN103020263A (en) 2012-12-24 2012-12-24 Method, device and terminal for storing webpage information

Publications (1)

Publication Number Publication Date
CN103020263A true CN103020263A (en) 2013-04-03

Family

ID=47968866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012105686047A Pending CN103020263A (en) 2012-12-24 2012-12-24 Method, device and terminal for storing webpage information

Country Status (1)

Country Link
CN (1) CN103020263A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573026A (en) * 2015-01-12 2015-04-29 北京数码大方科技股份有限公司 Industrial network disc and webpage application processing method and device
CN104935666A (en) * 2015-06-24 2015-09-23 智秦网络科技股份有限公司 Method and system for watching PDF file with mobile terminal
CN106506618A (en) * 2016-10-24 2017-03-15 北京奇虎科技有限公司 A kind of information sharing method, device and mobile terminal
CN106611025A (en) * 2015-10-27 2017-05-03 北京国双科技有限公司 Web page data collecting method and device
CN103685514B (en) * 2013-12-13 2017-11-07 北京奇虎科技有限公司 The store method and browser of the page in web page storage folder
CN111316618A (en) * 2018-10-11 2020-06-19 华为技术有限公司 Network page storage method and terminal

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094135A (en) * 2006-06-23 2007-12-26 腾讯科技(深圳)有限公司 Method and system for extracting information of content in Internet
CN101291488A (en) * 2008-03-24 2008-10-22 中兴通讯股份有限公司 Screen printing method on mobile terminal
CN101350857A (en) * 2008-08-12 2009-01-21 深圳华为通信技术有限公司 Method for preserving web page bookmark, method for reading web page bookmark and terminal thereof
CN101409937A (en) * 2008-01-25 2009-04-15 聂沫平 Method and apparatus for converting script into data format supported by target system
CN101964807A (en) * 2009-07-23 2011-02-02 林伟波 Use technology of network disk and method thereof
CN102129439A (en) * 2010-01-13 2011-07-20 腾讯科技(北京)有限公司 Webpage subscription system and method
CN102521284A (en) * 2011-11-28 2012-06-27 优视科技有限公司 Page screenshot processing method and device based on mobile terminal browser

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094135A (en) * 2006-06-23 2007-12-26 腾讯科技(深圳)有限公司 Method and system for extracting information of content in Internet
CN101409937A (en) * 2008-01-25 2009-04-15 聂沫平 Method and apparatus for converting script into data format supported by target system
CN101291488A (en) * 2008-03-24 2008-10-22 中兴通讯股份有限公司 Screen printing method on mobile terminal
CN101350857A (en) * 2008-08-12 2009-01-21 深圳华为通信技术有限公司 Method for preserving web page bookmark, method for reading web page bookmark and terminal thereof
CN101964807A (en) * 2009-07-23 2011-02-02 林伟波 Use technology of network disk and method thereof
CN102129439A (en) * 2010-01-13 2011-07-20 腾讯科技(北京)有限公司 Webpage subscription system and method
CN102521284A (en) * 2011-11-28 2012-06-27 优视科技有限公司 Page screenshot processing method and device based on mobile terminal browser

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685514B (en) * 2013-12-13 2017-11-07 北京奇虎科技有限公司 The store method and browser of the page in web page storage folder
CN104573026A (en) * 2015-01-12 2015-04-29 北京数码大方科技股份有限公司 Industrial network disc and webpage application processing method and device
CN104573026B (en) * 2015-01-12 2018-05-29 北京数码大方科技股份有限公司 The processing method and processing device of industrial Dropbox and Web page application program
CN104935666A (en) * 2015-06-24 2015-09-23 智秦网络科技股份有限公司 Method and system for watching PDF file with mobile terminal
CN104935666B (en) * 2015-06-24 2019-01-01 智秦数字出版(西安)有限公司 A kind of method and system for mobile terminal viewing pdf document
CN106611025A (en) * 2015-10-27 2017-05-03 北京国双科技有限公司 Web page data collecting method and device
CN106506618A (en) * 2016-10-24 2017-03-15 北京奇虎科技有限公司 A kind of information sharing method, device and mobile terminal
CN111316618A (en) * 2018-10-11 2020-06-19 华为技术有限公司 Network page storage method and terminal

Similar Documents

Publication Publication Date Title
CN101778168B (en) Method and system for optimization display of wed pages on browser of mobile terminal
CN103020263A (en) Method, device and terminal for storing webpage information
US20160105448A1 (en) Method, Apparatus, and Computer Program Product for Privacy Management
US20140006921A1 (en) Annotating digital documents using temporal and positional modes
US20090299990A1 (en) Method, apparatus and computer program product for providing correlations between information from heterogenous sources
CN102663135B (en) Method and device for implementing graphical bookmark for embedded browser, and terminal
EP2642412A1 (en) System and method for managing browsing histories of web browser
CN101676907A (en) Method and system of directionally acquiring Internet resources
US20220342518A1 (en) Card-based information management method and system
CN112231609A (en) Method, device and storage medium for rapidly rendering map based on WebGIS map
CN104301384A (en) Data acquisition method, device and system
CN102959546A (en) Method and apparatus for converting content
CN105550179A (en) Webpage collection method and browser plug-in
CN103841110A (en) Website establishment service system and processing method based on mobile terminal
JP4894253B2 (en) Metadata generating apparatus and metadata generating method
CN101296201B (en) Network information sharing method, system and instant communication device
CN104753998A (en) Terminal, social application server and information sharing method
JP2005275488A (en) Input support method and program
KR101248186B1 (en) System for generating blog using each content in search result page and method thereof
CN104090878A (en) Multimedia checking method, terminal, server and system
CN103365860A (en) Method, device and terminal for processing web pages
CN107544963A (en) Multimedia file storage method and device
CN102831144B (en) Based on the bookmark interaction processing method of mobile terminal, device and system
JP5216887B2 (en) How to provide the latest information
CN104615761B (en) A kind of method for down loading and device of mobile terminal favorites data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102, No. 50, block B, building No. 12, winding stone world building, Wangjing West Road, Beijing, Chaoyang District

Applicant before: Beijing Xiaomi Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130403