WO2015039559A1 - 页面重定向方法、路由设备、终端设备及系统 - Google Patents

页面重定向方法、路由设备、终端设备及系统 Download PDF

Info

Publication number
WO2015039559A1
WO2015039559A1 PCT/CN2014/085777 CN2014085777W WO2015039559A1 WO 2015039559 A1 WO2015039559 A1 WO 2015039559A1 CN 2014085777 W CN2014085777 W CN 2014085777W WO 2015039559 A1 WO2015039559 A1 WO 2015039559A1
Authority
WO
WIPO (PCT)
Prior art keywords
access
page
address
redirection
access request
Prior art date
Application number
PCT/CN2014/085777
Other languages
English (en)
French (fr)
Inventor
邵磊
王旭婷
宋明东
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to JP2016528340A priority Critical patent/JP6256896B2/ja
Priority to EP14845278.2A priority patent/EP3002927B1/en
Priority to US14/902,489 priority patent/US10250714B2/en
Publication of WO2015039559A1 publication Critical patent/WO2015039559A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Definitions

  • the embodiments of the present invention relate to communication technologies, and in particular, to a page redirection method, a routing device, a terminal device, and a system. Background technique
  • the embodiment of the invention provides a page redirection method, a routing device, a terminal device and a system, so as to solve the problem that a page that a user needs to access cannot be opened normally.
  • the first aspect provides a page redirection method, including:
  • the second access response opens the desired access page and the redirected page of the user.
  • the method before the receiving, by the network server, the first access response that is corresponding to the first access request, the method further includes: receiving, by the terminal device, the first access Request
  • the obtaining, according to the redirection determining indication, acquiring and storing the first one included in the first access request Before accessing the address it also includes:
  • the redirection processing rule includes: when detecting the version upgrade information notified by the network server, the access address of the redirected page is The access address of the version upgrade information prompt page is set; or, when a new short message is detected, the access address of the redirect page is set as the access address of the new short message notification prompt page.
  • the redirection processing rule further includes: after performing the redirection, canceling the redirection processing rule.
  • any one of the first to third possible implementation manners of the first aspect in a fourth possible implementation, the sending, by the terminal device, the first processed by the redirection process After the response is sent to enable the terminal device to send the second access request according to the modified return code, the method further includes:
  • the second aspect provides a page redirection method, including: And receiving, by the first access request sent to the routing device, a first access response that is sent by the routing device by using a redirection process, where the first access request includes a first access address of a page that the user needs to access, the first The access response includes a return code modified by the routing device and at least one second access address and the first access address of the added redirect page;
  • the user Based on the first access response processed by the routing device redirection, the user needs to access the page and the redirected page.
  • the method before the receiving, by the routing device, the first access response sent by the redirecting process, the method further includes:
  • the web server sends the first access request.
  • the user accesses the required access page based on the first access response processed by the routing device redirection process And before the redirect page, it also includes:
  • the routing device Receiving, by the routing device, a second access response corresponding to the second access request, where the second access response includes an access response corresponding to the first access address and access corresponding to the at least one second access address Respond
  • the opening the user-required access page and the redirecting page based on the first access response that is processed by the routing device redirection includes:
  • the user needs to access the page in the first display window, and the second window is opened to display the redirected page.
  • a routing device including:
  • a receiving control module configured to receive, according to the first access request sent by the terminal device, a first access response that is sent by the network server and is corresponding to the first access request, where the first access request includes a user Access the first access address of the page;
  • a processing module configured to modify, according to the redirection determination indication, a return code of the first access response received by the receiving control module, and add at least one second access address of the redirect page and the first access response The first access address;
  • a sending control module configured to send, by using a control transmitter, the first access response that is processed by the processing module to the terminal device, so that the terminal device sends a second access request according to the modified return code, And causing the terminal device to open the required access page and the redirect page of the user according to the second access response returned by the second access request.
  • the receiving control module is further configured to: before receiving, by the control receiver, the first access response that is fed back by the network server and corresponding to the first access request, Controlling, by the receiver, the first access request sent by the terminal device;
  • the routing device further includes:
  • a storage module configured to acquire and store the first access address in the first access request according to the redirect determination indication
  • the sending control module is further configured to send the first access request to a network server corresponding to the first access address by controlling the sender.
  • the routing device further includes: a determining module, configured to determine, according to the redirection processing rule, before the storage module obtains and stores the first access address in the first access request according to the redirection determination indication
  • the first access request performs a redirection process.
  • the redirection processing rule includes: when detecting the version upgrade information notified by the server, setting an access address of the redirected page to the version upgrade information prompt page. Access address; or,
  • the access address of the redirected page is set to the access address of the new short message notification prompt page.
  • the determining module is further configured to cancel the redirection processing rule after performing a redirection.
  • the receiving control module is further used in the sending control module Transmitting, by the sender, the first access response that is processed by the processing module to the terminal device, after the terminal device sends the second access request according to the modified return code, by using the control device Receiving, by the receiver, a second access request that includes the first access address and the at least one second access address, sent by the terminal device according to the modified return code;
  • the sending control module is further configured to: send, by the sender, the second access request received by the receiving control module to a network server corresponding to the first access address and the at least one second access address ;
  • the receiving control module is further configured to: receive, by the receiver, a second access response that is sent by the network server and that is corresponding to the second access request, where the second access response includes the first access address Access response and an access response corresponding to the at least one second access address;
  • the sending control module is further configured to send the identifier to the terminal device by controlling the sender Receiving, by the control module, the second access response, so that the terminal device opens the user required access page and the redirect page according to the second access response.
  • the fourth aspect provides a terminal device, including:
  • a terminal receiving control module configured to receive, by using a first access request sent to the routing device, a first access response that is sent by the routing device by using a redirection process, where the first access request includes a user Accessing a first access address of the page, where the first access response includes a return code modified by the routing device and at least one second access address and the first access address of the added redirect page;
  • a terminal processing module configured to open the required access page and the redirect page of the user based on the first access response processed by the routing device redirection process.
  • the terminal device further includes: a terminal sending control module, configured to: before the terminal receiving control module receives the first access response sent by the routing device after the redirecting process Transmitting, by the control terminal, the first access request to the routing device, so that the routing device acquires and stores the first access address in the first access request, so that the routing device The network server corresponding to the first access address sends the first access request.
  • a terminal sending control module configured to: before the terminal receiving control module receives the first access response sent by the routing device after the redirecting process Transmitting, by the control terminal, the first access request to the routing device, so that the routing device acquires and stores the first access address in the first access request, so that the routing device The network server corresponding to the first access address sends the first access request.
  • the terminal sending control module is further configured to: when the terminal processing module opens the required access page of the user, Before the redirecting the page, the second access request is sent by controlling the terminal sender according to the modified return code, where the second access request includes the first access address and the at least one second access address;
  • the terminal receiving control module is further configured to receive the routing device by controlling the terminal receiver a second access response corresponding to the second access request, the second access response includes an access response corresponding to the first access address and an access response corresponding to the at least one second access address;
  • the terminal processing module is configured to display, according to the second access response received by the terminal receiving control module, the user in the first display window that is opened when the first access request is sent to the routing device. To access the page, open a second window to display the redirect page.
  • a routing device including:
  • a receiver configured to receive, according to the first access request sent by the terminal device, a first access response that is sent by the network server and that is corresponding to the first access request, where the first access request includes the first page that the user needs to access the page address;
  • a processor configured to modify, according to the redirection determination indication, a return code of the first access response received by the receiver, and add at least one second access address and location of the redirect page in the first access response Said first access address;
  • a transmitter configured to send, to the terminal device, a first access response that is processed by the processor, to enable the terminal device to send a second access request according to the modified return code, thereby causing the terminal to The device opens the required access page and the redirect page of the user according to the second access response returned by the second access request.
  • the receiver is further configured to: before receiving the first access response that is sent by the network server and corresponding to the first access request, Describe the first access request;
  • the processor is further configured to acquire and store the first access address in the first access request according to the redirect determination indication;
  • the transmitter is further configured to send the first access request to a network server corresponding to the first access address.
  • the processor is further configured to: before acquiring and storing the first access address in the first access request And determining, according to the redirection processing rule, the redirection processing of the first access request, where the redirection processing rule includes: when detecting the version upgrade information notified by the server, the access address of the redirected page Set to the access address of the version upgrade information prompt page; or,
  • the access address of the redirected page is set to the access address of the new short message notification prompt page.
  • the processor is further configured to cancel the redirection processing rule after performing a redirection.
  • the receiver is further used in the transmitter Transmitting, by the terminal device, a first access response that is processed by the processor after the redirection process, to enable the terminal device to send the second access request according to the modified return code, and receiving the modified terminal device according to the modified Returning, by the return code, a second access request including the first access address and the at least one second access address;
  • the transmitter is further configured to send, by the network server corresponding to the first access address and the at least one second access address, the second access request received by the receiver;
  • the receiver is further configured to receive a second access response that is sent by the network server and that is corresponding to the second access request, where the second access response includes an access response corresponding to the first access address and corresponding to the An access response of at least one second access address;
  • the transmitter is further configured to send the second access response received by the receiver to the terminal device, so that the terminal device opens the required access page and location of the user according to the second access response. Redirect page.
  • a terminal device including:
  • the terminal receiver is configured to receive, according to the first access request sent to the routing device, a first access response that is sent by the routing device after the redirecting process, where the first access request includes the first page that the user needs to access the page.
  • An access address where the first access response includes a return code modified by the routing device and at least one second access address and the first access address of the added redirect page; and a terminal processor, configured to The first access response processed by the routing device redirection opens the required access page and the redirected page of the user.
  • the method further includes: a terminal transmitter, configured to send, to the routing device, the terminal receiver before receiving the first access response sent by the routing device after the redirection process Determining, by the routing device, the routing device to acquire and store the first access address in the first access request, so that the routing device sends the network server corresponding to the first access address Sending the first access request.
  • the terminal transmitter is further configured to: when the terminal processor opens the required access page of the user, Before the page is forwarded, the second access request is sent according to the modified return code, where the second access request includes the first access address and the at least one second access address;
  • the terminal receiver is further configured to receive a second access response that is returned by the routing device and that is corresponding to the second access request, where the second access response includes an access response and a corresponding location corresponding to the first access address.
  • the terminal processor is specifically configured to: according to the second access response received by the terminal receiver, display the required content in a first display window that is opened when the first access request is sent to the routing device Visit the page and open a second window to display the redirected page.
  • a page redirection system including:
  • the third aspect any of the routing devices of any one of the first to fourth possible implementations of the third aspect, and any of the fourth aspect, the first and second possible implementation manners of the fourth aspect Terminal Equipment.
  • the embodiment of the present invention provides a webpage redirection method, a routing device, a terminal device, and a system.
  • the routing device determines, according to the redirection, that the access response corresponding to the access request sent by the terminal device is received, and the return of the access response is modified. And adding at least one second access address included in the corresponding configured redirect page and the first access address included in the access request to the access response, and returning the redirected access response to the terminal device, thereby
  • the terminal device can open the redirection page of the user's required access page and the routing device according to the access response, thereby solving the problem that the routing device in the prior art needs to reopen another browser window and input the accessed page address when the page is redirected. Revisit the issue of the page you need to access.
  • FIG. 1 is a flowchart of a page redirection method according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of a page redirection method according to Embodiment 2 of the present invention
  • FIG. 3 is a flowchart of a method for redirecting a page according to Embodiment 3 of the present invention
  • FIG. 4 is a flowchart of a page redirection method according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a routing device according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal device according to Embodiment 7 of the present invention.
  • FIG. 7 is a schematic structural diagram of a routing device according to Embodiment 9 of the present invention.
  • FIG. 8 is a schematic structural diagram of a terminal device according to Embodiment 10 of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a flowchart of a page redirection method according to Embodiment 1 of the present invention.
  • the method provided in this embodiment is applicable to a terminal device that accesses the network through the routing device.
  • the routing device needs to redirect the browser access page of the terminal device to prompt the routing device to complete the configuration request.
  • the method can be performed by a routing device, which is typically implemented in a hardware and software manner, and can be integrated into the memory of the routing device, such as in a processor chip, for execution by a processor.
  • the method of this embodiment includes the following steps:
  • the Hypertext Transport Protocol (HTTP) is usually used to send an access request to the network server.
  • HTTP Hypertext Transport Protocol
  • the access request needs to be transited by the routing device.
  • the routing device first receives the first access request sent by the terminal device, and the first access request includes the first access address that the user needs to access the page. So that the network server responds to the corresponding first access port according to the first access address in the first access request.
  • the routing device may determine that the first access request needs to be redirected according to the redirection processing rule.
  • the configuration process of the redirection processing rule may be performed on the routing device in advance, which may be generally performed by the provider of the routing device.
  • the routing device produced by the device is uniformly configured.
  • a module that adds software and hardware to the routing device is used to preset the redirection processing rule.
  • the redirection processing rule may include: when detecting the version upgrade information notified by the server, setting an access address of the redirect page to an access address of the version upgrade information prompt page.
  • the redirection processing rule is configured to redirect a page accessed by the user browser to a page for the routing device to perform version update when the routing device detects that the version of the device of the model is updated.
  • the redirection processing rule may further include: when detecting a new short message, setting an access address of the redirect page to an access address of the new short message notification prompt page.
  • SIM Subscriber Identity Module
  • a universal subscriber identity card SIMr Identity Module
  • the foregoing redirection processing rule further includes: after performing a redirection, canceling the redirection processing rule. It should be noted that the redirection processing rule in this embodiment Then, one or more of the rules may be included, which is not limited in this embodiment.
  • the routing device may obtain the first access address in the first access request according to the redirection indication of the network server notification, and may send the first access request to the network server corresponding to the first access address. And causing the network server to feed back the first access response corresponding to the first access address in the first access request, and the terminal device may obtain the page that the user needs to access according to the first access response that is sent by the network server and is corresponding to the first access request.
  • the routing device stores the first access address of the page that is included in the first access request, where the first access address includes the unified in the access request message.
  • Resource Locator URL
  • the link information and URL information of the access request message are-corresponding mapping relationships, and the URL information corresponding to the link information can be found according to the link information.
  • the URL information includes the website information that the user needs to access the page, that is, the useful value Value, and the link information includes a key value Key corresponding to the Value, that is, the mapping relationship between the link information and the URL is uniquely corresponding.
  • the routing device When the routing device receives the access response, it determines whether the received access response is an access response corresponding to the stored first access address, that is, whether it is the first access request, according to the URL corresponding to the access request included in the access response. Corresponding access response.
  • the routing device may further determine the indication according to the redirection of the network server notification, and redirect the page that the terminal device needs to access to complete the corresponding configuration. Therefore, the content of the first access response is modified, specifically, the return code of the first access response is modified. And adding a routing device to the first access response Completing at least one second access address of the corresponding configured redirect page; unlike the prior art, the first access address recorded by the routing device when receiving the first access request is also added to the access response.
  • the first access response that is processed by the redirection is sent to the terminal device, so that the terminal device sends a second access request according to the modified return code, so that the terminal device is configured according to the second access.
  • the second access response returned by the request opens the desired access page and the redirected page of the user.
  • the routing device because the routing device only adds an access address for the routing device to complete the corresponding configured redirect page in the access response fed back by the network server, the user browser can only obtain the redirect according to the access address. The page, and then the browser can only open the page for the routing device to complete the corresponding configuration. In order to open the page that the user needs to access, the user needs to open the browser page again and input the address to be accessed.
  • the routing device sends the changed first access response to the terminal device.
  • the changed first access response includes the first access address and at least A second access address
  • the user equipment may acquire the required access page of the user according to the first access address and obtain the redirect page according to the at least one second access address.
  • the user terminal device parses the packet when the first access response is processed by the redirecting process, and the terminal device may identify the modified return code and the added access address in the first access response when parsing the packet. And then automatically resending the second access request according to the modified return code in the first access response, where the retransmitted second access request includes the first access address and the at least one second access address added in the first access response that has been fed back.
  • the terminal device may simultaneously open the required access page of the user according to the second access response returned by the routing device by the second access request, and complete the corresponding configuration for the routing device.
  • the redirect page is set.
  • the routing device determines, according to the redirection, that the access response corresponding to the access request sent by the terminal device is received, by modifying the return code of the access response and adding the routing device to the access response.
  • FIG. 2 is a flowchart of a page redirection method according to Embodiment 2 of the present invention. As shown in FIG. 2, the method in this embodiment may include:
  • S220 Modify a return code of the first access response according to the redirect determination indication, and add at least one second access address and the first access address of the redirect page to the first access response.
  • the first access response that is processed by the redirecting process is sent to the terminal device, so that the terminal device sends a second access request according to the modified return code, so that the terminal device is configured according to the second access.
  • the second access response returned by the request opens the desired access page and the redirected page of the user.
  • S 210 to S 230 is referred to as S 110 to S 130 in the first embodiment.
  • S240 Receive a second access request that is sent by the terminal device, according to the modified return code, that includes the first access address and the at least one second access address.
  • the routing device receives the second access request that is resent by the terminal device according to the modified return code, and is the same as the method for sending the first access request.
  • the difference is that, after performing a redirect according to the redirection processing rule, canceling
  • the redirection processing rule that is, after the second access request sent by the terminal device is received, the redirection processing rule has been canceled, and the operation of acquiring and storing the page access address included in the second access request is not required to be performed.
  • the routing device sends a new second access request to the corresponding network server according to the access address included in the retransmitted second access request.
  • the routing device may obtain the first included in the received second access request. And accessing the address and the at least one second access address, and sending the second access request to the network server corresponding to the address, the network server only identifying the access address corresponding to the user, and feeding back the access response according to the identified access address Transmitting the access response re-feedback of the network server corresponding to the first access address and the access response re-feedback of the network server corresponding to the at least one second access address to the user terminal device, thereby causing the terminal device to re-feedback according to The access response can open the page that the user needs to access and the page that is used to route the device to complete the corresponding configuration.
  • the network server corresponding to the first access address and the at least one second access address in the second access request sent by the routing device to the network server in S250 may be the same or different; correspondingly, S260
  • the intermediate routing device receives the access response corresponding to the above network server.
  • the routing device determines, according to the redirection, that the access response corresponding to the access request sent by the terminal device is received, by modifying the return code of the access response and adding the routing device to the access response.
  • the terminal device retransmits the second access request including the first access address and the at least one second access address according to the access response returned by the routing device through the redirecting process, and then returns the second access request according to the second access request of the routing device.
  • the access response opens the page that the user needs to access and the routing device completes the corresponding configured redirect page.
  • FIG. 3 is a flowchart of a method for redirecting a page according to Embodiment 3 of the present invention.
  • the method provided in this embodiment is applicable to a terminal device that accesses the network through the routing device.
  • the routing device needs to redirect the browser access page of the terminal device to prompt the routing device to complete the configuration request.
  • the method can be performed by a terminal device, which is usually implemented by hardware and software, and can be integrated In the memory of the terminal device, for example, it is integrated in the processor chip for execution by the processor.
  • the method in this embodiment includes the following steps:
  • S310 receiving, according to the first access request sent to the routing device, a first access response sent by the routing device by using a redirecting process, where the first access request includes a first access address of a page that the user needs to access,
  • the first access response includes a return code modified by the routing device and at least one second access address and the first access address of the added redirect page;
  • the access request is sent to the network server through the HTTP protocol.
  • the first access request sent by the terminal device needs to be forwarded to the network server through the routing device.
  • the first access request includes a first access address that the user needs to access the page, so that the routing device forwards the access request to the network server corresponding to the first access address.
  • the method for redirecting the page further includes: sending, by the routing device, a first access request that includes the first access address to the routing device, so that the routing device obtains and stores the first access in the first access request.
  • An address such that the routing device sends the first access request to the network server corresponding to the first access address; after receiving the first access request, the network server feeds back the first access response corresponding to the first access request
  • the routing device performs the redirection process on the first access response. Therefore, the first access response that is received by the terminal device and forwarded by the routing device includes not only the user terminal device needs to access.
  • the first access address of the page further includes at least one second access address for the routing device to complete the corresponding configured redirect page.
  • S320 Open the required access page and the redirect page of the user based on the first access response that is processed by the routing device redirection.
  • the user browser of the terminal device can open the user-required access page according to the first access address and open the redirect page according to the at least one second access address.
  • the user terminal device parses the first access response.
  • the terminal device may identify the modified return code and the added access address in the first access response, and then automatically resend the second access request according to the modified return code in the first access response, where the retransmission is performed.
  • the second access request includes the first access address and the at least one second access address added in the first access response that has been fed back. Further, the terminal device simultaneously opens the user according to the second access response returned by the routing device. The page that needs to be accessed and the page that is used to route the device to complete the corresponding configuration surface.
  • the terminal device receives the access response returned by the routing device after the redirection process, and the access response after the redirection process is that the routing device modifies the received access response when the page redirection is required.
  • the return code and add force to the access response. Completing at least one second access address of the corresponding configured redirect page and the first access address included in the access request, so that the terminal device can open the required access page and route of the user according to the received access response processed by the redirect processing
  • the redirection page of the device further solves the problem that the routing device in the prior art needs to reopen another browser window and input the accessed page address in order to revisit the page to be accessed when the page is redirected.
  • FIG. 4 is a flowchart of a page redirection method according to Embodiment 4 of the present invention. As shown in FIG. 4, the method in this embodiment may include:
  • S420 Receive, according to the first access request sent to the routing device, a first access response that is sent by the routing device by using a redirection process, where the first access response includes a return code modified by the routing device and an added Redirecting at least one second access address of the page and the first access address;
  • the terminal device determines, according to the modified return code, that the received first access response is a redirected access response, and only when the routing device needs to perform redirection processing on the page accessed by the terminal device browser, Changing a return code of the first access response and adding at least one second access address and the first access address of the redirect page of the corresponding configuration to the routing device; therefore, the terminal device may according to the modified return code in the first access response Determining that the first access response is an access response processed by the routing device redirection, and further resending the second access request according to the modified return code and the added access address in the first access response, the second access request
  • the address included in the first access response that is redirected is the first access address that the user needs to access and the at least one second access address of the redirected page that the routing device completes the corresponding configuration.
  • the routing device sends a new second access request to the network server corresponding to the first access address and the second access address according to the second access request resent by the terminal device, and the first access address is The access response re-feedback of the corresponding network server and the access response fed back by the network server corresponding to the second access address are fed back to the user terminal device.
  • the second access response returned by the routing device received by the terminal device in the S440 may be returned by one network server, or may be returned by two network servers, and the network server that returns the access response is resent
  • the first access address included in the second access request corresponds to the at least one second access address.
  • the terminal device receives the access response returned by the routing device after the redirection process, and the access response after the redirection process is that the routing device modifies the received access response when the page redirection is required.
  • the return code and add force to the access response. Completing at least one second access address of the corresponding configured redirect page and the first access address included in the access request, so that the terminal device can open the required access page and route of the user according to the received access response processed by the redirect processing
  • the redirection page of the device further solves the problem that the routing device in the prior art needs to reopen another browser window and input the accessed page address in order to revisit the page to be accessed when the page is redirected.
  • the terminal device retransmits the second access request including the first access address and the at least one second access address according to the access response returned by the routing device through the redirecting process, and then returns the second access request according to the second access request of the routing device.
  • the access response opens the page that the user needs to access and the routing device completes the corresponding configured redirect page.
  • FIG. 5 is a schematic structural diagram of a routing device according to Embodiment 5 of the present invention. As shown in Figure 5, The routing device provided in this embodiment specifically includes: a receiving control module 11, a processing module 12, and a sending control module 13.
  • the receiving control module 11 is configured to receive, by using a first access request sent by the terminal device, a first access response that is sent by the network server and is corresponding to the first access request, where the first access request includes The first access address of the page that the user needs to access;
  • the processing module 12 is configured to modify, according to the redirection determination indication, the return code of the first access response received by the receiving control module 11, and add at least one second access address of the redirect page and the first access response The first access address;
  • the sending control module 13 is configured to send, by the sender, the first access response that the processing module 12 undergoes redirection processing to the terminal device, so that the terminal device sends the second access according to the modified return code. And causing the terminal device to open the required access page and the redirect page of the user according to the second access response returned by the second access request.
  • the receiving control module 11 is further configured to: after receiving the first access response corresponding to the first access request fed back by the network server by controlling the receiver, receiving the terminal by controlling the receiver The first access request sent by the device; the routing device provided in this embodiment further includes: a determining module 14 configured to perform redirection processing on the first access request according to the redirection processing rule; And obtaining, according to the redirect determination indication, the first access address in the first access request.
  • the redirection processing rule includes: when detecting the version upgrade information notified by the server, setting an access address of the redirect page to an access address of the version upgrade information prompt page; for example, The redirection processing rule further includes: setting, when a new short message is detected, an access address of the redirected page as an access address of the new short message notification prompt page; optionally, the foregoing redirection processing rule Also included: After the orientation, the redirection processing rule is canceled. It should be noted that, in this embodiment, the redirection processing rule may include one or more of the rules, which is not limited in this embodiment.
  • the sending control module 13 is further configured to send, by using a control transmitter, a first access request to a network server corresponding to the first access address.
  • the routing device provided by the embodiment of the present invention is configured to perform the page redirection method provided by the first embodiment of the present invention, and has a corresponding function module, and the implementation principle and the technical effect thereof are similar, and details are not described herein again.
  • FIG. 5 it is also a schematic structural diagram of a routing device according to Embodiment 6 of the present invention.
  • the routing device of the present embodiment has the same structure as that of the routing device provided in the fifth embodiment, but the modules have different functions.
  • the modules have different functions. In this embodiment:
  • the receiving control module 11 is further configured to: after the sending control module 13 sends the first access response that the processing module 12 undergoes redirection processing to the terminal device by controlling the sender, so that the terminal device is modified according to the After the subsequent return code sends the second access request, the receiver receives the first message including the first access address and the at least one second access address sent by the terminal device according to the modified return code. Second access request;
  • the sending control module 13 is further configured to send, by the sender, the second received by the receiving control module 11 to a network server corresponding to the first access address and the at least one second access address. Access request
  • the receiving control module 11 is further configured to: receive, by the receiver, a second access response that is sent by the network server and that is corresponding to the second access request, where the second access response includes the first access An access response of the address and an access response corresponding to the at least one second access address; the sending control module 13 is further configured to send the connection to the terminal device by controlling the sender And receiving, by the control module 11, the second access response, so that the terminal device opens the user required access page and the redirected page according to the second access response.
  • the routing device provided by the embodiment of the present invention is configured to perform the page redirection method provided by the second embodiment of the present invention, and has a corresponding function module, and the implementation principle and the technical effect thereof are similar, and details are not described herein again.
  • FIG. 6 is a schematic structural diagram of a terminal device according to Embodiment 7 of the present invention.
  • the terminal device provided in this embodiment specifically includes: a terminal receiving control module 21 and a terminal processing module 22.
  • the terminal receiving control module 21 is configured to receive, according to the first access request sent to the routing device, a first access response that is sent by the routing device by using a redirection process, where the first access request includes a user. a first access address of the required access page, where the first access response includes a return code modified by the routing device and at least one second access address and the first access address of the added redirect page;
  • the terminal processing module 22 is configured to open the required access page and the redirect page of the user based on the first access response that is processed by the routing device redirection.
  • the terminal device provided in this embodiment further includes: a terminal sending control module 23, configured to control the sender to the routing device before the terminal receiving control module 21 receives the first access response sent by the routing device after the redirection process Transmitting the first access request, so that the routing device acquires and stores the first access address in the first access request, so that the routing device sends the corresponding to the first access address
  • the network server sends the first access request.
  • the method has the corresponding function module, and its implementation principle and technical effect are similar, and will not be described here.
  • Example eight Please refer to FIG. 6, which is also a schematic structural diagram of a terminal device according to Embodiment 8 of the present invention.
  • the structure of the terminal device in this embodiment is the same as that of the routing device provided in the seventh embodiment, but the functions of the modules are different.
  • this embodiment :
  • the terminal sending control module 23 is further configured to: before the terminal processing module 22 opens the required access page of the user and the redirecting page, send the second by controlling the terminal sender according to the modified return code.
  • the terminal receiving control module 21 is further configured to receive, by the terminal receiver, a second access response that is returned by the routing device and corresponding to the second access request, where the second access response includes the corresponding An access response of an access address and an access response corresponding to the at least one second access address;
  • the terminal processing module 22 is specifically configured to display, according to the second access response received by the terminal receiving control module 21, the user in the first display window that is opened when the first access request is sent to the routing device. To access the page, open a second window to display the redirect page.
  • the method has the corresponding function module, and its implementation principle and technical effect are similar, and will not be described here.
  • FIG. 7 is a schematic structural diagram of a routing device according to Embodiment 9 of the present invention.
  • the routing device provided in this embodiment specifically includes: a receiver 31, a processor 32, and a transmitter 33.
  • the receiver 31 is configured to receive, according to the first access request sent by the terminal device, a first access response that is sent by the network server and that is corresponding to the first access request, where the first access request includes a required access page of the user.
  • First access address The processor 32 is configured to modify, according to the redirection determination indication, the return code of the first access response received by the receiver 31, and add at least one second access address and location of the redirect page in the first access response. Said first access address;
  • the sender 33 is configured to send, to the terminal device, a first access response that is processed by the processor 32 through redirection, so that the terminal device sends a second access request according to the modified return code, so that the terminal is caused by the terminal.
  • the device opens the required access page and the redirect page of the user according to the second access response returned by the second access request.
  • the receiver 31 is further configured to: before receiving the first access response that is sent by the network server and corresponding to the first access request, the receiver receives the first access request sent by the terminal device.
  • the processor 32 is further configured to: perform redirection processing on the first access request according to the redirection processing rule; and acquire and store the first access address in the first access request according to the redirection determination indication.
  • the redirection processing rule includes: when detecting the version upgrade information notified by the server, setting an access address of the redirect page to an access address of the version upgrade information prompt page; for example, The redirection processing rule further includes: setting, when a new short message is detected, an access address of the redirected page as an access address of the new short message notification prompt page; optionally, the foregoing redirection processing rule It also includes: After performing a redirect, cancel the redirect processing rule. It should be noted that, in this embodiment, the redirection processing rule may include one or more of the rules, which is not limited in this embodiment.
  • the transmitter 33 is further configured to send a first access request to a network server corresponding to the first access address.
  • the routing device provided by the embodiment of the present invention is configured to perform the page redirection method provided by the first embodiment of the present invention, and has a corresponding physical device, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the receiver 31 is further configured to send, by the sender 33, the first access response that the processor 32 undergoes redirection processing, to the terminal device, on the basis of the device structure provided by the foregoing embodiment IX. After the terminal device sends the second access request according to the modified return code, the receiving the terminal device sends the first access address and the at least one second according to the modified return code. a second access request to access the address;
  • the transmitter 33 is further configured to separately send the second access request received by the receiver 31 to a network server corresponding to the first access address and the at least one second access address;
  • the receiver 31 is further configured to receive, by the network server, a second access response that is corresponding to the second access request, where the second access response includes an access response and a corresponding location corresponding to the first access address.
  • the transmitter 33 is further configured to send, to the terminal device, a second access response received by the receiver 31, so that the terminal device opens the required access page and the weight of the user according to the second access response. Directed page.
  • the routing device provided by the embodiment of the present invention is used to perform the page redirection method provided by the second embodiment of the present invention, and has a corresponding physical device.
  • the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of a terminal device according to Embodiment 10 of the present invention.
  • the terminal device provided in this embodiment specifically includes: a terminal receiver 41 and a terminal processor 42.
  • the terminal receiver 41 is configured to receive, according to the first access request sent to the routing device, a first access response that is sent by the routing device by using a redirecting process, where the first access request includes a page that the user needs to access a first access address, where the first access response includes a return code modified by the routing device and at least one second access address of the added redirect page and the first visited address Address
  • the terminal processor 42 opens the required access page and the redirect page of the user based on the first access response processed by the routing device redirection.
  • the terminal device provided in this embodiment further includes: a terminal transmitter 43, configured to send the first access to the routing device before the terminal receiver 41 receives the first access response sent by the routing device after the redirection process Requesting, by the routing device, to acquire and store the first access address in the first access request, so that the routing device sends the first to the network server corresponding to the first access address An access request.
  • a terminal transmitter 43 configured to send the first access to the routing device before the terminal receiver 41 receives the first access response sent by the routing device after the redirection process Requesting, by the routing device, to acquire and store the first access address in the first access request, so that the routing device sends the first to the network server corresponding to the first access address An access request.
  • the terminal transmitter 43 is further configured to: before the terminal processor 42 opens the required access page and the redirect page of the user, according to the modified return The code sends a second access request, where the second access request includes the first access address and the at least one second access address;
  • the terminal receiver 41 is further configured to receive a second access response that is returned by the routing device and that is corresponding to the second access request, where the second access response includes an access response and corresponding to the first access address.
  • the terminal processor 42 is specifically configured to display, according to the second access response received by the terminal receiver 41, the required content in the first display window that is opened when the first access request is sent to the routing device. Visit the page and open a second window to display the redirected page.
  • the method has the corresponding physical device, and its implementation principle and technical effect are similar, and will not be described here.
  • This embodiment provides a page redirection system, and the system may include a routing device and a terminal device.
  • the routing device includes a receiving control module, a processing module, a sending control module, a determining module, and a storage module.
  • a receiving control module a processing module
  • a sending control module a determining module
  • a storage module a storage module.
  • the terminal device includes a terminal receiving control module, a terminal processing module, and a terminal sending control module.
  • a terminal receiving control module refers to the terminal receiving control module 21, the terminal processing module 22, and the terminal sending control module 23 in the terminal device in the foregoing embodiment, and details are not described herein. .
  • the aforementioned program can be stored in a readable storage medium of the terminal device or the routing device.
  • the program when executed, performs the steps including the above-described method embodiments; and the foregoing storage medium includes: a medium that can store a program code, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

本发明实施例提供一种页面重定向方法、路由设备、终端设备及系统。本发明所提供的页面重定向方法,包括:基于终端设备发送的第一访问请求,接收网络服务器反馈的第一访问响应;根据重定向确定指示,修改所述第一访问响应的返回码,并在所述第一访问响应中添加重定向页面的至少一个第二访问地址和所述第一访问地址;向所述终端设备发送经过重定向处理的第一访问响应,以使所述终端设备根据所述修改后的返回码发送第二访问请求,从而使得所述终端设备根据所述第二访问请求返回的第二访问响应打开所述用户所需访问页面和所述重定向页面。本发明实施例中终端设备可以根据得到的页面访问响应,获取用户所需访问页面和路由设备的重定向页面。

Description

页面重定向方法、 路由设备、 终端设备及系统
本申请要求于 2013年 09月 18曰提交中国专利局, 申请号为 CN 201310431768.X, 发明名称为 "页面重定向方法、 路由设备、 终端设备及系统" 的中国专利申请, 其全部内容通过引用结合在本申请中。 技术领域
本发明实施例涉及通信技术, 尤其涉及一种页面重定向方法、 路由设备、 终端设备及系统。 背景技术
随着互联网技术的高速发展, 为了满足家庭或者局域网中多用户终端设备 的需求, 通过路由设备接入网络的用户终端设备越来越多。
路由设备在使用中, 通常需要具备强制门户重定向功能。 例如路由设备的 应用软件需要进行升级时, 则当终端设备访问路由设备的门户页面时, 路由设 备的升级提示会通过浏览器重定向的形式, 对用户浏览器已打开页面的目的地 址或端口 #支目的地址转换 ( Destination Network Address Translation , 简称为 DNAT ), 将用户正在访问的页面重定向到用于该路由设备的升级页面, 从而可 以提示用户需要对路由设备进行升级维护。
现有技术中路由设备通过对用户浏览器的重定向, 来完成对自身配置的升 级时, 将用户需要访问的页面跳转到用于路由设备的升级页面中, 以至于用户 需要访问的页面无法正常打开, 还需要再次打开并输入页面地址才能够访问, 给用户浏览网页带来很多不必要的麻烦。 发明内容
本发明实施例提供一种页面重定向方法、 路由设备、 终端设备及系统, 以 解决用户需要访问的页面无法正常打开的问题。
第一方面, 提供一种页面重定向方法, 包括:
基于终端设备发送的第一访问请求, 接收网络服务器反馈的与所述第一访 问请求对应的第一访问响应, 所述第一访问请求中包含用户所需访问页面的第 一访问地址;
根据重定向确定指示, 修改所述第一访问响应的返回码, 并在所述第一访 问响应中添加重定向页面的至少一个第二访问地址和所述第一访问地址;
向所述终端设备发送经过重定向处理的第一访问响应, 以使所述终端设备 根据所述修改后的返回码发送第二访问请求, 从而使得所述终端设备根据所述 第二访问请求返回的第二访问响应打开所述用户所需访问页面和所述重定向页 面。
在第一方面的第一种可能实现方式中, 所述接收所述网络服务器反馈的与 所述第一访问请求对应的第一访问响应之前, 还包括: 接收终端设备发送的所 述第一访问请求;
根据所述重定向确定指示, 获取并存储所述第一访问请求中的所述第一访 问地址;
向与所述第一访问地址对应的网络服务器发送所述第一访问请求。
根据第一方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所 述根据所述重定向确定指示, 获取并存储所述第一访问请求中包含的所述第一 访问地址之前, 还包括:
根据重定向处理规则, 确定对所述第一访问请求进行重定向处理; 其中, 所述重定向处理规则包括: 在检测到网络服务器通知的版本升级信息时, 将所 述重定向页面的访问地址设置为所述版本升级信息提示页面的访问地址; 或者, 在检测到有新短消息时, 将所述重定向页面的访问地址设置为所述新短消 息通知提示页面的访问地址。
根据第一方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所 述重定向处理规则还包括: 在进行一次重定向之后, 取消所述重定向处理规则。
根据第一方面、 第一方面的第一种到第三种可能的实现方式中任意一种, 在第四种可能的实现方式中, 所述向所述终端设备发送经过重定向处理的第一 访问响应, 以使所述终端设备根据所述修改后的返回码发送第二访问请求之后, 还包括:
接收所述终端设备根据所述修改后的返回码发送的包含所述第一访问地址 和所述至少一个第二访问地址的第二访问请求;
向与所述第一访问地址和所述至少一个第二访问地址对应的网络服务器发 送所述第二访问请求;
接收所述网络服务器反馈的与所述第二访问请求对应的第二访问响应, 所 述第二访问响应包含对应所述第一访问地址的访问响应和对应所述至少一个第 二访问地址的访问响应;
向所述终端设备发送所述第二访问响应, 以使所述终端设备根据所述第二 访问响应打开所述用户所需访问页面和所述重定向页面。
第二方面, 提供一种页面重定向方法, 包括: 基于向路由设备发送的第一访问请求, 接收所述路由设备经过重定向处理 发送的第一访问响应, 所述第一访问请求中包含用户所需访问页面的第一访问 地址, 所述第一访问响应中包含所述路由设备修改的返回码以及添加的重定向 页面的至少一个第二访问地址和所述第一访问地址;
基于经过所述路由设备重定向处理的所述第一访问响应, 打开所述用户所 需访问页面和所述重定向页面。
在第二方面的第一种可能实现方式中, 所述接收所述路由设备经过重定向 处理发送的第一访问响应之前, 还包括:
向路由设备发送所述第一访问请求, 以使所述路由设备获取并存储所述第 一访问请求中的所述第一访问地址, 从而使得所述路由设备向与所述第一访问 地址对应的所述网络服务器发送所述第一访问请求。
根据第二方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所 述基于经过所述路由设备重定向处理的所述第一访问响应, 打开所述用户所需 访问页面和所述重定向页面之前, 还包括:
根据所述修改后的返回码发送第二访问请求, 所述第二访问请求中包含所 述第一访问地址和所述至少一个第二访问地址;
接收所述路由设备返回的与所述第二访问请求对应的第二访问响应, 所述 第二访问响应包含对应所述第一访问地址的访问响应和对应所述至少一个第二 访问地址的访问响应;
所述基于经过所述路由设备重定向处理的所述第一访问响应, 打开所述用 户所需访问页面和所述重定向页面, 包括:
根据所述第二访问响应, 在所述向路由设备发送第一访问请求时已打开的 第一显示窗口中显示所述用户所需访问页面, 打开第二窗口以显示所述重定向 页面。
第三方面, 提供一种路由设备, 包括:
接收控制模块, 用于基于终端设备发送的第一访问请求, 通过控制接收器 接收网络服务器反馈的与所述第一访问请求对应的第一访问响应, 所述第一访 问请求中包含用户所需访问页面的第一访问地址;
处理模块, 用于根据重定向确定指示, 修改所述接收控制模块接收的所述 第一访问响应的返回码, 并在所述第一访问响应中添加重定向页面的至少一个 第二访问地址和所述第一访问地址;
发送控制模块, 用于通过控制发送器向所述终端设备发送所述处理模块经 过重定向处理的第一访问响应, 以使所述终端设备根据所述修改后的返回码发 送第二访问请求, 从而使得所述终端设备根据所述第二访问请求返回的第二访 问响应打开所述用户所需访问页面和所述重定向页面。
在第三方面的第一种可能实现方式中, 所述接收控制模块, 还用于在通过 控制接收器接收所述网络服务器反馈的与所述第一访问请求对应的第一访问响 应之前, 通过控制所述接收器接收终端设备发送的所述第一访问请求;
所述路由设备还包括:
存储模块, 用于根据所述重定向确定指示, 获取并存储所述第一访问请求 中的所述第一访问地址;
所述发送控制模块, 还用于通过控制所述发送器向与所述第一访问地址对 应的网络服务器发送所述第一访问请求。
根据第三方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所 述路由设备还包括: 判断模块, 用于在所述存储模块根据所述重定向确定指示 获取并存储所述第一访问请求中的所述第一访问地址之前, 根据重定向处理规 则, 确定对所述第一访问请求进行重定向处理; 其中, 所述重定向处理规则包 括: 在检测到服务器通知的版本升级信息时, 将所述重定向页面的访问地址设 置为所述版本升级信息提示页面的访问地址; 或者,
在检测到有新短消息时, 将所述重定向页面的访问地址设置为所述新短消 息通知提示页面的访问地址。
根据第三方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所 述判断模块, 还用于在进行一次重定向之后, 取消所述重定向处理规则。
根据第三方面、 第三方面的第一种到第三种可能的实现方式中任意一种, 在第四种可能的实现方式中, 所述接收控制模块, 还用于在所述发送控制模块 通过控制所述发送器向所述终端设备发送所述处理模块经过重定向处理的第一 访问响应, 以使所述终端设备根据所述修改后的返回码发送第二访问请求之后, 通过控制所述接收器接收所述终端设备根据所述修改后的返回码发送的包含所 述第一访问地址和所述至少一个第二访问地址的第二访问请求;
所述发送控制模块, 还用于通过控制所述发送器向与所述第一访问地址和 所述至少一个第二访问地址对应的网络服务器发送所述接收控制模块接收的所 述第二访问请求;
所述接收控制模块, 还用于通过控制所述接收器接收所述网络服务器反馈 的与所述第二访问请求对应的第二访问响应, 所述第二访问响应包含对应所述 第一访问地址的访问响应和对应所述至少一个第二访问地址的访问响应;
所述发送控制模块, 还用于通过控制所述发送器向所述终端设备发送所述 接收控制模块接收的所述第二访问响应, 以使所述终端设备根据所述第二访问 响应打开所述用户所需访问页面和所述重定向页面。
第四方面, 提供一种终端设备, 包括:
终端接收控制模块, 用于基于向路由设备发送的第一访问请求, 通过控制 终端接收器接收所述路由设备经过重定向处理发送的第一访问响应, 所述第一 访问请求中包含用户所需访问页面的第一访问地址, 所述第一访问响应中包含 所述路由设备修改的返回码以及添加的重定向页面的至少一个第二访问地址和 所述第一访问地址;
终端处理模块, 用于基于经过所述路由设备重定向处理的所述第一访问响 应, 打开所述用户所需访问页面和所述重定向页面。
在第四方面的第一种可能实现方式中, 所述终端设备还包括: 终端发送控 制模块, 用于在所述终端接收控制模块接收所述路由设备经过重定向处理发送 的第一访问响应之前, 通过控制终端发送器向路由设备发送所述第一访问请求, 以使所述路由设备获取并存储所述第一访问请求中的所述第一访问地址, 从而 使得所述路由设备向与所述第一访问地址对应的所述网络服务器发送所述第一 访问请求。
根据第四方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所 述终端发送控制模块, 还用于在所述终端处理模块打开所述用户所需访问页面 和所述重定向页面之前, 根据所述修改后的返回码通过控制所述终端发送器发 送第二访问请求, 所述第二访问请求中包含所述第一访问地址和所述至少一个 第二访问地址;
所述终端接收控制模块, 还用于通过控制所述终端接收器接收所述路由设 备返回的与所述第二访问请求对应的第二访问响应, 所述第二访问响应包含对 应所述第一访问地址的访问响应和对应所述至少一个第二访问地址的访问响 应;
所述终端处理模块, 具体用于根据所述终端接收控制模块接收的所述第二 访问响应, 在所述向路由设备发送第一访问请求时已打开的第一显示窗口中显 示所述用户所需访问页面, 打开第二窗口以显示所述重定向页面。
第五方面, 提供一种路由设备, 包括:
接收器, 用于基于终端设备发送的第一访问请求, 接收网络服务器反馈的 与所述第一访问请求对应的第一访问响应, 所述第一访问请求中包含用户所需 访问页面的第一访问地址;
处理器, 用于根据重定向确定指示, 修改所述接收器接收的所述第一访问 响应的返回码, 并在所述第一访问响应中添加重定向页面的至少一个第二访问 地址和所述第一访问地址;
发送器, 用于向所述终端设备发送所述处理器经过重定向处理的第一访问 响应, 以使所述终端设备根据所述修改后的返回码发送第二访问请求, 从而使 得所述终端设备根据所述第二访问请求返回的第二访问响应打开所述用户所需 访问页面和所述重定向页面。
在第五方面的第一种可能实现方式中, 所述接收器, 还用于在接收所述网 络服务器反馈的与所述第一访问请求对应的第一访问响应之前, 接收终端设备 发送的所述第一访问请求;
所述处理器, 还用于根据所述重定向确定指示, 获取并存储所述第一访问 请求中的所述第一访问地址; 所述发送器, 还用于向与所述第一访问地址对应的网络服务器发送所述第 一访问请求。
根据第五方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所 述处理器, 还用于在获取并存储所述第一访问请求中的所述第一访问地址之前, 根据重定向处理规则, 确定对所述第一访问请求进行重定向处理; 其中, 所述 重定向处理规则包括: 在检测到服务器通知的版本升级信息时, 将所述重定向 页面的访问地址设置为所述版本升级信息提示页面的访问地址; 或者,
在检测到有新短消息时, 将所述重定向页面的访问地址设置为所述新短消 息通知提示页面的访问地址。
根据第五方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所 述处理器, 还用于在进行一次重定向之后, 取消所述重定向处理规则。
根据第五方面、 第五方面的第一种到第三种可能的实现方式中任意一种, 在第四种可能的实现方式中, 所述接收器, 还用于在所述发送器向所述终端设 备发送所述处理器经过重定向处理的第一访问响应, 以使所述终端设备根据所 述修改后的返回码发送第二访问请求之后, 接收所述终端设备根据所述修改后 的返回码发送的包含所述第一访问地址和所述至少一个第二访问地址的第二访 问请求;
所述发送器, 还用于向与所述第一访问地址和所述至少一个第二访问地址 对应的网络服务器发送所述接收器接收的所述第二访问请求;
所述接收器, 还用于接收所述网络服务器反馈的与所述第二访问请求对应 的第二访问响应, 所述第二访问响应包含对应所述第一访问地址的访问响应和 对应所述至少一个第二访问地址的访问响应; 所述发送器, 还用于向所述终端设备发送所述接收器接收的所述第二访问 响应, 以使所述终端设备根据所述第二访问响应打开所述用户所需访问页面和 所述重定向页面。
第六方面, 提供一种终端设备, 包括:
终端接收器, 用于基于向路由设备发送的第一访问请求, 通过接收所述路 由设备经过重定向处理发送的第一访问响应, 所述第一访问请求中包含用户所 需访问页面的第一访问地址, 所述第一访问响应中包含所述路由设备修改的返 回码以及添加的重定向页面的至少一个第二访问地址和所述第一访问地址; 终端处理器, 用于基于经过所述路由设备重定向处理的所述第一访问响应, 打开所述用户所需访问页面和所述重定向页面。
在第六方面的第一种可能实现方式中, 还包括: 终端发送器, 用于在所述 终端接收器接收所述路由设备经过重定向处理发送的第一访问响应之前, 向路 由设备发送所述第一访问请求, 以使所述路由设备获取并存储所述第一访问请 求中的所述第一访问地址, 从而使得所述路由设备向与所述第一访问地址对应 的所述网络服务器发送所述第一访问请求。
根据第六方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所 述终端发送器, 还用于在所述终端处理器打开所述用户所需访问页面和所述重 定向页面之前, 根据所述修改后的返回码发送第二访问请求, 所述第二访问请 求中包含所述第一访问地址和所述至少一个第二访问地址;
所述终端接收器, 还用于接收所述路由设备返回的与所述第二访问请求对 应的第二访问响应, 所述第二访问响应包含对应所述第一访问地址的访问响应 和对应所述至少一个第二访问地址的访问响应; 所述终端处理器, 具体用于根据所述终端接收器接收的所述第二访问响应, 在所述向路由设备发送第一访问请求时已打开的第一显示窗口中显示所述用户 所需访问页面, 打开第二窗口以显示所述重定向页面。
第七方面, 提供一种页面重定向系统, 包括:
第三方面、 第三方面的第一种到第四种可能的实现方式中任意所述路由设 备, 和第四方面、 第四方面的第一种和第二种可能的实现方式中任意所述终端 设备。
本发明实施例提供的一种网页重定向方法、 路由设备、 终端设备及系统, 路由设备根据重定向确定指示在接收到与终端设备发送的访问请求对应的访问 响应时, 通过修改访问响应的返回码以及在访问响应中添加路由设备完成相应 配置的重定向页面的至少一个第二访问地址和访问请求中包含的第一访问地 址, 并将经过重定向处理的访问响应返回给终端设备, 从而使得终端设备可以 根据该访问响应打开用户所需访问页面和路由设备的重定向页面, 进而解决现 有技术中路由设备在页面重定向时用户需要重新打开另一个浏览器窗口并输入 访问的页面地址才能重新访问需要访问的页面的问题。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施 例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下面描 述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出 创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例一所提供的一种页面重定向方法的流程图;
图 2为本发明实施例二所提供的一种页面重定向方法的流程图; 图 3为本发明实施例三所提供的一种页面重定向方法的流程图;
图 4为本发明实施例四所提供的一种页面重定向方法的流程图;
图 5为本发明实施例五所提供的一种路由设备的结构示意图;
图 6为本发明实施例七所提供的一种终端设备的结构示意图;
图 7为本发明实施例九所提供的一种路由设备的结构示意图;
图 8为本发明实施例十所提供的一种终端设备的结构示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发明 实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中 的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其 他实施例, 都属于本发明保护的范围。
实施例一
图 1为本发明实施例一所提供的一种页面重定向方法的流程图。 本实施例提 供的方法适用于通过路由设备接入网络的终端设备, 路由设备需要通过对终端 设备的浏览器访问页面进行重定向来提示用于路由设备完成配置请求的情况。 该方法可由路由设备执行, 该设备通常以硬件和软件的方法来实现, 可以集成 在该路由设备的存储器中, 例如集成在处理器芯片中, 供处理器调用执行。 如 图 1所示, 本实施例的方法包括如下步骤:
S110, 基于终端设备发送的第一访问请求, 接收网络服务器反馈的与所述 第一访问请求对应的第一访问响应, 所述第一访问请求中包含用户所需访问页 面的第一访问地址;
用户使用浏览器访问网页时, 通常需要通过超文本传输协议 (Hypertext Transport Protocol, 简称: HTTP ) 向网络服务器发送访问请求, 在使用路由设 备接入的网络中, 该访问请求需要通过路由设备的中转发送, 因此, 本实施例 提供的页面重定向方法, 在 S110之前, 路由设备会首先接收终端设备发送的所 述第一访问请求, 并且该第一访问请求包含用户需要访问页面的第一访问地址, 以使网络服务器根据第一访问请求中的第一访问地址反馈与其对应的第一访问 口向应。
在具体实现中, 路由设备可以根据重定向处理规则, 确定需要对第一访问 请求进行重定向处理; 可以预先在路由设备上进行重定向处理规则的配置处理, 通常可以由路由设备的提供商对其生产的路由设备进行统一配置, 例如, 在路 由设备中加入软件和硬件的模块用以对重定向处理规则进行预置。 举例来说, 该重定向处理规则可以包括: 在检测到服务器通知的版本升级信息时, 将重定 向页面的访问地址设置为版本升级信息提示页面的访问地址。 例如, 该重定向 处理规则用于在路由设备检测到所属型号设备版本有更新时, 可以将用户浏览 器访问的页面重定向到用于该路由设备进行版本更新的页面中。 再举例来说, 该重定向处理规则还可以包括: 在检测到有新短消息时, 将重定向页面的访问 地址设置为新短消息通知提示页面的访问地址。 例如, 在某些型号的路由设备 中可以设置通用的用户识别卡( Subscriber Identity Module, 简称: SIM ), 当检 测到 SIM卡接收新消息时,可以将用户浏览器访问的页面重定向到用于查看路由 设备中 SIM卡信息的页面中。 可选地, 上述重定向处理规则还包括: 在进行一次 重定向之后, 取消重定向处理规则。 需要说明的是, 本实施例中重定向处理规 则可以包含所述规则中的一项或者多项, 本实施例不作限定。
进一步地, 路由设备通常可以根据网络服务器通知的重定向确定指示, 获 取并存储第一访问请求中的第一访问地址; 同时, 可以向与第一访问地址对应 的网络服务器发送第一访问请求; 使得网络服务器根据该第一访问请求中的第 一访问地址反馈与其对应的第一访问响应, 进而终端设备可以根据网络服务器 反馈的与第一访问请求对应的第一访问响应获取用户需要访问的页面。
具体地, 路由设备在接收终端设备发送的第一访问请求后, 存储的该第一 访问请求中包含的用户需要访问页面的第一访问地址, 该第一访问地址包括访 问请求报文中的统一资源定位符( Uniform Resource Locator, 简称: URL )信息 和链接信息; 通常的, 访问请求报文的链接信息和 URL信息是——对应的映射 关系, 可以根据链接信息查找到与其对应的 URL信息, 在具体实现中, URL信 息中包含了用户需要访问页面的网址信息, 即有用值 Value , 链接信息包含与 Value——对应的关键值 Key, 即链接信息与 URL存在唯一对应的映射关系, 因 此, 在路由设备接收到访问响应时, 根据访问响应中包含的与访问请求对应的 URL, 判断接收到的访问响应是否为与已存储的第一访问地址对应的访问响应, 即是否为第一访问请求对应的访问响应。
S120, 根据重定向确定指示, 修改所述第一访问响应的返回码, 并在所述 第一访问响应中添加重定向页面的至少一个第二访问地址和所述第一访问地 址;
路由设备还可以根据网络服务器通知的重定向确定指示, 对终端设备需要 访问的页面进行重定向来完成相应配置, 因此, 会修改第一访问响应的内容, 具体是修改第一访问响应的返回码, 并在该第一访问响应中添加用于路由设备 完成相应配置的重定向页面的至少一个第二访问地址; 与现有技术不同的是, 还在该访问响应中添加路由设备在接收到第一访问请求时记录的第一访问地 址。
S130, 向所述终端设备发送经过重定向处理的第一访问响应, 以使所述终 端设备根据所述修改后的返回码发送第二访问请求, 从而使得所述终端设备根 据所述第二访问请求返回的第二访问响应打开所述用户所需访问页面和所述重 定向页面。
在现有技术中, 因为路由设备在网络服务器反馈的访问响应中仅添加了用 于路由设备完成相应配置的重定向页面的访问地址, 因此, 用户浏览器也只能 根据该访问地址获取重定向页面, 进而浏览器只能打开用于路由设备完成相应 配置的重定向的页面, 为了可以打开用户需要访问的页面, 则需要用户再次打 开浏览器页面并输入需要访问的地址。 本实施例提供的页面重定向方法中, 路 由设备将更改后的第一访问响应发送给终端设备, 与现有技术不同的是, 该更 改后的第一访问响应中包含第一访问地址和至少一个第二访问地址, 用户设备 可以根据第一访问地址获取用户所需访问页面并且根据至少一个第二访问地址 获取重定向页面。
在具体实现时, 用户终端设备接收到被重定向处理的第一访问响应时解析 报文, 在解析报文时终端设备可以识别第一访问响应中被修改的返回码和已添 加的访问地址, 随后根据第一访问响应中修改的返回码自动重新发送第二访问 请求, 该重新发送的第二访问请求中包含已反馈的第一访问响应中添加的第一 访问地址和至少一个第二访问地址, 终端设备可以根据路由设备该第二访问请 求返回的第二访问响应同时打开用户所需访问页面和用于路由设备完成相应配 置的所述重定向页面。
本实施例所提供的页面重定向方法, 路由设备根据重定向确定指示在接收 到与终端设备发送的访问请求对应的访问响应时, 通过修改访问响应的返回码 以及在访问响应中添加路由设备完成相应配置的重定向页面的至少一个第二访 问地址和访问请求中包含的第一访问地址, 并将经过重定向处理的访问响应返 回给终端设备, 从而使得终端设备可以根据该访问响应打开用户所需访问页面 和路由设备的重定向页面, 进而解决现有技术中路由设备在页面重定向时用户 需要重新打开另一个浏览器窗口并输入访问的页面地址才能重新访问需要访问 的页面的问题。
实施例二
图 2为本发明实施例二所提供的一种页面重定向方法的流程图。 如图 2所示, 本实施例的方法可以包括:
S210, 基于终端设备发送的第一访问请求, 接收网络服务器反馈的与所述 第一访问请求对应的第一访问响应, 所述第一访问请求中包含用户所需访问页 面的第一访问地址;
S220, 根据重定向确定指示, 修改所述第一访问响应的返回码, 并在所述 第一访问响应中添加重定向页面的至少一个第二访问地址和所述第一访问地 址;
S230, 向所述终端设备发送经过重定向处理的第一访问响应, 以使所述终 端设备根据所述修改后的返回码发送第二访问请求, 从而使得所述终端设备根 据所述第二访问请求返回的第二访问响应打开所述用户所需访问页面和所述重 定向页面。 具体地, S 210~S230的具体实现参照实施例一中的 S 110~S 130。
S240, 接收所述终端设备根据所述修改后的返回码发送的包含所述第一访 问地址和所述至少一个第二访问地址的第二访问请求;
路由设备接收终端设备根据修改后的返回码重新发送的第二访问请求, 与 发送第一访问请求的方式相同; 不同的是, 根据重定向处理规则中规定的, 在 进行一次重定向之后, 取消重定向处理规则, 即在此次接收到终端设备发送的 第二访问请求后, 重定向处理规则已被取消, 不需要再执行获取并存储该第二 访问请求中包含的页面访问地址的操作。
S250, 向与所述第一访问地址和所述至少一个第二访问地址对应的网络服 务器发送所述第二访问请求;
S260, 接收所述网络服务器反馈的与所述第二访问请求对应的第二访问响 应, 所述第二访问响应包含对应所述第一访问地址的访问响应和对应所述至少 一个第二访问地址的访问响应;
S270, 向所述终端设备发送所述第二访问响应, 以使所述终端设备根据所 述第二访问响应打开所述用户所需访问页面和所述重定向页面。
路由设备根据重新发送的第二访问请求中包含的访问地址, 向对应的网络 服务器发送新的第二访问请求, 在具体实施时, 路由设备可以获取接收到的第 二访问请求中包含的第一访问地址和至少一个第二访问地址, 并可以向与上述 地址对应的网络服务器发送该第二访问请求, 网络服务器仅识别与自身对应的 访问地址, 并才艮据识别出的访问地址反馈访问响应; 从而将第一访问地址对应 的网络服务器重新反馈的访问响应和至少一个第二访问地址对应的网络服务器 重新反馈的访问响应发送给用户终端设备, 进而使得终端设备根据重新反馈的 访问响应可以打开用户需要访问的页面和用于路由设备完成相应配置的重定向 的页面。
需要注意的是, S250中路由设备向网络服务器发送的第二访问请求中包含 第一访问地址和至少一个第二访问地址对应的网络服务器可以是相同的, 也可 以是不同的; 相应地, S260中路由设备接收到访问响应是与上述网络服务器对 应的。
本实施例所提供的页面重定向方法, 路由设备根据重定向确定指示在接收 到与终端设备发送的访问请求对应的访问响应时, 通过修改访问响应的返回码 以及在访问响应中添加路由设备完成相应配置的重定向页面的至少一个第二访 问地址和访问请求中包含的第一访问地址, 并将经过重定向处理的访问响应返 回给终端设备, 从而使得终端设备可以根据该访问响应打开用户所需访问页面 和路由设备的重定向页面, 进而解决现有技术中路由设备在页面重定向时用户 需要重新打开另一个浏览器窗口并输入访问的页面地址才能重新访问需要访问 的页面的问题。 具体地, 终端设备根据路由设备经过重定向处理返回的访问响 应, 重新发送包含第一访问地址和至少一个第二访问地址的第二访问请求, 进 而根据路由设备该第二访问请求返回的第二访问响应打开用户所需访问的页面 和路由设备完成相应配置的重定向页面。
实施例三
图 3为本发明实施例三所提供的一种页面重定向方法的流程图。 本实施例提 供的方法适用于通过路由设备接入网络的终端设备, 路由设备需要通过对终端 设备的浏览器访问页面进行重定向来提示用于路由设备完成配置请求的情况。 该方法可由终端设备执行, 该设备通常以硬件和软件的方法来实现, 可以集成 在该终端设备的存储器中, 例如集成在处理器芯片中, 供处理器调用执行。 如 图 3所示, 本实施例的方法包括如下步骤:
S310, 基于向路由设备发送的第一访问请求, 接收所述路由设备经过重定 向处理发送的第一访问响应, 所述第一访问请求中包含用户所需访问页面的第 一访问地址, 所述第一访问响应中包含所述路由设备修改的返回码以及添加的 重定向页面的至少一个第二访问地址和所述第一访问地址;
用户通过终端设备浏览器访问需要的页面时, 通常通过 HTTP协议向网络服 务器发送访问请求, 在以路由设备接入的网络中, 该终端设备发送的第一访问 请求需要通过路由设备转发给网络服务器, 在该第一访问请求中包含用户需要 访问页面的第一访问地址, 以使路由设备向与该第一访问地址对应的网络服务 器转发该访问请求。
本实施例所提供的页面重定向方法, 在 S310之前还包括: 向路由设备发送 包含上述第一访问地址的第一访问请求, 以使路由设备获取并存储该第一访问 请求中的第一访问地址, 从而使得路由设备向与第一访问地址对应的所述网络 服务器发送所述第一访问请求; 网络服务器在接收到第一访问请求后, 反馈与 该第一访问请求对应的第一访问响应, 在通过路由设备的转发的过程中, 由于 路由设备对该第一访问响应进行了重定向处理, 因此, 终端设备接收到的由路 由设备转发的第一访问响应, 不仅包含用户终端设备需要访问页面的第一访问 地址, 还包含用于路由设备完成相应配置的重定向页面的至少一个第二访问地 址。
S320, 基于经过所述路由设备重定向处理的所述第一访问响应, 打开所述 用户所需访问页面和所述重定向页面。 终端设备接收到的路由设备经过重定向处理的第一访问应响, 与现有技术 不同的是, 该重定向处理后的第一访问响应中包含第一访问地址和至少一个第 二访问地址, 终端设备的用户浏览器可以根据所述第一访问地址打开用户所需 访问页面并且根据至少一个第二访问地址打开重定向页面; 在具体实现时, 用 户终端设备接收到第一访问响应时解析报文, 在解析报文时终端设备可以识别 第一访问响应中被修改的返回码和已添加的访问地址, 随后根据第一访问响应 中修改的返回码自动重新发送第二访问请求, 该重新发送的第二访问请求中包 含已反馈的第一访问响应中添加的第一访问地址和至少一个第二访问地址, 进 而, 终端设备根据路由设备该第二访问请求返回的第二访问响应同时打开用户 需要访问的页面和用于路由设备完成相应配置的重定向的页面。
本实施例所提供的页面重定向方法, 终端设备接收到路由设备经过重定向 处理返回的访问响应, 经过重定向处理的访问响应为路由设备在需要进行页面 重定向时, 修改接收到的访问响应的返回码, 并在该访问响应中添力。完成相应 配置的重定向页面的至少一个第二访问地址和访问请求中包含的第一访问地 址, 因此, 终端设备可以根据接收到的经过重定向处理的访问响应, 打开用户 所需访问页面和路由设备的重定向页面, 进而解决现有技术中路由设备在页面 重定向时用户需要重新打开另一个浏览器窗口并输入访问的页面地址才能重新 访问需要访问的页面的问题。
实施例四
图 4为本发明实施例四所提供的一种页面重定向方法的流程图。 如图 4所示, 本实施例的方法可以包括:
S410, 向路由设备发送包含第一访问地址的第一访问请求, 以使路由设备 获取并存储该第一访问请求中的所述第一访问地址, 从而使得路由设备向与第 一访问地址对应的所述网络服务器发送所述第一访问请求;
S420, 基于向路由设备发送的所述第一访问请求, 接收所述路由设备经过 重定向处理发送的第一访问响应, 所述第一访问响应中包含所述路由设备修改 的返回码以及添加的重定向页面的至少一个第二访问地址和所述第一访问地 址;
S430, 根据所述修改后的返回码发送第二访问请求, 所述第二访问请求中 包含所述第一访问地址和所述至少一个第二访问地址;
终端设备根据修改后的返回码确定接收到的第一访问响应为经过重定向处 理的访问响应, 只有当路由设备需要对终端设备浏览器访问的页面进行重定向 处理时, 才会^ ί'爹改第一访问响应的返回码并且添加路由设备为完成相应配置的 重定向页面的至少一个第二访问地址和上述第一访问地址; 因此, 终端设备可 以根据第一访问响应中修改后的返回码, 确定该第一访问响应为经过路由设备 重定向处理的访问响应, 进而需要根据修改后的返回码和该第一访问响应中已 添加的访问地址重新发送第二访问请求, 该第二访问请求中包含的地址也就是 经过重定向处理的第一访问响应中添加的地址, 即为用户所需访问的第一访问 地址和路由设备完成相应配置的重定向页面的至少一个第二访问地址。
S440, 接收所述路由设备返回的与所述第二访问请求对应的第二访问响应, 所述第二访问响应包含对应所述第一访问地址的访问响应和对应所述至少一个 第二访问地址的访问响应;
路由设备根据终端设备重新发送的第二访问请求, 向与第一访问地址和第 二访问地址对应的网络服务器分别发送新的第二访问请求, 并将第一访问地址 对应的网络服务器重新反馈的访问响应和第二访问地址对应的网络服务器反馈 的访问响应反馈给用户终端设备。
需要注意的是, S440中终端设备接收的路由设备返回的第二访问响应, 可 能是一个网络服务器返回的, 也可能是两个网络服务器返回的, 返回访问响应 的网络服务器是与重新发送的第二访问请求中包含的第一访问地址和至少一个 第二访问地址对应的。
S450, 根据所述第二访问响应, 在向路由设备发送第一访问请求时已打开 的第一显示窗口中显示用户所需访问页面, 打开第二显示窗口以显示重定向页 面。
本实施例所提供的页面重定向方法, 终端设备接收到路由设备经过重定向 处理返回的访问响应, 经过重定向处理的访问响应为路由设备在需要进行页面 重定向时, 修改接收到的访问响应的返回码, 并在该访问响应中添力。完成相应 配置的重定向页面的至少一个第二访问地址和访问请求中包含的第一访问地 址, 因此, 终端设备可以根据接收到的经过重定向处理的访问响应, 打开用户 所需访问页面和路由设备的重定向页面, 进而解决现有技术中路由设备在页面 重定向时用户需要重新打开另一个浏览器窗口并输入访问的页面地址才能重新 访问需要访问的页面的问题。 具体地, 终端设备根据路由设备经过重定向处理 返回的访问响应, 重新发送包含第一访问地址和至少一个第二访问地址的第二 访问请求, 进而根据路由设备该第二访问请求返回的第二访问响应打开用户所 需访问的页面和路由设备完成相应配置的重定向页面。
实施例五
图 5为本发明实施例五所提供的一种路由设备的结构示意图。 如图 5所示, 本实施例提供的路由设备具体包括: 接收控制模块 11、 处理模块 12、 发送控制 模块 13。
其中, 接收控制模块 11, 用于基于终端设备发送的第一访问请求, 通过控 制接收器接收网络服务器反馈的与所述第一访问请求对应的第一访问响应, 所 述第一访问请求中包含用户所需访问页面的第一访问地址;
处理模块 12, 用于根据重定向确定指示, 修改接收控制模块 11接收的所述 第一访问响应的返回码, 并在所述第一访问响应中添加重定向页面的至少一个 第二访问地址和所述第一访问地址;
发送控制模块 13, 用于通过控制所述发送器向所述终端设备发送处理模块 12经过重定向处理的第一访问响应, 以使所述终端设备根据所述修改后的返回 码发送第二访问请求, 从而使得所述终端设备根据所述第二访问请求返回的第 二访问响应打开所述用户所需访问页面和所述重定向页面。
进一步地, 本实施例提供的路由设备, 所述接收控制模块 11, 还用于在通 过控制接收器接收网络服务器反馈的与第一访问请求对应的第一访问响应之 前, 通过控制接收器接收终端设备发送的第一访问请求; 本实施例所提供的路 由设备还包括: 判断模块 14, 用于根据重定向处理规则, 确定对所述第一访问 请求进行重定向处理; 存储模块 15, 用于根据重定向确定指示, 获取并存储第 一访问请求中的第一访问地址。 举例来说, 所述重定向处理规则包括: 在检测 到服务器通知的版本升级信息时, 将所述重定向页面的访问地址设置为所述版 本升级信息提示页面的访问地址; 再举例来说, 所述重定向处理规则还包括: 在检测到有新短消息时, 将所述重定向页面的访问地址设置为所述新短消息通 知提示页面的访问地址; 可选地, 上述重定向处理规则还包括: 在进行一次重 定向之后, 取消所述重定向处理规则。 需要说明的是, 本实施例中重定向处理 规则可以包含所述规则中的一项或者多项, 本实施例不作限定。
更进一步地, 所述发送控制模块 13, 还用于通过控制发送器向与第一访问 地址对应的网络服务器发送第一访问请求。
本发明实施例提供的路由设备用于执行本发明实施例一提供的页面重定向 方法, 具备相应的功能模块, 其实现原理和技术效果类似, 此处不再赘述。
实施例六
请参考图 5, 也为本发明实施例六所提供的一种路由设备的结构示意图。 本 实施的路由设备结构与实施例五所提供的路由设备结构相同, 但是模块功能不 同, 本实施例中:
所述接收控制模块 11, 还用于在发送控制模块 13通过控制所述发送器向所 述终端设备发送处理模块 12经过重定向处理的第一访问响应, 以使所述终端设 备根据所述修改后的返回码发送第二访问请求之后, 通过控制所述接收器接收 所述终端设备根据所述修改后的返回码发送的包含所述第一访问地址和所述至 少一个第二访问地址的第二访问请求;
所述发送控制模块 13, 还用于通过控制所述发送器向与所述第一访问地址 和所述至少一个第二访问地址对应的网络服务器发送所述接收控制模块 11接收 的所述第二访问请求;
所述接收控制模块 11, 还用于通过控制所述接收器接收所述网络服务器反 馈的与所述第二访问请求对应的第二访问响应, 所述第二访问响应包含对应所 述第一访问地址的访问响应和对应所述至少一个第二访问地址的访问响应; 所述发送控制模块 13, 还用于通过控制所述发送器向所述终端设备发送接 收控制模块 11接收的所述第二访问响应, 以使所述终端设备根据所述第二访问 响应打开所述用户所需访问页面和所述重定向页面。
本发明实施例提供的路由设备用于执行本发明实施例二提供的页面重定向 方法, 具备相应的功能模块, 其实现原理和技术效果类似, 此处不再赘述。
实施例七
图 6为本发明实施例七所提供的一种终端设备的结构示意图。 如图 6所示, 本实施例提供的终端设备具体包括: 终端接收控制模块 21和终端处理模块 22。
其中, 终端接收控制模块 21, 用于基于向路由设备发送的第一访问请求, 通过控制接收器接收所述路由设备经过重定向处理发送的第一访问响应, 所述 第一访问请求中包含用户所需访问页面的第一访问地址, 所述第一访问响应中 包含所述路由设备修改的返回码以及添加的重定向页面的至少一个第二访问地 址和所述第一访问地址;
终端处理模块 22, 用于基于经过所述路由设备重定向处理的所述第一访问 响应, 打开所述用户所需访问页面和所述重定向页面。
本实施例所提供的终端设备, 还包括: 终端发送控制模块 23, 用于在终端 接收控制模块 21接收所述路由设备经过重定向处理发送的第一访问响应之前, 通过控制发送器向路由设备发送所述第一访问请求, 以使所述路由设备获取并 存储所述第一访问请求中的所述第一访问地址, 从而使得所述路由设备向与所 述第一访问地址对应的所述网络服务器发送所述第一访问请求。 方法, 具备相应的功能模块, 其实现原理和技术效果类似, 此处不再赘述。
实施例八 请参考图 6, 也为本发明实施例八所提供的一种终端设备的结构示意图。 本 实施的终端设备结构与实施例七所提供的路由设备结构相同, 但是模块功能不 同, 本实施例中:
所述终端发送控制模块 23, 还用于在终端处理模块 22打开所述用户所需访 问页面和所述重定向页面之前, 根据所述修改后的返回码通过控制所述终端发 送器发送第二访问请求, 所述第二访问请求中包含所述第一访问地址和所述至 少一个第二访问地址;
所述终端接收控制模块 21, 还用于通过控制所述终端接收器接收所述路由 设备返回的与所述第二访问请求对应的第二访问响应, 所述第二访问响应包含 对应所述第一访问地址的访问响应和对应所述至少一个第二访问地址的访问响 应;
所述终端处理模块 22, 具体用于根据终端接收控制模块 21接收的所述第二 访问响应, 在所述向路由设备发送第一访问请求时已打开的第一显示窗口中显 示所述用户所需访问页面, 打开第二窗口以显示所述重定向页面。 方法, 具备相应的功能模块, 其实现原理和技术效果类似, 此处不再赘述。
实施例九
图 7为本发明实施例九所提供的一种路由设备的结构示意图。 如图 7所示, 本实施例提供的路由设备具体包括: 接收器 31、 处理器 32和发送器 33。
其中, 接收器 31, 用于基于终端设备发送的第一访问请求, 接收网络服务 器反馈的与所述第一访问请求对应的第一访问响应, 所述第一访问请求中包含 用户所需访问页面的第一访问地址; 处理器 32, 用于根据重定向确定指示, 修改接收器 31接收的所述第一访问 响应的返回码, 并在所述第一访问响应中添加重定向页面的至少一个第二访问 地址和所述第一访问地址;
发送器 33, 用于向所述终端设备发送处理器 32经过重定向处理的第一访问 响应, 以使所述终端设备根据所述修改后的返回码发送第二访问请求, 从而使 得所述终端设备根据所述第二访问请求返回的第二访问响应打开所述用户所需 访问页面和所述重定向页面。
进一步地, 本实施例提供的路由设备, 所述接收器 31, 还用于在接收网络 服务器反馈的与第一访问请求对应的第一访问响应之前, 接收器接收终端设备 发送的第一访问请求; 所述处理器 32, 还用于根据重定向处理规则, 确定对所 述第一访问请求进行重定向处理; 并根据重定向确定指示, 获取并存储第一访 问请求中的第一访问地址。 举例来说, 所述重定向处理规则包括: 在检测到服 务器通知的版本升级信息时, 将所述重定向页面的访问地址设置为所述版本升 级信息提示页面的访问地址; 再举例来说, 所述重定向处理规则还包括: 在检 测到有新短消息时, 将所述重定向页面的访问地址设置为所述新短消息通知提 示页面的访问地址; 可选地, 上述重定向处理规则还包括: 在进行一次重定向 之后, 取消所述重定向处理规则。 需要说明的是, 本实施例中重定向处理规则 可以包含所述规则中的一项或者多项, 本实施例不作限定。
更进一步地, 所述发送器 33, 还用于向与第一访问地址对应的网络服务器 发送第一访问请求。
本发明实施例提供的路由设备用于执行本发明实施例一提供的页面重定向 方法, 具备相应的实体装置, 其实现原理和技术效果类似, 此处不再赘述。 可选地, 在上述实施例九所提供的设备结构的基础上, 所述接收器 31, 还 用于在发送器 33向所述终端设备发送处理器 32经过重定向处理的第一访问响 应, 以使所述终端设备根据所述修改后的返回码发送第二访问请求之后, 接收 所述终端设备根据所述修改后的返回码发送的包含所述第一访问地址和所述至 少一个第二访问地址的第二访问请求;
所述发送器 33, 还用于向与所述第一访问地址和所述至少一个第二访问地 址对应的网络服务器分别发送接收器 31接收的所述第二访问请求;
所述接收器 31, 还用于接收所述网络服务器反馈的与所述第二访问请求对 应的第二访问响应, 所述第二访问响应包含对应所述第一访问地址的访问响应 和对应所述至少一个第二访问地址的访问响应;
所述发送器 33, 还用于向所述终端设备发送接收器 31接收的第二访问响应, 以使所述终端设备根据所述第二访问响应打开所述用户所需访问页面和所述重 定向页面。
本发明实施例提供的路由设备用于执行本发明实施例二提供的页面重定向 方法, 具备相应的实体装置, 其实现原理和技术效果类似, 此处不再赘述。
实施例十
图 8为本发明实施例十所提供的一种终端设备的结构示意图。 如图 8所示, 本实施例提供的终端设备具体包括: 终端接收器 41和终端处理器 42。
其中, 终端接收器 41, 用于基于向路由设备发送的第一访问请求, 接收所 述路由设备经过重定向处理发送的第一访问响应, 所述第一访问请求中包含用 户所需访问页面的第一访问地址, 所述第一访问响应中包含所述路由设备修改 的返回码以及添加的重定向页面的至少一个第二访问地址和所述第一访问地 址;
终端处理器 42, 基于经过所述路由设备重定向处理的所述第一访问响应, 打开所述用户所需访问页面和所述重定向页面。
本实施例所提供的终端设备, 还包括: 终端发送器 43, 用于在终端接收器 41接收所述路由设备经过重定向处理发送的第一访问响应之前, 向路由设备发 送所述第一访问请求, 以使所述路由设备获取并存储所述第一访问请求中的所 述第一访问地址, 从而使得所述路由设备向与所述第一访问地址对应的所述网 络服务器发送所述第一访问请求。 方法, 具备相应的实体装置, 其实现原理和技术效果类似, 此处不再赘述。
进一步地, 本实施例提供的终端设备中, 所述终端发送器 43, 还用于在终 端处理器 42打开所述用户所需访问页面和所述重定向页面之前, 根据所述修改 后的返回码发送第二访问请求, 所述第二访问请求中包含所述第一访问地址和 所述至少一个第二访问地址;
所述终端接收器 41, 还用于接收所述路由设备返回的与所述第二访问请求 对应的第二访问响应, 所述第二访问响应包含对应所述第一访问地址的访问响 应和对应所述至少一个第二访问地址的访问响应;
所述终端处理器 42, 具体用于根据终端接收器 41接收的所述第二访问响应, 在所述向路由设备发送第一访问请求时已打开的第一显示窗口中显示所述用户 所需访问页面, 打开第二窗口以显示所述重定向页面。 方法, 具备相应的实体装置, 其实现原理和技术效果类似, 此处不再赘述。 本实施例提供一种页面重定向系统, 所述系统可以包括路由设备和终端设 备。
路由设备包括接收控制模块、 处理模块、 发送控制模块, 判断模块和存储 模块, 具体内容参见上述实施例的路由设备中的接收控制模块 11、 处理模块 12、 发送控制模块 13、 判断模块 14和存储模块 15, 此处不再赘述。
终端设备包括终端接收控制模块、 终端处理模块和终端发送控制模块, 具 体内容参见上述实施例的终端设备中的终端接收控制模块 21、 终端处理模块 22 和终端发送控制模块 23, 此处不再赘述。
本领域普通技术人员可以理解: 实现上述各方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成。 前述的程序可以存储于终端设备或者路 由设备的可读取存储介质中。 该程序在执行时, 执行包括上述各方法实施例的 步骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程 序代码的介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对其 限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通技术 人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或者 对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并不使相 应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权利要求 书
1、 一种页面重定向方法, 其特征在于, 包括:
基于终端设备发送的第一访问请求, 接收网络服务器反馈的与所述第一访 问请求对应的第一访问响应, 所述第一访问请求中包含用户所需访问页面的第 一访问地址;
根据重定向确定指示, 修改所述第一访问响应的返回码, 并在所述第一访 问响应中添加重定向页面的至少一个第二访问地址和所述第一访问地址;
向所述终端设备发送经过重定向处理的所述第一访问响应, 以使所述终端 设备根据所述修改后的返回码发送第二访问请求, 从而使得所述终端设备根据 所述第二访问请求返回的第二访问响应打开所述用户所需访问页面和所述重定 向页面。
2、 根据权利要求 1所述的方法, 其特征在于, 所述接收所述网络服务器反 馈的与所述第一访问请求对应的第一访问响应之前, 还包括: 接收终端设备发 送的所述第一访问请求;
根据所述重定向确定指示, 获取并存储所述第一访问请求中的所述第一访 问地址;
向与所述第一访问地址对应的网络服务器发送所述第一访问请求。
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据所述重定向确定指 示, 获取并存储所述第一访问请求中包含的所述第一访问地址之前, 还包括: 根据重定向处理规则, 确定对所述第一访问请求进行重定向处理; 其中, 所述重定向处理规则包括: 在检测到网络服务器通知的版本升级信息时, 将所 述重定向页面的访问地址设置为所述版本升级信息提示页面的访问地址; 或者, 在检测到有新短消息时, 将所述重定向页面的访问地址设置为所述新短消 息通知提示页面的访问地址。
4、 根据权利要求 3所述的方法, 其特征在于, 所述重定向处理规则还包括: 在进行一次重定向之后, 取消所述重定向处理规则。
5、 根据权利要求 1-4任一项所述的方法, 其特征在于, 所述向所述终端设备 发送经过重定向处理的第一访问响应, 以使所述终端设备根据所述修改后的返 回码发送第二访问请求之后, 还包括:
接收所述终端设备根据所述修改后的返回码发送的包含所述第一访问地址 和所述至少一个第二访问地址的第二访问请求;
向与所述第一访问地址和所述至少一个第二访问地址对应的网络服务器发 送所述第二访问请求;
接收所述网络服务器反馈的与所述第二访问请求对应的第二访问响应, 所 述第二访问响应包含对应所述第一访问地址的访问响应和对应所述至少一个第 二访问地址的访问响应;
向所述终端设备发送所述第二访问响应, 以使所述终端设备根据所述第二 访问响应打开所述用户所需访问页面和所述重定向页面。
6、 一种页面重定向方法, 其特征在于, 包括:
基于向路由设备发送的第一访问请求, 接收所述路由设备经过重定向处理 发送的第一访问响应, 所述第一访问请求中包含用户所需访问页面的第一访问 地址, 所述第一访问响应中包含所述路由设备修改的返回码以及添加的重定向 页面的至少一个第二访问地址和所述第一访问地址;
基于经过所述路由设备重定向处理的所述第一访问响应, 打开所述用户所 需访问页面和所述重定向页面。
7、 根据权利要求 6所述的方法, 其特征在于, 所述接收所述路由设备经过 重定向处理发送的第一访问响应之前, 还包括:
向路由设备发送所述第一访问请求, 以使所述路由设备获取并存储所述第 一访问请求中的所述第一访问地址, 从而使得所述路由设备向与所述第一访问 地址对应的所述网络服务器发送所述第一访问请求。
8、 根据权利要求 6或 7所述的方法, 其特征在于, 所述基于经过所述路由设 备重定向处理的所述第一访问响应, 打开所述用户所需访问页面和所述重定向 页面之前, 还包括:
根据所述修改后的返回码发送第二访问请求, 所述第二访问请求中包含所 述第一访问地址和所述至少一个第二访问地址;
接收所述路由设备返回的与所述第二访问请求对应的第二访问响应, 所述 第二访问响应包含对应所述第一访问地址的访问响应和对应所述至少一个第二 访问地址的访问响应;
所述基于经过所述路由设备重定向处理的所述第一访问响应, 打开所述用 户所需访问页面和所述重定向页面, 包括:
根据所述第二访问响应, 在所述向路由设备发送第一访问请求时已打开的 第一显示窗口中显示所述用户所需访问页面, 打开第二窗口以显示所述重定向 页面。
9、 一种路由设备, 其特征在于, 包括:
接收控制模块, 用于基于终端设备发送的第一访问请求, 通过控制接收器 接收网络服务器反馈的与所述第一访问请求对应的第一访问响应, 所述第一访 问请求中包含用户所需访问页面的第一访问地址;
处理模块, 用于根据重定向确定指示, 修改所述接收控制模块接收的所述 第一访问响应的返回码, 并在所述第一访问响应中添加重定向页面的至少一个 第二访问地址和所述第一访问地址;
发送控制模块, 用于通过控制发送器向所述终端设备发送所述处理模块经 过重定向处理的第一访问响应, 以使所述终端设备根据所述修改后的返回码发 送第二访问请求, 从而使得所述终端设备根据所述第二访问请求返回的第二访 问响应打开所述用户所需访问页面和所述重定向页面。
10、 根据权利要求 9所述的路由设备, 其特征在于, 所述接收控制模块, 还 用于在通过控制接收器接收所述网络服务器反馈的与所述第一访问请求对应的 第一访问响应之前, 通过控制所述接收器接收终端设备发送的所述第一访问请 求;
所述路由设备还包括:
存储模块, 用于根据所述重定向确定指示, 获取并存储所述第一访问请求 中的所述第一访问地址;
所述发送控制模块, 还用于通过控制所述发送器向与所述第一访问地址对 应的网络服务器发送所述第一访问请求。
11、 根据权利要求 10所述的路由设备, 其特征在于, 还包括: 判断模块, 用于在所述存储模块根据所述重定向确定指示获取并存储所述第一访问请求中 的所述第一访问地址之前, 根据重定向处理规则, 确定对所述第一访问请求进 行重定向处理; 其中, 所述重定向处理规则包括: 在检测到服务器通知的版本 升级信息时, 将所述重定向页面的访问地址设置为所述版本升级信息提示页面 的访问地址; 或者,
在检测到有新短消息时, 将所述重定向页面的访问地址设置为所述新短消 息通知提示页面的访问地址。
12、 根据权利要求 11所述的路由设备, 其特征在于, 所述判断模块, 还用 于在进行一次重定向之后, 取消所述重定向处理规则。
13、 根据权利要求 9~12任一项所述的路由设备, 其特征在于, 所述接收控 制模块, 还用于在所述发送控制模块通过控制所述发送器向所述终端设备发送 所述处理模块经过重定向处理的第一访问响应, 以使所述终端设备根据所述修 改后的返回码发送第二访问请求之后, 通过控制所述接收器接收所述终端设备 根据所述修改后的返回码发送的包含所述第一访问地址和所述至少一个第二访 问地址的第二访问请求;
所述发送控制模块, 还用于通过控制所述发送器向与所述第一访问地址和 所述至少一个第二访问地址对应的网络服务器发送所述接收控制模块接收的所 述第二访问请求;
所述接收控制模块, 还用于通过控制所述接收器接收所述网络服务器反馈 的与所述第二访问请求对应的第二访问响应, 所述第二访问响应包含对应所述 第一访问地址的访问响应和对应所述至少一个第二访问地址的访问响应;
所述发送控制模块, 还用于通过控制所述发送器向所述终端设备发送所述 接收控制模块接收的所述第二访问响应, 以使所述终端设备根据所述第二访问 响应打开所述用户所需访问页面和所述重定向页面。
14、 一种终端设备, 其特征在于, 包括:
终端接收控制模块, 用于基于向路由设备发送的第一访问请求, 通过控制 终端接收器接收所述路由设备经过重定向处理发送的第一访问响应, 所述第一 访问请求中包含用户所需访问页面的第一访问地址, 所述第一访问响应中包含 所述路由设备修改的返回码以及添加的重定向页面的至少一个第二访问地址和 所述第一访问地址;
终端处理模块, 用于基于经过所述路由设备重定向处理的所述第一访问响 应, 打开所述用户所需访问页面和所述重定向页面。
15、 根据权利要求 14所述的终端设备, 其特征在于, 还包括: 终端发送控 制模块, 用于在所述终端接收控制模块接收所述路由设备经过重定向处理发送 的第一访问响应之前, 通过控制终端发送器向路由设备发送所述第一访问请求, 以使所述路由设备获取并存储所述第一访问请求中的所述第一访问地址, 从而 使得所述路由设备向与所述第一访问地址对应的所述网络服务器发送所述第一 访问请求。
16、 根据权利要求 14或 15所述的终端设备, 其特征在于, 所述终端发送控 制模块, 还用于在所述终端处理模块打开所述用户所需访问页面和所述重定向 页面之前, 根据所述修改后的返回码通过控制所述终端发送器发送第二访问请 求, 所述第二访问请求中包含所述第一访问地址和所述至少一个第二访问地址; 所述终端接收控制模块, 还用于通过控制所述终端接收器接收所述路由设 备返回的与所述第二访问请求对应的第二访问响应, 所述第二访问响应包含对 应所述第一访问地址的访问响应和对应所述至少一个第二访问地址的访问响 应;
所述终端处理模块, 具体用于根据所述终端接收控制模块接收的所述第二 访问响应, 在所述向路由设备发送第一访问请求时已打开的第一显示窗口中显 示所述用户所需访问页面, 打开第二窗口以显示所述重定向页面。
17、 一种页面重定向系统, 其特征在于, 包括: 所述权利要求 9~13任一项 所述路由设备和所述权利要求 14~16任一项的所述终端设备。
PCT/CN2014/085777 2013-09-18 2014-09-02 页面重定向方法、路由设备、终端设备及系统 WO2015039559A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2016528340A JP6256896B2 (ja) 2013-09-18 2014-09-02 ページ・リダイレクト方法、ルーティング装置、端末装置およびシステム
EP14845278.2A EP3002927B1 (en) 2013-09-18 2014-09-02 Page redirection method, routing device, terminal device and system
US14/902,489 US10250714B2 (en) 2013-09-18 2014-09-02 Page redirection method, routing device, terminal device and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310431768.X 2013-09-18
CN201310431768.XA CN104468363B (zh) 2013-09-18 2013-09-18 页面重定向方法、路由设备、终端设备及系统

