Concurrent execution method and system of multiple programs
An execution method and multi-program technology, applied in the field of multi-program concurrent processing, can solve the problem of occupying too many background resources, achieve the effect of increasing the amount of concurrency and simplifying the program structure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] Embodiment 1 of the present invention discloses a multi-program concurrent execution method, refer to figure 1 , the method may include the following steps:
[0038] S101: Obtain a pre-configured concurrent execution amount.
[0039] S102: Obtain a pre-written target subroutine to be executed concurrently.
[0040] S103: Concurrently execute the program copy of the target subprogram; wherein, the concurrent number of the program copy is the concurrent execution amount.
[0041] This application solves the problem of the need to repeatedly write multiple entity programs in the main program in advance when implementing concurrent execution of multiple programs in the prior art, and the need to call and execute all programs by executing the required number of program copies instead of entity programs However, there are problems such as bloated program structure and many background resources occupied.
[0042] Based on this, when applying this application, it is necessary t
Embodiment 2
[0052] Embodiment 2 of the present invention discloses a multi-program concurrent execution system, refer to figure 2 , the system includes a first acquisition module 100 , a second acquisition module 200 and a concurrent execution module 300 .
[0053] The first obtaining module 100 is configured to obtain a pre-configured concurrent execution amount.
[0054] Wherein, the concurrent execution amount is the value of the asynchronous call parameter, then the first acquisition module includes: a first acquisition unit, configured to obtain the value of the pre-configured asynchronous call parameter, and the value of the asynchronous call parameter is pre-written The main program configuration.
[0055] The second obtaining module 200 is used to obtain a pre-written target subroutine to be executed concurrently.
[0056] The second acquisition module includes a second acquisition unit, configured to acquire a pre-written target subroutine to be executed concurrently through the
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap