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

CN112527320B - 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
CN112527320B
CN112527320B CN202011501691.5A CN202011501691A CN112527320B CN 112527320 B CN112527320 B CN 112527320B CN 202011501691 A CN202011501691 A CN 202011501691A CN 112527320 B CN112527320 B CN 112527320B
Authority
CN
China
Prior art keywords
application system
executable file
data
service
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011501691.5A
Other languages
Chinese (zh)
Other versions
CN112527320A (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

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 loading conditions, 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 application relates to the technical field of front-end development, in particular to a method, a device and a storage medium for deploying an application system based on a browser.
Background
An integrated development environment (IDE, world Wide Web Integrated Development Environment) is an application program for providing a program development environment, and generally includes tools such as a code editor, compiler, debugger, and graphical user interface. The IDE integrates the development software service set integrating the code writing function, the analysis function, the compiling function, the debugging function and the like, and all software or software sets (groups) with the characteristics can be called IDE.
However, the integrated release process of the IDE and the collaborative office software product is too complex, and cannot be integrated rapidly, so that the IDE and the collaborative office software product are associated with business; in addition, since the code copying and migration processes of the IDE are too complex, code crossing is easy to occur, and thus, 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 release process of an IDE and a collaborative office software product is too complex, can not be integrated quickly and is associated with a service, and solving the technical problems that code cross easily occurs due to the fact that the code copying and migration processes of the IDE are too complex, so that service codes can not be reused.
In a first aspect, an embodiment of the present application provides 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 loading conditions, 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 the first executable file and the second executable file according to the service code includes:
Recursively designating a file with a preset format in the files;
Merging the files in the preset format to construct the first executable file;
Setting the loading condition for the first executable file and setting the 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 generating the first executable file and the second executable file according to the service code, the method further includes:
acquiring source data of a development tool;
after the service port is generated, the method further includes:
Calling the second executable file in the application system to obtain second execution data;
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;
In some embodiments, after the merging of the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
Determining at least one running environment of the application system;
generating application packages of preset formats according to preset formats corresponding to the running environments by aiming at each running environment;
and respectively storing the application packages of each preset format in the application system according to the types of the running environments.
In some embodiments, after the merging of the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
And importing the sharing 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 the corresponding files.
In some embodiments, after the merging of the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
setting a data submitting interface for the shared case data, and setting editing and inquiring functions.
In some embodiments, the acquiring the service code includes:
Integrating the user rights of the development tool with the user rights of the application system;
receiving an edit instruction from at least one user in 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 system comprises an acquisition module, a storage module and a storage module, wherein 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 loading conditions, 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, 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 processing module is further used for loading and running the application system, triggering the preset function event and binding 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, including a processor and a memory, where the memory stores a computer program, and when the processor invokes the computer program in the memory, the processor executes any step in deploying an application system based on a browser provided in the embodiment of the present application.
In a fourth aspect, embodiments of the present application further provide a computer readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform any of the steps in deploying an application system based on a browser provided by the embodiments of the present application.
From the above, the present application has the following advantages:
Because the first executable file has loading conditions, and the second executable file is an independent executable file, the first executable file is executed according to the loading conditions, 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 codes are bound with 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, namely, the application system can be developed and compiled based on the browser without building a complicated development environment, so that a large amount of labor cost can be reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a logic structure of an application system of the present application;
FIG. 2 is a flow chart of a method of deploying an application system based on a browser of the present application;
FIG. 3 is a flow chart of a method of deploying an application system based on a browser of the present application;
FIG. 4 is a flow diagram of an apparatus for deploying an application system based on a browser in accordance with the present application;
fig. 5 is a schematic view of a construction of the treatment apparatus of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
In the description that follows, specific embodiments of the application will be described with reference to steps and symbols performed by one or more computers, unless otherwise indicated. Thus, these steps and operations will be referred to in several instances as being performed by a computer, which as referred to herein performs operations that include processing units by the computer that represent electronic signals that represent data in a structured form. This operation transforms the data or maintains it in place in the computer's memory system, which may reconfigure or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the foregoing text and are not meant to be limiting, and one skilled in the art will recognize that various steps and operations described below may also be implemented in hardware.
The principles of the present application operate using many other general purpose or special purpose operations, communication environments, or configurations. Examples of 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 computers, and distributed computing environments that include any of the above systems or devices.
The terms "first," "second," and "third," etc. in this disclosure are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
First, before describing the embodiments of the present application, the following description will be made with respect to the application context.
The execution main body of the method provided by the application can be the device provided by the application, or processing Equipment such as server Equipment, a physical host, a vehicle-mounted terminal or User Equipment (UE) integrated with the violating device, wherein the device can be realized in a hardware or software mode, and the UE can be specifically a terminal Equipment such as a smart phone, a tablet computer, a notebook computer, a palm computer, a desktop computer or a Personal digital assistant (Personal DIGITAL ASSITANT, PDA).
The processing equipment can adopt a working mode of independent operation or a working mode of equipment clusters, and the method provided by the application is applied to solve the following main technical problems in the prior art:
the technical problem 1 is that the integrated release process of the traditional IDE and the collaborative office software product is too complex to be integrated quickly and associated with business.
The technical problem 2 is that the code copying and migration processes of the traditional IDE are too complex, code crossing is easy, and the service code multiplexing requirement cannot be solved.
Technical problem 3, traditional IDE development and compilation at the front end depends on the server or client operating system environment, requiring much software.
Technical problem 4, traditional IDE can't realize that many people edit and compile, release on line at the same time, unified management.
In order to solve the technical problems, the embodiment of the application mainly provides the following scheme:
Aiming at the technical problem 1: the construction and release of js and css files are realized by using a java technology, all js and css files under a recursion specified folder are dynamically combined to construct an executable js and css file, a js front loading concept is provided, an application system function can be dynamically registered in advance before a system is loaded, and codes are bound into the service of the application system when the application system operates.
Aiming at technical problem 2: the method comprises the steps of integrating a local web IDE with a local application system by using java and cloud computing technology, developing a cloud case server, enabling an issuer to transmit data to the cloud case server through one key by encrypting and packaging code data, enabling the issuer to browse a case library through the web IDE and automatically install an encrypted case package into the local application system server through one key to generate specific source codes and executable codes, and enabling a foreground to achieve interface refreshing-free experience by using technologies such as compact and mobx, so that the interface refreshing-free experience is closer to that of a traditional IDE.
Aiming at the technical problem 3: the browser technology is used for realizing the es6, the act and the mobx compilers, the source codes and the specific compiled files are simultaneously stored when the java stores the data, and the real-time dynamic compiling results are stored in the front-end cache when each file is edited.
Aiming at technical problem 4: by using java technology and combining a web ide and a local application system authority system, the online editing authority is supported for the role authority of the application system, and the online development of real-time collaboration of multiple persons is supported.
In an embodiment of the present application, an integrated development environment (World Wide Web 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 development software service sleeve integrates a code writing function, an analysis function, a compiling function, a debugging function and the like. All software or software suites (sets) that have this property may be called integrated development environments.
The application system generally consists of 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. The system software includes an operating system, a compiler, a database management system, 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 that converts a technical solution to a specific technical implementation. The source code file suffix is java, the java is compiled by a computer compiler and then converted into byte codes, and the file suffix name is class;
JS: javaScript (abbreviated as "JS") is a lightweight, interpreted or just-in-time compiled programming language with functional prioritization. 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 prototype programming, a multiple-paradigm dynamic scripting language, and supports object-oriented, imperative, and declarative (e.g., functional programming) styles.
CSS: cascading style sheets (English holonomy: CASCADING STYLE SHEETS) are a type of computer language used to represent file styles such as HTML (an application of standard universal markup language) or XML (a subset of standard universal markup language). The CSS not only can statically modify the web page, but also can dynamically format each element of the web page in cooperation with various scripting languages.
The embodiment of the application can manage data based on the application system shown in fig. 1, wherein in fig. 1, the application system is an online web ide, and the online web ide comprises functional modules such as classification management, folder management, file management, editor and the like. The following are respectively described:
And (3) classification management: the data is classified based on the classification tree.
Folder management: including publication management, folder tree, sharing management, and import and export functions.
File management: including version management, data storage, and security filtering.
An editor: including js editor, js compiler, css editor, and md editor.
Wherein, the md editor adopts md (Markdown) language, markdown is a markup language which can be written by using a common text editor, and the md can make the common text content have a certain format through simple markup grammar.
The following begins with an introduction of an embodiment of the method for deploying an application system based on a browser provided by the present application.
Referring to fig. 2, fig. 2 shows a flow diagram of deploying an application system based on a browser, and the method for deploying an application system based on a browser provided by the application specifically includes 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, for example, may be a JS file. The second executable file is a separate executable file, for example, a CSS file.
In some embodiments, the acquiring the service code includes:
Integrating the user rights of the development tool with the user rights of the application system;
receiving an edit instruction from at least one user in 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 the first executable file and the second executable file according to the service code includes:
Recursively designating a file with a preset format in the files;
Merging the files in the preset format to construct the first executable file;
Setting the loading condition for the first executable file and setting the 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 comprise js files, css files and md files. For example, the construction and release of js and css files are realized by using a java technology, all js files and css files under a specified folder are recursively specified, and all js files and css files under the specified folder are respectively and dynamically combined to construct a corresponding executable js file and css file. For js files, a pre-loading/pre-canceling action can be defined for the js files, and when the js files are set as pre-loading, the js files can be automatically merged into a unified js file during construction, and the js files are introduced before loading of an application system.
In other embodiments, before generating the first executable file and the second executable file according to the service code, the method further includes:
acquiring source data of a development tool;
after the service port is generated, the method further includes:
Calling the second executable file in the application system to obtain second execution data;
And 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.
For example, based on the application system shown in fig. 1, java and cloud computing technology can be used to integrate the local web ideas with the local application system and deploy a cloud case server, where the local web ideas pass the data from the local web ideas into the cloud case server by cryptographically packaging the code data and then transmitting the data one key.
In some embodiments, the user may browse the case library in the cloud server, download the encrypted case package from the case library by one key, and automatically install the encrypted case package into the local application server to generate specific source codes and executable codes, and the foreground uses technologies such as compact and mobx to realize the interface refreshing-free experience, so that the interface refreshing-free experience is closer to the experience of the traditional IDE.
In some embodiments, after the merging of the source data, the first execution data, and the second execution data into shared case data, the method further comprises any one of scheme a, scheme B, or scheme C:
scheme a:
Determining at least one running environment of the application system;
generating application packages of preset formats according to preset formats corresponding to the running environments by aiming at each running environment;
and respectively storing the application packages of each preset format in the application system according to the types of the running environments.
For example, an import and export function is created in the application system, and import and export support a primary folder. When the folder is exported, all source codes and compiled files in the folder are completely exported, and in the other web ide, the complete codes and executable files can be kept after import, and unified program packages are supported to be exported, and the program packages are placed under the application system catalog under different environments and used for automatically generating source codes and executable environments (the function is used for being used outside code record and web ide).
Scheme B:
And importing the sharing 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 the corresponding files.
For example, import and export functions are created in the application system, and when the folder is exported from the application system, all source code and compiled files in the folder are exported in their entirety. Then, in another web ide, all source codes and compiled files in the exported folder are imported into the web ide, so that the complete codes and executable files can be maintained after the web ide is imported.
Scheme C:
setting a data submitting interface for the shared case data, and setting editing and inquiring functions.
Updating the source data.
For example, a Yun Anli library may be created at a unified cloud server outside the web ideas to set up release management update functions (e.g., add, delete, modify, query, etc.) for the cases for the cloud case library, and set up a case data submission interface for the cloud case library. In the web ide, a shared case library function is set for a primary folder so that data can be submitted to a cloud case library only by submitting the data. Meanwhile, a case library showing function is set 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, 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 preset function event refers to an application system function event. Application function events are used to associate an application with a service.
In the embodiment of the application, the java technology can be used for creating file management in the application system, the service can be associated to any folder, the application system supports adding, deleting and checking, the supporting file types can comprise js, css, md, the data storage is supported, and the data can be stored in the database and the file server after the data storage. And preferentially reading the disk of the server in the process of reading the codes, if the disk data of the file server are abnormal, reading the database, and automatically generating the database codes to the disk of the file server when the disk data of the file server are 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 js file type, a pre-load/cancel pre-load action is defined for js file type, when js is set as pre-load, js is automatically merged into a unified js file during construction, the file is introduced before application system loading, and some application system function events can be registered before application system loading, namely, application system and service can be associated. The js code editor can be used for associating with the js file in the front-end platform, so that the writing, grammar highlighting, format control and code prompting of the js file are supported. In addition, before the storage, a browser compiler is realized, the file is compiled in real time during the storage, the pre-compiling code and the post-compiling code are stored in the background at the same time, and the source code and the post-compiling code are stored and distinguished.
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 the service code is acquired, a first executable file and a second executable file are generated according to the service code, and because the first executable file has a loading condition, and the second executable file is an independent executable file, a preset function event is registered to an application system according to the loading condition, and the preset function event can be associated with at least one service in the application system to obtain first execution data, so that the preset function event can be triggered after the application system is loaded and operated, the service code and at least one service in the application system are bound, 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, namely, the application system can be developed and compiled based on the browser without building a complicated development environment, so that a large amount of labor cost can be reduced.
For ease of understanding, reference may also be made to a flow diagram for deploying an application system based on a browser, as shown in fig. 3.
In order to better implement the method of the present application, the embodiment of the present application further provides an apparatus 20 for deploying an application system based on a browser.
Referring to fig. 4, fig. 4 is a schematic structural diagram of the apparatus 20 according to the present application, wherein the apparatus 20 may specifically include the following structures:
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 loading conditions, and the second executable file is an independent executable file;
The processing module 202 is configured to execute the first executable file according to the loading condition, register a preset function event to an application system, and associate the preset function event with at least one service in the application system to obtain first execution data;
The processing module 202 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 some embodiments, the processing module 202 is specifically configured to:
Recursively designating a file with a preset format in the files;
Merging the files in the preset format to construct the first executable file;
Setting the loading condition for the first executable file and setting the 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 the service port is generated, calling the second executable file in the application system to obtain second execution data;
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;
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 running environment of the application system;
generating application packages of preset formats according to preset formats corresponding to the running environments by aiming at each running environment;
and respectively storing the application packages of 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 sharing 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 the 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 submitting interface for the shared case data, and setting editing and inquiring functions.
In some embodiments, the obtaining module 201 is specifically configured to:
Integrating the user rights of the development tool with the user rights of the application system;
receiving an edit instruction from at least one user in 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 also provides a processing device, referring to fig. 5, and fig. 5 shows a schematic structural diagram of the processing device, specifically, the processing device provided by the present application includes a processor, where the processor is configured to implement steps of a method according to any embodiment shown in fig. 1 to 3 when executing a computer program stored in a memory; or the processor may be adapted to perform the functions of the units in the corresponding embodiment as in fig. 4 when executing a computer program stored in a memory.
For example, a computer program may be split into one or more modules/units, which are stored in a memory and executed by a processor to perform the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing particular functions to describe the execution of the computer program in a computer device.
The processing device may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the illustrations are merely examples of processing devices, and are not limiting of processing devices, and may include more or less components than illustrated, or may combine some components, or different components, e.g., processing devices may also include input and output devices, network access devices, buses, etc., through which processors, memories, input and output devices, network access devices, etc. are connected.
The Processor may be a central processing unit (Central Processing Unit, CPU), other general purpose Processor, digital signal Processor (DIGITAL SIGNAL Processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that is a control center for a processing device that utilizes various interfaces and lines to connect various parts of the overall processing device.
The memory may be used to store computer programs and/or modules, and the processor implements various functions of the computer device by running or executing the computer programs and/or modules stored in the memory, and 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 (such as a sound playing function, an image playing function, etc.) required for at least one function, 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, memory, plug-in hard disk, smart memory card (SMART MEDIA CARD, SMC), secure Digital (SD) card, flash memory card (FLASH CARD), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
It will be clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus, the processing device and the corresponding units described above may refer to the description of the method in any embodiment corresponding to fig. 1 to 3, and the detailed description is omitted here.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, 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, in which a plurality of instructions capable of being loaded by a processor are stored, so as to execute steps in a method according to any embodiment of the present application, for example, fig. 1 to 4, and specific operations may refer to descriptions of the method according to any embodiment of the present application, for example, fig. 1 to 4, and are not repeated herein.
Wherein the computer-readable storage medium may comprise: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Since the instructions stored in the computer readable storage medium can execute the steps of the method according to any embodiment of the present application as shown in fig. 1 to 4, the beneficial effects of the method according to any embodiment of the present application as shown in fig. 1 to 4 can be achieved, and detailed descriptions are omitted herein.
The foregoing has outlined rather broadly the methods, apparatus, processing devices and computer readable storage media of the present application in order that the detailed description of the principles and embodiments of the present application may be implemented in a specific manner; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, the present description should not be construed as limiting the present application.

Claims (8)

1. A method for deploying an application system based on a browser, the method comprising:
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 loading conditions, 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;
generating a service port, wherein the service port is used for a user to access a service in the application system;
Wherein before the first executable file and the second executable file are generated according to the service code, the method further comprises:
acquiring source data of a development tool;
after the service port is generated, the method further includes:
Calling the second executable file in the application system to obtain second execution data;
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;
wherein after the merging of the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
Determining at least one running environment of the application system;
generating application packages of preset formats according to preset formats corresponding to the running environments by aiming at each running environment;
and respectively storing the application packages of each preset format in the application system according to the types of the running environments.
2. The method of claim 1, wherein generating the first executable file and the second executable file from the business code comprises:
Recursively designating a file with a preset format in the files;
Merging the files in the preset format to construct the first executable file;
Setting the loading condition for the first executable file and setting the 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, wherein after the merging of the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
And importing the sharing 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 the corresponding files.
4. The method of claim 1, wherein after the merging of the source data, the first execution data, and the second execution data into shared case data, the method further comprises:
setting a data submitting interface and editing and inquiring functions for the shared case data;
Updating the source data.
5. The method of claim 1, wherein the acquiring the service code comprises:
Integrating the user rights of the development tool with the user rights of the application system;
receiving an edit instruction from at least one user in 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.
6. An apparatus for deploying an application system based on a browser, wherein the apparatus for deploying an application system based on a browser comprises:
The system comprises an acquisition module, a storage module and a storage module, wherein 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 loading conditions, 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, 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 processing module is further used for loading and running the application system, triggering the preset function event and binding the service code with at least one service in the application system; generating a service port, wherein the service port is used for a user to access a service in the application system;
Before the processing module 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 the service port is generated, calling the second executable file in the application system to obtain second execution data;
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;
The processing module is further configured to, after merging the source data, the first execution data, and the second execution data into shared case data:
Determining at least one running environment of the application system;
generating application packages of preset formats according to preset formats corresponding to the running environments by aiming at each running environment;
and respectively storing the application packages of each preset format in the application system according to the types of the running environments.
7. A processing device comprising a processor and a memory, the memory having stored therein a computer program, the processor executing the method of any of claims 1 to 5 when invoking the computer program in the memory.
8. 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 5.
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 CN112527320A (en) 2021-03-19
CN112527320B true 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)

Families Citing this family (1)

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

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966358A (en) * 2020-07-30 2020-11-20 上海泛微网络科技股份有限公司 Code packaging method and device, electronic equipment and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8683430B2 (en) * 2011-01-07 2014-03-25 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
CN110825362B (en) * 2019-11-04 2023-04-14 广东道一信息技术股份有限公司 Low-code application software development system and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966358A (en) * 2020-07-30 2020-11-20 上海泛微网络科技股份有限公司 Code packaging method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN112527320A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
KR100661393B1 (en) Web site management system and method applying web programming environment
KR20110063646A (en) Multiple parallel user experiences provided by a single set of internet hosting machines
Johnson et al. Linux application development
Walls et al. XDoclet in Action (In Action series)
CN108829467B (en) Third-party platform docking implementation method, device, equipment and storage medium
US20170300305A1 (en) Executable guidance experiences based on implicitly generated guidance models
CN110321504B (en) Page processing method and device
CN112667246A (en) Application function extension method and device and electronic equipment
CN112527320B (en) Method, device and storage medium for deploying application system based on browser
Jones GNU/Linux application programming
CN117519691B (en) Application processing method, device, computer equipment and storage medium
CN110413336A (en) Exploration project starts method, apparatus, server and storage medium
Lessa Python developer's handbook
Gupta Java 11 and 12–New Features: Learn about Project Amber and the latest developments in the Java language and platform
Abbas et al. LEARN. NET WITH PROGRAMMING (3-in-1): Covers. NET using C#, Visual Basic ASP. NET
Korva Developing a web application with Angular 2: Graphical editor for Happywise’s Cove Trainer
MacDonald Pro ASP. NET 1.1 in C#: From professional to expert
CN117348871A (en) Page control generation method and device based on template
CN114625377A (en) Frame item conversion method, frame item conversion device, equipment and storage medium
Krause et al. Introduction to Node
CN117573277A (en) WeChat applet page dynamic method, system, equipment and storage medium
Davis et al. Grails
Aravinth et al. Building a React-Like Library
Román García An enhanced SleuthKit GUI for digital forensics
Bondili Online Banking Application with Angular JS, RESTful Web Services and Cassandra Database

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