Publications (1)

Publication Number Publication Date
WO2015039559A1 true WO2015039559A1 (zh) 2015-03-26

Family

ID=52688220

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/085777 WO2015039559A1 (zh) 2013-09-18 2014-09-02 页面重定向方法、路由设备、终端设备及系统

Country Status (5)

Country Link
US (1) US10250714B2 (zh)
EP (1) EP3002927B1 (zh)
JP (1) JP6256896B2 (zh)
CN (1) CN104468363B (zh)
WO (1) WO2015039559A1 (zh)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815276B (zh) 2015-11-27 2020-06-16 阿里巴巴集团控股有限公司 页面跳转方法及装置
CN105763461B (zh) * 2016-04-26 2019-11-22 深圳市共进电子股份有限公司 路由器升级方法和系统
CN107454119A (zh) * 2016-05-30 2017-12-08 中国移动通信集团上海有限公司 一种信息推送方法及装置
CN108021564B (zh) * 2016-10-31 2021-11-26 阿里巴巴集团控股有限公司 一种页面重定向的方法和设备
US10129723B2 (en) * 2017-02-16 2018-11-13 Motorola Solutions, Inc. Providing application store content from multiple incident area networks
US11677822B2 (en) * 2017-10-03 2023-06-13 Servicenow, Inc. Portal management
CN108600377B (zh) * 2018-04-28 2021-04-27 武汉斗鱼网络科技有限公司 一种文件下载的暂停方法、装置、终端和存储介质
CN108600378B (zh) * 2018-04-28 2021-05-28 武汉斗鱼网络科技有限公司 一种文件下载方法、装置、终端和存储介质
CN108933792A (zh) * 2018-07-10 2018-12-04 北京小米移动软件有限公司 网络访问控制方法及设备
CN109067914B (zh) * 2018-09-20 2019-12-13 星环信息科技(上海)有限公司 Web服务的代理方法、装置、设备及存储介质
CN110312245A (zh) * 2019-07-26 2019-10-08 天津泰岳小漫科技有限公司 一种跨国漫游终端的业务监控方法及装置
CN110750741B (zh) * 2019-10-18 2022-12-13 深圳市比量科技传媒有限公司 一种网页链接跳转处理方法、计算机装置及存储介质
CN114257390B (zh) * 2020-09-22 2023-05-09 华为技术有限公司 认证方法、网络设备、认证服务器、用户设备及存储介质
CN112579933B (zh) * 2020-12-24 2023-12-08 中国农业银行股份有限公司 一种信息处理方法及装置
CN116542663A (zh) * 2021-06-23 2023-08-04 支付宝(中国)网络技术有限公司 一种聚合码的支付页面的访问方法、装置、设备及介质
KR20230110023A (ko) * 2022-01-14 2023-07-21 라인플러스 주식회사 소셜 플랫폼의 랜딩 페이지를 동적으로 제공하는 방법, 컴퓨터 장치, 및 컴퓨터 프로그램
CN114726917B (zh) * 2022-05-12 2022-09-20 北京搜狐新动力信息技术有限公司 一种重定向处理方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538706A (zh) * 2003-10-23 2004-10-20 港湾网络有限公司 一种用于web认证的http重定向方法
US6992983B1 (en) * 2000-05-05 2006-01-31 Macromedia, Inc. Bandwidth detection in a heterogeneous network with parallel and proxy modes
CN101217568A (zh) * 2008-01-15 2008-07-09 杭州华三通信技术有限公司 一种页面的推送方法、系统和装置
CN101971597A (zh) * 2008-03-13 2011-02-09 思科技术公司 用于利用应用层重定向将内容路由到客户端的服务器选择

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002019183A2 (en) * 2000-08-31 2002-03-07 International Business Machines Corporation Method and system to deliver internet web page advertising via http response codes in 3xx range
CN1145111C (zh) * 2002-09-23 2004-04-07 华为技术有限公司 向网络用户推送定制页面的方法
US7533144B2 (en) 2004-05-14 2009-05-12 Hisham Kassab Method of providing a web page with additional content inserted in an intermediate network entity (INE) platform
US20070180147A1 (en) * 2006-02-01 2007-08-02 Connect It, Llc System for insertion of advertising content in user-requested internet web pages
JP2009031852A (ja) * 2007-07-24 2009-02-12 Yamaha Corp 中継装置、中継方法およびプログラム
US20100037138A1 (en) * 2008-08-11 2010-02-11 Live Face On Web, LLC Client-Configurable Video Delivery Platform
CN101741769B (zh) * 2008-11-25 2012-12-12 华为终端有限公司 一种网关和网页重定向的方法
CN101854375A (zh) * 2009-03-31 2010-10-06 华为软件技术有限公司 重定向方法及装置
US9009330B2 (en) * 2010-04-01 2015-04-14 Cloudflare, Inc. Internet-based proxy service to limit internet visitor connection speed
JP5237353B2 (ja) * 2010-12-09 2013-07-17 楽天株式会社 検索装置、検索システム、検索方法、検索プログラム、及び検索プログラムを記憶するコンピュータ読取可能な記録媒体
JP5660992B2 (ja) * 2011-08-01 2015-01-28 Kddi株式会社 他社契約の端末を接続可能とする無線ネットワークアクセス方法、中継サーバ及びプログラム
US8769626B2 (en) * 2011-11-29 2014-07-01 Cisco Technology, Inc. Web authentication support for proxy mobile IP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6992983B1 (en) * 2000-05-05 2006-01-31 Macromedia, Inc. Bandwidth detection in a heterogeneous network with parallel and proxy modes
CN1538706A (zh) * 2003-10-23 2004-10-20 港湾网络有限公司 一种用于web认证的http重定向方法
CN101217568A (zh) * 2008-01-15 2008-07-09 杭州华三通信技术有限公司 一种页面的推送方法、系统和装置
CN101971597A (zh) * 2008-03-13 2011-02-09 思科技术公司 用于利用应用层重定向将内容路由到客户端的服务器选择

