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

Inactive Publication Date: 2016-05-25
GREE ELECTRIC APPLIANCES INC
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

The present technology allows users to execute different types of applications simultaneously without having to rewrite them each time they use it or have their own code base duplicated between two separate tasks. This makes programming easier because there's less work involved with writing new ones than doing everything else.

Problems solved by technology

This patented technical problem addressed in this patents relates to how to efficiently share memory between different computer systems while ensuring consistently high performance for each system's code portions (called entities).

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
  • Concurrent execution method and system of multiple programs
  • Concurrent execution method and system of multiple programs

Examples

Experimental program
Comparison scheme
Effect test

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

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 concurrent execution method and system of multiple programs. The method and the system obtain a concurrent execution amount configured in advance, obtain a pre-compiled target subprogram to be subjected to concurrent execution, and carry out concurrent execution on the program copies of the target subprogram on the basis, wherein the concurrent amount of the program copies is a concurrent execution amount. Obviously, the method and the system carry out concurrent execution on the program copies of a required number instead of entity programs, the concurrent execution of the multiple programs is realized, so that only one independent (independent of a main program) subprogram to be subjected to the concurrent execution needs to be compiled, and a plurality of entity programs do not need to be repeatedly complied in the main program so as to simplify a program structure. In addition, the method and the system do not need to call the plurality of entity programs, background resources, including interface resources, entity program resources and the like, which need to be occupied by carrying out the concurrent execution on the plurality of entity programs by the traditional scheme can be saved, and the concurrent amount of software tools including LabVIEW and the like during the concurrent execution of the multiple programs can be further improved.

Description

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

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
Owner GREE ELECTRIC APPLIANCES INC
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
Try Eureka
PatSnap group products