CN112445607B - Method and device for executing method function by application program - Google Patents
Method and device for executing method function by application program Download PDFInfo
- Publication number
- CN112445607B CN112445607B CN201910825860.1A CN201910825860A CN112445607B CN 112445607 B CN112445607 B CN 112445607B CN 201910825860 A CN201910825860 A CN 201910825860A CN 112445607 B CN112445607 B CN 112445607B
- Authority
- CN
- China
- Prior art keywords
- target
- method function
- operating system
- function
- engine
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 551
- 230000006870 function Effects 0.000 claims description 419
- 238000012545 processing Methods 0.000 claims description 30
- 238000003860 storage Methods 0.000 claims description 24
- 230000008569 process Effects 0.000 claims description 19
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000001960 triggered effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 22
- 238000004590 computer program Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000002346 layers by function Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000000153 supplemental effect Effects 0.000 description 1
- 230000008685 targeting Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for executing a method function by an application program, so as to improve the efficiency of executing the method function by the application program. When the method function is called, the embodiment of the application confirms whether the called method function is a target method function with a multi-engine identifier; determining a target engine for executing the target method function from at least two alternative engines aiming at the target method function with the multi-engine identification; the parameters corresponding to the target method function are sent to the target engine, and the target engine is triggered to execute the target method function according to the parameters corresponding to the target method function; and receiving an execution result corresponding to the target method function returned by the target engine. Because the embodiment of the application provides at least two alternative engines, the alternative engines can be reasonably selected according to the resource occupation condition of the alternative engines, and the problem that the execution rate of the method function is low due to the fact that one of the engines is low in execution speed is avoided, so that the execution efficiency of the method function is improved.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for executing a method function by an application program.
Background
Along with the update of the intelligent terminal, the configuration of the terminal is higher and higher, and accordingly, the application programs for realizing various functions are more and more. Currently, a terminal generally installs a plurality of application programs so as to provide a more convenient working and living platform for users.
In the running process of the application program, the functions of the application program are realized by calling the method functions in the application program codes, and each application program needs to call a large number of method functions when realizing the corresponding functions. If more application programs are run on the terminal, the method functions are called correspondingly, a large amount of CPU resources and memory resources of the terminal are occupied, the execution speed of the terminal on the method functions is reduced, and therefore the execution efficiency of the method functions is low.
Disclosure of Invention
The application provides a method and a device for executing a method function of an application program, which are used for improving the efficiency of the method function of the application program.
In a first aspect, the present application provides a method for executing a method function by an application program, including:
when the application program calls the method function, confirming whether the called method function is a target method function with a multi-engine identifier;
Determining a target engine for executing the target method function from at least two alternative engines aiming at the target method function with the multi-engine identification;
sending parameters corresponding to a target method function to the target engine, and triggering the target engine to execute the target method function according to the parameters corresponding to the target method function;
and receiving an execution result corresponding to the target method function returned by the target engine.
In a second aspect, an embodiment of the present application provides an apparatus for executing a method function by an application program, including:
the application program module is used for calling the method function;
an annotation processor for confirming whether the called method function is a target method function with a multi-engine identification;
a method controller for determining a target engine for executing a target method function from at least two alternative engines for the target method function with multiple engine identifications; sending parameters corresponding to a target method function to the target engine, and triggering the target engine to execute the target method function according to the parameters corresponding to the target method function; and receiving an execution result corresponding to the target method function returned by the target engine.
In a third aspect, an embodiment of the present application provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods of the application execution method functions provided herein.
In a fourth aspect, embodiments of the present application provide a computer-readable medium storing computer-executable instructions for performing a method of executing an application execution method function provided herein.
The technical scheme provided by the embodiment of the application at least brings the following beneficial effects:
when an application program calls a method function, determining the method function with multiple engine identifications as a target method function, determining a target engine for executing the target method function from at least two alternative engines aiming at the target method function, sending parameters of the target method function to the target engine, triggering the target engine to execute the method function according to the received parameters of the target method function, and receiving an execution result returned by the target engine. The embodiment of the application provides at least two alternative engines, wherein the alternative engines comprise a local operating system and a cloud operating system in at least one remote server. As can be seen, in the embodiment of the present application, at least two alternative engines are provided for the target method function with multiple engine identifiers, when the target method function is called, the target engine for executing the target method function is selected from the alternative engines, and the execution mode of the target method function is not preset, but is selected from the at least two alternative engines when the target method function is called in the running process of the application program, so that the flexibility of the execution mode of the method function can be improved; because the embodiment of the application provides at least two alternative engines, CPU resources can be reasonably allocated according to the CPU resource occupation conditions of the local operating system and the cloud operating system when the target method function is executed; for example, when the CPU resources of the local operating system occupy more, a cloud operating system with more spare CPU resources can be selected, and correspondingly, when the CPU resources of the cloud operating system occupy more spare CPU resources, the local operating system with more spare CPU resources can be selected, so that the problem that the execution efficiency of the method function is lower due to the fact that one of the local operating system or the cloud operating system is slower is avoided, and the execution efficiency of the method function is improved.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application and do not constitute an undue limitation on the application.
FIG. 1 is a schematic diagram of a native operating system executing a method function in an application program according to an embodiment of the present application;
fig. 2 is a schematic diagram of a method function in an application executed by a cloud operating system according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a framework of an application execution method function according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an application execution method function when a target engine provided in the embodiment of the present application is a local operating system and a cloud operating system;
FIG. 5 is a schematic diagram of an application execution method function when the target engine provided in the embodiments of the present application is a local operating system;
FIG. 6 is a schematic diagram of an application execution method function when the target engine provided in the embodiment of the present application is a cloud operating system;
FIG. 7 is a schematic diagram of another application execution method function according to an embodiment of the present application;
FIG. 8 is a flowchart of a method for executing a method function by an application provided in an embodiment of the present application;
FIG. 9 is a schematic structural diagram of an apparatus for executing a method function of an application according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a computing device according to an embodiment of the present application.
Detailed Description
In order to enable those skilled in the art to better understand the technical solutions of the present application, the following description will be made in detail by referring to the accompanying drawings.
It should be noted that the embodiments described in the following exemplary examples do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
In the following, some terms in the embodiments of the present application are explained for easy understanding by those skilled in the art.
(1) Java notes: java annotations are special tags in Java code that can be read during compilation, class loading, runtime, and perform the corresponding processing. By annotating, a developer can embed supplemental information in the source code without changing the original code and logic.
(2) CPU: the central processing Unit (Central Processing Unit, CPU) is a very large scale integrated circuit, and is a terminal operation Core (Core) and a Control Core (Control Unit). Its function is mainly to interpret computer instructions and process data in terminal software.
(3) CPU occupancy rate: the CPU resource occupied by the running program is indicated, and the condition of the running program of the terminal at a certain time point is indicated. The higher the occupancy, the more programs the terminal runs at this time.
(4) Application program: a computer program that can perform one or more specific tasks has a visual display interface that can interact with a user. Such as electronic maps and WeChat, may be referred to as applications.
(5) Cloud server: the system is a lightweight communication and informatization management marketing platform, has the characteristics of high distribution, high virtualization and the like, and enables network resources to be fully utilized.
(6) Dynamic proxy point: the method refers to dynamic proxy to a certain primitive function, and specifically, the operations to the primitive function are all controlled by the proxy function when the program runs. The proxy provides a proxy object for an object, and controls access to the original object by the proxy object, so that the original object is not directly controlled, but indirectly controlled through the proxy object.
(7) Calculating: also known as hash rate, calculates the speed of the hash function output for the terminal (or CPU). The computation power is a measure of the total computation power of units that generate new blocks at a certain network consumption.
(8) An interface: the interfaces are classified into hardware class interfaces and software class interfaces. The hardware interface refers to a communication rule between different functional layers of the same terminal; the software class interface refers to the type of reference that defines an agreement. Other types implement interfaces to ensure that they support certain operations. The interface specifies the members that must be provided by the class or other interfaces that implement it. Similar to classes, interfaces may contain methods, attributes, indexers, and events as members.
(9) Compiling: refers to a process of generating a target program from a source program written in a source language using a compiler or an action of generating the target program using the compiler. Compiling is to change a high-level language into a binary language which can be recognized by a terminal.
(10) Serialization (Serialization) and deserialization: serialization is the process of converting state information of an object into a form that can be stored or transmitted. Deserialization refers to extracting data from a serialized representation and setting the object state directly. During serialization, an object writes its current state to a temporary or persistent storage area. Later, the object may be recreated by reading or de-serializing the state of the object from the storage area.
In the running process of the application program, the functions of the application program are realized by calling the method functions in the application program codes. At present, the execution mode of the method function in the application program is predefined in the writing process of the application program code, and two types of the predefined execution modes of the method function are adopted, wherein one type of the method function is executed through a local operating system, and the other type of the method function is executed through a cloud operating system located in a remote server.
As shown in FIG. 1, it is assumed that the manner in which the method functions in the application program are executed by the native operating system is predefined. When the application program module calls the method function, the parameter corresponding to the method function is sent to the local operating system, the local operating system executes the method function, and the execution result is returned to the application program module.
The method for executing the method function in the application program by adopting the local operating system is to execute codes through local hardware without interaction with a remote server through a network; however, the execution speed of the method function is limited by local hardware facilities, and if the number of programs running locally is large and the local CPU occupancy rate is high, the speed of executing the method function by the local operating system is slow; or when the local memory occupancy rate is too high, system jam may be caused, and the speed of executing the method function in the application program by the local operating system may be slow.
As shown in fig. 2, it is assumed that a manner in which a method function in an application program is executed by a cloud operating system located in a remote server is predefined. When the application program module calls the method function, the parameter corresponding to the method function is sent to the remote server, all codes of the application program are stored in the remote server in advance, the cloud operating system in the remote server executes the method function, and an execution result is returned to the application program module.
The method for executing the method functions in the application program by adopting the cloud operating system in the remote server is to execute codes through the remote server and return the execution result to the local. When the application program module calls the method function, the parameters corresponding to the method function are required to be sent to the remote server through the network, and the cloud operating system in the remote server executes the method function according to the parameters corresponding to the method function, so that the method for executing the method function needs to be carried out by means of the network, and the execution speed of the method function depends on the network quality. When a terminal running the application program is in a network-free state, a method function of the application program cannot be executed; or when the network quality is poor, when the parameters corresponding to the method function are sent to the cloud server, the parameter sending process is slow, so that the execution speed of the method function is slow. Secondly, by executing the method function in the application program by the cloud end operating system in the remote server, the same interface needs to be defined between the local server and the remote server, and the complexity of code writing is increased.
The applicant has found after analyzing the prior art that, in the prior art, since the execution mode of the unique method function is preset, when the application program calls the method function, the method function can only be executed according to one preset execution mode. If the preset mode is executed by the local operating system, if the local CPU occupancy rate is too high or the memory occupancy rate is too high, the execution speed of the local operating system to the method function is very slow, and even if the network quality of the terminal running the method function is good, the method function can only be executed by the local operating system, and the execution mode cannot be flexibly changed, so that the execution efficiency of the method function is low. Similarly, if the preset execution mode is executed by the cloud operating system of the remote server, if the current network quality is poor, the execution speed of the method function of the mode is very slow, and even if the local CPU occupancy rate is not high, the method function can only be executed by the cloud operating system of the remote server, so that the local resource waste is caused, and the execution efficiency of the method function is lower.
Based on the analysis, the embodiment of the application provides a method for executing a method function by an application program, the method can determine the method function with multiple engine identifications as a target method function, determine a target engine for executing the target method function from at least two alternative engines aiming at the target method function, send parameters of the target method function to the target engine, trigger the target engine to execute the method function according to the received parameters of the target method function, and receive an execution result returned by the target engine. The embodiment of the application provides at least two alternative engines, wherein the alternative engines comprise a local operating system and a cloud operating system in at least one remote server. As can be seen, in the embodiment of the present application, at least two alternative engines are provided for the target method function with multiple engine identifiers, when the target method function is called, the target engine for executing the target method function is selected from the alternative engines, and the execution mode of the target method function is not preset, but is selected from the at least two alternative engines when the target method function is called in the running process of the application program, so that the flexibility of the execution mode of the method function can be improved; because the embodiment of the application provides at least two alternative engines, CPU resources can be reasonably allocated according to the CPU resource occupation conditions of the local operating system and the cloud operating system when the target method function is executed; for example, when the CPU resources of the local operating system occupy more, a cloud operating system with more spare CPU resources can be selected, and correspondingly, when the CPU resources of the cloud operating system occupy more spare CPU resources, the local operating system with more spare CPU resources can be selected, so that the problem that the execution efficiency of the method function is lower due to the fact that one of the local operating system or the cloud operating system is slower is avoided, and the execution efficiency of the method function is improved.
In addition, for some or all of the method functions in the application, the developer can add multiple engine identifications on the method functions; an alternative embodiment is that the multi-engine identification may be a multi-engine annotation in a Java annotation. By adding notes to the method functions, the codes of the application program are not infected, the code structure is not required to be modified, and the target method functions added with the multiple engine notes need to be selected from multiple engines when executed.
For example, taking the example of adding a double engine annotation for a method function, the original method function A is:
the method function a after adding the two-engine annotation is:
wherein "@ annotation name" is the format of the custom annotation when the Java language writes the code. DualEngine represents a dual engine. It should be noted that the use of DualEngine as a dual engine identifier is merely exemplary.
After the design concept of the embodiment of the present application is introduced, the technical solution of the embodiment of the present application is further described below. It should be noted that the technical solutions described below are only exemplary.
Fig. 3 is a schematic diagram of a framework of an application execution method function according to an embodiment of the present application. Including an application module 30, an annotation processor 31, a method controller 32, a method function code storage area 33, and a local operating system 34, at least one remote server 35, and a cloud operating system 36 located in the remote server 35.
During compiling of the application program, the annotation processor 31 traverses the target method function added with the multi-engine identifier in the program, and adds a dynamic proxy point in the target method function; the annotation processor 31 stores the code clone corresponding to the target method function in the method function code storage area 33.
For example, the method function a is:
in the compiling process, after the annotation processor 31 detects the method function a with the dual engine identification, a dynamic proxy point is added in the method function a, and a code clone of the method function a is stored in the method function code storage area 33.
During the running process of the application program, the application program module 30 calls a method function, and the annotation processor 31 judges whether the called method function has a multi-engine identifier; if so, the annotation processor 31 passes control to the method controller 32 via a dynamic proxy on the method function, triggering the method controller to perform the determination of the target engine from the at least two alternative engines.
In implementation, the application module 30 sends the parameters corresponding to the target method function with the multiple engine identifications to the annotation processor 31, the annotation processor 31 obtains the parameters corresponding to the target method function, and sends the parameters corresponding to the target method function to the dynamic proxy point according to the dynamic proxy point information in the target method function, and the dynamic proxy point sends the parameters corresponding to the target method function to the method controller 32.
The method controller 32 determines a target engine for executing the target method function from the at least two alternative engines, and sends parameters corresponding to the target method function to the target engine, and triggers the target engine to execute the target method function according to the parameters corresponding to the target method function. After the target engine executes the target method function according to the parameter corresponding to the target method function, an execution result corresponding to the target method function is returned to the method controller 32.
After receiving the execution result corresponding to the target method function, the method controller 32 sends the execution result corresponding to the target method function to the application program module 30 through the dynamic proxy point and annotation processor 31, returns the control right to the application program module 30, and the application program module 30 continues to execute the next operation.
The following describes a scheme for executing a method function according to an embodiment of the present application, taking an example in which the alternative engine includes a local operating system and a cloud operating system located in a remote server.
When the application module 30 calls the target method function during the running process of the application program, the annotation processor 31 transfers control to the method controller 32 through a dynamic proxy point on the method function; the method controller 32 determines a target engine for executing the target method function from the local operating system 34 and the cloud operating system 36.
In an alternative implementation manner, the method controller determines a target engine for executing the target method function from at least two alternative engines according to the following manner.
Mode one: and selecting the local operating system and the cloud operating system as target engines.
Fig. 4 is a schematic diagram of an application execution method function when the target engine is a local operating system and a cloud operating system according to an embodiment of the present application. Including an application module 30, an annotation processor 31, a method controller 32, a method function code storage area 33, and a local operating system 34, at least one remote server 35, a cloud operating system 36 located in the remote server 35.
After the annotation processor 31 determines that the called target method function has the multi-engine identifier, acquiring parameters corresponding to the target method function, acquiring codes corresponding to the target method function from the method function code storage area 33 according to the identifier information of the target method function, and transmitting the parameters corresponding to the target method function and the codes corresponding to the target method function to the dynamic proxy point, wherein the dynamic proxy point transmits the parameters corresponding to the target method function and the codes corresponding to the target method function to the method controller 32;
The parameters corresponding to the method function may be actual parameters of the method function, for example: when a method function func (int a, string) is called, func (1, hello) is input, and 1 and hello are parameters corresponding to the method function; the identification information of the method function can be a unique mark capable of identifying the method function, or can be any identification capable of identifying the method function.
After receiving the parameters corresponding to the target method function and the codes corresponding to the target method function, the method controller 32 sends the parameters corresponding to the target method function to the local operating system 34, and sends the parameters corresponding to the target method function and the codes corresponding to the target method function to the cloud engine agent 37; the cloud engine agent 37 sends the parameters corresponding to the target method function and the codes corresponding to the target method function to the remote server 35 in a sequential and anti-sequential manner, and the cloud operating system 36 in the remote server 35 executes the target method function.
The local operating system 34 executes the target method function according to the parameters corresponding to the target method function, and sends the execution result to the method controller 32;
And the cloud operating system 36 executes the target method function according to the received code corresponding to the target method function and the parameter corresponding to the target method function, and sends the execution result to the cloud engine agent 37, and the cloud engine agent 37 sends the execution result to the method controller 32 in a serialization and anti-serialization manner.
The method controller 32 receives the execution result returned by any one of the local operating system 34 and the cloud operating system 36 first and then takes the execution result as an execution result corresponding to the target method function;
for example, when the method controller 32 receives the execution result returned by the local operating system 34 first, the method controller uses the execution result returned by the local operating system 34 as the execution result corresponding to the target method function, and after receiving the execution result returned by the cloud operating system 36, the execution result of the cloud operating system 36 may be ignored. Or, the method controller 32 receives the execution result returned by the cloud operating system 36 first, and the method controller uses the execution result returned by the cloud operating system 36 as the execution result corresponding to the target method function, and after receiving the execution result returned by the local operating system 34, may ignore the execution result of the local operating system 34.
The method controller 32 sends the execution result corresponding to the target method function to the application program module through the dynamic proxy point and annotation processor 31.
Compared with the prior art, the method for selecting the local operating system and the cloud operating system located at the cloud server as the target engine has the advantages that the engine is preset as the engine for executing the method function, the problem that the method function cannot be executed due to the preset engine fault can be avoided, and the reliability of executing the method function is improved. In addition, after the local operating system and the cloud operating system are selected as target engines for executing the method functions, the local operating system and the cloud operating system need to return execution results of the method functions to the application program module, and in the embodiment of the application, the execution results returned first by any one of the local operating system and the cloud operating system are used as the execution results for calling the method functions; according to the embodiment of the application, the execution result returned by the engine with high execution speed in the local operating system or the cloud operating system is used, so that the problem that the execution speed of the method function is too low due to slow execution in one of the local operating system or the cloud operating system can be avoided, and the execution efficiency of the method function is improved.
Mode two: and selecting one from the local operating system and the cloud operating system as a target engine according to at least one of the processing state information of the local operating system and the current network quality information.
The processing state information of the local operating system includes, but is not limited to, CPU occupancy rate and memory occupancy rate.
1. In selecting a target engine based on processing state information of a local operating system, an alternative embodiment is:
when the occupancy rate of the CPU of the local operating system is larger than a first threshold value or the occupancy rate of the memory is larger than a second threshold value, the cloud operating system is used as a target engine;
and when the occupancy rate of the CPU of the local operating system is not greater than a first threshold value and the memory occupancy rate is not greater than a second threshold value, taking the local operating system as a target engine.
When the programs running locally are too many, the occupancy rate of the local CPU is too high, the processing state of the local operating system is poor at the moment, and if the method controller selects the cloud operating system as a target engine at the moment; or when the local memory occupancy rate is too high, the method controller selects the cloud operating system as a target engine. And when the CPU occupancy rate of the local operating system is low and the residual local memory is enough, the method controller can select the local operating system as a target engine.
2. Selecting a target engine according to the current network quality information:
when the current network quality information is not greater than a third threshold value, taking the local operating system as a target engine;
and when the current network quality information is greater than a third threshold, taking the cloud operating system as a target engine.
Specifically, if the terminal running the application program is currently in a network connection-free state or the quality of a connected network is poor, the method controller selects a local operating system as a target engine; if the currently connected network of the running application program has good quality, the cloud operating system can be selected as a target engine.
In addition, the processing state information and the current network quality information of the local operating system can be comprehensively considered to select a target engine; for example, if the CPU occupancy rate of the local operating system is too high and the network quality of the network currently connected to the terminal running the application program is good, the method controller may select the cloud operating system as the target engine.
FIG. 5 is a schematic diagram of an application execution method function when the local operation is selected as the system targeting engine according to the embodiment of the present application. Comprising the following steps: an application module 30, an annotation processor 31, a method controller 32, and a local operating system 34.
After the annotation processor 31 determines that the called target method function has the multi-engine identifier, parameters corresponding to the target method function are acquired, the parameters corresponding to the target method function are sent to the dynamic proxy point, and the parameters corresponding to the target method function are sent to the method controller 32 by the dynamic proxy point;
the parameters corresponding to the method function may be actual parameters of the method function, for example: when a method function func (int a, string) is called, func (1, hello) is input, and 1 and hello are parameters corresponding to the method function.
After receiving the parameters corresponding to the target method function, the method controller 32 sends the parameters corresponding to the target method function to the local operating system 34;
the local operating system 34 executes the target method function according to the parameters corresponding to the target method function, and sends the execution result to the method controller 32;
the method controller 32 sends the execution result corresponding to the target method function to the application program module through the dynamic proxy point and annotation processor 31.
Fig. 6 is a schematic diagram of an application execution method function when the cloud operating system is selected as the target engine according to the embodiment of the present application. Comprising the following steps: an application module 30, an annotation processor 31, a method controller 32, a method function code storage area 33, a remote server 35, a cloud operating system 36 located in the remote server 35, and a cloud engine agent 37.
After the annotation processor 31 determines that the called target method function has the multi-engine identifier, the parameter corresponding to the target method function is acquired, the code corresponding to the target method function is acquired from the method function code storage area 33 according to the identifier information of the target method function, the parameter corresponding to the target method function and the code corresponding to the target method function are sent to the dynamic proxy point, and the dynamic proxy point sends the parameter corresponding to the target method function and the code corresponding to the target method function to the method controller 32.
The parameters corresponding to the method function may be actual parameters of the method function, for example: when a method function func (int a, string) is called, func (1, hello) is input, and 1 and hello are parameters corresponding to the method function; the identification information of the method function can be a unique mark capable of identifying the method function, or can be any identification capable of identifying the method function.
After receiving the parameters corresponding to the target method function and the codes corresponding to the target method function, the method controller 32 sends the parameters corresponding to the target method function and the codes corresponding to the target method function to the cloud engine agent 37;
The cloud engine agent 37 sends the parameters corresponding to the target method functions and the codes corresponding to the target method functions to the cloud operating system 36 in the remote server 35 in a serialization and anti-serialization mode;
the cloud operating system 36 executes the target method function according to the parameters corresponding to the target method function and the codes corresponding to the target method function, and sends the execution result to the cloud engine agent 37;
the cloud engine agent 37 sends the execution result to the method controller 32 in a sequential and anti-sequential manner;
the method controller 32 sends the execution result corresponding to the target method function to the application program module through the dynamic proxy point and annotation processor 31.
According to the method, the system and the device, according to at least one of the processing state information of the local operating system and the current network quality information, one mode is selected from the local operating system and the cloud operating system as a target engine, the processing speed of the local operating system can be estimated through the processing state information of the local operating system, the processing speed of the cloud operating system can be estimated according to the current network quality information, and in implementation, an engine with high processing speed can be selected from the local operating system and the cloud operating system for executing a method function. Compared with the prior art, an engine is preset as an engine for executing the method function, so that the problem that the method function cannot be executed due to the preset engine fault can be avoided, and the reliability of the executing the method function is improved; in addition, the embodiment of the application can reasonably select the target engine for executing the method function according to the processing state information of the local operating system and the current network quality, so that the flexibility of executing the method function is improved; according to the processing state information and the current network quality of the local operating system, the embodiment of the application can select one engine with high processing speed from the local operating system and the cloud operating system for executing the method function, and can avoid the excessively slow execution speed of the method function caused by slow execution in one of the local operating system and the cloud operating system, so that the execution efficiency of the method function is improved.
In addition, the embodiment of the application also provides a mode for triggering the target engine to execute the target method function;
in practice, the method controller, after determining a target engine for executing the target method function from at least two alternative engines, notifies the determined target engine to the dynamic proxy point, and the dynamic proxy point triggers the target engine to execute the target method function.
When the target engine is a local operating system, the dynamic proxy sends parameters to the local operating system;
when the target engine is a cloud operating system, the dynamic proxy sends parameters and codes to the cloud operating system.
It should be noted that, the annotation processor and the method controller in the embodiments of the present application may be one-to-one corresponding to the application program, or may be one annotation processor and one method controller corresponding to a plurality of application programs, where different application programs may call the annotation processor and the method controller when executing the method function.
It should be noted that, when describing the specific scheme of executing the method function by the application program, the functions implemented by the annotation processor and the method controller are implemented by two modules respectively.
For example, as shown in fig. 7, a framework diagram of an application execution method function is provided in an embodiment of the present application. Including an application module 70, a control module 71, a method function code storage area 72, and a local operating system 73, at least one remote server 74, and a cloud operating system 75 located in the remote server 74.
In the compiling process of the application program, the control module 71 traverses the target method function added with the multi-engine mark in the program, and marks the target method function with dynamic proxy points; and, the control module 71 stores the code clone corresponding to the target method function in the method function code storage area 72;
during the running process of the application program, the application program module 70 calls the method function, and the control module 71 judges whether the called method function has a multi-engine identifier; if yes, the control module 71 determines a target engine from at least two alternative engines;
the control module 71 determines a target engine for executing the target method function from the at least two alternative engines, and sends the parameters corresponding to the target method function to the target engine, so as to trigger the target engine to execute the target method function according to the parameters corresponding to the target method function. When the target engine is a cloud operating system, the control module 71 further needs to acquire codes corresponding to the target method functions from the method function code storage area 72, and send the codes corresponding to the target method functions to the cloud operating system 75 in the remote server 74;
After the target engine executes the target method function, returning an execution result corresponding to the target method function to the control module 71;
after receiving the execution result corresponding to the target method function, the control module 71 sends the execution result corresponding to the target method function to the application module 70, and the application module 70 continues to execute the next operation.
As shown in fig. 8, a flowchart of an application execution method function provided in the embodiment of the present application may be applied to the framework shown in any one of fig. 3 to fig. 7. The method may comprise the steps of:
step S81: when the application program calls the method function, confirming whether the called method function is a target method function with a multi-engine identifier;
step S82: determining a target engine for executing the target method function from at least two alternative engines aiming at the target method function with the multi-engine identification;
step S83: sending parameters corresponding to a target method function to the target engine, and triggering the target engine to execute the target method function according to the parameters corresponding to the target method function;
step S84: and receiving an execution result corresponding to the target method function returned by the target engine.
An alternative embodiment is that the determining, from at least two alternative engines, a target engine for executing the target method function, including:
the application program sends the parameters corresponding to the target method function to an annotation processor;
the annotation processor sends parameters corresponding to the target method function to a dynamic proxy point according to the dynamic proxy point information in the target method function, wherein the dynamic proxy point information is added into the target method function code according to the multi-engine identification in the target method function when the annotation processor compiles the target method function code;
the dynamic proxy sends parameters corresponding to the target method function to the method controller;
the method controller determines a target engine from at least two alternative engines for executing the target method function.
An optional implementation manner is that the sending the parameters corresponding to the target method function to the target engine includes: the method controller sends parameters corresponding to the target method function to the target engine; and
the receiving the execution result corresponding to the target method function returned by the target engine comprises the following steps:
And the method controller receives an execution result corresponding to the target method function returned by the target engine, and returns the execution result to the application program through the dynamic proxy point and the annotation processor.
An alternative implementation manner is that the alternative engine comprises a local operating system and a remotely located cloud operating system;
the method controller determines a target engine for executing the target method function from at least two alternative engines according to the following manner:
selecting the local operating system and the cloud operating system as the target engine; or (b)
And selecting one from the local operating system and the cloud operating system as the target engine according to at least one of the processing state information of the local operating system and the current network quality information.
In an optional implementation manner, when the local operating system and the cloud operating system are selected as the target engine, the method controller sends parameters corresponding to the target method function to the local operating system and the cloud operating system respectively;
the method controller receives an execution result corresponding to the target method function returned by the target engine according to the following mode:
And taking the received execution result returned by any one of the local operating system and the cloud operating system at first as an execution result corresponding to the target method function.
Based on the same inventive concept, the embodiment of the present application further provides a device for executing a method function by an application, and since the principle of the device for solving the problem is similar to that of the method for executing the method function by the application, the implementation of the device can refer to the implementation of the method, and the repetition is omitted.
As shown in fig. 9, a schematic structural diagram of an apparatus for executing a method function of an application program according to an embodiment of the present application includes:
an application module 91 for calling a method function;
an annotation processor 92 for confirming whether the called method function is a target method function with a multi-engine identification;
a method controller 93 for determining, for an object method function having a multi-engine identification, an object engine for executing the object method function from at least two alternative engines; sending parameters corresponding to a target method function to the target engine, and triggering the target engine to execute the target method function according to the parameters corresponding to the target method function; and receiving an execution result corresponding to the target method function returned by the target engine.
In an alternative embodiment, the application program module 91 is configured to: transmitting parameters corresponding to the target method function to an annotation processor;
the annotation processor 92 is configured to: according to the dynamic proxy point information in the target method function, parameters corresponding to the target method function are sent to dynamic proxy points, and the dynamic proxy point information is added into the target method function code according to the multi-engine identification in the target method function when the annotation processor 92 compiles the target method function code;
the method controller 93 is configured to: and receiving parameters corresponding to the target method function sent by the dynamic proxy point, and determining a target engine for executing the target method function from at least two alternative engines.
In an alternative embodiment, the method controller 93 is specifically configured to: and receiving an execution result corresponding to the target method function returned by the target engine, and returning the execution result to the application program module 91 through the dynamic proxy point and the annotation processor 92.
An alternative implementation manner is that the alternative engine comprises a local operating system and a remotely located cloud operating system; the method controller 93 is specifically configured to determine a target engine for executing the target method function from at least two candidate engines according to the following manner:
Selecting the local operating system and the cloud operating system as the target engine; or (b)
And selecting one from the local operating system and the cloud operating system as the target engine according to at least one of the processing state information of the local operating system and the current network quality information.
In an alternative embodiment, when the local operating system and the cloud operating system are selected as the target engine, the method controller 93 is specifically configured to: parameters corresponding to the target method function are respectively sent to the local operating system and the cloud operating system;
the method controller 93 is specifically configured to receive an execution result corresponding to the target method function returned by the target engine according to the following manner:
and taking the received execution result returned by any one of the local operating system and the cloud operating system at first as an execution result corresponding to the target method function.
In an optional implementation manner, when the local operating system and the cloud operating system are selected as the target engine, or the cloud operating system is selected from the local operating system and the cloud operating system as the target engine, the method controller 93 is further configured to, when sending parameters corresponding to the target method function to the target engine:
Transmitting codes corresponding to the target method function obtained from a method function code storage area to the cloud operating system, so that the cloud operating system executes the target method function according to the codes corresponding to the target method function and parameters corresponding to the target method function; the method comprises the steps of storing a target method function in a program compiling process, wherein codes corresponding to the target method function stored in a method function code storage area are cloned and stored in the source code of the target method function in the program compiling process.
In an optional implementation manner, the method controller 93 is specifically configured to send the parameters corresponding to the target method function and the codes corresponding to the target method function to the cloud operating system according to the following manner:
the method comprises the steps that parameters corresponding to the target method function and codes corresponding to the target method function are sent to a cloud engine agent, and the cloud engine agent sends the parameters corresponding to the target method function and the codes corresponding to the target method function to the cloud operating system in a serialization and/or anti-serialization mode;
the method controller 93 is specifically configured to receive an execution result corresponding to the target method function returned by the cloud operating system according to the following manner:
And receiving an execution result corresponding to the target method function returned by the cloud operating system through the cloud engine agent.
For convenience of description, the above parts are described as being functionally divided into modules (or units) respectively. Of course, the functions of each module (or unit) may be implemented in the same piece or pieces of software or hardware when implementing the present application.
In addition, an embodiment of the present application further provides an electronic device 100, as shown in fig. 10, including: at least one processor 101; and a memory 102 communicatively coupled to the at least one processor; wherein,
the memory 102 stores instructions executable by the at least one processor 101 to enable the at least one processor 101 to perform the method of application execution method functions described above.
Having described the method and apparatus for an application program to perform a method function according to an exemplary embodiment of the present application, a computing apparatus according to another exemplary embodiment of the present application is next described.
Those skilled in the art will appreciate that the various aspects of the present application may be implemented as a system, method, or program product. Accordingly, aspects of the present application may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
In some possible implementations, a computing device according to the present application may include at least one processing unit, and at least one memory unit. Wherein the storage unit stores program code which, when executed by the processing unit, causes the processing unit to perform the steps in the method of executing the method functions of the application program according to various exemplary embodiments of the application described in the present specification. For example, the processing unit may execute the flow of the application execution method function in steps S81 to S84 shown in fig. 8.
A computing device 110 according to such an embodiment of the present application is described below with reference to fig. 11. The computing device 110 shown in fig. 11 is merely an example and should not be taken as limiting the functionality and scope of use of embodiments of the present application.
As shown in fig. 11, the computing device 110 is in the form of a general purpose computing device. Components of computing device 110 may include, but are not limited to: the at least one processing unit 111, the at least one memory unit 112, a bus 113 connecting the different system components, including the memory unit 112 and the processing unit 111.
Bus 113 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, and a local bus using any of a variety of bus architectures.
The storage unit 112 may include readable media in the form of volatile memory, such as Random Access Memory (RAM) 1121 and/or cache memory 1122, and may further include Read Only Memory (ROM) 1123.
Storage unit 112 may also include a program/utility 1125 having a set (at least one) of program modules 1124, such program modules 1124 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The computing device 110 may also communicate with one or more external devices 114 (e.g., keyboard, pointing device, etc.), one or more devices that enable a user to interact with the computing device 110, and/or any devices (e.g., routers, modems, etc.) that enable the computing device 110 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 115. Moreover, the computing device 110 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through a network adapter 116. As shown, network adapter 116 communicates with other modules for computing device 11 over bus 113. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in connection with computing device 110, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The embodiments of the present application also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of executing a method function of an application program as described above.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.
Claims (9)
1. A method for an application to perform a method function, the method comprising:
the application program calls the method function, and the annotation processor confirms whether the called method function is a target method function with multiple engine identifications;
for a target method function with a multi-engine identifier, an application program sends parameters corresponding to the target method function to the annotation processor;
the annotation processor sends parameters corresponding to the target method function to a dynamic proxy point according to the dynamic proxy point information in the target method function, wherein the dynamic proxy point information is added into the target method function code according to the multi-engine identification in the target method function when the annotation processor compiles the target method function code;
the dynamic proxy sends parameters corresponding to the target method function to a method controller;
the method controller determines a target engine for executing the target method function from at least two alternative engines;
sending parameters corresponding to a target method function to the target engine, and triggering the target engine to execute the target method function according to the parameters corresponding to the target method function;
And receiving an execution result corresponding to the target method function returned by the target engine.
2. The method of claim 1, wherein:
the sending the parameters corresponding to the target method function to the target engine includes: the method controller sends parameters corresponding to the target method function to the target engine; and
the receiving the execution result corresponding to the target method function returned by the target engine comprises the following steps: and the method controller receives an execution result corresponding to the target method function returned by the target engine, and returns the execution result to the application program through the dynamic proxy point and the annotation processor.
3. The method of claim 2, wherein the alternative engine comprises a local operating system and a remotely located cloud operating system;
the method controller determines a target engine for executing the target method function from at least two alternative engines according to the following manner:
selecting the local operating system and the cloud operating system as the target engine; or (b)
And selecting one from the local operating system and the cloud operating system as the target engine according to at least one of the processing state information of the local operating system and the current network quality information.
4. The method of claim 3, wherein when the local operating system and the cloud operating system are selected as the target engine, the method controller sends parameters corresponding to the target method function to the local operating system and the cloud operating system, respectively;
the method controller receives an execution result corresponding to the target method function returned by the target engine according to the following mode:
and taking the received execution result returned by any one of the local operating system and the cloud operating system at first as an execution result corresponding to the target method function.
5. The method of claim 3, wherein when selecting the local operating system and the cloud operating system as the target engine or selecting the cloud operating system from the local operating system and the cloud operating system as the target engine, the method controller further comprises:
the method controller sends codes corresponding to the target method functions obtained from a method function code storage area to the cloud operating system, so that the cloud operating system executes the target method functions according to the codes corresponding to the target method functions and parameters corresponding to the target method functions; the method comprises the steps of storing a target method function in a program compiling process, wherein codes corresponding to the target method function stored in a method function code storage area are cloned and stored in the source code of the target method function in the program compiling process.
6. The method of claim 5, wherein the method controller sends parameters corresponding to the target method function and codes corresponding to the target method function to the cloud operating system according to the following manner:
the method controller sends the parameters corresponding to the target method function and the codes corresponding to the target method function to a cloud engine agent, and the cloud engine agent sends the parameters corresponding to the target method function and the codes corresponding to the target method function to the cloud operating system in a serialization and/or anti-serialization mode;
the method controller receives an execution result corresponding to the target method function returned by the cloud operating system according to the following mode:
and the method controller receives an execution result corresponding to the target method function returned by the cloud operating system through the cloud engine agent.
7. An apparatus for executing a method function by an application program, comprising:
the application program module is used for calling the method function, and for the target method function with the multi-engine identifier, the application program sends the parameters corresponding to the target method function to the annotation processor;
The annotation processor is used for confirming whether the called method function is a target method function with multiple engine identifications, sending parameters corresponding to the target method function to dynamic proxy points according to dynamic proxy point information in the target method function, wherein the dynamic proxy point information is added into the target method function code according to the multiple engine identifications in the target method function when the annotation processor compiles the target method function code; the dynamic proxy sends parameters corresponding to the target method function to a method controller;
a method controller for determining a target engine for executing the target method function from at least two alternative engines; sending parameters corresponding to a target method function to the target engine, and triggering the target engine to execute the target method function according to the parameters corresponding to the target method function; and receiving an execution result corresponding to the target method function returned by the target engine.
8. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 6.
9. A computer readable medium storing computer executable instructions for performing the method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910825860.1A CN112445607B (en) | 2019-09-03 | 2019-09-03 | Method and device for executing method function by application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910825860.1A CN112445607B (en) | 2019-09-03 | 2019-09-03 | Method and device for executing method function by application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112445607A CN112445607A (en) | 2021-03-05 |
CN112445607B true CN112445607B (en) | 2024-03-08 |
Family
ID=74734331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910825860.1A Active CN112445607B (en) | 2019-09-03 | 2019-09-03 | Method and device for executing method function by application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112445607B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116579914B (en) * | 2023-07-14 | 2023-12-12 | 南京砺算科技有限公司 | Execution method and device of graphic processor engine, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101553769A (en) * | 2005-10-11 | 2009-10-07 | 努雅公司 | Method and system for tracking and monitoring computer applications |
CN106161409A (en) * | 2015-04-23 | 2016-11-23 | 珀金埃尔默企业管理(上海)有限公司 | A kind of agent framework service system including local component and method |
US9952844B1 (en) * | 2016-10-24 | 2018-04-24 | International Business Machines Corporation | Executing optimized local entry points and function call sites |
CN108958796A (en) * | 2017-05-23 | 2018-12-07 | 阿里巴巴集团控股有限公司 | service request processing method and device, service request processing system |
CN109597931A (en) * | 2018-10-25 | 2019-04-09 | 北京开普云信息科技有限公司 | A kind of intelligently pushing method and system of rule-based engine |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100050182A1 (en) * | 2007-12-03 | 2010-02-25 | Zircon Computing Llc | Parallel processing system |
US8250059B2 (en) * | 2009-09-14 | 2012-08-21 | International Business Machines Corporation | Crawling browser-accessible applications |
US9424006B2 (en) * | 2014-12-24 | 2016-08-23 | International Business Machines Corporation. | Execution optimization of mobile applications |
-
2019
- 2019-09-03 CN CN201910825860.1A patent/CN112445607B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101553769A (en) * | 2005-10-11 | 2009-10-07 | 努雅公司 | Method and system for tracking and monitoring computer applications |
CN106161409A (en) * | 2015-04-23 | 2016-11-23 | 珀金埃尔默企业管理(上海)有限公司 | A kind of agent framework service system including local component and method |
US9952844B1 (en) * | 2016-10-24 | 2018-04-24 | International Business Machines Corporation | Executing optimized local entry points and function call sites |
CN108958796A (en) * | 2017-05-23 | 2018-12-07 | 阿里巴巴集团控股有限公司 | service request processing method and device, service request processing system |
CN109597931A (en) * | 2018-10-25 | 2019-04-09 | 北京开普云信息科技有限公司 | A kind of intelligently pushing method and system of rule-based engine |
Also Published As
Publication number | Publication date |
---|---|
CN112445607A (en) | 2021-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108829378B (en) | Application software development method and device and electronic equipment | |
CN102187313B (en) | Caching runtime generated code | |
CN102193812B (en) | Code compiling method, host computer and system | |
US11556348B2 (en) | Bootstrapping profile-guided compilation and verification | |
CN104471557A (en) | Optimized execution of dynamic languages | |
CN104246702A (en) | Workflow compilation | |
CN109196476A (en) | Seamless high-performance interoperability between the different type figure of shared garbage collector | |
KR20120139403A (en) | Device and method for executing and managing job file of game server | |
CN111782181A (en) | Code generation method and device, electronic equipment and storage medium | |
WO2012051844A1 (en) | Intelligent network platform, method for executing services and method for analyzing service abnormity | |
CN104166570A (en) | On-line file updating method, equipment and system | |
CN112445607B (en) | Method and device for executing method function by application program | |
CN110209565B (en) | Metadata model debugging method and device | |
CN112130849B (en) | Code automatic generation method and device | |
CN109558121A (en) | Development approach, device, equipment and the storage medium of interface drive program | |
CN116400987B (en) | Continuous integration method, device, electronic equipment and storage medium | |
CN109508193B (en) | Application deployment and operation method, device, terminal equipment and medium | |
CN114115884A (en) | Management method and related device for programming service | |
CN113495723B (en) | Method, device and storage medium for calling functional component | |
US20170083298A1 (en) | Resilient format for distribution of ahead-of-time compiled code components | |
CN114020262A (en) | Dispatching method and system for functional module of relay protection device | |
CN113791809A (en) | Application exception handling method and device and computer readable storage medium | |
CN112612474A (en) | Product transplanting method and device, storage medium and electronic equipment | |
CN115686676B (en) | Dynamic calling method and device for object and electronic equipment | |
CN113590166B (en) | Application program updating method and device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |