Application building method in multi-cloud environment and application building platform for executing method

Through the method and platform of building applications in a multi-cloud environment, the problem in the existing technology that applications cannot be transplanted between different cloud service environments is solved, the rapid transplantation and cross-cloud construction of applications are realized, and the efficiency and consistency are improved.

CN118555286APending Publication Date: 2024-08-27BEIJING TONGTONG YILIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410746904.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-08-27

Smart Images

  • Figure CN118555286A
    Figure CN118555286A
Patent Text Reader

Abstract

The invention provides an application building method in a multi-cloud environment and an application building platform for executing the method. The method comprises the following steps: requesting a background interface, querying a connection state of each cloud service environment configured in a cloud management module, and querying a synchronization record of a current application and each cloud service environment based on an application synchronization record table; and receiving one or more selection instructions of the front end, and sequentially requesting the application synchronization interface of the selected cloud service environment to import the application data of the current application into the selected cloud service environment database. According to the technical scheme of the invention, the same application can be quickly transplanted in different cloud service environments, and the technical problem of quickly realizing cross-cloud construction and use of business applications is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of network technology, and specifically relates to an application building method in a multi-cloud environment and an application building platform for executing the method. Background Art

[0002] The invention patent application with application number 202311060569.2 discloses a zero-code lightweight application building platform. The above patents are applicable to the construction of portal enterprise applications. The built applications can only be allocated to different enterprises in the current cloud and cannot be ported to other cloud service environments. In particular, for complex applications that have been built, when they need to be used in other cloud service environments, they need to be repeatedly built manually, which is labor-intensive, inefficient, and prone to inconsistencies in expected functions or other problems due to human factors. Summary of the invention

[0003] For applications that need to be ported to different cloud service environments, a unified application building entrance is used to synchronize the built applications to the cloud service environment that does not have the application, so as to solve the problem that the traditional application building mode cannot handle application porting in different cloud service environments. The present invention proposes an application building method in a multi-cloud environment, including the step of synchronizing the current application with the unsynchronized cloud service environment, which specifically includes:

[0004] Request the backend interface to query the connection status of each cloud service environment configured in the cloud management module and query the synchronization record between the current application and each cloud service environment based on the application synchronization record table;

[0005] Requesting an application synchronization interface of a target cloud service environment to import application data of the current application into a selected cloud service environment database;

[0006] The synchronization record includes: cloud service environment name, cloud service environment domain name, application UID, synchronization status, and synchronization time.

[0007] In a second aspect, the present invention further proposes an application building platform for executing the application building method under a multi-cloud environment of the present invention, the platform comprising: a cloud management module and an application management module, the application management module comprising an application building submodule, an application configuration submodule, a menu management submodule, a version configuration submodule, and an application synchronization submodule;

[0008] The application configuration submodule includes a page configuration editor;

[0009] The application building submodule includes application name, application theme color, application icon, and business function configuration;

[0010] The application configuration submodule includes a creation group submodule, a creation work submodule, a creation report submodule, a workflow configuration submodule, a system page configuration submodule, and an application description configuration submodule; the group submodule is used to organize functions such as worksheets and reports with menu items to form a group, the worksheet submodule is used to create and manage data tables; the report submodule generates data reports according to business needs;

[0011] The menu management submodule includes adding, editing, and deleting application menus, and can control parameters such as menu ID, name, type, path link, page parameters, and publishing status; the version configuration submodule includes creating application versions and version lists;

[0012] The process configuration submodule is used to define, execute and automatically configure business processes.

[0013] The technical solution of the present invention realizes the rapid migration of the same application in different cloud service environments, thereby achieving the technical problem of rapidly realizing the cross-cloud construction and use of business applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 :Flowchart of a solution;

[0015] Figure 2 : Schematic diagram of the principle of a scheme. DETAILED DESCRIPTION

[0016] First, it is necessary to explain the following data involved in the relevant technology and the following embodiments:

[0017] A multi-cloud environment refers to an IT architecture in which various cloud services (such as private cloud, public cloud, and hybrid cloud) are used simultaneously and collaborate with each other to improve data processing and storage capabilities.

[0018] Application building refers to the process of building and configuring a set of collaborative computer program systems to handle certain specific tasks to meet specific needs.

[0019] The term "synchronization" in the present invention refers to keeping data or state in a system consistent across multiple instances or computing environments.

[0020] The term "deletion rollback" in the present invention means executing a deletion operation in the database for the created data table structure to restore the database state to the state before application synchronization.

[0021] The following examples further illustrate the content of the present invention, but should not be construed as limiting the present invention. Without departing from the spirit and substance of the present invention, modifications or substitutions made to the methods, steps or conditions of the present invention all fall within the scope of the present invention.

[0022] Some solutions include the steps of synchronizing the current application with the unsynchronized target cloud service environment executed by the system server after receiving the synchronization instruction from the front end, which specifically includes: Figure 1 The following steps:

[0023] Request the backend interface to query the connection status of each cloud service environment configured in the cloud management module and query the synchronization record between the current application and each cloud service environment based on the application synchronization record table;

[0024] Request an application synchronization interface of the target cloud service environment to import the application data of the current application into the selected cloud service environment database.

[0025] During the above steps, the operations required by the front-end user include: sending an instruction to establish synchronous migration, receiving a connection status list of each cloud service environment fed back by the front-end interface; the user selects one or more target cloud service environments for synchronous migration of the current application based on the cloud service environment in the queried connection status.

[0026] The synchronization records include: cloud service environment name, cloud service environment domain name, application UID, synchronization status, and synchronization time.

[0027] Some more specific solutions involve the application record synchronization table structure as shown in Table 1:

[0028] Table 1. An application record synchronization table

[0029]

[0030] Based on the above scheme, the querying of the synchronization record with each cloud service environment based on the application synchronization record table in some schemes specifically includes: determining whether there is a synchronization record, if not, executing step a, if yes, executing step b:

[0031] a. Request the current cloud service environment to query whether the current application exists. If the current application does not exist, insert the application data into the application synchronization record table, record the synchronization status as unsynchronized, and the synchronization time as empty; if the current application already exists, insert the application data into the application synchronization record table, record the synchronization status as synchronized, and the synchronization time as empty;

[0032] b. Return the cloud service environment domain name in the synchronization record.

[0033] Based on the above solutions, the step of sequentially requesting the application synchronization interface of the selected cloud service environment to import the application data of the current application into the selected cloud service environment database in some solutions specifically includes:

[0034] c. Request to obtain the basic information data related to the application table and import it into the current cloud service environment database; d. Request to obtain the data related to the in-application menu and import it into the current cloud service environment database; e. Request to obtain the worksheet related data and import it into the current cloud service environment database.

[0035] If the application data is imported, the synchronization record of the current application in the application synchronization record table is modified; if the application data import fails or an exception occurs, the imported application data table structure is deleted and rolled back.

[0036] Based on the above solutions, some solutions also include the step of deleting the current application in the cloud service environment where the current application has established synchronous migration, specifically, deleting the synchronization record of the current application in the application synchronization record table.

[0037] Based on the above solutions, some solutions further include:

[0038] Step 1: Cloud service environment deployment step: configure cloud service environment parameters, preferably including configuration of the cloud name, cloud domain name and cloud parameters of the cloud service environment;

[0039] Step 2: Application building step: after receiving the instruction to create an application, a basic application is generated, including specifying the application name, application theme color, application icon, and business function configuration;

[0040] Step 3: Apply function configuration steps.

[0041] Step 3 of some solutions based on the above solution specifically includes any one of the following steps:

[0042] Step 31: Integrate the built-in components and / or built-in modules of the basic application;

[0043] Step 32 configures the business flow nodes of the business process of the basic application and publishes it as the current application.

[0044] Some solutions propose an application building platform in a multi-cloud environment, including: a cloud management module and an application management module, wherein the application management module includes an application building submodule, an application configuration submodule, a menu management submodule, a version configuration submodule, and an application synchronization submodule;

[0045] The application configuration submodule includes a page configuration editor;

[0046] The application building submodule includes application name, application theme color, application icon, and business function configuration;

[0047] The application configuration submodule includes a creation group submodule, a creation work submodule, a creation report submodule, a workflow configuration submodule, a system page configuration submodule, and an application description configuration submodule; the group submodule is used to organize functions such as worksheets and reports with menu items to form a group, the worksheet submodule is used to create and manage data tables; the report submodule generates data reports according to business needs;

[0048] The menu management submodule includes adding, editing, and deleting application menus, and can control parameters such as menu ID, name, type, path link, page parameters, and publishing status; the version configuration submodule includes creating application versions and version lists;

[0049] The process configuration submodule is used to define, execute and automatically configure business processes.

[0050] The application building platform in a multi-cloud environment of some specific solutions includes a cloud management module and an application management module. The cloud management module includes functions such as cloud name, cloud domain name and cloud parameters, which are used to configure the cloud service environment; the application management module includes functions such as application building, application configuration, menu management, version configuration, and application synchronization, which are used to build, configure functions and synchronize data of applications that can be ported to a multi-cloud environment.

[0051] The application building function includes application name, application theme color, application icon, and business function configuration.

[0052] The application configuration function includes creating groups, creating worksheets, creating reports, workflow configuration, system page configuration, and application description configuration.

[0053] The menu management function includes adding, editing, and deleting application menus, and can control parameters such as menu ID, name, type, path link, page parameters, and publishing status.

[0054] The version configuration function includes creating application versions and version lists. The application version includes version name, version description and application permission configuration, which are used to control the application permissions of different application versions. The version list is used to display various version information configured for the current application.

[0055] The application synchronization function is used to synchronize the current application to a cloud service environment that does not have the application. Clicking the application synchronization function will query the connectivity status of the cloud service environment configured in the cloud management module, and display the cloud service environments that are online and do not contain the current application. Select one or more cloud service environments and click Synchronize to synchronize the current application to other specified cloud service environments.

[0056] The grouping submodule in the above solution is used to organize worksheets, reports and other functions with menu items to form a group. Users can more intuitively understand the purpose of each function in the group and find the required functions more conveniently, thereby improving the user experience. The worksheet submodule is the core part of data management, which allows users to create and manage data tables. After the page receives the form design request, it will open the form editor. Users can drag the built-in basic controls (text, value, amount, region, date, attachment, single choice, multiple choice, formula, summary, automatic numbering, cascade, rich text, personnel, project, geographic elements, etc.) to the specified location on the page, and configure the corresponding parameters (name, default value, available conditions, component width, field description, etc.) for the controls to create their own data model. After the worksheet is created, the default view will be generated synchronously. Users can configure the view data to visualize it according to different business needs, filter and sort the data, configure view permissions for permission management, and perform regular data operations. The report submodule can help users aggregate and analyze data from multiple dimensions according to business needs, and then generate a data report with clear logic and good visual performance. After the page receives a report design request, it will open the report editor. Users can drag the built-in basic controls (bar charts, line charts, pie charts, numerical charts) to the specified location on the page and configure the corresponding parameters (chart name, data source, dimension, indicator, data filter, graphic style, etc.) for the controls to create visual reports that meet personalized needs. The process configuration submodule is an important tool to help users define, execute and automate various business processes. After the page receives a process design request, it will ask the user to select the process trigger type (worksheet event trigger, timer trigger, system event trigger, etc.). The worksheet event trigger requires the selection of the triggered worksheet and the triggering method (add records, update records, delete records). The timer trigger requires the configuration of the start execution time, end execution time and loop configuration. The system event trigger requires the specification of the triggered system event. After configuring the trigger type, a pop-up window will appear on the page to display the action node component library (including adding new records, updating records, obtaining data, approval, SMS, site notifications, obtaining links, etc.). Users can select a series of action components from the component library and configure the corresponding execution logic for each component. A process execution sequence chain is created on the page. After the process is published, the business process can be automatically executed.

[0057] Some specific solutions include the following steps:

[0058] Step 1: After the current project system is deployed in other cloud service environments, you need to go to the cloud management module to configure the cloud service environment parameters, including the cloud name, cloud domain name, and cloud parameters of the corresponding environment.

[0059] Step 2: Go to the application module to build the application. After receiving the instruction to create an application, specify the application name, application theme color, application icon, and business function configuration in the visual interface to generate a basic application.

[0060] Step 3: Go to the application configuration submodule to configure the application functions. When the application configuration instructions are received, a blank canvas will be created in the page configuration editor. You can add submodules such as groups, worksheets, and reports by selecting the pop-up window. By dragging or clicking on the components, the corresponding built-in components and the corresponding modules are placed on the blank canvas to generate a page. You can also go to the process configuration submodule to configure the business flow nodes of the business process. When the page receives the process configuration instructions, it displays the workflow types that currently support configuration. After selecting the specified type, the process is designed by configuring the trigger nodes and action nodes. After the process is released, the data can automatically perform the corresponding operations according to these rules when the process is triggered.

[0061] Based on the above solutions, some solutions also require the application to be ported to other cloud service environments. In this case, after completing steps 1-3 above, step 4 needs to be performed:

[0062] Step 4: Go to the application synchronization submodule to synchronize applications between cloud service environments.

[0063] Step 4 of the scheme specifically performs the following steps:

[0064] After receiving the application synchronization instruction, the page will request the background interface to query the connectivity status of the cloud service environment configured in the cloud management module, and display the cloud service environment that is online and does not contain the current application.

[0065] In order to reduce the time consumption of the interface requesting other cloud service environments to obtain applications and speed up the data return efficiency, a preprocessing technology is used when traversing the connected cloud service environments to obtain application data. By adding an application synchronization record table in the database, the application synchronization status of other cloud service environments is recorded. When requesting a cloud service environment to obtain application data, the following judgment is performed:

[0066] Determine whether there is an application synchronization record. If not, execute step a; if so, execute step b.

[0067] a. Request the cloud service environment to query whether the current application exists.

[0068] If the application does not exist, insert the data (cloud service name, cloud service domain name, application UID, synchronization status, synchronization time) into the application synchronization record table, record the synchronization status as unsynchronized, and the synchronization time as empty;

[0069] If the application already exists, insert the data (cloud service name, cloud service domain name, application UID, synchronization status, synchronization time) into the application synchronization record table, record the synchronization status as synchronized, and leave the synchronization time empty.

[0070] b. Directly return the recorded cloud service environment domain name.

[0071] When the application is synchronized successfully, the application synchronization record table will be updated, the synchronization status will be set to synchronized, and the synchronization time will be set to the current time.

[0072] If other cloud service environments delete applications, they will determine whether the application was created in a synchronous manner. After deleting the application, you need to delete the current application synchronization record in the application synchronization record table.

[0073] After preprocessing in the above way, it will only take time when the application first determines whether it exists in other cloud service environments. After recording the synchronization status, subsequent judgments will obtain the synchronization status through the synchronization record table, which can significantly improve the efficiency of interface queries.

[0074] After obtaining the list of cloud services that are not synchronized with the current application, you can synchronize the application to multiple cloud service environments by selecting them in batches.

[0075] During synchronization, the selected cloud service environment application synchronization interface will be requested in turn, and the following operations will be performed:

[0076] c. Request to obtain basic information data related to the application table (including application name, application theme color, application icon, and business function configuration), and insert it into the current cloud service environment database.

[0077] d. Request to obtain the relevant data of the in-application menu (including menu ID, name, type, path link, page parameters, and publishing status, etc.), and insert it into the current cloud service environment database.

[0078] e. Request to obtain the relevant data of the worksheet in the application (including worksheets, fields, data tables, view data, reports, workflow triggers, workflow action nodes), and insert it into the current cloud service environment database.

[0079] When all the above data are synchronized successfully, the synchronization status and synchronization time of the data in the application synchronization record table will be modified. If the synchronization fails or an exception occurs, the synchronized application data table structure will be deleted and rolled back to ensure the consistency of the application data synchronization status.

[0080] Some schemes involve Figure 2 A system comprising at least one processor; and a memory storing instructions, which, when executed by at least one processor, implement the steps in any of the above schemes.

