Summary of the invention
The invention provides the method and system of carrying out web page browsing at portable terminal, can in the limited page, show abundant content more.
The invention provides following scheme:
A kind of method of carrying out web page browsing at portable terminal, to the request of user through the visit particular webpage of portable terminal transmission, the resource that dynamically generates in the said particular webpage is deleted, and said method comprises:
When receiving the request of the dynamic resource that generates of visit, described request is sent to server;
Information according to server returns is obtained the resource of said dynamic generation;
The resource of said dynamic generation is represented to the user.
Wherein, said when receiving the request of the dynamic resource that generates of visit when comprising in the said particular webpage that a plurality of search engines enter the mouth, described request is sent to server comprise:
Switch to the Targeted Search Engine inlet when receiving the user from current search engine inlet, and when the request that said Targeted Search Engine inlet input keyword is searched for, said Targeted Search Engine and said keyword are sent to said server.
Wherein, the information that said server returns is that said resource with said dynamic generation represents to the user and comprises according to the link of the URL of said Targeted Search Engine and said keyword structure:
URL according to said structure sends searching request to said Targeted Search Engine, obtains the Search Results of said Targeted Search Engine, and Search Results is represented to the user.
Wherein, said when receiving the request of the dynamic resource that generates of visit when comprising in the said particular webpage that a plurality of labels are shared same content revealing zone, described request is sent to server comprise:
When receiving the current label of user from webpage when switching to the request of target labels, said label is sent to said server.
Wherein, the information that said server returns is the corresponding content of said target labels, and said resource with said dynamic generation represents to the user and comprises:
The content revealing that said target labels is corresponding is in said content revealing zone.
Wherein, the information that said server returns is the page URL that has the corresponding content of said target labels, and said resource with said dynamic generation represents to the user and comprises:
Reload the page URL that said server returns, so that the content in the said content revealing zone is shown as the corresponding content of said target labels.
A kind of system that carries out web page browsing at portable terminal, to the request of user through the visit particular webpage of portable terminal transmission, the resource that dynamically generates in the said particular webpage is deleted, and said system comprises:
Request transmitting unit is used for when receiving the request of the dynamic resource that generates of visit, described request being sent to server;
The resource acquisition unit is used for obtaining according to the information that server returns the resource of said dynamic generation;
Resource represents the unit, is used for the resource of said dynamic generation is represented to the user.
Wherein, when comprising in the said particular webpage that a plurality of search engines enter the mouth, the described request transmitting element comprises:
First sends subelement; Be used for switching to the Targeted Search Engine inlet from current search engine inlet when receiving the user; And when the request that said Targeted Search Engine inlet input keyword is searched for, said Targeted Search Engine and said keyword are sent to said server.
Wherein, the information that said server returns is that said resource represents the unit and comprises according to the link of the URL of said Targeted Search Engine and said keyword structure:
First represents subelement, is used for sending searching request according to the URL of said structure to said Targeted Search Engine, obtains the Search Results of said Targeted Search Engine, and Search Results is represented to the user.
Wherein, when comprising in the said particular webpage that a plurality of labels are shared same content revealing zone, the described request transmitting element comprises:
Second sends subelement, is used for when receiving the current label of user from webpage when switching to the request of target labels said label being sent to said server.
Wherein, the information that said server returns is the corresponding content of said target labels, and said resource represents the unit and comprises:
Second represents subelement, is used for the content revealing that said target labels is corresponding in said content revealing zone.
Wherein, the information that said server returns is the page URL that has the corresponding content of said target labels, and said resource represents the unit and comprises:
The 3rd represents subelement, is used to reload the page URL that said server returns, so that the content in the said content revealing zone is shown as the corresponding content of said target labels.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
Through the present invention, even when first the loading, the dynamic contents that generate such as the JS in the webpage have been deleted, still; If the user need visit the resource of dynamic generation; Still can user's request be sent to server, from server, acquire corresponding resource, and represent to the user; Like this, the user can get access to the Internet resources of horn of plenty more and represent effect.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtained belongs to the scope that the present invention protects.
In embodiments of the present invention, when in portable terminal, loading certain webpage at first, same browser removes the dynamic resources that generate such as the JS in the webpage, and then in the portable terminal page, shows.Just when the user need visit the resource of dynamic generation; Can carry out some particular processing; Though make the resource that under original state, will dynamically generate remove,, still can satisfy user's demand as far as possible if the user will visit the resource that these dynamically generate.During concrete the realization, referring to Fig. 1, this method may further comprise the steps:
S101: when receiving the request of the resource that visit dynamically generates, the server that described request is sent to;
For browser,, can know that still which resource belongs to the resource of dynamic generation though the dynamic effects that show such as JS have been removed.During concrete the realization, can make browser know the resource that which resource belongs to needs by dynamic generations such as JS in several ways.For example, the resource that dynamically generates such as JS corresponding usually label separately (for example, certain content revealing zone corresponding simultaneously labels such as " house property ", " household ", " electricity merchant "); Therefore, at server end when dynamically display effect is removed with JS etc., can stamp special marking for this label to resource that dynamic generation should be arranged; Like this, when user's mouse moves on this label, just can whether have special mark according to label; Judge this label whether corresponding the resource that dynamically generates, if the request that just needs to visit this resource sends to server; Otherwise, the resource that can't dynamically be generated at browser.
For example, if comprise a plurality of search engine inlets in certain page,, the user do not search for when not wanting to use the search engine of current acquiescence; But when wanting to switch to another search engine and searching for; The corresponding label of this search engine will be clicked, after the click, corresponding search input frame can be in the interface, demonstrated; The user can search at this and import keyword in input frame, submits to then; At this moment, if according to the conventional method, this request still can be submitted to the search engine server of acquiescence in fact, and the Search Results that obtains remains that the search engine of this acquiescence provides.And in embodiments of the present invention, after the user clicks submission, can at first request be submitted to server; The label information that in request, comprises the search engine that the user selects, and the keyword of user's input are after server is received solicited message; Just can from before the information that backed up, get access to the URL of this label corresponding search engine, and the searching key word of submitting to according to the user; Construct a URL; Comprise the URL of the network address of the search engine correspondence that the user selects among this URL, also comprised the searching key word that the user fills in simultaneously, just can return to browser by the URL that this structure is good then.Certainly, under other implementation, also can be searching request directly to be sent to Targeted Search Engine by server, get access to after the Search Results of Targeted Search Engine, return to browser again, or the like.
And for example, share the same zone that represents, represent that current in the zone what represent is the content under certain label wherein, at this moment,, can mouse be moved on the corresponding label if the user wants to see down the content under other labels if comprise a plurality of labels in certain page; Certainly, if according to the conventional method, though the user mouse has been put on the target labels, in representing the zone, represent remain before content under that label, the user can't see the content under the target labels.And in embodiments of the present invention, when the user arrives target labels with click, just prove that the user need to need the dynamically content of generation here; Therefore, just can user's request be sent to server, wherein; Include the label that the user selects in the request, then, server is after receiving this request; Just can just can this content be returned to browser then from finding the content under this label the backed up data before.
S102: the information according to server returns is obtained the resource of said dynamic generation;
S103: the resource of said dynamic generation is represented to the user.
For browser, after receiving the information that server returns, just can therefrom get access to needs the resource that dynamically generates.Just can these resources be represented to the user then, make the user can obtain the effect that represents equally than horn of plenty.
Concrete; If that server returns is the URL to certain search structure; Just can directly this URL be presented in the page with the mode of link, like this, the user directly clicks this URL; Just can request be sent to corresponding search engine, just can obtain the Search Results that this search engine returns afterwards.Perhaps, if to the same switching that represents between the corresponding a plurality of labels in zone, the result that browser returns can have multiple mode; For example; Can be that directly that label is corresponding content is returned, by browser the content that this represents the zone replaced with the content that server returns then, perhaps; Can also be again send the webpage URL of a content after having switching to client; Reload this URL by browser client then, make to represent the corresponding content of label after the content that represents in the zone becomes switching, or the like.
Need to prove; Situation to above-mentioned many labels switchings; If what server returned is the content under the target labels; Then can also comprise the attribute informations such as displaing coordinate (these information all are in the process of aforementioned backup, can get access to) that these contents are corresponding simultaneously, like this, browser directly is presented at the content under the target labels in the content revealing zone of appointment according to these displaing coordinates.
The method of in portable terminal, carrying out web page browsing that provides through the embodiment of the invention, though the content that when first the loading, the JS in the webpage etc. is dynamically generated deleted, still; If the user need visit the resource of dynamic generation; Still can user's request be sent to server, from server, acquire corresponding resource, and represent to the user; Like this, the user can get access to the Internet resources of horn of plenty more and represent effect.
With the embodiment of the invention provide to carry out the method for web page browsing at portable terminal corresponding; The embodiment of the invention also provides a kind of system that carries out web page browsing at portable terminal; Wherein, to the request of user through the visit particular webpage of portable terminal transmission, the resource that dynamically generates in the said particular webpage is deleted; Referring to Fig. 2, this system comprises:
Request transmitting unit 201 is used for when receiving the request of the dynamic resource that generates of visit, described request being sent to server;
Resource acquisition unit 202 is used for obtaining according to the information that server returns the resource of said dynamic generation;
Resource represents unit 203, is used for the resource of said dynamic generation is represented to the user.
Wherein, when comprising in the said particular webpage that a plurality of search engines enter the mouth, request transmitting unit 201 can comprise:
First sends subelement; Be used for switching to the Targeted Search Engine inlet from current search engine inlet when receiving the user; And when the request that said Targeted Search Engine inlet input keyword is searched for, said Targeted Search Engine and said keyword are sent to said server.
Concrete, the information that said server returns can be the link according to the URL of said Targeted Search Engine and said keyword structure, and corresponding, resource represents unit 203 and can comprise:
First represents subelement, is used for sending searching request according to the URL of said structure to said Targeted Search Engine, obtains the Search Results of said Targeted Search Engine, and Search Results is represented to the user.
When comprising in the said particular webpage that a plurality of labels are shared same content revealing zone, request transmitting unit 201 can comprise:
Second sends subelement, is used for when receiving the current label of user from webpage when switching to the request of target labels said label being sent to said server.
The information that said server returns can be the corresponding content of said target labels, and resource represents unit 203 and can comprise:
Second represents subelement, is used for the content revealing that said target labels is corresponding in said content revealing zone.
Perhaps, the information that said server returns can be for having the page URL of the corresponding content of said target labels, and corresponding, resource represents unit 203 and can comprise:
The 3rd represents subelement, is used to reload the page URL that said server returns, so that the content in the said content revealing zone is shown as the corresponding content of said target labels.
In a word, the system that in portable terminal, carries out web page browsing that provides through the embodiment of the invention is even the content that when first the loading, the JS in the webpage etc. is dynamically generated has been deleted; But,, still can user's request be sent to server if the user need visit the resource of dynamic generation; From server, acquire corresponding resource; And represent to the user, like this, the user can get access to the Internet resources of horn of plenty more and represent effect.
Description through above embodiment can know, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some instructions are with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is the difference with other embodiment.Especially, for device or system embodiment, because it is basically similar in appearance to method embodiment, so describe fairly simplely, relevant part gets final product referring to the part explanation of method embodiment.Apparatus and system embodiment described above only is schematic; Wherein said unit as the separating component explanation can or can not be physically to separate also; The parts that show as the unit can be or can not be physical locations also; Promptly can be positioned at a place, perhaps also can be distributed on a plurality of NEs.Can realize the purpose of present embodiment scheme according to the needs selection some or all of module wherein of reality.Those of ordinary skills promptly can understand and implement under the situation of not paying creative work.
More than to provided by the present invention in portable terminal the method and system of browsing page; Carried out detailed introduction; Used concrete example among this paper principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, part all can change on embodiment and range of application.In sum, this description should not be construed as limitation of the present invention.