Multi-site deployment processing method and system

Through multi-site deployment processing methods, common and differentiated code packages are created and code paths are configured, which solves the problems of inconsistent code versions and difficulty in meeting personalized needs in traditional systems, reduces development and operation and maintenance costs, and improves system stability. .

CN115857956BActive Publication Date: 2024-09-06BEIJING ZHONGZHI SMART TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211480042.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-24
Publication Date
2024-09-06
Estimated Expiration
2042-11-24

AI Technical Summary

Technical Problem

The traditional intellectual property management system has problems in the development and operation and maintenance of protection centers in multiple cities, such as inconsistent code versions and difficulty in meeting personalized needs, resulting in high development costs and difficulty in operation and maintenance.

Method used

Using a multi-site deployment processing method, the installation package for each organization site is formed by creating a common business scenario code package and a code generation control package for different business scenario requirements, and configuring the code path according to the organization identification to achieve unified code versions and personalized demand support.

Benefits of technology

It reduces the development cost and operation and maintenance difficulty, improves the stability of the system, and ensures the unified version of the site code of each institution and the support of personalized needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115857956B
    Figure CN115857956B
Patent Text Reader

Abstract

The present invention discloses a multi-site deployment processing method and system, wherein the method comprises: creating a common business scenario code package according to the common business scenario attributes of all institution sites; creating a full amount of difference business scenario requirement code generation control package according to the personalized business scenario requirement differences of all institution sites; forming an installation package for each institution site with the common business scenario code package and the full amount of difference business scenario requirement code generation control package; the installation package of each institution site is deployed at each institution site; configuring the code path of each institution site according to the location of the installation package of each institution site and the institution identification; the code path of each institution site is used to access the institution content interface corresponding to the installation package. The present invention can not only ensure the uniformity of the versions of all institution site codes, but also support the personalized business scenario requirements of each institution site, thereby reducing the development cost and operation and maintenance difficulty, and improving the stability of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data technology, and in particular to a multi-site deployment processing method and system. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.

[0003] At present, the intellectual property management system, such as the filing system, is developed in Java and uses the Spring MVC technology architecture. Because the system is aimed at multiple municipal protection centers (institutions), the personalized needs of each protection center are inevitable. Traditional development, that is, one project for each protection center, is customized. This greatly increases the development cost and the difficulty of operation and maintenance, and is not conducive to the unification and stability of versions. Summary of the invention

[0004] The embodiment of the present invention provides a multi-site deployment processing method, which is used to ensure the uniformity of the version of all institution site codes and support the personalized business scenario requirements of each institution site, thereby reducing development costs and operation and maintenance difficulties. The method includes:

[0005] Create common business scenario code packages according to the common business scenario attributes of all institution sites;

[0006] Create a full set of code generation control packages based on the individual business scenario requirements of all institution sites;

[0007] Generate a control package for each institution site by using the common business scenario code package and the full amount of different business scenario requirement code; the installation package for each institution site is deployed at each institution site;

[0008] The code path of each institution site is configured according to the location of the installation package of each institution site and the institution identification; the code path of each institution site is used to access the institution content interface corresponding to the installation package.

[0009] The embodiment of the present invention also provides a multi-site deployment processing system, which is used to ensure the uniformity of the version of all institution site codes and support the personalized business scenario requirements of each institution site, thereby reducing development costs and operation and maintenance difficulties. The system includes:

[0010] A first creation unit is used to create a common business scenario code package according to the common business scenario attributes of all institution sites;

[0011] The second creation unit is used to create a full set of difference business scenario requirement code generation control packages according to the personalized business scenario requirement differences of all institution sites;

[0012] A forming unit, used to form an installation package for each institution site by combining a common business scenario code package and a full amount of different business scenario requirement code generation control package; the installation package for each institution site is deployed at each institution site;

[0013] The configuration unit is used to configure the code path of each institution site according to the location of the installation package of each institution site and the institution identification; the code path of each institution site is used to access the institution content interface corresponding to the installation package.

[0014] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the multi-site deployment processing method when executing the computer program.

[0015] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the multi-site deployment processing method is implemented.

