Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

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

Pending Publication Date: 2021-11-16
HANGZHOU ANHENG INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, the object of the present invention is to provide a framework process processing method, system, readable storage medium and device, which are used to solve the problem of relatively single processing methods for workflow in the prior art, and configure them in specified XML. , the configuration is relatively cumbersome and has strong limitations

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
  • Framework flow processing method and system, readable storage medium and device
  • Framework flow processing method and system, readable storage medium and device
  • Framework flow processing method and system, readable storage medium and device

Examples

Experimental program
Comparison scheme
Effect test

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...

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 provides a framework process processing method and system, a readable storage medium and a device, wherein the method comprises the steps of checking whether an endless loop exists in the whole workflow in a core processing thread pool or not when obtaining that an asynchronous task is delivered; when an endless loop does not exist in the whole workflow in the core processing thread pool, checking whether a monitor exists in the transmitted asynchronous task or not; and when a monitor exists in the transmitted asynchronous task, packaging the asynchronous task into a thread, and putting the thread into the core processing thread pool for processing. According to the method, workflow processing configuration is fused into code logic, the method is more flexible, and meanwhile, due to the fact that asynchronous tasks aim at synchronous tasks, the method can process the synchronous tasks.

Description

technical field [0001] The present invention relates to the technical field of human-computer interaction, and in particular to a framework process processing method, system, readable storage medium and device. Background technique [0002] In daily JAVA programming, because the data volume and business structure are becoming more and more complex, there is often a need for asynchronous processing of tasks, because the computing power of the machine is limited, and the complexity of the data volume and business structure is not enough. It is predictable and rising, so asynchronous processing is the best solution to this problem; but in the current business structure, many processes and execution sequences need to support configuration, so that the program of the entire processing process Higher requirements for flexibility; especially when the above two points need to be combined, it is a great challenge for the coder of the program. [0003] Existing technologies have a re...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/71G06F9/50
CPCG06F8/71G06F9/5055
Inventor 黄涛范渊吴卓群王欣
Owner HANGZHOU ANHENG INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products