IP Library Granted Patent US 10,362,087
Granted Patent B2
US 10,362,087 · App. 14/853,684 · Granted Jul 23, 2019

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

Inventor: Xikui Zhang (Shanghai, 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,362,087
App. No.
14/853,684
Granted
Jul 23, 2019
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 (35)

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

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

ranking the M target parameters in a descending order of a data length of each M target parameter in response to a data length of the original HTTP request being greater than or equal to a preset data threshold, wherein a data length of each of the M target parameters is greater than or equal to a length threshold, a data length of N target parameters is greater than a data length of intermediate parameters corresponding thereto, and N is an integer greater than or equal to one and less than or equal to M;

selecting first N highest ranking results as the N target parameters from the M target parameters;

identifying the intermediate parameters based on contents of the M target parameters;

assigning the intermediate parameters for the N target parameters; and

performing a parameter replacement processing for the N target parameters using the intermediate parameters corresponding to the N target parameters to obtain a converted HTTP request from the original HTTP request.

2. The method of claim 1 , further comprising storing a correspondence relationship between the N target parameters and the intermediate parameters corresponding to the N target parameters.

3. The method of claim 2 , wherein storing the correspondence relationship comprises storing the N target parameters and the intermediate parameters corresponding to the N target parameters correspondingly in a database or a file system.

4. The method of claim 1 , further comprising determining that the original HTTP request is a POST request of HTTP prior to assigning the intermediate parameters for the N target parameters.

5. The method of claim 1 , further comprising sending the converted HTTP request.

6. One or more computer-readable media storing executable instructions that, when executed by one or more processors, cause the one or more processors to perform acts comprising:

obtaining a first Hypertext Transfer Protocol (HTTP) request that is to be processed by a target component, the first HTTP request including a plurality of processing parameters;

ranking the plurality of processing parameters in a descending order of a data length of each processing parameter, wherein the data length of each of the plurality of processing parameters is greater than or equal to a length threshold;

identifying one or more intermediate parameters based on contents in each of the plurality of processing parameters, a number of the one or more intermediate parameters being less than or equal to a number of the plurality of processing parameters;

obtaining a respective target parameter of one or more target parameters corresponding to each intermediate parameter of the one or more intermediate parameters in the descending ranking order of a corresponding processing parameter, a data length of each intermediate parameter being less than a data length of the respective target parameter of the one or more target parameters; and

performing a parameter replacement processing on the one or more target parameters using the respective one or more intermediate parameters corresponding to each target parameter to obtain a second HTTP request for the target component to perform a service processing on the second HTTP request.

7. The one or more computer-readable media of claim 6 , wherein obtaining the respective target parameter of the one or more target parameters comprises obtaining the respective target parameter of the one or more target parameters corresponding to each intermediate parameter based on a correspondence relationship between the one or more target parameters and the one or more intermediate parameters.

8. The one or more computer-readable media of claim 6 , wherein identifying the one or more intermediate parameters is further based on identification information of the one or more target parameters to be processed by the target component.

9. The one or more computer-readable media of claim 6 , wherein the first HTTP request comprises a POST request of HTTP.

10. The one or more computer-readable media of claim 6 , wherein the first HTTP request is generated from the second HTTP request by converting the respective target parameter of the one or more target parameters corresponding to each intermediate parameter of the one or more intermediate parameters into the respective intermediate parameter.

11. An apparatus comprising:

one or more processors;

memory;

an acquisition unit stored in the memory and executable by the one or more processors to obtain a first Hypertext Transfer Protocol (HTTP) request that is to be sent by a target component, the first HTTP request including M target parameters, M being an integer greater than or equal to one;

an identification unit stored in the memory and executable by the one or more processors to identify intermediate parameters based on contents of the M target parameters;

an assignment unit stored in the memory and executable by the one or more processors to, in response to a data length of the first HTTP request being greater than or equal to a preset data threshold, wherein a data length of each of the M target parameters is greater than or equal to a length threshold, a data length of each target parameter of the N target parameters is greater than a data length of the corresponding intermediate parameter of the intermediate parameters, and N is an integer greater than or equal to one and less than or equal to M:

rank the M target parameters in a descending order of a data length of each M target parameter;

select first N highest ranking results as the N target parameters from the M target parameters;

assign the intermediate parameters for the N target parameters; and

a replacement unit stored in the memory and executable by the one or more processors to perform a parameter replacement processing on at least one target parameter using the one or more intermediate parameters corresponding to the at least one target parameter to obtain a second HTTP request.

12. The apparatus of claim 11 , further comprising a storage unit to store a correspondence relationship between the N target parameters and the intermediate parameters corresponding to the N target parameters.

13. The apparatus of claim 12 , wherein the storage unit stores the N target parameters and the intermediate parameters corresponding to the N target parameters in a database or a file system correspondingly.

14. The apparatus of claim 11 , further comprising a determination unit to determine that the first HTTP request comprises a POST request of HTTP.

15. The apparatus of claim 11 , wherein the second HTTP request is sent by the target component after the parameter replacement processing is performed.

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 Sep 30, 2015
From: ZHANG, XIKUI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 036732/0239 →
Priority Claims (1)
CN 2014 1 0466215 · Sep 15, 2014 · national
Continuity (1)
Related Publication 20160080462A1 · Mar 17, 2016