[0016] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the multi-site deployment processing method is implemented.

[0017] In the embodiment of the present invention, the multi-site deployment processing solution, compared with the technical solution in the prior art in which each institution site code needs to be developed separately and has high development cost and operation and maintenance difficulty, is achieved by: creating a common business scenario code package according to the common business scenario attributes of all institution sites; creating a full amount of differential business scenario requirement code generation control package according to the personalized business scenario requirement differences of all institution sites; forming an installation package for each institution site with the common business scenario code package and the full amount of differential business scenario requirement code generation control package; the installation package of each institution site is deployed at each institution site; the code path of each institution site is configured according to the location of the installation package of each institution site and the institution identification; the code path of each institution site is used to access the institution content interface corresponding to the installation package, which can not only ensure the unified version of all institution site codes, but also support the personalized business scenario requirements of each institution site, thereby reducing development costs and operation and maintenance difficulty and improving system stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0019] Figure 1 A schematic diagram of a multi-site deployment processing method according to an embodiment of the present invention;

[0020] Figure 2 A schematic diagram of multi-project deployment processing in an embodiment of the present invention;

[0021] Figure 3 This is a schematic diagram of a configuration file in an embodiment of the present invention;

[0022] Figure 4 A schematic diagram of multi-site deployment in an embodiment of the present invention;

[0023] Figure 5 A schematic diagram of generating codes for different business scenario requirements in an embodiment of the present invention;

[0024] Figure 6 This is a schematic diagram of a multi-service scenario access interface in an embodiment of the present invention;

[0025] Figure 7 It is a schematic diagram of the structure of a multi-site deployment processing system in an embodiment of the present invention. DETAILED DESCRIPTION

[0026] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0027] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0028] In view of the technical problems faced by the present invention, the embodiment of the present invention proposes a multi-site deployment processing solution, which is adjusted on the basis of the technical framework to ensure the uniformity of the code version and support the personalized needs of each protection center, thereby reducing the development cost and operation and maintenance difficulty, thereby improving the stability of the system. The multi-site deployment processing solution is introduced in detail below.

[0029] Figure 1 FIG. 1 is a flow chart of a multi-site deployment processing method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0030] Step 101: Create a common business scenario code package according to the common business scenario attributes of all institution sites;

[0031] Step 102: Create a full set of different business scenario requirement code generation control packages based on the individual business scenario requirement differences of all institution sites;

[0032] Step 103: Generate a control package for each institution site by using the common business scenario code package and the full amount of different business scenario requirement code generation control package; the installation package for each institution site is deployed at each institution site;

[0033] Step 104: configure the code path of each institution site according to the location of the installation package of each institution site and the institution identification; the code path of each institution site is used to access the institution content interface corresponding to the installation package.

