CN111240686B - Cloud compiling method and system, terminal device, cloud server and storage medium - Google Patents

Cloud compiling method and system, terminal device, cloud server and storage medium Download PDF

Info

Publication number
CN111240686B
CN111240686B CN202010022260.4A CN202010022260A CN111240686B CN 111240686 B CN111240686 B CN 111240686B CN 202010022260 A CN202010022260 A CN 202010022260A CN 111240686 B CN111240686 B CN 111240686B
Authority
CN
China
Prior art keywords
compiling
cloud
server
compiled
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010022260.4A
Other languages
Chinese (zh)
Other versions
CN111240686A (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.)
Jiangsu Manyun Software Technology Co Ltd
Original Assignee
Jiangsu Manyun Software 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 Jiangsu Manyun Software Technology Co Ltd filed Critical Jiangsu Manyun Software Technology Co Ltd
Priority to CN202010022260.4A priority Critical patent/CN111240686B/en
Publication of CN111240686A publication Critical patent/CN111240686A/en
Application granted granted Critical
Publication of CN111240686B publication Critical patent/CN111240686B/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/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to the technical field of software development, and provides a cloud compiling method and system, a terminal device, a cloud server and a storage medium. The cloud compiling method comprises the following steps: sending an initialization request to a server, wherein the initialization request carries source data to be compiled stored in a local warehouse and compiling environment data corresponding to the source data to be compiled; after receiving an initialization completion message returned by the server, sending a compiling request of source data to be compiled to the server, wherein the compiling request carries incremental data which are generated in a local warehouse and are associated with the source data to be compiled; and receiving a target installation package returned by the server according to the source data to be compiled and the incremental data, and executing the installation of the target object according to the target installation package. The method and the device can improve the development efficiency and enable development work to be parallel.

Description

