CN113434124A - Method, device, equipment and medium for constructing multi-language project engineering - Google Patents

Method, device, equipment and medium for constructing multi-language project engineering Download PDF

Info

Publication number
CN113434124A
CN113434124A CN202110622100.8A CN202110622100A CN113434124A CN 113434124 A CN113434124 A CN 113434124A CN 202110622100 A CN202110622100 A CN 202110622100A CN 113434124 A CN113434124 A CN 113434124A
Authority
CN
China
Prior art keywords
information
development
project
information set
language
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110622100.8A
Other languages
Chinese (zh)
Other versions
CN113434124B (en
Inventor
王世腾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xianlaihuyu Network Technology Co ltd
Original Assignee
Beijing Xianlaihuyu Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xianlaihuyu Network Technology Co ltd filed Critical Beijing Xianlaihuyu Network Technology Co ltd
Priority to CN202110622100.8A priority Critical patent/CN113434124B/en
Publication of CN113434124A publication Critical patent/CN113434124A/en
Application granted granted Critical
Publication of CN113434124B publication Critical patent/CN113434124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the disclosure discloses a construction method and device of a multi-language project engineering, electronic equipment and a computer readable medium. One embodiment of the method comprises: acquiring a development project information set; extracting information of each development language information included in the development engineering information set to obtain a general command information set; generating cross-platform command information based on the general command information set; generating a difference command information set based on each development language information and general command information set included in the development engineering information set; and generating project engineering construction information based on the difference information set, the cross-platform command information and the hook function. The implementation mode can realize the unified management of the multi-language project engineering, and reduces the workload of a user in constructing the multi-language project engineering.

Description

Method, device, equipment and medium for constructing multi-language project engineering
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a method and a device for building a multi-language project engineering, electronic equipment and a computer readable medium.
Background
In the current trend of rapid development of development languages, development of large projects using multiple languages is becoming an important research and development direction. In the development process of a multi-language project, a plurality of module management tools are often used for task scheduling and module management.
However, there are often technical problems when the above-described method is adopted:
when the multi-language project engineering is built, the multi-language project engineering needs to be built and managed in a multi-module mode, and therefore the workload of a user when the multi-language project engineering is built is increased.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose a multi-language project engineering construction method, apparatus, electronic device and computer readable medium to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a method for constructing a multilingual project, including: acquiring a development project information set, wherein each piece of development project information in the development project information set comprises development language information; extracting information of each development language information included in the development engineering information set to obtain a general command information set; generating cross-platform command information based on the general command information set; generating a difference command information set based on each piece of development language information and the universal command information set which are included in the development engineering information set; and generating project engineering construction information based on the difference information set, the cross-platform command information and the hook function.
In a second aspect, some embodiments of the present disclosure provide a multi-language project engineering construction apparatus, the apparatus comprising: the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is configured to acquire a development project information set, wherein each piece of development project information in the development project information set comprises development language information; the information extraction unit is configured to extract information of each development language information included in the development project information set to obtain a general command information set; a first generating unit configured to generate cross-platform command information based on the general command information set; a second generation unit configured to generate a difference information set based on each piece of development language information included in the development project information set and the common command information set; and the third generating unit is configured to generate project engineering construction information based on the difference information set, the cross-platform command information and the hook function.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
The above embodiments of the present disclosure have the following advantages: the multi-language project engineering construction method provided by some embodiments of the disclosure can be used for uniformly constructing the multi-language project engineering, so that the workload of a user in constructing the multi-language project engineering is reduced. Specifically, the reason why the workload of the user is large is that: when a multi-language project is built, multi-module building and management of the multi-language project are needed. Based on this, according to the multi-language project engineering construction method of some embodiments of the present disclosure, first, a development engineering information set may be obtained, and information extraction may be performed on each development language information included in the development engineering information set to obtain a general command information set. Thus, the development project can be managed using a unified development language instead of a plurality of development languages. Cross-platform command information may then be generated based on the set of generic command information described above. Therefore, unified installation, deletion, updating and query of modules can be carried out by utilizing the cross-platform command information. Next, a differential command information set may be generated based on each piece of development language information included in the development project information set and the general command information set. Therefore, the difference command information in the modules of different languages can be extracted, and a data basis is provided for the construction of the subsequent multi-language project engineering. And finally, generating project engineering construction information based on the difference information set, the cross-platform command information and the hook function. The difference information set can be processed by a hook function, and project engineering construction information is generated according to the cross-platform command information and the difference information set. Therefore, unified management of the multi-language project engineering can be realized, and the workload of a user in constructing the multi-language project engineering is reduced.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of an application scenario of a method of multi-language project construction, in accordance with some embodiments of the present disclosure;
FIG. 2 is a flow diagram of some embodiments of a multi-language project construction method according to the present disclosure;
FIG. 3 is a schematic structural diagram of some embodiments of a multi-language project construction apparatus according to the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to the multilingual project construction method of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
FIG. 1 is a diagram 100 of an application scenario for a method of multi-language project engineering construction, according to some embodiments of the present disclosure.
In the application scenario of fig. 1, first, the computing device 101 may obtain a set of development project information 102, where each development project information in the set of development project information 102 includes development language information 103. Then, the computing device 101 may extract information of each development language information 103 included in the development project information set 102 to obtain a common command information set 104. Thereafter, the computing device 101 may generate cross-platform command information 105 based on the set of generic command information 104 described above. Next, the computing device 101 may generate a differential command information set 106 based on the respective development language information 103 included in the development project information set 102 and the general command information set 104. Finally, the computing device 101 may generate project engineering build information 108 based on the set of difference information 106, the cross-platform command information 105, and the hook function 107.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices in FIG. 1 is merely illustrative. There may be any number of computing devices, as implementation needs dictate.
With continued reference to FIG. 2, a flow 200 of some embodiments of a multi-language project construction method according to the present disclosure is shown. The construction method of the multi-language project engineering comprises the following steps:
step 201, acquiring a development project information set.
In some embodiments, an execution subject of the multi-language project construction method (for example, the computing device 101 shown in fig. 1) may obtain the development project information set through a wired connection manner or a wireless connection manner. The development engineering information may be information for engineering development using different computer languages. Each development project information in the development project information set includes development language information.
As an example, the development language information may be go language development engineering information, lua language development engineering information, or python language development engineering information. The development engineering information set can be { go language development engineering information, lua language development engineering information, python language development engineering information }. Go can be a static strong type, a compiling type, a concurrent type and a programming language with a garbage recycling function. The lua may be a programming language that acts as an extension script, as well as a configuration file. python may be an object-oriented programming language.
Step 202, extracting information of each development language information included in the development project information set to obtain a general command information set.
In some embodiments, the execution subject may perform a structuring process on each piece of development language information included in the development engineering information set, convert each piece of development language information into a table form, and extract the common command information set from the converted table. The general command information may be command information for implementing a common function in a plurality of module management tools.
As an example, the module management tool may be go module in go language, luarocks in lua language, or pip in python language. go module can be a dependency management tool for the default of go language. The lucrocks may be a command line tool for downloading and managing the third party bundle for lua. The pip may be a management tool that provides the functions of finding, downloading, installing, and uninstalling the python package.
In some optional implementation manners of some embodiments, the extracting information of each piece of development language information included in the development engineering information set to obtain a general command information set may include the following steps:
the first step is to extract the general module management information included in each piece of development language information included in the development project information set to obtain a general module management information set. Each piece of general module management information in the general module management information set may include, but is not limited to, the following items: module installation command information, module deletion command information, module update command information, and module query command information.
And secondly, determining each universal module management information in the universal module management information set as universal command information to obtain a universal command information set.
And step 203, generating cross-platform command information based on the general command information set.
In some embodiments, the execution subject may respectively represent module installation command information, module deletion command information, module update command information, and module query command information included in each piece of development language information included in the development engineering information set in any cross-platform language. The cross-platform language may be a scripting language or a compiled language of system executables, or the like.
As an example, the cross-platform language may be a python language. The module installation command information in the go development language information, the lua development language information and the python development language information can be expressed by python language. It will be appreciated that module delete command information, module update command information, and module query command information may also all be represented in the python language.
And 204, generating a difference command information set based on each development language information and general command information set included in the development engineering information set.
In some embodiments, the execution subject may remove the common command information set from each piece of development language information included in the development engineering information set, and generate a differential command information set. The difference command information may be command information for implementing different functions in the plurality of module management tools. The elimination process can be performed manually to eliminate data, or can be performed by machine recognition using an artificial intelligence technique, so that the difference command information is recognized from the development language information.
In some optional implementations of some embodiments, each piece of development engineering information in the development engineering information set includes development language information including general command information and difference command information; and generating a differential command information set based on each piece of development language information and the common command information set included in the development project information set, may include:
the first step is to extract general command information included in each piece of development language information included in the development project information set to obtain each piece of development language information after extraction processing. The data extraction software may be used to extract general command information included in each piece of development language information included in the development engineering information set.
And secondly, determining each piece of development language information after the extraction processing as a difference command information set.
And step 205, generating project engineering construction information based on the difference information set, the cross-platform command information and the hook function.
In some embodiments, the execution agent may generate project engineering construction information based on the difference information set, the cross-platform command information, and the hook function. Wherein the hook function may be a function to process system messages. When a program event is triggered in a project, the utilization of the hook function can enable the project to capture the event at the system level and then perform some related operations.
As an example, the project engineering may be a project engineering developed by using a python development language, the pyinstteller may be used to perform packing distribution of data, and a hook tool is used to complete difference information in each development language information, thereby implementing task scheduling on a multilingual project engineering by using a unified platform. Wherein the pyinstteller may package the python application, and the packaged program may run on a machine that does not have a python interpreter installed. The hook tool is similar to the implementation of the githook tool and can be used in any programming language.
Optionally, the project engineering construction information is sent to a client, so that the client can construct the project engineering according to the project engineering construction information.
As an example, the execution body may send the project engineering construction information to a client, so that the client performs unified construction of a multi-language project engineering according to the project engineering construction information.
Optionally, the development engineering information set, the cross-platform command information, the difference information set, and the project engineering construction information are sent to a private cloud platform, so that the private cloud platform stores the development engineering information set, the cross-platform command information, the difference information set, and the project engineering construction information.
By way of example, the functionality that a private cloud may implement includes, but is not limited to, the following: the system comprises the following modules for management, user management and file management, has the characteristics of simple service and easy abstract extension, and can be suitable for various platforms by one-key starting. The private cloud platform can be implemented using the openness of nginx + lua, which is a file reverse proxy server. The service layer may be supported by the luajit, and specific service layers are implemented, such as module management and user management. The high compatibility of nginx in each platform can ensure that the cloud service is started in one key in various development environments and various development platforms. Here nginx may be a lightweight Web server or a reverse proxy server and an email proxy server. The lua may be a programming language that acts as an extension script, as well as a configuration file. openness can be a Web platform that integrates a large number of lua libraries, third party modules, and most dependent items inside. The luajit runtime environment may include a lua interpreter implemented with handwriting assembly and an jit compiler that can directly generate machine code.
The above embodiments of the present disclosure have the following advantages: the multi-language project engineering construction method provided by some embodiments of the disclosure can be used for uniformly constructing the multi-language project engineering, so that the workload of a user in constructing the multi-language project engineering is reduced. Specifically, the reason why the workload of the user is large is that: when a multi-language project is built, multi-module building and management of the multi-language project are needed. Based on this, according to the multi-language project engineering construction method of some embodiments of the present disclosure, first, a development engineering information set may be obtained, and information extraction may be performed on each development language information included in the development engineering information set to obtain a general command information set. Thus, the development project can be managed using a unified development language instead of a plurality of development languages. Cross-platform command information may then be generated based on the set of generic command information described above. Therefore, unified installation, deletion, updating and query of modules can be carried out by utilizing the cross-platform command information. Next, a differential command information set may be generated based on each piece of development language information included in the development project information set and the general command information set. Therefore, the difference command information in the modules of different languages can be extracted, and a data basis is provided for the construction of the subsequent multi-language project engineering. And finally, generating project engineering construction information based on the difference information set, the cross-platform command information and the hook function. The difference information set can be processed by a hook function, and project engineering construction information is generated according to the cross-platform command information and the difference information set. Therefore, unified management of the multi-language project engineering can be realized, and the workload of a user in constructing the multi-language project engineering is reduced.
With further reference to fig. 3, as an implementation of the above method for the above figures, the present disclosure provides some embodiments of a multi-language project engineering construction apparatus, which correspond to those of the above method embodiments of fig. 2, and which may be applied to various electronic devices.
As shown in fig. 3, the multi-language project construction apparatus 300 of some embodiments includes: an acquisition unit 301, an information extraction unit 302, a first generation unit 303, a second generation unit 304, and a third generation unit 305. The acquiring unit 301 is configured to acquire a development project information set, where each piece of development project information in the development project information set includes development language information; an information extraction unit 302 configured to extract information of each development language information included in the development project information set to obtain a general command information set; a first generating unit 303 configured to generate cross-platform command information based on the general command information set; a second generating unit 304 configured to generate a difference information set based on each piece of development language information included in the development project information set and the common command information set; the third generating unit 305 is configured to generate project engineering construction information based on the difference information set, the cross-platform command information, and the hook function.
It will be understood that the units described in the apparatus 300 correspond to the various steps in the method described with reference to fig. 2. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 300 and the units included therein, and are not described herein again.
Referring now to FIG. 4, a block diagram of an electronic device (e.g., computing device 101 of FIG. 1)400 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, electronic device 400 may include a processing device (e.g., central processing unit, graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage device 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 404 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 404: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate wirelessly or by wire with other devices to exchange data. While fig. 4 illustrates an electronic device 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 4 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 409, or from the storage device 408, or from the ROM 402. The computer program, when executed by the processing apparatus 401, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the apparatus; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring a development project information set, wherein each piece of development project information in the development project information set comprises development language information; extracting information of each development language information included in the development engineering information set to obtain a general command information set; generating cross-platform command information based on the general command information set; generating a difference command information set based on each piece of development language information and the universal command information set which are included in the development engineering information set; and generating project engineering construction information based on the difference information set, the cross-platform command information and the hook function.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes an acquisition unit, an information extraction unit, a first generation unit, a second generation unit, and a third generation unit. The names of these units do not in some cases form a limitation on the units themselves, and for example, the acquiring unit may also be described as a "unit that acquires a set of development engineering information".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (9)

1. A construction method of a multi-language project engineering comprises the following steps:
acquiring a development project information set, wherein each piece of development project information in the development project information set comprises development language information;
extracting information of each development language information included in the development engineering information set to obtain a general command information set;
generating cross-platform command information based on the general command information set;
generating a difference command information set based on each piece of development language information and the universal command information set which are included in the development engineering information set;
and generating project engineering construction information based on the difference information set, the cross-platform command information and the hook function.
2. The method of claim 1, wherein the method further comprises:
and sending the project construction information to a client so that the client can construct the project according to the project construction information.
3. The method of claim 2, wherein the method further comprises:
and sending the development project information set, the cross-platform command information, the difference information set and the project construction information to a private cloud platform, so that the private cloud platform can store the development project information set, the cross-platform command information, the difference information set and the project construction information.
4. The method of claim 3, wherein the extracting information of each piece of development language information included in the development project information set to obtain a universal command information set comprises:
extracting the universal module management information included in each piece of development language information included in the development engineering information set to obtain a universal module management information set;
and determining each universal module management information in the universal module management information set as universal command information to obtain a universal command information set.
5. The method of claim 4, wherein each generic module management information in the set of generic module management information comprises at least one of: module installation command information, module deletion command information, module update command information, and module query command information.
6. The method of claim 5, wherein each development engineering information in the set of development engineering information includes development language information including general command information and differential command information; and
generating a differential command information set based on each piece of development language information and the general command information set included in the development engineering information set, including:
extracting general command information included in each piece of development language information included in the development engineering information set to obtain each piece of development language information after extraction;
and determining each piece of development language information after the extraction processing as a difference command information set.
7. A multi-language project engineering construction device comprises:
an acquisition unit configured to acquire a set of development project information, wherein each development project information in the set of development project information includes development language information;
the information extraction unit is configured to extract information of each development language information included in the development project information set to obtain a general command information set;
a first generating unit configured to generate cross-platform command information based on the set of generic command information;
a second generating unit configured to generate a difference information set based on each piece of development language information and the common command information set included in the development project information set;
and the third generation unit is configured to generate project engineering construction information based on the difference information set, the cross-platform command information and the hook function.
8. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
9. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-6.
CN202110622100.8A 2021-06-03 2021-06-03 Method, device, equipment and medium for constructing multilingual project engineering Active CN113434124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110622100.8A CN113434124B (en) 2021-06-03 2021-06-03 Method, device, equipment and medium for constructing multilingual project engineering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110622100.8A CN113434124B (en) 2021-06-03 2021-06-03 Method, device, equipment and medium for constructing multilingual project engineering

Publications (2)

Publication Number Publication Date
CN113434124A true CN113434124A (en) 2021-09-24
CN113434124B CN113434124B (en) 2024-10-01

Family

ID=77803950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110622100.8A Active CN113434124B (en) 2021-06-03 2021-06-03 Method, device, equipment and medium for constructing multilingual project engineering

Country Status (1)

Country Link
CN (1) CN113434124B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6662359B1 (en) * 2000-07-20 2003-12-09 International Business Machines Corporation System and method for injecting hooks into Java classes to handle exception and finalization processing
US20040168160A1 (en) * 2003-02-26 2004-08-26 Bea Systems, Inc. System and method for multi-language extensible compiler framework
US20100153907A1 (en) * 2008-12-11 2010-06-17 International Business Machines Corporation Configurable Unified Modeling Language Building Blocks
CN106873989A (en) * 2017-01-20 2017-06-20 北京奇虎科技有限公司 Application program building method and device
US10001982B1 (en) * 2016-12-16 2018-06-19 Palantir Technologies, Inc. Imposing a common build system for services from disparate sources
CN109799980A (en) * 2018-12-13 2019-05-24 平安普惠企业管理有限公司 Method, apparatus and computer equipment based on the more programming language interconnection of data processing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6662359B1 (en) * 2000-07-20 2003-12-09 International Business Machines Corporation System and method for injecting hooks into Java classes to handle exception and finalization processing
US20040168160A1 (en) * 2003-02-26 2004-08-26 Bea Systems, Inc. System and method for multi-language extensible compiler framework
US20100153907A1 (en) * 2008-12-11 2010-06-17 International Business Machines Corporation Configurable Unified Modeling Language Building Blocks
US10001982B1 (en) * 2016-12-16 2018-06-19 Palantir Technologies, Inc. Imposing a common build system for services from disparate sources
CN106873989A (en) * 2017-01-20 2017-06-20 北京奇虎科技有限公司 Application program building method and device
CN109799980A (en) * 2018-12-13 2019-05-24 平安普惠企业管理有限公司 Method, apparatus and computer equipment based on the more programming language interconnection of data processing

Also Published As

Publication number Publication date
CN113434124B (en) 2024-10-01

Similar Documents

Publication Publication Date Title
CN111309304B (en) Method, device, medium and electronic equipment for generating IDL file
CN111309375B (en) Method, device, medium and electronic equipment for generating remote procedure call toolkit
CN111338944B (en) Remote Procedure Call (RPC) interface testing method, device, medium and equipment
CN113821352A (en) Remote service calling method and device
CN112596854A (en) Method and device for continuously integrating running of assembly line
CN112631590A (en) Component library generation method and device, electronic equipment and computer readable medium
CN110851211A (en) Method, apparatus, electronic device, and medium for displaying application information
CN114461247A (en) Hot update method, device, electronic equipment and computer readable medium
CN111612434B (en) Method, apparatus, electronic device and medium for generating processing flow
CN110704050B (en) Module initializing method and device, electronic equipment and computer readable storage medium
CN113434124B (en) Method, device, equipment and medium for constructing multilingual project engineering
CN113448679B (en) Method and device for processing call request
CN114398035A (en) Method, apparatus, device and computer readable medium for providing service using component
CN114780263A (en) Service calling method, device, equipment and storage medium
CN114115941A (en) Resource sending method, page rendering method, device, electronic equipment and medium
CN113419716A (en) Code generation method and device, terminal equipment and storage medium
CN112099841A (en) Method and system for generating configuration file
CN113805858A (en) Method and device for continuously deploying software developed by scripting language
CN111447298A (en) Method, device, equipment and medium for acquiring network address in application program
CN112445820A (en) Data conversion method and device
CN114047922B (en) Transcoding method, device, medium and equipment for precompiled device
CN112445517B (en) Inlet file generation method, device, electronic equipment and computer readable medium
CN113157276B (en) Layout file conversion method, apparatus, electronic device, and computer-readable medium
CN112311833B (en) Data updating method and device
CN110908867B (en) Task completion judging method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant