Project deployment method and device, medium and equipment

By storing the personalized configuration information and basic configuration information of the target user in the SAAS project and adding cookie information to the target gateway, the problems of low deployment efficiency and code redundancy of SAAS project are solved, and fast and flexible deployment and configuration management are achieved.

CN119621076APending Publication Date: 2025-03-14BEIJING CENTURY TAL EDUCATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411676707.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

Existing SAAS projects are inefficient in deployment and have problems with code redundancy.

Method used

By storing the personalized configuration information and basic configuration information of the target user to the target database and adding corresponding cookie information to the target gateway, rapid acquisition and deployment can be achieved.

Benefits of technology

It improves the deployment efficiency of SAAS projects, reduces code redundancy, supports the rapid deployment of personalized needs, and does not require overall transformation of SAAS projects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119621076A_ABST
    Figure CN119621076A_ABST
Patent Text Reader

Abstract

The invention discloses a project deployment method and device, a medium and equipment. The method comprises the following steps: storing personalized configuration information of a target service item ordered by a target user into a target database; in response to a selection operation for each piece of basic configuration information of the target service item, determining a plurality of pieces of target basic configuration information from a target database; receiving a deployment request forwarded based on a target gateway corresponding to a target service item and added with target Cookie information, and calling the personalized configuration information and target basic configuration information from a target database based on the target Cookie information in the deployment request, and sending the personalized configuration information and the target basic configuration information to the target front end, so that the target front end deploys the target service item based on the personalized configuration information and the target basic configuration information. The service item deployment efficiency can be improved, and code redundancy can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a project deployment method, device, medium and equipment. Background Art

[0002] As enterprises continue to expand in size and their business complexity increases, they face many challenges and opportunities. In this process, the expansion of personalized functions and system integration have become the key to helping enterprises quickly build, deploy and maintain multiple applications. This can not only improve operational efficiency, but also enhance the flexibility of enterprises to respond to market changes.

[0003] Software as a Service (SAAS) allows users to use cloud-based applications through an Internet connection. Users do not need to install software products on their own terminal devices, but directly obtain the services they need with corresponding software functions from the corresponding providers through the Internet according to the predetermined Service-Level Agreement (SLA).

[0004] Existing SAAS project deployment usually involves processes such as building, publishing, and online operation. In addition, when meeting the personalized needs of different subscribers, the SAAS project needs to be modified accordingly according to different needs, and then the SAAS project is redeployed. Therefore, there are problems such as low SAAS project deployment efficiency and code redundancy. Summary of the invention

[0005] In view of this, the present invention provides a project deployment method, device, medium and equipment, the main purpose of which is to solve the current problems of low efficiency and code redundancy in SAAS project deployment.

[0006] To solve the above problems, this application provides a project deployment method, including:

[0007] Storing personalized configuration information of target service items ordered by target users in a target database;

[0008] In response to a selection operation for each basic configuration information of a target service item, determining a plurality of target basic configuration information from each basic configuration information in the target database;

[0009] Receiving a deployment request forwarded by a target gateway corresponding to the target service project and having target Cookie information added thereto, wherein the target Cookie information corresponds to the personalized configuration information and the target basic configuration information;

[0010] Based on the target cookie information in the deployment request, the personalized configuration information and the target basic configuration information are called from the target database, and the personalized configuration information and the target basic configuration information are sent to the target front end, so that the target front end deploys the target service item based on the personalized configuration information and the target basic configuration information.

[0011] Optionally, before storing the personalized configuration information in a predetermined target database, the method further includes:

[0012] The personalized configuration information is created in response to a personalized configuration operation for a target service item subscribed by a target user.

[0013] Optionally, the personalized configuration information includes any one or more of the following: background image, color, user logo, title, summary, service logo and request link;

[0014] The basic configuration information includes any one or more of the following: business line information, project name information, operating environment information, and version number information.

[0015] Optionally, before receiving the deployment request forwarded by the target gateway corresponding to the target service item and having target Cookie information added thereto, the method further includes:

[0016] A target reverse proxy server corresponding to the target user is created in the target gateway, and the target Cookie information for calling the personalized configuration information and the target basic configuration information is configured in the target reverse proxy server.

[0017] Optionally, configuring the target Cookie information for calling the personalized configuration information and the target basic configuration information in the target reverse proxy server specifically includes:

[0018] The target Cookie information is configured in the target reverse proxy server based on the target first identifier of the personalized configuration information and the target second identifier of the target basic configuration information.

[0019] Optionally, the method further includes:

[0020] The user ID and user domain name of the target user are added to the target reverse proxy server, so that when the target gateway receives an access request initiated by the target user, the target reverse proxy server is matched based on the user ID and the user domain name, and the access request is forwarded to the target front end where the target service project is deployed based on the target reverse proxy server.

[0021] Optionally, the deploying the target service item based on the personalized configuration information and the target basic configuration information specifically includes:

[0022] The target interface of the target front end is rendered based on the personalized configuration information and the target basic configuration information to deploy the target service item.

[0023] To solve the above problems, the present application provides a project deployment device, comprising:

[0024] A storage module, used to store personalized configuration information of a target service item ordered by a target user into a target database, wherein the target database also stores basic configuration information of the target service item;

[0025] A determination module, configured to determine a number of target basic configuration information from the basic configuration information in the target database in response to a selection operation on each basic configuration information of a target service item;

[0026] A receiving module, configured to receive a deployment request forwarded by a target gateway corresponding to the target service item and having target Cookie information added thereto, wherein the target Cookie information corresponds to the personalized configuration information and the target basic configuration information;

[0027] A deployment module is used to call the personalized configuration information and the target basic configuration information from the target database based on the target Cookie information in the deployment request, and send the personalized configuration information and the target basic configuration information to the target front end, so that the target front end deploys the target service project based on the personalized configuration information and the target basic configuration information.

[0028] To solve the above problems, the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above project deployment methods are implemented.

[0029] To solve the above problems, the present application provides an electronic device, comprising at least a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above project deployment methods when executing the computer program on the memory.

[0030] The project deployment method, device, medium and equipment in the present application, by storing the personalized configuration information of the target service project (i.e., the target SAAS project) in the target database, selecting the target basic configuration information from the target database, and adding the corresponding Cookie information in the target gateway corresponding to the target service project, the subsequent gateway can add the target Cookie information to the deployment request when receiving the deployment request of the target front end, and forward the request to the back-end server, so that the back-end server can quickly and accurately obtain the personalized configuration information and basic configuration information from the database based on the request and return it to the target front end, so that the target front end can quickly deploy the target service project based on the personalized configuration information and basic configuration information, thereby improving the deployment efficiency. In addition, since the target database stores various basic configuration information common to the deployment target service project, when it is in accordance with the personalized needs of different subscribers, it is only necessary to store the personalized configuration information in the target database and select the corresponding target basic configuration information, without the need to carry out overall transformation and processing of the SAAS project according to different user needs, and without the need to release it online, which reduces code redundancy and improves deployment efficiency.

[0031] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0033] Figure 1 This is a flowchart of a project deployment method according to an embodiment of the present application;

[0034] Figure 2 A structural block diagram of a project deployment device for another implementation of the present application;

[0035] Figure 3 This is a structural block diagram of an electronic device according to another embodiment of the present application. DETAILED DESCRIPTION

[0036] Various aspects and features of the present application are described herein with reference to the accompanying drawings.

[0037] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0038] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0039] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0040] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.

[0041] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.

[0042] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.

[0043] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.

[0044] The present application embodiment provides a project deployment method, which can be specifically applied to the back-end server of the SAAS platform, such as Figure 1 As shown, the method in this embodiment includes the following steps:

[0045] Step S101, storing the personalized configuration information of the target service item ordered by the target user into the target database;

[0046] In the specific implementation process of this step, the target service project is specifically the target SAAS project. The personalized configuration information may include any one or more of the following: background image, color, user logo, title, summary schema, business logo, request link, etc.

[0047] Step S102, in response to the selection operation for each basic configuration information of the target service item, to determine a number of target basic configuration information from each basic configuration information in the target database;

[0048] In this step, the target database pre-stores various common basic configuration information for project deployment, so the target configuration information can be determined from a large number of basic configuration information according to the actual needs of the user, so as to flexibly deploy the project.

[0049] Step S103, receiving a deployment request forwarded by a target gateway corresponding to the target service item and having target Cookie information added thereto, wherein the target Cookie information corresponds to the personalized configuration information and the target basic configuration information;

