CN112965746A - Application engineering construction method and device, equipment and computer readable storage medium - Google Patents

Application engineering construction method and device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112965746A
CN112965746A CN202110239056.2A CN202110239056A CN112965746A CN 112965746 A CN112965746 A CN 112965746A CN 202110239056 A CN202110239056 A CN 202110239056A CN 112965746 A CN112965746 A CN 112965746A
Authority
CN
China
Prior art keywords
application
code
multiplexing
library
engineering construction
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.)
Pending
Application number
CN202110239056.2A
Other languages
Chinese (zh)
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.)
Shenzhen Qianhai Moka Software Technology Co ltd
Shenzhen Qianhai Maojia Software Technology Co Ltd
Original Assignee
Shenzhen Qianhai Moka 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 Shenzhen Qianhai Moka Software Technology Co ltd filed Critical Shenzhen Qianhai Moka Software Technology Co ltd
Priority to CN202110239056.2A priority Critical patent/CN112965746A/en
Publication of CN112965746A publication Critical patent/CN112965746A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/72Code refactoring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The invention relates to the technical field of computers, and discloses an application engineering construction method, an application engineering construction device, application engineering equipment and a computer readable storage medium. The method comprises the steps that an application main code request and a multiplexing library code request are sent to a cloud end through a client end, then the cloud end respectively obtains the application main code and the multiplexing library code from different storage areas according to the application main code request and the multiplexing library code request, the cloud end comprises at least two servers, each server comprises at least one storage area, the application main code and the multiplexing library code are sent to the client end, and then the client end constructs an application project according to the application main code and the multiplexing library code; the problem of low safety of construction of application engineering in the related technology is solved.

Description

