CN103870191B - The method and electronic equipment that webpage preserves - Google Patents
The method and electronic equipment that webpage preserves Download PDFInfo
- Publication number
- CN103870191B CN103870191B CN201210552087.4A CN201210552087A CN103870191B CN 103870191 B CN103870191 B CN 103870191B CN 201210552087 A CN201210552087 A CN 201210552087A CN 103870191 B CN103870191 B CN 103870191B
- Authority
- CN
- China
- Prior art keywords
- touch
- webpage
- control operation
- preserves
- control
- 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
Links
Abstract
A kind of method and electronic equipment preserved the invention discloses webpage, is related to electronic apparatus application field, for solving the problems, such as that it is cumbersome that webpage preserves.The method of the present invention includes:Obtain the touch control operation of Touch Screen;Determine whether the touch control operation is that webpage preserves triggering instruction;If, it is determined that web data corresponding to the webpage to be saved is stored in local by webpage to be saved.During webpage being preserved present invention is mainly applied to touch-controlled electronic devices online.
Description
Technical field
The present invention relates to electronic apparatus application field, more particularly to the method and electronic equipment of a kind of preservation of webpage.
Background technology
With the continuous popularization of the high speed development and smart mobile phone of mobile Internet, increasing user's custom passes through
Mobile electronic device obtains the network information, and user is connected to mobile Internet by the browser of mobile electronic device and accesses net
Page content.Generally, the factor such as network signal power, network traffics size can influence the custom of user's browsed web content, online
It is one of which user's request to preserve webpage and read webpage offline.
When preserving webpage online, user needs to search webpage preservation menu in the browser of electronic equipment, in webpage
Selection webpage in menu is preserved to save options and webpage storing path.Menu mode preserves the mode of webpage, it is necessary to electronic equipment
Prompt the user with successively webpage preserve menu, webpage saves options and the prompting of webpage storing path, then successively obtain use
Response of the family to each prompting operates, and the man-machine interaction step that webpage preserves is more;In addition, webpage preserves dish in different browsers
Free hand drawing target position is different, and user requires to look up the position that webpage preserves menu icon.Therefore, menu mode preserves webpage
Mode is cumbersome, and preserving webpage to user brings inconvenience.
The content of the invention
Embodiments of the invention provide method and the electronic equipment that a kind of webpage preserves, and can solve the problem that webpage preserves process behaviour
Make the problem of cumbersome.
On the one hand, the invention provides a kind of method that webpage preserves, including:
Obtain the touch control operation of Touch Screen;
Determine whether the touch control operation is that webpage preserves triggering instruction;
If, it is determined that web data corresponding to the webpage to be saved is stored in local by webpage to be saved.
On the other hand, present invention also offers a kind of electronic equipment, including:
Acquiring unit, for obtaining the touch control operation of touch-display unit;
First determining unit, for determining whether the touch control operation that the acquiring unit obtains is that webpage preserves triggering
Instruction;
Second determining unit, for when first determining unit determines that the webpage preserves triggering instruction, it is determined that treating
Preserve webpage;
Memory cell, preserved for web data corresponding to the webpage to be saved that determines second determining unit
In local.
The method and electronic equipment that webpage provided by the invention preserves, can be grasped according to touch-control of the user on Touch Screen
Make to determine that webpage preserves triggering instruction, preserving triggering instruction according to the webpage of determination is stored in the web data of webpage to be saved
It is local.Compared with clicking on menu step by step by user in the prior art and obtaining multiple instruction operations, it is possible to reduce webpage preserved
Man-machine interaction step in journey, simplify user's operation.Further, since touch control operation of the user on Touch Screen be not by browser
The limitation of menu icon position in interface, so compared with user in the prior art searches and webpage clicking preserves menu icon,
The time that user searches icon can be saved, it is convenient to preserve webpage.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram that first webpage preserves in the embodiment of the present invention;
Fig. 2 is the method flow diagram that second webpage preserves in the embodiment of the present invention;
Fig. 3 is that first electronic equipment determines that webpage preserves the schematic diagram of triggering instruction in the embodiment of the present invention;
Fig. 4 is that second electronic equipment determines that webpage preserves the schematic diagram of triggering instruction in the embodiment of the present invention;
Fig. 5 is the schematic diagram that electronic equipment generates web page browsing shortcut icon in the embodiment of the present invention;
Fig. 6 is the structural representation of first electronic equipment in the embodiment of the present invention;
Fig. 7 is the structural representation of second electronic equipment in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method that webpage preserves, and methods described is applied in electronic equipment, such as Fig. 1 institutes
Show, methods described comprises the following steps:
101st, the touch control operation of Touch Screen is obtained.
The touch control operation is the operation that the user that electronic equipment is received by Touch Screen is carried out on Touch Screen.
The touch control operation includes but are not limited to:Multi-point touch operation, click on touch control operation, sliding touch operation or
Long-press operates.For example, when three fingers of user are entering line slip from top to bottom on Touch Screen simultaneously.
102nd, determine whether touch control operation is that webpage preserves triggering instruction.
Electronic equipment obtains the touch control operation of user by Touch Screen, if the touch control operation is for indicating that webpage is protected
The touch control operation deposited, then electronic equipment by the touch control operation be defined as webpage preserve triggering instruction.
103rd, triggering instruction is preserved according to webpage and determines webpage to be saved.
It is determined that webpage is preserved after triggering instruction, electronic equipment is determined to conservation object, that is, determines webpage to be saved.
Generally, user can open multiple Webpages in web page browsing, and electronic equipment is by this some multiple opened in Webpages
Or certain several Webpage is defined as needing the page preserved.
Specifically, after step 102 determines that webpage preserves triggering instruction, electronic equipment can be true by the webpage currently shown
It is set to webpage to be saved, and other webpages that backstage is opened to operation are defined as non-webpage to be saved;Or electronic equipment can be with
All webpages having turned on all are defined as webpage to be saved;Or the sequencing that electronic equipment can be opened according to webpage,
More early open three webpages are defined as webpage to be saved, wherein the webpage quantity more early opened is predetermined number, Ke Yiyou
Equipment manufacturers or user are configured;Or, electronic equipment can be clicked on according to user's touch-control that Touch Screen receives again
Instruction determines webpage to be saved, i.e. user's touch-control clicks which or which webpage, and electronic equipment is just by which or which
Webpage is defined as webpage to be saved.
When the touch-control that electronic equipment receives user clicks on instruction, touch-control clicking operation can be in currently display webpage
Triggered on optional position.If current web page is displayed in full screen, touch-control clicking operation can be in the whole display model of Touch Screen
Triggered on optional position in enclosing.In addition, for the webpage of running background, touch-control clicking operation can be in running background webpage
Minimize and triggered on icon.
104th, web data corresponding to webpage to be saved is stored in local.
It is determined that after webpage to be saved, electronic equipment obtains the web data of webpage to be saved from network side, then will obtain
The web data taken is stored in local.
The web data includes HyperText Markup Language (Hypertext Markup Language, the abbreviation of webpage
HTML) data, cascading style form (Cascading Style Sheet, abbreviation CSS) and view data.Wherein, it is described super
Level text mark up language data include text data and hypertext link data;The cascading style form includes being used for webpage
The attribute data of typesetting;Described image data include static image data (image data) and dynamic image data (Streaming Media number
According to), or the link data of link data and dynamic image data of the described image data including static image data.
Electronic equipment preserves after above-mentioned web data is got according to predetermined store path to web data.
Such as web data can be saved in the storage region identified with file.Wherein, file is used to identify the storage region for this
Ground storage region.
In the prior art, electronic equipment needs to show that webpage preserves menu icon in the toolbar of browser, works as user
, it is necessary to which webpage is searched in the toolbar of browser preserves menu icon when being preserved to the webpage currently shown.User's point
After hitting webpage preservation menu icon, electronic equipment prompts the user with webpage and saved options and webpage storing path successively, and obtains
Corresponding instruction operation, thus completes the operation that webpage preserves.
The method that webpage provided by the invention preserves, can determine webpage according to touch control operation of the user on Touch Screen
Triggering instruction is preserved, preserve triggering instruction according to the webpage of determination is stored in local by the web data of webpage to be saved.With showing
Have in technology to click on menu step by step by user and obtain multiple instruction operations and compare, it is possible to reduce webpage preserve during it is man-machine
Interactive step, simplify user's operation.Further, since touch control operation of the user on Touch Screen not menu in by browser interface
The limitation of picture mark position, so compared with user in the prior art searches and webpage clicking preserves menu icon, use can be saved
Family is searched the time of icon, convenient to preserve webpage.
In addition, the method that webpage provided in an embodiment of the present invention preserves, can also preserve triggering instruction according to a webpage
Multiple webpages are preserved simultaneously, can be further compared with repeating to receive the operation instruction for preserving webpage in the prior art
Man-machine interaction step is reduced, simplifies user's operation.
Further, as the detailed description to method shown in Fig. 1 and further expand, the embodiment of the present invention additionally provides
A kind of method that webpage preserves, as shown in Fig. 2 methods described comprises the following steps:
201st, touch control operation is obtained by Touch Screen.
The touch control operation that electronic equipment is obtained by Touch Screen includes at least one of following:Touch point position, touch point
Quantity, touch-control glide direction, touch-control sliding trace, touch-control slide duration or continuous touch-control number of clicks.
202nd, determine that webpage preserves triggering instruction.
Electronic equipment determines that webpage preserves triggering instruction according to the touch control operation of acquisition.Specifically:
1) when getting touch point position, whether the touch point position that electronic equipment judges to get is located at preset touch
In the range of, if it is judged that being located at for the touch point position got in the range of preset touch, then the touch control operation is determined
Triggering instruction is preserved for webpage.For example, when preset touch scope is Touch Screen upper half viewing area, if touch point is located at
In the lower half viewing area of Touch Screen, then it is tactile not to be defined as webpage preservation by electronic equipment for the trigger action of the touch point position
Bristle with anger and show.
2) when getting touch point quantity, electronic equipment judge the touch point quantity that gets whether less than (be more than or
Equal to) preset touch point quantity, if it is judged that being no less than preset touch point quantity for the touch point quantity got, then will
The touch control operation is defined as webpage and preserves triggering instruction.For example, electronic equipment gets four touch-controls simultaneously by Touch Screen
Point, and preset touch point quantity be three, then electronic equipment by the touch control operation of this four touch points be defined as webpage preserve touch
Bristle with anger and show.
3) when getting touch-control glide direction, whether the touch-control glide direction that electronic equipment judges to get is touched with default
Originating party is to consistent, if it is judged that consistent with default triggering direction for the touch-control glide direction got, then grasps the touch-control
Work is defined as webpage and preserves triggering instruction.For example, in touch-control glide direction such as Fig. 3 that electronic equipment is got by Touch Screen
Shown in solid arrow direction, and triggering direction is preset as shown in dotted arrow direction in Fig. 3, then electronic equipment is not slided the touch-control
The touch control operation in dynamic direction is defined as webpage and preserves triggering instruction.
4) when getting touch-control sliding trace, electronic equipment judge the touch-control sliding trace that gets whether with default cunning
Dynamic path matching, if it is judged that being matched for the touch-control sliding trace got with default sliding trace, then grasps the touch-control
Work is defined as webpage and preserves triggering instruction, and the default sliding trace can be for circle or to hooking.For example, electronic equipment passes through
The touch-control sliding trace that Touch Screen is got is circle, and default sliding trace is also circle, then electronic equipment is by the touch-control
The touch control operation of sliding trace is defined as webpage and preserves triggering instruction.
5) when getting touch-control slip duration, the touch-control that electronic equipment judges to get slides whether duration is not less than
(being more than or equal to) default triggering duration, if it is judged that when the touch-control to get slides duration not less than default triggering
It is long, then the touch control operation is defined as webpage and preserves triggering instruction.For example, the touch-control that electronic equipment is got by Touch Screen
A length of 2 seconds during slip, and a length of 1 second during default triggering, then the touch control operation of touch-control slip duration is defined as by electronic equipment
Webpage preserves triggering instruction.
6) when getting repeatedly continuous touch-control click, whether the continuous touch-control number of clicks that electronic equipment judgement is got
Number of clicks is preset no less than (being than or equal to), if it is judged that being no less than in advance for the continuous touch-control number of clicks got
If number of clicks, then the touch control operation is defined as webpage and preserves triggering instruction.For example, electronic equipment is obtained by Touch Screen
The continuous touch-control number of clicks arrived is 3 times, and default number of clicks is twice, then electronic equipment is by continuous touch-control number of clicks
Touch control operation is defined as webpage and preserves triggering instruction.
Further, at least two determination modes in above-mentioned 6 kinds of determination modes can also be combined by electronic equipment,
Obtain combination determination mode.For example, can be by above-mentioned determination mode 1) and determination mode 4) it is combined into combination determination mode, touch-control
When a certain position acquisition of the screen only in upper half viewing area is to the touch-control sliding trace for drawing circle, electronic equipment just touches this
Control sliding trace is defined as webpage and preserves triggering instruction, and is drawn if Touch Screen is got in upper half viewing area to hook
Touch-control sliding trace, or Touch Screen get the touch-control sliding trace for drawing circle in lower half viewing area, then electronic equipment
The touch-control sliding trace can not be defined as to webpage and preserve triggering instruction;Furthermore can also be by above-mentioned determination mode 2) and really
Determine mode 3) be combined into combination determination mode, Touch Screen only get simultaneously two touch points according to default triggering direction
When consistent direction is slided, the touch-control glide direction of the two touch points is just defined as webpage preservation triggering and referred to by electronic equipment
Show, and if an only touch point according to being slided with the consistent direction in default triggering direction, or two touch points according to
The inconsistent direction in default triggering direction is slided, then it is tactile can not to be defined as webpage preservation by electronic equipment for the touch-control glide direction
Bristle with anger and show.
In a preferred scheme of the embodiment of the present invention, electronic equipment is by above-mentioned determination mode 1), determination mode 2) and
Determination mode 3) it is combined into combination determination mode.Wherein, preset touch scope is the whole viewing area of Touch Screen, presets and touches
Control point quantity is three touch points, and it is the glide direction in Fig. 3 from top to bottom to preset triggering direction.When what Touch Screen obtained touches
When control operation is as shown in Figure 4, i.e., when user is from top to bottom being slided using three fingers on Touch Screen, electronic equipment should
Touch control operation is defined as webpage and preserves triggering instruction.
203rd, triggering instruction is preserved according to webpage and determines webpage to be saved.
One or more webpages can be defined as band and preserve webpage by electronic equipment.Preferably, electronic equipment will determine net
The webpage that Touch Screen is shown when page preserves triggering instruction is defined as webpage to be saved.
204th, web data corresponding to webpage to be saved is obtained.
205th, web data corresponding to webpage to be saved is stored in local.
Electronic equipment obtains hypertext markup language data, cascading style form and the view data of webpage to be saved,
And the data got are saved in the local storage regions of file.
Optionally, electronic equipment can be webpage life to be saved in browser interface after above-mentioned web data has been preserved
Into a web page browsing shortcut icon, so that the follow-up browsing web pages in offline state of user uses.Preferably, electronic equipment is in system desktop
Upper be auto-building html files web page browsing shortcut icon to be saved, the system desktop after generation web page browsing shortcut icon as shown in figure 5,
Wherein offline webpage icon is the web page browsing shortcut icon.
After electronic equipment preserves web data, user disconnects network connection.When user needs off-line browsing to preserve
Webpage when, click on system desktop on web page browsing shortcut icon.Electronic equipment receives off-line browsing triggering instruction, from file
Web data corresponding to the webpage is read in local storage region, the cascading style form in web data is parsed, and
According to the cascading style form loading hypertext markup language data and view data after parsing.Specifically, cascading style form
In carry the attribute information of web page layout, electronic equipment is according to the attribute information by hypertext markup language data
Text data is loaded into the specified location in Webpage.If also include text link number in hypertext markup language data
According to then electronic equipment also needs the relevant position being loaded into text link data according to the attribute information in Webpage.Equally
View data or image link data are loaded into Webpage by attribute information of the electronic equipment in cascading style form,
Thus web page contents are generated.The web page contents of last Touch Screen display generation, are browsed for user.
It should be noted that text link data or image the link data that electronic equipment preserves are text data or image
The link path of data, actual text data or view data are stored in network side and simultaneously Non-electronic devices are local.Work as user
During browsing web pages in offline state, if electronic equipment receives the triggering instruction of user clicks on links data, electronic equipment and network
Side chain is connected on line and obtains text or view data corresponding to link data.
The method that webpage provided by the invention preserves, can determine webpage according to touch control operation of the user on Touch Screen
Triggering instruction is preserved, preserve triggering instruction according to the webpage of determination is stored in local by the web data of webpage to be saved.With showing
Have in technology to click on menu step by step by user and obtain multiple instruction operations and compare, it is possible to reduce webpage preserve during it is man-machine
Interactive step, simplify user's operation.Further, since touch control operation of the user on Touch Screen not menu in by browser interface
The limitation of picture mark position, so compared with user in the prior art searches and webpage clicking preserves menu icon, use can be saved
Family is searched the time of icon, convenient to preserve webpage.
In addition, the method that webpage provided in an embodiment of the present invention preserves, can also preserve triggering instruction according to a webpage
Multiple webpages are preserved simultaneously, can be further compared with repeating to receive the operation instruction for preserving webpage in the prior art
Man-machine interaction step is reduced, simplifies user's operation.
With reference to the realization of above method embodiment, present invention also offers a kind of electronic equipment, the electronic equipment is used for
Realize above method embodiment.As shown in fig. 6, the electronic equipment includes:Touch-display unit 61, acquiring unit 62, first
Determining unit 63, the second determining unit 64 and memory cell 65, wherein,
The acquiring unit 62, for obtaining the touch control operation of the touch-display unit 61;
First determining unit 63, for determining whether the touch control operation that the acquiring unit 62 obtains is webpage
Preserve triggering instruction;
Second determining unit 64, for determining that the webpage preserves triggering instruction when first determining unit 63
When, determine webpage to be saved;
The memory cell 65, for webpage corresponding to the webpage to be saved that determines second determining unit 64
Data are stored in local.
Further, the acquiring unit 62 is used to obtain any one operated below or any multinomial combination, should
Operation includes:Touch point position, touch point quantity, touch-control glide direction, touch-control sliding trace, touch-control slide duration or continuous
Touch-control number of clicks;
First determining unit 63 is used for:
When the touch control operation that the acquiring unit 62 obtains is touch point position, and the touch point position is located at
When in the range of preset touch, determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation that the acquiring unit 62 obtains is touch point quantity, and the touch point quantity is many
When preset touch point quantity, determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation that the acquiring unit 62 obtains is touch-control glide direction, and the touch-control glide direction
When consistent with default triggering direction, determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation that the acquiring unit 62 obtains is touch-control sliding trace, and the touch-control sliding trace
When being matched with default sliding trace, determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation that the acquiring unit 62 obtains is to touch touch-control to slide duration, the touch-control slides duration not
During less than default triggering duration, determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation that the acquiring unit 62 obtains is continuous touch-control number of clicks, and the continuous touch-control
When number of clicks is no less than default number of clicks, determine that the touch control operation preserves triggering instruction for webpage.
Further, second determining unit 64 is used to first determining unit 63 determining that the webpage preservation is touched
The current web page that browser when showing is shown of bristling with anger is defined as the webpage to be saved.
Further, as shown in fig. 7, the electronic equipment further comprises:Generation unit 71 and processing unit 72, its
In,
The generation unit 71, for being the auto-building html files web page browsing shortcut icon to be saved in browser interface.
The processing unit 72, for preserving web data corresponding to the webpage to be saved in the memory cell 65
After local, when the web page browsing shortcut icon of the generation unit 71 generation is triggered, reads and parse described
The web data that memory cell 65 preserves, and web page contents are generated according to the web data;
The touch-display unit 61 is further used for showing the web page contents that the processing unit 72 generates.
Further, the web data that the memory cell 65 preserves includes:
HTML html data, cascading style form CSS and view data.
Electronic equipment provided by the invention, it can determine that webpage preserves according to touch control operation of the user on Touch Screen and touch
Bristle with anger and show, preserve triggering instruction according to the webpage of determination is stored in local by the web data of webpage to be saved.With prior art
In clicked on step by step by user menu obtain it is multiple instruction operations compare, it is possible to reduce webpage preserve during man-machine interaction step
Suddenly, user's operation is simplified.Further, since touch control operation of the user on Touch Screen not menu map mark in by browser interface
The limitation put, so compared with user in the prior art searches and webpage clicking preserves menu icon, user's lookup can be saved
It is the time of icon, convenient to preserve webpage.
In addition, electronic equipment provided in an embodiment of the present invention, it is simultaneously right triggering instruction can also to be preserved according to a webpage
Multiple webpages are preserved, and compared with repeating to receive the operation instruction for preserving webpage in the prior art, can further reduce people
Machine interactive step, simplify user's operation.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function
The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application
Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of work(described above
Energy.The specific work process of the system, apparatus, and unit of foregoing description, it may be referred to corresponding in preceding method embodiment
Journey, it will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the module or
The division of unit, only a kind of division of logic function, can there are other dividing mode, such as multiple units when actually realizing
Or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute
Display or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, device or unit
INDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
It is each that equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention
The all or part of step of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. it is various can be with the medium of store program codes.
Above example is only to exemplary explanation technical scheme, rather than its limitations;Although with reference to before
State the beneficial effect that embodiment brings the present invention and the present invention to be described in detail, one of ordinary skill in the art should
Work as understanding:It can still modify to the technical scheme described in foregoing embodiments, or special to which part technology
Sign carries out equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from the claims in the present invention
Scope.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of method that webpage preserves, it is characterised in that methods described includes:
The touch control operation of Touch Screen is obtained, the touch control operation is that electronic equipment is being touched by the user that Touch Screen receives
The operation carried out on control screen;
Determine whether the touch control operation is that webpage preserves triggering instruction;
Triggering instruction is preserved according to webpage and determines webpage to be saved, including:
All webpages having turned on all are defined as webpage to be saved;
Or the sequencing opened according to webpage, the predetermined number webpage more early opened is defined as webpage to be saved;
Web data corresponding to the webpage to be saved is stored in local.
2. the method according to claim 1, it is characterised in that the touch control operation for following operation any one or
Any multinomial combination, the operation include:Touch point position, touch point quantity, touch-control glide direction, touch-control sliding trace, touch
Duration or continuous touch-control number of clicks are slided in control;
It is described to determine whether the touch control operation is that webpage preserves triggering instruction, including:
When the touch control operation is touch point position, if the touch point position is located in the range of preset touch, it is determined that
The touch control operation is that webpage preserves triggering instruction;
When the touch control operation is touch point quantity, if the touch point quantity is no less than preset touch point quantity, really
The fixed touch control operation is that webpage preserves triggering instruction;
When the touch control operation is touch-control glide direction, if the touch-control glide direction is consistent with default triggering direction,
Determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation is touch-control sliding trace, if the touch-control sliding trace matches with default sliding trace,
Determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation is that touch-control slides duration, if the touch-control slides duration and is not less than default triggering duration,
Determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation is continuous touch-control number of clicks, if the continuous touch-control number of clicks is clicked on no less than default
Number, it is determined that the touch control operation is that webpage preserves triggering instruction.
3. the method according to claim 1, it is characterised in that methods described further comprises:
It is the auto-building html files web page browsing shortcut icon to be saved in browser interface.
4. the method according to claim 3, it is characterised in that protected by web data corresponding to the webpage to be saved
After local, when the web page browsing shortcut icon is triggered, methods described further comprises:
Read and parse the web data of preservation;
Web page contents are generated according to the web data, and show the web page contents.
5. the method according to any one of claim 1 to 4, it is characterised in that the web data, including:It is super literary
This markup language HTML data, cascading style form CSS and view data.
6. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
Acquiring unit, for obtaining the touch control operation of touch-display unit, the touch control operation is that electronic equipment passes through touch screen
The operation that the user that curtain receives is carried out on Touch Screen;
First determining unit, for determining whether the touch control operation that the acquiring unit obtains is that webpage preservation triggering refers to
Show;
Second determining unit, for when first determining unit determines that the webpage preserves triggering instruction, determining to be saved
Webpage, including:
All webpages having turned on all are defined as webpage to be saved;
Or the sequencing opened according to webpage, the predetermined number webpage more early opened is defined as webpage to be saved;
Memory cell, this is stored in for web data corresponding to the webpage to be saved that determines second determining unit
Ground.
7. electronic equipment according to claim 6, it is characterised in that the acquiring unit is used to obtain times operated below
One or any multinomial combination, the operation include:Touch point position, touch point quantity, touch-control glide direction, touch-control slide
Track, touch-control slide duration or continuous touch-control number of clicks;
First determining unit is used for:
When the touch control operation that the acquiring unit obtains be touch point position, and the touch point position is positioned at default tactile
When in the range of control, determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation that the acquiring unit obtains be touch point quantity, and the touch point quantity is no less than presetting
During touch point quantity, determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation that the acquiring unit obtains be touch-control glide direction, and the touch-control glide direction is with presetting
When triggering direction is consistent, determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation that the acquiring unit obtains be touch-control sliding trace, and the touch-control sliding trace is with presetting
When sliding trace matches, determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation that the acquiring unit obtains slides duration for touch-control, the touch-control slides duration not less than default
When triggering duration, determine that the touch control operation preserves triggering instruction for webpage;
When the touch control operation that the acquiring unit obtains be continuous touch-control number of clicks, and the continuous touch-control click on it is secondary
When number is no less than default number of clicks, determine that the touch control operation preserves triggering instruction for webpage.
8. electronic equipment according to claim 6, it is characterised in that the electronic equipment further comprises:Generation unit,
For being the auto-building html files web page browsing shortcut icon to be saved in browser interface.
9. the electronic equipment according to claim 8, it is characterised in that the electronic equipment further comprises:
Processing unit, after web data corresponding to the webpage to be saved is stored in into local in the memory cell,
When the web page browsing shortcut icon of generation unit generation is triggered, reads and parse what the memory cell preserved
The web data, and web page contents are generated according to the web data;
The touch-display unit is further used for showing the web page contents of the processing unit generation.
10. the electronic equipment according to any one of claim 6 to 9, it is characterised in that what the memory cell preserved
The web data includes:HTML HTML data, cascading style form CSS and view data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210552087.4A CN103870191B (en) | 2012-12-18 | 2012-12-18 | The method and electronic equipment that webpage preserves |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210552087.4A CN103870191B (en) | 2012-12-18 | 2012-12-18 | The method and electronic equipment that webpage preserves |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103870191A CN103870191A (en) | 2014-06-18 |
CN103870191B true CN103870191B (en) | 2017-12-26 |
Family
ID=50908779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210552087.4A Active CN103870191B (en) | 2012-12-18 | 2012-12-18 | The method and electronic equipment that webpage preserves |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103870191B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104158862B (en) * | 2014-07-31 | 2018-06-29 | 北京奇虎科技有限公司 | The startup method and client terminal device of online interaction webpage |
CN106294504A (en) * | 2015-06-09 | 2017-01-04 | 阿里巴巴集团控股有限公司 | The display packing of a kind of Web page icon and device |
CN105260433A (en) * | 2015-09-30 | 2016-01-20 | 北京奇虎科技有限公司 | Webpage content collecting method and electronic device |
CN105760127A (en) | 2016-02-19 | 2016-07-13 | 浙江吉利控股集团有限公司 | Screen transfer method, screen transfer device and mobile terminal |
CN106202013B (en) * | 2016-06-25 | 2019-04-26 | 国云科技股份有限公司 | A kind of implementation method of webpage version EXCEL |
CN106339151A (en) * | 2016-08-29 | 2017-01-18 | 珠海市魅族科技有限公司 | Display method and mobile terminal |
CN106557587B (en) * | 2016-11-30 | 2020-07-14 | 惠州Tcl移动通信有限公司 | Method and system for storing and displaying webpage picture and corresponding text |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102486789A (en) * | 2010-12-03 | 2012-06-06 | 联想(北京)有限公司 | Electronic equipment, webpage bookmark image generating method and webpage bookmark generating method |
CN102810101A (en) * | 2011-06-03 | 2012-12-05 | 北京搜狗科技发展有限公司 | Webpage pre-reading method and device and browser |
CN102819386A (en) * | 2012-06-29 | 2012-12-12 | 北京奇虎科技有限公司 | Method and device for displaying picture in webpage |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110307810A1 (en) * | 2010-06-11 | 2011-12-15 | Isreal Hilerio | List integration |
-
2012
- 2012-12-18 CN CN201210552087.4A patent/CN103870191B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102486789A (en) * | 2010-12-03 | 2012-06-06 | 联想(北京)有限公司 | Electronic equipment, webpage bookmark image generating method and webpage bookmark generating method |
CN102810101A (en) * | 2011-06-03 | 2012-12-05 | 北京搜狗科技发展有限公司 | Webpage pre-reading method and device and browser |
CN102819386A (en) * | 2012-06-29 | 2012-12-12 | 北京奇虎科技有限公司 | Method and device for displaying picture in webpage |
Also Published As
Publication number | Publication date |
---|---|
CN103870191A (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103870191B (en) | The method and electronic equipment that webpage preserves | |
JP6430020B2 (en) | Web page loading method and system | |
US8386955B1 (en) | User-optimized content for web browsing windows | |
US20170075513A1 (en) | Surf Software | |
CN102945130A (en) | Information searching method and information searching system | |
US8977967B2 (en) | Rules for navigating to next content in a browser | |
CN104199603B (en) | Browser webpage control method and device and terminal | |
US20130332888A1 (en) | Method and device for operating list in handheld device | |
CN103177021B (en) | Displaying method and displaying device of mobile terminal browser and browser pages | |
CN103577477B (en) | The methods of exhibiting of the browsing histories of browser and display systems | |
EP3033696A2 (en) | Browsing images via mined hyperlinked text snippets | |
WO2014190785A1 (en) | Apparatuses and methods for webpage content processing | |
CN107368580A (en) | A kind of Webpage display process and mobile terminal | |
CN104850296A (en) | Method and apparatus for displaying page contents | |
CN103838486B (en) | The operating method and terminal of a kind of terminal display page | |
CN105260433A (en) | Webpage content collecting method and electronic device | |
CN106599246A (en) | Display content interception method, mobile terminal and control server | |
CN105867805A (en) | Information loading method and electronic equipment | |
CN105279245A (en) | Method for collecting contents on webpage and electronic device | |
CN101187945B (en) | A page processing method and device | |
CN102999576A (en) | Method and equipment for confirming page description information corresponding to target pages | |
CN104321732A (en) | User interface device, search method, and program | |
CN105243057A (en) | Method for translating web page contents and electronic device. | |
CN105354187A (en) | Method for translating webpage contents and electronic device | |
CN106354791A (en) | Browser webpage window processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |