×

Method and device for processing continuous redirection

  • US 10,673,972 B2
  • Filed: 08/11/2015
  • Issued: 06/02/2020
  • Est. Priority Date: 08/22/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method for processing continuous redirection, comprising:

  • receiving a service request from a client, wherein the service request requires a redirection process comprising one or more redirections leading to a destination address;

    counting a number of redirections that have been performed in response to the service request, wherein the counting comprises;

    storing, in a memory, a correspondence relationship between a service ID corresponding to the service request and the number of redirections, wherein an initial value of the number of redirections is 0; and

    for each redirection, adding 1 to the number of redirections corresponding to the service ID in the memory;

    obtaining a pre-set threshold value associated with the service ID, wherein the obtaining comprises;

    if error processing occurs when the number of redirections stored in the memory is smaller than the pre-set threshold value, adjusting the pre-set threshold value to the number of redirections corresponding to the service ID when the error processing occurs;

    determining that the counted number of redirections is equal to or greater than the pre-set threshold value;

    interrupting, based on the determining, the redirection process by sending an intermediate page to the client;

    when the redirection process is interrupted, resetting the number of redirections corresponding to the service ID in the memory; and

    resuming the redirection process by performing one or more remaining redirections, wherein the resuming comprises refreshing the intermediate page.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×