[0050] In the specific implementation process of this step, a target reverse proxy server corresponding to the target user can be first created in the target gateway, and the target Cookie information for calling the personalized configuration information and the basic configuration information can be configured in the target reverse proxy server. Thus, when the front end of the SAAS platform sends a deployment request, the withCredentials property of the network request library axios can be set to true so that the target Cookie is carried by default when sending a request. That is, when the gateway receives the deployment request, the target Cookie information in the target nginx can be added to the deployment request, so that the back end of the SAAS platform can receive the deployment request carrying the target Cookie information, which provides a guarantee for the subsequent rapid and accurate acquisition of the corresponding personalized configuration information and basic configuration information from the database based on the target Cookie information in the deployment request.

[0051] Step S104, based on the target Cookie information in the deployment request, calling the personalized configuration information and the target basic configuration information from the target database, and sending the personalized configuration information and the target basic configuration information to the target front end, so that the target front end deploys the target service project based on the personalized configuration information and the target basic configuration information.

[0052] During the specific implementation of this step, after receiving the deployment request, the SAAS platform backend server can obtain the corresponding personalized configuration information and target basic configuration information from the target database through a predetermined interface based on the target Cookie information in the deployment request, and send the personalized configuration information and the target basic configuration information to the SAAS platform front end. Thus, the SAAS platform front end can perform personalized deployment of the target service project based on the personalized configuration information and the target basic configuration information.

[0053] The project deployment method in this embodiment stores the personalized configuration information of the target service project (i.e., the target SAAS project) in the target database, selects the target basic configuration information from the target database, and adds the corresponding Cookie information in the target gateway corresponding to the target service project. When the subsequent gateway receives the deployment request of the target front end, it can add the target Cookie information to the deployment request and forward the request to the back-end server, so that the back-end server can quickly and accurately obtain the personalized configuration information and basic configuration information from the database based on the request and return it to the target front end, so that the target front end can quickly deploy the target service project based on the personalized configuration information and basic configuration information, thereby improving the deployment efficiency. In addition, since the target database stores various basic configuration information common to the deployment target service project, when meeting the personalized needs of different subscribers, it is only necessary to store the personalized configuration information in the target database and select the corresponding target basic configuration information. There is no need to perform overall transformation processing on the SAAS project according to different user needs, and there is no need to publish it online, which reduces code redundancy and improves deployment efficiency.

[0054] Another embodiment of the present application provides a project deployment method, which specifically includes the following steps:

[0055] Step S201, in response to a personalized configuration operation for a target service item ordered by a target user, creating personalized configuration information;

[0056] In this step, the personalized configuration information includes any one or more of the following: background image, color, user logo, title, summary, service logo, request link, etc.

[0057] Step S202, storing the personalized configuration information in a target database;

[0058] Step S203, in response to the selection operation for each basic configuration information of the target service item, to determine a number of target basic configuration information from each basic configuration information in the target database;

[0059] In this step, the target basic configuration information includes any one or more of the following: business line information (businessline), project name information (businessname), operating environment information (businessenv), and version number (businessversion).

[0060] Step S202, creating a target reverse proxy server corresponding to the target user in the target gateway corresponding to the target service item, and configuring target Cookie information for calling the personalized configuration information and the basic configuration information in the target reverse proxy server;

[0061] During the specific implementation of this step, the corresponding relationship between each service project (SAAS project) and each gateway can be established in advance. Therefore, after the target service project (target SAAS project) to be deployed is determined, the corresponding target gateway can be determined according to the target service project (target SAAS project), and then a target reverse proxy server nginx corresponding to the target user is added / created in the target gateway, and fixed target Cookie information is set in the target nginx to ensure that the personalized configuration information of the target service project (target SAAS project) and the basic configuration information can be obtained / called from the database through a predetermined interface.

[0062] That is, when executing step S202, it specifically includes:

[0063] Step S202-1, creating a target reverse proxy server corresponding to the target user in the target gateway corresponding to the target service item;

[0064] Step S202-2, configuring the target Cookie information in the target reverse proxy server based on the target first identifier of the personalized configuration information and the target second identifier of the target basic configuration information;

[0065] In this step, since the database stores personalized configuration information of several subscribing users, a corresponding first identifier can be configured for each personalized configuration information, and a corresponding relationship between the first identifier, the user identifier, and the project identifier of the service project (SAAS project) can be established, so that the personalized configuration information corresponding to the subscribing user can be accurately obtained from the target database based on the deployment request. Similarly, since the database stores several basic configuration information, the target configuration information selected by each user is different, so a corresponding second identifier can be configured for each basic configuration information in advance, and a corresponding relationship between the second identifier and the basic configuration information can be established, so that each basic configuration information can be accurately distinguished.

[0066] In this step, after configuring the first identifier for each personalized configuration information and the second identifier for each basic configuration information, the target cookie can be set in the target nginx corresponding to the target user based on the target first identifier of the personalized configuration information of the target service item subscribed by the target user and the target second identifier of the target basic configuration information of the target service item.

[0067] In the specific implementation process of this step, after setting the target Cookie in the target nginx, the user ID and user domain name of the target user can also be added in the target reverse proxy server nginx, so that when the target gateway receives the access request initiated by the target user, the target reverse proxy server is matched based on the user ID and the user domain name, and the access request is forwarded to the target front end where the target service project is deployed based on the target reverse proxy server. In other words, since the new SAAS project / target SAAS project is accessed through a dedicated domain name, in order to ensure that the personalized configuration takes effect, the user ID and user domain name of the target user need to be added to the target nginx of the target gateway.

[0068] Step S205, receiving a deployment request forwarded by the target gateway and having the target Cookie information added thereto;

[0069] Step S206, based on the target Cookie information in the deployment request, the personalized configuration information and the basic configuration information are called from the target database, and the personalized configuration information and the basic configuration information are sent to the target front end, so that the target front end renders the target interface of the target front end based on the personalized configuration information and the basic configuration information to deploy the target service project (target SAAS project).

[0070] Based on the target cookie information in the deployment request, the personalized configuration information and the target basic configuration information are called from the target database, and the personalized configuration information and the target basic configuration information are sent to the target front end, so that the target front end renders the target interface of the target front end based on the personalized configuration information and the target basic configuration information to deploy the target service project.

[0071] Based on the above embodiments, the project deployment method in this application is explained and illustrated in combination with specific application scenarios. The project deployment method in this implementation specifically includes the following steps:

[0072] Step 1: Configure SaaS settings

[0073] 1. According to the target SAAS project subscribed by the target user, personalized configuration information is created for the target user on the front end of the SaaS platform, and the personalized configuration information is stored in the target database. At the same time, in response to the selection operation of each basic configuration information of the target service project, several target basic configuration information can be determined from the basic configuration information in the target database.

[0074] In this step, the target database pre-stores some basic configuration information for project deployment, so the target basic configuration information can be determined from a large number of basic configuration information according to the actual needs of the user. In this embodiment, the basic configuration information includes any one or more of the following: business line (businessline), project name (businessname), operating environment (businessenv), version number (businessversion). Personalized configuration information includes any one or more of the following: background image, color, logo, title (title), schema, business logo, request link, etc.

[0075] Step 2: Configure gateway settings.

[0076] 1. Set the gateway and domain name

[0077] The target SAAS project will be accessed through the target user's exclusive domain name.

[0078] For example, organization A (user A) has subscribed to the target service project, so the target service project has been deployed for organization A, and the target service project corresponds to a target gateway, and the gateway is configured with nginx corresponding to organization A. When organization B (user B) also subscribes to the target service project, in order to ensure that the personalized configuration takes effect, it is necessary to create a target nginx corresponding to organization B in the target gateway corresponding to the target SAAS project, and make relevant settings in the target nginx.

[0079] 2. Fixed Cookie Configuration

[0080] Set fixed cookies in the target nginx corresponding to organization B to ensure that personalized business parameters can be delivered.

[0081] Specifically, Cookie may be set based on the target first identifier of the personalized configuration information and the target second identifier of the target basic information.

[0082] For example, Cookie is set to: add_header Set-Cookie "businessline=xuexiaoxi; businessname=studycenter; businessenv=prod; businessversion=1.0; Path= / ". In this step, parameters / identifiers such as businessline and businessname are consistent with the identifiers of the target basic configuration information on the SAAS platform, ensuring that the SAAS platform front end can accurately obtain customized settings from the database.

