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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com