Software integration method, client and server
By providing a choice of compilation environment and integration mode in intelligent driving software integration, the compatibility of different functional module software is ensured, compatibility issues in existing technologies are solved, and development efficiency and user experience are improved.
Patent Information
- Application Number
- CN202310331622.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing intelligent driving software integration technology, the software of each functional module has different compilation environments, which makes it difficult to ensure compatibility and poor user experience.
By providing an integrated operation interface on the client, users can select the compilation environment and integration mode, and send source code acquisition parameters and target compilation environment identifiers to the server. The server builds the target compilation environment and performs compilation processing to ensure compatibility after software integration.
It realizes the compatibility of software of different functional modules and improves the efficiency of software integration development and user development experience.
Smart Images

Figure CN118733036A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent autonomous driving, and in particular to a software integration method, a client, a server, an electronic device and a readable storage medium. Background Art
[0002] As intelligent driving technology matures, autonomous driving and unmanned driving services are just around the corner. In order for computers to accurately control the vehicle's driving posture and respond to various unexpected road conditions, multiple different functional modules need to cooperate with each other. Integrating the operating software corresponding to these functional modules is also a challenge that the development of intelligent driving technology needs to face.
[0003] The integrated deployment software development tool in the related technology uses version management warehouse, binary file management warehouse, etc. to manage and record the code source files of each functional module during the function development and testing process, and finally calls the integrated tool by running the script to iteratively upgrade the software in the development mode.
[0004] However, in the existing technical solutions, there are many versions of autonomous driving software stored in the management library. Different compilation environments may be used for development and compilation of software for different functional modules. The compatibility of the software after integration and mutual collaboration cannot be guaranteed, resulting in a poor user experience. Summary of the invention
[0005] In view of this, the present invention aims to provide a software integration method, a client, a server, an electronic device and a storage medium to solve the problems in the prior art.
[0006] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0007] In a first aspect, an embodiment of the present invention provides a software integration method, which is applied to a client, and the method includes:
[0008] Displaying an integrated operation interface; the integrated operation interface includes: a compilation environment selection control and an integrated mode selection control;
[0009] In response to an input operation on the integrated mode selection control, a source code acquisition parameter is obtained; and in response to an input operation on the compilation environment selection control, a target compilation environment identifier is obtained from a compilation environment selection list;
[0010] In response to the start instruction of the integration operation, an integration operation request message including source code acquisition parameters and a target compilation environment identifier is sent to the server;
[0011] Receive the target assembly sent by the server;
[0012] Among them, the source code acquisition parameter is used for the server to obtain the source code to be compiled; the target compilation environment identifier is used for the server to build a target compilation environment, and the server is used to compile the source code to be compiled in the target compilation environment, and then perform software integration operations on the compiled running program to obtain the target program set.
[0013] In a second aspect, an embodiment of the present invention provides a client, the client comprising:
[0014] The operation interface display module is used to display the integrated operation interface; the integrated operation interface includes: a compilation environment selection control and an integrated mode selection control;
[0015] A control input response module, configured to obtain a source code acquisition parameter in response to an input operation on the integrated mode selection control, and to obtain a target compilation environment identifier from a compilation environment selection list in response to an input operation on the compilation environment selection control;
[0016] An integration operation request message sending module, used to send an integration operation request message including source code acquisition parameters and a target compilation environment identifier to a server in response to a startup instruction of the integration operation;
[0017] An integrated result receiving module is used to receive the target assembly sent by the server;
[0018] Among them, the source code acquisition parameter is used for the server to obtain the source code to be compiled; the target compilation environment identifier is used for the server to build a target compilation environment, and the server is used to compile the source code to be compiled in the target compilation environment, and then perform software integration operations on the compiled running program to obtain the target program set.
[0019] In a third aspect, an embodiment of the present invention provides a software integration method, which is applied to a server, and the method includes:
[0020] Receive an integration operation request message sent by a client; the integration operation request message includes: a source code acquisition parameter and a target compilation environment identifier; the source code acquisition parameter is obtained by the client in response to an input operation on the integration mode selection control, and the target compilation environment identifier is obtained by the client in response to an input operation on the compilation environment selection control;
[0021] Parsing the integration operation request message, and constructing a target compilation environment for this integration operation according to the target compilation environment flag; acquiring source code to be compiled according to the source code acquisition parameter;
[0022] Compile the source code to be compiled in the target compilation environment to obtain a running program;
[0023] Perform software integration operations on all running programs to obtain the target program set;
[0024] The target assembly is sent to the client.
[0025] In a fourth aspect, an embodiment of the present invention provides a server, the server comprising:
[0026] An integrated operation request message receiving module is used to receive an integrated operation request message sent by a client; the integrated operation request message includes: a source code acquisition parameter and a target compilation environment identifier; the source code acquisition parameter is obtained by the client in response to an input operation on the integrated mode selection control, and the target compilation environment identifier is obtained by the client in response to an input operation on the compilation environment selection control;
[0027] An integration operation request message parsing module is used to parse the integration operation request message and construct a target compilation environment for this integration operation according to the target compilation environment flag; and obtain the source code to be compiled according to the source code acquisition parameter;
[0028] A compiling and processing execution module is used to compile the source code to be compiled in the target compiling environment to obtain a running program; an integration operation execution module is used to perform software integration operations on all running programs to obtain a target program set;
[0029] The integrated result sending module is used to send the target assembly to the client.
[0030] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor; the memory is used to store computer programs, the processor is used to call and run the computer programs stored in the memory, and when the processor executes the computer program, it implements the in-vehicle application testing method described in the previous item.
[0031] In a sixth aspect, an embodiment of the present invention provides a readable storage medium, wherein the readable storage medium stores a computer program, and wherein the computer program, when executed by a processor, implements the vehicle-mounted application testing method as described in any one of the above items.
[0032] In an embodiment of the present invention, the user completes the input operation of the function parameter control in the integrated operation interface of the client; the integrated operation interface includes: a compilation environment selection control and an integration mode selection control; in response to the input operation of the integration mode selection control, the source code acquisition parameter is obtained, and in response to the input operation of the compilation environment selection control, the target compilation environment identifier is obtained from the compilation environment selection list. Afterwards, in response to the start instruction of the integration operation, an integration operation request message including the source code acquisition parameter and the target compilation environment identifier is sent to the server for the server to perform the software integration operation. Finally, the target assembly after the integration operation sent by the server is received. By configuring the corresponding compilation environment according to the development environment of the software to be integrated before the integration operation is executed, the driving software development environment for different functional modules can be flexibly adapted, ensuring the compatibility of the operation of each software, improving the efficiency of software integration development, and optimizing the user development experience.
[0033] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0035] Figure 1 It is a simple step embodiment flow chart of a software integration method provided by an embodiment of the present invention;
[0036] Figure 2 This is a schematic diagram of an operation interface of a software integration tool provided by an embodiment of the present invention.
[0037] Figure 3 It is a simple step embodiment flow chart of another software integration method provided by an embodiment of the present invention;
[0038] Figure 4 It is a schematic diagram of a tool framework structure of a software integration method provided by an embodiment of the present invention;
[0039] Figure 5 is a runtime diagram of a software integration tool provided by an embodiment of the present invention;
[0040] Figure 6 This is a schematic diagram of the functional modules of a client provided by an embodiment of the present invention;
[0041] Figure 7 It is a schematic diagram of the functional module composition of a server provided by an embodiment of the present invention;
[0042] Figure 8 is a functional component relationship diagram of an electronic device provided by an embodiment of the present invention;
[0043] Fig. 9 It is a functional component relationship diagram of another electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0045] Reference Figure 1 , Figure 1 1 is a flowchart of a simple step implementation of a software integration method provided by an embodiment of the present invention, and the method is applied to a client; Figure 1 As shown, the steps of the method include:
[0046] Step 101: displaying an integrated operation interface; the integrated operation interface includes: a compilation environment selection control and an integrated mode selection control.
[0047] A software integration method provided by an embodiment of the present invention is specifically a software integration tool based on Qt (a graphical user interface application development framework based on C++ language) and Secret File Transfer Protocol (SFTP). The tool can select the basic framework version, software development kit (SDK) version and interface version to automatically configure the compilation environment, compile local personal source code and integrate the version of any system (a collection of some components that are freely combined) for testing and verification functions, get rid of the strong dependence on the compilation environment, and simplify the autonomous driving software integration process, shorten the integration time, and greatly save labor costs.
[0048] Reference Figure 2 , Figure 2 Schematic diagram of an operation interface of a software integration tool provided by an embodiment of the present invention, which is applied to a client. Figure 2As shown, the operation interface is an interactive interface design of the Qt front end, which mainly includes three parts: engineering environment configuration, continuous integration environment (CI, Continuous Integration) configuration and component selection.
[0049] Among them, CI configuration mainly includes source code pulling (online integration mode), personal source code (offline integration mode), X86 compilation, X86 operation check and 8155 compilation. The component selection mainly includes various modules of the autonomous driving software and all version numbers released by the modules.
[0050] Furthermore, the above operation interface also includes an integration progress notification box 110 and an operation result log display window 111. The integration progress notification box 110 displays the integration process in the form of a progress bar, and the operation result log display window 111 is used to display the system operation information generated by the server during the integration operation.
[0051] Step 102: In response to an input operation on the integrated mode selection control, a source code acquisition parameter is obtained; and in response to an input operation on the compilation environment selection control, a target compilation environment identifier is obtained from a compilation environment selection list.
[0052] Receive input from developers / users on the various functional controls of the operation interface on the client side, such as Figure 2 As shown, in the selection menu area of each function control, click to expand the drop-down menu and select the target configuration parameter.
[0053] Specifically, "source code pulling" and "personal source code" correspond to "online integration mode" and "offline integration mode" in the specific operation process of software integration on the server side.
[0054] In "offline integration mode", users can put the source code to be compiled in the specified location, and select the project name, basic framework version, SDK version and interface version in the engineering environment configuration of the UI interface, select offline integration and compilation mode in the CI configuration, and click the start button to start offline integration. After the program runs, you can view the running result log and target assembly in the current running directory.
[0055] In "Online Integration Mode", after configuring the project environment and selecting online integration and compilation mode in CI configuration, click the Start button to start online integration. The server will pull the corresponding source code to be compiled from the source code library online for compilation, integration and other related operations.
[0056] In response to an input operation on the compilation environment selection control, a target compilation environment identifier is obtained from the compilation environment selection list, so that the server can build a corresponding code compilation environment according to the target compilation environment identifier.
[0057] Step 103: In response to the start instruction of the integration operation, an integration operation request message including source code acquisition parameters and a target compilation environment identifier is sent to the server.
[0058] Following step 102, after completing the configuration of the function controls for the integrated operation in the operation interface, the developer starts the software integration operation by clicking the "Start" button. The client then encapsulates the generated configuration information into an integrated operation request message and sends it to the server, so that the server can perform the software integration operation according to the integrated operation request message.
[0059] The core information of the integrated operation request message includes source code acquisition parameters and target compilation environment identifiers. The server will obtain the source code to be compiled in the corresponding integrated operation mode (online mode / offline mode) according to the parameter information of the source code acquisition parameters. At the same time, the target compilation environment is built according to the target compilation environment identifier to ensure that the collected source code to be compiled can be compiled and run in the correct development environment.
[0060] Step 104: Receive the target assembly sent by the server.
[0061] The software integration method provided by the embodiment of the present invention encapsulates and obtains a target assembly after the server performs software integration according to the configuration operation related to the integration operation. After the client initiates an SFTP request to the server, it receives the target assembly sent by the server.
[0062] In summary, an embodiment of the present invention provides a software integration method applied to a client, in which a user completes the input operation of a function parameter control in an integrated operation interface of the client; the integrated operation interface includes: a compilation environment selection control and an integration mode selection control; in response to the input operation of the integration mode selection control, a source code acquisition parameter is obtained, and in response to the input operation of the compilation environment selection control, a target compilation environment identifier is obtained from a compilation environment selection list. Then, in response to the start instruction of the integration operation, an integration operation request message including source code acquisition parameters and target compilation environment identifiers is sent to the server for the server to perform software integration operations. Finally, the target assembly after the integration operation sent by the server is received. By configuring the corresponding compilation environment according to the development environment of the software to be integrated before the integration operation is executed, the driving software development environment for different functional modules can be flexibly adapted, ensuring the compatibility of the operation of each software, improving the efficiency of software integration development, and optimizing the user development experience.
[0063] Reference Figure 3 , Figure 3 FIG. 1 is a flowchart of a simple step implementation of another software integration method provided by an embodiment of the present invention, wherein the method is applied to a server; Figure 3 As shown, the steps of the method include:
[0064] Step 201: Receive an integration operation request message sent by a client; the integration operation request message includes: source code acquisition parameters and a target compilation environment identifier; the source code acquisition parameters are obtained by the client in response to an input operation on the integration mode selection control, and the target compilation environment identifier is obtained by the client in response to an input operation on the compilation environment selection control.
[0065] The message definitions of the client and server mainly include client request messages and server request messages. A software integration method provided by an embodiment of the present invention mainly completes the request message communication interaction between the client and the server through the Transmission Control Protocol (TCP).
[0066] Among them, the client integration tool defines the message format including command, len (C++ function that returns the number of characters in a text string), and context. The command field defines the SDK message (Info) as the SDK version information acquisition command, Integrate as the integration command, and CloseConnect as the disconnection request. The len field code is the length of the message to be sent, and the context field is the message content.
[0067] Step 202: Parse the integration operation request message, and build a target compilation environment for this integration operation according to the target compilation environment flag; and obtain the source code to be compiled according to the source code acquisition parameter.
[0068] After receiving the integration operation request message sent by the client, the integration operation request message is immediately parsed and processed, and the integration mode is determined according to the source code acquisition parameters in the integration operation request message to respond with compiled source code acquisition, and the corresponding code compilation environment is built according to the target compilation environment identifier.
[0069] specifically refer to Figure 2 In the embodiment of the present invention, the compilation environment built by the server under normal conditions includes: X86 compilation and 8155 compilation, etc. For different integration operation modes, in the "offline integration mode", the server will receive the compiled source code file uploaded by the user and start offline integration. After the program runs, the running result log and the target assembly can be viewed in the current running directory. In the "online integration mode", the server will pull the corresponding source code to be compiled from the source code library online for compilation, integration and other related operations.
[0070] Step 203: compile the source code to be compiled in the target compilation environment to obtain a running program.
[0071] Reference Figure 4 , Figure 4 Schematic diagram of a tool framework structure of a software integration method provided by an embodiment of the present invention. Figure 4 As shown, in a software integration method provided by an embodiment of the present invention, the server supports multi-process concurrency, that is, synchronously processing request messages sent by multiple clients, and compiling multiple source code files to be compiled. Specifically, after parsing the integration operation request message sent by the client, the server will create a task container (docker) to execute the integration operation request of the corresponding client. Each process separately creates a docker to execute the integration task, which can effectively isolate the environmental impact.
[0072] It should be noted that Docker is an open source application container engine that allows developers to package their applications and dependent packages into a portable image, and then publish it to any popular Linux or Windows operating system machine, and can also achieve virtualization. Containers use a complete sandbox mechanism, and there will be no interface between them.
[0073] Furthermore, after the obtained source code to be compiled is compiled, a system executable program is generated. The above executable program corresponds to an independent functional module of the driving software.
[0074] Step 204: Perform software integration operations on all running programs to obtain a target program set.
[0075] The multiple running programs obtained after compilation need to be further integrated. In order for the developed autonomous driving software to run normally, the programs developed for different functional modules need to work together. Intelligent driving software consists of multiple modules, including: sensor fusion module, longitudinal control module, lateral planning module, positioning module, etc.
[0076] At the system software layer, the running programs are integrated and packaged according to the calling relationship of each running program at runtime, and a target program set containing all running programs is obtained.
[0077] Step 205: Send the target assembly to the client.
[0078] Referring to the above step 104, after the server performs software integration according to the configuration operation related to the integration operation, the target assembly is obtained by encapsulation, and then the target assembly is sent in response to the SFTP request initiated by the client to the server.
[0079] In summary, the software integration method applied to the server provided by the embodiment of the present invention first receives the integration operation request message sent by the client; the integration operation request message includes: source code acquisition parameters and target compilation environment identifier; wherein, the source code acquisition parameters are obtained by the above-mentioned client in response to the input operation of the integration mode selection control, and the target compilation environment identifier is obtained by the above-mentioned client in response to the input operation of the compilation environment selection control; then the integration operation request message is parsed, and the target compilation environment of this integration operation is constructed according to the target compilation environment identifier; according to the source code acquisition parameters, the source code to be compiled is obtained; the source code to be compiled is compiled in the target compilation environment to obtain the running program; finally, all the running programs are subjected to software integration operation, the target program set is obtained, and the target program set is sent to the client to complete the software integration operation. By configuring the corresponding compilation environment in the client integration tool, the driving software development environment for different functional modules can be flexibly adapted, the compatibility of each software operation is ensured, the software integration development efficiency is improved, and the user development experience is optimized.
[0080] Reference Figure 5 , Figure 5 FIG. 2 shows a running sequence diagram of a software integration tool provided by an embodiment of the present invention. Figure 5 As shown, the steps include:
[0081] Step 301: The client receives a control operation input.
[0082] Receive input from developers / users on the various functional controls of the operation interface on the client side, such as Figure 2 As shown, in the selection menu area of each function control, click to expand the drop-down menu and select the target configuration parameter.
[0083] In response to the integration mode selection control, specifically, "source code pull" and "personal source code" correspond to "online integration mode" and "offline integration mode" in the specific operation process of software integration on the server side, respectively.
[0084] In response to an input operation on the compilation environment selection control, a target compilation environment identifier is obtained from the compilation environment selection list, so that the server can build a corresponding code compilation environment according to the target compilation environment identifier.
[0085] This step may correspond to the above-mentioned step 102 .
[0086] Step 302: The client creates configuration information.
[0087] For the input of the integration mode selection control, in the "offline integration mode", the user can put the source code to be compiled in the specified location, and send the source code to be compiled to the server via SFTP, so that the server can compile the compiled source code. In the "online integration mode", the client integrates the access link of the source code library into the integration operation request message and sends it to the server, so that the server can access the source code library according to the access link and obtain the corresponding compiled source code from the source code library for compilation.
[0088] For the input of the compilation environment selection control, the target compilation environment identifier is obtained from the compilation environment selection list and integrated into the integration operation request message, so that the server can build the corresponding code compilation environment according to the target compilation environment identifier.
[0089] Step 303: The client generates an integration operation request message.
[0090] Following step 302, the client encapsulates the generated configuration information into an integration operation request message and sends it to the server, so that the server can perform a software integration operation according to the integration operation request message.
[0091] Optionally, in an embodiment, step 303 may further include:
[0092] Sub-step 3031: The client sends an integration operation request message including the source code acquisition parameters and the target compilation environment identifier to the server via a secure file transfer protocol.
[0093] The core information of the integrated operation request message includes source code acquisition parameters and target compilation environment identifiers. The server will obtain the source code to be compiled in the corresponding integrated operation mode (online mode / offline mode) according to the parameter information of the source code acquisition parameters. At the same time, the target compilation environment is built according to the target compilation environment identifier to ensure that the collected source code to be compiled can be compiled and run in the correct development environment.
[0094] Optionally, in one embodiment, when the selected integration mode is the online mode, the source code acquisition parameter includes: an online access link of the source code library; the sub-step 3031 also includes:
[0095] Sub-step 30311: The client sends the online access link to the server, so that the server can access the source code library according to the online access link and obtain the corresponding source code to be compiled for software integration operation.
[0096] When the selected integration mode is the online mode, the source code acquisition parameters generated by the client include an online access link to the source code library.
[0097] Step 304: The client sends the offline source code to be compiled via SFTP.
[0098] Optionally, in one embodiment, when the selected integration mode is an offline mode, step 304 further includes:
[0099] Sub-step 3041: The client obtains the stored source code to be compiled, and adds the source code to be compiled to the source code acquisition parameter.
[0100] When the selected integration mode is offline mode, the source code acquisition parameters generated by the client include the offline source code to be compiled stored locally on the client. The client then enables the file transfer channel through SFTP and sends the offline source code to be compiled to the server.
[0101] Step 305: The client sends a TCP request.
[0102] After completing the configuration of the function controls for the integrated operation in the operation interface, the developer starts the software integration operation by clicking the "Start" button. The client then encapsulates the generated configuration information into an integrated operation request message and sends it to the server, so that the server can perform the software integration operation according to the integrated operation request message.
[0103] The core information of the integrated operation request message includes source code acquisition parameters and target compilation environment identifiers. The server will obtain the source code to be compiled in the corresponding integrated operation mode (online mode / offline mode) according to the parameter information of the source code acquisition parameters. At the same time, the target compilation environment is built according to the target compilation environment identifier to ensure that the collected source code to be compiled can be compiled and run in the correct development environment.
[0104] This step may correspond to the above-mentioned step 103 .
[0105] Step 306: The server parses the request message and creates a docker to execute the TCP request.
[0106] This step may correspond to the above-mentioned step 202 .
[0107] Optionally, in an embodiment, step 306 may further include:
[0108] Sub-step 3061: The server creates a task execution container according to the target compilation environment.
[0109] Reference Figure 4In a software integration method provided in an embodiment of the present invention, the server supports multi-process concurrency, that is, synchronously processing request messages sent by multiple clients, and compiling multiple source code files to be compiled. Specifically, after parsing the integration operation request message sent by the client, the server will create a task container (docker) to execute the integration operation request of the corresponding client. Each process separately creates a docker to execute the integration task, which can effectively isolate the environmental impact.
[0110] After creating the docker, the server can use the docker to respond to the integration operation request message sent by a single client via TCP and perform the integration operation.
[0111] Sub-step 3062: The server obtains the source code to be compiled in the task execution container according to the source code acquisition parameter and compiles it to obtain a running program.
[0112] This step may correspond to the above-mentioned step 203 .
[0113] Optionally, in an embodiment, when it is determined that the source code acquisition parameter is the source code to be compiled sent by the client in an offline mode, the sub-step 3062 may further include:
[0114] Sub-step 30621: Receive the source code to be compiled.
[0115] When the selected integration mode is offline mode, the source code acquisition parameter in the basic operation request message sent by the client includes the offline source code to be compiled. At this time, the server directly receives the source code to be compiled sent by the client and then performs the compilation and integration operations in response.
[0116] Optionally, in an embodiment, when it is determined that the source code acquisition parameter is an online access link of a source code library sent by the client in an online mode, the sub-step 3062 may further include:
[0117] Sub-step 30622: Access the source code library according to the online access link and obtain the source code to be compiled.
[0118] Optionally, in an embodiment, step 306 may further include:
[0119] Sub-step 3063: Perform a trial run on the source code to be compiled according to the software running version to obtain a trial run result.
[0120] In order to ensure that all program versions to be compiled from source code development can run stably in the current environment, the embodiment of the present invention also adds a trial run link before Docker officially executes the compilation.
[0121] Sub-step 3064: When it is determined that there is no operation error in the trial operation result, enter the step of compiling the source code to be compiled in the target compilation environment.
[0122] When it is determined that there is no operation error in the trial run result, Docker can be allowed to perform a normal compilation operation on the compiled source code.
[0123] Sub-step 3065: When it is determined that there is an operation error in the trial operation result, an operation error message is sent to the client, so that the client can adjust the source code to be compiled according to the operation error message.
[0124] When it is determined that there is a running error in the trial run result, it is proved that there is a logical loophole in the writing of the current source code to be compiled, and a running error message is immediately sent to the client, so that the developer can adjust the source code to be compiled according to the running error message.
[0125] Step 307: The server packages and runs the program to obtain a target assembly.
[0126] The compiled multiple running programs need to be further integrated to obtain a target program set. This step may correspond to the above step 204.
[0127] Optionally, in an embodiment, step 307 may further include:
[0128] Sub-step 3071: Determine the calling relationship between multiple different running programs according to the running results of the running programs.
[0129] During the program operation, multiple programs developed for different functional modules need to work together. Intelligent driving software consists of multiple modules, including: sensor fusion module, longitudinal control module, lateral planning module, positioning module, etc. At the system software layer, the calling relationship of each running program at runtime is first determined.
[0130] Sub-step 3072: Integrate the multiple running programs according to the calling relationship to obtain the target program set.
[0131] The running programs are integrated and packaged according to the calling relationship determined in sub-step 3072. A target program set including all running programs is obtained.
[0132] Step 308: The server sends a disconnect request.
[0133] After the server completes the integration operation, it sends a TCP connection disconnect request to the client to inform the client that the integration operation has been completed. The client then actively initiates an SFTP file transfer interactive connection, so that the server sends the target assembly to the client through the connection.
[0134] Optionally, in one embodiment, step 308 further includes:
[0135] Sub-step 3081: The client receives the transmission control connection termination request sent by the server.
[0136] Continue to refer to Figure 4 , the server actively initiates a TCP connection termination request to the client.
[0137] Sub-step 3082: The client disconnects a first transmission channel with the server in response to the transmission control connection termination request, where the first transmission channel is used for the client to send an integration operation request message to the server.
[0138] In response to the transmission control connection termination request, the client disconnects the first transmission channel used to send the integrated operation request message to the server.
[0139] Step 309: The client obtains the target assembly through SFTP.
[0140] After disconnecting the first transmission channel with the server, the client sends a request to obtain the target assembly to the server through SFTP.
[0141] Optionally, in an embodiment, step 309 may further include:
[0142] Sub-step 3091: The client enables a second transmission channel according to the secure file transfer protocol, and sends a target assembly acquisition request to the server through the second transmission channel, so that the server responds to the target assembly acquisition request and sends the target assembly to the client through the second transmission channel.
[0143] The SFTP file transfer protocol is mainly used to transfer offline source code and assemblies. When the client sends a request message, if the context field of the request message contains an offline integration command, the client will initiate an SFTP request to transfer the offline code to the server. After the server integration is completed, it sends a CloseConnect disconnection request to the client. After receiving the disconnection request, the client initiates an SFTP request to obtain the target assembly.
[0144] Step 310: The server returns the target assembly.
[0145] This step may correspond to the above-mentioned step 205 .
[0146] Optionally, in an embodiment, step 310 may further include:
[0147] Sub-step 3101: The server sends a transmission control connection termination request to the client, so that the client responds to the transmission control connection termination request and disconnects the first transmission channel with the server; the first transmission channel is used for the client to send an integrated operation request message to the server.
[0148] The specific implementation process refers to the above sub-step 3082, which will not be repeated here in this embodiment.
[0149] Sub-step 3102: The server receives and responds to the target assembly acquisition request sent by the client through the second transmission channel, and enters the step of sending the target assembly to the client.
[0150] The specific implementation process refers to the above sub-step 3091, which will not be repeated here in this embodiment.
[0151] Sub-step 3103: The server sends an execution log of the integration operation to the client, and the record information of the execution log includes: one or more of the compilation result of the server on the source code to be compiled, the calling relationship between the running programs in the assembly, and the test run result of the assembly.
[0152] After sending the target assembly, the server will also organize the system logs generated during the integration operation so that developers can understand the specific implementation process of the entire integration operation. Figure 2 In the embodiment of the present invention, the system log is displayed through the operation result log display window 111.
[0153] Step 311: The client receives the target assembly.
[0154] The client receives the target assembly sent by the server through the second transmission channel established by SFTP. Specific reference is made to the above sub-step 3091, which will not be described in detail in this embodiment.
[0155] Optionally, in an embodiment, step 311 may further include:
[0156] Sub-step 3111: The client receives the execution log of the integration operation sent by the server, and the record information of the execution log includes: one or more of the compilation result of the server on the source code to be compiled, the calling relationship between the running programs in the assembly, and the test run result of the assembly.
[0157] Continuing with sub-step 3103, after the server has sent the system log, the client immediately receives the log.
[0158] Sub-step 3112: The client displays the execution log.
[0159] Reference Figure 2 In the embodiment of the present invention, the system log is displayed through the operation result log display window 111. The content of the system log includes the compilation result of the server on the source code to be compiled, the calling relationship between the running programs in the assembly, the assembly test run result and other information.
[0160] In summary, the software integration method provided by the embodiment of the present invention is that the user completes the input operation of the function parameter control in the integrated operation interface of the client; the integrated operation interface includes: a compilation environment selection control and an integration mode selection control; in response to the input operation of the integration mode selection control, the source code acquisition parameter is obtained, and in response to the input operation of the compilation environment selection control, the target compilation environment identifier is obtained from the compilation environment selection list. Then, in response to the start instruction of the integration operation, an integration operation request message including the source code acquisition parameter and the target compilation environment identifier is sent to the server, so that the server can perform the software integration operation.
[0161] The server receives the integration operation request message sent by the client; the integration operation request message includes: source code acquisition parameters, target compilation environment identifier; then the integration operation request message is parsed, and the target compilation environment of this integration operation is constructed according to the target compilation environment identifier; the source code to be compiled is obtained according to the source code acquisition parameters; the source code to be compiled is compiled in the target compilation environment to obtain the running program; then all running programs are subjected to software integration operations to obtain the target program set, and the target program set is sent to the client to complete the software integration operation. Finally, the client receives the target program set after the integration operation sent by the server. By configuring the corresponding compilation environment according to the development environment of the software to be integrated before the integration operation is executed, the driving software development environment for different functional modules can be flexibly adapted, ensuring the compatibility of each software operation, improving the efficiency of software integration development, and optimizing the user development experience.
[0162] Reference Figure 6 , Figure 6 FIG. 4 is a schematic diagram showing the functional module composition of a client 400 provided by an embodiment of the present invention. Figure 6 As shown, the client includes:
[0163] The operation interface display module 401 is used to display the integrated operation interface; the integrated operation interface includes: a compilation environment selection control and an integrated mode selection control;
[0164] A control input response module 402, configured to obtain source code acquisition parameters in response to an input operation on the integrated mode selection control, and to obtain a target compilation environment identifier from a compilation environment selection list in response to an input operation on the compilation environment selection control;
[0165] The integration operation request message sending module 403 is used to send an integration operation request message including source code acquisition parameters and a target compilation environment identifier to the server in response to a startup instruction of the integration operation;
[0166] The integration result receiving module 404 is used to receive the target assembly sent by the server;
[0167] Among them, the source code acquisition parameter is used for the server to obtain the source code to be compiled; the target compilation environment identifier is used for the server to build a target compilation environment, and the server is used to compile the source code to be compiled in the target compilation environment, and then perform software integration operations on the compiled running program to obtain the target program set.
[0168] Optionally, when the selected integration mode is an offline mode, the integration operation request message sending module 403 further includes:
[0169] The to-be-compiled source code integration submodule is used to obtain the to-be-compiled source code stored in the client, and add the to-be-compiled source code to the source code acquisition parameters.
[0170] The first request message sending submodule sends an integration operation request message including the source code acquisition parameters and the target compilation environment identifier to the server through a secure file transfer protocol.
[0171] Optionally, when the selected integration mode is the online mode, the source code acquisition parameter includes: an online access link of the source code library; the integration operation request message sending module 403 also includes:
[0172] The second request message sending submodule sends the online access link to the server, so that the server can access the source code library according to the online access link and obtain the corresponding source code to be compiled to perform software integration operations.
[0173] Optionally, the client further includes:
[0174] The termination request receiving module is used to receive the transmission control connection termination request sent by the server.
[0175] The termination request response module disconnects a first transmission channel with the server in response to the transmission control connection termination request, wherein the first transmission channel is used for the client to send an integrated operation request message to the server.
[0176] The second transmission channel enabling module is used to enable the second transmission channel according to the secure file transfer protocol, and send a target assembly acquisition request to the server through the second transmission channel, so that the server responds to the target assembly acquisition request and sends the target assembly to the client through the second transmission channel.
[0177] Optionally, the client further includes:
[0178] An execution log receiving module is used to receive the execution log of the integration operation sent by the server, wherein the record information of the execution log includes: one or more of the compilation result of the server on the source code to be compiled, the calling relationship between the running programs in the assembly, and the test run result of the assembly;
[0179] The execution log display module is used to display the execution log.
[0180] In summary, an embodiment of the present invention provides a client, in which a user completes the input operation of a function parameter control in an integrated operation interface of the client; the integrated operation interface includes: a compilation environment selection control and an integrated mode selection control; in response to the input operation of the integrated mode selection control, a source code acquisition parameter is obtained, and in response to the input operation of the compilation environment selection control, a target compilation environment identifier is obtained from a compilation environment selection list. Afterwards, in response to the start instruction of the integration operation, an integration operation request message including source code acquisition parameters and a target compilation environment identifier is sent to the server for the server to perform software integration operations. Finally, the target assembly after the integration operation sent by the server is received. By configuring the corresponding compilation environment according to the development environment of the software to be integrated before the integration operation is executed, the driving software development environment for different functional modules can be flexibly adapted, ensuring the compatibility of the operation of each software, improving the efficiency of software integration development, and optimizing the user development experience.
[0181] parameter Figure 7 , Figure 7 FIG. 5 shows a schematic diagram of the functional modules of a server 500 provided in an embodiment of the present invention. Figure 7 As shown, the server includes:
[0182] The integrated operation request message receiving module 501 is used to receive the integrated operation request message sent by the client; the integrated operation request message includes: source code acquisition parameters and target compilation environment identifier; the source code acquisition parameters are obtained by the client in response to the input operation of the integrated mode selection control, and the target compilation environment identifier is obtained by the client in response to the input operation of the compilation environment selection control;
[0183] The integration operation request message parsing module 502 is used to parse the integration operation request message and construct the target compilation environment of this integration operation according to the target compilation environment flag; and obtain the source code to be compiled according to the source code acquisition parameter;
[0184] A compiling and executing module 503 is used to compile the source code to be compiled in the target compiling environment to obtain a running program;
[0185] An integration operation execution module 504 is used to perform software integration operations on all running programs to obtain a target program set;
[0186] The integration result sending module 505 is used to send the target assembly to the client.
[0187] Optionally, the server 500 further includes:
[0188] a termination request sending module, configured to send a transmission control connection termination request to a client, so that the client can disconnect a first transmission channel with a server in response to the transmission control connection termination request; the first transmission channel is used for the client to send an integration operation request message to the server;
[0189] The acquisition request response module is used to receive and respond to the target assembly acquisition request sent by the client through the second transmission channel, and enter the step of sending the target assembly to the client.
[0190] Optionally, the compiling and processing execution module 503 further includes:
[0191] An execution container creation submodule, used to create a task execution container according to the target compilation environment;
[0192] A compiling and executing submodule, used to obtain the source code to be compiled according to the source code acquisition parameter and perform compiling and processing in the task execution container to obtain a running program;
[0193] Optionally, the integrated operation execution module 504 further includes:
[0194] The calling relationship determination submodule is used to determine the calling relationship between multiple different running programs according to the running results of the running programs.
[0195] The running program integration submodule is used to integrate the multiple running programs according to the calling relationship to obtain the target program set.
[0196] Optionally, the integration operation request message parsing module 502 further includes:
[0197] The to-be-compiled source code receiving submodule is used to receive the to-be-compiled source code when it is determined that the source code acquisition parameter is the to-be-compiled source code sent by the client in an offline mode.
[0198] The module for acquiring source code to be compiled is used to access the source code library according to the online access link and acquire the source code to be compiled when it is determined that the source code acquisition parameter is an online access link of the source code library sent by the client in the online mode.
[0199] Optionally, the integration operation request message further includes: a software running version; and the server 500 further includes:
[0200] The trial run submodule is used to perform a trial run on the source code to be compiled according to the software running version to obtain a trial run result.
[0201] A normal compilation processing submodule, for entering into a step of compiling the source code to be compiled in the target compilation environment when it is determined that there is no operation error in the trial operation result;
[0202] The abnormal compilation processing submodule is used to send operation error information to the client when it is determined that there is an operation error in the trial operation result, so that the client can adjust the source code to be compiled according to the operation error information.
[0203] Optionally, the server 500 further includes:
[0204] The execution log sending submodule is used to send the execution log of the integrated operation to the client. The recorded information of the execution log includes: the compilation result of the server on the source code to be compiled, the calling relationship between the running programs in the assembly, and one or more of the assembly trial run results.
[0205] In summary, a server provided by an embodiment of the present invention first receives an integration operation request message sent by a client; the integration operation request message includes: source code acquisition parameters and target compilation environment identifier; wherein, the source code acquisition parameters are obtained by the client in response to the input operation of the integration mode selection control, and the target compilation environment identifier is obtained by the client in response to the input operation of the compilation environment selection control; then the integration operation request message is parsed, and the target compilation environment of this integration operation is constructed according to the target compilation environment identifier; according to the source code acquisition parameters, the source code to be compiled is obtained; the source code to be compiled is compiled in the target compilation environment to obtain a running program; finally, all running programs are subjected to software integration operations to obtain a target assembly, and the target assembly is sent to the client to complete the software integration operation. By configuring the corresponding compilation environment in the client integration tool, the driving software development environment for different functional modules can be flexibly adapted, the compatibility of each software operation is ensured, the software integration development efficiency is improved, and the user development experience is optimized.
[0206] Figure 8 is a block diagram of an electronic device 600 according to an exemplary embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0207] Reference Figure 8 , the electronic device 600 may include one or more of the following components: a processing component 602 , a memory 604 , a power component 606 , a multimedia component 608 , an audio component 610 , an input / output (I / O) interface 612 , a sensor component 614 , and a communication component 616 .
[0208] The processing component 602 generally controls the overall operation of the electronic device 600, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
[0209] The memory 604 is used to store various types of data to support the operation of the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phone book data, messages, pictures, multimedia, etc. The memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0210] The power supply component 606 provides power to the various components of the electronic device 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 600.
[0211] The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and / or a rear camera. When the electronic device 600 is in an operating mode, such as a shooting mode or a multimedia mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0212] The audio component 610 is used to output and / or input audio signals. For example, the audio component 610 includes a microphone (MIC), and when the electronic device 600 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is used to receive an external audio signal. The received audio signal can be further stored in the memory 604 or sent via the communication component 616. In some embodiments, the audio component 610 also includes a speaker for outputting audio signals.
[0213] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0214] The sensor assembly 614 includes one or more sensors for providing various aspects of status assessment for the electronic device 600. For example, the sensor assembly 614 can detect the open / closed state of the electronic device 600, the relative positioning of the components, such as the display and keypad of the electronic device 600, and the sensor assembly 614 can also detect the position change of the electronic device 600 or a component of the electronic device 600, the presence or absence of contact between the user and the electronic device 600, the orientation or acceleration / deceleration of the electronic device 600, and the temperature change of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0215] The communication component 616 is used to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 616 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0216] In an exemplary embodiment, the electronic device 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to implement a software integration method provided in an embodiment of the present invention.
[0217] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 604 including instructions, and the instructions can be executed by a processor 620 of an electronic device 600 to perform the above method. For example, the non-transitory storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0218] Fig. 9is a block diagram of an electronic device 700 according to an exemplary embodiment. For example, the electronic device 700 may be provided as a server. Fig. 9 The electronic device 700 includes a processing component 722, which further includes one or more processors, and a memory resource represented by a memory 732 for storing instructions executable by the processing component 722, such as an application. The application stored in the memory 732 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 722 is configured to execute instructions to perform a software integration method provided by an embodiment of the present invention.
[0219] The electronic device 700 may also include a power supply component 726 configured to perform power management of the electronic device 700, a wired or wireless network interface 750 configured to connect the electronic device 700 to a network, and an input / output (I / O) interface 758. The electronic device 700 may operate based on an operating system stored in the memory 732, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
[0220] Those skilled in the art will readily appreciate other embodiments of the invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0221] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A software integration method, applied to the client, It is characterized in that The method comprises: Displaying an integrated operation interface; the integrated operation interface includes: a compilation environment selection control and an integrated mode selection control; In response to an input operation on the integrated mode selection control, obtaining a source code acquisition parameter; and in response to an input operation on the compilation environment selection control, obtaining a target compilation environment identifier from a compilation environment selection list; In response to the start instruction of the integration operation, an integration operation request message including source code acquisition parameters and a target compilation environment identifier is sent to the server; Receive the target assembly sent by the server; Among them, the source code acquisition parameter is used for the server to obtain the source code to be compiled; the target compilation environment identifier is used for the server to build a target compilation environment, and the server is used to compile the source code to be compiled in the target compilation environment, and then perform software integration operations on the compiled running program to obtain the target program set.
2. The method according to claim 1, It is characterized in that When the selected integration mode is the offline mode, the sending of the integration operation request message including the source code acquisition parameter and the target compilation environment identifier to the server includes: Obtain the source code to be compiled stored in the client, and add the source code to be compiled to the source code acquisition parameter; An integration operation request message including the source code acquisition parameters and the target compilation environment identifier is sent to the server via a secure file transfer protocol.
3. The method according to claim 1, It is characterized in that In the case where the selected integration mode is the online mode, the source code acquisition parameters include: an online access link to the source code library; The sending of the integration operation request message to the server, so that the server responds to the integration operation request message and performs the software integration operation according to the obtained source code acquisition parameter and the target compilation environment identifier, includes: The online access link is sent to the server, so that the server can access the source code library according to the online access link and obtain the corresponding source code to be compiled for software integration operation.
4. The method according to claim 1, It is characterized in that Before receiving the target assembly sent by the server, the method further includes: Receiving a transmission control connection termination request sent by the server; In response to the transmission control connection termination request, disconnecting a first transmission channel with the server, wherein the first transmission channel is used for the client to send an integration operation request message to the server; The second transmission channel is enabled according to the secure file transfer protocol, and a target assembly acquisition request is sent to the server through the second transmission channel, so that the server responds to the target assembly acquisition request and sends the target assembly to the client through the second transmission channel.
5. The method according to claim 1, It is characterized in that The method further comprises: Receiving an execution log of the integration operation sent by the server, wherein the record information of the execution log includes one or more of: a compilation result of the server on the source code to be compiled, a call relationship between running programs in the assembly, and a test run result of the assembly; The execution log is displayed.
6. A software integration method, applied to a server, It is characterized in that The method comprises: Receive an integration operation request message sent by a client; the integration operation request message includes: a source code acquisition parameter and a target compilation environment identifier; the source code acquisition parameter is obtained by the client in response to an input operation on the integration mode selection control, and the target compilation environment identifier is obtained by the client in response to an input operation on the compilation environment selection control; Parsing the integration operation request message, and constructing a target compilation environment for this integration operation according to the target compilation environment flag; acquiring source code to be compiled according to the source code acquisition parameter; Compile the source code to be compiled in the target compilation environment to obtain a running program; Perform software integration operations on all running programs to obtain the target program set; The target assembly is sent to the client.
7. The method according to claim 6, It is characterized in that Before sending the target assembly to the client, the method further includes: A transmission control connection termination request is sent to the client, so that the client can respond to the transmission control connection termination request and disconnect the first transmission channel with the server; the first transmission channel is used for the client to send an integration operation request message to the server; a target assembly acquisition request sent by the client through the second transmission channel is received and responded to, and the step of sending the target assembly to the client is entered.
8. The method according to claim 6, It is characterized in that The compiling the source code to be compiled in the target compilation environment to obtain a running program includes: Creating a task execution container according to the target compilation environment; In the task execution container, the source code to be compiled is obtained according to the source code acquisition parameter and compiled to obtain a running program; and all running programs are software integrated to obtain a target program set, including: Determining the calling relationship between a plurality of different running programs according to the running results of the running programs; The plurality of running programs are integrated according to the calling relationship to obtain the target program set.
9. The method according to claim 6, It is characterized in that The step of obtaining the source code to be compiled according to the source code acquisition parameters includes: When it is determined that the source code acquisition parameter is the source code to be compiled sent by the client in an offline mode, the source code to be compiled is received.
10. The method according to claim 6, It is characterized in that The acquiring parameters according to the source code to acquire the source code to be compiled also includes: When it is determined that the source code acquisition parameter is an online access link of a source code library sent by the client in an online mode, the source code library is accessed according to the online access link and the source code to be compiled is acquired.
11. The method according to claim 6, It is characterized in that The integration operation request message also includes: software running version; after obtaining the source code to be compiled according to the source code acquisition parameters, it also includes: Performing a trial run on the source code to be compiled according to the software running version to obtain a trial run result; When it is determined that there is no operation error in the trial operation result, entering the step of compiling the source code to be compiled in the target compilation environment; When it is determined that there is an operation error in the trial operation result, an operation error message is sent to the client, so that the client can adjust the source code to be compiled according to the operation error message.
12. The method according to claim 6, It is characterized in that After sending the target assembly to the client, the method further includes: sending an execution log of the integration operation to the client, wherein the recorded information of the execution log includes one or more of the compilation result of the source code to be compiled by the server, the calling relationship between the running programs in the assembly, and the trial running result of the assembly.
13. A client, It is characterized in that The client comprises: The operation interface display module is used to display the integrated operation interface; the integrated operation interface includes: a compilation environment selection control and an integrated mode selection control; A control input response module, configured to obtain a source code acquisition parameter in response to an input operation on the integrated mode selection control, and to obtain a target compilation environment identifier from a compilation environment selection list in response to an input operation on the compilation environment selection control; An integration operation request message sending module, used to send an integration operation request message including source code acquisition parameters and a target compilation environment identifier to a server in response to a startup instruction of the integration operation; An integrated result receiving module is used to receive the target assembly sent by the server; Among them, the source code acquisition parameter is used for the server to obtain the source code to be compiled; the target compilation environment identifier is used for the server to build a target compilation environment, and the server is used to compile the source code to be compiled in the target compilation environment, and then perform software integration operations on the compiled running program to obtain the target program set.
14. A server, It is characterized in that The server comprises: An integrated operation request message receiving module is used to receive an integrated operation request message sent by a client; the integrated operation request message includes: a source code acquisition parameter and a target compilation environment identifier; the source code acquisition parameter is obtained by the client in response to an input operation on the integrated mode selection control, and the target compilation environment identifier is obtained by the client in response to an input operation on the compilation environment selection control; An integration operation request message parsing module is used to parse the integration operation request message and construct a target compilation environment for this integration operation according to the target compilation environment flag; and obtain the source code to be compiled according to the source code acquisition parameter; A compiling and processing execution module is used to compile the source code to be compiled in the target compiling environment to obtain a running program; an integration operation execution module is used to perform software integration operations on all running programs to obtain a target program set; The integrated result sending module is used to send the target assembly to the client.
15. An electronic device, It is characterized in that The electronic device comprises a memory and a processor; The memory is used to store computer programs, the processor is used to call and run the computer programs stored in the memory, and when the processor executes the computer program, it implements the software integration method described in any one of claims 1 to 12 above.
16. A readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the software integration method as described in any one of claims 1 to 12 is implemented.
