Development method and apparatus of cross-language program, and execution method and apparatus
Through the development and execution method of cross-language programs, using the main development platform, component adding modules and conversion components, the problem of calling functional components in different language environments is solved, the seamless integration of cross-language programs and the simplified development process are achieved, and user interaction needs are met.
Patent Information
- Application Number
- CN202411963308.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-12-30
AI Technical Summary
Functional components developed in different programming languages are difficult to run in one program, resulting in duplication of work and waste of resources, especially when developers are not familiar with the main framework language, making redevelopment difficult.
A cross-language program development and execution method is provided. The method realizes communication and function calls in different language environments through a main development platform, a component addition module and a conversion component. The method includes configuring the trigger events and binding relationships of the controls, using the conversion component to construct a second language environment in the first environment to load the business execution component, and converting the result into the format of the first environment.
It realizes function calling in different language environments, avoids repeated development, reduces dependence on the main framework language, simplifies the development process, and meets user interaction needs.
Smart Images

Figure CN119668564B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of software technology and can be used in the field of financial technology or other fields. More specifically, it relates to a cross-language program development device and method, a cross-language program execution method and device, electronic equipment, media, and program products. Background Art
[0002] Applications are typically developed using a single programming language (such as C, C++, C#, or Java). This creates a problem: functions written in different languages are often difficult to run within a single program. For example, if a function developed in one language (such as a JAR file) is to be added to a program whose main framework is developed in another language, the component must be redeveloped using the same language as the framework. This inevitably leads to duplication of work and waste of resources. Furthermore, if the component's developer is unfamiliar with the framework's development language, the difficulty of redeveloping the component is significantly increased, a common occurrence. Summary of the Invention
[0003] In view of the above problems, the present disclosure provides a cross-language program development device and method, a cross-language program execution method and device, an electronic device, a medium, and a program product.
[0004] A first aspect of an embodiment of the present disclosure provides a cross-language program development device, comprising: a main development platform, a component adding module, and a conversion component.
[0005] The main body development platform is used to configure the main body framework, wherein the main body framework is implemented by a first language, and the operating environment of the first language is a first environment.
[0006] The component adding module is used to add a service execution component, where the service execution component is implemented in a second language, and the operating environment of the second language is the second environment.
[0007] The conversion component runs in the first environment, is used to communicate with the main framework and construct the second environment in the first environment to load the business execution component in the constructed second environment.
[0008] The main framework includes a user interface and controls displayed in the user interface. The main development platform is also used to configure the trigger event of the control and the first binding relationship between the control and the first function in the business execution component. The conversion component is also used to receive a response event of the control to the trigger event, load the business execution component based on the first binding relationship and trigger the execution of the first function when the response event is received, and convert the execution result of the first function into the format of the first environment and then transmit it back to the user interface.
[0009] According to an embodiment of the present disclosure, the main development platform includes a configuration file, which is used to configure the control, wherein the configuration file includes a plurality of nodes, each node is used to configure specified information.
[0010] According to an embodiment of the present disclosure, the multiple nodes include a control node and a function node. The control node is used to configure the position information of the control in the user interface and the display properties of the control; and the function node is used to configure the trigger event of the control and the first binding relationship between the control and the first function in the service execution component.
[0011] According to an embodiment of the present disclosure, the plurality of nodes further include a startup node, and the startup node is used to configure preloading information of the control when the main framework is started.
[0012] According to an embodiment of the present disclosure, the preload information includes a second binding relationship between the control and a second function in the business execution component. The conversion component is further configured to: load the business execution component based on the second binding relationship and trigger execution of the second function when the main framework is started, and convert the execution result of the second function into a format in the first environment and transmit it back to the user interface.
[0013] According to an embodiment of the present disclosure, the main body development platform includes at least one container, and the container is used to configure the user interface.
[0014] According to an embodiment of the present disclosure, the at least one container includes an interface container and a table container.
[0015] In a second aspect, a method for developing a cross-language program is provided. The method comprises: configuring a main framework, wherein the main framework is implemented by a first language, and a running environment of the first language is a first environment; adding a business execution component, wherein the business execution component is implemented by a second language, and a running environment of the second language is a second environment; and establishing a communication connection between the main framework and the business execution component through a conversion component, wherein the conversion component is run in the first environment, is used to communicate with the main framework, and constructs the second environment in the first environment to load the business execution component in the constructed second environment. The main framework comprises a user interface and a control displayed in the user interface. Accordingly, the configuring of the main framework comprises configuring a trigger event of the control and a first binding relationship between the control and a first function in the business execution component. The establishing of the communication connection between the main framework and the business execution component through the conversion component comprises configuring the conversion component to perform the following operations: receiving a response event of the control to the trigger event, loading the business execution component and triggering execution of the first function based on the first binding relationship when the response event is received, and returning an execution result of the first function to the user interface after the execution result is converted into a format in the first environment.
[0016] In a third aspect, a method for executing a cross-language program is provided. The cross-language program comprises a main framework, a business execution component and a conversion component. The main framework is implemented by a first language, the business execution component is implemented by a second language, a running environment of the first language is a first environment, and a running environment of the second language is a second environment. The conversion component is run in the first environment and can construct the second environment in the first environment. The method comprises: in response to receiving a start instruction, starting the main framework in the first environment, wherein the main framework comprises a user interface and a control displayed in the user interface; in response to the starting of the main framework, configuring the control, including configuring a trigger event of the control and a first binding relationship between the control and a first function in the business execution component; when the trigger event is received through the user interface, obtaining a response event of the control to the trigger event; and based on the response event, triggering the conversion component to perform the following operations: constructing the second environment in the first environment; loading the business execution component in the constructed second environment and triggering execution of the first function based on the first binding relationship; and returning an execution result of the first function to the user interface after the execution result is converted into a format in the first environment.
[0017] According to an embodiment of the present disclosure, configuring the control includes: configuring the control by reading a configuration file of the control, wherein the configuration file includes a plurality of nodes, and each node is used to configure specified information.
[0018] According to an embodiment of the present disclosure, the multiple nodes include control nodes and function nodes, and the configuration of the control includes: configuring the position and display effect of the control in the user interface by reading the control node, wherein the control node is used to configure the position information of the control in the user interface and the display properties of the control; configuring the trigger event of the control and the first binding relationship between the control and the first function in the business execution component by reading the function node, wherein the function node is used to configure the trigger event and the first binding relationship.
[0019] According to an embodiment of the present disclosure, the multiple nodes also include a startup node, and configuring the control also includes: configuring the preloading information of the control by reading the startup node, wherein the startup node is used to configure the preloading information of the control when the main frame is started.
[0020] According to an embodiment of the present disclosure, the preloading information includes a second binding relationship between the control and the second function in the business execution component, wherein the preloading information for configuring the control also includes: the conversion component reads the startup node and executes based on the second binding relationship: constructs the second environment in the first environment, loads the business execution component based on the second binding relationship and triggers the execution of the second function, and converts the execution result of the second function into the format in the first environment and then returns it to the user interface.
[0021] According to an embodiment of the present disclosure, starting the main framework in the first environment includes: acquiring at least one container for configuring the user interface; and loading the user interface based on information in the at least one container.
[0022] A fourth aspect of the disclosed embodiments provides a device for executing a cross-language program, wherein the cross-language program includes a main framework, a service execution component, and a conversion component. The main framework is implemented in a first language, the service execution component is implemented in a second language, the first language operates in a first environment, and the second language operates in a second environment. The conversion component operates in the first environment and is capable of constructing the second environment within the first environment. The device includes a startup unit, a configuration unit, and an interaction unit.
[0023] The starting unit is configured to start the main frame in the first environment in response to receiving a starting instruction, wherein the main frame comprises a user interface and a control displayed in the user interface.
[0024] The configuration unit is configured to configure the control in response to starting of the main frame, comprising configuring a trigger event of the control and a first binding relationship between the control and a first function in a business execution component.
[0025] The interaction unit is configured to: when a trigger event of the control is received through the user interface, acquire a response event of the control to the trigger event; and based on the response event, trigger the conversion component to perform the following operations: construct the second environment in the first environment; based on the first binding relationship, load the business execution component in the constructed second environment and trigger execution of the first function; and convert an execution result of the first function into a format in the first environment and return the execution result to the user interface.
[0026] A fifth aspect of the embodiments of the present disclosure provides an electronic device, comprising: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method provided in the second aspect or the third aspect.
[0027] A sixth aspect of the embodiments of the present disclosure further provides a computer-readable storage medium having a computer program or instructions stored thereon, wherein the computer program or instructions are executed by a processor to implement the steps of the method provided in the second aspect or the third aspect.
[0028] A seventh aspect of the embodiments of the present disclosure further provides a computer program product comprising a computer program or instructions, wherein the computer program or instructions are executed by a processor to implement the steps of the method provided in the second aspect or the third aspect. BRIEF DESCRIPTION OF DRAWINGS
[0029] The above and other objects, features and advantages of the present disclosure will become more apparent from the following description when taken in conjunction with the accompanying drawings, in which:
[0030] Figure 1 The structure and calling logic of the cross-language program according to the embodiments of the present disclosure are schematically shown;
[0031] Figure 2 The application scenario diagram of the development device, execution device and method of the cross-language program according to the embodiments of the present disclosure is schematically shown;
[0032] Figure 3 The structural schematic diagram of the development device of the cross-language program according to the embodiments of the present disclosure is schematically shown;
[0033] Figure 4 Fig. 1 schematically shows a configuration file in a subject development platform in a development device of a cross-language program according to an embodiment of the present disclosure;
[0034] Figure 5 Fig. 2 schematically shows a flowchart of a development method of a cross-language program according to an embodiment of the present disclosure;
[0035] Figure 6 Fig. 3 schematically shows a flowchart of an execution method of a cross-language program according to an embodiment of the present disclosure;
[0036] Figure 7 Fig. 4 schematically shows a flowchart of configuring a control in an execution method of a cross-language program according to another embodiment of the present disclosure;
[0037] Figure 8 Fig. 5 schematically shows a flowchart of an execution method of a cross-language program according to still another embodiment of the present disclosure;
[0038] Figure 9 Fig. 6 schematically shows a structural diagram of an execution device of a cross-language program according to an embodiment of the present disclosure; and
[0039] Figure 10 Fig. 7 schematically shows a structural diagram of an electronic device suitable for implementing a development method or an execution method of a cross-language program according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0040] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood, however, that the description which follows is merely exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description of the embodiments of the present disclosure, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. However, it would be apparent to one skilled in the art that the present disclosure can be practiced without these specific details. In other instances, well-known structures and functions have not been described in detail in order to avoid obscuring the concepts of the present disclosure.
[0041] The terms used herein are merely used to describe specific embodiments and are not intended to limit the present disclosure. The terms "include", "comprise", and the like used herein indicate the presence of the described features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0042] All terms used herein, including technical and scientific terms, have the same meanings as those generally understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having meanings consistent with the context of the present specification, and should not be interpreted in an idealized or excessively formal manner.
[0043] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0044] Figure 1 The diagram schematically illustrates the structure and calling logic of a cross-language program 100 according to an embodiment of the present disclosure.
[0045] like Figure 1 As shown, the cross-language program 100 of the disclosed embodiment includes a main framework 110, a business execution component 130, and a conversion component 120. The main framework 110 is implemented in a first language, the operating environment of which is the first environment. The main framework 110 includes a user interface and controls displayed in the user interface. The business execution component 130 is implemented in a second language, the operating environment of which is the second environment. The conversion component 120 runs in the first environment and is capable of constructing a second environment within the first environment. The conversion component 120 can communicate with the main framework 110 in the first environment and, through the constructed second environment, load the business execution component 130 in the constructed second environment, thereby enabling communication between the main framework 110 and the business execution component 130. For example, assuming that the main framework 110 is implemented in C# and the business execution component 130 is implemented in Java, the first environment is the .NET framework and the second environment is the Java virtual machine. Accordingly, the conversion component 120 is a component that runs in the .NET framework and is capable of launching a Java virtual machine process within the .NET framework.
[0046] In the embodiment of the present disclosure, the specific way in which the main framework 110 calls the business execution component 130 is: receiving a trigger event (such as a click) of a control through the user interface, and then sending the control's response event to the trigger event to the conversion component 120, and then the conversion component 120 calls the business execution component 130 to execute in the second environment, and converts the execution result into the format in the first environment and then returns it to the user interface for display. In this way, the business execution component 130 in the cross-language program 100 of the embodiment of the present disclosure can be used only for back-end business logic execution, while other functions are implemented by the main framework 110 and the conversion component 120. Therefore, when the main framework 110 developed in the first language needs to call the business execution component 130 developed in the second language, it can be achieved by simply configuring the control in the main framework 110, avoiding the trouble of repeatedly developing the business execution component 130, and also expanding the functionality of the program.
[0047] Furthermore, with the technological development of the internet, the rise of web applications and the decline of desktop applications, most developers have shifted from desktop application development to web application development. C#, the desktop application development language, is no longer the mainstream development language, while Java, the web application development language, has become one of the leading languages. In certain application scenarios (such as office environments and report compilation), desktop applications remain the primary choice for programming due to their enhanced interface interaction and richer functionality. However, there is a severe shortage of C# developers in the current development market, resulting in an unmet demand for desktop application development. The cross-language program 100 of the disclosed embodiment effectively addresses this issue. Specifically, the cross-language program 100 of the disclosed embodiment enables desktop applications to be developed using both C# and Java. For example, the main framework 110 can be developed using C#, and then the business execution component 130 developed in Java can be run within the program through the conversion component 120. This enables C# to call Java program modules, allowing business logic to be implemented in Java, reducing reliance on C# developers.
[0048] Figure 2 The application scenario diagram of the development apparatus, execution apparatus, and method of the cross-language program 100 according to an embodiment of the present disclosure is schematically shown.
[0049] like Figure 2 As shown, the application scenario 200 according to this embodiment may include a first terminal device 201, a second terminal device 202, a third terminal device 203, a network 204, and a server 205. The network 204 is a medium for providing a communication link between the first terminal device 201, the second terminal device 202, the third terminal device 203, and the server 205. The network 204 may include various connection types, such as wired or wireless communication links or optical fiber cables, etc.
[0050] A user may use a first terminal device 201, a second terminal device 202, or a third terminal device 203 to interact with a server 205 via a network 204 to receive or send messages, etc. Various communication client applications may be installed on the first terminal device 201, the second terminal device 202, or the third terminal device 203, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, software development tools, etc. (for example only).
[0051] The first terminal device 201 , the second terminal device 202 , and the third terminal device 203 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0052] The server 205 may be a server that provides various services, such as a background management server that provides support for websites browsed by users using the first terminal device 201 , the second terminal device 202 , and the third terminal device 203 (only as an example).
[0053] It should be noted that the cross-language program development method or execution method provided by the embodiment of the present disclosure can generally be executed by the server 205. Accordingly, the cross-language program development device or execution device provided by the embodiment of the present disclosure can generally be set in the server 205. The cross-language program development method or execution method provided by the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 205 and can communicate with the first terminal device 201, the second terminal device 202, the third terminal device 203 and / or the server 205. Accordingly, the cross-language program development device or execution device provided by the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 205 and can communicate with the first terminal device 201, the second terminal device 202, the third terminal device 203 and / or the server 205.
[0054] It should be understood that Figure 2 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.
[0055] It should be noted that the methods and devices provided in the embodiments of the present disclosure can be used in the field of financial technology, and can also be used in any field other than the field of financial technology. The present disclosure does not limit the application field.
[0056] Figure 3 The structure diagram of the cross-language program development device 300 according to an embodiment of the present disclosure is schematically shown.
[0057] like Figure 3 As shown, the apparatus 300 may include a main body development platform 310, a component adding module 320, and a conversion component 120. The apparatus 300 may be implemented in a first language.
[0058] The main development platform 310 is used to configure the main framework 110, wherein the main framework 110 is implemented in a first language, and the operating environment of the first language is a first environment. The main framework 110 includes a user interface and controls displayed in the user interface.
[0059] The component adding module 320 is used to add the service execution component 130 . The service execution component 130 is implemented in a second language, and the operating environment of the second language is the second environment.
[0060] The conversion component 120 runs in the first environment, is used to communicate with the main framework 110 and construct a second environment in the first environment to load the business execution component 130 in the constructed second environment. In the embodiment of the present disclosure, the conversion component 120 can be used to implement the first language calling the second language program. In one embodiment, the conversion component 120 can implement the conversion of the low-level language compiled from the second language to the low-level language compiled from the first language (such as the conversion of Java bytecode to .NET intermediate language), so that the business execution component 130 written in the second language can run in the first environment. In other embodiments, the conversion component 120 can also implement the conversion from the second language to the first language (such as the conversion of Java class library to .NET class library).
[0061] Furthermore, the main development platform 310 is also used to configure a triggering event of the control and a first binding relationship between the control and the first function in the business execution component 130 .
[0062] Accordingly, conversion component 120 is further configured to receive a response event from the control to the trigger event. Upon receiving the response event, conversion component 120 loads service execution component 130 based on the first binding relationship, triggers execution of the first function, and converts the execution result of the first function into a format suitable for the first environment before transmitting the result back to the user interface. The first function may be all functions within service execution component 130, or a portion of the functions (e.g., a specific function, class, or method).
[0063] Thus, when developing a cross-language program 100 using the apparatus 300, the main framework 110 can be developed in a first language on the main development platform 310, while the business execution component 130 developed in a second language can be added. Then, by configuring the corresponding controls on the main development platform 310, the business execution component 130 can be called through the conversion component 120 to execute specific backend logic and obtain execution results. This avoids duplicate development of the business execution component 130, facilitates functional expansion of the main framework 110, and lowers the development threshold for the business execution component 130.
[0064] The conversion component 120 in the embodiment of the present disclosure may be a component written in the first language, or may be obtained by configuring an existing component (such as a converter for a Java virtual machine and bytecode to intermediate language on a .NET platform).
[0065] In other embodiments, the main development platform 310 further includes at least one container (e.g., an interface container and a table container), wherein the container is used to configure the user interface. In one embodiment, an interface container can be pre-installed in the code of the main development platform 310 (code implemented in the first language) to display the configurable user interface. For example, the interface container is pre-processed with a layout, divided into two parts: the upper half is a parameter area, and the lower half is a button area, with a table container placed in each area. This allows developers to quickly develop user interfaces by dragging, dropping, dropping, filling, and other configurations of the layout of the interface container and / or table container in the main development platform 310, avoiding the need to write the user interface in the first language and reducing development difficulty.
[0066] In some embodiments, the main development platform 310 may also include a configuration file for configuring controls. The configuration file includes multiple nodes, each of which is used to configure specific information. This allows developers to quickly configure controls in the main development platform 310 by filling in the specific information for each node in the configuration file, thus achieving low-code development.
[0067] In one embodiment, the multiple nodes in the configuration file can be divided into control nodes, function nodes and startup nodes, such as Figure 4 shown.
[0068] Control nodes are used to configure the position of controls in the user interface and their display properties (e.g., style, elements, color, and other display effects). In one embodiment, control nodes define the style and elements of each control in the user interface. Styles include element width, position layout, and echo value, while elements include buttons, input boxes, labels, and drop-down boxes.
[0069] The function node is used to configure the trigger event of the control and the first binding relationship between the control and the first function in the service execution component 130. In one embodiment, the function node defines the trigger event bound to the control and the specific function (e.g., a JAR package function) in the service execution component 130. The function method name, parameter names, etc. can be configured in the function node.
[0070] The startup node is used to configure preloaded information (such as preloaded text information, image information, default values, etc.) of the control when the main framework 110 is started. By preloading this information, the execution result of the first function of the business execution component can be displayed on the user interface more quickly when the control is triggered.
[0071] In one embodiment, the preloading information configured in the startup node may include a second binding relationship between the control and a second function in the business execution component 130. For example, the startup node may define the functions, methods, calling methods, and interface linkage methods of the business execution component 130 that need to be preloaded in the control when the user interface is initialized. In this case, the conversion component 120 is further configured to: read the second binding relationship defined in the startup node when the main framework 110 is started or the user interface is initialized, load the business execution component 130 based on this second binding relationship, trigger the execution of the second function, and convert the execution result of the second function into the format of the first environment before transmitting it back to the user interface. This allows some functions of the business execution component (such as preconditions of the first function, such as some unchanged functions, methods, and parameters) to be preloaded in the control, improving the execution speed of the first function in the business execution component when the control is triggered, thereby improving the interactive response efficiency of cross-language programs.
[0072] In this way, the development device of the embodiment of the present disclosure provides a configurable container and configuration files, so that developers can implement configurable development of user interfaces and controls by writing configurations. On the one hand, it simplifies the development process of the main framework 110, and on the other hand, it reduces the dependence on the first language when the developer is not familiar with the first language, thereby lowering the development threshold.
[0073] Figure 5 The flowchart of a method for developing a cross-language program 100 according to an embodiment of the present disclosure is schematically shown. The method can be executed by a development device 300 .
[0074] Specifically, if Figure 5 As shown, the development method may include operations S510 to S530, wherein operation S530 at least includes operations S531 to S533.
[0075] In operation S510, the main framework 110 is configured. The main framework 110 includes a user interface and controls displayed in the user interface. Configuring the main framework 110 includes configuring the user interface and controls. Configuring the controls specifically includes configuring a trigger event for the control and a first binding relationship between the control and a first function in the business execution component 130.
[0076] In operation S520 , a service execution component 130 is added. The service execution component 130 is implemented in a second language, and the operating environment of the second language is a second environment.
[0077] In operation S530, a communication connection is established between the main framework 110 and the business execution component 130 through the conversion component 120; wherein, the conversion component 120 is run in the first environment, used to communicate with the main framework 110, and construct a second environment in the first environment to load the business execution component 130 in the constructed second environment.
[0078] Specifically, operation S530 includes configuring the conversion component 120 , and specifically includes operations S531 to S533 .
[0079] In operation S531 , the configuration conversion component 120 receives a response event of the control to the trigger event.
[0080] In operation S532 , when the configuration conversion component 120 receives the response event, it loads the service execution component 130 based on the first binding relationship and triggers execution of the first function.
[0081] In operation S533 , the configuration conversion component 120 converts the execution result of the first function into a format in the first environment and transmits the result back to the user interface.
[0082] In other embodiments, preloading information may be configured for the control. When the preloading information includes a second binding relationship between the control and a second function in the service execution component 130, operation S530 may further configure the conversion component 120 to perform the following operations: when the main framework 110 is started or the user interface is initialized, the preloading information configured for the control is read, and based on the second binding relationship, the service execution component 130 is loaded and the execution of the second function is triggered, and the execution result of the second function is converted into the format of the first environment and then transmitted back to the user interface.
[0083] The development method of the disclosed embodiment allows developers to add a business execution component 130 developed in a second language to a main framework 110 developed in a first language. By configuring the control, the triggering of the control is associated with the business logic of the business execution component 130. This allows the triggering of the control to invoke the backend business logic through the conversion component 120 and return the execution results to the user interface for display. This avoids duplicate business logic development and facilitates developer use.
[0084] After the developer has developed the program using the development device of the embodiment of the present disclosure (e.g., the developer clicks submit), the development device can encapsulate the configured main framework 110, the added business execution component 130, and the conversion component 120 together to form a cross-language program 100. The embodiment of the present disclosure accordingly provides an execution method applicable to the cross-language program. Figure 6~Figure 8 The execution method of the cross-language program according to the embodiment of the present disclosure is exemplarily introduced.
[0085] Figure 6 The flowchart schematically shows a method for executing a cross-language program according to an embodiment of the present disclosure.
[0086] like Figure 6 As shown, the method for executing a cross-language program according to an embodiment of the present disclosure may include operations S610 to S670.
[0087] In operation S610 , in response to receiving a start instruction, the main body frame 110 is started in the first environment, wherein the main body frame 110 includes a user interface and controls displayed in the user interface.
[0088] In operation S620, in response to the start of the main framework 110, the control is configured, wherein the trigger event of the control and the first binding relationship between the control and the first function in the business execution component 130 are configured. In one embodiment, the configuration can be performed by reading Figure 4 Configure the control using the information in the configuration file shown.
[0089] In operation S630 , a trigger event of the control is received through the user interface.
[0090] In operation S640 , in response to receiving the trigger event, a response event of the control to the trigger event is acquired.
[0091] In operation S650 , the conversion component 120 is triggered to construct a second environment in the first environment based on the response event.
[0092] In operation S660 , the conversion component 120 loads the service execution component 130 in the constructed second environment based on the first binding relationship and triggers execution of the first function.
[0093] Next, in operation S670 , the execution result of the first function is converted into a format in the first environment and then transmitted back to the user interface.
[0094] In one embodiment, when a control trigger event occurs (e.g., a user clicks a button), the control's function node in the configuration file can be read to locate detailed information about the first function to be called in the service execution component 130 (e.g., class name, method name, parameter types, and values). The target method in the service execution component 130 is then called and executed by the conversion component 120. After obtaining the execution result, the result is converted and returned, terminating the process. In one embodiment, when the first language is C# and the second language is Java, and the conversion component 120 is configured for a Java virtual machine and bytecode-to-intermediate language converter on the .NET platform, upon a trigger event, the function node in the configuration file is read to locate the class name, method name, parameter types, and values of the method to be called. The target method is then called using the Java virtual machine and bytecode-to-intermediate language converter on the .NET platform via reflection, and the JAR package waits for the call result information to be returned.
[0095] In the disclosed embodiment, when the cross-language program 100 is running, the triggering events for the controls and the binding relationship between the controls and the business execution component are first configured during startup. Then, when the controls are triggered, the conversion component calls the business execution component, implementing the call to the backend business execution logic triggered by the controls. Ultimately, the corresponding execution results of the business execution component are echoed to the user interface, thus ensuring the effective operation of the cross-language program 100. This achieves a cross-language call and execution system, implementing user interaction in a first language and backend business logic in a second language. The business execution component 130, which implements business logic functions, can be written in a second language familiar to developers (e.g., Java), while the user interface and control configuration within the main framework 110 can be implemented in a first language (e.g., C#), which facilitates user interaction (e.g., desktop interaction). This meets functional requirements while reducing reliance on development resources in the first language, which is unfamiliar to users. Furthermore, the advantages of the first language in user interaction can be leveraged to meet the user experience and interaction requirements of user interaction scenarios where the first language is more advantageous.
[0096] In one embodiment, Figure 7 As shown, the process of configuring the control in the above operation S620 may specifically include operations S721 to S726. Figure 4 Instructions are as follows.
[0097] First, in operation S721, the control nodes in the configuration file are read to configure the position and display effects of the controls in the user interface. Specifically, each control node in the configuration file is read, and the control type (e.g., button, text label, input box, drop-down box) is determined. The corresponding control is then dynamically created in the user interface. Other control attributes in the control node are read, such as the control name, displayed text, row and column, control width, and region. The created controls are then added to the corresponding table container in the user interface.
[0098] In operation S722, the control's trigger event and the first binding relationship between the control and the first function in the service execution component 130 are configured by reading the function nodes in the configuration file. Specifically, the control name in each function node in the configuration file is read, the newly created control is found, and the trigger event is bound to the control based on the trigger event information in the function node. At the same time, the service logic is bound to the control based on the information about the service execution component 130 (e.g., JAR package name, class name) and the first function (e.g., function name, method name) in the function node, thereby forming the first binding relationship.
[0099] In operation S723 , the preloading information of the control is configured by reading the startup node, wherein in this embodiment, the preloading information may include a second binding relationship between the control and the second function in the service execution component 130 .
[0100] Next, in operation S724 , the conversion component 120 reads the startup node in the configuration file, and constructs the second environment in the first environment based on the second binding relationship therein.
[0101] Then in operation S725 , the conversion component loads the service execution component 130 based on the second binding relationship and triggers execution of the second function.
[0102] Finally, in operation S726, the conversion component 120 converts the execution result of the second function into the format in the first environment and transmits it back to the user interface. The execution result of the second function is thereby used to configure the control in the user interface, such as displaying the execution result of the second function as the initial value or default value of the control. In the embodiment of the present disclosure, when the preloaded information in the startup node includes a second binding relationship, the conversion component can be triggered to load the function in the second binding relationship and echo the execution result. On the one hand, the initial display or default display of the second control before triggering can be kept consistent with when the back-end business logic is developed in the same language, so that the user does not feel it. On the other hand, when the second function is a predecessor function of the first function (such as a related function or parameter), the response efficiency of the control when triggered can also be increased.
[0103] Figure 8The flowchart schematically shows a method for executing a cross-language program according to yet another embodiment of the present disclosure.
[0104] like Figure 8 As shown, the cross-language program execution method of the embodiment of the present disclosure may include operations S1 to S7. Taking the main framework 110 implemented in C# and the business execution component 130 implemented in Java (eg, the business execution component 130 is a jar package) as an example, the following description is given.
[0105] S1, after receiving the program start instruction, the main interface frame of the user interface of the cross-language program 100 is loaded.
[0106] S2: Loading user interface configuration information, such as various containers (interface containers, table containers) used to configure the interface frame, and executing initialization methods for the interfaces in the containers based on the configuration information. For example, obtaining at least one container used to configure the user interface, and then loading the user interface based on the information in the at least one container.
[0107] S3, reads and parses the control node in the configuration file through the control creation module, generates the control defined in the control node, and adds the control to the user interface for display according to the position information and display properties of the control in the control node.
[0108] S4, read and parse the function node in the configuration file through the event trigger module, bind the click trigger event and the detailed information of the first function in the business execution component 130 for background execution of business logic to the dynamically generated control in S3.
[0109] S5, parsing the preloaded information in the startup node (echo configuration) in the configuration file through the event trigger module, and binding the control to the corresponding second function according to the preloaded information.
[0110] S6: During the loading of the user interface, the loading of the preloaded information in the startup node is triggered. The second environment is started in the first environment via conversion component 120, and the function implementing the second function in business execution component 130 is called. The response result is drawn to the user interface, and the data is displayed, thus configuring the preloaded information for the control. For example, conversion component 120 starts the JVM in the .NET environment, calls the function implementing the second function in the jar package, and draws the response result to the interface.
[0111] S7: After the user interface is loaded, if a user operates a control in the user interface, generating a trigger event for the control, the first function of the service execution component 130, which has a first binding relationship with the control, is executed. Specifically, the conversion component 120 launches the second environment in the first environment, calls various functions, parameters, and methods in the service execution component 130 that implement the first function, and displays the response results on the user interface, thereby achieving user interaction. For example, the conversion component 120 launches a JVM in the .NET environment, calls the function in the jar package that implements the first function, and displays the response results on the interface.
[0112] Specifically, when the conversion component 120 loads a service execution component 130 (e.g., a JAR file), it creates a corresponding .NET type based on the bytecode file of the service execution component 130. This type can contain various Java class information, such as the class name, properties, and methods. In the .NET environment, this type can be used to dynamically retrieve Java class information, create objects, and call methods. Thus, the main framework 110 loads the target Java package through the conversion component 120 and then specifies the class name, method name, parameter types, and values of the method to be called, thereby invoking the target Java method.
[0113] In one embodiment, the execution method of the cross-language program of the embodiment of the present disclosure can be pre-stored in the development device 300 in the form of an execution script or program module. After the user uses the development device 300 to develop the cross-language program 100, the execution script is packaged into the installation package when the installation package of the cross-language program 100 is formed.
[0114] Through the disclosed embodiments, the cross-language program 100 can accurately call business execution components 130 implemented in different languages through the main framework 110, achieving a program development model and program execution effect that is primarily based on the second language and supplemented by the first language. Specifically, the business execution components 130 that implement business logic functions can be written in a second language (such as Java), which is relatively familiar to developers, while the user interface and controls in the main framework 110 can be configured using a first language (such as C#), which is convenient for user interaction (such as desktop interaction). This meets functional requirements while reducing reliance on development resources in the first language that users are unfamiliar with. At the same time, the advantages of the first language in user interaction can be leveraged to meet the user experience and interaction requirements of user interaction scenarios where the first language is relatively advantageous.
[0115] Through the embodiments of the present disclosure, when developing the main framework 110, both the user interface and controls can be developed by writing configurations. In this way, the low-code development method of the main framework 110 further reduces the dependence on the first language, especially in scenarios where there are no special technical requirements or complex business logic processing. This method allows users who are not familiar with first language programming to create, design and deploy the front-end interface of the application through configuration tools, thereby greatly accelerating the development process and lowering the development threshold.
[0116] Figure 9 The figure schematically shows a structural diagram of an execution device 900 for a cross-language program 100 according to an embodiment of the present disclosure.
[0117] like Figure 9 As shown, the execution device 900 may include a starting unit 910 , a configuration unit 920 and an interaction unit 930 .
[0118] The startup unit 910 is used to start the main frame 110 in the first environment in response to receiving the startup instruction, wherein the main frame 110 includes a user interface and controls displayed in the user interface. In one embodiment, the startup unit 910 can perform the operation S610 or operations S1-S2 described above.
[0119] Configuration unit 920 is configured to configure the control in response to the activation of main framework 110. Specifically, configuration unit 920 can be configured to trigger the control and configure a first binding relationship between the control and a first function in business execution component 130. In one embodiment, configuration unit 920 can perform operation S620 or operations S3-S6 described above. In one embodiment, configuration unit 920 can include the control creation module and event triggering module described above.
[0120] Interaction unit 930 is configured to: first receive a control trigger event through the user interface; then, in response to the received trigger event, obtain the control's response event to the trigger event; then, based on the response event, trigger conversion component 120 to construct a second environment within the first environment; then, based on the first binding relationship, load service execution component 130 within the constructed second environment and trigger execution of the first function; and finally, convert the execution result of the first function into a format suitable for the first environment and transmit it back to the user interface. In one embodiment, interaction unit 930 may perform operations S630 through S670 or S7 described above.
[0121] The execution device 900 can execute the reference Figure 6~Figure 8 The execution method of the cross-language program introduced above is described in detail above and will not be repeated here.
[0122] According to embodiments of the present disclosure, any multiple modules among the main development platform 310, component addition module 320, startup unit 910, configuration unit 920, interaction unit 930, control creation module, and event triggering module can be combined into a single module, or any one of these modules can be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules can be combined with at least part of the functionality of other modules and implemented in a single module. According to embodiments of the present disclosure, at least one of the main development platform 310, component addition module 320, conversion component 120, startup unit 910, configuration unit 920, interaction unit 930, control creation module, and event triggering module can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented in hardware or firmware through any other reasonable means of circuit integration or packaging, or can be implemented in any one of the three implementation methods of software, hardware, and firmware, or any appropriate combination of any of these. Alternatively, at least one of the main development platform 310, component adding module 320, conversion component 120, startup unit 910, configuration unit 920, interaction unit 930, control creation module and event triggering module can be at least partially implemented as a computer program module, which can perform corresponding functions when run.
[0123] Figure 10 The structure diagram of an electronic device suitable for implementing the cross-language program development method or execution method of the embodiment of the present disclosure is schematically shown.
[0124] like Figure 10 As shown, the electronic device 1000 according to an embodiment of the present disclosure includes a processor 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage portion 1008 into a random access memory (RAM) 1003. The processor 1001 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1001 may also include onboard memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0125] Various programs and data required for the operation of the electronic device 1000 are stored in the RAM 1003. The processor 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. The processor 1001 performs various operations of the method flow according to the embodiment of the present disclosure by executing the programs in the ROM 1002 and / or the RAM 1003. It should be noted that the programs may also be stored in one or more memories other than the ROM 1002 and the RAM 1003. The processor 1001 may also perform various operations of the method flow according to the embodiment of the present disclosure by executing the programs stored in the one or more memories.
[0126] According to an embodiment of the present disclosure, electronic device 1000 may further include an input / output (I / O) interface 1005, which is also connected to bus 1004. Electronic device 1000 may also include one or more of the following components connected to I / O interface 1005: an input section 1006 including a keyboard, mouse, etc.; an output section 1007 including devices such as a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage section 1008 including a hard disk; and a communication section 1009 including a network interface card such as a LAN card or modem. Communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to I / O interface 1005 as needed. Removable media 1011, such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed in drive 1010 as needed, so that computer programs read from the removable media can be installed into storage section 1008 as needed.
[0127] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not be incorporated into the device / apparatus / system. The computer-readable storage medium carries one or more programs, and when executed, implements the method according to the embodiments of the present disclosure.
[0128] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, and may include, for example, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 1002 and / or RAM 1003 described above, and / or one or more memories other than ROM 1002 and RAM 1003.
[0129] The embodiments of the present disclosure also include a computer program product, which includes a computer program containing program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the method provided by the embodiments of the present disclosure.
[0130] The computer program executes the above functions defined in the system / device of the embodiment of the present disclosure when the processor 1001 executes the computer program. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0131] In one embodiment, the computer program may be stored on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may be transmitted and distributed in the form of a signal on a network medium, downloaded and installed via the communication portion 1009, and / or installed from the removable medium 1011. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0132] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 1009, and / or installed from the removable medium 1011. When the computer program is executed by the processor 1001, the above-described functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the systems, devices, means, modules, units, etc. described above can be implemented by computer program modules.
[0133] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect via the Internet).
[0134] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0135] Those skilled in the art will appreciate that the features described in the various embodiments of the present disclosure may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in the present disclosure. In particular, the features described in the various embodiments of the present disclosure may be combined and / or coupled in various ways without departing from the spirit and teachings of the present disclosure. All such combinations and / or couplings fall within the scope of the present disclosure.
[0136] The above describes the embodiments of the present disclosure. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present disclosure, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A cross-language program development device, wherein: The device comprises: A main body development platform, used for configuring a main body framework, wherein the main body framework is implemented in a first language, and the operating environment of the first language is a first environment; A component adding module, configured to add a service execution component, wherein the service execution component is implemented in a second language, and the operating environment of the second language is a second environment; a conversion component, running in the first environment, configured to communicate with the main framework and construct the second environment in the first environment so as to load the business execution component in the constructed second environment; Wherein, the main frame includes a user interface and controls displayed in the user interface; The main development platform is further used to: configure a triggering event of the control and a first binding relationship between the control and a first function in the business execution component; The conversion component is also used to: receive a response event of the control to the trigger event, load the business execution component based on the first binding relationship and trigger the execution of the first function when the response event is received, and convert the execution result of the first function into a format in the first environment and then return it to the user interface.
2. The cross-language program development device according to claim 1, wherein: The main development platform includes a configuration file, which is used to configure the control. The configuration file includes a plurality of nodes, and each node is used to configure specified information.
3. The cross-language program development device according to claim 2, wherein: The multiple nodes include control nodes and function nodes: The control node is used to configure the position information of the control in the user interface and the display properties of the control; and The function node is used to configure a triggering event of the control and a first binding relationship between the control and a first function in the service execution component.
4. The cross-language program development device according to claim 3, wherein: The plurality of nodes further includes a startup node, and the startup node is used to configure preloading information of the control when the main framework is started.
5. The cross-language program development device according to claim 4, wherein: The preload information includes a second binding relationship between the control and a second function in the service execution component; Among them, the conversion component is also used to: load the business execution component based on the second binding relationship when the main framework is started and trigger the execution of the second function, and convert the execution result of the second function into the format in the first environment and then return it to the user interface.
6. The cross-language program development device according to claim 1, wherein: The main development platform includes at least one container, and the container is used to configure the user interface.
7. The cross-language program development device according to claim 6, wherein: The at least one container includes an interface container and a table container.
8. A method for developing a cross-language program, wherein: The method comprises: Configuring a main framework, wherein the main framework is implemented in a first language, and the operating environment of the first language is a first environment; adding a service execution component, wherein the service execution component is implemented in a second language, and the operating environment of the second language is a second environment; and Establishing a communication connection between the main framework and the business execution component through a conversion component; wherein the conversion component is run in the first environment, is used to communicate with the main framework, and construct the second environment in the first environment to load the business execution component in the constructed second environment; The main frame includes a user interface and controls displayed in the user interface, wherein: The configuration of the main framework includes: configuring a triggering event of the control and a first binding relationship between the control and a first function in the business execution component; The establishing of the communication connection between the main framework and the business execution component through the conversion component includes configuring the conversion component to perform the following operations: receiving a response event of the control to the trigger event, loading the business execution component based on the first binding relationship and triggering the execution of the first function when the response event is received, and converting the execution result of the first function into a format in the first environment and then transmitting it back to the user interface.
9. A method for executing a cross-language program, wherein: The cross-language program includes a main framework, a business execution component, and a conversion component. The main framework is implemented in a first language, the business execution component is implemented in a second language, the operating environment of the first language is a first environment, and the operating environment of the second language is a second environment. The conversion component runs in the first environment and is capable of constructing the second environment in the first environment; wherein the method includes: In response to receiving the start instruction, starting the main frame in the first environment, wherein the main frame includes a user interface and controls displayed in the user interface; In response to the start of the main framework, configuring the control, including configuring a triggering event of the control and a first binding relationship between the control and a first function in a business execution component; When a trigger event of the control is received through the user interface, obtaining a response event of the control to the trigger event; and The conversion component is triggered to perform the following operations based on the response event: constructing the second environment in the first environment; Based on the first binding relationship, loading the service execution component in the constructed second environment and triggering execution of the first function; and The execution result of the first function is converted into a format in the first environment and then transmitted back to the user interface.
10. The method for executing a cross-language program according to claim 9, wherein: Configuring the control includes: The control is configured by reading a configuration file of the control, wherein the configuration file includes a plurality of nodes, and each node is used to configure specified information.
11. The method for executing a cross-language program according to claim 10, wherein: The multiple nodes include control nodes and function nodes, and configuring the control includes: Configuring the position and display effect of the control in the user interface by reading the control node, wherein the control node is used to configure the position information of the control in the user interface and the display properties of the control; The triggering event of the control and the first binding relationship between the control and the first function in the service execution component are configured by reading the function node, wherein the function node is used to configure the triggering event and the first binding relationship.
12. The method for executing a cross-language program according to claim 11, wherein: The plurality of nodes further include a startup node, and the configuring the control further includes: The preloading information of the control is configured by reading the startup node, wherein the startup node is used to configure the preloading information of the control when the main framework is started.
13. The method for executing a cross-language program according to claim 12, wherein: The preloading information includes a second binding relationship between the control and a second function in the service execution component, wherein the preloading information for configuring the control further includes: The conversion component reads the startup node and performs the following operations based on the second binding relationship: constructs the second environment in the first environment, loads the business execution component based on the second binding relationship and triggers the execution of the second function, and converts the execution result of the second function into the format in the first environment and returns it to the user interface.
14. The method for executing a cross-language program according to claim 9, wherein: The starting of the main framework in the first environment includes: Obtain at least one container for configuring the user interface; The user interface is loaded based on the information in the at least one container.
15. A cross-language program execution device, wherein: The cross-language program includes a main framework, a business execution component, and a conversion component. The main framework is implemented in a first language, the business execution component is implemented in a second language, the operating environment of the first language is a first environment, and the operating environment of the second language is a second environment. The conversion component runs in the first environment and is capable of constructing the second environment in the first environment; wherein the apparatus comprises: a starting unit, configured to start the main frame in the first environment in response to receiving a starting instruction, wherein the main frame includes a user interface and controls displayed in the user interface; a configuration unit, configured to configure the control in response to the startup of the main framework, including configuring a triggering event of the control and a first binding relationship between the control and a first function in a business execution component; Interaction unit for: When a trigger event of the control is received through the user interface, obtaining a response event of the control to the trigger event; and Based on the response event, the conversion component is triggered to perform the following operations: constructing the second environment in the first environment; Based on the first binding relationship, loading the service execution component in the constructed second environment and triggering execution of the first function; and The execution result of the first function is converted into a format in the first environment and then transmitted back to the user interface.
16. An electronic device comprising: one or more processors; a memory for storing one or more computer programs, The one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 8 or 9 to 14.
17. A computer-readable storage medium having a computer program or instruction stored thereon, wherein: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 8 or 9 to 14 are implemented.
18. A computer program product comprising a computer program or instructions, wherein: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 8 or 9 to 14 are implemented.
Citation Information
Patent Citations
Implementation method for game back-end multi-language development
CN113703732A
Development platform of multilanguage software program
CN1725178A