CN106095874A - A kind of method and apparatus showing the page - Google Patents

A kind of method and apparatus showing the page Download PDF

Info

Publication number
CN106095874A
CN106095874A CN201610394877.2A CN201610394877A CN106095874A CN 106095874 A CN106095874 A CN 106095874A CN 201610394877 A CN201610394877 A CN 201610394877A CN 106095874 A CN106095874 A CN 106095874A
Authority
CN
China
Prior art keywords
script
page
picture
determined
domain name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610394877.2A
Other languages
Chinese (zh)
Inventor
顾杨
李和意
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610394877.2A priority Critical patent/CN106095874A/en
Publication of CN106095874A publication Critical patent/CN106095874A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3228Monitoring task completion, e.g. by use of idle timers, stop commands or wait commands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to page analysis technical field, particularly to a kind of method and apparatus showing the page, a large amount of system resource can be taken in order to solve browser present in prior art during the display page, the problem increasing power consumption.The embodiment of the present invention is according to the source domain name of script, the script relevant to the described page to be shown is selected from the script determined, and load the part or all of script of selection, owing to the script in the page can be screened by the embodiment of the present invention, the quantity of Run Script is decreased during the display page, thus reduce the system resource taken, reduce power consumption;Increase the stand-by time of equipment further.

Description

A kind of method and apparatus showing the page
Technical field
The present invention relates to page analysis technical field, particularly to a kind of method and apparatus showing the page.
Background technology
Browser refer to show page server or file system html file (standard generalized markup language One application) content, and allow a kind of software of user and these file interactions.It is used for showing the literary composition in WWW or LAN Word, image and other information.These words or image, can be the hyperlink connecting other network address, and user can rapidly and easily Browse various information.
In PC (PC) and mobile device, browser is all important user entry, is the highest the answering of utilization rate One of with.
Browser needs continuous service JS script during the display page, along with the page needs the content of display constantly to increase Add and the appearance (such as suspension shows) of function that some are new so that in the page, JS script quantity is continuously increased.
Along with popularizing of mobile device, equipment can be used the time cause ratio large effect, especially by the power consumption of browser It is much more relatively continuous service substantial amounts of JS script can improve by occupying system resources when browsing the JS script page by browser Power consumption, thus affect equipment continuation of the journey.
In sum, current browser can take a large amount of system resource during the display page, increases power consumption.
Summary of the invention
The present invention provides a kind of method and apparatus showing the page, in order to solve present in prior art browser aobvious A large amount of system resource can be taken, the problem increasing power consumption during showing the page.
A kind of method showing the page that the embodiment of the present invention provides, the method includes:
Determine the script in the page to be shown;
Source domain name according to script, selects the script relevant to the described page to be shown from the script determined;
The described page to be shown loads the part or all of script of selection, and shows the page after loading.
A kind of equipment showing the page that the embodiment of the present invention provides, this equipment includes:
Script determines module, for determining the script in the page to be shown;
Script selects module, for the source domain name according to script, selects and described page to be shown from the script determined The script that face is relevant;
Processing module, for loading the part or all of script of selection, and after showing loading on the described page to be shown The page.
The embodiment of the present invention, according to the source domain name of script, selects relevant to the described page to be shown from the script determined Script, and load the part or all of script of selection, owing to the script in the page can be sieved by the embodiment of the present invention Choosing, decreases the quantity of Run Script during the display page, thus reduces the system resource taken, and reduces power and disappears Consumption;Increase the stand-by time of equipment further.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing briefly introduce, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for this From the point of view of the those of ordinary skill in field, on the premise of not paying creative work, it is also possible to obtain it according to these accompanying drawings His accompanying drawing.
Fig. 1 is the method flow schematic diagram of the embodiment of the present invention display page;
Fig. 2 is the complete method schematic flow sheet of the first display page of the embodiment of the present invention;
Fig. 3 is the complete method schematic flow sheet of embodiment of the present invention the second display page;
Fig. 4 is the device structure schematic diagram of the embodiment of the present invention display page.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing the present invention made into One step ground describes in detail, it is clear that described embodiment is only some embodiments of the present invention rather than whole enforcement Example.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise All other embodiments, broadly fall into the scope of protection of the invention.
As it is shown in figure 1, the method for the embodiment of the present invention display page includes:
Step 100, the script determined in the page to be shown;
Step 101, source domain name according to script, select the foot relevant to the described page to be shown from the script determined This;
Step 102, on the described page to be shown, load the part or all of script of selection, and show the page after loading Face.
Wherein, the page to be shown can be a complete page;It can also be the portion that in the page, screen is currently needed for display Point.
The embodiment of the present invention, according to the source domain name of script, selects relevant to the described page to be shown from the script determined Script, and load the part or all of script of selection, owing to the script in the page can be sieved by the embodiment of the present invention Choosing, decreases the quantity of Run Script during the display page, thus reduces the system resource taken, and reduces power and disappears Consumption;Increase the stand-by time of equipment further.
Wherein, domain name (Domain Name), a certain meter on the Internet being made up of the name of a string separation Calculation machine or the title of calculating unit, for identifying electronic bearing (sometimes referred to as geographical position, the ground of computer when data are transmitted Domain name in reason, refers to a local area of administrative autonomy power).
According to the RFC1738 regulation to URL format, URL can comprise after protocol section domain name (or directly IP ground Location), the present invention uses the domain name of broad sense, direct IP address is also served as domain name and treats. can see according to the definition of domain name Going out, this attribute can be as the foundation distinguishing Data Source.
Wherein, URL (URL) is position and the access method of the resource to obtaining from the Internet A kind of succinct expression, be the address of standard resource on the Internet.Each file on the Internet has one uniquely URL, the information that it comprises points out how the position of file and browser should process it.
JS embeds homepage by the form of URL, and this URL contains a corresponding domain name, and this domain name is exactly that the page draws The source domain name of JS.The most each script has the source domain name of correspondence,
For an example obtaining domain name
URL is http://www.example.com/index.html.
Take, according to RFC1738, first part www.example.com that protocol section is later, get rid of server therein Name www, obtains domain name example.com.
For homepage quote other resources use URL there is also use relative path abbreviated form.
Such as http://www.example.com/image/pic.png.
/ image/ can be abbreviated as when homepage http://www.example..com/index.html quotes pic.png.The url of this type then thinks that its source is consistent with homepage.
Optionally, according to the source domain name of script, from the script determined, select the foot relevant to the described page to be shown In this time, from the script determined, select the script that the source domain name of script is identical with the domain name of the described page to be shown.
The domain name of the page to be shown can determine from the URL address of the page to be shown, and concrete mode is with above-mentioned according to foot This includes that URL address determines that the mode of domain name is identical, does not repeats them here.
If the source domain name of script is identical with the domain name of the described page to be shown, it may be determined that this script and page to be shown It is correlated with in face.
The embodiment of the present invention is after screening script according to domain name, in order to further reduce the number of Run Script Amount, reduces the system resource taken, it is also possible to screen the script selected further.
Concrete, after the described script that selection is relevant to the described page to be shown from the script determined, from select Script determining, target script, wherein said target script are to operate liking the script of a part in the page;From the mesh determined In mark script, reservation operations object is the target script of the object belonging to page main contents, rejects remaining target script.
Owing to being all carried out specific operation with the page main contents script that it doesn't matter, as hidden, show, move, updating Contents etc., mostly typically are advertisement, the information such as recommendation in also having similar station in addition to advertisement or between standing.This kind of script is in running A large amount of system resource can be consumed, make CPU usage maintain and process high load capacity always, thus increase power consumption.So shielding this part Script can reduce the system resource taken further.
Each script has the operation object of correspondence, and the embodiment of the present invention is a part of to liking in the page by corresponding operation Script as target script, be further directed to target script and screen.
When determining page main contents, can judge respectively according to the region of the page, if i.e. whether region had Main contents.
The mode judged has a lot, is described below several.
1, judge whether region has large scale picture, if it has, then determine that this region is main content area.Can will be somebody's turn to do The content in region is as main contents.
Here judge whether picture is that large scale picture can pre-set picture area, be considered as if greater than this area Picture is large scale picture;
Can also judge that picture area accounts for the ratio of the area of the page whether more than the first threshold value set, if it is, Then determine that this picture is large scale picture;Otherwise, it determines this picture is not large scale picture.
2, judge whether region has a large amount of text, if it has, then determine that this region is main content area.Can be by this district The content in territory is as main contents.
Here determine whether that a large amount of text may determine that the quantity of word in region, if quantity is more than second set Threshold value, it is determined that there is a large amount of text in this region;Otherwise, it determines this region does not has a large amount of text.
Can also make a distinction according to the area ratio that the word quantity in each region is minimum with word quantity.Due to the page In text may be scattered in multiple region, by taking the ratio in the minimum region of each region word quantity and word quantity Sequence takes more than X or the region that is positioned at front Y position, and wherein, X and Y is positive integer.So can avoid omitting scattered text area Territory.
3, by above 1 with 2-in-1 judge, can determine that this region is for main contents district so that 1 and 2 to have one to meet Territory;1 and 2 can also all meet and just determine that this region is main content area.
Except by the script quantity of less loading, reducing the system resource taken, it is also proposed that a kind of raising adjusts the page The parameter of middle picture reduces the scheme of the system resource taken.
The embodiment of the present invention adjusts the corresponding relation of parameter according to ambient brightness scope and picture, determines current environment brightness The picture that affiliated photometric range is corresponding adjusts parameter;
Adjust parameter according to the picture determined the picture needing display in the described page is adjusted.
In force, current environment brightness can be obtained by optical sensor.Ambient brightness scope and picture adjust parameter Corresponding relation can rule of thumb, emulation, display screen material (such as OLED (Organic Light-Emitting Diode, Organic Electricity laser display) screen) etc. mode set up.
Owing to the regulation of image parameters is mainly directed to display screen power consumption, ensureing identification not by parameter regulation Reduce screen intensity on the premise of being decreased obviously to realize reducing power consumption as far as possible, OLED screen whole style in addition to picture is adjusted to Black is main then due to the self-luminous characteristic of OLED screen, and major part region is essentially black and can substantially reduce power consumption.
Such as current environment brightness is 10, then adjust the corresponding relation of parameter according to ambient brightness scope and picture, the most really In the range of which ambient brightness fixed 10 be positioned at, it is assumed that 1~20 in the range of this, further according to ambient brightness scope and picture The corresponding relation adjusting parameter is assured that the picture adjustment parameter that 1~20 these scopes are corresponding.
Wherein, picture adjusts parameter and includes but not limited to following parameters:
Brightness, contrast, saturation, colourity.
Ambient brightness scope and picture adjust the picture in the corresponding relation of parameter and adjust parameter can be adjusted value, it is possible to To be the value after adjusting.
As a example by brightness, it can be-2 (adjusted values) that picture adjusts parameter, then need photo current brightness value is reduced 2; Can also is that 30 (values after adjustment), then photo current brightness value is set to 30.
Optionally, owing to the form of the page has a lot, the complete works of this kind of page of the such as page, the page is all other websites Link, at this moment use the script quantity that the scheme of the embodiment of the present invention rejects can be seldom permissible based on this embodiment of the present invention Arranging an optimal conditions, the page only meeting optimal conditions just uses the scheme of the embodiment of the present invention to be optimized.
Optimal conditions can be configured as required.
Such as may determine that and whether the page to be shown includes main content area, and the quantity of main content area is the most not More than the threshold value set;
If the described page to be shown includes main content area, and the quantity of described main content area is not more than setting Threshold value, it is possible to determine that the page meets optimal conditions.
The judgment mode of concrete main contents has already described above, and does not repeats them here.
Wherein, the executive agent of the embodiment of the present invention can be any equipment that can open the page, such as mobile terminal, Desktop computer, vehicle-mounted computer etc..
As in figure 2 it is shown, the complete method of the first display page of the embodiment of the present invention includes:
Step 201, determine the page to be shown.
Step 202, from the page to be shown select a script not carrying out screening.
Step 203, judge that the source domain name of script selected is the most identical with the domain name of the page to be shown, if it is, Perform step 205;Otherwise, step 204 is performed.
Step 204, ignore the script of selection, follow-up do not load.
Step 205, judge whether the script that also do not carries out screening;If it is, return step 202;Otherwise perform step Rapid 206.
Step 206, from screening after all scripts determine operate to as if the page in a part target script.
Step 207, from all target scripts select a target script not carrying out screening.
Step 208, judge select target script operation object whether be the object belonging to page main contents, if It is then to perform step 210;Otherwise, step 209 is performed.
Step 209, ignore the target script of selection, follow-up do not load.
Step 210, judge whether the target script that also do not carries out screening;If it is, return step 207;Otherwise hold Row step 211.
Step 211, the script loaded as required are to the page again typesetting, and adjust according to ambient brightness scope and picture The picture needing display in the described page is adjusted by the corresponding relation of parameter.
Step 212, loading script, and show the page after loading.
As it is shown on figure 3, the complete method of embodiment of the present invention the second display page includes:
Step 301, determine the page to be shown.
Step 302, judge whether user opens optimization option, if it is, pool performs step 303;Otherwise, this stream is jumped out Journey.
Step 303, judge whether the page to be shown meets optimal conditions, if it is, perform step 304;Otherwise, jump out This flow process.
Step 304, the script determined in the page to be shown.
Step 305, from the script determined select script source domain name identical with the domain name of the described page to be shown Script.
Step 306, from select script determine target script, wherein said target script for operation to as if the page in The script of a part.
Step 307, from the target script determined, reservation operations object is the target foot of the object belonging to page main contents This, reject remaining target script.
Step 308, adjust the corresponding relation of parameter according to ambient brightness scope and picture, determine belonging to current environment brightness Picture corresponding to photometric range adjust parameter.
Step 309, adjust parameter according to the picture that determines the picture needing display in the described page is adjusted.
Step 310, on the described page to be shown, load the part or all of script of selection, and show the page after loading Face.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of equipment showing the page, due to this equipment The principle of solution problem is similar to the method for the embodiment of the present invention display page, and therefore the enforcement of these equipment may refer to method Enforcement, repeat no more in place of repetition.
As shown in Figure 4, the equipment of the embodiment of the present invention display page includes:
Script determines module 400, for determining the script in the page to be shown;
Script selects module 401, for the source domain name according to script, selects to be shown with described from the script determined The script that the page is relevant;
Processing module 402, for loading the part or all of script of selection on the described page to be shown, and shows loading After the page.
Wherein, the page to be shown can be a complete page;It can also be the portion that in the page, screen is currently needed for display Point.
The embodiment of the present invention, according to the source domain name of script, selects relevant to the described page to be shown from the script determined Script, and load the part or all of script of selection, owing to the script in the page can be sieved by the embodiment of the present invention Choosing, decreases the quantity of Run Script during the display page, thus reduces the system resource taken, and reduces power and disappears Consumption;Increase the stand-by time of equipment further.
Wherein, the domain name of the entitled XXXX of source domain.
Each script has the source domain name of correspondence,
Script in the page the most all includes the URL address quoted, and can load script by URL address, in URL address Containing domain name, some script does not include that URL is because identical with the address of the page at script place thus omits, so for Including the script of URL address, the domain name that can be directly determined the URL address included is as the source domain name of script;For not Comprise the script of URL address, can directly using domain name corresponding for the address of the page at script place as the source domain name of script.
Such as script includes that URL address is XXX, then domain name is XXX
Optionally, according to the source domain name of script, from the script determined, select the foot relevant to the described page to be shown In this time, described script selects module 401 to select the source domain name of script and the territory of the described page to be shown from the script determined The script that name is identical.
The domain name of the page to be shown can determine from the URL address of the page to be shown, and concrete mode is with above-mentioned according to foot This includes that URL address determines that the mode of domain name is identical, does not repeats them here.
If the source domain name of script is identical with the domain name of the described page to be shown, it may be determined that this script and page to be shown It is correlated with in face.
The embodiment of the present invention is after screening script according to domain name, in order to further reduce the number of Run Script Amount, reduces the system resource taken, it is also possible to screen the script selected further.
Concrete, described script selects module 401 to select the foot relevant to the described page to be shown from the script determined After Ben, from the script selected, determine that target script, wherein said target script are to operate liking a part in the page Script;From the target script determined, reservation operations object is the target script of the object belonging to page main contents, rejects remaining Target script.
Owing to being all carried out specific operation with the page main contents script that it doesn't matter, as hidden, show, move, updating Contents etc., mostly typically are advertisement.This kind of script can consume a large amount of system resource in running, makes CPU usage maintain one Directly process high load capacity, thus increase power consumption.So shielding this part script can reduce the system resource taken further.
Each script has the operation object of correspondence, and the embodiment of the present invention is a part of to liking in the page by corresponding operation Script as target script, be further directed to target script and screen.
When determining page main contents, can judge respectively according to the region of the page, if i.e. whether region had Main contents.
The mode judged has a lot, is described below several.
1, judge whether region has large scale picture, if it has, then determine that this region is main content area.Can will be somebody's turn to do The content in region is as main contents.
Here judge whether picture is that large scale picture can pre-set picture area, be considered as if greater than this area Picture is large scale picture;
Can also judge that picture area accounts for the ratio of the area of the page whether more than the first threshold value set, if it is, Then determine that this picture is large scale picture;Otherwise, it determines this picture is not large scale picture.
2, judge whether region has a large amount of text, if it has, then determine that this region is main content area.Can be by this district The content in territory is as main contents.
Here determine whether that a large amount of text may determine that the quantity of word in region, if quantity is more than second set Threshold value, it is determined that there is a large amount of text in this region;Otherwise, it determines this region does not has a large amount of text.
Can also be according to XXX
3, by above 1 with 2-in-1 judge, can determine that this region is for main contents district so that 1 and 2 to have one to meet Territory;1 and 2 can also all meet and just determine that this region is main content area.
Except by the script quantity of less loading, reducing the system resource taken, it is also proposed that a kind of raising adjusts the page The parameter of middle picture reduces the scheme of the system resource taken.
Processing module 400 described in the embodiment of the present invention adjusts the corresponding relation of parameter according to ambient brightness scope and picture, Determine that the picture that the photometric range belonging to current environment brightness is corresponding adjusts parameter;
Adjust parameter according to the picture determined the picture needing display in the described page is adjusted.
In force, current environment brightness can be obtained by optical sensor.Ambient brightness scope and picture adjust parameter Corresponding relation can rule of thumb, emulation, the mode such as display screen material (such as OLED screen) set up.
Such as current environment brightness is 10, then adjust the corresponding relation of parameter according to ambient brightness scope and picture, the most really In the range of which ambient brightness fixed 10 be positioned at, it is assumed that 1~20 in the range of this, further according to ambient brightness scope and picture The corresponding relation adjusting parameter is assured that the picture adjustment parameter that 1~20 these scopes are corresponding.
Wherein, picture adjusts parameter and includes but not limited to following parameters:
Brightness, contrast, saturation, colourity.
Ambient brightness scope and picture adjust the picture in the corresponding relation of parameter and adjust parameter can be adjusted value, it is possible to To be the value after adjusting.
As a example by brightness, it can be-2 (adjusted values) that picture adjusts parameter, then need photo current brightness value is reduced 2; Can also is that 30 (values after adjustment), then photo current brightness value is set to 30.
Optionally, owing to the form of the page has a lot, the complete works of this kind of page of the such as page, the page is all other websites Link, at this moment use the script quantity that the scheme of the embodiment of the present invention rejects can be seldom permissible based on this embodiment of the present invention Arranging an optimal conditions, the page only meeting optimal conditions just uses the scheme of the embodiment of the present invention to be optimized.I.e. institute State script and determine that module 400, after determining that the page to be shown meets optimal conditions, determines the script in the page to be shown.
Optimal conditions can be configured as required.
Such as may determine that and whether the page to be shown includes main content area, and the quantity of main content area is the most not More than the threshold value set;
If the described page to be shown includes main content area, and the quantity of described main content area is not more than setting Threshold value, it is possible to determine that the page meets optimal conditions.
The judgment mode of concrete main contents has already described above, and does not repeats them here.
Wherein, the equipment of the embodiment of the present invention can be any equipment that can open the page, such as mobile terminal, desk-top Computer, vehicle-mounted computer etc..
It can be seen from the above: the embodiment of the present invention, according to the source domain name of script, selects from the script determined The script relevant to the described page to be shown, and load the part or all of script of selection, owing to the embodiment of the present invention can Script in the page is screened, during the display page, decrease the quantity of Run Script, thus reduce and take System resource, reduces power consumption;Increase the stand-by time of equipment further.
Above by reference to the method illustrated according to the embodiment of the present application, device (system) and/or the frame of computer program Figure and/or flow chart describe the application.Should be understood that and can realize block diagram and/or flow process diagram by computer program instructions One block of figure and the combination of the block of block diagram and/or flowchart illustration.Can be supplied to lead to by these computer program instructions By computer, the processor of special-purpose computer and/or other programmable data processing means, to produce machine so that via meter The instruction that calculation machine processor and/or other programmable data processing means perform creates and is used for realizing block diagram and/or flow chart block The method of the function/action specified by.
Correspondingly, it is also possible to implement the application with hardware and/or software (including firmware, resident software, microcode etc.).More Further, the application can take computer to use or the shape of computer program on computer-readable recording medium Formula, it has the computer realized in media as well and can use or computer readable program code, to be made by instruction execution system With or combined command perform system and use.In the present context, computer can use or computer-readable medium is permissible Being arbitrary medium, it can comprise, stores, communicates, transmit or transmission program, to be made by instruction execution system, device or equipment With, or combined command execution system, device or equipment use.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof Within, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. the method showing the page, it is characterised in that the method includes:
Determine the script in the page to be shown;
Source domain name according to script, selects the script relevant to the described page to be shown from the script determined;
The described page to be shown loads the part or all of script of selection, and shows the page after loading.
2. the method for claim 1, it is characterised in that the described source domain name according to script, from the script determined Select the script relevant to the described page to be shown, including:
The script that the source domain name of script is identical with the domain name of the described page to be shown is selected from the script determined.
3. the method for claim 1, it is characterised in that described selection and the described page to be shown from the script determined After relevant script, before the described page to be shown loads the part or all of script of selection, also include:
From the script selected, determine that target script, wherein said target script are to operate liking the foot of a part in the page This;
From the target script determined, reservation operations object is the target script of the object belonging to page main contents, rejects remaining Target script.
4. the method for claim 1, it is characterised in that before the page after described display loading, also include:
Adjust the corresponding relation of parameter according to ambient brightness scope and picture, determine the photometric range pair belonging to current environment brightness The picture answered adjusts parameter;
Adjust parameter according to the picture determined the picture needing display in the described page is adjusted.
5. the method as described in Claims 1 to 4 is arbitrary, it is characterised in that before the described script determined in the page to be shown, Also include:
Determine that the described page to be shown includes main content area, and the quantity of described main content area is not more than the threshold set Value.
6. the equipment showing the page, it is characterised in that this equipment includes:
Script determines module, for determining the script in the page to be shown;
Script selects module, for the source domain name according to script, selects and described page phase to be shown from the script determined The script closed;
Processing module, for loading the part or all of script of selection on the described page to be shown, and shows the page after loading Face.
7. equipment as claimed in claim 6, it is characterised in that described script select module specifically for:
The script that the source domain name of script is identical with the domain name of the described page to be shown is selected from the script determined.
8. equipment as claimed in claim 6, it is characterised in that described script selects module to be additionally operable to:
After the described script that selection is relevant to the described page to be shown from the script determined, from the script selected, determine mesh Mark script, wherein said target script is to operate liking the script of a part in the page;
From the target script determined, reservation operations object is the target script of the object belonging to page main contents, rejects remaining Target script.
9. equipment as claimed in claim 6, it is characterised in that described processing module is additionally operable to:
Adjust the corresponding relation of parameter according to ambient brightness scope and picture, determine the photometric range pair belonging to current environment brightness The picture answered adjusts parameter;
Adjust parameter according to the picture determined the picture needing display in the described page is adjusted.
10. the equipment as described in as arbitrary in claim 6~9, it is characterised in that described script determines that module is additionally operable to:
Determining that the described page to be shown includes main content area, and the quantity of described main content area is being not more than the threshold set After value, determine the script in the page to be shown.
CN201610394877.2A 2016-06-03 2016-06-03 A kind of method and apparatus showing the page Pending CN106095874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610394877.2A CN106095874A (en) 2016-06-03 2016-06-03 A kind of method and apparatus showing the page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610394877.2A CN106095874A (en) 2016-06-03 2016-06-03 A kind of method and apparatus showing the page

Publications (1)

Publication Number Publication Date
CN106095874A true CN106095874A (en) 2016-11-09

Family

ID=57447949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610394877.2A Pending CN106095874A (en) 2016-06-03 2016-06-03 A kind of method and apparatus showing the page

Country Status (1)

Country Link
CN (1) CN106095874A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515907A (en) * 2017-08-10 2017-12-26 北京海泰方圆科技股份有限公司 The display methods and device of browser page
WO2023241592A1 (en) * 2022-06-14 2023-12-21 中兴通讯股份有限公司 Page loading method and device, storage medium, and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090204886A1 (en) * 2005-10-14 2009-08-13 Sichun Xu Asynchronously rendering dynamically created content across multiple network domains
CN101669114A (en) * 2007-04-27 2010-03-10 微软公司 dynamically loading scripts
WO2012162275A2 (en) * 2011-05-20 2012-11-29 Cloudflare Inc. Improved loading of web resources
CN102855318A (en) * 2012-08-31 2013-01-02 北京搜狗信息服务有限公司 Method and system for preloading of webpages
CN103377064A (en) * 2012-04-28 2013-10-30 阿里巴巴集团控股有限公司 Page script loading method and page script loading device
CN104063471A (en) * 2011-12-29 2014-09-24 北京奇虎科技有限公司 Method and system for carrying out web page browsing on mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090204886A1 (en) * 2005-10-14 2009-08-13 Sichun Xu Asynchronously rendering dynamically created content across multiple network domains
CN101669114A (en) * 2007-04-27 2010-03-10 微软公司 dynamically loading scripts
WO2012162275A2 (en) * 2011-05-20 2012-11-29 Cloudflare Inc. Improved loading of web resources
CN104063471A (en) * 2011-12-29 2014-09-24 北京奇虎科技有限公司 Method and system for carrying out web page browsing on mobile terminal
CN103377064A (en) * 2012-04-28 2013-10-30 阿里巴巴集团控股有限公司 Page script loading method and page script loading device
CN102855318A (en) * 2012-08-31 2013-01-02 北京搜狗信息服务有限公司 Method and system for preloading of webpages

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨铁军: "《产业专利分析报告—浏览器》", 31 May 2014, 知识产权出版社 *
电脑版合订本编委会: "《电脑报2014年合订本上册》", 31 January 2015, 重庆出版社 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515907A (en) * 2017-08-10 2017-12-26 北京海泰方圆科技股份有限公司 The display methods and device of browser page
WO2023241592A1 (en) * 2022-06-14 2023-12-21 中兴通讯股份有限公司 Page loading method and device, storage medium, and electronic device

