CN103856541A - Redirected page display method, gateway and user equipment - Google Patents
Redirected page display method, gateway and user equipment Download PDFInfo
- Publication number
- CN103856541A CN103856541A CN201210519509.8A CN201210519509A CN103856541A CN 103856541 A CN103856541 A CN 103856541A CN 201210519509 A CN201210519509 A CN 201210519509A CN 103856541 A CN103856541 A CN 103856541A
- Authority
- CN
- China
- Prior art keywords
- request
- obtaining
- response message
- subscriber equipment
- gateway
- 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.)
- Granted
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a redirected page display method, a gateway and user equipment. The redirected page display method comprises the steps that the gateway receives an obtaining request sent by the user equipment; when the obtaining request is redirected, a first response message is sent to the user equipment, and the first response message carries a mark for indicating the user equipment to send a primary obtaining request; the primary obtaining request fed back by the user equipment according to the first response message is received, and the primary obtaining request carries the mark; a second response message is sent to the user equipment, and the second response message carries a uniform resource locator (URL) for redirecting the primary obtaining request and is used for indicating the user equipment to display the corresponding page content according to the redirected URL.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of redirection page plane display method, gateway and subscriber equipment.
Background technology
In the time of subscriber equipment display page, can ask with request resource by obtaining (GET) to gateway transmission, in GET request, carry the uniform resource position mark URL of Gains resources.If the position of this resource changes, gateway can be redirected this webpage, sends the new URL that obtains this resource to subscriber equipment, initiatively obtains this web page resources to new URL, to show this webpage so that obtain subscriber equipment.
In current redirected page displaying scheme, in the time that gateway need to be redirected GET request, if what subscriber equipment sent is the main GET request for requests for page framework HTML HTML, after gateway is redirected this main GET request, the framework HTML of subscriber equipment from being redirected resolves page resource (as picture, word etc.), and then by GET acquisition request page resource, just can show normally; If it is the GET request for requests for page resource that subscriber equipment sends, after gateway is redirected this GET request, subscriber equipment just can only show that this GET asks corresponding resource, cannot complete display web page.
Summary of the invention
The invention provides a kind of redirection page plane display method, gateway and subscriber equipment, can make normal demonstration of subscriber equipment be redirected the page.
In first aspect, the embodiment of the present invention provides a kind of redirection page plane display method, and the method comprises the following steps:
Gateway receives the request of obtaining that subscriber equipment sends;
In the time that the described request of obtaining is redirected, send described the first response message to described subscriber equipment, in described the first response message, carry the described subscriber equipment of indication and initiate the main mark of obtaining request;
Receive the master that described subscriber equipment returns according to described the first response message and obtain request, the described master request of obtaining carries described mark;
Send the second response message to described subscriber equipment, in described the second response message, carry the redirected uniform resource position mark URL of the described master request of obtaining, be used to indicate described subscriber equipment and show corresponding web page contents according to described redirected URL.
In the possible implementation of the first of first aspect, describedly be designated virtual URL, in described the first response message, also carry HTML HTML framework script, in order to indicate described subscriber equipment to set up window according to described HTML framework script and virtual URL, and obtain request according to the page master that described mark sends described window.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, described subscriber equipment shows that according to described redirected URL corresponding web page contents is further: described web page contents is shown in described window.
In second aspect, the embodiment of the present invention provides a kind of redirection page plane display method, and the method comprises the following steps:
Subscriber equipment sends to gateway the request of obtaining;
Receive the first response message sending when described gateway is redirected the described request of obtaining, in described the first response message, carry equipment for indicating user and initiate the main mark of obtaining request;
Send the main request of obtaining according to described the first response message to described gateway, the described master request of obtaining carries described mark;
Receive the second response message that described gateway sends according to described mark, in described the second response message, carry the redirected URL of the described master request of obtaining;
Show corresponding web page contents according to described redirected URL.
In the possible implementation of the first of second aspect, described in be designated virtual URL, in described the first response message, also carry HTML framework script.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, describedly send the main request of obtaining according to described the first response message to described gateway and be specially: set up window according to described HTML framework script and virtual URL, and the master who sends described window to described gateway according to described mark obtains request.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation, describedly show that according to described redirected URL corresponding web page contents is further: described web page contents is shown in described window.
In the third aspect, the embodiment of the present invention provides a kind of gateway, and this gateway comprises:
Receiving element, the request of obtaining sending for receiving subscriber equipment;
Transmitting element, in the time that the described request of obtaining is redirected, sends described the first response message to described subscriber equipment, carries the described subscriber equipment of indication and initiate the main mark of obtaining request in described the first response message;
Described receiving element, also obtains request for receiving the master that described subscriber equipment returns according to described the first response message, and the described master request of obtaining carries described mark;
Described transmitting element, also for sending the second response message to described subscriber equipment, in described the second response message, carry the redirected URL of the described master request of obtaining, be used to indicate described subscriber equipment and show corresponding web page contents according to described redirected URL.
In the possible implementation of the first of the third aspect, describedly be designated virtual URL, in described the first response message, also carry HTML framework script, in order to indicate described subscriber equipment to set up window according to described HTML framework script and virtual URL, and obtain request according to the master that described mark sends described window.
In fourth aspect, the embodiment of the present invention provides a kind of subscriber equipment, and this subscriber equipment comprises:
Transmitting element, for sending to gateway the request of obtaining;
Receiving element, for receiving the first response message sending when described gateway is redirected the described request of obtaining, carries equipment for indicating user and initiates the main mark of obtaining request in described the first response message;
Described transmitting element, also, for sending the main request of obtaining according to described the first response message to described gateway, the described master request of obtaining carries described mark;
Described receiving element, the second response message also sending according to described mark for receiving described gateway, carries in described the second response message the redirected URL of the described master request of obtaining;
Display unit, for showing corresponding web page contents according to described redirected URL.
In the possible implementation of the first of fourth aspect, described in be designated virtual URL, in described the first response message, also carry HTML framework script.
In conjunction with the possible implementation of the first of fourth aspect, in the possible implementation of the second, described subscriber equipment also comprises: set up unit, for setting up window according to described HTML framework script and virtual URL; Described transmitting element obtains request specifically for the master who sends described window according to described mark.
In conjunction with the possible implementation of the second of fourth aspect, in the third possible implementation, described display unit is specifically for being shown in described window by described web page contents.
Aspect the 5th, the embodiment of the present invention provides a kind of gateway, and this gateway comprises:
Network interface;
Processor;
Memory;
The application program of physical store in described memory, described application program comprises and can be used for making described processor and described system to carry out the instruction of following process:
Receive the request of obtaining that subscriber equipment sends;
In the time that the described request of obtaining is redirected, send described the first response message to described subscriber equipment, in described the first response message, carry the described subscriber equipment of indication and initiate the main mark of obtaining request;
Receive the master that described subscriber equipment returns according to described the first response message and obtain request, the described master request of obtaining carries described mark;
Send the second response message to described subscriber equipment, in described the second response message, carry the redirected URL of the described master request of obtaining, be used to indicate described subscriber equipment and show corresponding web page contents according to described redirected URL.
Aspect the 6th, the embodiment of the present invention provides a kind of subscriber equipment, and this subscriber equipment comprises:
Network interface;
Processor;
Memory;
The application program of physical store in described memory, described application program comprises and can be used for making described processor and described system to carry out the instruction of following process:
Send to gateway the request of obtaining;
Receive the first response message sending when described gateway is redirected the described request of obtaining, in described the first response message, carry equipment for indicating user and initiate the main mark of obtaining request;
Send the main request of obtaining according to described the first response message to described gateway, the described master request of obtaining carries described mark;
Receive the second response message that described gateway sends according to described mark, in described the second response message, carry the redirected URL of the described master request of obtaining;
Show corresponding web page contents according to described redirected URL.
The redirection page plane display method, gateway and the subscriber equipment that utilize the embodiment of the present invention to provide, in the time that gateway is redirected the page, gateway obtains when request receiving, the equipment for indicating user that can initiatively send to subscriber equipment is initiated the main mark of obtaining request, then this mark is carried in master's request of obtaining that subscriber equipment sends to gateway according to this mark, what make that gateway learns that subscriber equipment sends is the main request of obtaining, thereby the main request of obtaining is redirected, can normally shows the redirected page so that obtain subscriber equipment.
Accompanying drawing explanation
The flow chart of a kind of redirection page plane display method that Fig. 1 provides for the embodiment of the present invention one;
The flow chart of a kind of redirection page plane display method that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of a kind of gateway that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of a kind of subscriber equipment that Fig. 4 provides for the embodiment of the present invention four;
The structural representation of a kind of gateway that Fig. 5 provides for the embodiment of the present invention five;
The structural representation of a kind of subscriber equipment that Fig. 6 provides for the embodiment of the present invention six.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
Describe a kind of redirection page plane display method of providing of the embodiment of the present invention one below in detail as an example of Fig. 1 example, the flow chart of a kind of redirection page plane display method that Fig. 1 provides for the embodiment of the present invention one.The executive agent of this redirection page plane display method is gateway.As shown in Figure 1, this redirection page plane display method comprises the following steps:
Step S101, gateway receives (GET) request of obtaining that subscriber equipment sends.
In the time that subscriber equipment needs display web page, can send and obtain request to gateway, to obtain respective resources, thereby show corresponding content.
Step S102, in the time that the request of obtaining is redirected, sends the first response message to subscriber equipment, carries equipment for indicating user and initiate the main mark of obtaining request in this first response message.
When gateway receives obtaining after request of subscriber equipment transmission, if the position of the resource of request changes, need the page to be redirected, the request of obtaining subscriber equipment being sent is redirected.
It should be noted that to only have gateway to be redirected the main request of obtaining, normal demonstration of guarantee subscriber equipment is redirected the page.And send at subscriber equipment obtain request in the main accounting of obtaining request little, and whether what gateway can only be identified subscriber equipment transmission is the request of obtaining, not distinguishing the request of obtaining is that the master of requests for page framework obtains request, or the request of obtaining of other requests for page resource.Therefore, need to send the first response message that carries the main mark of obtaining request of equipment for indicating user initiation to subscriber equipment, send the main request of obtaining in order to subscriber equipment.
Preferably, this equipment for indicating user is initiated the main virtual URL of being designated of request that obtains, and this first-phase is answered and in message, is also carried HTML framework script, receiving after this first response message so that obtain subscriber equipment, re-establish a window, to show the redirected page, and the master that the master's request of obtaining sending to gateway is this window obtains request.
Step S103, the master that reception subscriber equipment returns according to the first response message obtains request, and this master request of obtaining carries described mark.
Gateway carries equipment for indicating user and initiates the main mark of obtaining request receiving, and just can learn that what now receive is mainly to obtain request, then performs step S104 the master who the receives request of obtaining is redirected.
Obtain if main and in request, do not carry this mark, gateway device is to judge whether this request of obtaining is the main request of obtaining, if the request of obtaining that there is no above-mentioned mark is redirected, may be that other request of obtaining is redirected, cause the page normally to show.Therefore,, if obtaining in request of receiving of gateway do not carried this mark, can again send the first response message to subscriber equipment.Only obtain request receiving the master who carries this mark, just can be redirected the master who the receives request of obtaining.
Step S104, sends the second response message to subscriber equipment, carries the redirected URL of the main request of obtaining in this second response message.
This second response message is used to indicate subscriber equipment and shows corresponding web page contents according to redirected URL, because this redirected URL sends according to the main request of obtaining, therefore can guarantee the normal page showing after being redirected of subscriber equipment.
A kind of redirection page plane display method that utilizes the embodiment of the present invention one to provide, in the time that gateway need to be redirected the page, gateway sends equipment for indicating user to subscriber equipment and sends the main mark of obtaining request, then gateway only receives the master who carries this mark and obtains request and just can be redirected, thereby make gateway only obtain request to main, to guarantee that subscriber equipment can normally show the redirected page.
Describe a kind of redirection page plane display method of providing of the embodiment of the present invention two below in detail as an example of Fig. 2 example, the flow chart of a kind of redirection page plane display method that Fig. 2 provides for the embodiment of the present invention two.The executive agent of this redirection page plane display method is subscriber equipment.As shown in Figure 2, this redirection page plane display method comprises the following steps:
Step S201, subscriber equipment sends to gateway the request of obtaining.
In the time that subscriber equipment needs display web page, can send and obtain request to gateway, to obtain respective resources, thereby show corresponding content.
Step S202, receives the first response message sending when gateway is redirected the request of obtaining, and carries equipment for indicating user and initiate the main mark of obtaining request in this first response message.
When gateway receives obtaining after request of subscriber equipment transmission, if the position of the resource of request changes, need the page to be redirected, the request of obtaining subscriber equipment being sent is redirected.Because whether gateway can not be identified the request of obtaining is the main request of obtaining, and gateway only has and the main request of obtaining is redirected to guarantee subscriber equipment can normally shows the redirected page, therefore gateway sends the first response message that carries equipment for indicating user and initiate master and obtain the mark of request to subscriber equipment.
Step S203, sends the main request of obtaining according to the first response message to gateway, and this master request of obtaining carries described mark.
Subscriber equipment carries equipment for indicating user and initiates main obtaining after the first response message of request receiving, send the main request of obtaining to gateway, because whether gateway cannot be distinguished the request of obtaining is the main request of obtaining, so the master that subscriber equipment sends according to the first response message obtains and carries described mark in request, learn that to make gateway this request of obtaining is the main request of obtaining, and is redirected this master request of obtaining.
Preferably, equipment for indicating user is initiated master and is obtained the virtual URL of being designated of request, and in the first response message, also carries HTML framework script.Subscriber equipment is receiving after the first response message, sets up a new window according to virtual URL and HTML framework script, and the master that the master who sends to the gateway request of obtaining is this window obtains request.
Step S204, receives the second response message that gateway sends according to described mark, carries the redirected URL of the main request of obtaining in this second response message.
Gateway obtains after request receiving the master who carries described mark, this master request of obtaining is redirected, and sends and carry the redirected URL of the main request of obtaining so that subscriber equipment can normally show the redirected page.
Step S205, shows corresponding web page contents according to redirected URL.
Be redirected and obtain according to the main request of obtaining because redirected URL is gateway, therefore subscriber equipment obtains page framework HTML according to this redirected URL, resolve again various page resources (as picture, word etc.) URL in this HTML, by obtaining acquisition request page resource, normally show thereby make to be redirected the page again.
Preferably, this redirected page content is shown in subscriber equipment according to the window of the virtual URL carrying in the first response message and the foundation of HTML framework script.
A kind of redirection page plane display method that utilizes the embodiment of the present invention one to provide, in the time that gateway need to be redirected the page, subscriber equipment receives the first response message that carries the main mark of obtaining request of equipment for indicating user transmission that gateway sends, then send to gateway the master who carries this mark and obtain request, gateway is only redirected, to guarantee that subscriber equipment can normally show the redirected page to the main request of obtaining.
Describe a kind of gateway of providing of the embodiment of the present invention three below in detail as an example of Fig. 3 example, the structural representation of a kind of gateway that Fig. 3 provides for the embodiment of the present invention three.A kind of redirection page plane display method that this gateway provides in order to realize the embodiment of the present invention one.As shown in Figure 3, this gateway comprises: receiving element 310, transmitting element 320.
The request of obtaining that receiving element 310 sends for receiving subscriber equipment.
In the time that subscriber equipment needs display web page, can send and obtain request to gateway, to obtain respective resources, thereby show corresponding content.
Transmitting element 320, in the time that the request of obtaining is redirected, sends the first response message to subscriber equipment, carries equipment for indicating user and initiate the main mark of obtaining request in this first response message.
When gateway receives obtaining after request of subscriber equipment transmission, if the position of the resource of request changes, need the page to be redirected, the request of obtaining subscriber equipment being sent is redirected.Only have gateway to be redirected the master of the subscriber equipment request of obtaining, guarantee subscriber equipment can normally show the redirected page.Therefore, transmitting element 320 sends the first response message that carries the main mark of obtaining request of equipment for indicating user initiation to subscriber equipment, is used to indicate subscriber equipment and sends the main request of obtaining to gateway.
Preferably, this equipment for indicating user is initiated the main virtual URL of being designated of request that obtains, and this first-phase is answered and in message, is also carried HTML framework script, receiving after this first response message so that obtain subscriber equipment, re-establish a window, to show the redirected page, and the master that the master's request of obtaining sending to gateway is this window obtains request.
Receiving element 310 also obtains request for receiving the master that subscriber equipment returns according to the first response message, and this master request of obtaining carries described mark.
Receiving element 310 is initiated the main mark of obtaining request according to equipment for indicating user can know that this request of obtaining is the main request of obtaining, and gateway is redirected this master request of obtaining.
Transmitting element 320, also for send the second response message to subscriber equipment, carries in this second response message the redirected URL of the main request of obtaining.
This second response message is used to indicate subscriber equipment and shows corresponding web page contents according to redirected URL, because this redirected URL is that transmitting element 320 sends according to the main request of obtaining, therefore can guarantee the normal page showing after being redirected of subscriber equipment.
A kind of gateway that utilizes the embodiment of the present invention three to provide, in the time that gateway need to be redirected the page, gateway sends equipment for indicating user to subscriber equipment and sends the main mark of obtaining request, then gateway only receives the master who carries this mark and obtains request and just can be redirected, thereby make gateway only obtain request to main, to guarantee that subscriber equipment can normally show the redirected page.
It should be noted that, the included unit of a kind of gateway that the present embodiment provides is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also, just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Describe a kind of subscriber equipment of providing of the embodiment of the present invention four below in detail as an example of Fig. 4 example, the structural representation of a kind of subscriber equipment that Fig. 4 provides for the embodiment of the present invention four.A kind of redirection page plane display method that this subscriber equipment provides in order to realize the embodiment of the present invention two.As shown in Figure 4, this subscriber equipment comprises: transmitting element 410, receiving element 420 and display unit 430.
Transmitting element 410 is for sending to gateway the request of obtaining.
In the time that subscriber equipment needs display web page, transmitting element 410 can send and obtain request to gateway, to obtain respective resources, thereby shows corresponding content.
Receiving element 420, for receiving the first response message sending when gateway is redirected the request of obtaining, carries equipment for indicating user and initiates the main mark of obtaining request in this first response message.
When gateway receives obtaining after request of subscriber equipment transmission, if the position of the resource of request changes, need the page to be redirected, the request of obtaining subscriber equipment being sent is redirected.Because whether gateway can not be identified the request of obtaining is the main request of obtaining, and gateway only has and the main request of obtaining is redirected to guarantee subscriber equipment can normally shows the redirected page, therefore gateway sends the first response message that carries equipment for indicating user and initiate master and obtain the mark of request to subscriber equipment.
Preferably, equipment for indicating user is initiated master and is obtained the virtual URL of being designated of request, and in the first response message, also carries HTML framework script.This subscriber equipment also comprises and sets up unit 440, for receiving after the first response message at receiving element 420, sets up a new window according to virtual URL and HTML framework script, and the master that the master who sends to the gateway request of obtaining is this window obtains request.
Transmitting element 410 is also for sending the main request of obtaining according to the first response message to gateway, and this master request of obtaining carries described mark.
Initiate main obtaining after the first response message of request at receiving element 410 to carrying equipment for indicating user, transmitting element 420 sends the main request of obtaining to gateway, because whether gateway cannot be distinguished the request of obtaining is the main request of obtaining, so the master that transmitting element 420 sends according to the first response message obtains and carries described mark in request, learn that to make gateway this request of obtaining is the main request of obtaining, and is redirected this master request of obtaining.
The second response message that receiving element 410 also sends according to described mark for receiving gateway, carries in this second response message the redirected URL of the main request of obtaining.
Gateway obtains after request receiving the master who carries described mark, this master request of obtaining is redirected, and sends and carry the redirected URL of the main request of obtaining so that subscriber equipment can normally show the redirected page.
Be redirected and obtain according to the main request of obtaining because redirected URL is gateway, therefore subscriber equipment obtains page framework HTML according to this redirected URL, resolve again various page resources (as picture, word etc.) URL in this HTML, by obtaining acquisition request page resource, normally show thereby make to be redirected the page again.
Preferably, display unit 430 is set up unit 440 according to the window of the virtual URL carrying in the first response message and the foundation of HTML framework script specifically for this redirected page content is shown in.
A kind of subscriber equipment that utilizes the embodiment of the present invention four to provide, in the time that gateway need to be redirected the page, subscriber equipment receives the first response message that carries the main mark of obtaining request of equipment for indicating user transmission that gateway sends, then send to gateway the master who carries this mark and obtain request, gateway is only redirected, to guarantee that subscriber equipment can normally show the redirected page to the main request of obtaining.
It should be noted that, the included unit of a kind of subscriber equipment that the present embodiment provides is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also, just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, a kind of gateway that the embodiment of the present invention three provides can also be realized by another kind of mode.As shown in Figure 5, the structural representation of its a kind of gateway providing for the embodiment of the present invention five, this gateway comprises network interface 510, processor 520 and memory 530.System bus 540 is for interconnection network interface 510, processor 520 and memory 530.
In the time starting, these component softwares are loaded in memory 530, are then accessed and carry out as given an order by processor 520:
Receive the request of obtaining that subscriber equipment sends;
In the time that the request of obtaining is redirected, send the first response message to subscriber equipment, in this first response message, carry equipment for indicating user and initiate the main mark of obtaining request;
The master that reception subscriber equipment returns according to the first response message obtains request, and this master request of obtaining carries described mark;
Send the second response message to subscriber equipment, in this second response message, carry the redirected URL of the main request of obtaining, be used to indicate subscriber equipment and show corresponding web page contents according to redirected URL.
A kind of gateway that utilizes the embodiment of the present invention five to provide, in the time that gateway need to be redirected the page, gateway sends equipment for indicating user to subscriber equipment and sends the main mark of obtaining request, then gateway only receives the master who carries this mark and obtains request and just can be redirected, thereby make gateway only obtain request to main, to guarantee that subscriber equipment can normally show the redirected page.
In addition, a kind of subscriber equipment that the embodiment of the present invention four provides can also be realized by another kind of mode.As shown in Figure 6, the structural representation of its a kind of subscriber equipment providing for the embodiment of the present invention six, this subscriber equipment comprises network interface 610, processor 620 and memory 630.System bus 640 is for interconnection network interface 610, processor 620 and memory 630.
In the time starting, these component softwares are loaded in memory 630, are then accessed and carry out as given an order by processor 620:
Send to gateway the request of obtaining;
Receive the first response message sending when gateway is redirected the request of obtaining, in this first response message, carry equipment for indicating user and initiate the main mark of obtaining request;
Send the main request of obtaining according to the first response message to gateway, this master request of obtaining carries described mark;
Receive the second response message that gateway sends according to described mark, in this second response message, carry the redirected URL of the main request of obtaining;
Show corresponding web page contents according to redirected URL.
A kind of subscriber equipment that utilizes the embodiment of the present invention six to provide, in the time that gateway need to be redirected the page, subscriber equipment receives the first response message that carries the main mark of obtaining request of equipment for indicating user transmission that gateway sends, then send to gateway the master who carries this mark and obtain request, gateway is only redirected, to guarantee that subscriber equipment can normally show the redirected page to the main request of obtaining.
Professional should further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function with distinct methods to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only the specific embodiment of the present invention; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (13)
1. a redirection page plane display method, is characterized in that, described method comprises:
Gateway receives the request of obtaining that subscriber equipment sends;
In the time that the described request of obtaining is redirected, send described the first response message to described subscriber equipment, in described the first response message, carry the described subscriber equipment of indication and initiate the main mark of obtaining request;
Receive the master that described subscriber equipment returns according to described the first response message and obtain request, the described master request of obtaining carries described mark;
Send the second response message to described subscriber equipment, in described the second response message, carry the redirected uniform resource position mark URL of the described master request of obtaining, be used to indicate described subscriber equipment and show corresponding web page contents according to described redirected URL.
2. method according to claim 1, it is characterized in that, describedly be designated virtual URL, in described the first response message, also carry HTML HTML framework script, in order to indicate described subscriber equipment to set up window according to described HTML framework script and virtual URL, and obtain request according to the page master that described mark sends described window.
3. method according to claim 2, is characterized in that, described subscriber equipment shows that according to described redirected URL corresponding web page contents is further:
Described web page contents is shown in described window.
4. a redirection page plane display method, is characterized in that, described method comprises:
Subscriber equipment sends to gateway the request of obtaining;
Receive the first response message sending when described gateway is redirected the described request of obtaining, in described the first response message, carry equipment for indicating user and initiate the main mark of obtaining request;
Send the main request of obtaining according to described the first response message to described gateway, the described master request of obtaining carries described mark;
Receive the second response message that described gateway sends according to described mark, in described the second response message, carry the redirected URL of the described master request of obtaining;
Show corresponding web page contents according to described redirected URL.
5. method according to claim 4, is characterized in that, described in be designated virtual URL, in described the first response message, also carry HTML framework script.
6. method according to claim 5, is characterized in that, describedly sends the main request of obtaining according to described the first response message to described gateway and is specially:
Set up window according to described HTML framework script and virtual URL, and the master who sends described window to described gateway according to described mark obtains request.
7. method according to claim 6, is characterized in that, describedly shows that according to described redirected URL corresponding web page contents is further:
Described web page contents is shown in described window.
8. a gateway, is characterized in that, described device comprises:
Receiving element, the request of obtaining sending for receiving subscriber equipment;
Transmitting element, in the time that the described request of obtaining is redirected, sends described the first response message to described subscriber equipment, carries the described subscriber equipment of indication and initiate the main mark of obtaining request in described the first response message;
Described receiving element, also obtains request for receiving the master that described subscriber equipment returns according to described the first response message, and the described master request of obtaining carries described mark;
Described transmitting element, also for sending the second response message to described subscriber equipment, in described the second response message, carry the redirected URL of the described master request of obtaining, be used to indicate described subscriber equipment and show corresponding web page contents according to described redirected URL.
9. gateway according to claim 8, it is characterized in that, describedly be designated virtual URL, in described the first response message, also carry HTML framework script, in order to indicate described subscriber equipment to set up window according to described HTML framework script and virtual URL, and obtain request according to the master that described mark sends described window.
10. a subscriber equipment, is characterized in that, described subscriber equipment comprises:
Transmitting element, for sending to gateway the request of obtaining;
Receiving element, for receiving the first response message sending when described gateway is redirected the described request of obtaining, carries equipment for indicating user and initiates the main mark of obtaining request in described the first response message;
Described transmitting element, also, for sending the main request of obtaining according to described the first response message to described gateway, the described master request of obtaining carries described mark;
Described receiving element, the second response message also sending according to described mark for receiving described gateway, carries in described the second response message the redirected URL of the described master request of obtaining;
Display unit, for showing corresponding web page contents according to described redirected URL.
11. subscriber equipmenies according to claim 10, is characterized in that, described in be designated virtual URL, in described the first response message, also carry HTML framework script.
12. subscriber equipmenies according to claim 11, is characterized in that, described subscriber equipment also comprises:
Set up unit, for setting up window according to described HTML framework script and virtual URL;
Described transmitting element obtains request specifically for the master who sends described window according to described mark.
13. subscriber equipmenies according to claim 12, is characterized in that, described display unit is specifically for being shown in described window by described web page contents.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210519509.8A CN103856541B (en) | 2012-12-06 | 2012-12-06 | Redirection page plane display method, gateway and user equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210519509.8A CN103856541B (en) | 2012-12-06 | 2012-12-06 | Redirection page plane display method, gateway and user equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103856541A true CN103856541A (en) | 2014-06-11 |
CN103856541B CN103856541B (en) | 2017-10-10 |
Family
ID=50863748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210519509.8A Active CN103856541B (en) | 2012-12-06 | 2012-12-06 | Redirection page plane display method, gateway and user equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103856541B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412126A (en) * | 2016-12-05 | 2017-02-15 | 深圳中兴网信科技有限公司 | Docker image description information display method and display device |
WO2017162041A1 (en) * | 2016-03-22 | 2017-09-28 | 阿里巴巴集团控股有限公司 | Method and device for page display |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101867526A (en) * | 2010-06-28 | 2010-10-20 | 中兴通讯股份有限公司 | A redirecting method and system |
US20110137973A1 (en) * | 2009-12-07 | 2011-06-09 | Yottaa Inc | System and method for website performance optimization and internet traffic processing |
CN102594877A (en) * | 2012-01-19 | 2012-07-18 | 网宿科技股份有限公司 | Method and system for combining redirected download request and agency service to accelerate network service |
-
2012
- 2012-12-06 CN CN201210519509.8A patent/CN103856541B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110137973A1 (en) * | 2009-12-07 | 2011-06-09 | Yottaa Inc | System and method for website performance optimization and internet traffic processing |
CN101867526A (en) * | 2010-06-28 | 2010-10-20 | 中兴通讯股份有限公司 | A redirecting method and system |
CN102594877A (en) * | 2012-01-19 | 2012-07-18 | 网宿科技股份有限公司 | Method and system for combining redirected download request and agency service to accelerate network service |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017162041A1 (en) * | 2016-03-22 | 2017-09-28 | 阿里巴巴集团控股有限公司 | Method and device for page display |
US10846355B2 (en) | 2016-03-22 | 2020-11-24 | Alibaba Group Holding Limited | Method and device for page display |
CN106412126A (en) * | 2016-12-05 | 2017-02-15 | 深圳中兴网信科技有限公司 | Docker image description information display method and display device |
Also Published As
Publication number | Publication date |
---|---|
CN103856541B (en) | 2017-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108449418B (en) | Hybrid cloud platform management system and method | |
CN104077162B (en) | Renewal, dissemination method and the device of mobile terminal application template | |
US20130346591A1 (en) | Clientless Cloud Computing | |
CN103916373A (en) | Data updating method, server, client side and system | |
CN105391811A (en) | DNS (domain name resolution) method, access method for application server, and terminal | |
CN103530160A (en) | Page loading method and device | |
CN102833777B (en) | Method for testing PORTAL performance of access controller | |
CN104335523A (en) | Access control method, client and server | |
CN104092792A (en) | Method, system and client-side for achieving flow optimization based on domain name resolution request | |
CN106549989B (en) | Data transmission method and system, user terminal and application server | |
CN103678307A (en) | Page display method and client-side | |
CN102402519A (en) | Search method, search result display method, search server and client | |
CN103152392A (en) | Providing method, acquisition method, equipment and system of installation package | |
CN104967644A (en) | Message push method, apparatus and system | |
CN103327051A (en) | Long-distance desktop management system and method | |
CN105323229A (en) | CPE-based data transmission method, network element, platform and system | |
CN105100150B (en) | Cloud desktop migration method and device and distributed cloud desktop system | |
CN102104603A (en) | Method, system and device for registering mobile terminal in WEB server | |
CN103544320A (en) | Webpage generation method and device | |
CN106570045B (en) | Data operation control method and system and user terminal | |
CN103841080A (en) | Called number completion method, device and system | |
CN103841157A (en) | File sharing device and method | |
CN101938427B (en) | Re-directing method and device in global load balance | |
CN103856541A (en) | Redirected page display method, gateway and user equipment | |
CN104063396A (en) | Bookmark synchronization method and system for browser |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |