Framework flow processing method and system, readable storage medium and device
A processing method and process technology, applied in the field of human-computer interaction, can solve the problems of strong limitations, single processing method, complicated configuration, etc., to achieve the effect of ensuring security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] see figure 1 , which shows the framework process processing method in the first embodiment of the present invention, the method specifically includes steps S101 to S103:
[0049] S101, when it is acquired that there is an asynchronous task delivery, check whether there is an infinite loop in the entire workflow in the core processing thread pool;
[0050] In the specific implementation, when there is an asynchronous task, the programmer codes and processes the business logic part as needed, so that the asynchronous task forms a workflow, and further checks the process processing methods of all the next nodes in the asynchronous task (nextNode() method ) whether the return value is null, here can only be an explicit check, because if it is implicitly checked by execution, if the code has an infinite loop, it will be triggered directly. Only when the return value is null, the entire workflow has the condition to end normally, otherwise it can only wait for the execution ...
Embodiment 2
[0064] see figure 2 , which shows the framework process processing method in the second embodiment of the present invention, the method specifically includes steps S201 to S207:
[0065] S201. When the engineering task start instruction is obtained, check whether the parameters configured in the application attribute file are default, and the parameters include the number of core threads in the core processing thread pool;
[0066] During specific implementation, when the engineering task start instruction is obtained, the programmer codes and processes the business logic part as required, and checks whether the number of core threads in the core processing thread pool in the application property file is default.
[0067] S202, if so, configure the number of core threads in the core processing thread pool by default according to the number of CPU cores, and start the core processing thread pool at the same time;
[0068] In specific implementation, if it is default, the defa...
Embodiment 3
[0088] see image 3 , shows the framework process processing method in the third embodiment of the present invention, the method specifically includes steps S301 to S311:
[0089] S301. When the engineering task start instruction is obtained, check whether the parameters configured in the application property file are default, and the parameters include the number of core threads in the core processing thread pool;
[0090] During specific implementation, when the engineering task start instruction is obtained, the programmer codes and processes the business logic part as required, and checks whether the number of core threads in the core processing thread pool in the application property file is default.
[0091] S302, if so, configure the number of core threads in the core processing thread pool by default according to the number of CPU cores, and start the core processing thread pool at the same time;
[0092] In specific implementation, if it is default, the default value...
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