Similar Documents

Publication Publication Date Title
CN103139292B (en) Method for processing pictures in hyper text transmission protocol (HTTP) proxy and proxy server and system
CA2734999C (en) New tab pages and bookmark toolbars in a browser
US9977765B2 (en) Information processing device, information processing method, information processing program, display control device, and display control program
CN107256232B (en) Information recommendation method and device
US8521892B2 (en) Method and apparatus for controlling web page advertisement through incentives and restrictions
US8957886B2 (en) Power-saving and context-showing display information converting system and corresponding apparatus
CN112099790B (en) Method, device, equipment and storage medium for determining page theme
JP5698992B2 (en) Power saving display information conversion system and method
US20090085921A1 (en) Populate Web-Based Content Based on Space Availability
CN104834753A (en) Webpage screenshot generating method and device
CN111651141B (en) Method and device for showing landing page of applet, electronic equipment and storage medium
CN101853158A (en) Method and device for adjusting Widget window
JP2012032943A (en) Website browsing system, server, program for server and website browsing support method
CN102880707B (en) Webpage body content recognition methods and device
EP3080722B1 (en) Web page rendering on wireless devices
CN105871945A (en) Image information sending method and device, and waterfall flow layout method and device
US20150312854A1 (en) Terminal device and control method and program therefor
CN108073647A (en) Webpage display process and device
CN110309444A (en) A kind of page display method, device, medium and server
CN106095874A (en) A kind of method and apparatus showing the page
CN101354724A (en) Method for displaying search result content in intelligent advertisement search web page window
CN105373310B (en) Method and apparatus based on the user's operation real-time update page
US11157587B2 (en) Content loading to provide enhanced viewing experience
CN107436927B (en) Application method and system of UI component
CN107027056B (en) Desktop configuration method, server and client

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109

RJ01 Rejection of invention patent application after publication