[0083] Step 3: Get personalized settings.

[0084] 1. Set up cross-domain requests

[0085] In SAAS front-end projects, when sending deployment requests, make sure to set the withCredentials property of axios to true so that cookies are carried by default when sending requests. This allows the front-end to obtain information such as the corresponding business line, project name, and version number from the database through requests.

[0086] 2. Get customized data

[0087] Send a deployment request that carries Cookie by default. Through the Cookie information in the deployment request, pass the business line, project name and other identifiers to the SAAS platform backend. The backend returns the corresponding personalized configuration information and basic configuration information to the SAAS platform frontend based on these identifiers.

[0088] Step 4: Complete SAAS display

[0089] 1. Render the front-end page

[0090] The SAAS platform front end dynamically renders the interface based on the personalized configuration information and the target basic configuration information, thereby completing the deployment of the target SAAS project ordered by organization B. Among them, the personalized configuration items include: background image, color, logo, title, schema, business logo, request link, etc.

[0091] The project deployment method in this embodiment can realize the automated process of personalized configuration. That is, the key parameters such as business line, project name, operating environment, version number, etc. are flexibly configured through the SaaS configuration platform at the front end, and this information is passed to the back end through the interface for storage, and the configuration information is directly called later for project deployment. The method in this application can support personalized management of multiple projects without development intervention.

[0092] Moreover, the method in this embodiment supports a general framework for multiple business lines and multiple environments, that is, it provides a general framework that supports multiple business lines, multiple operating environments (such as production, testing, development) and different versions, which can be applied to rapid deployment and configuration management in different scenarios.

[0093] In addition, the method in this embodiment automatically transfers all the configuration information set by the front-end to the back-end database for storage through the interface, and ensures that it can be flexibly called later, supporting the rapid setting and application of each project. In this embodiment, since the front-end is dynamically rendered based on the data returned by the interface, when there are configuration-related modifications to the project, there is no need to publish it online, and the modification can be made directly and take effect immediately, which improves deployment efficiency and reduces code redundancy.

[0094] Another embodiment of the present application provides a project deployment device, such as Figure 2 As shown, including:

[0095] The storage module 11 is used to store the personalized configuration information of the target service item ordered by the target user into the target database, and the target database also stores the basic configuration information of the target service item;

[0096] A determination module 12, configured to determine a number of target basic configuration information from the basic configuration information in the target database in response to a selection operation for each basic configuration information of a target service item;

[0097] A receiving module 13 is used to receive a deployment request forwarded by a target gateway corresponding to the target service item and added with target Cookie information, wherein the target Cookie information corresponds to the personalized configuration information and the target basic configuration information;

[0098] The deployment module 14 is used to call the personalized configuration information and the target basic configuration information from the target database based on the target Cookie information in the deployment request, and send the personalized configuration information and the target basic configuration information to the target front end, so that the target front end deploys the target service project based on the personalized configuration information and the target basic configuration information.

[0099] In the specific implementation process of this embodiment, the project deployment device further includes a configuration module, and the configuration module is used to create the personalized configuration information in response to a personalized configuration operation for the target service item subscribed by the target user.

[0100] In the specific implementation process of this embodiment, the personalized configuration information includes any one or more of the following: background image, color, user logo, title, summary, service logo and request link;

[0101] The basic configuration information includes any one or more of the following: business line information, project name information, operating environment information, and version number information.

[0102] In the specific implementation process of this embodiment, the project deployment device also includes a gateway setting module, which is used to: create a target reverse proxy server corresponding to the target user in the target gateway, and configure the target cookie information for calling the personalized configuration information and the basic configuration information in the target reverse proxy server.

[0103] In the specific implementation process of this embodiment, the gateway setting module is specifically used to: configure the target Cookie information in the target reverse proxy server based on the target first identifier of the personalized configuration information and the target second identifier of the target basic configuration information.

[0104] In the specific implementation process of this embodiment, the project deployment device also includes a request setting module, which is used to: add the user identifier and user domain name of the target user in the target reverse proxy server, so that when the target gateway receives an access request initiated by the target user, the target reverse proxy server is matched based on the user identifier and the user domain name, and the access request is forwarded to the target front end where the target service project is deployed based on the target reverse proxy server.