[0034] The multi-site deployment processing method provided by the embodiment of the present invention, when working: according to the common business scenario attributes of all institutional sites (each institution, such as the intellectual property protection center, has business scenario attributes such as patent application, review or invalidation), a common business scenario code package (the same business scenario code involved in all protection centers) is created; according to the personalized business scenario demand differences of all institutional sites (for example, according to the user's personalized page and layout requirements, the style, layout, etc. are customized under the corresponding project code directory), a full amount of difference business scenario demand code generation control package is created (the meaning of the full amount of difference business scenario demand code generation control package is: according to all personalized needs of all institutional sites, a full amount of code generation control package is generated, which is deployed to different institutional sites, such as XX protection center. The protection center can select the control suitable for this center in the full amount of difference business scenario demand code generation control package, and automatically generate code that meets the personalized needs of this center. The specific generation method can be as follows Figure 5 As shown); the common business scenario code package and the full amount of different business scenario requirement code generation control package form an installation package for each institution site; the installation package for each institution site is deployed at each institution site; the code path of each institution site is configured according to the location of the installation package of each institution site and the institution identification; the code path of each institution site is used to access the institution content interface corresponding to the installation package.

[0035] The multi-site deployment processing method provided by the embodiment of the present invention can be applied not only to various intellectual property protection centers, but also to institutions in other fields and scenarios.

[0036] From the above, it can be seen that compared with the technical solution in the prior art that each institution site code needs to be developed separately, which has high development costs and high operation and maintenance difficulties, the multi-site deployment processing method provided by the embodiment of the present invention can not only ensure the uniformity of the version of all institution site codes, but also support the personalized business scenario requirements of each institution site, thereby reducing development costs and operation and maintenance difficulties and improving the stability of the system. The multi-site deployment processing method provided by the embodiment of the present invention is described in detail below.

[0037] In the above step 101, a common business scenario code package is created according to the common business scenario attributes of all institutional sites, for example, all intellectual property protection centers may involve patent pre-examination, re-examination and invalidation business scenario attributes. Each institutional site under each file package (code package) should be based on the standard version of the file package, that is, the deployment code in each intellectual property protection can be generated by copying the standard version of the code package, ensuring the uniform version of all institutional site codes.

[0038] In one embodiment, creating a common business scenario code package according to the common business scenario attributes of all institution sites may include: creating site packages corresponding to different projects according to the common business scenario attributes of all institution sites to obtain the common business scenario code packages of all institution sites; each of the site packages includes a project code corresponding to the project;

[0039] Then in a subsequent preferred embodiment, the above method for configuring the code path of each institutional site may also include: configuring the code path corresponding to each project according to the deployment location of each site package and the institutional identifier; the code path corresponding to each project is used to access the project content interface corresponding to the site package.

[0040] In specific implementation, according to the common business scenario attributes of all institutional sites, site packages (i.e., sub-code packages) corresponding to different projects (patent application projects, pre-examination projects, review projects, invalidation projects, and evaluation projects, etc.) are created to obtain the common business scenario code packages of all institutional sites; each of the site packages includes the project code corresponding to the project. Then, the code path corresponding to each project (i.e., the sub-code path of each institutional site) can be configured according to the deployment location and institutional identification of each site package; the code path corresponding to each project is used to access the project content interface corresponding to the site package, for example, Figure 6 Click on the interface shown to enter the corresponding page. To facilitate understanding of how to implement the configuration path, the following example is given.

[0041] When developing multiple project sites in a multi-organization site development scenario, Figure 2As shown, developers need to create different site packages (i.e., site packages corresponding to different projects) according to the development specifications, and write different page contents under the corresponding packages, that is, each site package includes the project code corresponding to the corresponding project.

[0042] In specific implementation, the default site switching configuration during deployment is controllable through the configuration file. The configuration method is as follows Figure 3 As shown, the site parameter description: base.view.url can refer to the location of the site code package, site.id can refer to the site id, base.view.url + site.id will form the most complete code path (the code path corresponding to each project), and then return the corresponding interface content (for example Figure 6 The interface shown in the figure shows the content that can be accessed by clicking on it) to the front-end user. Figure 3 In the example, site.title may refer to the site title, which is used to display the content of the title bar, and site.footnote may refer to the site footer, which is used to configure the content such as copyright or technical support in the footer. That is, in one embodiment, the above-mentioned multi-site deployment processing method may also include: configuring the site title and site footer for each site package, thereby further improving the flexibility of the multi-site deployment processing.

[0043] In one embodiment, in the above step 102, creating a full set of difference business scenario requirement code generation control packages according to the differences in personalized business scenario requirements of all institution sites may include:

[0044] Obtain personalized business scenario requirements for all institutions;

[0045] Generate a control for the corresponding difference business scenario requirement code for each personalized business scenario requirement;

[0046] Generate a complete set of code generation control packages based on the code generation requirements of all different business scenarios.

[0047] When implementing it, Figure 5 As shown in the figure, each protection center can select the control suitable for the center (institution) according to its own personalized needs by generating the control package of the full set of different business scenario requirements code, and use the control to automatically generate the code that meets the personalized needs of the center. The specific generation method can be as follows Figure 5 shown.

[0048] In the specific implementation, freemarker template language technology can be used to combine business needs and extract business-related controls, so that different functional points can be manually configured to form business codes in different usage scenarios, and complex business needs can be solved through lightweight code implementation, thus playing an important role in labor costs and stability. Functions can be Figure 5 shown.

[0049] In the specific implementation, in the above step 103, package deployment: it is necessary to switch to the corresponding site, and then package and deploy, such as Figure 4 shown.

[0050] In specific implementation, after the configuration of step 104 is completed, the site access step can be accessed through the browser according to the following URL:

[0051] 1. By Figure 2 The URL obtained from the "fushen" project site package shown in the figure can be: http: / / xxx.com / fushen, which represents the code path corresponding to the review project. You can access the review project content interface through this code path later, for example, by clicking Figure 6 Click “Click to enter” corresponding to the review system in the review system to reach the review project content interface.

[0052] 2. By Figure 2 The URL obtained from the "wuxiao" project site package shown in the figure can be: http: / / xxx.com / wuxiao, which represents the code path corresponding to the invalid project. You can access the invalid project content interface through this code path later, such as clicking Figure 6 Click "Click to enter" corresponding to the invalid system to reach the invalid project content interface.

[0053] 3. Pass Figure 2 The URL obtained from the "pingjia" project site package shown in the figure can be: http: / / xxx.com / pingjia, which represents the code path corresponding to the evaluation project, and the evaluation project content interface can be accessed through the code path later.

[0054] The code paths corresponding to the above review items, invalid items and evaluation items can be called institutional site sub-paths, and their corresponding total paths can be the website address of XX Intellectual Property Center: http: / / xxx.com, which represents the code path of each institutional site.

[0055] In summary, the advantages of the multi-site deployment processing method provided by the embodiment of the present invention are: on the basis of ensuring the uniformity of the code version, it also supports the personalized needs of each protection center, thereby reducing development costs and operation and maintenance difficulties, and further improving the stability of the system.

[0056] The present invention also provides a multi-site deployment processing system, as described in the following embodiments. Since the principle of solving the problem by the system is similar to that of the multi-site deployment processing method, the implementation of the system can refer to the implementation of the multi-site deployment processing method, and the repeated parts will not be repeated.

[0057] Figure 7 FIG. 1 is a schematic diagram of the structure of a multi-site deployment processing system in an embodiment of the present invention. Figure 7 As shown, the system includes:

[0058] The first creation unit 01 is used to create a common business scenario code package according to the common business scenario attributes of all institution sites;

[0059] The second creation unit 02 is used to create a full set of difference business scenario requirement code generation control packages according to the personalized business scenario requirement differences of all institution sites;

[0060] Formation unit 03, used to form an installation package for each institution site by combining the common business scenario code package and the full amount of different business scenario requirement code generation control package; the installation package for each institution site is deployed at each institution site;

[0061] Configuration unit 04 is used to configure the code path of each institution site according to the location of the installation package of each institution site and the institution identification; the code path of each institution site is used to access the institution content interface corresponding to the installation package.

[0062] In one embodiment, the first creation unit may be specifically used to: create site packages corresponding to different projects according to the common business scenario attributes of all institution sites, and obtain common business scenario code packages of all institution sites; each of the site packages includes a project code corresponding to the project;

[0063] The configuration unit may also be used to: configure the code path corresponding to each project according to the deployment location and organization identification of each site package; the code path corresponding to each project is used to access the project content interface corresponding to the site package.

[0064] In one embodiment, the second creating unit may be specifically used to:

[0065] Obtain personalized business scenario requirements for all institutions;

[0066] Generate a control for the corresponding difference business scenario requirement code for each personalized business scenario requirement;

[0067] Generate a complete set of code generation control packages based on the code generation requirements of all different business scenarios.

[0068] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the multi-site deployment processing method when executing the computer program.

[0069] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the multi-site deployment processing method is implemented.

[0070] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the multi-site deployment processing method is implemented.

[0071] In the embodiment of the present invention, the multi-site deployment processing solution, compared with the technical solution in the prior art in which each institution site code needs to be developed separately, with high development cost and high operation and maintenance difficulty, is achieved by: creating a common business scenario code package according to the common business scenario attributes of all institution sites; creating a full amount of differential business scenario requirement code generation control package according to the personalized business scenario requirement differences of all institution sites; forming an installation package for each institution site with the common business scenario code package and the full amount of differential business scenario requirement code generation control package; the installation package of each institution site is deployed at each institution site; the code path of each institution site is configured according to the location of the installation package of each institution site and the institution identification; the code path of each institution site is used to access the institution content interface corresponding to the installation package, which can not only ensure the unified version of all institution site codes, but also support the personalized business scenario requirements of each institution site, thereby reducing development costs and operation and maintenance difficulties and improving system stability.

[0072] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0073] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0074] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0075] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0076] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A multi-site deployment processing method, It is characterized in that include: Create common business scenario code packages according to the common business scenario attributes of all institution sites. Each institution site under each code package generates deployment code for each institution site by copying the standard version code package to ensure the uniform version of all institution site codes. According to the differences in personalized business scenario requirements of all institution sites, a full set of control packages for generating code for different business scenario requirements is created; each institution site selects a control applicable to the institution site from the full set of control packages for generating code for different business scenario requirements, and uses the control to automatically generate code that meets the personalized requirements of the institution site; The common business scenario code package and the personalized demand code generated by the control package using the full amount of different business scenario demand code are formed into an installation package for each institution site; the installation package for each institution site is deployed at each institution site; The code path of each institution site is configured according to the location of the installation package of each institution site and the institution identification; the code path of each institution site is used to access the institution content interface corresponding to the installation package.

