An application configuration real-time debugging preview method and system, and a SaaS sandbox

By decompressing, installing, and debugging the PaaS-generated application installation package in a SaaS sandbox, the problem of not being able to preview in real time in existing technologies is solved, enabling rapid installation and debugging, ensuring the consistency of application effects and the normal operation of PaaS services.

CN116009892BActive Publication Date: 2026-07-03HAOYUN TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HAOYUN TECH CO LTD
Filing Date
2022-09-07
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

Existing PaaS application configuration technology cannot preview in real time, which means that each edit requires repackaging, which is time-consuming and prone to errors, and also affects the normal business operation of the PaaS platform.

Method used

The application installation package generated by PaaS is obtained through the HTTP interface, and then unzipped and installed in the SaaS sandbox. Real-time debugging and preview are performed according to functional requirements, avoiding debugging the application inside PaaS and using the refresh engine of the SaaS sandbox to update the application's business functions.

Benefits of technology

It enables rapid application installation and real-time debugging preview, ensuring that the preview effect is consistent with the actual production deployment, reducing packaging time, avoiding impact on normal PaaS business, and improving debugging flexibility and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116009892B_ABST
    Figure CN116009892B_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for real-time debugging and previewing application configurations, and a SaaS sandbox, comprising: obtaining an application installation package generated by PaaS via an HTTP interface; decompressing and installing the application installation package; and performing real-time debugging and previewing according to functional requirements after installation. This invention packages applications according to the SaaS application installation package via PaaS, achieving rapid packaging and enabling the application to be previewed to be quickly installed and run. Furthermore, the preview effect of the application to be previewed is completely consistent with the actual production deployment; and after the application is installed, it can be debugged and previewed in real-time according to functional requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive control, and more particularly to a method and system for real-time debugging and previewing of application configurations, and a SaaS sandbox. Background Technology

[0002] Cloud computing is a type of distributed computing that refers to breaking down massive data processing programs into countless smaller programs via a network "cloud." These smaller programs are then processed and analyzed by a system composed of multiple servers to obtain results and return them to the user. The services discussed in cloud computing include three layers: Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). Platform as a Service (PaaS) is a crucial component of cloud computing, providing computing platforms and solution services.

[0003] In a typical cloud computing hierarchy, the PaaS layer lies between Software as a Service (SaaS) and Infrastructure as a Service (IaaS). PaaS allows users to deploy and create cloud infrastructure on their clients, or thereby gain access to programming languages, libraries, and services. Users do not need to manage or control the cloud infrastructure (including networks, servers, operating systems, or storage), but they do need to control the upper-layer application deployment and hosting environment. PaaS delivers the software development platform as a service to users using the SaaS model. PaaS provides a software deployment platform (runtime), abstracting away hardware and operating system details, allowing for seamless scaling. Developers only need to focus on their business logic, without needing to worry about the underlying layers. In short, PaaS provides an environment for building, testing, and deploying software applications.

[0004] Existing PaaS application configuration technologies cannot preview applications in real time. Each edit requires repackaging, which is time-consuming and prone to errors. At the same time, application debugging is carried out within the PaaS platform, affecting the normal operation of PaaS services. Summary of the Invention

[0005] This invention provides a method and system for real-time debugging and previewing of application configuration, as well as a SaaS sandbox, to solve the technical problem that existing application configuration technologies cannot preview in real time.

[0006] To address the aforementioned technical problems, in a first aspect, embodiments of the present invention provide a method for real-time debugging and previewing of application configuration, comprising:

[0007] Obtain the application installation package generated by PaaS via HTTP interface;

[0008] Unzip and install the application package. After installation, perform real-time debugging and preview according to your functional requirements.

[0009] This invention enables rapid packaging of applications using PaaS as a SaaS application installation package, allowing for quick installation and operation of the application to be previewed. Furthermore, the preview effect of the application to be previewed is completely consistent with the actual production deployment. After the application is installed, it can be debugged and previewed in real time according to functional requirements.

[0010] Furthermore, obtaining the application installation package generated by PaaS via the HTTP interface specifically involves:

[0011] The application installation package generated by PaaS is received via an HTTP interface using an HTTP GET request.

[0012] The application installation package is generated by packaging the application to be previewed according to the SaaS application installation package specification.

[0013] This invention uploads the application installation package to the SaaS sandbox via an HTTP interface, allowing the SaaS provider to unzip and install the application. Simultaneously, by packaging the application according to the SaaS application installation package specifications, it avoids packaging all business data, reducing packaging time.

[0014] Furthermore, after receiving the application installation package generated by PaaS via the HTTP interface using the HTTP GET method, the process also includes:

