CN103856541B - Redirection page plane display method, gateway and user equipment - Google Patents

Redirection page plane display method, gateway and user equipment Download PDF

Info

Publication number
CN103856541B
CN103856541B CN201210519509.8A CN201210519509A CN103856541B CN 103856541 B CN103856541 B CN 103856541B CN 201210519509 A CN201210519509 A CN 201210519509A CN 103856541 B CN103856541 B CN 103856541B
Authority
CN
China
Prior art keywords
user equipment
response message
gateway
main
request
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.)
Active
Application number
CN201210519509.8A
Other languages
Chinese (zh)
Other versions
CN103856541A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210519509.8A priority Critical patent/CN103856541B/en
Publication of CN103856541A publication Critical patent/CN103856541A/en
Application granted granted Critical
Publication of CN103856541B publication Critical patent/CN103856541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of redirection page plane display method, gateway and user equipment.The redirection page plane display method includes:Gateway receives the acquisition request that user equipment is sent;When being redirected to the acquisition request, sent to the user equipment and the instruction main mark for obtaining request of user equipment initiation is carried in first response message, first response message;The main acquisition request that the user equipment is returned according to first response message is received, the main acquisition request carries the mark;Send the second response message to the user equipment, carry in second response message to it is described it is main obtain the uniform resource position mark URL that request is redirected, show corresponding web page contents for indicating the user equipment according to the URL of the redirection.

Description

Redirection page plane display method, gateway and user equipment
Technical field
The present invention relates to communication technical field, more particularly to a kind of redirection page plane display method, gateway and user equipment.
Background technology
When user equipment shows the page, it can be obtained by being sent to gateway(GET)Ask to ask resource, GET request In carry obtain resource uniform resource position mark URL.If the position of the resource changes, gateway can be to the webpage Redirect, the new URL for obtaining the resource is sent to user equipment, the net is obtained so as to obtain user equipment and actively arrive new URL Page resource, to show the webpage.
In current redirection page displaying scheme, when gateway needs to redirect GET request, if user sets What preparation was sent is the main GET request for requests for page framework HTML HTML, then gateway is to the main GET request weight After orientation, user equipment parses page resource from the framework HTML after redirection(Such as picture, word), then pass through GET again Acquisition request page resource, just be able to can normally show;If user equipment transmission is the GET for requests for page resource Request, then after gateway is redirected to the GET request, user equipment is just only able to display the corresponding resource of the GET request, it is impossible to complete Show webpage.
The content of the invention
The invention provides a kind of redirection page plane display method, gateway and user equipment, user equipment is being enabled to just Often display redirects the page.
In a first aspect, the embodiments of the invention provide a kind of redirection page plane display method, this method includes following step Suddenly:
Gateway receives the acquisition request that user equipment is sent;
When being redirected to the acquisition request, first response message, described first are sent to the user equipment Carried in response message and indicate that the user equipment initiates the main mark for obtaining request;
The main acquisition request that the user equipment is returned according to first response message is received, the main acquisition request is taken With the mark;
Send to carry in the second response message, second response message to the user equipment and the main acquisition is asked The uniform resource position mark URL of redirection is sought, for indicating that the user equipment is shown accordingly according to the URL of the redirection Web page contents.
It is described to be designated virtual URL, first response message in the first possible implementation of first aspect In also carry HTML HTML framework scripts, to indicate the user equipment according to the HTML frameworks script Window is set up with virtual URL, and main obtain of the page for sending the window according to the mark is asked.
With reference to the first possible implementation of first aspect, in second of possible implementation, the user Equipment shows that corresponding web page contents are further according to the URL of the redirection:The web page contents are shown in the window.
In second aspect, the embodiments of the invention provide a kind of redirection page plane display method, this method includes following step Suddenly:
User equipment sends to gateway and obtains request;
Receive the gateway and obtain the first response message sent when request is redirected, first response message to described In carry instruction user equipment initiate it is main obtain request mark;
Main obtain is sent according to first response message to the gateway to ask, the main acquisition request carries described Mark;
The second response message that the gateway is sent according to the mark is received, is carried in second response message pair The main URL for obtaining request redirection;
Corresponding web page contents are shown according to the URL of the redirection.
It is described to be designated virtual URL, first response message in the first possible implementation of second aspect In also carry HTML framework scripts.
With reference to the first possible implementation of second aspect, in second of possible implementation, the basis First response message sends main acquisition request to the gateway:According to the HTML frameworks script and virtual URL Window is set up, and according to the main acquisition request identified to the gateway transmission window.
With reference to second of possible implementation of second aspect, in the third possible implementation, the basis The URL of the redirection shows that corresponding web page contents are further:The web page contents are shown in the window.
In the third aspect, the embodiments of the invention provide a kind of gateway, the gateway includes:
Receiving unit, the acquisition request for receiving user equipment transmission;
Transmitting element, for when being redirected to the acquisition request, first response to be sent to the user equipment Carried in message, first response message and indicate that the user equipment initiates the main mark for obtaining request;
The receiving unit, being additionally operable to receive main acquisition that the user equipment returns according to first response message please Ask, the main acquisition request carries the mark;
The transmitting element, is additionally operable to send in the second response message, second response message to the user equipment Carry to the main URL for obtaining request redirection, for indicating that the user equipment is shown according to the URL of the redirection Corresponding web page contents.
It is described to be designated virtual URL, first response message in the first possible implementation of the third aspect In also carry HTML framework scripts, to indicate that the user equipment is set up according to the HTML frameworks script and virtual URL Window, and asked according to the main acquisition of the mark transmission window.
In fourth aspect, the embodiments of the invention provide a kind of user equipment, the user equipment includes:
Transmitting element, request is obtained for being sent to gateway;
Receiving unit, the first response message sent when request is redirected, institute are obtained for receiving the gateway to described State and the mark that instruction user equipment initiates main acquisition request is carried in the first response message;
The transmitting element, is additionally operable to send main acquisition request to the gateway according to first response message, described Main acquisition request carries the mark;
The receiving unit, is additionally operable to receive the second response message that the gateway is sent according to the mark, and described the Carried in two response messages to the main URL for obtaining request redirection;
Display unit, for showing corresponding web page contents according to the URL of the redirection.
It is described to be designated virtual URL, first response message in the first possible implementation of fourth aspect In also carry HTML framework scripts.
With reference to the first possible implementation of fourth aspect, in second of possible implementation, the user Equipment also includes:Unit is set up, for setting up window according to the HTML frameworks script and virtual URL;The transmitting element tool Body is used to be asked according to the main acquisition that the mark sends the window.
With reference to second of possible implementation of fourth aspect, in the third possible implementation, the display Unit by the web page contents specifically for being shown in the window.
At the 5th aspect, the embodiments of the invention provide a kind of gateway, the gateway includes:
Network interface;
Processor;
Memory;
Application program of the physical store in the memory, the application program include can be used for make the processor and The system performs the instruction of procedure below:
Receive the acquisition request that user equipment is sent;
When being redirected to the acquisition request, first response message, described first are sent to the user equipment Carried in response message and indicate that the user equipment initiates the main mark for obtaining request;
The main acquisition request that the user equipment is returned according to first response message is received, the main acquisition request is taken With the mark;
Send to carry in the second response message, second response message to the user equipment and the main acquisition is asked The URL of redirection is sought, corresponding web page contents are shown for indicating the user equipment according to the URL of the redirection.
At the 6th aspect, the embodiments of the invention provide a kind of user equipment, the user equipment includes:
Network interface;
Processor;
Memory;
Application program of the physical store in the memory, the application program include can be used for make the processor and The system performs the instruction of procedure below:
Sent to gateway and obtain request;
Receive the gateway and obtain the first response message sent when request is redirected, first response message to described In carry instruction user equipment initiate it is main obtain request mark;
Main obtain is sent according to first response message to the gateway to ask, the main acquisition request carries described Mark;
The second response message that the gateway is sent according to the mark is received, is carried in second response message pair The main URL for obtaining request redirection;
Corresponding web page contents are shown according to the URL of the redirection.
Using redirection page plane display method provided in an embodiment of the present invention, gateway and user equipment, in gateway to the page When redirecting, gateway is when receiving acquisition request, and the instruction user equipment that actively can be sent to user equipment is initiated to lead The mark of request is obtained, the main acquisition request that then user equipment is sent according to the mark to gateway carries the mark so that net What user equipment transmission was learnt in pass is main acquisition request, so that redirection is asked to main obtain, can be just so as to obtain user equipment The page that often display is redirected.
Brief description of the drawings
Fig. 1 is a kind of flow chart for redirection page plane display method that the embodiment of the present invention one is provided;
Fig. 2 is a kind of flow chart for redirection page plane display method that the embodiment of the present invention two is provided;
Fig. 3 is a kind of structural representation for gateway that the embodiment of the present invention three is provided;
Fig. 4 is a kind of structural representation for user equipment that the embodiment of the present invention four is provided;
Fig. 5 is a kind of structural representation for gateway that the embodiment of the present invention five is provided;
Fig. 6 is a kind of structural representation for user equipment that the embodiment of the present invention six is provided.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into One step it is described in detail, it is clear that described embodiment is only embodiment of the invention a part of, rather than whole implementation Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.
Describe a kind of redirection page plane display method that the embodiment of the present invention one is provided in detail by taking Fig. 1 as an example below, Fig. 1 is A kind of flow chart for redirection page plane display method that the embodiment of the present invention one is provided.The execution of the redirection page plane display method Main body is gateway.As shown in figure 1, the redirection page plane display method comprises the following steps:
Step S101, gateway receives the acquisition that user equipment is sent(GET)Request.
When user equipment needs display webpage, it can be sent to gateway and obtain request, to obtain respective resources, so as to show Corresponding content.
Step S102, when being redirected to obtaining request, the first response message is sent to user equipment, the first response report Instruction user equipment is carried in text and initiates the main mark for obtaining request.
After gateway receives the acquisition request of user equipment transmission, if the position of the resource of request changes, Need to redirect the page, i.e., the acquisition request sent user equipment is redirected.
It should be noted that only gateway is redirected to main acquisition request, it just can guarantee that user equipment is normally shown Redirect the page.And the accounting that main acquisition is asked in the acquisition request that user equipment is sent is seldom, and gateway can only be recognized Whether what user equipment was sent is to obtain request, and does not differentiate between the main acquisition request for obtaining that request is requests for page framework, still The acquisition request of other requests for page resources.Main obtain is initiated accordingly, it would be desirable to be sent to user equipment and carry instruction user equipment The first response message of the mark of request is taken, sending main obtain to user equipment asks.
Preferably, what the main acquisition of instruction user equipment initiation was asked is designated virtual URL, and the first corresponding message In also carry HTML framework scripts so that user equipment after first response message is received, re-establish a window Mouthful, to show the redirection page, and the main acquisition request sent to gateway is asked for the main acquisition of the window.
Step S103, receives the main acquisition request that user equipment is returned according to the first response message, and the main acquisition request is taken With the mark.
Gateway carries the mark of the main acquisition request of instruction user equipment initiation receiving, and just can learn and now receive Be it is main obtain request, then perform step S104 to receive main acquisition request redirect.
If main obtain does not carry the mark in request, gateway device is can not to judge whether acquisition request is that master obtains Request is taken, may be that other acquisition requests are weighed if the acquisition request to not above-mentioned mark is redirected Orientation, causes the page not show normally.Therefore, can if not carrying the mark in the acquisition request that gateway is received Again the first response message is sent to user equipment.Only receive carry the mark main acquisition request, can just dock The main acquisition request received is redirected.
Step S104, sends to carry in the second response message, second response message to user equipment and main acquisition is asked Seek the URL of redirection.
Second response message shows corresponding web page contents for instruction user equipment according to the URL of redirection, due to The URL of the redirection is to obtain request transmission according to main, therefore, it is possible to ensure that user equipment normally shows the page after redirecting Face.
A kind of redirection page plane display method provided using the embodiment of the present invention one, needs to weigh the page in gateway During orientation, gateway sends instruction user equipment to user equipment and sends the main mark for obtaining request, and then gateway is only received Carrying the main acquisition request of the mark can just redirect, so that gateway is only asked main obtain, to ensure user Equipment can normally show the redirection page.
Describe a kind of redirection page plane display method that the embodiment of the present invention two is provided in detail by taking Fig. 2 as an example below, Fig. 2 is A kind of flow chart for redirection page plane display method that the embodiment of the present invention two is provided.The execution of the redirection page plane display method Main body is user equipment.As shown in Fig. 2 the redirection page plane display method comprises the following steps:
Step S201, user equipment sends to gateway and obtains request.
When user equipment needs display webpage, it can be sent to gateway and obtain request, to obtain respective resources, so as to show Corresponding content.
Step S202, receives gateway to obtaining the first response message sent when request is redirected, first response message In carry instruction user equipment initiate it is main obtain request mark.
After gateway receives the acquisition request of user equipment transmission, if the position of the resource of request changes, Need to redirect the page, i.e., the acquisition request sent user equipment is redirected.Because gateway can not be recognized and obtained Whether be main obtain ask, and gateway only redirects to main acquisition request and just can guarantee that user equipment can be just if taking request Often display redirects the page, therefore gateway sends to user equipment and carries the main mark for obtaining request of instruction user equipment initiation The first response message.
Step S203, sends main obtain to gateway according to the first response message and asks, and the main acquisition request carries described Mark.
User equipment is after the first response message for carrying the main acquisition request of instruction user equipment initiation is received, to net Close send it is main obtain request because gateway cannot be distinguished by obtaining request whether be it is main obtain request, user equipment is according to the The mark is carried in the main acquisition request that one response message is sent, acquisition request is that main acquisition please to cause gateway to learn Ask, the main acquisition request is redirected.
Preferably, instruction user equipment initiates being designated in virtual URL, and the first response message also for main acquisition request Carry HTML framework scripts.Then user equipment is after the first response message is received, according to virtual URL and HTML frameworks script A new window is set up, the main acquisition request sent to gateway is asked for the main acquisition of the window.
Step S204, receives and is carried in the second response message that gateway is sent according to the mark, second response message Have and obtain the URL that request is redirected to main.
Gateway is redirected after the main acquisition for carrying mark request is received to the main acquisition request, and Send to carry and obtain the URL that request is redirected to main, so that the redirection page can normally be shown by obtaining user equipment.
Step S205, corresponding web page contents are shown according to the URL of redirection.
Redirection is asked to obtain according to main obtain because the URL redirected is gateway, therefore user equipment is heavy according to this The URL of orientation obtains page framework HTML, then parses various page resources in the HTML(Such as picture, word)URL, then pass through Acquisition request page resource is obtained, is normally shown so that redirecting the page.
Preferably, the redirection content of pages is shown in user equipment according to the virtual URL carried in the first response message And the window that HTML frameworks script is set up.
A kind of redirection page plane display method provided using the embodiment of the present invention one, needs to weigh the page in gateway During orientation, user equipment receives the first sound that instruction user equipment sends the main mark for obtaining request that carries of gateway transmission Message is answered, the main acquisition request for carrying the mark is then sent to gateway so that gateway only asks to reset to main obtain To ensure that user equipment can normally show the redirection page.
Describe a kind of gateway that the embodiment of the present invention three is provided in detail by taking Fig. 3 as an example below, Fig. 3 is the embodiment of the present invention three A kind of structural representation of the gateway provided.The gateway is to realize that a kind of page that redirects that the embodiment of the present invention one is provided shows Show method.As shown in figure 3, the gateway includes:Receiving unit 310, transmitting element 320.
Receiving unit 310 is used for the acquisition request for receiving user equipment transmission.
When user equipment needs display webpage, it can be sent to gateway and obtain request, to obtain respective resources, so as to show Corresponding content.
Transmitting element 320 is used to, when redirecting to obtaining request, send the first response message to user equipment, this first Instruction user equipment is carried in response message and initiates the main mark for obtaining request.
After gateway receives the acquisition request of user equipment transmission, if the position of the resource of request changes, Need to redirect the page, i.e., the acquisition request sent user equipment is redirected.Only gateway is to user equipment Main acquisition request redirect, just can guarantee that user equipment can normally show the redirection page.Therefore, transmitting element 320 Sent to user equipment and carry the first response message that instruction user equipment initiates the main mark for obtaining request, for indicating to use Family equipment sends main obtain to gateway and asked.
Preferably, what the main acquisition of instruction user equipment initiation was asked is designated virtual URL, and the first corresponding message In also carry HTML framework scripts so that user equipment after first response message is received, re-establish a window Mouthful, to show the redirection page, and the main acquisition request sent to gateway is asked for the main acquisition of the window.
Receiving unit 310 is additionally operable to receive the main acquisition request that user equipment is returned according to the first response message, and the master obtains Request is taken to carry the mark.
Receiving unit 310 initiates the main mark for obtaining request according to instruction user equipment and would know that acquisition request is that master obtains Request is taken, gateway is redirected to the main acquisition request.
Transmitting element 320 is additionally operable to send the second response message to user equipment, carries in second response message pair It is main to obtain the URL that request is redirected.
Second response message shows corresponding web page contents for instruction user equipment according to the URL of redirection, due to The URL of the redirection is that transmitting element 320 obtains request transmission according to main, therefore, it is possible to ensure that user equipment normally shows weight The page after orientation.
Using the embodiment of the present invention three provide a kind of gateway, when gateway needs to redirect the page, gateway to User equipment sends instruction user equipment and sends the main mark for obtaining request, and then gateway only receives and carries the mark Main obtain asks just redirect, so that gateway is only asked main obtain, to ensure that user equipment can normally show Show the redirection page.
It should be noted that the unit included by a kind of gateway that the present embodiment is provided simply enters according to function logic What row was divided, but above-mentioned division is not limited to, as long as corresponding function can be realized;In addition, each functional unit Specific name is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
Describe a kind of user equipment that the embodiment of the present invention four is provided in detail by taking Fig. 4 as an example below, Fig. 4 is implemented for the present invention A kind of structural representation for user equipment that example four is provided.The user equipment is to realize one kind that the embodiment of the present invention two is provided Redirection page plane display method.As shown in figure 4, the user equipment includes:Transmitting element 410, receiving unit 420 and display unit 430。
Transmitting element 410, which is used to send to gateway, obtains request.
When user equipment needs display webpage, transmitting element 410 can send to gateway and obtain request, to obtain corresponding money Source, so as to show corresponding content.
Receiving unit 420 is used to receive gateway to obtaining the first response message sent when request is redirected, first sound Answer and the mark that instruction user equipment initiates main acquisition request is carried in message.
After gateway receives the acquisition request of user equipment transmission, if the position of the resource of request changes, Need to redirect the page, i.e., the acquisition request sent user equipment is redirected.Because gateway can not be recognized and obtained Whether be main obtain ask, and gateway only redirects to main acquisition request and just can guarantee that user equipment can be just if taking request Often display redirects the page, therefore gateway sends to user equipment and carries the main mark for obtaining request of instruction user equipment initiation The first response message.
Preferably, instruction user equipment initiates being designated in virtual URL, and the first response message also for main acquisition request Carry HTML framework scripts.Then the user equipment also includes setting up unit 440, for receiving first in receiving unit 420 After response message, a new window is set up according to virtual URL and HTML frameworks script, the main acquisition request sent to gateway is The main acquisition request of the window.
Transmitting element 410 is additionally operable to send main acquisition request to gateway according to the first response message, and the main acquisition request is taken With the mark.
In receiving unit 410 to after carrying main the first response message for obtaining request of instruction user equipment initiation, send Unit 420 sends main acquisition to gateway and asked, because gateway cannot be distinguished by obtaining whether request is that main obtain is asked, sends The mark is carried in the main acquisition request that unit 420 is sent according to the first response message, to cause gateway to learn the acquisition Request is that main obtain is asked, and the main acquisition request is redirected.
Receiving unit 410 is additionally operable to receive the second response message that gateway is sent according to the mark, the second response report Carried in text and obtain the URL that request is redirected to main.
Gateway is redirected after the main acquisition for carrying mark request is received to the main acquisition request, and Send to carry and obtain the URL that request is redirected to main, so that the redirection page can normally be shown by obtaining user equipment.
Display unit 430 is used to show corresponding web page contents according to the URL of redirection.
Redirection is asked to obtain according to main obtain because the URL redirected is gateway, therefore user equipment is heavy according to this The URL of orientation obtains page framework HTML, then parses various page resources in the HTML(Such as picture, word)URL, then pass through Acquisition request page resource is obtained, is normally shown so that redirecting the page.
Preferably, display unit 430 sets up unit 440 according to first specifically for the redirection content of pages is shown in The window that the virtual URL and HTML frameworks script carried in response message is set up.
A kind of user equipment provided using the embodiment of the present invention four, when gateway needs to redirect the page, is used Family equipment receives the first response message that instruction user equipment sends the main mark for obtaining request that carries of gateway transmission, so The main acquisition request for carrying the mark is sent to gateway afterwards so that gateway is only redirected to main acquisition request, to ensure User equipment can normally show the redirection page.
It should be noted that the unit included by a kind of user equipment that the present embodiment is provided simply is patrolled according to function Collect what is divided, but be not limited to above-mentioned division, as long as corresponding function can be realized;In addition, each function list The specific name of member is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
In addition, a kind of gateway that the embodiment of the present invention three is provided can also be realized by another way.As shown in figure 5, its A kind of structural representation of the gateway provided for the embodiment of the present invention five, the gateway includes network interface 510, the and of processor 520 Memory 530.System bus 540 is used to connect network interface 510, processor 520 and memory 530.
Network interface 510 is used to be communicated with user equipment and other network equipments.
Memory 530 can have software mould in permanent memory, such as hard disk drive and flash memory, memory 530 Block and device driver.Software module is able to carry out the various functions module of the above method of the present invention;Device driver can To be network and interface drive program.
On startup, these component softwares are loaded into memory 530, are then accessed and are performed such as by processor 520 Give an order:
Receive the acquisition request that user equipment is sent;
When being redirected to obtaining request, send in the first response message, first response message and carry to user equipment There is instruction user equipment to initiate the main mark for obtaining request;
The main acquisition request that user equipment is returned according to the first response message is received, the main acquisition request carries the mark Know;
Send to carry in the second response message, second response message to user equipment and obtain what request was redirected to main URL, corresponding web page contents are shown for instruction user equipment according to the URL of redirection.
Using the embodiment of the present invention five provide a kind of gateway, when gateway needs to redirect the page, gateway to User equipment sends instruction user equipment and sends the main mark for obtaining request, and then gateway only receives and carries the mark Main obtain asks just redirect, so that gateway is only asked main obtain, to ensure that user equipment can normally show Show the redirection page.
In addition, a kind of user equipment that the embodiment of the present invention four is provided can also be realized by another way.Such as Fig. 6 institutes Show, it is a kind of structural representation for user equipment that the embodiment of the present invention six is provided, the user equipment includes network interface 610th, processor 620 and memory 630.System bus 640 is used to connect network interface 610, processor 620 and memory 630.
Network interface 610 is used to be communicated with gateway and other network equipments.
Memory 630 can have software mould in permanent memory, such as hard disk drive and flash memory, memory 630 Block and device driver.Software module is able to carry out the various functions module of the above method of the present invention;Device driver can To be network and interface drive program.
On startup, these component softwares are loaded into memory 630, are then accessed and are performed such as by processor 620 Give an order:
Sent to gateway and obtain request;
Receive gateway and carry finger to obtaining in the first response message sent when request is redirected, first response message Show that user equipment initiates the main mark for obtaining request;
Main obtain is sent according to the first response message to gateway to ask, the main acquisition request carries the mark;
Receive to carry in the second response message that gateway is sent according to the mark, second response message and obtained to main Ask the URL redirected;
Corresponding web page contents are shown according to the URL of redirection.
A kind of user equipment provided using the embodiment of the present invention six, when gateway needs to redirect the page, is used Family equipment receives the first response message that instruction user equipment sends the main mark for obtaining request that carries of gateway transmission, so The main acquisition request for carrying the mark is sent to gateway afterwards so that gateway is only redirected to main acquisition request, to ensure User equipment can normally show the redirection page.
Professional should further appreciate that, each example described with reference to the embodiments described herein Unit and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, hard in order to clearly demonstrate The interchangeability of part and software, generally describes the composition and step of each example according to function in the above description. These functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme. Professional and technical personnel can realize described function to each specific application using distinct methods, but this realize It is not considered that beyond the scope of this invention.
The method that is described with reference to the embodiments described herein can use hardware, computing device the step of algorithm Software module, or the two combination are implemented.Software module can be placed in random access memory(RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium well known to interior.
Above-described embodiment, has been carried out further to the purpose of the present invention, technical scheme and beneficial effect Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc. all should be included Within protection scope of the present invention.

Claims (13)

1. a kind of redirection page plane display method, it is characterised in that methods described includes:
Gateway receives the acquisition request that user equipment is sent;
When being redirected to the acquisition request, the first response message, first response message are sent to the user equipment In carry and indicate that the user equipment initiates the main mark for obtaining request;
The main acquisition request that the user equipment is returned according to first response message is received, the main acquisition request is carried The mark;
Send to carry in the second response message, second response message to the user equipment and weight is asked to main obtain The uniform resource position mark URL of orientation, corresponding webpage is shown for indicating the user equipment according to the URL of the redirection Content.
2. according to the method described in claim 1, it is characterised in that described to be designated in virtual URL, first response message Also carry HTML HTML framework scripts, to indicate the user equipment according to the HTML frameworks script and Virtual URL sets up window, and the main acquisition for sending the window according to the mark is asked.
3. method according to claim 2, it is characterised in that the user equipment is shown according to the URL of the redirection Web page contents are further accordingly:
The web page contents are shown in the window.
4. a kind of redirection page plane display method, it is characterised in that methods described includes:
User equipment sends to gateway and obtains request;
The gateway is received to take described obtain in the first response message sent when request is redirected, first response message The main mark for obtaining request is initiated with instruction user equipment;
Main obtain is sent according to first response message to the gateway to ask, the main acquisition request carries the mark Know;
Receive and carried in the second response message that the gateway is sent according to the mark, second response message to described It is main to obtain the URL that request is redirected;
Corresponding web page contents are shown according to the URL of the redirection.
5. method according to claim 4, it is characterised in that described to be designated in virtual URL, first response message Also carry HTML framework scripts.
6. method according to claim 5, it is characterised in that described to be sent out according to first response message to the gateway Send it is main acquisition request be specially:
Window is set up according to the HTML frameworks script and virtual URL, and the window is sent according to described identify to the gateway The main acquisition request of mouth.
7. method according to claim 6, it is characterised in that the URL according to the redirection shows corresponding net Page content be further:
The web page contents are shown in the window.
8. a kind of gateway, it is characterised in that the gateway includes:
Receiving unit, the acquisition request for receiving user equipment transmission;
Transmitting element, it is described for when being redirected to the acquisition request, the first response message to be sent to the user equipment Carried in first response message and indicate that the user equipment initiates the main mark for obtaining request;
The receiving unit, is additionally operable to receive the main acquisition request that the user equipment is returned according to first response message, The main acquisition request carries the mark;
The transmitting element, is additionally operable to send carrying in the second response message, second response message to the user equipment Have to the main URL for obtaining request redirection, for indicating that the user equipment is shown accordingly according to the URL of the redirection Web page contents.
9. gateway according to claim 8, it is characterised in that described to be designated in virtual URL, first response message HTML framework scripts are also carried, window is set up to indicate the user equipment according to the HTML frameworks script and virtual URL Mouthful, and asked according to the main acquisition of the mark transmission window.
10. a kind of user equipment, it is characterised in that the user equipment includes:
Transmitting element, request is obtained for being sent to gateway;
Receiving unit, the first response message for sending when request is redirected is obtained for receiving the gateway to described, and described the Instruction user equipment is carried in one response message and initiates the main mark for obtaining request;
The transmitting element, is additionally operable to send main acquisition request to the gateway according to first response message, the master obtains Request is taken to carry the mark;
The receiving unit, is additionally operable to receive the second response message that the gateway is sent according to the mark, second sound Answer and carried in message to the main URL for obtaining request redirection;
Display unit, for showing corresponding web page contents according to the URL of the redirection.
11. user equipment according to claim 10, it is characterised in that described to be designated virtual URL, first response HTML framework scripts are also carried in message.
12. user equipment according to claim 11, it is characterised in that the user equipment also includes:
Unit is set up, for setting up window according to the HTML frameworks script and virtual URL;
Main acquisition of the transmitting element specifically for sending the window according to the mark is asked.
13. user equipment according to claim 12, it is characterised in that the display unit is specifically for by the webpage Content is shown in the window.
CN201210519509.8A 2012-12-06 2012-12-06 Redirection page plane display method, gateway and user equipment Active CN103856541B (en)

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 CN103856541A (en) 2014-06-11
CN103856541B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220260B (en) 2016-03-22 2020-07-24 阿里巴巴集团控股有限公司 Page display method and device
CN106412126A (en) * 2016-12-05 2017-02-15 深圳中兴网信科技有限公司 Docker image description information display method and display device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2510453B1 (en) * 2009-12-07 2016-10-12 Coach Wei Website performance optimization and internet traffic processing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN103856541A (en) 2014-06-11

Similar Documents

Publication Publication Date Title
CN110708393B (en) Method, device and system for transmitting data
JP6543714B2 (en) Peripheral device, method for emulating by peripheral device
CN103404181B (en) Cancel method, system, gateway and the server redirected
CN108173938B (en) Server load distribution method and device
CN108075934B (en) Network quality monitoring method, device and system
US8843646B2 (en) Multi-desktop interaction using nested remote desktop sessions
US20130346591A1 (en) Clientless Cloud Computing
CN106657180B (en) Information transmission method and device for cloud service, terminal equipment and system
US20130318173A1 (en) Automatically replacing localhost as hostname in url with fully qualified domain name or ip address
CN109831468A (en) Load-balancing method, device, electronic equipment and storage medium
CN104852919A (en) Method and apparatus for realizing portal authentication
CN103200231B (en) Policy control method and system
US20100082823A1 (en) Method and system for separating http session
WO2014002049A2 (en) Method and apparatus for task based remote services
CA2908087A1 (en) Systems and methods for providing an emulator
CN110297658A (en) Functional unit sharing method, device and computer equipment
CN109561165A (en) Domain name system configuration method and relevant apparatus
CN109889468A (en) Transmission method, system, device, equipment and the storage medium of network data
CN104717312B (en) A kind of determining method and device for accessing Internet resources interface
EP3306510B1 (en) Threat detection method and apparatus, and network system
CN103856541B (en) Redirection page plane display method, gateway and user equipment
CN106888268A (en) A kind of analysis method and device of domain name
CN109951487A (en) A kind of portal authentication method and device
US20150381749A1 (en) Web Page Pushing Method and Apparatus, and Terminal
CN104570967B (en) Long-range control method and system based on android system

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