[0105] In the specific implementation process of this embodiment, the deployment module is specifically used to: render the target interface of the target front end based on the personalized configuration information and the target basic configuration information to deploy the target service project.

[0106] The project deployment device in this embodiment stores the personalized configuration information of the target service project (i.e., the target SAAS project) in the target database, selects the target basic configuration information from the target database, and adds the corresponding Cookie information in the target gateway corresponding to the target service project. When the subsequent gateway receives the deployment request of the target front end, it can add the target Cookie information to the deployment request and forward the request to the back-end server, so that the back-end server can quickly and accurately obtain the personalized configuration information and basic configuration information from the database based on the request and return it to the target front end, so that the target front end can quickly deploy the target service project based on the personalized configuration information and basic configuration information, thereby improving the deployment efficiency. In addition, since the target database stores various basic configuration information common to the deployment target service project, when meeting the personalized needs of different subscribers, it is only necessary to store the personalized configuration information in the target database and select the corresponding target basic configuration information. There is no need to perform overall transformation processing on the SAAS project according to different user needs, and there is no need to publish it online, which reduces code redundancy and improves deployment efficiency.

[0107] Another embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the following method steps are implemented:

[0108] Step 1: storing the personalized configuration information of the target service item ordered by the target user into the target database;

[0109] Step 2: In response to the selection operation for each basic configuration information of the target service item, a plurality of target basic configuration information are determined from each basic configuration information in the target database;

[0110] Step 3: receiving a deployment request forwarded by a target gateway corresponding to the target service item and having target Cookie information added thereto, wherein the target Cookie information corresponds to the personalized configuration information and the target basic configuration information;

[0111] Step 4: Based on the target Cookie information in the deployment request, call the personalized configuration information and the target basic configuration information from the target database, and send the personalized configuration information and the target basic configuration information to the target front end, so that the target front end deploys the target service project based on the personalized configuration information and the target basic configuration information.

[0112] The specific implementation process of the above method steps can be found in the embodiments of any of the above project deployment methods, and this embodiment will not be repeated here.

[0113] The storage medium in the present application, by storing the personalized configuration information of the target service project (i.e., the target SAAS project) in the target database, selecting the target basic configuration information from the target database, and adding the corresponding Cookie information in the target gateway corresponding to the target service project, the subsequent gateway can add the target Cookie information to the deployment request when receiving the deployment request of the target front end, and forward the request to the back-end server, so that the back-end server can quickly and accurately obtain the personalized configuration information and basic configuration information from the database based on the request and return it to the target front end, so that the target front end can quickly deploy the target service project based on the personalized configuration information and basic configuration information, thereby improving the deployment efficiency. In addition, since the target database stores various basic configuration information common to the deployment target service project, when it is in accordance with the personalized needs of different subscribers, it is only necessary to store the personalized configuration information in the target database and select the corresponding target basic configuration information, without the need to carry out overall transformation and processing of the SAAS project according to different user needs, and without the need to publish and launch, which reduces code redundancy and improves deployment efficiency.

[0114] Another embodiment of the present application provides an electronic device, such as Figure 3 As shown, at least a memory 1 and a processor 2 are included, the memory 1 stores a computer program, and the processor 2 implements the following method steps when executing the computer program on the memory 1:

[0115] Step 1: storing the personalized configuration information of the target service item ordered by the target user into the target database;

[0116] Step 2: In response to the selection operation for each basic configuration information of the target service item, a plurality of target basic configuration information are determined from each basic configuration information in the target database;

[0117] Step 3: receiving a deployment request forwarded by a target gateway corresponding to the target service item and having target Cookie information added thereto, wherein the target Cookie information corresponds to the personalized configuration information and the target basic configuration information;

[0118] Step 4: Based on the target Cookie information in the deployment request, call the personalized configuration information and the target basic configuration information from the target database, and send the personalized configuration information and the target basic configuration information to the target front end, so that the target front end deploys the target service project based on the personalized configuration information and the target basic configuration information.

[0119] The specific implementation process of the above method steps can be found in the embodiments of any of the above project deployment methods, and this embodiment will not be repeated here.

