A kind of method and system of embedded web page
Technical field
The present invention relates to the internet information communications fields, relate in particular to a kind of method and system of embedded web page.
Background technique
With being constantly progressive for Internet technology, the Internet media has been greatly developed in recent years, audient and covers
Capping can compare favourably with traditional media.Online Media advertising business is also grown rapidly therewith, compared to traditional media,
Advantage in terms of interacting marketing becomes apparent.
Online Media advertising business mainly passes through embedded web page in a browser (as broken for commercialsy by the webpage of insertion)
To carry out display advertising to Internet user, for breaking for commercialsy, mainly passes through following methods in a browser at present
It breaks for commercialsy, one is advertising display code is added in webpage, position presenting advertising content is fixed in webpage;One is
Pop-up window code, the code operation when meeting certain condition are added in webpage, and pop up a new window in a browser
Mouth is used to play advertisement;It is that technology is jumped by the URL of router during online there are also a kind of common mode, jumps
A new URL network address is gone to, and shows advertisement in the new URL network address page.Above-mentioned the first and the second way,
Need to add the code of specific display advertisement in the code of webpage, therefore above two mode is suitable only for the management of website
The just related management to break for commercialsy;The third mode, because the content seen when opening the new page is not to use
The content seen is wanted at family, namely can not show that user wants the content of the target network address reached, can not provide the user with good
Experience.
In conclusion will have if the Experience Degree of Internet user can be taken into account again while improving commercial breaks convenient degree
Help the development of online Media advertising business.
Summary of the invention
For this purpose, technical problem to be solved by the present invention lies in online Media advertising business in the prior art cannot achieve it is slotting
Perfect unity between the convenient degree of advertisement and the good experience degree of Internet user, so that providing one kind is improving commercial breaks just
The method and system of the embedded web page of the Experience Degree of Internet user can be taken into account while victory is spent again.
In order to solve the above technical problems, technical scheme is as follows:
The present invention provides a kind of methods of embedded web page, comprising:
Obtain the equipment for surfing the net target network address to be accessed;
The web page contents of the target network address and the web page contents of network address to be embedded are integrated, are formed in webpage for display
Hold;
It assigns the web page contents for display one and shows network address;
The displaying network address is fed back to the equipment for surfing the net, replaces the target network address with the displaying network address.
The step of method of embedded web page of the present invention, the acquisition equipment for surfing the net target network address to be accessed packet
It includes:
In the target network address that network insertion station acquisition equipment for surfing the net to be accessed.
The method of embedded web page of the present invention, the web page contents of the integration target network address and network address to be embedded
Web page contents, the step of forming web page contents for display includes:
By the web page contents code of the web page contents code of the target network address and network address to be embedded according to coding rule phase
Superposition, forms web page contents code for display;
It is web page contents for display by the web page contents code reverse for display.
The method of embedded web page of the present invention, the web page contents code by the target network address and net to be embedded
The step of web page contents code of location is superimposed according to coding rule, forms web page contents code for display include:
Obtain the web page contents of the target network address;
The web page contents for parsing the target network address obtain corresponding web page contents code;
The web page contents code and the web page contents code of network address to be embedded are used according to the superimposed formation of coding rule
In the web page contents code of displaying.
The present invention also provides a kind of systems of embedded web page, comprising:
Acquiring unit, the target network address to be accessed for obtaining equipment for surfing the net;
Integral unit is formed and is used for integrating the web page contents of the target network address and the web page contents of network address to be embedded
In the web page contents of displaying;
Network address given unit shows network address for assigning the web page contents for display one;
Network address replacement unit replaces institute with the displaying network address for feeding back the displaying network address to the equipment for surfing the net
State target network address.
The system of embedded web page of the present invention, the acquiring unit will be visited in network insertion station acquisition equipment for surfing the net
The target network address asked.
The system of embedded web page of the present invention, the integral unit include:
Code is superimposed subelement, for by the web page contents of the web page contents code of the target network address and network address to be embedded
Code is superimposed according to coding rule, forms web page contents code for display;
Also atomic unit, for being web page contents for display by the web page contents code reverse for display.
The system of embedded web page of the present invention, the code superposition subelement include:
Content getter, for obtaining the web page contents of the target network address;
Resolver, the web page contents for parsing the target network address obtain corresponding web page contents code;
Integrator, for by the web page contents code of the web page contents code and network address to be embedded according to coding rule phase
Superposition forms web page contents code for display.
The above technical solution of the present invention has the following advantages over the prior art:
The present invention provides a kind of method and system of embedded web page, first the acquisition equipment for surfing the net target network to be accessed
Location;The web page contents of the target network address and the web page contents of network address to be embedded are integrated again, form web page contents for display;
The web page contents for display one are assigned later shows network address;And the displaying network address is fed back to the equipment for surfing the net, it uses
The displaying network address replaces the target network address.The generation of specific display embedded web page is added in webpage without portal management side
Code can jump to the web page contents of the web page contents comprising target network address Yu network address to be embedded after user inputs target network address
New displaying network address, by user want the target network address of browsing web page contents and network address to be embedded web page contents pass through it is same
One page is shown, that is, improves the convenient degree of embedded web page, and has taken into account the Experience Degree of Internet user.
Detailed description of the invention
In order to make the content of the present invention more clearly understood, it below according to specific embodiments of the present invention and combines
Attached drawing, the present invention is described in further detail, wherein
Fig. 1 is the step block diagram of the method for embedded web page of the present invention;
Fig. 2 is the flow chart of a specific embodiment of the method for embedded web page of the present invention;
Fig. 3 is the structural block diagram of the system of embedded web page of the present invention.
Appended drawing reference indicates in figure are as follows: 1- acquiring unit, 2- integral unit, 3- network address given unit, the replacement of 4- network address are single
Member, 21- code are superimposed subelement, 22- also atomic unit, 211- content getter, 212- resolver, 213- integrator.
Specific embodiment
Embodiment 1
A kind of method for present embodiments providing embedded web page, as shown in Figure 1, comprising:
S1. the equipment for surfing the net target network address to be accessed is obtained;
S2. the web page contents of the target network address and the web page contents of network address to be embedded are integrated, net for display is formed
Page content;
S3. the web page contents for display one are assigned and show network address;
S4. the displaying network address is fed back to the equipment for surfing the net, replaces the target network address with the displaying network address.
Specifically, user passes through router, gateway after the target network address of browsing is wanted in the browser input of equipment for surfing the net
Equipment (such as interchanger, server) can get the equipment for surfing the net target network address to be accessed, and pass through router, net
The target network address that user inputs can be jumped to displaying network address by the URL turn function for closing equipment etc., very convenient.For example it obtains
Browsing Sohu's network address is wanted to user, will be integrated the web page contents of Sohu's network address and the web page contents of network address to be embedded, be formed
The web page contents of web page contents for display, the web page contents for making Sohu's network address and network address to be embedded are in the same webpage page
In face, and assigns the web page contents one for display and show network address, then feed back the displaying network address to equipment for surfing the net, with the displaying
Network address replaces Sohu's network address, namely after user inputs Sohu's network address, the web page contents for the not Sohu's network address being presented to the user,
But the displaying network address can be jumped to, the web page contents comprising Sohu's network address and network address to be embedded after being presented to the user integration
The web page contents for display of web page contents.In concrete application, the web page contents of network address to be embedded can be advertisement, router
The notice of managing cooperative side and to online personnel various suggestion contents (such as in guesthouse management notify particular customer continue to pay dues,
Check out) etc..It will not influence the other content that user browses webpage when advertisement or transmission notice, connect convenient for user
By having taken into account the online experience of user.
Preferably, as shown in Fig. 2, the step S1 may include: to access in network insertion station acquisition equipment for surfing the net
Target network address.
Specifically, network insertion position can be local area network, the network exit of wide area network, wifi hotspot etc., be not necessarily to
Equipment for surfing the net installs client, can collect the equipment for surfing the net target network address to be accessed, and pass through router, gateway etc.
URL turn function the corresponding displaying network address of target network address is fed back into equipment for surfing the net, it is very convenient.
Preferably, as shown in Fig. 2, the step S2 may include:
S21. the web page contents code of the target network address and the web page contents code of network address to be embedded are advised according to coding
It is then superimposed, form web page contents code for display;
It S22. is web page contents for display by the web page contents code reverse for display.
Specifically, coding rule may include typesetting, annotation, the name, mark, specification of variables isotactic of web page contents code
Then, according to coding rule that the web page contents code of target network address and the web page contents code of network address to be embedded is superimposed, it can be with
Suitable for the integration of most of web page contents, matching is high.In code superposition, it can be instructed using iframe to realize code
Between superposition, relatively good Overlay can be obtained.Typesetting design in, can be used iframe instruction come be arranged network address,
The width of webpage, height, content, back gauge etc. can ensure network address to be embedded by setting to promote the Experience Degree of user
Web page contents will not coverage goal network address web page contents, for example the web page contents of network address to be embedded are set to and are used to show
Web page contents top or issue, user can be made to see the content of push and influence user's browsing objective network address
Web page contents improve the experience of user.
Preferably, as shown in Fig. 2, the step S21 may include:
S211. the web page contents of the target network address are obtained;
S212. the web page contents for parsing the target network address obtain corresponding web page contents code;It can be in concrete application
The corresponding web page contents code of web page contents for selecting any analytic method in the prior art to obtain target network address;
S213. by the web page contents code and the web page contents code of network address to be embedded according to the superimposed shape of coding rule
At web page contents code for display.
Specifically, in order to improve the efficiency of embedded web page, the web page contents of some well-known websites can be first parsed, are obtained
Its corresponding web page contents code is taken, then the web page contents code and the web page contents code of network address to be embedded are advised according to coding
It is then superimposed to form web page contents code for display, and establish the correspondence of the corresponding displaying network address of well-known website
Relationship, once obtain the target network address (certain well-known website, such as Sohu, Sina) of user's input, so that it may find out it
Corresponding displaying network address, web page contents for display can be presented to the user by jumping directly to its corresponding displaying network address
, avoid that period of reservation of number is too long, can further promote the Experience Degree of user.
The method of embedded web page described in the present embodiment adds specific display insertion net without portal management side in webpage
The code of page can jump to the net of the web page contents comprising target network address Yu network address to be embedded after user inputs target network address
User is wanted the web page contents of the target network address of browsing and the web page contents of network address to be embedded by the new displaying network address of page content
It is shown by the same page, that is, improves the convenient degree of embedded web page, user is also easier to receive, and has taken into account online
The Experience Degree of user.
Embodiment 2
The system for present embodiments providing a kind of embedded web page, as shown in Figure 3, comprising: acquiring unit 1, integral unit 2,
Network address given unit 3 and network address replacement unit 4, wherein acquiring unit 1, the target network to be accessed for obtaining equipment for surfing the net
Location;Integral unit 2 is formed for integrating the web page contents of the target network address and the web page contents of network address to be embedded for opening up
The web page contents shown;Network address given unit 3 shows network address for assigning the web page contents for display one;Network address replacement
Unit 4 replaces the target network address with the displaying network address for feeding back the displaying network address to the equipment for surfing the net.Logical
It crosses advertisement or will not influence the other content that user browses webpage when sending notice, receive convenient for user, take into account
The online experience of user.
Preferably, the acquiring unit 1 can be in the target network address that network insertion station acquisition equipment for surfing the net to be accessed.Nothing
Client need to be installed in equipment for surfing the net, the equipment for surfing the net target network address to be accessed can be collected, and set by router, gateway
The corresponding displaying network address of target network address is fed back to equipment for surfing the net by the standby URL turn function waited, very convenient.
Preferably, the integral unit 2 may include:
Code is superimposed subelement 21, for will be in the webpage of the web page contents code of the target network address and network address to be embedded
It is superimposed according to coding rule to hold code, forms web page contents code for display;In code superposition, it can use
Iframe instructs to realize the superposition between code, can obtain relatively good Overlay.
Also atomic unit 22, for being in webpage for display by the web page contents code reverse for display
Hold.
Preferably, the code superposition subelement 21 may include:
Content getter 211, for obtaining the web page contents of the target network address;
Resolver 212, the web page contents for parsing the target network address obtain corresponding web page contents code;
Integrator 213, for advising the web page contents code of the web page contents code and network address to be embedded according to coding
It is then superimposed to form web page contents code for display.
The system of embedded web page described in the present embodiment adds specific display insertion net without portal management side in webpage
The code of page can jump to the net of the web page contents comprising target network address Yu network address to be embedded after user inputs target network address
User is wanted the web page contents of the target network address of browsing and the web page contents of network address to be embedded by the new displaying network address of page content
It is shown by the same page, that is, improves the convenient degree of embedded web page, user is also easier to receive, and has taken into account online
The Experience Degree of user.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.