Program execution method and device, equipment and medium
A technology of program execution and main program, which is applied in the direction of program code conversion, creation/generation of source code, code compilation, etc. It can solve problems such as team development obstacles, affecting memory release, and affecting program performance, so as to reduce circular dependencies and increase effect of complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] figure 1 It is a flow chart of a program execution method provided by Embodiment 1 of the present disclosure. This embodiment is applicable to the case of using classes to implement business functions in the main project development mode. The method can be executed by a program execution device, which can Implemented in the form of software and / or hardware, the device can be configured in electronic equipment, and the method specifically includes the following steps:
[0055] Step 110, during the execution of the main program in the main project, if it is detected that the target main project class defined in the main program is triggered, start to execute the target main project class.
[0056] Among them, the main program in the main project is the program code used to realize the main body of the business function, which realizes the complete business function by calling different types of entities. The target main project class is a class defined in the main progra...
Embodiment 2
[0071] figure 2 It is a flow chart of a program execution method provided in Embodiment 2 of the present disclosure. This embodiment can be combined with each optional solution in the above one or more embodiments to provide specific execution steps after starting to execute the target main project class and after starting to execute the target underlying component class. In this embodiment, after starting to execute the target main project class, it may also include:
[0072] During the execution of the target main project class, if a call to the second target public component class in the second public component library is detected, the second target public component class is started to be executed; the execution of the second target public component class is fed back The result is provided to the target main project class so that the target main project class continues execution based on the execution result.
[0073] Correspondingly, after starting to execute the target...
Embodiment 3
[0105] image 3 It is a schematic structural diagram of a program execution device provided in Embodiment 4 of the present disclosure. This embodiment is applicable to the case of using classes to implement business functions in the main project development mode. The device can be implemented in the form of software and / or hardware, and the device can be configured in an electronic device, and the device can include: a main project execution module 310, an underlying component execution module 320, and a first execution result feedback module 330, wherein ,
[0106] The main project class execution module 310 is used to start executing the target main project class if it detects that the target main project class defined in the main program is triggered during the execution of the main program in the main project;
[0107] The underlying component class execution module 320 is used to start executing the target underlying component class if a call to the target underlying com...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