[0081] Embodiments of the subject matter described in this specification may be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded on one or more tangible, non-transitory program carriers, for execution by, or to control the operation of, data processing equipment. Alternatively or in addition, the program instructions may be encoded on an artificially generated propagated signal, such as a machine-generated electrical, optical, or electromagnetic signal, which is generated to encode information for transmission to a suitable receiver device for execution by the data processing equipment. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of the above. The term "data processing equipment" encompasses all kinds of equipment, devices, and machines for processing data, including, by way of example, a programmable processor, a computer, or multiple processors or multiple computers.

[0082] A computer program (which may also be referred to or described as a program, software, software application, module, software module, script or code) may be written in any form of programming language, including compiled or interpreted languages ​​or declarative or procedural languages, and the computer program may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment. A computer program may, but need not, correspond to a file in a file system. A program may be stored in a portion of a file that stores other programs or data, for example, one or more scripts stored in the following: in a markup language document; in a single file dedicated to a related program; or in multiple collaborative files, for example, files storing one or more modules, subroutines or code portions. A computer program may be deployed to execute on one or more computers, the computers being located in one place or distributed to multiple locations and interconnected by a communication network.

[0083] The processes and logic flows described in this specification may be performed by one or more programmable computers that execute one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows may also be performed by special purpose logic circuits, such as FPGAs (field programmable gate arrays) or ASICs (application specific integrated circuits), and the apparatus may also be implemented as special purpose logic circuits.

[0084] To transmit interactions with a user, embodiments of the subject matter described in this specification may be implemented on a computer having: a display device, such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user; and a keyboard and a pointing device, such as a mouse or a trackball, with which the user can transmit input to the computer. Other kinds of devices may also be used to transmit interactions with a user; for example, feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including acoustic input, voice input, or tactile input. In addition, a computer may interact with a user by sending documents to a device used by the user and receiving documents from the device; for example, by sending a web page to a web browser on a user's client device in response to a request received from the web browser.

[0085] The embodiments of the subject matter described in this specification may be implemented in a computing system including a back-end component such as a data server, or including an intermediate component such as an application server, or including a front-end component such as a client computer, the client computer having a graphical user interface or a web browser, through which a user can interact with the implementation of the subject matter described in this specification, or the computer system including any combination of one or more such back-end components, intermediate components, or front-end components. The components in the system may be interconnected by digital data communications of any form or medium such as a communication network. Examples of communication networks include local area networks ("LANs") and wide area networks ("WANs").

[0086] Although this specification contains many specific implementation details, these should not be interpreted as limitations on the scope of any invention or the scope of what can be claimed, but rather as an illustration of features that can concretize a particular embodiment of a particular invention. The specific features described in this specification in the context of independent embodiments can also be implemented in combination with a single embodiment. Conversely, the various features described in the context of a single embodiment can also be implemented independently in multiple embodiments, or in any suitable sub-combination. In addition, although the features can be described above as a combination effect and even initially required, one or more features from the required combination can be removed from the combination in some cases, and the required combination can be turned to a sub-combination or a variation of the sub-combination.

Claims

1. A method for building an application in a multi-cloud environment. It is characterized in that The step of synchronizing the current application with the target cloud service environment includes: Request the backend interface to query the connection status of each cloud service environment configured in the cloud management module and query the synchronization record between the current application and each cloud service environment based on the application synchronization record table; Requesting an application synchronization interface of a target cloud service environment to import application data of the current application into a selected cloud service environment database; The synchronization record includes: cloud service environment name, cloud service environment domain name, application UID, synchronization status, and synchronization time.

2. The method for building an application in a multi-cloud environment as claimed in claim 1, It is characterized in that The querying of the synchronization record with each cloud service environment based on the application synchronization record table specifically includes: determining whether there is a synchronization record, if not, executing step a, if yes, executing step b: a. Request the current cloud service environment to query whether there is a current application in it. If the current application does not exist, insert the application data into the application synchronization record table, record the synchronization status as unsynchronized, and the synchronization time as empty; if the current application already exists, insert the application data into the application synchronization record table, record the synchronization status as synchronized, and the synchronization time as empty; b. Return the cloud service environment domain name in the synchronization record.