Also Published As

Publication number Publication date
CN104468363B (zh) 2018-12-07
EP3002927B1 (en) 2018-11-28
EP3002927A4 (en) 2016-08-24
EP3002927A1 (en) 2016-04-06
CN104468363A (zh) 2015-03-25
JP2016525257A (ja) 2016-08-22
JP6256896B2 (ja) 2018-01-10
US20160182681A1 (en) 2016-06-23
US10250714B2 (en) 2019-04-02

Similar Documents

Publication Publication Date Title
WO2015039559A1 (zh) 页面重定向方法、路由设备、终端设备及系统
US20210227367A1 (en) Cross-resource subscription for m2m service layer
JP5739023B2 (ja) 割り当てられたネットワークアドレスを有するデバイスにアクセスするウェブプロキシサーバを使用したシステムおよび方法
JP6054484B2 (ja) 割り当てられたネットワークアドレスを有するデバイスにアクセスするクライアントローカルプロキシサーバを使用したシステムおよび方法
JP5847853B2 (ja) 割り当てられたネットワークアドレスを有するデバイスにアクセスするためのシステムおよび方法
KR101850802B1 (ko) 향상된 발견을 위한 시스템들 및 방법들
EP2930911B1 (en) Method and apparatus for controlling sending of heartbeat signal
JP2008538883A (ja) リソースアドレスリクエスト管理方法及び関連するゲートウェイ装置
WO2014044103A1 (zh) 离线缓存方法及装置
WO2016029650A1 (zh) 基于路由器的联网控制方法及装置
CN103064979A (zh) 一种路由器处理网页数据的方法以及路由器
US20160028837A1 (en) Enabling Mobile Applications to Acquire a MAC Address for Obtaining Location Information
WO2017177692A1 (zh) 一种基于dns机制的无线接入方法及无线接入设备
JP6074550B2 (ja) ウェブページプッシュ方法及び装置、並びに端末
US20130268662A1 (en) Hypertext transfer protocol http stream association method and device
WO2016180137A1 (zh) 一种消息处理方法和装置
WO2016095521A1 (zh) 一种域名系统dns重定向的方法、装置和系统
EP3320650A1 (en) Service layer anycast and somecast
WO2018132557A1 (en) Dynamic protocol switching
KR20060131195A (ko) 왑 게이트웨이에서 이동통신 단말기의 재전송 요청에 대한응답 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14845278

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2014845278

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 14902489

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2016528340

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE