CN103634338B - Method for modifying primary domain name of webpage online, data processing device and system - Google Patents

Method for modifying primary domain name of webpage online, data processing device and system Download PDF

Info

Publication number
CN103634338B
CN103634338B CN201210299845.6A CN201210299845A CN103634338B CN 103634338 B CN103634338 B CN 103634338B CN 201210299845 A CN201210299845 A CN 201210299845A CN 103634338 B CN103634338 B CN 103634338B
Authority
CN
China
Prior art keywords
web page
intermediate web
domain
client
title
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210299845.6A
Other languages
Chinese (zh)
Other versions
CN103634338A (en
Inventor
张玉磐
罗峰
黄苏支
李娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING IZP TECHNOLOGIES Co Ltd
Original Assignee
BEIJING IZP TECHNOLOGIES Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING IZP TECHNOLOGIES Co Ltd filed Critical BEIJING IZP TECHNOLOGIES Co Ltd
Priority to CN201210299845.6A priority Critical patent/CN103634338B/en
Publication of CN103634338A publication Critical patent/CN103634338A/en
Application granted granted Critical
Publication of CN103634338B publication Critical patent/CN103634338B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for modifying a primary domain name of a webpage online, a data processing device and a system. The method comprises an interception step of intercepting request information sent by a client, the request information being used for access to online content and including a target visit website; and a simulation step in which the target visit website sends to the client a responsive middle webpage to the request information, with a primary domain and a secondary domain of the middle webpage having the same domain name. According to the invention, the technical problem that a primary domain name cannot be modified into a secondary domain can be avoided as far as possible.

Description

The method of the main domain title of online modification webpage, data processing equipment and system
Technical field
The present invention relates to network service, in particular to one kind in a network to user equipment client push information When the method for the main domain title of online modification webpage, data processing equipment and system.
Background technology
In LAN or the Internet, often oriented user sends information or throws in the needs of advertisement.Such as:In Internet bar In, Internet bar management system can point out user to surf the Net remaining time;In coffee-house, the server of management system can be to user The friendly information of prompting;In government organs' system, government notice can be circulated a notice of to certain region Internet user by server;Carrier class Operator can throw in advertisement by server to specific user, so as to accelerate the recovery that network lays cost.
Fig. 1 a disclose a kind of method of pushed information, and the method is by intercepting the solicited message of client and generating centre Webpage is sent to client using the response as the request, wherein, the intermediate web page includes guiding client to access The content of target access network address and the function script to client push information, in the method, return to the centre of client Webpage acquiescence title (title) label is sky label, therefore, the position that title is shown in client-side browser window is acquiescence Current accessed URL addresses.There is for a user experience defect in the result of this display, not enough intuitively shortcoming.
It is well known that when framework (frame) is included in a webpage, if homepage (i.e. main domain) and frame In the page (i.e. auxiliary domain) belong to the same owner (whether to belong to same domain name as standard), then main domain and auxiliary domain can To operate mutually, the title in main domain is changed just without obstacle using the title in auxiliary domain in webpage.
It is if main domain and auxiliary domain are not belonging to the same owner, i.e., as shown in Figure 1a, main without identical domain name Domain is media.example.com, and auxiliary domain is www.zaobao.com.In this case, there is Cross-domain problem.It is cross-domain Main domain and auxiliary domain can not operate mutually, the title that cannot also utilize auxiliary domain in webpage changes the title in main domain.
Therefore, during to client push information, it is desirable to provide it is a kind of can utilize webpage in auxiliary domain title The title in main domain is changed so as to allow user to have the solution of good experience effect.
The content of the invention
One of the technical problem to be solved is to need offer one kind to avoid to repair main domain title as far as possible It is changed to method, data processing equipment and the system of the main domain title of online modification webpage of the problem of auxiliary domain title.
In order to solve above-mentioned technical problem, the invention provides a kind of method of the main domain title of online modification webpage.The party Method is comprised the following steps:
Step is intercepted, the solicited message for obtaining Web content that client sends is intercepted, the solicited message includes Target access network address;
Simulation steps, simulate the target access network address and send as the response to the solicited message to the client Intermediate web page, the main domain and auxiliary domain of the intermediate web page have same domain name.
Further, the client is after the intermediate web page is received, according to the foot being arranged in the intermediate page Title in the main domain of the intermediate web page is revised as the title in the auxiliary domain of the intermediate web page for this.
Further, the client is after the intermediate web page is received, according to the foot being arranged in the intermediate web page This, the title in the main domain of the intermediate web page is revised as the title in the auxiliary domain of the intermediate web page, if modification failure, first will After WWW mark WWW in the domain name in the main domain of the intermediate web page is deleted, again by the title in the main domain of the intermediate web page It is revised as the title in the auxiliary domain of the intermediate web page.
Further, after the intermediate web page is received, whether the document for judging the auxiliary domain has loaded the client Into, if it is judged that be it is no, then wait Preset Time after carry out the judgement again, if it is judged that be it is yes, then will be described The title in the main domain of intermediate web page is revised as the title in the auxiliary domain of the intermediate web page.
Further, in the interception step, by the first data processing equipment intercept that the client sends for obtaining The solicited message of Web content, and received solicited message is transmitted to into the second data processing equipment;The simulation step In rapid:The target access network address is simulated from second data processing equipment based on the solicited message to send out to the client The intermediate web page is sent, or first by second data processing equipment based on the solicited message simulation target access net Location to first data processing equipment sends the intermediate web page, will be from the described second number by first data processing equipment The intermediate web page received according to processing meanss is sent to the client.
Further, the method also includes:The auxiliary domain of the intermediate web page is included for guiding the client access target The content of network address is accessed, the main domain of the intermediate web page includes will be to the script of the client push information.
Further, the intermediate web page is HTML document, wherein using HTML text IFRAME or FRAME labels in part are utilized describing the content for guiding the client access target to access network address TITLE labels are describing the title.
According to another aspect of the invention, additionally provide a kind of data processing for the main domain title of online modification webpage to fill Put.The device includes:
Blocking module, for intercepting the solicited message for obtaining Web content that client sends, the solicited message Including target access network address;
Analog module, sends as to the solicited message for simulating the target access network address to the client The intermediate web page of response, the main domain and auxiliary domain of the intermediate web page have same domain name.
Further, the analog module is used to sent as in the response to the solicited message to the client Between before webpage, be provided for for the title in the main domain of the intermediate web page being revised as the mid-level net in the intermediate web page The script of the title in the auxiliary domain of page.
According to a further aspect in the invention, a kind of system for the main domain title of online modification webpage is additionally provided, including Client, the first data processing equipment and the second data processing equipment, wherein:
First data processing equipment, for intercepting the solicited message for obtaining Web content that client sends, And received solicited message is transmitted to into second data processing equipment, the solicited message includes target access network address;
Second data processing equipment is used to simulate the target access network address to the visitor based on the solicited message Family end sends the intermediate web page, and the main domain and auxiliary domain of the intermediate web page have same domain name, or, at second data Reason device is used to first simulate the target access network address to first data processing equipment transmission institute based on the solicited message Intermediate web page is stated so that the main domain and auxiliary domain of the intermediate web page have a same domain name, first data processing equipment again will The intermediate web page received from second data processing equipment is sent to the client;
The client, for after the intermediate web page is received, according to the script being arranged in the intermediate web page The title in the main domain of the intermediate web page is revised as the title in the auxiliary domain of the intermediate web page.
Compared with prior art, one or more embodiments of the invention can have the advantage that:By intercepting visitor After the solicited message that family end sends, simulated target access network address sends the mid-level net as the response to solicited message to client Page so that main domain and auxiliary domain have a same domain name, and then solve cannot be cross-domain because main domain and auxiliary domain belong to different domain names The technical problem of modification title, so as to improve user friendly.
Other features and advantages of the present invention will be illustrated in the following description, also, the partly change from description Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by description, rights Specifically noted structure is realizing and obtain in claim and accompanying drawing.
Description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for description, the reality with the present invention Apply example to be provided commonly for explaining the present invention, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 a and 1b are shown contents in the intermediate web page of client browser PUSH message;
Fig. 2 is the network topology structure for realizing network information push;
Fig. 3 is the sequential chart based on the network information push of browser/server structure;
Fig. 4 is the flow chart to client browser pushing network information;
Fig. 5 is the flow chart to client browser pushing network information;
Fig. 6 is the flow process of the title for changing main domain with the auxiliary domain title of intermediate web page according to one embodiment of present invention Figure.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, further is made to the present invention below in conjunction with accompanying drawing Ground is described in detail.
Describe embodiments of the present invention in detail below with reference to drawings and Examples, how the present invention is applied whereby Technological means solving technical problem, and reach technique effect realize that process can fully understand and implement according to this.Need explanation As long as not constituting conflict, each embodiment and each feature in each embodiment in the present invention can be combined with each other, The technical scheme for being formed is within protection scope of the present invention.
In addition, can be in the department of computer science of such as one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated Perform in system, and, although show logical order in flow charts, but in some cases, can be with different from herein Order perform shown or described step.
Each embodiment of the present invention is described in detail below with reference to accompanying drawing.Fig. 2 is the net to the pushed information of client 203 Network topology diagram.In the figure, each client 203 for being mounted with Web browser passes through the first data processing equipment 201 It is connected on the Internet 204.
In the present embodiment, the first data processing equipment 201 for example can be the network access equipments such as router, gateway, It is used to be interconnected each terminal unit in local network, and can intercept and capture the solicited message that they send to the Internet. As shown in Fig. 2 the second data processing equipment 202 can be as the peer device of client such as flow processing equipment, by router Etc. being connected on the Internet 204, it is also possible to be connected on the Internet 204 as the server of each client 203.
For example, in the Internet bar management system of coffee-house, the second data processing equipment 202 can be each client 203 Server, client needs just to be linked in the Internet 204 by server and router, so as to access Web content. And be directed in the system of telecom operators' establishment, client and the second data processing equipment 202 as flow processing equipment It is interconnected to the Internet 204 by backbone routers.
May include for realizing that procotol such as hypertext is passed as the flow processing equipment of the second data processing equipment 202 The flow AM access module of the access of defeated agreement (Hypertext Tansmit Protocal, HTTP) GET flows, for realizing net The flow parsing module that network agreement such as HTTP is parsed, the user agent mark (User to filter specific user's mark Agent, abbreviation UA) filtering module, subscriber identification module, extract from such as GET messages the message analysis that are analyzed of data Module, information pushing control module, info push module, and preferably, may also include system journal module, user profile number According to memory module and system configuration module.
Fig. 3 illustrates how to realize the sequential chart to user's pushed information based on browser/server structure.1. walk In, the network user is input into target access network address in client browser 303.In 2. walking the, to route exchange device 301 Sending will obtain the solicited message of certain Web content, include target access network address in the solicited message, or UA marks and The information such as client ip address.Wherein, target access network address can be IP address or domain name of targeted sites etc..
In 3. walking the, route exchange device 301 intercepts the accessing request information of user, and is transmitted to flow Processing equipment/server 302.Wherein, input flow rate is distributed to flow and is processed by route exchange device 301 by way of bypass Device/server 302.
The concrete format and content example of the user request information message of interception is following, and (the HTTP GET messages with standard are Example, the following is the text message of HTTP message head):
Accept text/html,application/xhtml+xml,application/xml;Q=0.9, */*;Q= 0.8
Accept-Encoding gzip,deflate
Accept-Language zh-cn,zh;Q=0.8, en-us;Q=0.5, en;Q=0.3
Connection keep-alive
Cookie
CNZZDATA2533379=cnzz_eid=28492230-1339039770-http%253A%2 52F% 252Fimos.example.com%252Findex.dev.html&ntime=1339054267 &cnzz_a=17&reti me =1339055464546&sin=none&ltime=1339055464546&rtime=0;
CNZZDATA2533386=cnzz_eid=44744182-1339041086-http%253A%2 52F% 252Fimos.example.com%252Findex.dev.html&ntime=1339054267 &cnzz_a=4&retime= 1339055467500&sin=none&ltime=1339055467500&rtime=0
Host imos.example.com
User-Agent Mozilla/5.0(Windows NT 5.1;rv:12.0)Gecko/20100101Firefox/ 12.0
Next, intermediate web page is generated according to solicited message by flow processing equipment/server 302, in the intermediate web page Contain for guide client access target access network address content and will be to the function script of the information of client push.This In embodiment, the intermediate web page is HTML (Hypertext Markup Language, HTML) file.Additionally, According to different applications, flow processing equipment/server 302 can lead to the intermediate web page of generation as the response of solicited message Cross route exchange device 301 and be sent to client (the as indicated by the dashed arrow 4. and 5. walk shown in), or directly transmit Give client (the as indicated by solid arrow is 6. shown in step).
In 7. walking the, the intermediate web page is shown on the browser 303 of client, and before guiding user to continue to access The Web content of the target network address of input.In 8. walking the, the script in the local runtime intermediate web page of client browser 303 is appointed Business, to display to the user that information, such as points out online duration, issues bulletin, throws in advertisement.
As shown in figure 4, which show according to the present embodiment how to user's pushed information method flow chart.The party From the beginning of step S401, user is input into target access network address to access the Web content of needs to method by its client browser, The target network address is included in network request information.
In step S402, the solicited message for obtaining Web content that client sends is intercepted.The request packet Include target access network address.More specifically, the request is used to obtain the Web content from target access network address.
Additionally, the solicited message may also include user agent (User Agent, UA) information, IP address etc..UA is One special string head, can be identified operating system that client uses and version, cpu type, be browsed by UA information Device and version, browser renders engine, browser language, browser plug-in etc..
In step S403, intermediate web page is generated based on the solicited message intercepted and captured.In the present embodiment, intermediate web page with The form of HTML document embodies, wherein contain guiding user to continue to access the target access network address of original input Content and will be to the information of client push.In the present embodiment, the information to be pushed is arranged on HTML text In the script tag of part.
In step s 404, the intermediate web page is sent to into client, as the response to the solicited message.The mid-level net Page include for guide client access target access network address content and will be to the function script of the information of client push.This Sample, user can be based on for guiding client access target to access the content of network address, further by client from target visit Ask that network address obtains the Web content to be accessed, can also in a browser see pushed information.Such that it is able to be not required to In the case that special-purpose software is installed, easily browse the information of push.
Fig. 5 shows the flow chart of another embodiment of the method.
As illustrated, the method is from the beginning of step S501, user input will access the solicited message of certain Web content.Step In S502, the first data processing equipment 201, such as route exchange device etc. intercept by client send for obtaining network The solicited message of content, and forward that information to the second data processing equipment 202.In step S503, the second data processing dress Put the customer ID that 202 such as flow processing equipments or server are extracted in solicited message, such as UA, IP address, so as to obtain Take the information such as operating system, cpu type, browser type and version that family uses.According to flow processing equipment or server In record in the data base that includes, judge that this identifies whether to meet following pre-conditioned (step S504).If judged result is It is, into next step process.Otherwise, end is processed.
It is above-mentioned pre-conditioned to include, but are not limited to:A () have passed through one pre- from last time sends intermediate web page to client If time period;(b) exist not to client be transmitted across will be to the information of client push;C () sends to client and to push away The number of times of the information sent is less than predetermined threshold value;D the continuous online duration of () client specifies duration more than first;(e) client Continuous online duration less than second specify duration.Wherein, condition (a)-(c) can be for throwing in advertisement, releasing news Situation.For example, an advertisement or notice information are crossed to client push by the method for the present embodiment in following period of time When, it is interference not to be produced to user, intermediate web page at this moment may not necessarily be again produced, in order to avoid letter is repeatedly pushed in the shorter time Breath.Situation of the number of times of identical information to avoid the information for sending same too much can also be pushed by setting to occur.
For the time for pointing out user to surf the Net, the time that user sends for the first time accessing request information can also be recorded, When the time that user continuously surfs the Net exceedes default first specify the time but specify duration less than second, can push to user and carry Show information, in order to avoid user's online time-out, and produce unnecessary extra-pay.
The information more than to be pushed is produced by the second data processing equipment 202 by generating intermediate web page.In step In rapid S505, the second data processing equipment 202 such as flow processing equipment or server are processed the solicited message of user, Generate a specific HTML html file to represent intermediate web page.
Wherein, a webpage corresponds to a html file, and html file is with .htm or .html as extension name.Can make Html file is produced with any text editing that can generate TXT type source files.
The html file of standard all have a basic overall structure, the i.e. beginning of html file with ending mark and The head (HEAD) of HTML and entity (BODY) two large divisions.HEAD has been partially submerged into TITLE labels.It is partially submerged in BODY IFRAME labels and SCRIPT labels.In the present embodiment, IFRAME label substances are used for realizing guiding user to original input Web content of the network address to be wanted before accessing, and SCRIPT label substances are used for performing various script tasks.
The present embodiment during specific intermediate web page is produced, the second data handling equipment 202 such as flow processing equipment IFRAME (or FRAME) label can be constructed in the BODY labels of html file, for guiding user to access original intention The Web content of access.
Construct in BODY, HEAD or other positions label of html file one to multiple SCRIPT labels or other The label of task, such as applet can on a web browser be performed.The label of this or these executable task is used for performing setting The task that meter is intended to.For operator, this task is generally advertisement putting etc., for Internet bar's application, this task one As for prompting online remaining time etc..For the application of government bodies, the task of this pushed information can issue public Accuse, such as the notice of emergency, government's important news.
The following is the HTML code of intermediate web page:
The code of above html file is only exemplary, for illustrating the present invention.In actual applications, can be according to feelings Condition and be modified.
The HTML code of this intermediate web page is ultimately generated on a web browser, to then being completed by flow processing equipment Generate, or the script of intermediateness is generated by flow processing equipment, HTML code is ultimately generated by script, for the present invention Speech does not affect the realization of goal of the invention without what difference substantially.
Subsequently, in step S506, according to different application scenarios, will be contained by the second data processing equipment 202 and be drawn The intermediate web page for leading access Web content and the information to be pushed is transmitted directly to client, or is filled by the first data processing Put 201 and forward it to client.Then, at client, the script task in intermediate web page is run, so as to complete this enforcement The information pushing of example.So, user can be in the case where installing special-purpose software, easily browse the information of push.
However, considerations of the JavaScript for secure context, the cross-domain object for calling other pages is not allowed.And in order to Allow user to have better network access experience, in an embodiment of the method for the present invention, network address is accessed by simulated target Return information, produce the intermediate web page that main domain and auxiliary domain have same domain name, it is real so as to shield the problem of cross-domain mutual operation The purpose that main domain title is changed with auxiliary domain title (title) is showed.Wherein, main domain is the HTML in top layer browser window object Document, and auxiliary domain is by the html document in the window object of frame or iframe labels establishment in above-mentioned html file.And mark Topic refers to the content of text of auxiliary domain or the title labels in main domain document.
As shown in fig. 6, the method flow of the heading label in which show the html file for how changing intermediate web page Figure.
The method is from the beginning of step S601.Intercept step S602 in, intercept client send for obtaining in network The solicited message of appearance.Embodiments in accordance with the present invention, can intercept what the client sent by the first data processing equipment 201 For obtaining the solicited message of Web content, and received solicited message is transmitted to into the second data processing equipment.Its In, the first data processing equipment for example can be the network access equipments such as router, gateway, and it is used for will be each in local network Individual terminal unit is interconnected, and can intercept and capture the solicited message that they send to the Internet.
In simulation steps S603, network address is accessed according to the solicited message simulated target and is sent as to request to client The intermediate web page of the response of information, so that the main domain and auxiliary domain of intermediate web page have same domain name.Here it is possible to by for example taking Second data processing equipment 202 of the flow processing equipment at business device end etc. accesses network address to visitor based on the solicited message simulated target Family end send as the response to solicited message intermediate web page so that the main domain and auxiliary domain of intermediate web page have same domain name. Simulated target accesses intermediate web page of the network address to client transmission as the response to the solicited message and refers to, with target access The identity of equipment is sending the intermediate web page at network address so that in client, and intermediate web page is sent out from target access network address Go out.Network address is accessed to client transmission as the intermediate web page of the response to solicited message by simulated target, is enabled to Main domain and auxiliary domain have same domain name.In one particular embodiment of the present invention, return information can be by IP packets and TCP Packet is constituted.So, main domain and auxiliary domain are just generated and there is the intermediate web page of same domain name, so as to create safe ring Border, so solve because main domain and auxiliary domain belong to different domain names cannot cross-domain modification title technical problem.
In title amendment step S604, client receive from the second data processing equipment 202 send (or by Two data processing equipments 202 are sent to the first data processing equipment 201, then sent by the first data processing equipment 201) in Between after webpage, the title in the main domain of the intermediate web page is revised as by the mid-level net according to the script being arranged in intermediate page The title in the auxiliary domain of page.Wherein, JavaScript script examples are as follows:
Var doc_master={ main domain };
Var doc_slave={ auxiliary domain };
Doc_master.title=doc_slave.title;
The present inventor is also noted that if the document domain that main domain uses is two grades of similar www.example.com Domain name, and auxiliary domain will yet suffer from Cross-domain problem using the top-level domain similar to example.com, title is to repair Change successfully.It is preferred that the client of the present embodiment is after intermediate web page is received, according to by the second data processing equipment 202 were arranged on the script in the intermediate page before intermediate page is sent, and the title in the main domain of intermediate web page is revised as The title in the auxiliary domain of intermediate web page, if modification failure, according to (by the second data processing equipment 202 send intermediate page it Before be arranged in intermediate page) script first by the domain name in main domain WWW mark WWW delete after, again by intermediate web page The title in main domain is revised as the title in the auxiliary domain of intermediate web page.As such, it is possible to further improve by main domain title change supplemented by domain The success rate of title.By the optimal way, about more than 20% can be improved and be modified as power so that total to be modified as power high Up to about more than 90%.
It should be noted that intermediate web page generally comprises the content for guiding the client access target to access network address With will be to the function script of the client push information.As such, it is possible to any third party software or plug-in unit need not added In the case of to client push information while so that title that client shows (corresponding to the title in main domain) will be visited with user The title (corresponding to the title in auxiliary domain) of the webpage returned from target access address asked is consistent, user friendly so as to improve Property.
The page shown on browser just has good Consumer's Experience effect as shown in Figure 1 b.
Do not lose usually, intermediate web page can be HTML document, wherein using the HTML IFRAME or FRAME labels in file are utilized describing the content for guiding the client access target to access network address TITLE labels are describing the title.
Preferably, in S604, client is arranged after the intermediate web page is received according in the intermediate web page Script, judge whether the document in auxiliary domain loads and complete, if it is judged that be no, then wait carry out again after Preset Time it is described Judge;If it is judged that being yes, then the title in the auxiliary domain of intermediate web page is revised as the title in the main domain of intermediate web page.This Sample, can improve modification accuracy rate.
It should be noted that each step in above-mentioned Fig. 6 can be completed by the second data processing equipment 202, it is also possible to Completed by the device for integrating the first data processing equipment 201 and the function of the second data processing equipment 202, art technology Personnel can according to the above description carry out the executive agent for flexibly arranging said method.
Therefore, according to still another embodiment of the invention, a kind of number for the main domain title of online modification webpage is additionally provided According to processing meanss, the data processing equipment for being used for the main domain title of online modification webpage is used to complete above-mentioned by the first data processing The relevant treatment that 201 and second data processing equipment of device 202 is performed.
Additionally, according to still another embodiment of the invention, the system for additionally providing a kind of main domain title of online modification webpage, should System includes client 203, the first data processing equipment 201 and the second data processing equipment 202.Their annexation and each From process above be described in detail, here is no longer developed in details in.
Although disclosed herein embodiment as above, described content is only to facilitate understanding the present invention and adopting Embodiment, is not limited to the present invention.Technical staff in any the technical field of the invention, without departing from this On the premise of the disclosed spirit and scope of invention, any modification and change can be made in the formal and details implemented, But the scope of patent protection of the present invention, still must be defined by the scope of which is defined in the appended claims.

Claims (7)

1. the method for the main domain title of a kind of online modification webpage, it is characterised in that comprise the following steps:
Step is intercepted, the solicited message for obtaining Web content that client sends is intercepted, the solicited message includes target Access network address;
Simulation steps, simulate the target access network address and send as in the response to the solicited message to the client Between webpage, the main domain and auxiliary domain of the intermediate web page have same domain name;
Wherein, the client is after the intermediate web page is received, according to the script being arranged in the intermediate web page, by institute State the main domain of intermediate web page title be revised as the intermediate web page auxiliary domain title,
If modification failure, first by the domain name in the main domain of the intermediate web page WWW mark WWW delete after, again will be described The title in the main domain of intermediate web page is revised as the title in the auxiliary domain of the intermediate web page.
2. the method for claim 1, it is characterised in that the client judges after the intermediate web page is received Whether the document in the auxiliary domain loads and completes,
If it is judged that being no, then waiting after Preset Time carries out again the judgement;
If it is judged that being yes, then the title in the main domain of the intermediate web page is revised as the mark in the auxiliary domain of the intermediate web page Topic.
3. method as claimed in claim 1 or 2, it is characterised in that
In the interception step, the institute for obtaining Web content that the client sends is intercepted by the first data processing equipment Solicited message is stated, and received solicited message is transmitted to into the second data processing equipment;
In the simulation steps:The target access network address is simulated based on the solicited message by second data processing equipment The intermediate web page is sent to the client,
Or first from second data processing equipment target access network address is simulated to described the based on the solicited message One data processing equipment sends the intermediate web page, will be from second data processing equipment by first data processing equipment The intermediate web page for receiving is sent to the client.
4. method as claimed in claim 1 or 2, it is characterised in that also include:
The auxiliary domain of the intermediate web page includes the content for guiding the client access target to access network address, the mid-level net The main domain of page includes will be to the script of the client push information.
5. method as claimed in claim 1 or 2, it is characterised in that the intermediate web page is HTML document, its The middle IFRAME or FRAME labels using in the HTML document are describing for guiding client access target The content of network address is accessed, the title is described using TITLE labels.
6. a kind of data processing equipment for the main domain title of online modification webpage, it is characterised in that include:
Blocking module, for intercepting the solicited message for obtaining Web content that client sends, the solicited message includes Target access network address;
Analog module, sends as the response to the solicited message for simulating the target access network address to the client Intermediate web page, the main domain and auxiliary domain of the intermediate web page have same domain name;The analog module is further used for institute State client to send before intermediate web page as the response to the solicited message, be provided in the intermediate web page by The title in the main domain of the intermediate web page is revised as the script of the title in the auxiliary domain of the intermediate web page,
Wherein, if modification failure, after first is deleted the WWW mark WWW in the domain name in the main domain of the intermediate web page, again The title in the main domain of the intermediate web page is revised as the title in the auxiliary domain of the intermediate web page using the script.
7. a kind of system for the main domain title of online modification webpage, it is characterised in that including client, the first data processing dress Put and the second data processing equipment, wherein:
First data processing equipment, for intercepting the solicited message for obtaining Web content that client sends, and will Received solicited message is transmitted to second data processing equipment, and the solicited message includes target access network address;
Second data processing equipment is used to simulate the target access network address to the client based on the solicited message Intermediate web page is sent, the main domain and auxiliary domain of the intermediate web page have same domain name, or, second data processing equipment is used In be first based on the solicited message simulate the target access network address to first data processing equipment send intermediate web page with So that the main domain and auxiliary domain of the intermediate web page have same domain name, first data processing equipment again will be from the described second number The intermediate web page received according to processing meanss is sent to the client;
The client, for after the intermediate web page is received, according to the script being arranged in the intermediate web page by institute State the main domain of intermediate web page title be revised as the intermediate web page auxiliary domain title;If modification failure, first will be described in Between webpage main domain domain name in WWW mark WWW delete after, the title in the main domain of the intermediate web page is revised as again The title in the auxiliary domain of the intermediate web page.
CN201210299845.6A 2012-08-21 2012-08-21 Method for modifying primary domain name of webpage online, data processing device and system Expired - Fee Related CN103634338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210299845.6A CN103634338B (en) 2012-08-21 2012-08-21 Method for modifying primary domain name of webpage online, data processing device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210299845.6A CN103634338B (en) 2012-08-21 2012-08-21 Method for modifying primary domain name of webpage online, data processing device and system

Publications (2)

Publication Number Publication Date
CN103634338A CN103634338A (en) 2014-03-12
CN103634338B true CN103634338B (en) 2017-04-12

Family

ID=50214963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210299845.6A Expired - Fee Related CN103634338B (en) 2012-08-21 2012-08-21 Method for modifying primary domain name of webpage online, data processing device and system

Country Status (1)

Country Link
CN (1) CN103634338B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302100A (en) * 2015-06-12 2017-01-04 中兴通讯股份有限公司 Information push method and device
CN105915548A (en) * 2016-06-20 2016-08-31 浪潮电子信息产业股份有限公司 Netfilter-based design method for implementing DNS (Domain Name Service) filtration
CN107659714A (en) * 2017-09-18 2018-02-02 上海斐讯数据通信技术有限公司 A kind of surf time based reminding method and system
CN108345535B (en) * 2017-12-26 2022-03-04 创新先进技术有限公司 mock testing method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905701A (en) * 2006-08-08 2007-01-31 钟杨 Method and system for issuing network message to mobile terminal apparatus
CN101242336A (en) * 2008-03-13 2008-08-13 杭州华三通信技术有限公司 Method for remote access to intranet Web server and Web proxy server
CN101902450A (en) * 2009-11-13 2010-12-01 亿赞普(北京)科技有限公司 Network for realizing page push and control, page push method and page control method
CN102184220A (en) * 2011-05-06 2011-09-14 中兴通讯股份有限公司 Cross-domain page display control method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662460B (en) * 2008-08-25 2015-07-15 阿里巴巴集团控股有限公司 Method, system and device for cross-domain communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905701A (en) * 2006-08-08 2007-01-31 钟杨 Method and system for issuing network message to mobile terminal apparatus
CN101242336A (en) * 2008-03-13 2008-08-13 杭州华三通信技术有限公司 Method for remote access to intranet Web server and Web proxy server
CN101902450A (en) * 2009-11-13 2010-12-01 亿赞普(北京)科技有限公司 Network for realizing page push and control, page push method and page control method
CN102184220A (en) * 2011-05-06 2011-09-14 中兴通讯股份有限公司 Cross-domain page display control method and device

Also Published As

Publication number Publication date
CN103634338A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN102761554B (en) Method, device and system for pushing information to client
US9264435B2 (en) Apparatus and methods for access solutions to wireless and wired networks
US8024400B2 (en) Method and system for transferring content from the web to mobile devices
US7716281B2 (en) Method and system for transferring content from the web to mobile devices
US20120210243A1 (en) Web co-navigation
AU2009262065B2 (en) Embedding macros in web pages with advertisements
CN109033115A (en) A kind of dynamic web page crawler system
US20140101236A1 (en) Method and system for correlation of session activities to a browser window in a client-server environment
US20140108542A1 (en) Method and system for providing a multiuser web session
CN104410711A (en) Cross-domain network resource request method and device for client
CN107463453B (en) Method, device, equipment and storage medium for communication between different applications of same terminal
US20150373081A1 (en) Method of sharing browsing on a web page displayed by a web browser
CN103902534B (en) A kind of method and apparatus of web page program triggering local operation
CN101136834B (en) SSL VPN based link rewriting method and apparatus
CN103634338B (en) Method for modifying primary domain name of webpage online, data processing device and system
KR20140036317A (en) A method and server for monitoring users during their browsing within a communications network
CN105635073A (en) Access control method and device and network access equipment
CN106095598A (en) A kind of data processing method and client
CN103269313A (en) Method for achieving embedded linux home gateway captive portal
KR20130065777A (en) Apparatus and method for sharing web contents using inspector script
CN103970882A (en) Method and device for rendering page
JP2011043924A (en) Web action history acquisition system, web action history acquisition method, gateway device and program
CN105677688B (en) Page data loading method and system
KR101349201B1 (en) Apparatus for interoperability between Web-browser and Local-resources in the Mobile Device and method thereof
CN104573040A (en) Method and system for capturing webpage data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170412

Termination date: 20170821