Cloud compiling method and system, terminal device, cloud server and storage medium
Technical Field
The present disclosure relates to the field of software development technologies, and in particular, to a cloud compiling method and system, a terminal device, a cloud server, and a storage medium.
Background
The rapid development of the software industry makes the project engineering more and more complex, especially the Android software project may involve the compilation of multiple languages such as C, C + +, python, java, koylin, etc. in the compilation stage. Taking a computer which is mainly developed and configured, such as a computer configured with a 16G RAM (random access memory), a 256G SSD (solid state drive) and a processor as an example, the overall compiling time can reach 15 minutes on average. The compiling period is full of a large number of CPU calculation and IO operation, double loads are caused to the CPU and the memory of the computer, a large number of resources are seized, and blocking is caused. Therefore, other operations of the computer can only be stopped during compiling, and development efficiency is reduced. And the developer can not quickly respond to the next operation after compiling, so that the efficiency is further reduced.
It is noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure and therefore may include information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
In view of this, the present disclosure provides a cloud compiling method and system, a terminal device, a cloud server, and a storage medium, which solve the problems of long development and compilation time, high load operation of a client, and large memory occupation, and achieve the purpose of improving development efficiency and enabling development work to be parallel.
According to a first aspect of the present disclosure, there is provided a cloud compiling method, including: sending an initialization request to a server, wherein the initialization request carries source data to be compiled stored in a local warehouse and compiling environment data corresponding to the source data to be compiled; after receiving an initialization completion message returned by the server, sending a compiling request of the source data to be compiled to the server, wherein the compiling request carries incremental data which are generated in the local warehouse and are associated with the source data to be compiled; and receiving a target installation package returned by the server according to the source data to be compiled and the incremental data, and executing the installation of a target object according to the target installation package.
In one embodiment, after initiating the compiling request of the source data to be compiled to the server, the method further includes: and sending a log acquisition request to the server to acquire and display compiled log data returned by the server according to the source data to be compiled and the incremental data in real time.
In one embodiment, the cloud compiling method further comprises: and updating and monitoring the local warehouse, generating an updating data packet carrying the updating data when the updating data associated with the source data to be compiled is generated in the local warehouse, and sending the updating data packet to the server.
In one embodiment, when the update packet is sent to the server, the sending operation of the update packet is executed according to a set update time.
In one embodiment, the sending of the initialization request and the compilation request is performed by an integrated development environment plug-in.
According to a second aspect of the present disclosure, there is provided a terminal device, the terminal device comprising: a processor; a memory storing executable instructions of the processor; wherein the processor is configured to perform the steps of the cloud compilation method described above via execution of the executable instructions.
According to a third aspect of the present disclosure, there is provided a cloud compiling method including: receiving an initialization request sent by a client, synchronizing a cloud warehouse according to source data to be compiled carried by the initialization request, and creating a compiling environment according to compiling environment data carried by the initialization request; transmitting an initialization completion message back to the client; receiving a compiling request sent by the client, and compiling to generate a target installation package according to source data to be compiled and incremental data carried by the compiling request; and transmitting the target installation package back to the client.
In one embodiment, the cloud compiling method further comprises: and receiving a log acquisition request sent by the client, and transmitting compilation log data generated when the compilation operation of the source data to be compiled and the incremental data is executed back to the client.
In one embodiment, the cloud compiling method further comprises: and receiving an update data packet sent by the client, and updating the cloud warehouse according to update data carried by the update data packet.
In an embodiment, after receiving an initialization request sent by a client, an initialization task is generated, and a synchronization operation of the cloud repository and a creation operation of the compilation environment are executed according to the initialization task.
In an embodiment, after receiving a compiling request sent by the client, a compiling task is generated, and a compiling operation of the source data to be compiled and the incremental data is executed according to the compiling task.
According to a fourth aspect of the present disclosure, there is provided a cloud server, comprising: a processor; a memory storing executable instructions of the processor; wherein the processor is configured to perform the steps of the cloud compilation method described above via execution of the executable instructions.
According to a fifth aspect of the present disclosure, a cloud compiling system is provided, which includes the terminal device and the cloud server.
According to a sixth aspect of the present disclosure, there is provided a computer readable storage medium for storing a program, the program implementing the steps of the cloud compiling method according to any of the embodiments described above when executed.
Compared with the prior art, the beneficial effects of this disclosure include at least:
by moving the editing operation to the server side, the client side only needs to establish connection synchronization with the server side before the request is compiled, and initiates a compiling request to the server side to release system resources of the client side;
the configuration of the server is higher than that of the client, so that the compiling speed is improved, the client can process other operations in the process of waiting for the compiling of the server, the compiling and other operations are realized in parallel, and the efficiency is improved;
and after the compiling is finished, the client side automatically installs the target object, so that the efficiency is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
FIG. 1 is a schematic diagram illustrating an overall architecture of a cloud compilation method in an embodiment of the present disclosure;
fig. 2 shows a flow diagram of a cloud compiling method applied to a client in the embodiment of the present disclosure;
FIG. 3 shows an architectural diagram of a client in an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a cloud compiling method applied to a server in the embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an architecture of a server in an embodiment of the present disclosure;
FIG. 6 shows a schematic diagram of communication between a client and a server in an embodiment of the present disclosure;
FIG. 7 shows a schematic structural diagram of an electronic device in an embodiment of the disclosure;
fig. 8 shows a block schematic diagram of a cloud compilation system in an embodiment of the present disclosure; and
fig. 9 shows a schematic structural diagram of a computer-readable storage medium in an embodiment of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their repetitive description will be omitted.
Fig. 1 shows an overall architecture of an application scenario of the cloud compiling method in one embodiment. As shown in fig. 1, the application scenario includes a client a and a server B. The client A is used for installing and using target objects such as application programs, operating systems, development tools and the like; and the server B is used for providing the client A with the compiling operation of the installation package of the target object. In some embodiments, the client a is a user device such as a smartphone, tablet, personal computer, or the like; the server B is, for example, a single server, a server cluster, a cloud processing center, or the like. The server B may provide services for a plurality of clients a, and the client a may also implement communication with the plurality of servers B, which is not limited to the scenario shown in fig. 1.
Fig. 2 shows a main flow of a cloud compiling method applied to a client in one embodiment. Referring to fig. 2, the cloud compiling method in this embodiment includes: s10, sending an initialization request to a server, wherein the initialization request carries source data to be compiled stored in a local warehouse and compiling environment data corresponding to the source data to be compiled; s30, after receiving an initialization completion message returned by the server, sending a compiling request of the source data to be compiled to the server, wherein the compiling request carries incremental data which are generated in a local warehouse and are associated with the source data to be compiled; and S50, receiving a target installation package returned by the server according to the source data to be compiled and the incremental data, and executing the installation of the target object according to the target installation package.
According to the cloud compiling method applied to the client side, the editing operation is moved to the server side for carrying out, the client side only needs to send the initialization request before the request is compiled, the source data to be compiled in the local warehouse is synchronized to the server side, and the corresponding compiling environment data is synchronized to the server side so that the server side can build a compiling environment. The initialization request is only used before the client requests the server to compile for the first time, the client checks whether the server has a cloud warehouse corresponding to the local warehouse, and if the cloud warehouse does not exist, the server uploads the cloud warehouse to achieve data synchronization of the cloud warehouse and the local warehouse. When the client side initiates a compiling request, whether the data in the local warehouse is synchronous with the data in the cloud warehouse or not is checked, if the data in the local warehouse is asynchronous with the data in the cloud warehouse, incremental data are generated in the local warehouse, and therefore the incremental data are carried in the compiling request and are synchronized to the server side. The incremental data may be sent to the server in the form of data packets, for example. The compiling operation is moved to the server side, so that the system resources of the client side are released, the client side can process other operations in the process of waiting for compiling, the compiling and other operations are parallel, and the efficiency is improved; and the configuration of the server is higher than that of the client, so that the compiling speed can be improved. After the server side successfully compiles, the installation package generated by compiling is pushed to the client side, and the client side automatically executes installation of the target object according to the target installation package, so that the efficiency is further improved.
In one embodiment, after the client initiates a compilation request of source data to be compiled to the server, the method further includes: and sending a log acquisition request to the server to acquire and display compiled log data returned by the server according to the source data to be compiled and the incremental data in real time. And compiling log data can be checked by a developer in time and can follow up the compiling progress. Furthermore, the client can also perform update monitoring on the local warehouse, generate an update data packet carrying update data when update data associated with the source data to be compiled is generated in the local warehouse, and send the update data packet to the server. When the client sends the update data packet to the server, the client can execute the sending operation of the update data packet according to the set update time so as to realize the configuration of the update synchronization time.
Fig. 3 shows an architecture schematic of a client in an embodiment, and in conjunction with fig. 1 to 3, a client a is configured with an Integrated Development Environment (IDE) tool 11 and a plug-in service 12 provided by a plurality of IDE plug-ins. The IDE tool 11 is responsible for displaying cloud compiling options, log data, installation package files generated by cloud compiling and the like to a user; the plug-in service 12 can be adapted to each platform IDE, the IDE plug-in is a total bridge of the entire cloud compilation service, and a user can configure warehouse addresses, data packet synchronization opportunities, and the like using cloud compilation when installing the IDE plug-in. The IDE plug-in is matched with the cloud service of the server B for use, and a communication protocol is agreed. The plug-in service 12 serves as a bridge layer between the client a and the server B, and is responsible for service communication between the client a and the server B, initiating various requests to realize data exchange, and performing compiling environment and warehouse initialization, data package generation, log acquisition, installation package acquisition and the like. For example, the IDE tool 11 configured by the client a initiates an initialization request and a compilation request to the server B through the plugin service 12, and performs update monitoring of the local repository; the plug-in service 12 displays the acquired cloud data to a control panel of the IDE tool 11, for example, synchronously displays a compiling log of the server B and a finally generated installation package, and pushes the installation package to a local corresponding directory of the IDE tool 11 to initiate operations such as installation.
Fig. 4 shows a main flow of a cloud compiling method applied to a server in one embodiment. Referring to fig. 4, the cloud compiling method in this embodiment includes: s20, receiving an initialization request sent by a client, synchronizing a cloud warehouse according to source data to be compiled carried by the initialization request, creating a compiling environment according to compiling environment data carried by the initialization request, and transmitting an initialization completion message back to the client; and S40, receiving a compiling request sent by the client, compiling to generate a target installation package according to the source data to be compiled and the incremental data carried by the compiling request, and transmitting the target installation package back to the client.
According to the cloud compiling method applied to the server side, the compiling operation is moved to the server side for carrying out, the configuration of the server side is higher than that of the client side, and therefore the compiling speed is improved; the client does not need compiling operation, so that system resources can be released, the client can process other operations in the process of waiting for the compiling of the server, the compiling and other operations are realized in parallel, and the efficiency is improved.
In one embodiment, the server further performs: and receiving a log acquisition request sent by the client, and transmitting compiled log data generated when compiling operation of the source data to be compiled and the incremental data is executed back to the client. And when receiving the update data packet sent by the client, updating the cloud warehouse according to the update data carried by the update data packet. In some embodiments, the server converts the request sent by the client into a specific task, and responds to the request of the client by executing the corresponding task. For example, after receiving an initialization request sent by a client, a server generates an initialization task, and executes a synchronization operation of a cloud warehouse and a creation operation of a compiling environment according to the initialization task; and after receiving the compiling request sent by the client, the server generates a compiling task, and executes the compiling operation of the source data and the incremental data to be compiled according to the compiling task.
Fig. 5 shows a schematic architecture of a server in an embodiment, and in conjunction with fig. 1, fig. 4, and fig. 5, a server B is configured with a cloud service 22 and a physical medium 21. The cloud service 22 is configured to communicate with the plug-in service 12 of the client a, receive a request instruction of the client a, convert tasks such as initialization, packet application, compiling response, log output, and the like for the physical medium 21 to execute, and transmit a corresponding receipt and data back to the client a. The physical medium 21 is where data is actually carried and compiled calculations are performed, such as warehouse code synchronization, compilation environment installation, compiled calculations, and the like. The warehouse code 1 and the warehouse code 2 are source data to be compiled stored in a synchronized cloud warehouse; the compiling environment is a compiling environment created according to the compiling environment data corresponding to the source data to be compiled. The physical medium 21 of the server B puts the source data to be compiled into a compiling environment for compiling and calculating, and generates a related log and a final package product.
Fig. 6 shows a communication schematic of the client a and the server B in one embodiment, and referring to fig. 6, a plug-in service of the client a and a cloud service of the server B communicate remotely, and the plug-in of the client a is used for requiring collecting and initiating an instruction, such as initiating an initialization request, a compiling request, an update data packet, a data pull request, and the like. The cloud service of the server B is used as an instruction receiver to convert an instruction into a specific task, call physical resources to perform processing, such as warehouse initialization, compiling environment initialization, data packet application, compiling execution, log acquisition, package installation and returning and the like, and establish a relevant dependency for each task.
According to the cloud compiling method, the compiling speed is improved by moving the editing operation to the server side, the problems of long development and compiling time, high-load operation of the client side and large memory occupation are solved, and system resources of the client side are released; the client can process other operations in parallel in the process of waiting for the server to compile, so that the development efficiency is improved; after the compiling is completed, the server automatically returns the installation package, and the target object of the client is installed, so that the efficiency is further improved.
The disclosed embodiment also provides an electronic device respectively applied to a client and a server, where the electronic device includes a processor and a memory, where the memory stores executable instructions of the processor, and the processor is configured to implement the steps of the cloud compiling method applied to the client or the server by executing the executable instructions stored in the memory.
The electronic device applied to the client is, for example, a terminal device, such as a smart phone, a tablet computer, a desktop computer, and the like. The terminal device can execute the steps of the cloud compiling method shown in fig. 2 when running, so as to achieve functions of releasing system resources, improving development efficiency and the like. The electronic device applied to the server is, for example, a cloud server, and the cloud server can execute the steps of the cloud compiling method shown in fig. 4 when running, so as to achieve the functions of improving the compiling speed, adapting to compiling operations of various program languages, and the like.
The specific structure of the electronic device is described below with reference to fig. 7. The electronic device may be applied to a client or a server, depending on the executable instructions stored in its memory and the configuration of its processor. The electronic device 600 shown in fig. 7 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. 7, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one memory unit 620, a bus 630 connecting the different platform components (including the memory unit 620 and the processing unit 610), a display unit 640, etc.
Wherein the storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 performs the steps of the cloud compiling method described in the above embodiments. For example, when the electronic device 600 is a terminal device applied to a client, the processing unit 610 thereof may include: the initialization request module is used for sending an initialization request to the server, wherein the initialization request carries the source data to be compiled stored in the local warehouse and the compiling environment data corresponding to the source data to be compiled; the compiling request module is used for sending a compiling request of the source data to be compiled to the server after receiving an initialization completion message returned by the server, wherein the compiling request carries incremental data which are generated in the local warehouse and are associated with the source data to be compiled; and the installation module is used for receiving a target installation package returned by the server according to the source data to be compiled and the incremental data and executing the installation of the target object according to the target installation package. When the electronic device 600 is a cloud server applied to a server, the processing unit 610 thereof may include: the initialization execution module is used for receiving an initialization request sent by the client, synchronizing a cloud warehouse according to source data to be compiled carried by the initialization request, creating a compiling environment according to compiling environment data carried by the initialization request, and transmitting an initialization completion message back to the client; and the compiling execution module is used for receiving the compiling request sent by the client, compiling and generating the target installation package according to the source data to be compiled and the incremental data carried by the compiling request, and transmitting the target installation package back to the client.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203. The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may comprise an implementation of a network environment.
Bus 630 can be any bus representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
The embodiment of the present disclosure also provides a cloud compiling system for implementing the cloud compiling method, and fig. 8 shows main modules of the cloud compiling system in one embodiment. Referring to fig. 8, the cloud compiling system 8 includes the terminal device 8a and the cloud server 8b as described above. The processing module of the terminal device 8a mainly includes: an initialization request module 801, configured to send an initialization request to the cloud server 8b, where the initialization request carries source data to be compiled stored in the local warehouse and compiling environment data corresponding to the source data to be compiled; the compiling request module 803 is configured to send a compiling request of the source data to be compiled to the cloud server 8b after receiving the initialization completion message returned by the cloud server 8b, where the compiling request carries incremental data associated with the source data to be compiled and generated in the local warehouse; and an installation module 805, configured to receive a target installation package returned by the cloud server 8b according to the source data to be compiled and the incremental data, and execute installation of the target object according to the target installation package. The processing module of the cloud server 8b mainly includes: the initialization execution module 802 is configured to receive an initialization request sent by the terminal device 8a, synchronize the cloud warehouse according to the source data to be compiled carried in the initialization request, create a compiling environment according to the compiling environment data carried in the initialization request, and send an initialization completion message back to the terminal device 8 a; and a compiling execution module 804, configured to receive the compiling request sent by the terminal device 8a, compile and generate a target installation package according to the source data to be compiled and the incremental data carried in the compiling request, and return the target installation package to the terminal device 8 a.
The cloud compiling system 8 of the embodiment improves the compiling speed by moving the editing operation to the cloud server 8b, solves the problems of long development and compiling time, high-load operation of the terminal device 8a and large memory occupation, and releases the system resources of the terminal device 8 a; the terminal device 8a can process other operations in parallel in the process of waiting for the compilation of the cloud server 8b, so that the development efficiency is improved; and after the compiling is finished, the cloud server 8b automatically returns the installation package, and the target object of the terminal equipment 8a is installed, so that the efficiency is further improved.
The embodiment of the present disclosure further provides computer-readable storage media respectively applied to the client and the server, and the computer-readable storage media are used for storing a program, and when the program is executed, the steps of the cloud compiling method shown in fig. 2 are implemented, so as to implement functions of releasing system resources and improving development efficiency; or the steps of the cloud compiling method shown in fig. 4 are implemented to realize the functions of increasing the compiling speed, adapting to the compiling operation of various program languages, and the like.
A specific structure of the computer-readable storage medium is described below with reference to fig. 9. The computer readable storage medium may be applied to a client or a server, depending on the program instructions stored therein. Referring to fig. 9, a program product 900 for implementing the above method according to an embodiment of the present disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a 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.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A 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 (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
A computer readable storage medium may include a propagated data signal with 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 readable storage medium may also be any readable medium that is not a 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 readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects 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, C + + or the like 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 computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The foregoing is a further detailed description of the present disclosure in connection with specific preferred embodiments and it is not intended to limit the practice of the disclosure to the specific embodiments set forth herein. For those skilled in the art to which the disclosure pertains, several simple deductions or substitutions may be made without departing from the concept of the disclosure, which should be considered as falling within the protection scope of the disclosure.

Claims (14)

1. A cloud compiling method, comprising:
sending an initialization request to a server, wherein the initialization request carries source data to be compiled stored in a local warehouse and compiling environment data corresponding to the source data to be compiled;
after receiving an initialization completion message returned by the server, sending a compiling request of the source data to be compiled to the server, wherein the compiling request carries incremental data which are generated in the local warehouse and are associated with the source data to be compiled; and
and receiving a target installation package returned by the server according to the source data to be compiled and the incremental data, and executing the installation of a target object according to the target installation package.
2. The cloud compiling method according to claim 1, wherein after initiating the compiling request of the source data to be compiled to the server, the method further comprises:
and sending a log obtaining request to the server to obtain and display compiled log data returned by the server according to the source data to be compiled and the incremental data in real time.
3. The cloud compilation method of claim 1, further comprising:
and updating and monitoring the local warehouse, generating an updating data packet carrying the updating data when the updating data associated with the source data to be compiled is generated in the local warehouse, and sending the updating data packet to the server.
4. The cloud compiling method according to claim 3 wherein, when the update packet is sent to the server, the sending operation of the update packet is executed according to a set update time.
5. The cloud compilation method of claim 1, wherein the sending of the initialization request and the compilation request is performed by an integrated development environment plug-in.
6. A cloud compiling method, comprising:
receiving an initialization request sent by a client, synchronizing a cloud warehouse according to source data to be compiled carried by the initialization request, and creating a compiling environment according to compiling environment data carried by the initialization request;
transmitting an initialization completion message back to the client;
receiving a compiling request sent by the client, and compiling to generate a target installation package according to source data to be compiled and incremental data carried by the compiling request; and
and transmitting the target installation package back to the client.
7. The cloud compilation method of claim 6, further comprising:
and receiving a log acquisition request sent by the client, and transmitting compiled log data generated when the compiling operation of the source data to be compiled and the incremental data is executed back to the client.
8. The cloud compilation method of claim 6, further comprising:
and receiving an update data packet sent by the client, and updating the cloud warehouse according to update data carried by the update data packet.
9. The cloud compiling method according to claim 6, wherein after receiving an initialization request sent by a client, an initialization task is generated, and a synchronization operation of the cloud repository and a creation operation of the compiling environment are performed according to the initialization task.
10. The cloud compiling method according to claim 6, wherein after receiving the compiling request sent by the client, a compiling task is generated, and the compiling operation of the source data to be compiled and the incremental data is executed according to the compiling task.
11. A terminal device, comprising:
a processor;
a memory storing executable instructions of the processor;
wherein the processor is configured to perform the steps of the cloud compilation method of any of claims 1 to 5 via execution of the executable instructions.
12. A cloud server, comprising:
a processor;
a memory storing executable instructions of the processor;
wherein the processor is configured to perform the steps of the cloud compilation method of any of claims 6 to 10 via execution of the executable instructions.
13. A cloud compiling system characterized by comprising the terminal device according to claim 11 and the cloud server according to claim 12.
14. A computer-readable storage medium storing a program, characterized in that:
the program when executed implementing the steps of the cloud compilation method of any of claims 1 to 5; or
The program when executed implements the steps of the cloud compilation method of any of claims 6 to 10.
CN202010022260.4A 2020-01-09 2020-01-09 Cloud compiling method and system, terminal device, cloud server and storage medium Active CN111240686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010022260.4A CN111240686B (en) 2020-01-09 2020-01-09 Cloud compiling method and system, terminal device, cloud server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010022260.4A CN111240686B (en) 2020-01-09 2020-01-09 Cloud compiling method and system, terminal device, cloud server and storage medium

Publications (2)

Publication Number Publication Date
CN111240686A CN111240686A (en) 2020-06-05
CN111240686B true CN111240686B (en) 2022-10-04

Family

ID=70878149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010022260.4A Active CN111240686B (en) 2020-01-09 2020-01-09 Cloud compiling method and system, terminal device, cloud server and storage medium

Country Status (1)

Country Link
CN (1) CN111240686B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112882718B (en) * 2021-02-26 2024-03-01 百果园技术(新加坡)有限公司 Compiling processing method, device, equipment and storage medium
CN114157654B (en) * 2021-10-28 2024-03-19 杭州未名信科科技有限公司 Integrated circuit collaborative design system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121543B (en) * 2017-11-30 2020-12-01 奇安信科技集团股份有限公司 Software code compiling processing method and device
CN110442347B (en) * 2019-08-12 2023-06-30 广州虎牙科技有限公司 Method and device for compiling installation package, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN111240686A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
CN108961033B (en) Multi-service system interaction method and device, storage medium and electronic terminal
JP2020535517A (en) Methods for job processing in quantum computing-enabled cloud environments, quantum cloud environments (QCE), and computer programs
JP2018530070A (en) System and method for building, optimizing and implementing a platform on a cloud-based computing environment
CN111240686B (en) Cloud compiling method and system, terminal device, cloud server and storage medium
CN104731706A (en) Method and device for test management using distributed computing
CN103077034B (en) hybrid virtualization platform JAVA application migration method and system
CN111782730B (en) File uploading method and device and storage medium
KR20220151585A (en) Business data processing method, apparatus, electronic apparatus, storage media and computer program
CN111338893A (en) Process log processing method and device, computer equipment and storage medium
CN111178849A (en) Linear process engine implementation method, device, equipment and storage medium
CN113922995A (en) Cloud desktop sharing method and device, storage medium and electronic equipment
CN110888639A (en) Business code compiling and packaging method and device
CN113656502B (en) Data synchronization method, system, electronic device and storage medium
CN114443076A (en) Mirror image construction method, device, equipment and storage medium
US11645109B2 (en) Managing failures in edge computing environments
WO2024001240A1 (en) Task integration method and apparatus for multiple technology stacks
CN111061259A (en) Incident driving method, system, device and storage medium for walking robot
CN111352664A (en) Distributed machine learning task starting method, system, equipment and storage medium
CN111275389A (en) Operation and maintenance operation creating and managing method and device
WO2021243665A1 (en) Compilation method, compilation apparatus, compilation system, storage medium, and electronic device
CN113504916A (en) Code updating method and device, computer equipment and medium
CN111937366A (en) Web request processing method and device
Martínez et al. Implementing crossplatform distributed algorithms using standard web technologies
WO2024000917A1 (en) Non-intrusive, pluggable front-end build transfer acceleration method and apparatus
CN107171877B (en) Method and device for creating CF service instance

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
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20200605

Assignee: Nanjing Manyun Cold Chain Technology Co.,Ltd.

Assignor: JIANGSU MANYUN SOFTWARE TECHNOLOGY Co.,Ltd.

Contract record no.: X2023980038397

Denomination of invention: Cloud compilation methods and systems, terminal devices, cloud servers, and storage media

Granted publication date: 20221004

License type: Common License

Record date: 20230724