Application engineering construction method and device, equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of computers, in particular to an application engineering construction method, an application engineering construction device, application engineering equipment and a computer readable storage medium.
Background
At present, in the development engineering of the application, an application main code and a multiplexing library code are stored in the same storage area, and further when the application main code has potential safety hazards, the multiplexing library code also has potential safety hazards, so that the construction safety of the application engineering is greatly reduced.
Therefore, how to improve the safety of application engineering construction is an urgent problem to be solved.
Disclosure of Invention
The invention mainly aims to provide an application engineering construction method, an application engineering construction device, application engineering construction equipment and a computer readable storage medium, and aims to improve the safety of application engineering construction.
In order to achieve the above object, the present invention provides an application engineering construction method applied to a cloud, the application engineering construction method including the steps of:
receiving an application main code request and a multiplexing library code request sent by a client;
respectively acquiring an application main code and a multiplexing library code from different storage areas according to the application main code request and the multiplexing library code request; the cloud comprises at least two servers, wherein each server comprises at least one storage area;
and sending the application main code and the multiplexing library code to the client so that the client constructs an application project according to the application main code and the multiplexing library code.
Optionally, the application main code and the multiplexing library code are stored in different storage areas of the same server; before the step of receiving the application main code request and the multiplexing library code request sent by the client, the application engineering construction method further includes:
receiving the uploaded application main code and the multiplexed library code;
storing the application main code and the multiplexing library code in different storage areas of the same server; wherein the server comprises at least two storage areas.
Optionally, the application main code and the multiplexing library code are stored in different servers; before the step of receiving the application main code request and the multiplexing library code request sent by the client, the application engineering construction method further includes:
receiving the uploaded application main code and the multiplexed library code;
storing the application main code and the multiplexing library code in different servers.
In order to achieve the above object, the present invention provides an application engineering construction method applied to a client, the application engineering construction method comprising the following steps:
sending an application main code request and a multiplexing library code request to a cloud end, so that the cloud end respectively obtains an application main code and a multiplexing library code from different storage areas according to the application main code request and the multiplexing library code request; the cloud comprises at least two servers, wherein each server comprises at least one storage area;
receiving an application main code and a multiplexing library code sent by the cloud;
and constructing an application project according to the application main code and the multiplexing library code.
Optionally, before the step of sending the application main code request and the multiplex library code request to the cloud, the application engineering construction method further includes:
receiving a selection instruction through a configuration tool; wherein the selection instruction comprises the selected multiplex library;
and determining a multiplexing library code request according to the selection instruction.
Optionally, before the step of receiving the selection instruction through the configuration tool, the application engineering construction method further includes:
receiving an input instruction through the configuration tool; wherein the input instruction comprises configuration information of a multiplexing library;
and sending the input instruction to the cloud end so that the cloud end updates the corresponding multiplexing library according to the configuration information.
Optionally, the configuration information includes: at least one of a multiplex library name, a multiplex library version, and a multiplex library storage address.
Optionally, before the step of sending the input instruction to the cloud, the application engineering construction method further includes:
receiving a configuration instruction issued by a user;
and configuring the configuration tool into a specified directory of an application project according to the configuration instruction.
In addition, to achieve the above object, the present invention further provides an application engineering construction apparatus applied to a cloud, including:
the first receiving module is used for receiving an application main code request and a multiplexing library code request sent by a client;
the acquisition module is used for respectively acquiring the application main code and the multiplexing library code from different storage areas according to the application main code request and the multiplexing library code request; the cloud comprises at least two servers, wherein each server comprises at least one storage area;
and the first sending module is used for sending the application main code and the multiplexing library code to the client so that the client can construct an application project according to the application main code and the multiplexing library code.
In addition, in order to achieve the above object, the present invention further provides an application engineering construction apparatus, which is applied to a client, and the application engineering construction apparatus includes:
the second sending module is used for sending the application main code request and the multiplexing library code request to the cloud end, so that the cloud end obtains the application main code and the multiplexing library code from different storage areas respectively according to the application main code request and the multiplexing library code request; the cloud comprises at least two servers, wherein each server comprises at least one storage area;
the second receiving module is used for receiving the application main code and the multiplexing library code sent by the cloud end;
and the construction module is used for constructing an application project according to the application main code and the multiplexing library code.
In addition, to achieve the above object, the present invention also provides an application engineering construction apparatus, including: a memory, a processor, and an application engineering builder stored on the memory and running on the processor, the application engineering builder when executed by the processor implementing the steps of the cloud-side or client-side application engineering method as above.
Furthermore, to achieve the above object, the present invention also provides a computer readable storage medium having an application engineering construction program stored thereon, the application engineering construction program, when executed by a processor, implementing the steps of the application engineering construction method on the cloud side or the client side as above.
According to the technical scheme provided by the invention, an application main code request and a multiplexing library code request are sent to a cloud terminal through a client terminal, then the cloud terminal respectively obtains the application main code and the multiplexing library code from different storage areas according to the application main code request and the multiplexing library code request, wherein the cloud terminal comprises at least two servers, each server comprises at least one storage area, then the application main code and the multiplexing library code are sent to the client terminal, and then the client terminal constructs an application project according to the application main code and the multiplexing library code; the problem of low safety of construction of application engineering in the related technology is solved.
That is, according to the technical scheme provided by the invention, the application main code and the multiplex library code are respectively stored in different storage areas, so that even if a certain code has potential safety hazards such as leakage, the safety of the other code cannot be influenced, therefore, the safety of the application main code and the multiplex library code acquired by the cloud from different storage areas is higher, and the safety of an application project constructed by the client according to the acquired application main code and the multiplex library code is also higher; and the application main code and the multiplexing library code are stored in different storage areas, so that the maintenance is more convenient, the application main code and the multiplexing library code are not influenced with each other, and the maintenance efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of the application engineering construction method of the present invention;
FIG. 3 is a diagram illustrating a first server storage according to a first embodiment of the application engineering construction method of the present invention;
FIG. 4 is a diagram of a second server storage in the first embodiment of the application engineering construction method according to the present invention;
FIG. 5 is a schematic flow chart of the application engineering construction method according to the first embodiment of the present invention;
FIG. 6 is a flowchart illustrating downloading application engineering according to a first embodiment of the application engineering construction method of the present invention;
FIG. 7 is a schematic diagram of a first interface of a configuration tool according to a first embodiment of the application engineering construction method;
FIG. 8 is a diagram of a second interface of a configuration tool according to a first embodiment of the application engineering construction method of the present invention;
FIG. 9 is a schematic diagram of a first interface and a second interface of a configuration tool according to a first embodiment of the application engineering construction method of the present invention;
FIG. 10 is a schematic diagram of an application project completed by the first embodiment of the application project constructing method according to the present invention;
fig. 11 is a block diagram illustrating a first embodiment of an application engineering apparatus applied to a cloud end according to the present invention;
FIG. 12 is a block diagram illustrating a first embodiment of an application engineering building apparatus applied to a client according to the present invention;
fig. 13 is a block diagram of a first embodiment of an application engineering construction system according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an application engineering construction device of a hardware operating environment according to an embodiment of the present invention.
The application engineering construction equipment comprises: at least one processor 101, a memory 102, and an application engineering builder stored on the memory and executable on the processor, the application engineering builder configured to implement the steps of the application engineering construction method of any of the following embodiments.
Processor 101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 101 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 101 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 101 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. The processor 101 may further include an AI (Artificial Intelligence) processor for processing operations related to the application engineering construction method, so that the application engineering construction method model can be trained and learned autonomously, thereby improving efficiency and accuracy.
Memory 102 may include one or more computer-readable storage media, which may be non-transitory. The memory 102 may also include high speed random access memory, as well as non-volatile memory, such as one or more of a disk storage application engineering building device, a flash storage application engineering building device. In some embodiments, a non-transitory computer readable storage medium in memory 102 is used to store at least one instruction for execution by processor 101 to implement the application engineering construction method provided by the method embodiments herein.
In some embodiments, the application engineering construction equipment may further include: a communication interface 103 and at least one peripheral device. The processor 101, memory 102 and communication interface 103 may be connected by a bus or signal lines. Various peripheral devices may be connected to communication interface 103 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 104, display screen 105, and power supply 106.
The communication interface 103 can be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 101 and the memory 102. In some embodiments, the processor 101, memory 102, and communication interface 103 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 101, the memory 102 and the communication interface 103 may be implemented on a single chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 104 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuit 104 communicates with a communication network and other communication application engineering equipment via electromagnetic signals. The rf circuit 104 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 104 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 104 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 104 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 105 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 105 is a touch display screen, the display screen 105 also has the ability to capture touch signals on or over the surface of the display screen 105. The touch signal may be input to the processor 101 as a control signal for processing. At this point, the display screen 105 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 105 may be one, the front panel of the application engineering building apparatus; in other embodiments, the number of the display screens 105 may be at least two, and the at least two display screens are respectively arranged on different surfaces of the application engineering construction equipment or are in a folding design; in some embodiments, the display screen 105 may be a flexible display screen, disposed on a curved surface or on a folding surface of the application engineering construction equipment. Even further, the display screen 105 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 105 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The power supply 106 is used to power the various components in the application engineering construction equipment. The power source 106 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 106 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in FIG. 1 does not constitute a limitation of the corresponding process building apparatus and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
Based on the above hardware structure, embodiments of the present invention are proposed.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the application engineering construction method of the present invention, and the application engineering construction method includes the following steps:
step S201: the client sends an application main code request and a multiplexing library code request to the cloud.
In this embodiment, the application main code request sent by the client is used to instruct the cloud to acquire the application main code, and the multiplexing library code request sent by the client is used to instruct the cloud to acquire the multiplexing library code.
It is understood that in the development engineering of the application, the application main Code, including project resources, Code files and the like, is written according to the application type, and then the application main Code can be subjected to customized design. Meanwhile, the application is composed of a plurality of functions, wherein codes corresponding to the functions are called function codes, and the function codes can be shared among different applications; therefore, each function code can be respectively packaged into a library, namely a multiplexing library, so that other projects can be conveniently called, and the development efficiency is improved. In this embodiment, the application engineering is an engineering for developing an application, where the application engineering is the engineering for developing the application, and the development engineering of the application involves an application main code and each function code, so the application main code and the function code need to be used when the application engineering is constructed.
Step S202: the cloud receives an application main code request and a multiplexing library code request sent by the client.
In this embodiment, the client sends the application main code request and the multiplex library code request to the cloud, and accordingly, the cloud receives the application main code request and the multiplex library code request sent by the client.
Step S203: the cloud end respectively acquires an application main code and a multiplexing library code from different storage areas according to the application main code request and the multiplexing library code request; the cloud comprises at least two servers, and each server comprises at least one storage area.
In this embodiment, the cloud refers to a cloud host, and further includes at least two servers, for example, two, three, four, and the like, and in actual application, the cloud can be flexibly adjusted according to a specific application scenario; wherein a server may refer to a virtual server or a physical server. It is understood that the cloud host uses cloud computing technology that integrates various software and hardware technologies such as computing, networking, storage, etc. to manage the servers.
In this embodiment, after receiving an application main code request and a multiplexing library code request sent by a client, the cloud may obtain an application main code and a multiplexing library code from different storage areas respectively according to the application main code request and the multiplexing library code request; that is, at the cloud side, the application main code and the multiplex library code are respectively stored in different storage areas, so that even if a certain code has a potential safety hazard, such as leakage, the safety of another code is not affected, and therefore, the safety of the application main code and the multiplex library code acquired by the cloud from different storage areas is higher, and the safety of an application project constructed by the client according to the acquired application main code and the multiplex library code is also higher.
In some examples, the application main code and the multiplexing library code may be stored in different storage areas of the same server, and therefore, before the step of receiving the application main code request and the multiplexing library code request sent by the client, the application engineering construction method may further include: receiving the uploaded application main code and the multiplexed library code; storing the application main code and the multiplexing library code in different storage areas of the same server; wherein the server comprises at least two storage areas.
That is, at the cloud side, the application main code and the multiplex library code may be stored in different storage areas of the same server, respectively; specifically, the cloud may include two servers, namely a first server and a second server, and store the application main code in a first storage area of the first server and store the multiplexing library code in a second storage area of the first server; or storing the application main code in a first storage area of a second server, and storing the multiplexing library code in a second storage area of the second server; the first storage area and the second storage area are different storage areas.
In some examples, the application master code and the multiplexed library code may be stored in different servers, and therefore, before the step of receiving the application master code request and the multiplexed library code request sent by the client, the application engineering construction method may further include: receiving the uploaded application main code and the multiplexed library code; the application main code and the multiplex library code are stored in different servers.
That is, on the cloud side, the application main code and the multiplex library code may be stored in storage areas of different servers, respectively; specifically, the cloud may include two servers, namely a first server and a second server, and store the application main code in a storage area of the first server and store the multiplex library code in a storage area of the second server; or storing the application main code in a storage area of a second server, and storing the multiplexing library code in a storage area of a first server; the first server and the second server are different servers. It is understood that, since the servers are different, the storage area of the first server where the application main code is stored and the storage area of the second server where the multiplexed library code is stored are different, and even if the storage area of the first server is the first storage area, the storage area of the second server is the first storage area.
Step S204: and the cloud sends the application main code and the multiplexing library code to the client.
In this embodiment, after the cloud acquires the application main code and the multiplexing library code from different storage areas respectively according to the application main code request and the multiplexing library code request, the cloud needs to send the application main code and the multiplexing library code to the client.
Step S205: and the client receives the application main code and the multiplexing library code sent by the cloud.
In this embodiment, the cloud sends the application main code and the multiplex library code to the client, and accordingly, the client receives the application main code and the multiplex library code sent by the cloud.
Step S206: and the client side constructs an application project according to the application main code and the multiplexing library code.
In this embodiment, after receiving the application main code and the multiplexing library code sent by the cloud, the client can construct an application project according to the application main code and the multiplexing library code.
In this embodiment, the application main code and the multiplex library code are respectively stored in different storage areas of the same server or different servers, so that even if a certain code has a potential safety hazard such as leakage, the security of another code is not affected, and therefore, the security of the application main code and the multiplex library code acquired by the cloud from different storage areas of the same server or different servers is higher, so that the security of an application project constructed by the client according to the acquired application main code and the multiplex library code is also higher; and the application main code and the multiplexing library code are stored in different storage areas of the same server or different servers, so that the maintenance is more convenient, the application main code and the multiplexing library code are not influenced with each other, and the maintenance efficiency is improved.
Based on the above embodiment, a second embodiment of the application engineering construction method of the present invention is provided.
In this embodiment, before the step of sending the application main code request and the multiplex library code request to the cloud by the client, the application engineering construction method may further include:
firstly, a client receives a configuration instruction issued by a user;
and then, the client configures the configuration tool into a specified directory of the application project according to the configuration instruction.
It can be understood that there is usually only one application main code, and there are usually multiple functions of the application, that is, there are usually multiple multiplex library codes for constructing an application project, so that when an application project is constructed, it is necessary to acquire multiple multiplex library codes, however, since the application main code and the multiplex library codes are stored in different storage areas of the same server or different servers, it is very inconvenient to acquire the multiplex library codes in a command line manner, and the acquisition efficiency is low, which brings troubles to related workers. Therefore, in this embodiment, a user may first issue a configuration instruction, and then configure the configuration tool into an assigned directory of the application project according to the configuration instruction, and then may issue a corresponding selection instruction by means of the configuration tool, thereby implementing issuance of a multiplex library code request, without acquiring a multiplex library code in a command line manner, improving convenience of acquiring the multiplex library code, shortening an application development cycle to a certain extent, and further improving development efficiency of the application.
It should be clear that, the configuration tool in this embodiment is a configuration tool with a visual interface, and is configured to receive various instructions of a user, such as a request instruction, and further transmit the received instructions to the cloud end, so as to interact with the cloud end to implement management of the multiplex library; therefore, the configuration tool with the visual interface can quickly realize management of the multiplexing library, is simple and convenient, and brings convenience for related workers.
In some examples, before the step of sending the application main code request and the multiplexed library code request to the cloud, the application engineering construction method may further include:
firstly, receiving a selection instruction through a configuration tool; wherein the selection instruction comprises the selected multiplexing library;
then, a multiplexed library code request is determined according to the selection instruction.
That is, the client may receive a selection instruction through the configuration tool, where the selection instruction includes the selected multiplex library, and determine the multiplex library code request according to the selection instruction. It can be understood that, receiving the selection instruction through the configuration tool may specifically be by monitoring whether a selection instruction issued by a user is received in a first interface of the configuration tool, where configuration information of the multiple multiplexing libraries is displayed in the first interface, and if the selection instruction issued by the user is received in the first interface of the configuration tool, the selection instruction is received through the configuration tool.
It should be noted that the selected multiplexing library is included according to the selection instruction, and specifically, the selected multiplexing library may include the multiplexing library identification information, so that the multiplexing library code request determined according to the selection instruction is the multiplexing library code request determined to carry the multiplexing library identification information. The multiplexing library identification information is information for uniquely identifying the multiplexing library, and can be an identification number, a multiplexing library name, a multiplexing library storage address and the like; therefore, the multiplexing library identification information carried by the multiplexing library code request is used for indicating the cloud to search the corresponding multiplexing library in the corresponding storage area according to the multiplexing library identification information, and the code (namely the multiplexing library code) in the searched multiplexing library is sent to the client.
It should be clear that the first interface of the configuration tool displays configuration information of a plurality of multiplexing libraries, so that a user can select a desired multiplexing library by viewing the configuration information of the plurality of multiplexing libraries displayed in the first interface, that is, issue a selection instruction, thereby generating a multiplexing library code request.
It is understood that the configuration information of the multiplex library includes: at least one of a multiplex library name, a multiplex library version, and a multiplex library storage address. Optionally, the configuration information of the multiplexing library includes: any one of a multiplex library name, a multiplex library version, and a multiplex library storage address; optionally, the configuration information of the multiplexing library includes: any two of the multiplex library name, the multiplex library version and the multiplex library storage address; optionally, the configuration information of the multiplexing library includes: a multiplex library name, a multiplex library version, and a multiplex library storage address. The multiplexing library name refers to the name of the multiplexing module corresponding to the multiplexing library, the multiplexing library version refers to the version of the multiplexing module corresponding to the multiplexing library, and the multiplexing library storage address refers to the storage address of the multiplexing module corresponding to the multiplexing library. It should be noted that, the configuration information of several multiplexing libraries is only used as an example for description, and in practical application, the configuration information can be flexibly adjusted according to a specific application scenario.
In some examples, the configuration files corresponding to the configuration information of the multiple multiplexing libraries displayed on the first interface respectively may be the same as the directories for storing the application main codes; in addition, a script file can be stored in the storage area for storing the application main code, wherein the script file is used for reading the configuration file and downloading the multiplexing library code from the corresponding storage area, that is, after receiving the multiplexing library code request, the cloud triggers the execution of the script file, so that the multiplexing library code is obtained. For example, referring to fig. 3, in fig. 3, the first server stores an application main code, which is represented by App, a configuration file, which is represented by Module _ svn.cfg, and a script file, which is represented by Updata _ svntools.bat; referring to fig. 4, the second server in fig. 4 stores a plurality of multiplexed library codes, each of which is represented by a module 1 … … module n. It can be understood that, when the application project is first constructed, please refer to fig. 5, which may be implemented by the following steps: step S501, creating an application main code; step S502, a multiplexing library is established and a corresponding configuration file is configured; in step S503, the script file is executed. After the application project is first constructed and when the application project needs to be downloaded, please refer to fig. 6, which may be implemented by the following steps: step S601, downloading an application main code; step S602, judging whether the multiplexing library needs to be updated, if so, entering step S603, updating the multiplexing library and reconfiguring the corresponding configuration file; if the multiplex library does not need to be updated, the process proceeds to step S604, and the script file is directly run.
For better understanding of the first interface of the configuration tool, please refer to fig. 7, which is an exemplary first interface of the configuration tool, where configuration information of multiple multiplexing libraries, specifically, a name of the multiplexing library, a version of the multiplexing library, and a storage address of the multiplexing library, are displayed in the first interface; the selection frame is further arranged in front of the multiplex library name so as to receive the check operation of the user, and it can be understood that the check operation is a selection instruction of the user, the check operation selects the check multiplex library, and the multiplex library code request is determined according to the selection instruction.
In some examples, before the step of receiving, by the client, the selection instruction through the configuration tool, the application engineering construction method may further include:
firstly, receiving an input instruction through a configuration tool; wherein the input instruction comprises configuration information of a multiplexing library;
and then, sending an input instruction to the cloud end so that the cloud end updates the corresponding multiplexing library according to the configuration information.
That is, the client may receive an input instruction through the configuration tool, where the input instruction includes configuration information of the multiplexing library, and send the input instruction to the cloud, so that the cloud updates the corresponding multiplexing library according to the configuration information. It can be understood that the receiving of the input instruction by the configuration tool may specifically be by monitoring whether the input instruction issued by the user is received in a second interface of the configuration tool, where the second interface displays a to-be-input area corresponding to the plurality of multiplexing library configuration information, and if the input instruction issued by the user is received in the to-be-input area by monitoring, the input instruction is received by the configuration tool.
It should be clear that the second interface of the configuration tool displays the to-be-input area corresponding to the configuration information of the multiple multiplexing libraries, so that the user can input corresponding content in the to-be-input area corresponding to the configuration information, that is, issue an input instruction. The input information acquired in the area to be input is the content corresponding to the configuration information.
For better understanding of the second interface of the configuration tool, please refer to fig. 8, which is an exemplary second interface of the configuration tool, where the second interface displays a to-be-input area corresponding to a plurality of multiplexing library configuration information, and specifically, the to-be-input area is divided into an to-be-input area corresponding to a multiplexing library name, an to-be-input area corresponding to a multiplexing library version, and an to-be-input area corresponding to a multiplexing library storage address. It can be appreciated that once there is a completed multiplex library, the user can upload the multiplex library to the cloud by entering an instruction on the second interface, thereby updating the code of the multiplex library.
For the multiplexing library which is not available at the cloud, a user is required to carry out a complete input instruction, namely the user is required to input corresponding contents in a region to be input corresponding to the name of the multiplexing library, a region to be input corresponding to the version of the multiplexing library and a region to be input corresponding to the storage address of the multiplexing library; this is to add a multiplex library to the cloud.
For the existing multiplexing library at the cloud, a user can only input corresponding content of part of the multiplexing library configuration information, for example, the version of a certain multiplexing library is updated, and at the moment, only the corresponding content needs to be input in the area to be input corresponding to the version of the multiplexing library; this is a multiplex library in the modified cloud.
For the existing multiplexing library at the cloud, the user can also only input corresponding content of part of the multiplexing library configuration information, for example, a certain multiplexing library is not used any more, and at this time, only the corresponding content needs to be input in the area to be input corresponding to the name of the multiplexing library, and then a deleting instruction is issued, specifically, the deleting instruction can be issued by clicking a deleting button in the second interface; this is the delete cloud multiplex library.
It should be noted that the first interface and the second interface of the configuration tool may be different interfaces, for example, the first interface is shown in fig. 7, and the second interface is shown in fig. 8; of course, the first interface and the second interface of the configuration tool may also be the same interface, for example, see fig. 9.
Meanwhile, please refer to fig. 10, which is an exemplary constructed application Project, wherein the application Project is denoted by Project, and there are an application main code App, a plurality of multiplexing library codes Moudle1 … … MoudleN, a configuration file Module _ svn.
In the embodiment, various instructions of a user are received through a configuration tool with a visual interface and then transmitted to a cloud end, so that the cloud end interacts with the cloud end to realize management of the multiplexing library; the management of the multiplexing library is realized, the method is simple and convenient, and a great deal of convenience is brought to related workers.
In addition, referring to fig. 11, an application engineering construction device applied to a cloud is further provided in the embodiment of the present invention based on the application engineering construction method, where the application engineering construction device includes:
a first receiving module 1101, configured to receive an application main code request and a multiplexing library code request sent by a client;
an obtaining module 1102, configured to obtain an application main code and a multiplex library code from different storage areas according to the application main code request and the multiplex library code request; the cloud comprises at least two servers, and each server comprises at least one storage area;
a first sending module 1103, configured to send the application main code and the multiplexing library code to the client, so that the client constructs an application project according to the application main code and the multiplexing library code.
The application engineering construction device applied to the cloud end of the invention further comprises other optional modules, and adopts all the technical schemes of all the embodiments, so that the application engineering construction device at least has all the beneficial effects brought by the technical schemes of the embodiments, and the details are not repeated.
In addition, referring to fig. 12, an application engineering construction device applied to a client is further provided in the embodiment of the present invention based on the application engineering construction method, where the application engineering construction device includes:
a second sending module 1201, configured to send the application main code request and the multiplexing library code request to the cloud, so that the cloud obtains the application main code and the multiplexing library code from different storage areas according to the application main code request and the multiplexing library code request; the cloud comprises at least two servers, and each server comprises at least one storage area;
a second receiving module 1202, configured to receive an application main code and a multiplex library code sent by a cloud;
and a building module 1203, configured to build an application project according to the application main code and the multiplexing library code.
The application engineering construction device applied to the client further comprises other optional modules, and adopts all technical solutions of all the embodiments, so that at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and further description is omitted.
In addition, referring to fig. 13, an application engineering construction system is further provided in the embodiment of the present invention based on the application engineering construction method, where the application engineering construction system includes:
the client 1301 is used for sending an application main code request and a multiplexing library code request to the cloud;
the cloud 1302 is configured to receive an application main code request and a multiplexing library code request sent by a client; respectively acquiring an application main code and a multiplexing library code from different storage areas according to the application main code request and the multiplexing library code request; the cloud comprises at least two servers, and each server comprises at least one storage area; sending the application main code and the multiplexing library code to the client;
the client 1301 is further configured to receive an application main code and a multiplexing library code sent by the cloud; and constructing an application project according to the application main code and the multiplexing library code.
The application engineering construction system of the present invention adopts all the technical solutions of all the embodiments, so that at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where an application engineering building program is stored on the computer-readable storage medium, and when executed by a processor, the application engineering building program implements the steps of the application engineering building method on the cloud end side or the client end side.
The computer-readable storage media include volatile or nonvolatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage, or any other medium which can be used to store the desired information and which can be accessed by a computer.
It will be apparent to one skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (12)

