IP Library Granted Patent US 11,165,885
Granted Patent B2
US 11,165,885 · App. 16/140,825 · Granted Nov 2, 2021

Routing method and device

Inventors: Dongbai Guo (Hangzhou, CN); Yanchao Li (Hangzhou, CN); Yu Chen (Hangzhou, CN); Zhi Sang (Hangzhou, CN); Tingming Zou (Hangzhou, CN); Kai Wen (Hangzhou, CN); Qianqian Wu (Hangzhou, CN); Zhiwei Zhou (Hangzhou, CN)
Assignee: ALIBABA GROUP HOLDING LIMITED
H04L67/327H04L45/308H04L67/02H04L67/142H04L67/22H04L67/306
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,165,885
App. No.
16/140,825
Granted
Nov 2, 2021
Kind
B2
Abstract

Embodiments of the present disclosure provide a routing method and device. The method includes: receiving an access request from a user, wherein the access request points to a page, obtaining user attribute information of the user based on the access request, determining, based on at least a part of the user attribute information and according to a preset rule, a server cluster, wherein the server cluster is configured to provide a service on the page for the user, and routing the access request to the server cluster.

Claims (51)

1. A routing method, wherein the method comprises:

receiving an access request from a user, wherein the access request points to a page;

obtaining a user identifier of the user based on the access request;

obtaining user attribute information of the user and a preset rule based on the access request and the user identifier;

obtaining a weight of each user attribute of the user attribute information;

performing a weight calculation based on at least one attribute value in the user attribute information and at least one weight corresponding to the at least one attribute value to obtain a weight calculation result;

determining, based on the weight calculation result and according to the preset rule, a server cluster, wherein the server cluster is configured to provide a differentiated user service on the page for the user, wherein the differentiated user service comprises one or more of the following for different users: different speeds and different stabilities;

determining whether the access request to the server cluster is a stateless request or stateful request; and

routing the access request to the server cluster based on the differentiated user service and according to the determination whether the access request to the server cluster is a stateless request or stateful request, by:

routing the access request to the server cluster through redirection using an HTTP status 302 or 301 when the determined access request is a stateless request; and

routing the access request to the server cluster through redirection using an HTTP status 308 or 307 when the determined access request is a stateful request, the routing comprising carrying data submitted in a form by the user so that functions for the user are not affected.

2. The method according to claim 1 , wherein the obtaining a user identifier of the user comprises:

obtaining the user identifier from an HTTP uniform access layer.

3. The method according to claim 1 , wherein the obtaining a user identifier of the user comprises:

obtaining the user identifier of the user from login information of the user.

4. The method according to claim 1 , wherein the user attribute information comprises at least one of the following:

a level attribute of the user, a national attribute of the user, a country attribute of the user, a geographical location attribute of the user, and historical behavior data of the user.

5. The method according to claim 1 , wherein the determining, based on the calculation result and according to a preset rule, a server cluster comprises:

querying a preset correspondence table of a user attribute and the server cluster based on the user attribute information; and

determining the server cluster based on a query result and the calculation result.

6. The method according to claim 1 , wherein the differentiated user service is determined based on a level attribute of the user, wherein the level attribute of the user comprises at least one of a high level, an intermediary level, a basic level, a registered user, an unregistered user, a paying user, or a non-paying user.

7. The method according to claim 1 , wherein the server cluster is located in a country and/or a region designated by a country of the user.

8. A routing device, wherein the device comprises:

one or more processors; and

a memory storing instructions that, when executed by the one or more processors, cause the system to perform:

receiving an access request from a user, wherein the access request points to a page;

obtaining a user identifier of the user based on the access request;

obtaining user attribute information of the user and a preset rule based on the access request and the user identifier;

obtaining a weight of each user attribute of the user attribute information;

performing a weight calculation based on at least one attribute value in the user attribute information and at least one weight corresponding to the at least one attribute value to obtain a weight calculation result;

determining, based on the weight calculation result and according to the preset rule, a server cluster, wherein the server cluster is configured to provide a differentiated user service on the page for the user, wherein the differentiated user service comprises one or more of the following for different users: different speeds and different stabilities;

determining whether the access request to the server cluster is a stateless request or stateful request; and

routing the access request to the server cluster based on the differentiated user service and according to the determination whether the access request to the server cluster is a stateless request or stateful request, by:

routing the access request to the server cluster through redirection using an HTTP status 302 or 301 when the determined access request is a stateless request; and

routing the access request to the server cluster through redirection using an HTTP status 308 or 307 when the determined access request is a stateful request, the routing comprising carrying data submitted in a form by the user so that functions for the user are not affected.

9. The routing device according to claim 8 , wherein the determining, based on the calculation result and according to a preset rule, a server cluster comprises:

querying a preset correspondence table of a user attribute and the server cluster based on the user attribute information; and

determining the server cluster based on a query result and the calculation result.

10. A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform a routing method, the method comprising:

receiving an access request from a user, wherein the access request points to a page;

obtaining a user identifier of the user based on the access request;

obtaining user attribute information of the user and a preset rule based on the access request and the user identifier;

obtaining a weight of each user attribute of the user attribute information;

performing a weight calculation based on at least one attribute value in the user attribute information and at least one weight corresponding to the at least one attribute value to obtain a weight calculation result;

determining, based on the weight calculation result and according to the preset rule, a server cluster, wherein the server cluster is configured to provide a differentiated user service on the page for the user, wherein the differentiated user service comprises one or more of the following for different users: different speeds and different stabilities;

determining whether the access request to the server cluster is a stateless request or stateful request; and

routing the access request to the server cluster based on the differentiated user service and according to the determination whether the access request to the server cluster is a stateless request or stateful request, by:

routing the access request to the server cluster through redirection using an HTTP status 302 or 301 when the determined access request is a stateless request; and

routing the access request to the server cluster through redirection using an HTTP status 308 or 307 when the determined access request is a stateful request, the routing comprising carrying data submitted in a form by the user so that functions for the user are not affected.

11. The non-transitory computer-readable storage medium according to claim 10 , wherein:

the differentiated user service is determined based on a level attribute of the user, wherein the level attribute of the user comprises at least one of a high level, an intermediary level, a basic level, a registered user, an unregistered user, a paying user, or a non-paying user.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 18, 2024
From: ALIBABA GROUP HOLDING LIMITED
To: ALIBABA SINGAPORE HOLDING PRIVATE LIMITED
Reel/Frame 067156/0255 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 13, 2024
From: ALIBABA GROUP HOLDING LIMITED
To: ALIBABA SINGAPORE HOLDING PRIVATE LIMITED
Reel/Frame 070522/0847 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 13, 2020
From: GUO, DONGBAI; LI, YANCHAO; SANG, ZHI; WEN, KAI; WU, QIANQIAN; ZHOU, ZHIWEI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 053194/0239 →
Priority Claims (1)
CN 201610197316.3 · Mar 31, 2016 · national
Continuity (2)
Continuation PCTCN2017078046 · Mar 24, 2017
Related Publication 20190089812A1 · Mar 21, 2019