IP Library Granted Patent US 11,647,009
Granted Patent B2
US 11,647,009 · App. 16/003,046 · Granted May 9, 2023

Access request conversion method and apparatus

Inventors: Xin Liu (Hangzhou, CN); Zhaowei He (Hangzhou, CN); Tingliang Chen (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
H04L63/08H04L41/5025H04L63/0853H04L63/0876H04L67/01H04L67/02H04L67/146H04L67/565H04L67/60
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,647,009
App. No.
16/003,046
Granted
May 9, 2023
Kind
B2
Abstract

Embodiments of the present invention provide an index establishment method and device. The method can include receiving an access request sent by the client, the access request including a uniform resource locator (URL) and parameter information; determining a target service type of the access request according to the URL and the parameter information; converting the access request according to the target service type; and sending the converted access request to a server corresponding to the target service type.

Claims (67)

1. A method for converting access requests, the method performed by an apparatus communicatively coupled to a client and one or more servers and comprising:

receiving an access request sent by the client, the access request including a uniform resource locator (URL) and parameter information;

determining based on the URL whether a target service protocol type corresponding to the URL is one of a plurality of target service protocol types that are supported by the one or more servers;

determining the target service protocol type according to the URL and the parameter information includes:

performing authentication on the access request, comprising:

sending the access request to a token center;

obtaining token information from the access request by the token center;

matching authentication parameter information with the obtained token information; and

the authentication on the access request is successful in response to the authentication parameter information matching the token information;

determining the target service protocol type of the access request according to the URL and the parameter information when the authentication is successful;

converting the access request according to the target service protocol type, including:

converting the access request to a universal intermediate data structure; and

converting the universal intermediate data structure to the target service protocol type;

querying, according to the target service protocol type, a server configuration that corresponds to the target service protocol type and is recorded in a failover component; and

sending the converted access request to a server of the one or more servers corresponding to the target service protocol type according to the queried server configuration.

2. The method according to claim 1 , further comprising:

receiving result information returned by the server according to the converted access request.

3. The method according to claim 2 , further comprising:

processing the result information; and

sending the processed result information to the client for performing an operation according to the processed result information.

4. The method according to claim 3 , wherein the processing of the result information comprises at least one of data modification, compression, and masking.

5. The method according to claim 1 , wherein before sending the converted access request to the server corresponding to the target service protocol type, the method further comprises:

determining the server based on the target service protocol type, wherein the server is recorded in a failover component.

6. The method according to claim 1 , further comprising:

recording the server configuration into the failover component; and

indicating, by the failover component, to distribute the access request to the one or more servers.

7. The method according to claim 1 , wherein obtaining token information from the access request includes performing calculations on information in the access request.

8. An apparatus communicatively coupled to a client and one or more servers, comprising:

a memory storing a set of instructions; and

one or more processors configured to execute the set of instruction to cause the apparatus to perform:

receiving an access request sent by the client, the access request including a uniform resource locator (URL) and parameter information;

determining based on the URL whether a target service protocol type corresponding to the URL is one of a plurality of target service protocol types that are supported by the one or more servers;

determining the target service protocol type according to the URL and the parameter information includes:

performing authentication on the access request, comprising:

sending the access request to a token center;

obtaining token information from the access request by the token center;

matching authentication parameter information with the obtained token information; and

the authentication on the access request is successful in response to the authentication parameter information matching the token information;

determining the target service protocol type of the access request according to the URL and the parameter information when the authentication is successful;

converting the access request according to the target service protocol type, including:

converting the access request to a universal intermediate data structure; and

converting the universal intermediate data structure to the target service protocol type;

querying, according to the target service protocol type, a server configuration that corresponds to the target service protocol type and is recorded in a failover component; and

sending the converted access request to a server of the one or more servers corresponding to the target service type according to the queried server configuration.

9. The apparatus according to claim 8 , wherein

result information returned by the server according to the converted access request is further received.

10. The apparatus according to claim 9 , wherein the one or more processors are configured to execute the set of instructions to cause the apparatus to further perform:

processing the result information; and

sending the processed result information to the client for performing an operation according to the processed result information.

11. The apparatus according to claim 10 , wherein the processing of the result information comprises at least one of data modification, compression, and masking.

12. The apparatus according to claim 8 , wherein before sending the converted access request to the server corresponding to the target service protocol type, the one or more processors are configured to execute the set of instructions to cause the apparatus to further perform:

determining the server based on the target service protocol type, wherein the server is recorded in a failover component.

13. A non-transitory computer readable medium that stores a set of instructions that is executable by at least one processor of an apparatus to cause the apparatus to perform an access request conversion method, wherein the apparatus is communicatively coupled to a client and one or more servers, the method comprising:

receiving an access request sent by the client, the access request including a uniform resource locator (URL) and parameter information;

determining based on the URL whether a target service protocol type corresponding to the URL is one of a plurality of target service protocol types that are supported by the one or more servers;

determining the target service protocol type according to the URL and the parameter information includes:

performing authentication on the access request, comprising:

sending the access request to a token center;

obtaining token information from the access request by the token center;

matching authentication parameter information with the obtained token information; and

the authentication on the access request is successful in response to the authentication parameter information matching the token information;

determining the target service protocol type of the access request according to the URL and the parameter information when the authentication is successful;

converting the access request according to the target service protocol type, including:

converting the access request to a universal intermediate data structure; and

converting the universal intermediate data structure to the target service protocol type;

querying, according to the target service protocol type, a server configuration that corresponds to the target service protocol type and is recorded in a failover component;

sending the converted access request to a server of the one or more servers corresponding to the target service protocol type according to the queried server configuration.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 21, 2026
From: ALIBABA GROUP HOLDING LIMITED
To: CLOUD INTELLIGENCE ASSETS HOLDING (SINGAPORE) PRIVATE LIMITED
Reel/Frame 075478/0225 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 3, 2020
From: LIU, XIN; HE, ZHAOWEI; CHEN, TINGLIANG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 054539/0726 →
Priority Claims (1)
CN 201510896122.8 · Dec 8, 2015 · national
Continuity (2)
Continuation PCTCN2016107408 · Nov 28, 2016
Related Publication 20180288187A1 · Oct 4, 2018