[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112527320A - Method, device and storage medium for deploying application system based on browser - Google Patents

Method, device and storage medium for deploying application system based on browser Download PDF

Info

Publication number
CN112527320A
CN112527320A CN202011501691.5A CN202011501691A CN112527320A CN 112527320 A CN112527320 A CN 112527320A CN 202011501691 A CN202011501691 A CN 202011501691A CN 112527320 A CN112527320 A CN 112527320A
Authority
CN
China
Prior art keywords
application system
executable file
service
data
generating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011501691.5A
Other languages
Chinese (zh)
Other versions
CN112527320B (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.)
Chengdu Pan Micro Network Technology Co ltd
Original Assignee
Chengdu Pan Micro Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Pan Micro Network Technology Co ltd filed Critical Chengdu Pan Micro Network Technology Co ltd
Priority to CN202011501691.5A priority Critical patent/CN112527320B/en
Publication of CN112527320A publication Critical patent/CN112527320A/en
Application granted granted Critical
Publication of CN112527320B publication Critical patent/CN112527320B/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/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

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

Abstract

The embodiment of the application provides a method, a device and a storage medium for deploying an application system based on a browser, wherein the method comprises the following steps: acquiring a service code, and generating a first executable file and a second executable file according to the service code; the first executable file has a loading condition, and the second executable file is an independent executable file; executing the first executable file according to the loading condition, registering a preset function event to an application system, and associating the preset function event with at least one service in the application system to obtain first execution data; loading and running the application system, and triggering the preset function event to bind the service code with at least one service in the application system; and generating a service port, wherein the service port is used for a user to access the service in the application system. The scheme can improve the deployment efficiency of the application system.

Description

Method, device and storage medium for deploying application system based on browser
Technical Field
The present application relates to the field of front-end development technologies, and in particular, to a method, an apparatus, and a storage medium for deploying an application system based on a browser.
Background
An Integrated Development Environment (IDE) is an application program for providing a program Development Environment, and generally includes tools such as a code editor, a compiler, a debugger, and a graphical user interface. All software or software packages (groups) with the characteristics can be called IDE.
However, the integration and release process of the conventional IDE and cooperative office software products is too complex, cannot be quickly integrated and is associated with services; in addition, the code copying and transferring process of the IDE is too complex, and code crossing is easy to occur, so that service codes cannot be multiplexed.
Disclosure of Invention
The embodiment of the application provides a method, a device and a storage medium for deploying an application system based on a browser, which are used for solving the technical problems that an integrated publishing process of an IDE (integrated development environment) and a collaborative office software product is too complicated, rapid integration cannot be achieved, and business association cannot be achieved, and the technical problem that codes are easily crossed and cannot be reused due to too complicated code copying and transferring processes of the IDE.
In a first aspect, an embodiment of the present application provides a method for acquiring a service code, and generating a first executable file and a second executable file according to the service code; the first executable file has a loading condition, and the second executable file is an independent executable file;
executing the first executable file according to the loading condition, registering a preset function event to an application system, and associating the preset function event with at least one service in the application system to obtain first execution data;
loading and running the application system, and triggering the preset function event to bind the service code with at least one service in the application system;
and generating a service port, wherein the service port is used for a user to access the service in the application system.
In some embodiments, the generating a first executable file and a second executable file from the service code comprises:
recursively appointing a file with a preset format in the file;
combining the files in the preset format to construct the first executable file;
setting the loading condition for the first executable file, and setting a global style for the application system, wherein the loading condition is used for triggering the execution of the first executable file before the application system is loaded.
In some embodiments, before generating the first executable file and the second executable file from the service code, the method further comprises:
acquiring source data of a development tool;
after the generating the service port, the method further includes:
calling the second executable file in the application system to obtain second execution data;
merging the source data, the first execution data and the second execution data into shared case data and storing the shared case data to a cloud server;
in some embodiments, after said merging the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
determining at least one operating environment of the application system;
generating an application package with a preset format according to the shared case data in a preset format corresponding to the operating environment aiming at each operating environment;
and respectively storing the application packages in each preset format in the application system according to the types of the running environments.
In some embodiments, after said merging the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
and importing the shared case data into at least one of the development tool, the first executable file and the second executable file according to a preset format so as to synchronize data in corresponding files.
In some embodiments, after said merging the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
setting a data submission interface for the shared case data, and setting editing and querying functions.
In some embodiments, the obtaining the service code includes:
integrating the user authority of the development tool with the user authority of the application system;
receiving an editing instruction from at least one user at least one of the development tool or the application system;
and respectively carrying out online editing operation on the service codes in the application system according to at least one editing instruction.
In a second aspect, an embodiment of the present application further provides an apparatus for deploying an application system based on a browser, where the apparatus for deploying an application system based on a browser includes:
the acquisition module is used for acquiring a service code and generating a first executable file and a second executable file according to the service code; the first executable file has a loading condition, and the second executable file is an independent executable file;
the processing module is used for executing the first executable file according to the loading condition and registering a preset function event to an application system so as to associate the preset function event with at least one service in the application system to obtain first execution data;
the processing module is further configured to load and run the application system, and trigger the preset function event to bind the service code with at least one service in the application system; and generating a service port, wherein the service port is used for a user to access the service in the application system.
In a third aspect, an embodiment of the present application further provides a processing device, which includes a processor and a memory, where the memory stores a computer program, and the processor executes any of the steps in deploying an application system based on a browser provided in the embodiment of the present application when calling the computer program in the memory.
In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are adapted to be loaded by a processor to perform steps in any one of the deployment application systems based on a browser provided in the embodiments of the present application.
From the above, the present application has the following advantageous effects:
because the first executable file has a loading condition and the second executable file is an independent executable file, the first executable file is executed according to the loading condition, a preset function event is registered to an application system, the preset function event can be associated with at least one service in the application system, and first execution data is obtained, so that the preset function event can be triggered after the application system is loaded and operated, the service code is bound with the at least one service in the application system, and finally a service port for a user to access the service in the application system is generated. Therefore, the deployment efficiency of the application system can be improved, a complex development environment does not need to be built, the application system can be developed and compiled based on the browser, and therefore a large amount of labor cost can be reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a logical structure of an application system of the present application;
FIG. 2 is a flowchart illustrating a method for deploying an application system based on a browser according to the present application;
FIG. 3 is a flowchart illustrating a method for deploying an application system based on a browser according to the present application;
FIG. 4 is a flowchart of an apparatus for deploying an application system based on a browser according to the present application;
FIG. 5 is a schematic diagram of a processing apparatus according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The principles of the present application may be employed in numerous other general-purpose or special-purpose computing, communication environments or configurations. Examples of well known computing systems, environments, and configurations that may be suitable for use with the application include, but are not limited to, hand-held telephones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe-based computers, and distributed computing environments that include any of the above systems or devices.
The terms "first", "second", and "third", etc. in this application are used to distinguish between different objects and not to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions.
First, before the embodiments of the present application are described, the relevant contents of the present application about the application background will be described.
The execution main body of the method provided by the present application may be the apparatus provided by the present application, or a server device, a physical host, a vehicle-mounted terminal, or a User Equipment (UE) and other processing devices that integrate the apparatus, where the apparatus may be implemented in a hardware or software manner, and the UE may specifically be a terminal device such as a smart phone, a tablet computer, a notebook computer, a palm computer, a desktop computer, or a Personal Digital Assistant (PDA).
The processing device can adopt a working mode of independent operation or a working mode of a device cluster, and the method provided by the application solves the following technical problems mainly existing in the prior art:
technical problem 1, the integration and release process of the traditional IDE and the collaborative office software product is too complex, cannot be integrated quickly and is associated with services.
Technical problem 2, the code copying and transferring process of the traditional IDE is too complex, code crossing is easy, and the multiplexing requirement of service codes cannot be met.
Technical problem 3, the traditional IDE development and compilation at the front end depends on the server or client operating system environment, and needs to rely on a lot of software.
Technical problem 4, the conventional IDE cannot realize simultaneous online editing, compiling, publishing and unified management for multiple people.
In order to solve the above technical problem, an embodiment of the present application mainly provides the following solutions:
aiming at the technical problem 1: the method comprises the steps of using java technology to realize the construction and release of js and css files, dynamically combining all js and css files under a recursion specified folder to construct an executable js and css file, providing a js pre-loading concept, dynamically registering application system functions in advance before system loading, and binding codes to services of an application system when the application system runs.
Aiming at the technical problem 2: the method comprises the steps that java and cloud computing technologies are used, a local web IDE and a local application system are integrated, a cloud case server is developed, the local web IDE encrypts and packages code data, a developer can transmit the data to the cloud case server in a one-key mode, the developer can browse a case library and can download an encrypted case package in the one-key mode through the web IDE and automatically install the encrypted case package into the local application system server to generate specific source codes and executable codes, the front desk uses the technologies of act, mobx and the like, brushless and novel experience of an interface is achieved, and the experience is closer to traditional IDE experience.
To technical problem 3: the es6, act and mobx compilers are realized by using a browser technology, source codes and specific compiled files are simultaneously stored when java stores data, and real-time dynamic compiling results are stored in a front-end cache when each file is edited.
Aiming at the technical problem 4: the online editing method is characterized in that a java technology is used, a web ide and a local application system permission system are combined, the online editing permission is opened for the role permission of the application system, and multi-user real-time collaborative online development is supported.
In the embodiment of the present application, an Integrated Development Environment (IDE) is an application program for providing a program Development Environment, and generally includes tools such as a code editor, a compiler, a debugger, and a graphical user interface. The integrated development software service set integrates a code compiling function, an analyzing function, a compiling function, a debugging function and the like. All software or software suite (group) with the characteristic can be called an integrated development environment.
The application system generally comprises a computer hardware system, system software and application software. The basic hardware system of the computer consists of an arithmetic unit, a controller, a memory, a peripheral interface and peripheral equipment. System software includes operating systems, compilers, database management systems, various high-level languages, and the like. The application software is composed of general support software and various application software packages.
ava: a computer becomes a language, and the technical scheme can be converted into a specific technical implementation. The suffix of a source code file is java, the source code file is converted into byte codes after being compiled by a computer compiler, and the name of the suffix of the file is class;
JS: JavaScript ("JS") is a lightweight, interpreted or just-in-time programming language with function precedence. Although it is named as a scripting language for developing Web pages, it is also used in many non-browser environments, JavaScript is based on prototypical programming, multi-modal dynamic scripting languages, and supports object-oriented, imperative, and declarative (e.g., functional programming) styles.
CSS: cascading Style Sheets (english-language full name: Cascading Style Sheets) is a computer language used to represent file styles such as HTML (an application of standard general markup language) or XML (a subset of standard general markup language). The CSS can not only statically modify the web page, but also dynamically format elements of the web page in coordination with various scripting languages.
The embodiment of the present application may manage data based on an application system as shown in fig. 1, where in fig. 1, the application system is an online web ide, and the online web ide includes functional modules such as category management, folder management, file management, and editor. The following are introduced separately:
and (4) classification management: the data is classified based on the classification tree.
Folder management: the method comprises the functions of publishing management, folder tree, sharing management and importing and exporting.
File management: including version management, data storage, and security filtering.
An editor: including js editors, js compilers, css editors, and md editors.
The md editor adopts md (Markdown) language, Markdown is a markup language which can be written by using a common text editor, and md can enable common text content to have a certain format through simple markup grammar.
Embodiments of a method for deploying an application system based on a browser provided by the present application are described below.
Referring to fig. 2 and fig. 2 show a schematic flowchart of the method for deploying an application system based on a browser according to the present application, where the method for deploying an application system based on a browser provided by the present application may specifically include the following steps:
s101, acquiring a service code, and generating a first executable file and a second executable file according to the service code.
The first executable file has a loading condition, and may be a JS file, for example. The second executable file is a separate executable file, which may be a CSS file, for example.
In some embodiments, the obtaining the service code includes:
integrating the user authority of the development tool with the user authority of the application system;
receiving an editing instruction from at least one user at least one of the development tool or the application system;
and respectively carrying out online editing operation on the service codes in the application system according to at least one editing instruction.
In some embodiments, the generating a first executable file and a second executable file from the service code includes:
recursively appointing a file with a preset format in the file;
combining the files in the preset format to construct the first executable file;
setting the loading condition for the first executable file, and setting a global style for the application system, wherein the loading condition is used for triggering the execution of the first executable file before the application system is loaded.
The files in the preset format can include js files, css files and md files. For example, java technology is used to implement the construction and release of js and css files, all js files and css files in the designated folder are recursively designated, and all js files and css files in the designated folder are dynamically merged to construct a corresponding executable js file and css file. Aiming at the js file, a preposed loading/preposed loading canceling action can be defined for the js file, when the js file is set to be preposed loaded, the js file can be automatically merged into a unified js file during construction, and the js file is introduced before the loading of an application system.
In further embodiments, before generating the first executable file and the second executable file from the service code, the method further comprises:
acquiring source data of a development tool;
after the generating the service port, the method further includes:
calling the second executable file in the application system to obtain second execution data;
and combining the source data, the first execution data and the second execution data into shared case data and storing the shared case data to a cloud server.
For example, based on the application system shown in fig. 1, java and cloud computing technologies can be used to integrate the local web ide and the local application system, and deploy a cloud case server, where the local web ide packages code data by encrypting the code data, and then transmits the data from the local web ide to the cloud case server by one key.
In some embodiments, the case library in the cloud service case server can be browsed through the local web IDE, the encrypted case package is downloaded from the case library by one key and automatically installed in the local application system server, a specific source code and an executable code are generated, and the technologies such as act and mobx are used in the foreground, so that the novel interface experience is realized, and the experience is closer to that of the traditional IDE.
In some embodiments, after the merging the source data, the first execution data, and the second execution data into shared case data, the method further comprises any of the following scenario a, scenario B, or scenario C:
scheme A:
determining at least one operating environment of the application system;
generating an application package with a preset format according to the shared case data in a preset format corresponding to the operating environment aiming at each operating environment;
and respectively storing the application packages in each preset format in the application system according to the types of the running environments.
For example, an import/export function is created in the application system, and the import/export supports a primary folder. When the folder is exported, all source codes and compiled files in the folder can be imported into another web ide, the complete codes and the executable files can be kept after the import, and the export of a unified program package is supported, wherein the program package is placed in application system catalogues under different environments and is used for automatically generating the source codes and the executable environments (the function is used for other applications besides code filing and the web ide).
Scheme B:
and importing the shared case data into at least one of the development tool, the first executable file and the second executable file according to a preset format so as to synchronize data in corresponding files.
For example, an import, export function is created in the application system, and all source code and compiled files in the folder are completely exported when the folder is exported from the application system. Then, in another web ide, all source code and compiled files in the export folder are imported into the web ide, so that the complete code and executable files can be maintained after the web ide is imported.
Scheme C:
setting a data submission interface for the shared case data, and setting editing and querying functions.
And updating the source data.
For example, a cloud case base can be created on a unified cloud server outside the web side, a release management updating function (such as functions of adding, deleting, modifying, querying and the like) of a case is set for the cloud case base, and a case data submission interface is set for the cloud case base. In the web side, a shared case library function is set for the primary folder, so that data can be submitted to the cloud case library only by submitting the data. And meanwhile, a case library showing function is arranged in the web ide, so that each case can be imported into the local running environment by one key.
S102, executing the first executable file according to the loading condition, registering a preset function event to an application system, and associating the preset function event with at least one service in the application system to obtain first execution data.
The preset function event refers to an application system function event. Application system function events are used to associate an application system with a service.
In the embodiment of the application, a java technology can be used for creating file management in an application system, the service can be associated to any folder, the application system supports addition, deletion, modification and check, the file types can include js, css and md, data storage is supported, and the data can be stored in a database and a file server after storage. And preferentially reading the server disk in the code reading process, reading the database if the disk data of the file server is abnormal, and automatically generating the database code to the disk of the file server when the disk data of the file server is abnormal.
S103, loading and running the application system, and triggering the preset function event to bind the service code with at least one service in the application system.
For example, for a js file type, a pre-loading/pre-loading cancellation action is defined for the js file type, when the js is set as pre-loading, the js is automatically merged into a unified js file during construction, the file is introduced before the application system is loaded, and some application system function events can be registered before the application system is loaded, namely, the application system and the service can be associated. The front-end platform can be associated with the js file by using a js code editor, and compiling, grammar highlighting, format control and code prompting of the js file are supported. In addition, before saving, a browser compiler is realized, files are compiled in real time during saving, pre-compilation codes and post-compilation codes are saved to a background and are stored at the same time, and source codes and post-compilation codes are distinguished in storage.
And S104, generating a service port, wherein the service port is used for a user to access the service in the application system.
In the embodiment of the application, after a service code is acquired, a first executable file and a second executable file are generated according to the service code, because the first executable file has a loading condition, and the second executable file is an independent executable file, the first executable file is executed according to the loading condition, a preset function event is registered in an application system, the preset function event can be associated with at least one service in the application system, and first execution data is obtained, so that the preset function event can be triggered after the application system is loaded and operated, the service code is bound with the at least one service in the application system, and finally a service port for a user to access the service in the application system is generated. Therefore, the deployment efficiency of the application system can be improved, a complex development environment does not need to be built, the application system can be developed and compiled based on the browser, and therefore a large amount of labor cost can be reduced.
For ease of understanding, reference may also be made to a flow chart diagram of a browser-based deployment application system, as shown in FIG. 3.
In order to better implement the method of the present application, an apparatus 20 for deploying an application system based on a browser is further provided in the embodiments of the present application.
Referring to fig. 4, fig. 4 is a schematic structural diagram of the device 20 of the present application, wherein the device 20 specifically includes the following structure:
an obtaining module 201, configured to obtain a service code, and generate a first executable file and a second executable file according to the service code; the first executable file has a loading condition, and the second executable file is an independent executable file;
a processing module 202, configured to execute the first executable file according to the loading condition, register a preset function event in an application system, so as to associate the preset function event with at least one service in the application system, and obtain a first execution data;
the processing module 202 is further configured to load and run the application system, and trigger the preset function event, so as to bind the service code with at least one service in the application system; and generating a service port, wherein the service port is used for a user to access the service in the application system.
In some embodiments, the processing module 202 is specifically configured to:
recursively appointing a file with a preset format in the file;
combining the files in the preset format to construct the first executable file;
setting the loading condition for the first executable file, and setting a global style for the application system, wherein the loading condition is used for triggering the execution of the first executable file before the application system is loaded.
In some embodiments, before the processing module 202 generates the first executable file and the second executable file according to the service code, the processing module is further configured to:
acquiring source data of a development tool;
after a service port is generated, calling the second executable file in the application system to obtain second execution data;
merging the source data, the first execution data and the second execution data into shared case data and storing the shared case data to a cloud server;
in some embodiments, after the processing module 202 merges the source data, the first execution data, and the second execution data into shared case data, it is further configured to:
determining at least one operating environment of the application system;
generating an application package with a preset format according to the shared case data in a preset format corresponding to the operating environment aiming at each operating environment;
and respectively storing the application packages in each preset format in the application system according to the types of the running environments.
In some embodiments, after the processing module 202 merges the source data, the first execution data, and the second execution data into shared case data, it is further configured to:
and importing the shared case data into at least one of the development tool, the first executable file and the second executable file according to a preset format so as to synchronize data in corresponding files.
In some embodiments, after the processing module 202 merges the source data, the first execution data, and the second execution data into shared case data, it is further configured to:
setting a data submission interface for the shared case data, and setting editing and querying functions.
In some embodiments, the obtaining module 201 is specifically configured to:
integrating the user authority of the development tool with the user authority of the application system;
receiving an editing instruction from at least one user at least one of the development tool or the application system;
and respectively carrying out online editing operation on the service codes in the application system according to at least one editing instruction.
The present application further provides a processing device, and referring to fig. 5, fig. 5 shows a schematic structural diagram of the processing device of the present application, and specifically, the processing device of the present application includes a processor, and the processor is configured to implement the steps of the method in any embodiment corresponding to fig. 1 to fig. 3 when executing the computer program stored in the memory; alternatively, the processor is configured to implement the functions of the units in the corresponding embodiment shown in fig. 4 when executing the computer program stored in the memory.
Illustratively, a computer program may be partitioned into one or more modules/units, which are stored in a memory and executed by a processor to accomplish the present application. One or more modules/units may be a series of computer program instruction segments capable of performing certain functions, the instruction segments being used to describe the execution of a computer program in a computer device.
The processing device may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the illustration is merely an example of a processing device and is not meant to be limiting, and that more or fewer components than those illustrated may be included, or some components may be combined, or different components may be included, for example, the processing device may also include input output devices, network access devices, buses, etc., through which the processor, memory, input output devices, network access devices, etc., are connected.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center for the processing device and the various interfaces and lines connecting the various parts of the overall processing device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the processing device, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus, the processing device and the corresponding units thereof described above may refer to the description of the method in any embodiment corresponding to fig. 1 to 3, and are not described herein again in detail.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium, where a plurality of instructions are stored, and the instructions can be loaded by a processor to execute steps in a method in any embodiment corresponding to fig. 1 to 4 in the present application, and specific operations may refer to descriptions of the method in any embodiment corresponding to fig. 1 to 4, which are not described herein again.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium can execute the steps in the method in any embodiment corresponding to fig. 1 to 4, the beneficial effects that can be achieved by the method in any embodiment corresponding to fig. 1 to 4 can be achieved, for details, see the foregoing description, and are not repeated herein.
The method, apparatus, processing device and computer-readable storage medium provided by the present application are described in detail above, and the principles and embodiments of the present application are described herein using specific examples, which are only used to help understand the method and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for deploying an application system based on a browser is characterized by comprising the following steps:
acquiring a service code, and generating a first executable file and a second executable file according to the service code; the first executable file has a loading condition, and the second executable file is an independent executable file;
executing the first executable file according to the loading condition, registering a preset function event to an application system, and associating the preset function event with at least one service in the application system to obtain first execution data;
loading and running the application system, and triggering the preset function event to bind the service code with at least one service in the application system;
and generating a service port, wherein the service port is used for a user to access the service in the application system.
2. The method of claim 1, wherein generating the first executable file and the second executable file according to the service code comprises:
recursively appointing a file with a preset format in the file;
combining the files in the preset format to construct the first executable file;
setting the loading condition for the first executable file, and setting a global style for the application system, wherein the loading condition is used for triggering the execution of the first executable file before the application system is loaded.
3. The method of claim 1 or 2, wherein before generating the first executable file and the second executable file from the service code, the method further comprises:
acquiring source data of a development tool;
after the generating the service port, the method further includes:
calling the second executable file in the application system to obtain second execution data;
and combining the source data, the first execution data and the second execution data into shared case data and storing the shared case data to a cloud server.
4. The method of claim 3, wherein after the merging the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
determining at least one operating environment of the application system;
generating an application package with a preset format according to the shared case data in a preset format corresponding to the operating environment aiming at each operating environment;
and respectively storing the application packages in each preset format in the application system according to the types of the running environments.
5. The method of claim 3, wherein after the merging the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
and importing the shared case data into at least one of the development tool, the first executable file and the second executable file according to a preset format so as to synchronize data in corresponding files.
6. The method of claim 3, wherein after the merging the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
setting a data submission interface for the shared case data, and setting editing and querying functions.
And updating the source data.
7. The method of claim 3, wherein the obtaining the service code comprises:
integrating the user authority of the development tool with the user authority of the application system;
receiving an editing instruction from at least one user at least one of the development tool or the application system;
and respectively carrying out online editing operation on the service codes in the application system according to at least one editing instruction.
8. An apparatus for deploying an application system based on a browser, the apparatus for deploying the application system based on the browser comprising:
the acquisition module is used for acquiring a service code and generating a first executable file and a second executable file according to the service code; the first executable file has a loading condition, and the second executable file is an independent executable file;
the processing module is used for executing the first executable file according to the loading condition and registering a preset function event to an application system so as to associate the preset function event with at least one service in the application system to obtain first execution data;
the processing module is further configured to load and run the application system, and trigger the preset function event to bind the service code with at least one service in the application system; and generating a service port, wherein the service port is used for a user to access the service in the application system.
9. A processing device comprising a processor and a memory, a computer program being stored in the memory, the processor performing the method according to any of claims 1 to 7 when calling the computer program in the memory.
10. A computer-readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the method of any one of claims 1 to 7.
CN202011501691.5A 2020-12-18 2020-12-18 Method, device and storage medium for deploying application system based on browser Active CN112527320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011501691.5A CN112527320B (en) 2020-12-18 2020-12-18 Method, device and storage medium for deploying application system based on browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011501691.5A CN112527320B (en) 2020-12-18 2020-12-18 Method, device and storage medium for deploying application system based on browser

Publications (2)

Publication Number Publication Date
CN112527320A true CN112527320A (en) 2021-03-19
CN112527320B CN112527320B (en) 2024-07-05

Family

ID=75001329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011501691.5A Active CN112527320B (en) 2020-12-18 2020-12-18 Method, device and storage medium for deploying application system based on browser

Country Status (1)

Country Link
CN (1) CN112527320B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090571A (en) * 2021-10-20 2022-02-25 广东工业大学 Method and device for accessing large database, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120180024A1 (en) * 2011-01-07 2012-07-12 International Business Machines Corporation Synchronizing development code and deployed executable versioning within distributed systems
CN104636237A (en) * 2015-01-19 2015-05-20 上海新炬网络信息技术有限公司 Monitoring method for Web application system service performance based on Java platform
CN108132809A (en) * 2017-11-29 2018-06-08 五八有限公司 Method, apparatus, terminal and the storage medium of loading
CN109656617A (en) * 2018-11-30 2019-04-19 武汉烽火信息集成技术有限公司 A kind of front end Web Service dispositions method, storage medium, electronic equipment and system
CN110134401A (en) * 2019-04-12 2019-08-16 深圳壹账通智能科技有限公司 Code snippet localization method, device, computer equipment and storage medium
CN110825362A (en) * 2019-11-04 2020-02-21 广东道一信息技术股份有限公司 Low-code application software development system and method
CN111966358A (en) * 2020-07-30 2020-11-20 上海泛微网络科技股份有限公司 Code packaging method and device, electronic equipment and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120180024A1 (en) * 2011-01-07 2012-07-12 International Business Machines Corporation Synchronizing development code and deployed executable versioning within distributed systems
CN104636237A (en) * 2015-01-19 2015-05-20 上海新炬网络信息技术有限公司 Monitoring method for Web application system service performance based on Java platform
CN108132809A (en) * 2017-11-29 2018-06-08 五八有限公司 Method, apparatus, terminal and the storage medium of loading
CN109656617A (en) * 2018-11-30 2019-04-19 武汉烽火信息集成技术有限公司 A kind of front end Web Service dispositions method, storage medium, electronic equipment and system
CN110134401A (en) * 2019-04-12 2019-08-16 深圳壹账通智能科技有限公司 Code snippet localization method, device, computer equipment and storage medium
CN110825362A (en) * 2019-11-04 2020-02-21 广东道一信息技术股份有限公司 Low-code application software development system and method
CN111966358A (en) * 2020-07-30 2020-11-20 上海泛微网络科技股份有限公司 Code packaging method and device, electronic equipment and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090571A (en) * 2021-10-20 2022-02-25 广东工业大学 Method and device for accessing large database, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112527320B (en) 2024-07-05

Similar Documents

Publication Publication Date Title
US10990367B2 (en) Application development method, tool, and device, and storage medium
CN109918055B (en) Application program generation method and device
CN110059456B (en) Code protection method, code protection device, storage medium and electronic equipment
Johnson et al. Linux application development
Mackey Introducing. NET 4.0: With Visual Studio 2010
CN106843901B (en) Page rendering and verification method and device
US9715372B2 (en) Executable guidance experiences based on implicitly generated guidance models
US8321846B2 (en) Executable template
US7428729B2 (en) Methods, systems, and computer program products for integrating legacy applications into a platform-independent environment
CN112527320B (en) Method, device and storage medium for deploying application system based on browser
KR20190123146A (en) Application converting apparatus and method for improving security
CN112631563A (en) System development method and device based on framework, computer equipment and storage medium
US20050268219A1 (en) Method and system for embedding context information in a document
CN117008920A (en) Engine system, request processing method and device, computer equipment and storage medium
CN112988148B (en) Multi-block-chain and cross-platform supporting SDK generation method and device
CN116226921A (en) Desensitization processing method and device
CN112287643B (en) Message monitoring method, device, equipment and computer readable storage medium
Deitel et al. Java SE 8 for programmers
CN113721929A (en) Method for automatically implanting common code into Android App
CN113568678A (en) Method and device for dynamically loading resources and electronic equipment
CN117519691B (en) Application processing method, device, computer equipment and storage medium
CN105183491A (en) Cross-platform desktop GIS and starting method thereof
CN110413336A (en) Exploration project starts method, apparatus, server and storage medium
CN111291298A (en) Page display method and device, electronic equipment and storage medium
EP2828746A1 (en) Methods of distributing a computer program product, and a computer system

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