[0015] Upload the application installation package to the application installation interface of / appManager / installApp; wherein the application installation package includes attachments, application registration information and SQL scripts.

[0016] This invention uses the application installation interface / appManager / installApp to decompress and install application installation packages, enabling rapid application installation and deployment.

[0017] Furthermore, the process of unzipping and installing the application installation package specifically involves:

[0018] Decompress the application installation package according to the application installation interface;

[0019] Execute the SQL script in the application installation package and copy the attachments and registration application information to the database to complete the application installation.

[0020] This invention packages applications according to the application installation package standard, generating application installation packages, thus avoiding the need to package all application information and simplifying data transmission.

[0021] Furthermore, after installation, real-time debugging and preview are performed according to functional requirements, specifically as follows:

[0022] After installation, debug the application based on the preview results and functional requirements;

[0023] Refresh the engine container, update the business functions of the application after debugging, and run the application to complete a debug preview.

[0024] Furthermore, after updating the debugged business functions of the application in the refresh engine container, running the application, and completing a debug preview, the process also includes:

[0025] Repeat the debugging and preview process multiple times until the application meets the functional requirements, then stop debugging and previewing.

[0026] This invention allows for the timely detection and resolution of application problems by installing and running the application on SaaS, debugging and updating the application according to its functions, and enabling real-time preview of the application.

[0027] Secondly, embodiments of the present invention provide a SaaS sandbox, including an installation package receiving module and a debug preview module;

[0028] The installation package receiving module is used to obtain the application installation package generated by PaaS through the HTTP interface;

[0029] The debug preview module is used to decompress and install the application installation package, and perform real-time debug preview according to functional requirements after installation.

[0030] This invention uses different versions of the sandbox to preview and debug applications with different kinetic energy requirements.

[0031] Thirdly, embodiments of the present invention provide an application configuration real-time debugging and preview system, including PaaS and the aforementioned SaaS sandbox;

[0032] The PaaS is used to package the application to be previewed according to the SaaS installation package specification and generate the application installation package;

[0033] The SaaS sandbox is used to perform real-time debugging and preview of applications based on the application installation package.

[0034] This invention develops applications through PaaS and debugs and previews applications based on SaaS, avoiding the problem of affecting the normal operation of PaaS business caused by debugging applications within PaaS; in addition, debugging applications in SaaS can refresh the application's business functions according to the SaaS refresh engine, realizing real-time debugging and preview.

[0035] Furthermore, the application configuration real-time debugging and preview system also includes a database:

[0036] The database is used to store the business data of the application to be previewed and the application installation package.

[0037] This invention uses the same database for both PaaS and SaaS sandboxes, eliminating the need to package all business data when packaging the application, thus enabling rapid installation and preview.

[0038] Furthermore, the PaaS is also used for:

[0039] Select the corresponding version of the SaaS sandbox based on the functional requirements of the application to be previewed.

[0040] This invention allows users to select the corresponding version of the SaaS sandbox for real-time preview based on the functional requirements of the application currently being developed in PaaS, thereby improving debugging flexibility. Attached Figure Description

[0041] Figure 1 A flowchart illustrating the application configuration real-time debugging and preview method provided in this embodiment of the invention;

[0042] Figure 2 A schematic diagram of a SaaS sandbox provided in an embodiment of the present invention;

[0043] Figure 3 A schematic diagram of a real-time debugging and preview system for application configuration provided in an embodiment of the present invention;

[0044] Figure 4 A timing diagram for an application configuration real-time debugging and preview system provided in an embodiment of the present invention. Detailed Implementation

[0045] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0046] Example 1

[0047] Please refer to Figure 1 , Figure 1 A flowchart illustrating the application configuration real-time debugging and preview method provided in this embodiment of the invention includes steps 101 to 102, as detailed below:

[0048] Step 101: Obtain the application installation package generated by PaaS via the HTTP interface;

[0049] In this embodiment, obtaining the application installation package generated by PaaS via the HTTP interface specifically involves:

[0050] The application installation package generated by PaaS is received via an HTTP interface using an HTTP GET request.

[0051] The application installation package is generated by packaging the application to be previewed according to the SaaS application installation package specification.

[0052] In this embodiment, the SaaS sandbox receives the application installation package generated by the PaaS via an HTTP port using an HTTP GET method. The application installation package is generated by the PaaS according to the SaaS application installation package specification to package the application to be previewed, and contains the application configuration data, application attachments, application business data, process data, timer data, and application description file of the application to be previewed.

[0053] As a specific example of an embodiment of the present invention, the application installation package specification includes the following:

[0054] 1. The appSystem folder contains application configuration data.

[0055] 2. The attachments folder contains application attachments.