1. An application engineering construction method is applied to a cloud, and comprises the following steps:
receiving an application main code request and a multiplexing library code request sent by a client;
respectively acquiring an application main code and a multiplexing library code from different storage areas according to the application main code request and the multiplexing library code request; the cloud comprises at least two servers, wherein each server comprises at least one storage area;
and sending the application main code and the multiplexing library code to the client so that the client constructs an application project according to the application main code and the multiplexing library code.
2. The application engineering construction method of claim 1, wherein the application main code and the multiplex library code are stored in different storage areas of the same server; before the step of receiving the application main code request and the multiplexing library code request sent by the client, the application engineering construction method further includes:
receiving the uploaded application main code and the multiplexed library code;
storing the application main code and the multiplexing library code in different storage areas of the same server; wherein the server comprises at least two storage areas.
3. The application engineering construction method of claim 1, wherein the application main code and the multiplex library code are stored at different servers; before the step of receiving the application main code request and the multiplexing library code request sent by the client, the application engineering construction method further includes:
receiving the uploaded application main code and the multiplexed library code;
storing the application main code and the multiplexing library code in different servers.
4. An application engineering construction method is applied to a client, and comprises the following steps:
sending an application main code request and a multiplexing library code request to a cloud end, so that the cloud end respectively obtains an application main code and a multiplexing library code from different storage areas according to the application main code request and the multiplexing library code request; the cloud comprises at least two servers, wherein each server comprises at least one storage area;
receiving an application main code and a multiplexing library code sent by the cloud;
and constructing an application project according to the application main code and the multiplexing library code.
5. The application engineering construction method of claim 4, wherein prior to the steps of sending the application master code request and the multiplexed library code request to the cloud, the application engineering construction method further comprises:
receiving a selection instruction through a configuration tool; wherein the selection instruction comprises the selected multiplex library;
and determining a multiplexing library code request according to the selection instruction.
6. The application engineering construction method of claim 5, wherein prior to the step of receiving a selection instruction by a configuration tool, the application engineering construction method further comprises:
receiving an input instruction through the configuration tool; wherein the input instruction comprises configuration information of a multiplexing library;
and sending the input instruction to the cloud end so that the cloud end updates the corresponding multiplexing library according to the configuration information.
7. The application engineering construction method of claim 5 or 6, wherein the configuration information comprises: at least one of a multiplex library name, a multiplex library version, and a multiplex library storage address.
8. The application engineering construction method according to claim 5 or 6, wherein before the step of sending the input instruction to the cloud, the application engineering construction method further comprises:
receiving a configuration instruction issued by a user;
and configuring the configuration tool into a specified directory of an application project according to the configuration instruction.
9. An application engineering construction device, applied to a cloud, the application engineering construction device comprising:
the first receiving module is used for receiving an application main code request and a multiplexing library code request sent by a client;
the acquisition module is used for respectively acquiring the application main code and the multiplexing library code from different storage areas according to the application main code request and the multiplexing library code request; the cloud comprises at least two servers, wherein each server comprises at least one storage area;
and the first sending module is used for sending the application main code and the multiplexing library code to the client so that the client can construct an application project according to the application main code and the multiplexing library code.
10. An application engineering construction device applied to a client, the application engineering construction device comprising:
the second sending module is used for sending the application main code request and the multiplexing library code request to the cloud end, so that the cloud end obtains the application main code and the multiplexing library code from different storage areas respectively according to the application main code request and the multiplexing library code request; the cloud comprises at least two servers, wherein each server comprises at least one storage area;
the second receiving module is used for receiving the application main code and the multiplexing library code sent by the cloud end;
and the construction module is used for constructing an application project according to the application main code and the multiplexing library code.
11. An application engineering construction apparatus, characterized in that the application engineering construction apparatus comprises: memory, a processor and an application engineering builder stored on the memory and running on the processor, the application engineering builder when executed by the processor implementing the steps of the application engineering construction method according to any of claims 1-3 or claims 4-8.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon an application engineering construction program, which when executed by a processor implements the steps of the application engineering construction method according to any one of claims 1-3 or claims 4-8.
CN202110239056.2A 2021-03-03 2021-03-03 Application engineering construction method and device, equipment and computer readable storage medium Pending CN112965746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110239056.2A CN112965746A (en) 2021-03-03 2021-03-03 Application engineering construction method and device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110239056.2A CN112965746A (en) 2021-03-03 2021-03-03 Application engineering construction method and device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112965746A true CN112965746A (en) 2021-06-15

