Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Service processing method and apparatus

A service processing and processing program technology, applied in the field of service processing methods and devices, can solve problems such as low service processing efficiency, and achieve the effect of improving speed and efficiency

Inactive Publication Date: 2016-02-17
ALIBABA GRP HLDG LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, in the service processing process of the remote resource invocation service, multiple resource invocation operations are executed in serial steps, which leads to low service processing efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Service processing method and apparatus
  • Service processing method and apparatus
  • Service processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Embodiment 1 provides a service processing method, the specific flow chart of the method is as follows figure 1 shown, including the following steps:

[0026] Step 11, analyzing the bytecode of the service processing program to obtain the resource invocation relationship information in the service processing process;

[0027] Step 12: Divide resource invocation operations included in the service processing process according to resource invocation relationship information to obtain at least one parallel resource invocation operation set; wherein, the parallel resource invocation operation set includes at least two resource invocation operations that can be executed in parallel ;

[0028] Step 13. During the service processing process, execute the at least two resource invocation operations in the parallel resource invocation operation set in parallel.

[0029] In Embodiment 1, the service refers to a resource call service, and its specific type is not limited. It can b...

Embodiment 2

[0049] Embodiment 2 provides a service processing method, and the programming language of the service processing program is Java language. The specific flow chart of the method is shown in Figure 2a shown, including the following steps:

[0050] Step 21, converting the Java source code of the service handler into byte code.

[0051]Taking the service handler calling the run() method as an example, the Java source code for calling the run() method is:

[0052]

[0053]

[0054] For the bytecode corresponding to the Java source code that calls the run() method, please refer to Figure 2b As shown, the meanings of the operation instructions contained in it are as follows:

[0055] INVOKESTATIC: call a static method;

[0056] ASTORE_X: Save the data in the operand stack to a local variable, which belongs to the method return result;

[0057] ALOAD_X: Load a reference from the local variable list to the operand stack, which belongs to the method parameter;

[0058] RET...

Embodiment 3

[0083] Based on the same inventive concept, Embodiment 3 provides a service processing device. Such as image 3 As shown, the first structure of the service processing device includes:

[0084] The parsing unit 31 is used for parsing the bytecode of the service processing program to obtain resource invocation relationship information in the service processing process;

[0085] The division unit 32 is configured to divide the resource invocation operations included in the service processing process according to the resource invocation relationship information to obtain at least one parallel resource invocation operation set; wherein, the parallel resource invocation operation set includes at least two resource invocation operations that can be executed in parallel. Resource call operation;

[0086] The processing unit 33 is configured to execute the at least two resource invocation operations in the parallel resource invocation operation set in parallel during the service pro...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a service processing method used for improving the service processing efficiency. The method comprises: analyzing a bytecode of a service processing program to obtain resource calling relationship information in a service processing process; dividing resource calling operations contained in the service processing process according to the resource calling relationship information to obtain at least one parallel resource calling operation set, wherein the parallel resource calling operation set contains at least two resource calling operations capable of being executed in parallel; and in the service processing process, executing the at least two resource calling operations in the parallel resource calling operation set in parallel. The invention furthermore discloses a service processing apparatus.

Description

technical field [0001] The present application relates to the technical field of computer Internet, in particular to a service processing method and device. Background technique [0002] In the computer Internet field, resource calls include calls to the system, calls to internal components of the system, calls to storage, and so on. Currently, in the service processing process of the remote resource invocation service, multiple resource invocation operations are executed in serial steps, which leads to low service processing efficiency. Similar technical problems also exist in the service processing process of invoking services by local resources. Contents of the invention [0003] An embodiment of the present application provides a service processing method to improve service processing efficiency. [0004] The embodiment of the present application also provides a service processing device, which is used to improve the efficiency of service processing. [0005] The em...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/50
Inventor 何伽
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products