Data processing method and apparatus in service-oriented architecture system, and the service-oriented architecture system
First Claim
Patent Images
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.
4 Assignments
0 Petitions
Accused Products
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.
-
Citations
15 Claims
-
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. - View Dependent Claims (2, 3, 4, 5)
-
-
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. - View Dependent Claims (7, 8, 9, 10)
-
-
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. - View Dependent Claims (12, 13, 14, 15)
-
Specification