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 clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of Webpage method for refreshing, network equipment can be divided at least two one layout region by the web page area in the Webpage getting, according to the priority of predefined one layout region, to server, send the access to content request for one layout region, content of pages corresponding to one layout region that reception server sends, and in one layout region, show corresponding content of pages respectively, can fast refresh webpage certain content, so that user browses.In the embodiment of the present invention, mentioned network equipment may operate in smart mobile phone, panel computer, personal computer (Personal Computer, PC), in the terminal such as notebook computer, above-mentioned network equipment can comprise web browser or electronic magazine client etc.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of Webpage method for refreshing that in the embodiment of the present invention, first aspect provides, and the Webpage method for refreshing in the present embodiment can comprise as shown in the figure:
Step S101, obtains the web page area in Webpage, and web page area is divided into at least two one layout region.
Network equipment can obtain the web page area in Webpage, and web page area is divided into at least two one layout region, the interface schematic diagram of the Webpage shown in Fig. 8 of take is example, and network equipment can be divided into the web page area in Webpage 9 one layout region.Optionally, web page area in Webpage can comprise viewing area and the non-display non-display area on terminal interface being presented on terminal interface, network equipment can be divided into viewing area at least Liang Ge display unit district, and network equipment can also be divided into non-display area at least Liang Ge display unit district.
Step S102, obtains the priority of predefined one layout region.
Network equipment is divided into web page area after at least two one layout region, can also obtain the priority of predefined one layout region, the interface schematic diagram of the Webpage shown in Fig. 8 of take is example, the priority of the predefined one layout region that network equipment gets can be according to from left to right, mode is from top to bottom arranged, the priority of upper left one layout region can be the first priority, priority tag is 1, the priority of the one layout region of lower left can be the 3rd priority, priority tag is 3, further the one layout region of lower left can also Further Division be the first subregion and the second subregion, wherein the priority for the first subregion of this one layout region is the first priority, priority tag is a, priority for the second subregion of this one layout region is the second priority, priority tag is b, it is to be noted, the priority level initializing method of one layout region is including but not limited to aforesaid way, can for different scenes, revise accordingly according to the R&D personnel, the present invention does not limit.
In optional embodiment, when the web page area in Webpage comprises the viewing area that is presented on terminal interface and non-display non-display area on terminal interface, network equipment can obtain the priority of predefined viewing area and the priority of non-display area, wherein the priority of viewing area is higher than the priority of non-display area, concrete, network equipment can also obtain the priority at least Liang Ge display unit district in predefined viewing area, and the priority at least Liang Ge display unit district in non-display area, for example, in the schematic diagram of the interface of the Webpage shown in Fig. 8, priority tag is that arbitrary display unit district of 1~6 all belongs to viewing area, priority tag is that arbitrary display unit district of 7~9 belongs to non-display area.
Step S103, according to the priority of one layout region, sends the access to content request for one layout region to server.
Network equipment can be according to the priority of one layout region, to server, send the access to content request for one layout region, as shown in Figure 8, in web page area, the priority of upper left one layout region is the first priority, network equipment can be according to the priority of one layout region, to server, send the access to content request for upper left one layout region, so that server sends content of pages corresponding to upper left one layout region according to this request of access to network equipment, wherein content of pages can comprise picture, text, voice or video etc.
In optional embodiment, the priority of the viewing area that network equipment gets is higher than the priority of non-display area, network equipment can send the access to content request for viewing area to server, receive and show after content of pages corresponding to viewing area, to server, send the access to content request for non-display area again, receive and show the content of pages that non-display area is corresponding, concrete, after the priority at least Liang Ge display unit district that network equipment can be in getting viewing area, according to the priority in this display unit district, to server, send the access to content request in display unit district corresponding to the first priority, receive and show the content of pages that this display unit district is corresponding, network equipment can also send to server the access to content request in display unit district corresponding to the second priority, after network equipment shows content of pages corresponding to all display units district in viewing area, can be according to the priority at least Liang Ge display unit district in non-display area, to server, send the access to content request in this display unit district.
Step S104, content of pages corresponding to one layout region that reception server sends according to the access to content request for one layout region, and in one layout region, show corresponding content of pages respectively.
Network equipment sends after the access to content request for one layout region to server, content of pages corresponding to one layout region can reception server sending according to the access to content request for one layout region, and in one layout region, show corresponding content of pages respectively, optionally, network equipment can also show in the one layout region of display page content not default content of pages, such as default picture or text message etc.
In optional embodiment, network equipment can also obtain the slip instruction that user submits to for viewing area, according to slip instruction, upgrade the display unit district in viewing area, and adjustment is through the prioritization in the display unit district of renewal, if the display unit district that network equipment monitors in viewing area upgrades, can be according to the priority in the display unit district through adjusting, to server, send for the not access to content request in the display unit district of display page content in the display unit district through upgrading, further alternative, network equipment monitors display unit district in viewing area while upgrading, in display unit district before can also Monitoring and Update, whether there is the not display unit district of display page content, if there is the not display unit district of display page content in the display unit district before upgrading, network equipment can suspend reception server according to the content of pages corresponding to display unit district of the not display page content that the access to content request in the display unit district of display page content does not send, and the content of pages corresponding to display unit district of the not display page content that arrives of storing received, so that network equipment is while again sending the access to content request for this display unit district to server, continue other content of pages beyond content of pages corresponding to this display unit district receiving that reception server sends, can save the content of pages transmission time, promote content of pages transfer efficiency.
In the Webpage method for refreshing shown in Fig. 1, network equipment is divided at least two one layout region by the web page area in the Webpage getting, according to the priority of the predefined one layout region getting, to server, send the access to content request for one layout region, content of pages corresponding to one layout region that reception server sends, and in one layout region, show corresponding content of pages respectively, and can fast refresh webpage certain content, so that user browses.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of a kind of Webpage method for refreshing that in the embodiment of the present invention, second aspect provides, and the Webpage method for refreshing in the present embodiment can comprise as shown in the figure:
Step S201, obtains and in Webpage, is presented at viewing area and the non-display non-display area on terminal interface on terminal interface.
Network equipment can obtain the web page area in Webpage, wherein web page area can comprise viewing area and the non-display non-display area on terminal interface being presented on terminal interface, the interface schematic diagram of the Webpage shown in Fig. 8 of take is example, according to order from left to right, from top to bottom, the one layout region that is arranged in front 6 in Webpage is viewing area, and the one layout region that is arranged in last 3 is non-display area.
Step S202, obtains the priority of predefined viewing area and the priority of non-display area, and wherein the priority of viewing area is higher than the priority of non-display area.
Network equipment can obtain the priority of predefined viewing area and the priority of non-display area, wherein the priority of viewing area is higher than the priority of non-display area, for example, in Webpage, be arranged in front the priority of one layout region of 6 higher than the priority that is arranged in the one layout region of last 3.
Step S203, is divided at least Liang Ge display unit district by viewing area.
Network equipment gets behind the viewing area in Webpage, viewing area can be divided into at least Liang Ge display unit district.The interface schematic diagram of the Webpage shown in Fig. 8 of take is example, and network equipment can be divided into viewing area 6 display unit districts.Optionally, network equipment gets after the non-display area in Webpage, non-display area can be divided into at least Liang Ge display unit district, and as shown in Figure 8, network equipment can be divided into non-display area 3 display unit districts.Wherein the priority in 6 display unit districts in viewing area is all greater than the priority in 3 display unit districts in non-display area.
Step S204, obtains the priority in predefined display unit district.
Network equipment is divided into viewing area at least behind Liang Ge display unit district, can obtain the priority in predefined display unit district.The interface schematic diagram of the Webpage shown in Fig. 8 of take is example, the priority in the predefined display unit district that network equipment gets can be according to from left to right, mode is from top to bottom arranged, the priority in upper left display unit district can be the first priority, priority tag is 1, the priority in the display unit district of lower left can be the 3rd priority, priority tag is 3, further the display unit district of lower left can also Further Division be the first subregion and the second subregion, wherein the priority for first subregion in this display unit district is the first priority, priority tag is a, priority for second subregion in this display unit district is the second priority, priority tag is b, it is to be noted, the priority level initializing method in display unit district is including but not limited to aforesaid way, can for different scenes, revise accordingly according to the R&D personnel, the present invention does not limit.
In optional embodiment, network equipment also can obtain the priority in the display unit district in predefined non-display area, as shown in Figure 8, the priority in the display unit district in the non-display area that network equipment gets can be according to from left to right, mode is from top to bottom arranged, in non-display area, the priority in the display unit district of the top can be the 7th priority, priority tag is 7, the priority in the display unit district of lower left can be the 8th priority, priority tag is 8, the priority in bottom-right display unit district can be the 9th priority, priority tag is 9.
Step S205, according to the priority in display unit district, sends the access to content request for display unit district to server.
Network equipment can be according to the priority in display unit district in viewing area, to server, send the access to content request for this display unit district, so that server returns to content of pages corresponding to this display unit district according to this access to content request, wherein content of pages can comprise picture, text, voice or video etc.As shown in Figure 8, network equipment can be according to the priority in display unit district, the access to content request in the access to content request in the display unit district that is 1 to server transmission for priority tag successively, the display unit district that is 2 for priority tag ... the access to content request in the display unit district that is 6 for priority tag.
In optional embodiment, network equipment sends after the access to content request for each display unit district in viewing area to server, can also be according to the priority in display unit district in non-display area, to server, send the access to content request for display unit district in non-display area, so that server returns to content of pages corresponding to display unit district in non-display area according to this access to content request.
Step S206, content of pages corresponding to display unit district that reception server sends according to the access to content request for display unit district, and in display unit district, show corresponding content of pages respectively.
Content of pages corresponding to display unit district that network equipment can reception server sends according to the access to content request for display unit district in viewing area, and the display unit district in viewing area shows corresponding content of pages respectively, optionally, network equipment can also show in the display unit district of display page content not default content of pages, such as default picture or text message etc.
In optional embodiment, content of pages corresponding to display unit district that all right reception server of network equipment sends according to the access to content request for display unit district in non-display area, and the display unit district in non-display area shows corresponding content of pages respectively.
In the Webpage method for refreshing shown in Fig. 2, network equipment obtains and in Webpage, is presented at viewing area and the non-display non-display area on terminal interface on terminal interface, wherein the priority of viewing area is higher than the priority of non-display area, further viewing area is divided into at least Liang Ge display unit district, according to the priority in display unit district, to server, send the access to content request for display unit district, content of pages corresponding to display unit district that reception server sends, and in display unit district, show corresponding content of pages respectively, can fast refresh webpage certain content, so that user browses.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of a kind of Webpage method for refreshing that in the embodiment of the present invention, the third aspect provides, and the Webpage method for refreshing in the present embodiment can comprise as shown in the figure:
Step S301, network equipment obtains and in Webpage, is presented at viewing area and the non-display non-display area on terminal interface on terminal interface.
Network equipment can obtain the web page area in Webpage, and wherein web page area can comprise viewing area and the non-display non-display area on terminal interface being presented on terminal interface.
Step S302, network equipment is divided at least Liang Ge display unit district by viewing area, and obtains the priority in predefined display unit district.
Network equipment gets behind the viewing area in Webpage, viewing area can be divided into at least Liang Ge display unit district, and obtains the priority in predefined display unit district.The interface schematic diagram of the Webpage shown in Fig. 8 of take is example, network equipment can be divided into viewing area 6 display unit districts, network equipment can also obtain the priority in predefined these 6 display unit districts, and to server, send the access to content request for this display unit district according to the priority in display unit district, so that server returns to content of pages corresponding to display unit district according to this access to content request.
Step S303, network equipment obtains the slip instruction that user submits to for viewing area.
Network equipment is divided into viewing area at least behind Liang Ge display unit district, can obtain the slip instruction that user submits to for viewing area, the instruction of wherein sliding can be that user drags the slip instruction that scroll bar in Webpage is submitted to, can be also user for viewing area, submit to slide up and down instruction etc.
Step S304, network equipment, according to slip instruction, upgrades the display unit district in viewing area.
Network equipment can, according to the slip instruction receiving, upgrade the display unit district in viewing area.The interface schematic diagram of the Webpage shown in Fig. 8 of take is example, if user submits upward sliding instruction to for viewing area, display terminal can be according to this instruction of sliding, upgrade the display unit district in viewing area, for example through the display unit district upgrading, can comprise and upgrade display unit district and the bottom-right display unit district that is positioned at lower left before, can also comprise other San Ge display unit districts, the display unit district that is positioned at lower left before wherein upgrading is that priority tag is 3 display unit district, before upgrading, being positioned at bottom-right display unit district is that priority tag is 6 display unit.
Step S305, network equipment adjustment is through the prioritization in the display unit district of renewal.
Network equipment gets behind the display unit district in the viewing area through upgrading, can adjust the prioritization in the display unit district through upgrading, for example, network equipment can be adjusted into the first priority by the priority that is positioned at the display unit district of lower left before upgrading, the priority that is positioned at bottom-right display unit district before upgrading is adjusted into the second priority, the priority in the display unit district that is 7 by priority tag before upgrading is adjusted into the 3rd priority, the priority in the display unit district that is 8 by priority tag before upgrading is adjusted into the 4th priority, the priority in the display unit district that is 9 by priority tag before upgrading is adjusted into the 5th priority.
Step S306, network equipment, according to the priority in the display unit district through adjusting, sends for the not access to content request in the display unit district of display page content in the display unit district through upgrading to server.
Network equipment can, according to the priority in the display unit district through adjusting, send for the not access to content request in the display unit district of display page content in the display unit district through upgrading to server.For example, through in display unit district renewal the display unit district of display page content do not comprise corresponding display unit district and display unit district corresponding to the 5th priority of display unit district, the 4th priority corresponding to the 3rd priority through adjusting, network equipment can be successively to server send access to content request for the display unit district of the 3rd priority, for the access to content request in the display unit district of the 4th priority and for the access to content request in the display unit district of the 5th priority.
Step S307, server, according to the access to content request for display unit district, sends content of pages corresponding to display unit district to network equipment.
Server receives after the access to content request for display unit district, can, according to this access to content request, to network equipment, send content of pages corresponding to this display unit district.For example, server can send according to the access to content request in the display unit district for the 3rd priority the content of pages corresponding to display unit district of the 3rd priority to network equipment; Server can also send according to the access to content request in the display unit district for the 4th priority the content of pages corresponding to display unit district of the 4th priority to network equipment; Server can also send according to the access to content request in the display unit district for the 5th priority the content of pages corresponding to display unit district of the 5th priority to network equipment.
Step S308, network equipment shows corresponding content of pages in display unit district respectively.
Network equipment gets after content of pages corresponding to display unit district, can show corresponding content of pages in Gai display unit district.Optionally, network equipment can also show in the display unit district of display page content not default content of pages, such as default picture or text message etc.
In the Webpage method for refreshing shown in Fig. 3, network equipment is divided at least Liang Ge display unit district by viewing area, the display unit district in viewing area is upgraded in the slip instruction of submitting to for viewing area according to user, according to the priority in the display unit district through adjusting, to server, send for the not access to content request in the display unit district of display page content in the display unit district through upgrading, receive and show the content of pages that display unit district is corresponding, can fast refresh webpage certain content, so that user browses.
Refer to Fig. 4, Fig. 4 is the schematic flow sheet of a kind of Webpage method for refreshing that in the embodiment of the present invention, fourth aspect provides, and the Webpage method for refreshing in the present embodiment can comprise as shown in the figure:
Step S401, obtains and in Webpage, is presented at viewing area and the non-display non-display area on terminal interface on terminal interface.
Network equipment can obtain the web page area in Webpage, and wherein web page area can comprise viewing area and the non-display non-display area on terminal interface being presented on terminal interface.
Step S402, is divided at least Liang Ge display unit district by viewing area.
Network equipment gets behind the viewing area in Webpage, viewing area can be divided into at least Liang Ge display unit district.The interface schematic diagram of the Webpage shown in Fig. 8 of take is example, network equipment can be divided into viewing area 6 display unit districts, network equipment can also obtain the priority in predefined these 6 display unit districts, and to server, send the access to content request for this display unit district according to the priority in display unit district, so that server returns to content of pages corresponding to display unit district according to this access to content request.
Step S403, obtains the slip instruction that user submits to for viewing area.
Network equipment is divided into viewing area at least behind Liang Ge display unit district, can obtain the slip instruction that user submits to for viewing area, the instruction of wherein sliding can be that user drags the slip instruction that scroll bar in Webpage is submitted to, can be also user for viewing area, submit to slide up and down instruction etc.
Step S404, according to slip instruction, upgrades the display unit district in viewing area.
Network equipment can, according to the slip instruction receiving, upgrade the display unit district in viewing area.The interface schematic diagram of the Webpage shown in Fig. 8 of take is example, if user submits upward sliding instruction to for viewing area, display terminal can be according to this instruction of sliding, upgrade the display unit district in viewing area, for example through the display unit district upgrading, can comprise and upgrade display unit district and the bottom-right display unit district that is positioned at lower left before, can also comprise other San Ge display unit districts, the display unit district that is positioned at lower left before wherein upgrading is that priority tag is 3 display unit district, before upgrading, being positioned at bottom-right display unit district is that priority tag is 6 display unit.
, in the display unit district before Monitoring and Update, there is the not display unit district of display page content in step S405.
Network equipment upgrades behind the display unit district in viewing area according to slip instruction, in display unit district before can Monitoring and Update, whether there is the not display unit district of display page content, if there is the not display unit district of display page content in the display unit district before upgrading, further perform step S406; If there is not the not display unit district of display page content in the display unit district before upgrading, network equipment can directly send for the not access to content request in the display unit district of display page content in the display unit district through upgrading to server.
Step S406, suspends reception server according to the content of pages corresponding to display unit district of the not display page content that the access to content request in the display unit district of display page content does not send.
When network equipment monitors the display unit district that has display page content not in the display unit district before renewal, can suspend reception server according to the content of pages corresponding to display unit district of the not display page content that the access to content request in the display unit district of display page content sends.
Step S407, the content of pages corresponding to display unit district of the not display page content that storing received arrives.
Network equipment suspends reception server according to after content of pages corresponding to the display unit district of the not display page content that the access to content request in the display unit district of display page content does not send, the content of pages corresponding to display unit district of the not display page content can storing received arriving, so that network equipment is while again sending the access to content request for this display unit district to server, continue other content of pages beyond content of pages corresponding to this display unit district receiving that reception server sends, can save the content of pages transmission time, promote content of pages transfer efficiency.
In the Webpage method for refreshing shown in Fig. 4, the display unit district in viewing area is upgraded in the slip instruction that network equipment is submitted to for viewing area according to user, while monitoring the display unit district that has display page content not in the display unit district through upgrading, suspend reception server according to the content of pages corresponding to display unit district of the not display page content that the access to content request in the display unit district of display page content does not send, and the content of pages corresponding to display unit district of the not display page content that arrives of storing received, can fast refresh webpage certain content, so that user browses.
Refer to Fig. 5, Fig. 5 is the structural representation of a kind of network equipment that in the embodiment of the present invention, first aspect provides, network equipment in the embodiment of the present invention 500 can be for implementing the Webpage method for refreshing shown in Fig. 1~Fig. 4 as shown in the figure, network equipment 500 in the embodiment of the present invention at least can comprise acquiring unit 510, request of access transmitting element 520 and content of pages receiving element 530, wherein:
Acquiring unit 510, for obtaining the web page area of Webpage, is divided at least two one layout region by described web page area.
Acquiring unit 510, also for obtaining the priority of predefined described one layout region.
The interface schematic diagram of the Webpage shown in Fig. 8 of take is example, the priority of the predefined one layout region that acquiring unit 510 gets can be according to from left to right, mode is from top to bottom arranged, the priority of upper left one layout region can be the first priority, priority tag is 1, the priority of the one layout region of lower left can be the 3rd priority, priority tag is 3, further the one layout region of lower left can also Further Division be the first subregion and the second subregion, wherein the priority for the first subregion of this one layout region is the first priority, priority tag is a, priority for the second subregion of this one layout region is the second priority, priority tag is b, it is to be noted, the priority level initializing method of one layout region is including but not limited to aforesaid way, can for different scenes, revise accordingly according to the R&D personnel, the present invention does not limit.
Request of access transmitting element 520, for according to the priority of described one layout region, sends the access to content request for described one layout region to server.As shown in Figure 8, in web page area, the priority of upper left one layout region is the first priority, and request of access transmitting element 520 can, according to the priority of one layout region, send the access to content request for upper left one layout region to server.
Content of pages receiving element 530, content of pages corresponding to described one layout region sending according to the described access to content request for described one layout region for receiving described server, and in described one layout region, show corresponding content of pages respectively, wherein content of pages can comprise picture, text, voice or video etc.Optionally, content of pages receiving element 530, can also show in the one layout region of display page content not default content of pages, such as default picture or text message etc.
As a kind of optional embodiment, acquiring unit 510, is presented at viewing area and the non-display non-display area on described terminal interface on terminal interface for obtaining described Webpage.
Further, acquiring unit 510, also, for obtaining the priority of predefined described viewing area and the priority of described non-display area, the priority of wherein said viewing area is higher than the priority of described non-display area.
As a kind of optional embodiment, the network equipment 500 in the embodiment of the present invention can also comprise:
Division unit 540, for being divided into described viewing area at least Liang Ge display unit district.
Acquiring unit 510, also for obtaining the priority in predefined described display unit district.
Request of access transmitting element 520, also, for according to the priority in described display unit district, sends the access to content request for described display unit district to server.
As a kind of optional embodiment, acquiring unit 510, the slip instruction of also submitting to for described viewing area for obtaining user, the instruction of wherein sliding can be that user drags the slip instruction that scroll bar in Webpage is submitted to, can be also user for viewing area, submit to slide up and down instruction etc.
Further, the network equipment in the embodiment of the present invention 500 can also comprise:
Updating block 550, for according to described slip instruction, upgrades the display unit district in described viewing area.
Adjustment unit 560, for adjusting the prioritization in the described display unit district through renewal.
As a kind of optional embodiment, the network equipment 500 in the embodiment of the present invention can also comprise:
Whether monitoring means 570, upgrade for monitoring the display unit district of described viewing area.
Further, request of access transmitting element 520, if also the display unit district for described viewing area upgrades,, according to the priority in the described display unit district through adjustment, to described server, send for described through the not access to content request in the display unit district of display page content in the display unit district upgrading.
As a kind of optional embodiment, monitoring means 570, if also upgrade for the display unit district of described viewing area, monitors in the display unit district before described renewal, whether there is the not display unit district of display page content;
Further, the network equipment in the embodiment of the present invention 500 can also comprise:
Receive and suspend unit 580, if there is the not display unit district of display page content for the display unit district before described renewal, suspend and receive described server according to the content of pages corresponding to display unit district of the described not display page content of the access to content request transmission in the display unit district of described not display page content.
Storage unit 590, content of pages corresponding to display unit district for the described not display page content that receives described in storing, so that request of access transmitting element 520 is while again sending the access to content request for this display unit district to server, continue other content of pages beyond content of pages corresponding to this display unit district receiving that reception server sends, can save the content of pages transmission time, promote content of pages transfer efficiency.
In the network equipment shown in Fig. 5, acquiring unit 510 is divided at least two one layout region by the web page area in Webpage, and obtain the priority of predefined described one layout region, request of access transmitting element 520 is according to the priority of one layout region, to server, send the access to content request for one layout region, content of pages corresponding to one layout region that content of pages receiving element 530 reception servers send according to the access to content request for one layout region, and in one layout region, show corresponding content of pages respectively, can fast refresh webpage certain content, so that user browses.
Fig. 6 is the structural representation of a kind of network equipment that in the embodiment of the present invention, second aspect provides.As shown in Figure 6, this network equipment 600 comprises: at least one processor 601, CPU for example, at least one user interface 603, at least one network interface 604, storer 605, at least one communication bus 602.Wherein, communication bus 602 is for realizing the connection communication between these assemblies.Wherein, user interface 603 can comprise display screen (Display), keyboard (Keyboard), and selectable user interface 603 can also comprise wireline interface, the wave point of standard.Wherein, network interface 604 can comprise wireline interface, the wave point (as WI-FI interface) of standard, for communicating by internet and server.Storer 605 can be high-speed RAM storer, also can the unsettled storer of right and wrong (non-volatile memory), for example at least one magnetic disk memory.Storer 605 can also be optionally that at least one is positioned at the memory storage away from aforementioned processing device 601.Wherein processor 601 can be stored batch processing code in conjunction with the network equipment shown in Fig. 5 in storer 605, and processor 601 calls in storer 605 program code of storage, for carrying out following operation:
Obtain the web page area in Webpage, described web page area is divided into at least two one layout region.
Obtain the priority of predefined described one layout region.
The interface schematic diagram of the Webpage shown in Fig. 8 of take is example, the priority of the predefined one layout region getting can be according to from left to right, mode is from top to bottom arranged, the priority of upper left one layout region can be the first priority, priority tag is 1, the priority of the one layout region of lower left can be the 3rd priority, priority tag is 3, further the one layout region of lower left can also Further Division be the first subregion and the second subregion, wherein the priority for the first subregion of this one layout region is the first priority, priority tag is a, priority for the second subregion of this one layout region is the second priority, priority tag is b, it is to be noted, the priority level initializing method of one layout region is including but not limited to aforesaid way, can for different scenes, revise accordingly according to the R&D personnel, the present invention does not limit.
According to the priority of described one layout region, to server, send the access to content request for described one layout region.As shown in Figure 8, if the priority of upper left one layout region is the first priority in web page area, can, according to the priority of one layout region, to server, send the access to content request for upper left one layout region.
Receive content of pages corresponding to described one layout region that described server sends according to the described access to content request for described one layout region, and in described one layout region, show corresponding content of pages respectively, wherein content of pages can comprise picture, text, voice or video etc.
In optional embodiment, the program code that processor 601 calls storage in storer 605 obtains the web page area in Webpage, described web page area is divided into at least two one layout region and is specifically as follows:
Obtain and in described Webpage, be presented at viewing area and the non-display non-display area on described terminal interface on terminal interface.
Further alternative, processor 601 can also obtain the priority of predefined described viewing area and the priority of described non-display area, and the priority of wherein said viewing area is higher than the priority of described non-display area.
In optional embodiment, the program code that processor 601 calls in storer 605 storage can also be carried out following operation after obtaining and being presented at the viewing area on terminal interface in described Webpage:
Described viewing area is divided into at least Liang Ge display unit district;
Obtain the priority in predefined described display unit district;
According to the priority in described display unit district, to server, send the access to content request for described display unit district.
In optional embodiment, processor 601 can obtain the slip instruction that user submits to for described viewing area, the instruction of wherein sliding can be that user drags the slip instruction that scroll bar in Webpage is submitted to, can be also user for viewing area, submit to slide up and down instruction etc.
Further alternative, processor 601 can also, according to described slip instruction, upgrade the display unit district in described viewing area;
Adjust the prioritization in the described display unit district through renewal.
In optional embodiment, whether the display unit district in the processor 601 described viewing areas of monitoring upgrades;
If the display unit district in described viewing area upgrades,, according to the priority in the described display unit district through adjustment, to described server, send for described through the not access to content request in the display unit district of display page content in the display unit district upgrading.
In optional embodiment, the program code that processor 601 calls in storer 605 storage is monitored after whether display unit district in described viewing area upgrade, and can also carry out following steps:
If the display unit district in described viewing area upgrades, monitor in the display unit district before described renewal, whether there is the not display unit district of display page content;
If there is the not display unit district of display page content in the display unit district before described renewal, suspend and receive described server according to the content of pages corresponding to display unit district of the described not display page content of the access to content request transmission in the display unit district of described not display page content.
The content of pages corresponding to display unit district of the described not display page content receiving described in storage, so that while again sending the access to content request for this display unit district to server, continue other content of pages beyond content of pages corresponding to this display unit district receiving that reception server sends, can save the content of pages transmission time, promote content of pages transfer efficiency.
Concrete, the network equipment of introducing in the present embodiment can be in order to implement the present invention in conjunction with the part or all of flow process in the Webpage method for refreshing embodiment of Fig. 1, Fig. 2, Fig. 3 or Fig. 4 introduction.
Refer to Fig. 7, Fig. 7 is the structural representation of a kind of network system of providing in the embodiment of the present invention, network system in the embodiment of the present invention 700 at least can comprise network equipment 710 and server 720 as shown in the figure, and network equipment 710 can be in conjunction with the network equipment shown in Fig. 5, wherein:
Network equipment 710, for obtaining the web page area of Webpage, described web page area is divided into at least two one layout region, obtain the priority of predefined described one layout region, and according to the priority of described one layout region, the access to content request sending for described one layout region to described server 720.
The interface schematic diagram of the Webpage shown in Fig. 8 of take is example, the priority of the predefined one layout region that network equipment 710 gets can be according to from left to right, mode is from top to bottom arranged, the priority of upper left one layout region can be the first priority, priority tag is 1, the priority of the one layout region of lower left can be the 3rd priority, priority tag is 3, further the one layout region of lower left can also Further Division be the first subregion and the second subregion, wherein the priority for the first subregion of this one layout region is the first priority, priority tag is a, priority for the second subregion of this one layout region is the second priority, priority tag is b, it is to be noted, the priority level initializing method of one layout region is including but not limited to aforesaid way, can for different scenes, revise accordingly according to the R&D personnel, the present invention does not limit.Further, network equipment 710 can be according to the priority of described one layout region, the access to content request sending for described one layout region to described server 720 successively, for example in web page area, the priority of upper left one layout region is the first priority, network equipment 710 can be according to the priority of one layout region, the access to content request sending for upper left one layout region to server 720.
Server 720, for according to the described access to content request for described one layout region, sends content of pages corresponding to described one layout region to described network equipment 710.
Network equipment 710, also for receiving content of pages corresponding to described one layout region, and shows corresponding content of pages in described one layout region respectively, and wherein content of pages can comprise picture, text, voice or video etc.Optionally, network equipment 710 can also show in the one layout region of display page content not default content of pages, such as default picture or text message etc.
As a kind of optional embodiment, network equipment 710 is presented at viewing area and the non-display non-display area on described terminal interface on terminal interface for obtaining described Webpage.
Further, network equipment 710, also, for obtaining the priority of predefined described viewing area and the priority of described non-display area, the priority of wherein said viewing area is higher than the priority of described non-display area.
As a kind of optional embodiment, network equipment 710, also for described viewing area being divided into at least Liang Ge display unit district, obtain the priority in predefined described display unit district, according to the priority in described display unit district, the access to content request sending for described display unit district to server 720.
As a kind of optional embodiment, network equipment 710, the slip instruction of also submitting to for described viewing area for obtaining user, according to described slip instruction, upgrade the display unit district in described viewing area, adjust the prioritization in the described display unit district through renewal, the instruction of wherein sliding can be that user drags the slip instruction that scroll bar in Webpage is submitted to, can be also user for viewing area, submit to slide up and down instruction etc.
As a kind of optional embodiment, network equipment 710, also for monitoring the display unit district of described viewing area, whether upgrade, if the display unit district in described viewing area upgrades,, according to the priority in the described display unit district through adjustment, to described server 720, send for described through the not access to content request in the display unit district of display page content in the display unit district upgrading.
Further alternative, network equipment 710, if also the display unit district for described viewing area upgrades, monitor and in the display unit district before described renewal, whether have the not display unit district of display page content, if there is the not display unit district of display page content in the display unit district before described renewal, suspend and receive described server according to the content of pages corresponding to display unit district of the described not display page content of the access to content request transmission in the display unit district of described not display page content, and the content of pages corresponding to display unit district of the described not display page content receiving described in storage, so that network equipment 710 is while again sending the access to content request for this display unit district to server 720, continue other content of pages beyond content of pages corresponding to this display unit district receiving that reception server 720 sends, can save the content of pages transmission time, promote content of pages transfer efficiency.
In the network system shown in Fig. 7, network equipment 710 is divided at least two one layout region by the web page area in Webpage, and according to the priority of predefined one layout region, the access to content request sending for one layout region to server 720, server 720 is according to returning to content of pages corresponding to one layout region for the access to content request of one layout region, network equipment 710 shows corresponding content of pages in one layout region respectively, can fast refresh webpage certain content, so that user browses.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
It should be noted that, in the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields in certain embodiment, there is no the part of detailed description, can be referring to the associated description of other embodiment.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the embodiment of the present invention is necessary.
Step in embodiment of the present invention method can be carried out according to actual needs order and adjusted, merges and delete.
Unit in embodiment of the present invention device can merge according to actual needs, divides and delete.
Unit described in the embodiment of the present invention, can pass through universal integrated circuit, for example CPU (Central Processing Unit, central processing unit), or realize by ASIC (Application Specific Integrated Circuit, special IC).
The Webpage the method for refreshing above embodiment of the present invention being provided is described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.