[0120] The electronic device in the present application stores the personalized configuration information of the target service project (i.e., the target SAAS project) in the target database, selects the target basic configuration information from the target database, and adds the corresponding Cookie information in the target gateway corresponding to the target service project. When the subsequent gateway receives the deployment request of the target front end, it can add the target Cookie information to the deployment request and forward the request to the back-end server, so that the back-end server can quickly and accurately obtain the personalized configuration information and basic configuration information from the database based on the request and return it to the target front end, so that the target front end can quickly deploy the target service project based on the personalized configuration information and basic configuration information, thereby improving the deployment efficiency. In addition, since the target database stores various basic configuration information common to the deployment target service project, when it meets the personalized needs of different subscribers, it is only necessary to store the personalized configuration information in the target database and select the corresponding target basic configuration information. There is no need to carry out overall transformation and processing of the SAAS project according to different user needs, and there is no need to publish it online, which reduces code redundancy and improves deployment efficiency.

[0121] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.

Claims

1. A project deployment method, characterized in that: include: Storing personalized configuration information of target service items ordered by target users in a target database; In response to a selection operation for each basic configuration information of a target service item, determining a plurality of target basic configuration information from each basic configuration information in the target database; Receiving a deployment request forwarded by a target gateway corresponding to the target service project and having target Cookie information added thereto, wherein the target Cookie information corresponds to the personalized configuration information and the target basic configuration information; Based on the target cookie information in the deployment request, the personalized configuration information and the target basic configuration information are called from the target database, and the personalized configuration information and the target basic configuration information are sent to the target front end, so that the target front end deploys the target service item based on the personalized configuration information and the target basic configuration information.

2. The method according to claim 1, characterized in that Before storing the personalized configuration information in a predetermined target database, the method further includes: The personalized configuration information is created in response to a personalized configuration operation for a target service item subscribed by a target user.

3. The method according to claim 1, characterized in that The personalized configuration information includes any one or more of the following: background image, color, user logo, title, summary, service logo and request link; The basic configuration information includes any one or more of the following: business line information, project name information, operating environment information, and version number information.

4. The method according to claim 1, characterized in that Before receiving the deployment request forwarded by the target gateway corresponding to the target service item and having target Cookie information added thereto, the method further includes: A target reverse proxy server corresponding to the target user is created in the target gateway, and the target Cookie information for calling the personalized configuration information and the target basic configuration information is configured in the target reverse proxy server.

5. The method according to claim 4, characterized in that The target Cookie information configured in the target reverse proxy server for calling the personalized configuration information and the target basic configuration information specifically includes: The target Cookie information is configured in the target reverse proxy server based on the target first identifier of the personalized configuration information and the target second identifier of the target basic configuration information.

6. The method according to claim 1, characterized in that The method further comprises: The user ID and user domain name of the target user are added to the target reverse proxy server, so that when the target gateway receives an access request initiated by the target user, the target reverse proxy server is matched based on the user ID and the user domain name, and the access request is forwarded to the target front end where the target service project is deployed based on the target reverse proxy server.

7. The method according to claims 1 to 6, characterized in that The deploying the target service item based on the personalized configuration information and the target basic configuration information specifically includes: The target interface of the target front end is rendered based on the personalized configuration information and the target basic configuration information to deploy the target service item.

8. A project deployment device, characterized in that: include: A storage module, used to store personalized configuration information of a target service item ordered by a target user into a target database, wherein the target database also stores basic configuration information of the target service item; A determination module, configured to determine a number of target basic configuration information from the basic configuration information in the target database in response to a selection operation on each basic configuration information of a target service item; A receiving module, configured to receive a deployment request forwarded by a target gateway corresponding to the target service item and having target Cookie information added thereto, wherein the target Cookie information corresponds to the personalized configuration information and the target basic configuration information; A deployment module is used to call the personalized configuration information and the target basic configuration information from the target database based on the target Cookie information in the deployment request, and send the personalized configuration information and the target basic configuration information to the target front end, so that the target front end deploys the target service project based on the personalized configuration information and the target basic configuration information.

9. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the project deployment method described in any one of claims 1 to 7 are implemented.

10. An electronic device, characterized in that: The method comprises at least a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the project deployment method according to any one of claims 1 to 7 when executing the computer program on the memory.