[0056] 3. The business folder contains application business data.

[0057] 4. The flow folder contains process data.

[0058] 5. The scheduler folder contains timer data.

[0059] 6. main.json, the application description file, includes application tenant information, ID, version, and business data.

[0060] In this embodiment, after receiving the application installation package generated by PaaS via the HTTP interface using the HTTP GET method, the method further includes:

[0061] Upload the application installation package to the application installation interface of / appManager / installApp; wherein the application installation package includes attachments, application registration information and SQL scripts.

[0062] In this embodiment, SaaS decompresses and installs the application installation package through the application installation interface / appManager / installApp, enabling rapid application installation and deployment.

[0063] In this embodiment, the attachments are generated according to the application installation package specifications when packaging the PaaS application, and the attachments include avatars, documents, etc.; the application registration information includes tenant number, application number, all business codes of the application, application version number, etc.

[0064] Step 102: Unzip and install the application package. After installation, perform real-time debugging and preview according to the functional requirements.

[0065] In this embodiment, the step of unzipping and installing the application installation package specifically involves:

[0066] Decompress the application installation package according to the application installation interface;

[0067] Execute the SQL script in the application installation package and copy the attachments and registration application information to the database to complete the application installation.

[0068] In this embodiment, the SaaS sandbox decompresses the application installation package according to the application installation interface of / appManager / installApp, copies the attachments and registered application information to the database, executes the SQL script in the application installation package, completes the application configuration, and thus completes the application installation.

[0069] In this embodiment, PaaS packages applications according to the application installation package specification to generate application installation packages, avoiding the need to package all application information and making data transmission simpler.

[0070] In this embodiment, after installation, real-time debugging and preview are performed according to functional requirements, specifically as follows:

[0071] After installation, debug the application based on the preview results and functional requirements;

[0072] Refresh the engine container, update the business functions of the application after debugging, and run the application to complete a debug preview.

[0073] In this embodiment, after the application to be previewed is installed on the SaaS, the user can debug the application according to the functional requirements; after debugging, the SaaS sandbox engine is refreshed to update the business capabilities of the application after debugging, and the application is run for preview.

[0074] In this embodiment, after updating the debugged business functions of the application in the refresh engine container and running the application to complete a debug preview, the process further includes:

[0075] Repeat the debugging and preview process multiple times until the application meets the functional requirements, then stop debugging and previewing.

[0076] In this embodiment, by installing and running the application on SaaS, debugging and updating the application according to its functions, and previewing the application in real time, application problems can be discovered and resolved in a timely manner.

[0077] In this embodiment, the application is packaged according to the SaaS application installation package through PaaS, which enables rapid packaging and allows the application to be previewed to be installed and run quickly. At the same time, the preview effect of the application to be previewed is completely consistent with the actual production deployment. After the application is installed, it can be debugged and previewed in real time according to functional requirements.

[0078] Please refer to Figure 2 , Figure 2 A schematic diagram of a SaaS sandbox provided in an embodiment of the present invention is shown below. It mainly includes an installation package receiving module 201 and a debug preview module 202.

[0079] The installation package receiving module 201 is used to obtain the application installation package generated by PaaS through an HTTP interface;

[0080] The debug preview module 202 is used to decompress and install the application installation package, and perform real-time debug preview according to functional requirements after installation.

[0081] In this embodiment, different versions of the sandbox are used to preview and debug the application for different performance requirements. The sandbox environment is decoupled from PaaS, and different versions of the SaaS sandbox can be switched at will. That is, multiple SaaS sandboxes of different versions can be deployed (different versions support different functions). According to the functions required by the application currently being developed on PaaS, it can be published to the corresponding version of the SaaS sandbox for real-time preview.

[0082] Please refer to Figure 3 , Figure 3 A schematic diagram of an application configuration real-time debugging and preview system provided in this embodiment of the invention, which mainly includes PaaS and the SaaS sandbox, as detailed below:

[0083] The PaaS is used to package the application to be previewed according to the SaaS installation package specification and generate the application installation package;

[0084] The SaaS sandbox is used to perform real-time debugging and preview of the application based on the application installation package;

[0085] In this embodiment, the application configuration real-time debugging preview system also includes a database:

[0086] The database is used to store the business data of the application to be previewed and the application installation package.

[0087] In this embodiment, applications are developed through PaaS and debugged and previewed based on SaaS, avoiding the problem of affecting the normal operation of PaaS business caused by debugging applications within PaaS; in addition, debugging applications in SaaS can refresh the application's business functions according to the SaaS refresh engine, realizing real-time debugging and preview.

[0088] In this embodiment, the database is used to store the business data of the application to be previewed and the application installation package.

[0089] In this embodiment, the PaaS and SaaS sandbox use the same database, so there is no need to package all business data when packaging the application, thus enabling rapid installation and preview.

[0090] In this embodiment, the PaaS is also used for:

[0091] Select the corresponding version of the SaaS sandbox based on the functional requirements of the application to be previewed.

[0092] This invention allows users to select the corresponding version of the SaaS sandbox for real-time preview based on the functional requirements of the application currently being developed in PaaS, thereby improving debugging flexibility.

[0093] Please refer to Figure 4 , Figure 4 A timing diagram for the application configuration real-time debugging and preview system provided in this embodiment of the invention mainly includes PaaS, SaaS sandbox, and MySQL database, as detailed below:

[0094] In this embodiment, the user will select the application to be previewed in the PaaS and initiate a preview request according to actual needs;

[0095] PaaS packages the application to be previewed according to the SaaS application installation package specification, and generates the application installation package;

[0096] PaaS uploads the application installation package to the SaaS sandbox via an HTTP POST request through an HTTP interface;

[0097] The SaaS sandbox uses the / appManager / installApp application installation interface to decompress and install application installation packages;

[0098] The SaaS sandbox executes the SQL script in the application installation package and copies the attachments and registration application information to the MySQL database to complete the application installation;

[0099] Users debug the application according to functional requirements and refresh the SaaS sandbox engine container to update the application's business information;

[0100] Run the application, preview it, and repeat the debugging process until the application meets the functional requirements.

[0101] In this embodiment, SaaS supports real-time preview and debugging of applications. Secondly, the effect of previewing and debugging applications in the SaaS sandbox is completely consistent with actual production deployment. Furthermore, because PaaS and SaaS use the same library, applications requiring preview do not need to package all business data, thus enabling rapid deployment and installation of preview applications in the sandbox. Simultaneously, the sandbox environment is decoupled from PaaS, allowing for seamless switching between different sandbox versions.

[0102] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above descriptions are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention for those skilled in the art.

Claims

1. A method for real-time debugging and previewing application configuration, characterized in that, include: The application installation package generated by PaaS is obtained through an HTTP interface; specifically, the application installation package generated by PaaS is received via an HTTP GET request; the SaaS sandbox uploads the application installation package to the application installation interface / appManager / installApp; wherein the application installation package includes attachments, registration application information, and SQL scripts; the application installation package is generated by packaging the application to be previewed according to the SaaS application installation package specification. Unzip and install the application package. After installation, perform real-time debugging and preview according to your functional requirements.

2. The application configuration real-time debugging and preview method as described in claim 1, characterized in that, The process of unzipping and installing the application installation package specifically involves: Decompress the application installation package according to the application installation interface; Execute the SQL script in the application installation package and copy the attachments and registration application information to the database to complete the application installation.

3. The application configuration real-time debugging and preview method as described in claim 2, characterized in that, After installation, real-time debugging and previewing are performed according to functional requirements, specifically as follows: After installation, debug the application based on the preview results and functional requirements; Refresh the engine container, update the business functions of the application after debugging, and run the application to complete a debug preview.

4. The application configuration real-time debugging and preview method as described in claim 3, characterized in that, In the refresh engine container, after updating the debugged business functions of the application and running the application to complete a debug preview, the process also includes: Repeat the debugging and preview process multiple times until the application meets the functional requirements, then stop debugging and previewing.

5. A SaaS sandbox, characterized in that, Includes an installation package receiving module and a debug preview module; The installation package receiving module is used to obtain the application installation package generated by PaaS through an HTTP interface; specifically, it receives the application installation package generated by PaaS via an HTTP GET request; and uploads the application installation package to the application installation interface / appManager / installApp; wherein the application installation package includes attachments, registration application information, and SQL scripts; the application installation package is generated by packaging the application to be previewed according to the SaaS application installation package specification. The debug preview module is used to decompress and install the application installation package, and perform real-time debug preview according to functional requirements after installation.

6. An application configuration real-time debugging and preview system, characterized in that, Including PaaS and the SaaS sandbox as described in claim 5; The PaaS is used to package the application to be previewed according to the SaaS installation package specification and generate the application installation package; The SaaS sandbox is used to perform real-time debugging and preview of applications based on the application installation package.

7. The application configuration real-time debugging and preview system as described in claim 6, characterized in that, The application configuration real-time debugging and preview system also includes a database: The database is used to store the business data of the application to be previewed and the application installation package.

8. The application configuration real-time debugging and preview system as described in claim 7, characterized in that, The PaaS is also used for: Select the corresponding version of the SaaS sandbox based on the functional requirements of the application to be previewed.