IP Library Granted Patent US 10,904,316
Granted Patent B2
US 10,904,316 · App. 16/416,759 · Granted Jan 26, 2021

Data processing method and apparatus in service-oriented architecture system, and the service-oriented architecture system

Inventor: Xikui Zhang (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
H04L67/02H04L69/04
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 10,904,316
App. No.
16/416,759
Granted
Jan 26, 2021
Kind
B2
Abstract

Data processing method and apparatus in a Service-Oriented architecture (SOA) system are disclosed. The method replaces a target parameter having a larger data length included in an original HTTP request with an intermediate parameter having a smaller data length. A data length of a HTTP request that is converted from an original HTTP request is reduced as compared to a data length of the original HTTP request, thus reducing an amount of data that is transmitted, i.e., sent or received, by a target component, which accordingly reduces an amount of data transmitted in the SOA system and decreases a network overhead of the SOA system.

Claims (61)

1. A method implemented by one or more computing devices, the method comprising:

obtaining a converted Hypertext Transfer Protocol (HTTP) request that is to be processed by a target component, the converted HTTP request associated with an original HTTP request and including M processing parameters, M being an integer greater than or equal to one;

identifying N intermediate parameters based on contents of the M processing parameters, N being an integer greater than or equal to one and less than or equal to M, the identifying the N intermediate parameters based on the contents of the M processing parameters comprising:

defining a special identifier;

determining that a parameter name of a processing parameter of the M processing parameters does not include the special identifier; and

ignoring the processing parameter of the M processing parameters;

obtaining a respective target parameter corresponding to a respective intermediate parameter from the N intermediate parameters, a data length of the respective intermediate parameter being less than a data length of the respective target parameter; and

replacing the respective intermediate parameter from the N intermediate parameters with the respective target parameter corresponding to the respective intermediate parameter to restore the original HTTP request.

2. The method of claim 1 , wherein the identifying the N intermediate parameters based on the contents of the M processing parameters further comprises:

determining that a parameter name of another processing parameter of the M processing parameters includes the defined special; and

identifying the another processing parameter of the M processing parameters as one of the N intermediate parameters.

3. The method of claim 1 , wherein the obtaining the respective target parameter corresponding to the respective intermediate parameter from the N intermediate parameters comprises:

searching a stored data based on a parameter value of the respective intermediate parameter; and

acquiring a corresponding target parameter.

4. The method of claim 1 , wherein the replacing the respective intermediate parameter from the N intermediate parameters with the respective target parameter corresponding to the respective intermediate parameter to restore the original HTTP request includes:

replacing the intermediate parameters included in the converted HTTP request; and

restoring the original HTTP request having N target parameters.

5. The method of claim 1 , further comprising processing the original HTTP request by the target component.

6. The method of claim 5 , wherein the target component is a last component on an invocation path corresponding to the original HTTP request in a service-oriented architecture.

7. The method of claim 1 , wherein the respective target parameter includes eXtensible Markup Language (XML) formatted data.

8. The method of claim 1 , wherein the respective target parameter includes JavaScript Object Notation (JSON) formatted data.

9. The method of claim 1 , wherein the respective target parameter includes Protocol Buffer (PB) formatted data or simple Key-Value formatted data.

10. One or more memory storing executable instructions that, when executed by one or more processors, cause the one or more processors to perform acts comprising:

obtaining a converted Hypertext Transfer Protocol (HTTP) request that is to be processed by a target component, the converted HTTP request associated with an original HTTP request and including M processing parameters, M being an integer greater than or equal to one;

identifying N intermediate parameters based on contents of the M processing parameters, N being an integer greater than or equal to one and less than or equal to M, the identifying the N intermediate parameters based on the contents of the M processing parameters comprising:

defining a special identifier;

determining that a parameter name of a processing parameter of the M processing parameters does not include the special identifier; and

ignoring the processing parameter of the M processing parameters;

obtaining a respective target parameter corresponding to a respective intermediate parameter from the N intermediate parameters, a data length of the respective intermediate parameter being less than a data length of the respective target parameter; and

replacing the respective intermediate parameter from the N intermediate parameters with the respective target parameter corresponding to the respective intermediate parameter to restore the original HTTP request.

11. The one or more memory of claim 10 , wherein the identifying the N intermediate parameters based on the contents of the M processing parameters comprises:

determining that a parameter name of another processing parameter of the M processing parameters includes the defined special; and

identifying the another processing parameter of the M processing parameters as one of the N intermediate parameters.

12. The one or more memory of claim 10 , wherein the obtaining the respective target parameter corresponding to the respective intermediate parameter from the N intermediate parameters comprises:

searching a stored data based on a parameter value of the respective intermediate parameter; and

acquiring a corresponding target parameter.

13. The one or more memory of claim 10 , wherein the replacing the respective intermediate parameter from the N intermediate parameters with the respective target parameter corresponding to the respective intermediate parameter to restore the original HTTP request includes:

replacing the intermediate parameters included in the converted HTTP request; and

restoring the original HTTP request having N target parameters.

14. The one or more memory of claim 10 , further comprising processing the original HTTP request by the target component, the target component being a last component on an invocation path corresponding to the original HTTP request in a service-oriented architecture.

15. An apparatus comprising:

one or more processors;

memory storing executable instructions that, when executed by the one or more processors, cause the one or more processors to perform acts comprising;

obtaining a converted Hypertext Transfer Protocol (HTTP) request that is to be processed by a target component, the converted HTTP request associated with an original HTTP request and including M target parameters, M being an integer greater than or equal to one;

identifying N intermediate parameters based on contents of the M processing parameters, and N being an integer greater than or equal to one and less than or equal to M, the identifying the N intermediate parameters based on the contents of the M processing parameters comprising:

defining a special identifier;

determining that a parameter name of a processing parameter of the M processing parameters does not include the special identifier; and

ignoring the processing parameter of the M processing parameters;

obtaining a respective target parameter corresponding to a respective intermediate parameter from the N intermediate parameters, a data length of the respective intermediate parameter being less than a data length of the respective target parameter; and

replacing the respective intermediate parameter from the N intermediate parameters with the respective target parameter corresponding to the respective intermediate parameter to restore the original HTTP request.

16. The apparatus of claim 15 , wherein the identifying the N intermediate parameters based on the contents of the M processing parameters further comprises:

determining that a parameter name of another processing parameter of the M processing parameters includes the defined special; and

identifying the another processing parameter of the M processing parameters as one of the N intermediate parameters.

17. The apparatus of claim 15 , wherein the obtaining the respective target parameter corresponding to the respective intermediate parameter from the N intermediate parameters comprises:

searching a stored data based on a parameter value of the respective intermediate parameter; and

acquiring a corresponding target parameter.

18. The apparatus of claim 15 , wherein the replacing the respective intermediate parameter from the N intermediate parameters with the respective target parameter corresponding to the respective intermediate parameter to restore the original HTTP request includes:

replace the intermediate parameters included in the converted HTTP request; and

restoring the original HTTP request having N target parameters.

19. The apparatus of claim 15 , wherein the target component is a last component on an invocation path corresponding to the original HTTP request in a service-oriented architecture.

20. The apparatus of claim 19 , wherein the original HTTP request is processed by the target component.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 21, 2024
From: ADVANCED NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NOVA TECHNOLOGIES (SINGAPORE) HOLDING PTE. LTD.
Reel/Frame 067804/0557 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 054064/0610 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053650/0816 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 20, 2019
From: ZHANG, XIKUI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 049231/0096 →
Priority Claims (1)
CN 2014 1 0466215 · Sep 15, 2014 · national
Continuity (2)
Continuation 14853684 · Sep 14, 2015
Related Publication 20190273772A1 · Sep 5, 2019