3. The application construction method in a multi-cloud environment as claimed in claim 1, It is characterized in that The steps of sequentially requesting the application synchronization interface of the selected cloud service environment to import the application data of the current application into the selected cloud service environment database specifically include: c. requesting to obtain basic information data related to the application table and importing it into the current cloud service environment database; d. requesting to obtain data related to the in-application menu and importing it into the current cloud service environment database; e. requesting to obtain worksheet related data and importing it into the current cloud service environment database.

4. The method for building an application in a multi-cloud environment as claimed in claim 1, It is characterized in that If the application data is imported, the synchronization record of the current application in the application synchronization record table is modified; if the application data import fails or an exception occurs, the imported application data table structure is deleted and rolled back.

5. The method for building an application in a multi-cloud environment as claimed in claim 1, It is characterized in that Also includes: The step of deleting the current application in the cloud service environment where the current application has established synchronous migration specifically includes deleting the synchronization record of the current application in the application synchronization record table.

6. The method for building an application in a multi-cloud environment as claimed in claim 1, It is characterized in that Before the step of synchronizing the current application with the unsynchronized cloud service environment, the method further includes: Step 1: Cloud service environment deployment step: configure cloud service environment parameters, preferably including configuration of the cloud name, cloud domain name and cloud parameters of the cloud service environment; Step 2: Application building step: after receiving the instruction to create an application, a basic application is generated, including specifying the application name, application theme color, application icon, and business function configuration; Step 3: Apply function configuration steps. The step 3 specifically includes any one of the following steps: Step 31: Integrate the built-in components and / or built-in modules of the basic application; Step 32 configures the business flow nodes of the business process of the basic application and publishes it as the current application.

7. An application building platform for executing the method according to any one of claims 1 to 6, It is characterized in that The platform includes: a cloud management module and an application management module, wherein the application management module includes an application building submodule, an application configuration submodule, a menu management submodule, a version configuration submodule, and an application synchronization submodule; The application configuration submodule includes a page configuration editor; The application building submodule includes application name, application theme color, application icon, and business function configuration; The application configuration submodule includes a creation group submodule, a creation work submodule, a creation report submodule, a workflow configuration submodule, a system page configuration submodule, and an application description configuration submodule; the group submodule is used to organize functions such as worksheets and reports with menu items to form a group, the worksheet submodule is used to create and manage data tables; the report submodule generates data reports according to business needs; The menu management submodule includes adding, editing, and deleting application menus, and can control parameters such as menu ID, name, type, path link, page parameters, and publishing status; the version configuration submodule includes creating application versions and version lists; The process configuration submodule is used to define, execute and automatically configure business processes.

8. The application building platform in a multi-cloud environment as claimed in claim 7, It is characterized in that The following steps are performed: the step of synchronizing the current application with the unsynchronized cloud service environment of the method is performed through the application synchronization submodule.

9. The application building platform in a multi-cloud environment as claimed in claim 8, It is characterized in that Also perform the following steps: Step 1: Execute the cloud service environment deployment steps through the cloud management module; Step 2: Execute the application building steps through the application management module; Step 3: Execute the application function configuration step through the application configuration submodule; The step 3 specifically includes any one of the following steps: Step 31: After receiving the application configuration instruction, create a blank canvas in the page configuration editor of the application configuration submodule; after receiving the front-end instruction by selecting the pop-up window, add submodules such as grouping, worksheet, report, etc. in the blank canvas, and place the corresponding built-in components and corresponding modules on the blank canvas by receiving the front-end drag or click component instruction to generate a page; After receiving the process configuration instruction, step 32 displays the workflow types currently supported for configuration through the process configuration submodule; After receiving the specified type, the process design is performed by configuring the trigger node and action node; after the process is published, the data is automatically executed according to these rules when the process is triggered.

10. An application building system in a multi-cloud environment, It is characterized in that The system comprises at least one processor; and a memory storing instructions, which, when executed by the at least one processor, implement the steps of the method according to any one of claims 1 to 6.