2. The method according to claim 1, It is characterized in that Creating a common business scenario code package according to the common business scenario attributes of all institution sites, including: creating site packages corresponding to different projects according to the common business scenario attributes of all institution sites, and obtaining the common business scenario code package of all institution sites; each of the site packages includes a project code corresponding to the project; The method for configuring the code path of each institution site also includes: configuring the code path corresponding to each project according to the deployment location of each site package and the institution identification; the code path corresponding to each project is used to access the project content interface corresponding to the site package.

3. The method according to claim 2, It is characterized in that Also includes: Configure a site header and site footer for each site package.

4. The method according to claim 1, It is characterized in that According to the individual business scenario requirements of all institutional sites, a full set of different business scenario requirements code generation control packages are created, including: Obtain personalized business scenario requirements for all institutions; Obtain the corresponding difference business scenario requirement code generation control according to each personalized business scenario requirement; Generate controls based on the code requirements of all different business scenarios and create a full set of code generation control packages based on the code requirements of all different business scenarios.

5. A multi-site deployment processing system, It is characterized in that include: The first creation unit is used to create a common business scenario code package according to the common business scenario attributes of all institution sites; the institution sites under each code package generate deployment codes for each institution site by copying the standard version code package to ensure the uniformity of the code versions of all institution sites; The second creation unit is used to create a full set of differential business scenario requirement code generation control packages according to the personalized business scenario requirement differences of all institution sites; each institution site selects a control suitable for the institution site from the full set of differential business scenario requirement code generation control packages, and uses the control to automatically generate code that meets the personalized requirements of the institution site; A forming unit, used to form an installation package for each institution site by combining a common business scenario code package and a personalized demand code generated by a control package generated by using a full amount of different business scenario demand codes; the installation package for each institution site is deployed at each institution site; The configuration unit is used to configure the code path of each institution site according to the location of the installation package of each institution site and the institution identification; the code path of each institution site is used to access the institution content interface corresponding to the installation package.

6. The system according to claim 5, It is characterized in that The first creation unit is specifically used to: create site packages corresponding to different projects according to the common business scenario attributes of all institution sites, and obtain common business scenario code packages of all institution sites; each of the site packages includes a project code corresponding to the project; The configuration unit is also used to: configure the code path corresponding to each project according to the deployment location and organization identification of each site package; the code path corresponding to each project is used to access the project content interface corresponding to the site package.

7. The system of claim 6, It is characterized in that The second creation unit is specifically used for: Obtain personalized business scenario requirements for all institutions; Obtain the corresponding difference business scenario requirement code generation control according to each personalized business scenario requirement; Generate controls based on the code requirements of all different business scenarios and create a full set of code generation control packages based on the code requirements of all different business scenarios.

8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

10. A computer program product, It is characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.