CN104063151B - A kind of browser page processing method and processing device - Google Patents
A kind of browser page processing method and processing device Download PDFInfo
- Publication number
- CN104063151B CN104063151B CN201410321142.8A CN201410321142A CN104063151B CN 104063151 B CN104063151 B CN 104063151B CN 201410321142 A CN201410321142 A CN 201410321142A CN 104063151 B CN104063151 B CN 104063151B
- Authority
- CN
- China
- Prior art keywords
- sectional drawing
- display field
- region
- obtains
- webpage area
- 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
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000000034 method Methods 0.000 claims abstract description 27
- 238000009877 rendering Methods 0.000 claims description 9
- 230000001131 transforming effect Effects 0.000 claims description 3
- 230000000630 rising effect Effects 0.000 claims 4
- 238000010586 diagram Methods 0.000 description 8
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012800 visualization Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of browser interface processing method and processing device, it is applied to the browser of mobile terminal with webpage area and display field, methods described includes:Obtain the sectional drawing of display field on browser interface;Webpage area on described browser interface is detected;If it is determined that described webpage area creates slip, and the distance slided is more than or equal to preset value, the sectional drawing of described display field is processed, obtains region sectional drawing;After the region sectional drawing obtaining display field, this region sectional drawing is rendered with described webpage area and is integrated.Browser page processing method in the embodiment of the present invention, when sliding in webpage area, can render the region sectional drawing of display field and webpage area is integrated.
Description
Technical field
The present invention relates to technical field of internet application, particularly to a kind of browser interface processing method and processing device.
Background technology
With the popularization of the mobile terminals such as the Internet and mobile phone, external information is obtained by surfing Internet with cell phone and has become as greatly
Most users obtain the important channel of external information, and wherein, mobile phone browser is the Internet access that user commonly uses.Existing mobile phone
Browser interface includes display field and webpage area, and display field includes toolbar, address field again, and common, toolbar is shown in clear
Look at the downside at device interface, address field is shown in the upside of browser.When user browses mobile phone web pages, browse to increase
The viewing area area in device webpage area, generally hides toolbar and the address field of mobile phone browser, only shows mobile phone browser
Webpage area.Therefore, the toolbar of mobile phone browser and address field can be hidden with the slip in webpage area or manifest, such as upward sliding
During webpage area, toolbar, address field can be hidden with the slip in webpage area;During slide downward webpage area, toolbar, address field
Can manifest with the slip in webpage area.
Toolbar in existing mobile phone browser, address field, webpage area are three independent parts, in hiding or visualization tool
When hurdle and address field, by calculating the distance slided, determine the position relationship between toolbar and address field and webpage area, according to
This position relationship is hiding or show toolbar and address field.That is, the work in mobile phone browser of the prior art
Tool hurdle, address field, webpage area can not form as one.
Content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of window display method, device and a kind of electronics
Equipment, in order to form as one display field with webpage area.
Technical scheme is as follows:
A kind of browser interface processing method, methods described includes:
Obtain the sectional drawing of display field on browser interface;
Webpage area on described browser interface is detected;
If it is determined that described webpage area creates slip, and the distance slided is more than or equal to preset value, to described aobvious
Show that the sectional drawing on hurdle is processed, obtain region sectional drawing;
After the region sectional drawing obtaining display field, this region sectional drawing is rendered with described webpage area and is integrated.
Optionally, in the above-mentioned methods, if described display field is shown in the upside of described browser interface, described to institute
The sectional drawing stating display field is processed, and obtains region sectional drawing, including:
If it is determined that described webpage area upward sliding, then with sliding distance as length value, with the top margin of the sectional drawing of display field
For playing initial line, the sectional drawing of display field longitudinally clips a part, obtains region sectional drawing;
If it is determined that described webpage area slide downward, then with sliding distance as length value, with the base of the sectional drawing of display field
For playing initial line, the sectional drawing of display field longitudinally obtains a part, obtains region sectional drawing.
Optionally, in the above-mentioned methods, if described display field is shown in the downside of described browser interface, described to institute
The sectional drawing stating display field is processed, and obtains region sectional drawing, including:
If it is determined that described webpage area upward sliding, then with sliding distance as length value, with the base of the sectional drawing of display field
For playing initial line, the sectional drawing of display field longitudinally clips a part, obtains region sectional drawing;
If it is determined that described webpage area slide downward, then with sliding distance as length value, with the top margin of the sectional drawing of display field
For playing initial line, the sectional drawing of display field longitudinally obtains a part, obtains region sectional drawing.
Optionally, in the above-mentioned methods, if described display field includes being shown on the upside of the interface of described browser
One display field and be shown in the second display field on the downside of the interface of described browser, at the described sectional drawing to described display field
Reason, obtains region sectional drawing, including:
If it is determined that described webpage area upward sliding, then with sliding distance as length value, with the sectional drawing of the first display field
Top margin has been initial line, longitudinally clips a part, obtain first area sectional drawing, with the second display field on the sectional drawing of the first display field
The base of sectional drawing be initial line, the sectional drawing of the second display field longitudinally clips a part, obtains second area sectional drawing;
If it is determined that described webpage area slide downward, then with sliding distance as length value, with the sectional drawing of the first display field
Base has been initial line, longitudinally obtains a part, obtain the 3rd region sectional drawing, with the second display field on the sectional drawing of the first display field
The top margin of sectional drawing be initial line, the sectional drawing of the second display field obtains a part, obtains the 4th region sectional drawing.
Optionally, in the above-mentioned methods, the described current sectional drawing obtaining display field on browser interface, including:
Intercept the picture of the display field of display on described interface, obtain the sectional drawing of described display field;
Or,
Search described interface corresponding display field sectional drawing in the display field sectional drawing pre-saving, obtain the aobvious of described interface
Show hurdle sectional drawing.
Optionally, in the above-mentioned methods, after the described region sectional drawing in acquisition display field, by this region sectional drawing and described net
Page area renders and is integrated, including:
After the region sectional drawing obtaining display field, the region sectional drawing of display field is changed into data texturing;
The data texturing of the data texturing of region sectional drawing and webpage area is merged;
Render the data texturing after merging.
The embodiment of the present invention also provides a kind of browser interface processing meanss, and described device includes:
Picture acquiring unit, for obtaining the sectional drawing of display field on browser interface;
Detector unit, for detecting to the webpage area on described browser interface;
Region sectional drawing acquiring unit, for determining that described webpage area creates slip, and the distance slided be more than or
During equal to preset value, the sectional drawing of described display field is processed, obtain region sectional drawing;
Rendering unit, for, after the region sectional drawing obtaining display field, this region sectional drawing being rendered into described webpage area
Integrally.
Optionally, in said apparatus, if described display field is shown in the upside of browser interface, described region sectional drawing
Acquiring unit, including:
First intercepting subelement, for determining described webpage area upward sliding, and sliding distance be more than or equal to pre-
If during value, with sliding distance as length value, with the top margin of the sectional drawing of display field for playing initial line, the sectional drawing of display field longitudinally cuts
Go a part, obtain region sectional drawing;
Second intercepting subelement, for determining described webpage area slide downward, and sliding distance be more than or equal to pre-
If during value, with sliding distance as length value, with the base of the sectional drawing of display field for playing initial line, the sectional drawing of display field longitudinally obtains
Take a part, obtain region sectional drawing.
Optionally, in said apparatus, if described display field is shown in the downside of browser, described region sectional drawing obtains
Unit, including:
3rd intercepting subelement, for determining described webpage area upward sliding, and sliding distance be more than or equal to pre-
If during value, with sliding distance as length value, with the base of the sectional drawing of display field for playing initial line, the sectional drawing of display field longitudinally cuts
Go a part, obtain region sectional drawing;
4th intercepting subelement, for determining described webpage area slide downward, and sliding distance be more than or equal to pre-
If during value, with sliding distance as length value, with the top margin of the sectional drawing of display field for playing initial line, the sectional drawing of display field longitudinally obtains
Take a part, obtain region sectional drawing.
Optionally, in said apparatus, if described display field includes being shown on the upside of the interface of described browser
One display field and be shown in the second display field on the downside of the interface of described browser, described region sectional drawing acquiring unit, including:
5th intercepting subelement, for determining described webpage area upward sliding, and sliding distance be more than or equal to pre-
If during value, with sliding distance as length value, with the top margin of the sectional drawing of the first display field for playing initial line, in the sectional drawing of the first display field
Upper longitudinal direction clips a part, obtains first area sectional drawing, with the base of the sectional drawing of the second display field for playing initial line, in the second display
Longitudinally clip a part on the sectional drawing on hurdle, obtain second area sectional drawing;
6th intercepting subelement, for determining described webpage area slide downward, and sliding distance be more than or equal to pre-
If during value, with sliding distance as length value, with the base of the first display field sectional drawing for an initial line, on the sectional drawing of the first display field
Longitudinally obtain a part, obtain the 3rd region sectional drawing, with the top margin of the sectional drawing of the second display field for playing initial line, in the second display field
Sectional drawing on obtain with length value size identical part, obtain the 4th region sectional drawing.
Optionally, in said apparatus, described picture acquiring unit, including:
First acquisition subelement, for intercepting the picture of the display field of display on described interface, obtains described display field
Sectional drawing;Or,
Second acquisition subelement, cuts for searching the corresponding display field in described interface in the display field sectional drawing pre-saving
Figure, obtains the display field sectional drawing at described interface.
Optionally, in said apparatus, described rendering unit, including:
Transforming subunit, for, after the region sectional drawing obtaining display field, the region sectional drawing of display field being changed into texture
Data;
Merge subelement, for merging the data texturing of the data texturing of region sectional drawing and webpage area;
Render subelement, for rendering the data texturing after merging.
The embodiment of the present invention provides a kind of processing method of browser interface, when the sliding action in webpage area is detected,
Render the region sectional drawing of display field and webpage area is integrated.Browser page processing method in the embodiment of the present invention, in webpage
When slip in area, the region sectional drawing of display field can be rendered and webpage area is integrated.Therefore eliminate calculating process, decrease electronics
The memory source of hold facility, it is slow to solve the webpage loading velocity that electronic equipment brings because of calculating, the phenomenon such as interim card.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 shows a kind of schematic flow sheet of browser interface processing method provided in an embodiment of the present invention;
Fig. 2 shows a kind of specific implementation of S130 in embodiment illustrated in fig. 1;
Fig. 3 shows a kind of schematic diagram of browser interface in embodiment illustrated in fig. 2;
Fig. 4 shows a kind of schematic diagram of upward sliding browser interface in embodiment illustrated in fig. 2;
Fig. 5 shows a kind of schematic diagram of the region sectional drawing intercepting display field in embodiment illustrated in fig. 2;
Fig. 6 shows a kind of schematic diagram of the region sectional drawing intercepting display field in embodiment illustrated in fig. 2;
Fig. 7 shows another kind of specific implementation of S130 in embodiment illustrated in fig. 1;
Fig. 8 shows another kind of schematic diagram of browser interface in embodiment illustrated in fig. 7;
Fig. 9 shows a kind of schematic diagram of the region sectional drawing intercepting display field in embodiment illustrated in fig. 7;
Figure 10 shows a kind of schematic diagram of the region sectional drawing intercepting display field in embodiment illustrated in fig. 7;
Figure 11 shows another kind of specific implementation of S130 in embodiment illustrated in fig. 1;
Figure 12 shows another kind of schematic diagram of browser interface in embodiment illustrated in fig. 11;
Figure 13 shows a kind of structural representation of browser interface processing meanss provided in an embodiment of the present invention;
Figure 14 shows a kind of structural representation of browser interface processing meanss provided in an embodiment of the present invention;
Figure 15 shows another structural representation of browser interface processing meanss provided in an embodiment of the present invention;
Figure 16 shows another structural representation of browser interface processing meanss provided in an embodiment of the present invention;
Figure 17 shows another structural representation of browser interface processing meanss provided in an embodiment of the present invention;
Figure 18 shows another structural representation of browser interface processing meanss provided in an embodiment of the present invention.
Specific 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 description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
Referring to Fig. 1, the embodiment of the present invention provides a kind of browser interface processing method, including:
S110:Obtain the sectional drawing of display field on browser interface.
S120:Webpage area on browser interface is detected.
S130:If it is determined that webpage area creates slip, and the distance slided is more than or equal to preset value, to display field
Sectional drawing processed, obtain region sectional drawing.
S140:After the region sectional drawing obtaining display field, this region sectional drawing is rendered with webpage area and is integrated.
Optionally, above-mentioned display field may be displayed on the upside of browser interface, as shown in Fig. 2 above-mentioned S130, can wrap
Include:
S1311:If it is determined that webpage area upward sliding, and sliding distance is more than or equal to preset value, then with slide away from
From for length value, with the top margin of the sectional drawing of display field for playing an initial line, the sectional drawing of display field longitudinally clips a part, obtains area
Domain sectional drawing.
Wherein, the size of preset value can be in units of pixel or with length as unit, and those skilled in the art can basis
Practical situation sets preset value, and therefore not to repeat here.
Referring to Fig. 3.In Fig. 3, display field 1 is address field, and 2 is webpage area.After opening browser interface, address field 1 leads to
Often it is shown in the upside of browser interface.
With reference to Fig. 4, when determination webpage area upward sliding, and when sliding distance is more than or equal to preset value, referring to Fig. 5,
With sliding distance as length value, with the top margin of the sectional drawing of address field for an initial line, longitudinal truncated part on the sectional drawing of address field
11, obtain region sectional drawing 12.
S1312:If it is determined that webpage area slide downward, and sliding distance is more than or equal to preset value, then with slide away from
From for length value, with the base of the sectional drawing of display field for playing an initial line, the sectional drawing of display field longitudinally obtains a part, obtains area
Domain sectional drawing.
Referring to Fig. 6, with sliding distance as length value, with the base of the sectional drawing of address field for an initial line, cutting in address field
Longitudinal fetching portion 13 on figure, this part 13 is region sectional drawing.
Optionally, above-mentioned display field may be displayed on the downside of browser interface, as shown in fig. 7, above-mentioned S130 is permissible
Including:
S1321:If it is determined that webpage area upward sliding, and sliding distance is more than or equal to preset value, then with slide away from
From for length value, with the base of the sectional drawing of display field for playing an initial line, the sectional drawing of display field longitudinally clips a part, obtains area
Domain sectional drawing.
Referring to Fig. 8.In Fig. 8,2 is webpage area, and display field 3 is toolbar.After opening browser interface, toolbar 3 leads to
Often it is shown on the downside of browser interface.
When determination webpage area upward sliding, and when sliding distance is more than or equal to preset value, referring to Fig. 9, with toolbar
The base of sectional drawing be initial line, on the sectional drawing of toolbar, longitudinal truncated part 32, obtains the region sectional drawing 31 of toolbar.
S1322:If it is determined that webpage area slide downward, and sliding distance is more than or equal to preset value, then with slide away from
From for length value, with the top margin of the sectional drawing of display field for playing an initial line, the sectional drawing of display field longitudinally obtains a part, obtains area
Domain sectional drawing.
Referring to Figure 10, with sliding distance as length value, with the top margin of the sectional drawing of toolbar for an initial line, cutting in toolbar
Longitudinal fetching portion 33 on figure, this part 33 is region sectional drawing.
Optionally, above-mentioned display field may be displayed on the upper side and lower side of browser interface.It is shown in the display field of upside
For the first display field, the display field being shown in downside is the second display field.As shown in figure 11, above-mentioned S130 can include:
S1331:If it is determined that webpage area upward sliding, and sliding distance is more than or equal to preset value, then with slide away from
From for length value, with the top margin of the sectional drawing of the first display field for playing an initial line, the sectional drawing of the first display field longitudinally clips one
Point, obtain first area sectional drawing;With the base of the sectional drawing of the second display field for playing initial line, on the sectional drawing of the second display field longitudinally
Clip a part, obtain second area sectional drawing.
Referring to Figure 12.In Figure 12, the first display field 1 is address field, and 2 is webpage area, and the second display field 3 is toolbar.?
After opening browser interface, address field 1 is usually displayed on the upside of browser interface;Toolbar 3 is usually displayed on browser circle
The downside in face.Optionally, in the other embodiment of the present invention, toolbar can also be shown in the upside of browser interface, and
Address field may be displayed on the downside of browser interface.Embodiments of the invention specifically do not limit to this.
S1332:If it is determined that webpage area slide downward, and sliding distance is more than or equal to preset value, then with slide away from
From for length value, with the base of the sectional drawing of the first display field for playing an initial line, the first display field sectional drawing longitudinally obtains a part,
Obtain the 3rd region sectional drawing;With the top margin of the sectional drawing of the second display field for playing initial line, the sectional drawing of the second display field obtains one
Part, obtains the 4th region sectional drawing.
Using embodiments of the invention, during upward sliding webpage area, address field and/or toolbar can be with the cunnings in webpage area
Move and gradually hide;During slide downward webpage area, address field and/or toolbar gradually can manifest with the slip in webpage area.
Optionally, in any of the above-described embodiment, obtain the sectional drawing (S110) of display field on browser interface, can wrap
Include:
Intercept the picture of the display field of display on interface, obtain the sectional drawing of display field;Or,
In the sectional drawing pre-saving, search the sectional drawing of display field on browser interface.
Optionally, in any of the above-described embodiment, above-mentioned obtain display field region sectional drawing after, by this region sectional drawing with
Webpage area renders and is integrated (S140), can include:
After the region sectional drawing obtaining display field, the region sectional drawing of display field is changed into data texturing;
The data texturing of the data texturing of region sectional drawing and webpage area is merged;
Render the data texturing after merging.
The embodiment of the present invention provides a kind of processing method of browser interface, when the sliding action in webpage area is detected,
Render the region sectional drawing of display field and webpage area is integrated.Browser page processing method in the embodiment of the present invention, in webpage
When slip in area, the region sectional drawing of display field can be rendered and webpage area is integrated.Therefore eliminate calculating process, decrease electronics
The memory source of hold facility, it is slow to solve the webpage loading velocity that electronic equipment brings because of calculating, the phenomenon such as interim card.
Corresponding with said method embodiment, the present invention also provides a kind of browser interface processing meanss, referring to Figure 13, wraps
Include:
Picture acquiring unit 100, for obtaining the sectional drawing of display field on browser interface;
Detector unit 110, for detecting to the webpage area on described browser interface;
Region sectional drawing acquiring unit 120, for determining that described webpage area creates slip, and the distance slided be more than or
When person is equal to preset value, the sectional drawing of described display field is processed, obtains region sectional drawing;
Rendering unit 130, for, after the region sectional drawing obtaining display field, this region sectional drawing being rendered with described webpage area
It is integrated.
In other embodiments of the invention, above-mentioned display field can be for being shown in the display field on the upside of browser interface
And/or it is shown in display field on the downside of browser interface, and for example, address field and/or toolbar.
Optionally, referring to Figure 14, when display field is shown in the upside of browser interface, described region sectional drawing acquiring unit
120 can include:
First intercepting subelement 1201, in determination described webpage area upward sliding, and sliding distance is more than or equal in advance
If during value, for sliding distance as length value, with the top margin of the sectional drawing of display field for playing initial line, the sectional drawing of display field being indulged
To clipping a part, obtain region sectional drawing;
Second intercepting subelement 1202, in determination described webpage area slide downward, and sliding distance is more than or equal in advance
If during value, for sliding distance as length value, with the base of the sectional drawing of display field for playing initial line, the sectional drawing of display field being indulged
To obtaining a part, obtain region sectional drawing.
Optionally, referring to Figure 15, when display field is shown in the downside of browser interface, described region sectional drawing acquiring unit
120 can include:
3rd intercepting subelement 1203, in determination described webpage area upward sliding, and sliding distance is more than or equal in advance
If during value, for sliding distance as length value, with the base of the sectional drawing of display field for playing initial line, the sectional drawing of display field being indulged
To clipping a part, obtain region sectional drawing;
4th intercepting subelement 1204, in determination described webpage area slide downward, and sliding distance is more than or equal in advance
If during value, for sliding distance as length value, with the top margin of the sectional drawing of display field for playing initial line, the sectional drawing of display field being indulged
To obtaining a part, obtain region sectional drawing.
Optionally, referring to Figure 16, if display field includes being shown in the first display field and the display on the upside of browser interface
The second display field on the downside of browser interface, described region sectional drawing acquiring unit 120 can include:
5th intercepting subelement 1205, in determination described webpage area upward sliding, and sliding distance is more than or equal in advance
If during value, for sliding distance as length value, with the top margin of the sectional drawing of the first display field for playing initial line, in the first display field
Longitudinally clip a part on sectional drawing, obtain first area sectional drawing, with the base of the sectional drawing of the second display field for playing initial line, second
Longitudinally clip a part on the sectional drawing of display field, obtain second area sectional drawing;
6th intercepting subelement 1206, in determination described webpage area slide downward, and sliding distance is more than or equal in advance
If during value, for sliding distance as length value, with the base of the sectional drawing of the first display field for playing initial line, in the first display field
Longitudinally obtain a part on sectional drawing, obtain the 3rd region sectional drawing, with the top margin of the sectional drawing of the second display field for playing initial line, second
Obtain a part on the sectional drawing of display field, obtain the 4th region sectional drawing.
Optionally, referring to Figure 17, described picture acquiring unit 100, can include:
First acquisition subelement 1001, for intercepting the picture of the display field of display on described interface, obtains described aobvious
Show the sectional drawing on hurdle;Or,
Second acquisition subelement 1002, for searching the corresponding display in described interface in the display field sectional drawing pre-saving
Hurdle sectional drawing, obtains the display field sectional drawing at described interface.
Optionally, referring to Figure 18, described rendering unit 130, can include:
Transforming subunit 1301, for, after the region sectional drawing obtaining display field, the region sectional drawing of display field being changed into
Data texturing;
Merge subelement 1302, for merging the data texturing of the data texturing of region sectional drawing and webpage area;
Render subelement 1303, for rendering the data texturing after merging.
The embodiment of the present invention provides a kind of processing meanss of browser interface, when the sliding action in webpage area is detected,
Render the region sectional drawing of display field and webpage area is integrated.When sliding in webpage area, can render the region sectional drawing of display field with
Webpage area is integrated.Therefore eliminate calculating process, decrease electronic equipment occupancy memory source, solve electronic equipment because
Calculate the webpage loading velocity bringing slow, the phenomenon such as interim card.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, related
Part illustrates referring to the part of embodiment of the method.
It should be noted that herein, such as with the second or the like relational terms be used merely to an entity or
Person's operation is made a distinction with another entity or operation, and not necessarily requires or imply that between these entities or operation, presence is appointed
What this actual relation or order.And, term " inclusion ", "comprising" or its any other variant are intended to non-row
The comprising of his property, so that including a series of process of key elements, method, article or equipment not only include those key elements, and
And also include other key elements of being not expressly set out, or also include intrinsic for this process, method, article or equipment institute
Key element.In the absence of more restrictions, the key element being limited by sentence "including a ..." is it is not excluded that including institute
Also there is other identical element in process, method, article or the equipment of stating key element.
One of ordinary skill in the art will appreciate that realizing all or part of step in said method embodiment is can
Completed with the hardware instructing correlation by program, described program can be stored in computer read/write memory medium,
The storage medium obtaining designated herein, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All
Any modification, equivalent substitution and improvement made within the spirit and principles in the present invention etc., are all contained in protection scope of the present invention
Interior.
Claims (12)
1. a kind of browser interface processing method is it is characterised in that methods described includes:
Obtain the sectional drawing of display field on browser interface;
Webpage area on described browser interface is detected;
If it is determined that described webpage area creates slip, and the distance slided is more than or equal to preset value, to described display field
Sectional drawing processed, obtain region sectional drawing;
After the region sectional drawing obtaining display field, this region sectional drawing is rendered with described webpage area and is integrated.
If 2. method according to claim 1 is it is characterised in that described display field is shown in described browser interface
Upside, the described sectional drawing to described display field is processed, and obtains region sectional drawing, including:
If it is determined that described webpage area upward sliding, then with sliding distance as length value, with the top margin of the sectional drawing of display field for rising
Initial line, longitudinally clips a part on the sectional drawing of display field, obtains region sectional drawing;
If it is determined that described webpage area slide downward, then with sliding distance as length value, with the base of the sectional drawing of display field for rising
Initial line, longitudinally obtains a part on the sectional drawing of display field, obtains region sectional drawing.
If 3. method according to claim 1 is it is characterised in that described display field is shown in described browser interface
Downside, the described sectional drawing to described display field is processed, and obtains region sectional drawing, including:
If it is determined that described webpage area upward sliding, then with sliding distance as length value, with the base of the sectional drawing of display field for rising
Initial line, longitudinally clips a part on the sectional drawing of display field, obtains region sectional drawing;
If it is determined that described webpage area slide downward, then with sliding distance as length value, with the top margin of the sectional drawing of display field for rising
Initial line, longitudinally obtains a part on the sectional drawing of display field, obtains region sectional drawing.
If 4. method according to claim 1 is it is characterised in that described display field includes being shown in described browser
The first display field on the upside of interface and be shown in the second display field on the downside of the interface of described browser, described to described display field
Sectional drawing processed, obtain region sectional drawing, including:
If it is determined that described webpage area upward sliding, then with sliding distance as length value, with the top margin of the sectional drawing of the first display field
For playing initial line, the sectional drawing of the first display field longitudinally clips a part, obtains first area sectional drawing, cutting with the second display field
The base of figure has been initial line, longitudinally clips a part, obtain second area sectional drawing on the sectional drawing of the second display field;
If it is determined that described webpage area slide downward, then with sliding distance as length value, with the base of the sectional drawing of the first display field
For playing initial line, the sectional drawing of the first display field longitudinally obtains a part, obtains the 3rd region sectional drawing, cutting with the second display field
The top margin of figure has been initial line, obtains a part, obtain the 4th region sectional drawing on the sectional drawing of the second display field.
5. the method according to claim 1-4 any one is it is characterised in that display field on described acquisition browser interface
Current sectional drawing, including:
Intercept the picture of the display field of display on described interface, obtain the sectional drawing of described display field;
Or,
Search described interface corresponding display field sectional drawing in the display field sectional drawing pre-saving, obtain the display field at described interface
Sectional drawing.
6. the method according to claim 1-4 any one it is characterised in that described obtain display field region sectional drawing
Afterwards, this region sectional drawing is rendered with described webpage area and be integrated, including:
After the region sectional drawing obtaining display field, the region sectional drawing of display field is changed into data texturing;
The data texturing of the data texturing of region sectional drawing and webpage area is merged;
Render the data texturing after merging.
7. a kind of browser interface processing meanss are it is characterised in that described device includes:
Picture acquiring unit, for obtaining the sectional drawing of display field on browser interface;
Detector unit, for detecting to the webpage area on described browser interface;
Region sectional drawing acquiring unit, for creating slip in the described webpage area of determination, and the distance slided is more than or equal to
During preset value, the sectional drawing of described display field is processed, obtain region sectional drawing;
Rendering unit, for, after the region sectional drawing obtaining display field, this region sectional drawing being rendered with described webpage area and being integrated.
If 8. device according to claim 7 is it is characterised in that described display field is shown in the upper of browser interface
Side, described region sectional drawing acquiring unit, including:
First intercepting subelement, for determining described webpage area upward sliding, and sliding distance is more than or equal to preset value
When, with sliding distance as length value, with the top margin of the sectional drawing of display field for playing initial line, the sectional drawing of display field longitudinally clips one
Part, obtains region sectional drawing;
Second intercepting subelement, for determining described webpage area slide downward, and sliding distance is more than or equal to preset value
When, with sliding distance as length value, with the base of the sectional drawing of display field for playing initial line, the sectional drawing of display field longitudinally obtains one
Part, obtains region sectional drawing.
If 9. device according to claim 7 is it is characterised in that described display field is shown in the downside of browser, institute
State region sectional drawing acquiring unit, including:
3rd intercepting subelement, for determining described webpage area upward sliding, and sliding distance is more than or equal to preset value
When, with sliding distance as length value, with the base of the sectional drawing of display field for playing initial line, the sectional drawing of display field longitudinally clips one
Part, obtains region sectional drawing;
4th intercepting subelement, for determining described webpage area slide downward, and sliding distance is more than or equal to preset value
When, with sliding distance as length value, with the top margin of the sectional drawing of display field for playing initial line, the sectional drawing of display field longitudinally obtains one
Part, obtains region sectional drawing.
If 10. device according to claim 7 is it is characterised in that described display field includes being shown in described browser
Interface on the upside of the first display field and be shown in the second display field on the downside of the interface of described browser, described region sectional drawing obtains
Take unit, including:
5th intercepting subelement, for determining described webpage area upward sliding, and sliding distance is more than or equal to preset value
When, with sliding distance as length value, with the top margin of the sectional drawing of the first display field for playing initial line, the sectional drawing of the first display field is indulged
To clipping a part, obtain first area sectional drawing, with the base of the sectional drawing of the second display field for playing initial line, in the second display field
Longitudinally clip a part on sectional drawing, obtain second area sectional drawing;
6th intercepting subelement, for determining described webpage area slide downward, and sliding distance is more than or equal to preset value
When, with sliding distance as length value, with the base of the first display field sectional drawing for playing initial line, on the sectional drawing of the first display field longitudinally
Obtain a part, obtain the 3rd region sectional drawing, with the top margin of the sectional drawing of the second display field for an initial line, cutting in the second display field
Obtain and length value size identical part on figure, obtain the 4th region sectional drawing.
11. devices according to claim 7-10 any one it is characterised in that described picture acquiring unit, including:
First acquisition subelement, for intercepting the picture of the display field of display on described interface, obtains cutting of described display field
Figure;Or,
Second acquisition subelement, for searching described interface corresponding display field sectional drawing in the display field sectional drawing pre-saving,
Obtain the display field sectional drawing at described interface.
12. devices according to claim 7-10 any one it is characterised in that described rendering unit, including:
Transforming subunit, for, after the region sectional drawing obtaining display field, the region sectional drawing of display field being changed into data texturing;
Merge subelement, for merging the data texturing of the data texturing of region sectional drawing and webpage area;
Render subelement, for rendering the data texturing after merging.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410321142.8A CN104063151B (en) | 2014-07-07 | 2014-07-07 | A kind of browser page processing method and processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410321142.8A CN104063151B (en) | 2014-07-07 | 2014-07-07 | A kind of browser page processing method and processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104063151A CN104063151A (en) | 2014-09-24 |
CN104063151B true CN104063151B (en) | 2017-03-01 |
Family
ID=51550888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410321142.8A Active CN104063151B (en) | 2014-07-07 | 2014-07-07 | A kind of browser page processing method and processing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104063151B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843932A (en) * | 2016-03-30 | 2016-08-10 | 乐视控股(北京)有限公司 | Webpage design method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739420A (en) * | 2008-11-05 | 2010-06-16 | 上海埃帕信息科技有限公司 | Browser interface and operation method thereof |
CN103037102A (en) * | 2012-12-21 | 2013-04-10 | 广东欧珀移动通信有限公司 | Free screen shot method of touch screen cellphone and cellphone |
WO2013141895A1 (en) * | 2012-03-20 | 2013-09-26 | Ebay Inc. | Information and action bar for a user interface |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060277478A1 (en) * | 2005-06-02 | 2006-12-07 | Microsoft Corporation | Temporary title and menu bar |
JP5455582B2 (en) * | 2009-11-27 | 2014-03-26 | キヤノン株式会社 | Information processing apparatus, control method therefor, and program |
CN103793436B (en) * | 2012-11-02 | 2019-04-02 | 腾讯科技(深圳)有限公司 | The method and browser of browsing pages |
-
2014
- 2014-07-07 CN CN201410321142.8A patent/CN104063151B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101739420A (en) * | 2008-11-05 | 2010-06-16 | 上海埃帕信息科技有限公司 | Browser interface and operation method thereof |
WO2013141895A1 (en) * | 2012-03-20 | 2013-09-26 | Ebay Inc. | Information and action bar for a user interface |
CN103037102A (en) * | 2012-12-21 | 2013-04-10 | 广东欧珀移动通信有限公司 | Free screen shot method of touch screen cellphone and cellphone |
Also Published As
Publication number | Publication date |
---|---|
CN104063151A (en) | 2014-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2008130388A3 (en) | Methods of displaying information at different zoom settings and related devices and computer program products | |
CN105825535B (en) | A kind of figure layer merging method and system | |
US10204079B2 (en) | Method and apparatus for displaying an extended function information area | |
CN103927178A (en) | Picture capturing method and picture capturing device | |
TW201322050A (en) | Electronic device and read guiding method thereof | |
CN105868235A (en) | Image preview method and apparatus of intelligent terminal | |
CN106610831A (en) | Webpage screenshot method and device | |
CN104077273A (en) | Method and device for extracting webpage contents | |
CN104423800A (en) | Electronic device and method of executing application thereof | |
EP3018575A1 (en) | Electronic blackboard apparatus and controlling method thereof | |
CN105183474B (en) | The method and apparatus that waterfall-type picture is shown | |
CN106201301B (en) | Mobile terminal and control method thereof | |
CN103186880B (en) | Generate the method and apparatus of thumbnail | |
CN106648571A (en) | Application interface correction method and apparatus | |
CN107423058A (en) | A kind of interface display method and device | |
WO2017211202A1 (en) | Method, device, and terminal device for extracting data | |
CN104063151B (en) | A kind of browser page processing method and processing device | |
US9372616B2 (en) | Smart interactive bookmarks | |
CN107025215A (en) | A kind of picture and text composition method and device | |
CN104750661B (en) | A kind of method and apparatus that selected words and phrases are carried out to text | |
CN104123282B (en) | A kind of method, device and mobile terminal for selecting hyperlink | |
CN104765564B (en) | A kind of screenshot method and device | |
CN104766352A (en) | Picture processing method | |
CN105022737B (en) | Micro-blog method for information display and device | |
CN115437736A (en) | Method and device for recording notes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |