Summary of the invention
For this reason, technical matters to be solved by this invention is that in prior art, online Media advertising business cannot realize the perfect unity between the good experience degree of convenient degree and the Internet user broken for commercialsy, thus provides a kind of method and system taking into account again the embedded web page of the Experience Degree of Internet user while improving the convenient degree that breaks for commercialsy.
For solving the problems of the technologies described above, technical scheme of the present invention is as follows:
The invention provides a kind of method of embedded web page, comprising:
Obtain the target network address that equipment for surfing the net will be accessed;
Integrating the web page contents of described target network address and the web page contents of network address to be embedded, forming the web page contents for showing;
Network address is shown for the web page contents one shown described in giving;
Feed back described displaying network address to described equipment for surfing the net, replace described target network address by described displaying network address.
The method of embedded web page of the present invention, the step of the target network address that described acquisition equipment for surfing the net will be accessed comprises:
In the target network address that network insertion station acquisition equipment for surfing the net will be accessed.
The method of embedded web page of the present invention, the web page contents of described integration described target network address and the web page contents of network address to be embedded, the step forming the web page contents for showing comprises:
By the web page contents code of described target network address and the web page contents code of network address to be embedded superimposed according to coding rule, form the web page contents code for showing;
By the web page contents that the described web page contents code reverse being used for showing is for showing.
The method of embedded web page of the present invention, described by the web page contents code of described target network address and the web page contents code of network address to be embedded superimposed according to coding rule, the step forming the web page contents code for showing comprises:
Obtain the web page contents of described target network address;
The web page contents of resolving described target network address obtains corresponding web page contents code;
The web page contents code of described web page contents code and network address to be embedded is used for the web page contents code shown according to the superimposed formation of coding rule.
Present invention also offers a kind of system of embedded web page, comprising:
Acquiring unit, for obtaining the target network address that equipment for surfing the net will be accessed;
Integral unit, for the web page contents of the web page contents and network address to be embedded of integrating described target network address, forms the web page contents for showing;
Network address gives unit, described in giving, show network address for the web page contents one shown;
Network address replacement unit, for feeding back described displaying network address to described equipment for surfing the net, replaces described target network address by described displaying network address.
The system of embedded web page of the present invention, the target network address that described acquiring unit will be accessed at network insertion station acquisition equipment for surfing the net.
The system of embedded web page of the present invention, described integral unit comprises:
Code superposition subelement, for by the web page contents code of described target network address and the web page contents code of network address to be embedded superimposed according to coding rule, form the web page contents code for showing;
Also atomic unit, for by the described web page contents code reverse being used for showing being the web page contents for showing.
The system of embedded web page of the present invention, described code superposition subelement comprises:
Content obtaining device, for obtaining the web page contents of described target network address;
Resolver, the web page contents for resolving described target network address obtains corresponding web page contents code;
Integrator, for the web page contents code being used for according to the superimposed formation of coding rule showing by the web page contents code of described web page contents code and network address to be embedded.
Technique scheme of the present invention has the following advantages compared to existing technology:
The invention provides a kind of method and system of embedded web page, first obtain the target network address that equipment for surfing the net will be accessed; Integrating the web page contents of described target network address and the web page contents of network address to be embedded again, forming the web page contents for showing; Network address is shown for the web page contents one shown described in giving afterwards; And feed back described displaying network address to described equipment for surfing the net, replace described target network address by described displaying network address.In webpage, the code of specific display embedded web page is added without the need to portal management side, the new displaying network address of the web page contents of web page contents and the network address to be embedded comprising target network address can be jumped to after user inputs target network address, the web page contents of the target network address browsed and the web page contents of network address to be embedded user is wanted to be shown by the same page, namely improve the convenient degree of embedded web page, take into account again the Experience Degree of Internet user.
Embodiment
Embodiment 1
Present embodiments provide a kind of method of embedded web page, as shown in Figure 1, comprising:
S1. the target network address that equipment for surfing the net will be accessed is obtained;
S2. integrating the web page contents of described target network address and the web page contents of network address to be embedded, forming the web page contents for showing;
S3. network address is shown for the web page contents one shown described in giving;
S4. feed back described displaying network address to described equipment for surfing the net, replace described target network address by described displaying network address.
Particularly, user is after the target network address browsed is wanted in the browser input of equipment for surfing the net, the target network address that equipment for surfing the net will be accessed just can be got by router, gateway device (as switch, server) etc., and the target network address that user inputs can be jumped to displaying network address by the URL turn function of router, gateway device etc., very convenient.Such as get user to want to browse Sohu's network address, the web page contents of Sohu's network address and the web page contents of network address to be embedded will be integrated, form the web page contents for showing, the web page contents of the web page contents of Sohu's network address and network address to be embedded is made to be in same Webpage, and give this and show network address for the web page contents one shown, feed back this displaying network address again to equipment for surfing the net, Sohu's network address is replaced by this displaying network address, also namely after user inputs Sohu's network address, present to the web page contents of not Sohu's network address of user, but this displaying network address can be jumped to, present to the web page contents for showing of the web page contents of the web page contents comprising Sohu's network address after user's integration and network address to be embedded.In embody rule, the web page contents of network address to be embedded can be the notice of advertisement, router administration partner and the various suggestion contents (notify that particular customer continues to pay dues in such as guesthouse management, check out) etc. to online personnel.Can not affect at advertisement or when sending notice the other guide that user browses webpage, be convenient to user and accept, the online having taken into account user is experienced.
Preferably, as shown in Figure 2, described step S1 can comprise: the target network address will accessed at network insertion station acquisition equipment for surfing the net.
Particularly, network insertion position can be the network exit, wifi hotspot etc. of LAN (Local Area Network), wide area network, without the need to installing client at equipment for surfing the net, the target network address that equipment for surfing the net will be accessed can be collected, and by the URL turn function of router, gateway device etc., displaying network address corresponding for target network address is fed back to equipment for surfing the net, very convenient.
Preferably, as shown in Figure 2, described step S2 can comprise:
S21. by the web page contents code of described target network address and the web page contents code of network address to be embedded superimposed according to coding rule, form the web page contents code for showing;
S22. by web page contents that the described web page contents code reverse being used for showing is for showing.
Particularly, coding rule can comprise the rule such as typesetting, annotation, name, mark, specification of variables of web page contents code, according to coding rule by the web page contents code of target network address and the web page contents code of network address to be embedded superimposed, go for the integration of most of web page contents, matching is high.In code superposition, the superposition that iframe instruction comes between code can be adopted, reasonable Overlay can be obtained.In typesetting design, can use iframe instruction to arrange network address, webpage width, highly, content, back gauge etc., in order to promote the Experience Degree of user, can can not the web page contents of coverage goal network address by arranging the web page contents guaranteeing network address to be embedded, such as the web page contents of network address to be embedded be arranged at the top of the web page contents for showing or issue, user can be made to see the content of propelling movement, do not affect again the web page contents of user's browsing objective network address, improve the experience of user.
Preferably, as shown in Figure 2, described step S21 can comprise:
S211. the web page contents of described target network address is obtained;
The web page contents of S212. resolving described target network address obtains corresponding web page contents code; Any one analytic method of the prior art can be selected in embody rule to web page contents code corresponding to the web page contents obtaining target network address;
S213. the web page contents code of described web page contents code and network address to be embedded is used for the web page contents code shown according to the superimposed formation of coding rule.
Particularly, in order to improve the efficiency of embedded web page, first can resolve the web page contents of some well-known websites, obtain the web page contents code of its correspondence, again the web page contents code of this web page contents code and network address to be embedded is used for the web page contents code shown according to the superimposed formation of coding rule, and set up the corresponding relation of the well-known website displaying network address corresponding with it, once obtain target network address (certain well-known website of user's input, as Sohu, Sina etc.), just can find out the displaying network address of its correspondence, the web page contents being used for showing just can be presented to user by the displaying network address directly jumping to its correspondence, avoid period of reservation of number long, the Experience Degree of user can be promoted further.
The method of embedded web page described in the present embodiment, in webpage, the code of specific display embedded web page is added without the need to portal management side, the new displaying network address of the web page contents of web page contents and the network address to be embedded comprising target network address can be jumped to after user inputs target network address, the web page contents of the target network address browsed and the web page contents of network address to be embedded user is wanted to be shown by the same page, namely improve the convenient degree of embedded web page, user is also more acceptant, has taken into account the Experience Degree of Internet user.
Embodiment 2
Present embodiments provide a kind of system of embedded web page, as shown in Figure 3, comprising: acquiring unit 1, integral unit 2, network address give unit 3 and network address replacement unit 4, wherein acquiring unit 1, for obtaining the target network address that equipment for surfing the net will be accessed; Integral unit 2, for the web page contents of the web page contents and network address to be embedded of integrating described target network address, forms the web page contents for showing; Network address gives unit 3, described in giving, show network address for the web page contents one shown; Network address replacement unit 4, for feeding back described displaying network address to described equipment for surfing the net, replaces described target network address by described displaying network address.Affecting by advertisement or when sending notice the other guide that user browses webpage, be convenient to user and accept, the online having taken into account user is experienced.
Preferably, the target network address that will be able to access at network insertion station acquisition equipment for surfing the net of described acquiring unit 1.Without the need to installing client at equipment for surfing the net, the target network address that equipment for surfing the net will be accessed can be collected, and by the URL turn function of router, gateway device etc., displaying network address corresponding for target network address is fed back to equipment for surfing the net, very convenient.
Preferably, described integral unit 2 can comprise:
Code superposition subelement 21, for by the web page contents code of described target network address and the web page contents code of network address to be embedded superimposed according to coding rule, form the web page contents code for showing; In code superposition, the superposition that iframe instruction comes between code can be adopted, reasonable Overlay can be obtained.
Also atomic unit 22, for by the described web page contents code reverse being used for showing being the web page contents for showing.
Preferably, described code superposition subelement 21 can comprise:
Content obtaining device 211, for obtaining the web page contents of described target network address;
Resolver 212, the web page contents for resolving described target network address obtains corresponding web page contents code;
Integrator 213, for the web page contents code being used for according to the superimposed formation of coding rule showing by the web page contents code of described web page contents code and network address to be embedded.
The system of embedded web page described in the present embodiment, in webpage, the code of specific display embedded web page is added without the need to portal management side, the new displaying network address of the web page contents of web page contents and the network address to be embedded comprising target network address can be jumped to after user inputs target network address, the web page contents of the target network address browsed and the web page contents of network address to be embedded user is wanted to be shown by the same page, namely improve the convenient degree of embedded web page, user is also more acceptant, has taken into account the Experience Degree of Internet user.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.