Family

ID=76276359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110239056.2A Pending CN112965746A (en) 2021-03-03 2021-03-03 Application engineering construction method and device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112965746A (en)

Similar Documents

Publication Publication Date Title
CN111142711B (en) Firmware configuration method and device, storage medium and mobile terminal
CN109857403B (en) Page updating method and device, page processing method and device
CN105404585A (en) Method and apparatus for acquiring code coverage rate
CN113365106B (en) Multimedia resource generation method and device, electronic equipment and storage medium
CN103309709A (en) Firmware upgrading method, device and communication equipment
CN107666406B (en) Intelligent card display method and device
US20220334815A1 (en) Accelerating application and sub-package installations
CN104536782A (en) Guide content display method, and file generation method and device
CN112615923A (en) Single-page application page display control method and device, terminal equipment and server
CN116668402A (en) Intelligent cloud box access method, device, equipment and storage medium
CN106095423B (en) Method, terminal and server for providing browsing service
CN111367220A (en) Internet of things equipment control method and device
CN103092648A (en) Method and system of mirror image upgrade and user device and personal computer
CN105335434B (en) Log management method and device and electronic equipment
CN111359210B (en) Data processing method and device, electronic equipment and storage medium
CN112965746A (en) Application engineering construction method and device, equipment and computer readable storage medium
CN112463199A (en) System upgrading method and terminal
CN113225234B (en) Asset detection method, device, terminal equipment and computer readable storage medium
CN109413714B (en) User agent information processing method, device, storage medium and terminal
CN104951325A (en) Information display method and electronic equipment
CN104468671A (en) Configuration information processing method, device and relevant device
CN114070892A (en) Data transmission method and device
CN112583706A (en) Gateway service processing method, gateway, receiving end, system and storage medium
CN112463410A (en) Distributed message architecture management method, platform and electronic equipment
CN102223610A (en) Method for realizing data exchange among mobile devices and mobile device

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