A business development method, device and medium based on water conservancy cloud native all-in-one machine

By adopting a business development method based on cloud-native all-in-one machine in the water conservancy industry, integrating microservice frameworks, cloud operating systems, container management platforms and automated operation and maintenance tools, the problem of traditional computer architectures being difficult to adapt to the rapid changes in water conservancy business is solved, and efficient and stable water conservancy business development and deployment are achieved.

CN119166107BActive Publication Date: 2025-03-14SHANDONG FENGSHI INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411221545.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2025-03-14
Estimated Expiration
2044-09-02

AI Technical Summary

Technical Problem

Traditional computer architectures are difficult to adapt to the rapidly changing needs of water conservancy businesses, especially inadequate data processing, resource scheduling and failure recovery, and lack cloud-native integrated solutions designed for the water conservancy industry.

Method used

A business development method based on water conservancy cloud-native all-in-one machine is proposed, and an integrated water conservancy cloud-native all-in-one machine is formed by determining core components (microservice framework, cloud operating system, container management platform and automated operation and maintenance tools) is deployed on the hardware platform. This method involves a multi-stage deployment upgrade process to ensure that the business needs of the water conservancy project are met.

Benefits of technology

It has achieved full optimization from development to deployment, simplified the deployment process, shortened the system's online time, improved the overall efficiency of water conservancy business development, and ensured the continuity and stability of water conservancy business.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166107B_ABST
    Figure CN119166107B_ABST
Patent Text Reader

Abstract

The present application discloses a business development method, device and medium based on a water conservancy cloud-native all-in-one machine, the method comprising: determining the core components required to realize the water conservancy business development needs; wherein the core components include a microservice framework, a cloud operating system, a container management platform and an automated operation and maintenance tool; determining a hardware platform for building a water conservancy cloud-native all-in-one machine, deploying the core components to the hardware platform, and obtaining a deployed water conservancy cloud-native all-in-one machine; when delivering a water conservancy project through the water conservancy cloud-native all-in-one machine, determining the water conservancy business needs corresponding to the water conservancy project, and determining whether the core components integrated in the water conservancy cloud-native all-in-one machine support the water conservancy business needs; if not, based on the water conservancy cloud-native all-in-one machine, deploy and upgrade the core components according to the water conservancy business needs to realize the expanded development of the water conservancy project.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a business development method, device and medium based on a water conservancy cloud-native all-in-one machine. Background Art

[0002] With the rapid development of new-generation information technologies such as cloud computing, big data, and the Internet of Things, the water conservancy industry is undergoing an unprecedented digital transformation. Traditional computer architectures are difficult to adapt to the rapidly changing needs of water conservancy business, especially in data processing, resource scheduling, and fault recovery. With the rise of cloud computing and container technology, cloud-native architectures have gradually become an important way to solve the above problems.

[0003] Cloud native is a method of building and running applications to fully utilize the advantages of the cloud computing model. Its core is to use key technologies such as containers, microservices, DevOps, and continuous integration / continuous deployment to achieve rapid iteration, flexible deployment, and efficient operation and maintenance of applications. Cloud native technology can significantly improve the elasticity, scalability, and maintainability of applications, bringing unprecedented business innovation and development opportunities to the water conservancy industry. However, the market lacks cloud native integrated solutions designed specifically for the water conservancy industry, making it difficult to meet the water conservancy industry's needs for high availability, high scalability, and easy operation and maintenance. Summary of the invention

[0004] In order to solve the above problems, this application proposes a business development method based on a water conservancy cloud native all-in-one machine, including:

[0005] Determine the core components required to achieve water conservancy business development needs; wherein the core components include microservice framework, cloud operating system, container management platform and automated operation and maintenance tools;

[0006] Determine a hardware platform for building a water conservancy cloud native all-in-one machine, deploy the core components to the hardware platform, and obtain a deployed water conservancy cloud native all-in-one machine;

[0007] When delivering a water conservancy project through the water conservancy cloud native all-in-one machine, determining the water conservancy business requirements corresponding to the water conservancy project, and determining whether the core components integrated in the water conservancy cloud native all-in-one machine support the water conservancy business requirements;

[0008] If not, based on the water conservancy cloud-native all-in-one machine, according to the water conservancy business needs, the core components are deployed and upgraded to achieve the expanded development of the water conservancy project.

[0009] In one implementation of the present application, the core components are deployed and upgraded according to the water conservancy business needs to achieve the expansion and development of the water conservancy project, specifically including:

[0010] The deployment and upgrade process of the water conservancy cloud native integrated machine is divided into multiple stages; wherein the multiple stages include a development stage, a deployment stage, and a production stage;

[0011] Based on the development stage, a warehouse address corresponding to the water conservancy project is created in a remote code warehouse, and a project code corresponding to the water conservancy project is obtained from the remote code warehouse, so as to develop the water conservancy business needs through the project code and obtain a local engineering code;

[0012] Based on the deployment stage, the local engineering code is divided into several code branches, and the code branches are packaged as images based on the cloud deployment environment where the code branches are located, so as to deploy and upgrade the project instance of the water conservancy project according to the obtained image products, and upload the image products to the image warehouse when the deployed and upgraded project instance passes the image function test in the cloud deployment environment;

[0013] Based on the production stage, a specified image product is obtained from the image warehouse, and the core components are deployed and upgraded based on the specified image product to achieve extended development of the water conservancy project.

[0014] In one implementation of the present application, based on the cloud deployment environment where the code branch is located, the code branch is image packaged, so as to deploy and upgrade the project instance of the water conservancy project according to the obtained image product, specifically including:

[0015] The code branches include development branches, test branches and formal branches, and the cloud deployment environment includes development environment, test environment and integrated demonstration environment;

[0016] Based on the development environment where the development branch is located, according to the code submission operation performed through the development branch in the development stage, triggering an image packaging operation for the development branch to obtain a first image product corresponding to the development environment;

[0017] Deploy and upgrade the project instance of the water conservancy project according to the first image product, and perform an image function test on the first project instance after deployment and upgrade;

[0018] When the first project instance passes the image function test, a first merging operation is performed on the development branch and the test branch, and based on the first merging operation, an image packaging operation for the test branch is triggered to obtain a second image product corresponding to the test environment;

[0019] Deploy and upgrade the project instance of the water conservancy project according to the second mirror product, and perform a mirror function test on the second project instance after the deployment and upgrade;

[0020] When the second project instance passes the image function test, a second merge operation is performed on the test branch and the official branch, and based on the second merge operation, an image packaging operation for the official branch is triggered to obtain a third image product corresponding to the integrated demonstration environment;

[0021] According to the third mirror product, the project instance of the water conservancy project is deployed and upgraded, and the mirror function test is performed on the third project instance after the deployment and upgrade.

[0022] In one implementation of the present application, the image warehouse includes a private product warehouse and a public network image warehouse. When the deployed and upgraded project instance passes the image function test in the cloud deployment environment, the image product is uploaded to the image warehouse, specifically including:

[0023] When the first project instance and the second project instance pass the image function test in the development environment and the test environment respectively, uploading the first image product and the second image product to a private product warehouse;

[0024] When the third project instance passes the image function test in the integrated demonstration environment, the third image product is uploaded to the public network image repository, and the helm application package generated by the formal branch is obtained, and the helm application package is uploaded to the application repository under the public network image repository.

[0025] In one implementation of the present application, before obtaining the specified image product from the image repository, the method further includes:

[0026] Determine the project environment corresponding to the water conservancy project; wherein the project environment includes an online state and an offline state;

[0027] Based on the project environment, the designated image product is obtained from the image repository; wherein the designated image product is a third image product.

[0028] In one implementation of the present application, based on the project environment, obtaining the specified image product from the image repository specifically includes:

[0029] When the project environment is in the networked state, pulling the third image product from the public network image repository;

[0030] When the project environment is in the disconnected state, the third image product in the public network image warehouse is instantiated, and the instantiated third image product is copied to the project environment through a preset transmission medium.

[0031] In one implementation of the present application, the water conservancy business demand is developed through the project code to obtain a local engineering code, which specifically includes:

[0032] When developing the water conservancy business needs, determining whether there is a dependency in realizing the water conservancy business needs;

[0033] If so, the dependency is pulled from the preset Maven artifact dependency library, and the project code is developed through the dependency to obtain the local engineering code.

[0034] In one implementation of the present application, after deploying and upgrading the project instance of the water conservancy project according to the obtained image product, the method further includes:

[0035] If the deployed and upgraded project instance fails to pass the image function test in the cloud deployment environment, the corresponding code branch is functionally optimized, and based on the optimized code branch, the code branch is re-image packaged and the project instance is deployed and upgraded until the project instance passes the image function test in the cloud deployment environment.

[0036] The embodiment of the present application provides a business development device based on a water conservancy cloud native all-in-one machine, the device comprising:

[0037] at least one processor;

[0038] and, a memory communicatively coupled to the at least one processor;

[0039] Among them, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a business development method based on a water conservancy cloud-native all-in-one machine as described in any of the above items.

[0040] The embodiment of the present application provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:

[0041] A business development method based on a water conservancy cloud-native all-in-one machine as described in any of the above items.

[0042] The business development method based on the water conservancy cloud native all-in-one machine proposed in this application can bring the following beneficial effects:

[0043] By integrating multiple core components, the water conservancy cloud-native all-in-one machine achieves full optimization from development to deployment. This integrated design greatly simplifies the deployment process, shortens the system launch time, and thus improves the overall efficiency of water conservancy business development.

[0044] Microservice architecture and containerization technology enable the water conservancy cloud-native all-in-one machine to expand on demand, flexibly respond to changes in water conservancy business, and ensure the continuity and stability of water conservancy business.

[0045] The water conservancy cloud-native all-in-one machine supports direct deployment in professional computer rooms or ordinary indoor environments, realizing the convenience of "plug and play", which not only lowers the deployment threshold, but also makes operation and maintenance work more efficient and flexible. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0047] Figure 1 A flowchart of a business development method based on a water conservancy cloud native all-in-one machine provided in an embodiment of the present application;

[0048] Figure 2 A deployment and upgrade workflow diagram provided for an embodiment of the present application;

[0049] Figure 3 A structural schematic diagram of a business development device based on a water conservancy cloud native all-in-one machine provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0051] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0052] like Figure 1 As shown, the embodiment of the present application provides a business development method based on a water conservancy cloud native all-in-one machine, including:

[0053] S101: Identify the core components required to achieve water conservancy business development needs; the core components include microservice framework, cloud operating system, container management platform and automated operation and maintenance tools.

[0054] The embodiments of the present application aim to solve the problems of system dispersion, complex operation and maintenance, and poor scalability in the construction of water conservancy informatization, and provide a water conservancy cloud-native all-in-one system with high integration, easy deployment and operation and maintenance. By integrating multiple core components for realizing water conservancy business, it realizes application integrated design, simplifies the deployment process, and improves operation and maintenance efficiency.

[0055] The synergy between the core components can realize the development needs of water conservancy business, mainly including microservice framework, cloud operating system, container management platform and automated operation and maintenance tools. Among them, the microservice framework follows the principles of microservice architecture, splits the water conservancy business system into multiple independent service modules, interacts through lightweight communication protocols, and improves the flexibility and scalability of the system. At the same time, the water conservancy business system is split into microservice modules, and deployed to the container through the CI / CD pipeline after development. The cloud operating system, built on virtualization technology, provides functions such as resource pooling, dynamic scheduling and isolation protection to ensure the stable operation of cloud native applications. The container management platform uses mainstream container orchestration tools such as Kubernetes to realize the automated deployment, management and expansion of containers, and supports the rapid iteration and continuous delivery of microservices. The automated operation and maintenance tools integrate CI / CD pipelines, log collection and analysis, monitoring and alarm functions, realize the automation and intelligence of operation and maintenance work, reduce operation and maintenance costs and improve operation and maintenance efficiency.

[0056] S102: Determine a hardware platform for building a water conservancy cloud-native all-in-one machine, deploy core components to the hardware platform, and obtain a deployed water conservancy cloud-native all-in-one machine.

[0057] The realization of the cloud-native all-in-one machine requires not only the above core components to support the processing and operation of water conservancy services, but also hardware resources to provide corresponding hardware support for cloud-native applications. Therefore, when building a water conservancy cloud-native all-in-one machine, you must first determine the hardware platform. Generally speaking, the hardware platform can use a high-performance server cluster, and then deploy the core components to the hardware platform, so that you can get a water conservancy cloud-native all-in-one machine with integrated hardware and software. The water conservancy cloud-native all-in-one machine can achieve rapid response to water conservancy services and has high scalability.

[0058] S103: When delivering a water conservancy project through the water conservancy cloud native all-in-one machine, determine the water conservancy business requirements corresponding to the water conservancy project, and determine whether the core components integrated in the water conservancy cloud native all-in-one machine support the water conservancy business requirements.

[0059] The difference between the embodiment of the present application and the traditional water conservancy project delivery process is that the traditional project delivery requires the deployment of core components in sequence at the project site, and the code needs to be reconfigured during the deployment process, which is inefficient. The water conservancy cloud native all-in-one machine integrates multiple core components and realizes the packaged delivery of components. It only needs to plug in the water conservancy cloud native all-in-one machine to achieve rapid response of water conservancy business, without the need for on-site deployment, avoiding technical bottlenecks caused by differences in on-site environments. It should be noted that the water conservancy cloud native all-in-one machine supports the functional expansion of water conservancy business. Therefore, when delivering a water conservancy project, it is necessary to first determine whether the water conservancy cloud native all-in-one machine can support the water conservancy business requirements required by the current project.

[0060] S104: If not, based on the water conservancy cloud native all-in-one machine, deploy and upgrade the core components according to the water conservancy business needs to achieve the expansion and development of water conservancy projects.

[0061] If during the delivery of a water conservancy project, the core components integrated in the current water conservancy cloud-native all-in-one machine cannot fully support all the water conservancy business requirements raised by the water conservancy project, then the integrated core components can be deployed and upgraded based on the water conservancy cloud-native all-in-one machine, and the on-demand expansion of business needs can flexibly respond to business changes and improve the scalability of water conservancy business.

[0062] In one embodiment, the deployment and upgrade process of the water conservancy cloud native all-in-one machine is divided into multiple stages, including the development stage, the deployment stage, and the production stage. In the development stage, the local functional code is mainly developed. In the deployment stage, the corresponding deployment upgrade and test verification are required based on the local engineering code. In the production stage, the core components need to be deployed and upgraded according to the verified mirror products, and finally the upgraded project intranet container management platform is obtained. The project intranet container management platform is the platform obtained after the water conservancy cloud native all-in-one machine has been functionally expanded.

[0063] like Figure 2As shown, in the early stage of water conservancy project creation, it is in the development stage. It is necessary to create a warehouse address corresponding to the water conservancy project in the remote code warehouse (such as git), and obtain the project code corresponding to the water conservancy project from the remote code warehouse, so as to develop the water conservancy business needs through the project code and obtain the local engineering code. Among them, when developing water conservancy business needs, it is necessary to determine whether there is a dependency to realize the water conservancy business needs. If it is necessary to rely on the package code of other projects to run, it is necessary to pull the required dependencies from the preset Maven product dependency library, and then complete the development of the project code through the dependency to obtain the local engineering code. As developers continue to improve the project functions, the local engineering code will be pushed to the remote code warehouse, and other local developers will obtain the latest version of the code warehouse in real time when pulling operations. When the local water conservancy project is developed to a certain stage and the version can be released, the local project can be pushed to the remote Maven product warehouse for management and use.

[0064] In the deployment stage, the local engineering code is divided into several code branches, including development branches (develop), test branches (release) and formal branches (master). Each code branch is in a different cloud deployment environment. The cloud deployment environment includes development environment, test environment and integrated demonstration environment, corresponding to development branch, test branch and formal branch respectively. Based on the cloud deployment environment where the code branch is located, when the code branch submits the code, the server will image package the code branch, and deploy and upgrade the project instance of the water conservancy project based on the obtained image product. If the deployed and upgraded project instance passes the image function test in the cloud deployment environment, the image product can be uploaded to the image warehouse. If the image function test fails, it is necessary to optimize the function of the corresponding code branch, and based on the optimized code branch, re-image package the code branch and deploy and upgrade the project instance until the project instance passes the image function test in the cloud deployment environment.

[0065] Specifically, based on the development environment where the development branch is located, according to the code submission operation performed through the development branch during the development stage, the image packaging operation for the development branch is triggered to obtain the first image product corresponding to the development environment. Based on the first image product, the project instance of the water conservancy project is deployed and upgraded, and the image function test is performed on the first project instance after the deployment and upgrade.

[0066] When the mirror function test of the development environment passes, that is, the first project instance passes the mirror function test, it is necessary to perform a first merge operation on the development branch and the test branch. Based on the first merge operation, the mirror packaging operation for the test branch is triggered to obtain the second mirror product corresponding to the test environment. Based on the second mirror product, the project instance of the water conservancy project is deployed and upgraded, and the mirror function test is performed on the second project instance after deployment and upgrade.

[0067] When the image function test of the test environment is completed, that is, when the second project instance passes the image function test, a second merge operation is performed on the test branch and the formal branch. Based on the second merge operation, the image packaging operation for the formal branch is triggered to obtain the third image product corresponding to the integrated demonstration environment. Based on the third image product, the project instance of the water conservancy project is deployed and upgraded, and the image function test is performed on the deployed and upgraded third project instance.

[0068] It should be noted that the image warehouse is divided into a private product warehouse and a public network image warehouse. The image products of the develop branch and the release branch will be saved in the private product warehouse, and the image products of the master branch will be saved in the public network image warehouse. Therefore, when the first project instance and the second project instance pass the image function test in the development environment and the test environment respectively, the first image product and the second image product are uploaded to the private product warehouse. When the third project instance passes the image function test in the integrated demonstration environment, the third image product is uploaded to the public network image warehouse, and the helm application package generated by the formal branch is obtained, and the helm application package is uploaded to the application warehouse under the public network image warehouse.

[0069] During the production phase of the water conservancy project, it is necessary to deploy and upgrade the core components based on the image products developed through expansion, so as to complete the expansion development of the water conservancy project. The acquisition methods of image products are differentiated according to the project environment. One is the networked state and the other is the disconnected state. Based on different project environments, the server obtains the specified image products from the image warehouse in different ways. The specified image products here refer to the third image products.

[0070] Specifically, when the project environment is in the networking state, the third image product is pulled from the public image warehouse through the public network container management platform at the project site or the pass platform on the cloud. When the project environment is in a disconnected state, it is impossible to connect to the public image warehouse at this time, so it is necessary to instantiate the third image product in the public image warehouse, and then copy the instantiated third image product to the project environment through a preset transmission medium for deployment and upgrade operations. The transmission medium here refers to a carrier that can store the third image product, such as a USB flash drive, a CD, etc.

[0071] After completing the above deployment and upgrade process, the water conservancy cloud-native all-in-one machine completed the functional upgrade according to the business needs of the actual water conservancy project. This process does not require the redeployment of core components on site, but rather expands on the basis of the existing all-in-one machine, greatly improving development efficiency.

[0072] like Figure 2 The deployment and upgrade workflow diagram shown in the figure shows that after obtaining the local project code in the development phase, when the developer submits the code in the develop branch of the local project, the pipeline image packaging operation of the corresponding branch of the project will be triggered to obtain the first image product of the development environment. The image product will be uploaded to the image warehouse for easy management and use. The project deployer will pull the image in the development environment to perform project deployment, construction or upgrade operations. When the tester tests the function of the version in the development environment and it does not meet expectations, the project developer will be notified to optimize the function, and the above operations of this stage will be repeated until the function test passes.

[0073] When the functional test of the cloud development environment passes, the code of the develop branch will be merged into the release branch for packaging, pushing, deploying, upgrading and testing in the develop branch stage. If the functional verification of the test environment fails, the developer will be notified to optimize the function in the develop branch and repeat the above process until the image function test of this version of the cloud test environment passes.

[0074] When the functional test of the cloud test environment passes, the code of the release branch will be merged into the master branch, and the master branch image packaging process will be triggered to obtain the project image for deployment and upgrade. Note that at this time, the image deployed to the demonstration environment that has not passed the functional test of the demonstration environment is still uploaded to the private image library. When the functional test of the integrated demonstration environment fails, notify the developer to optimize the function in the develop branch and repeat the above process until the image functional test of the integrated demonstration environment passes.

[0075] When the function verification of this version of the integrated demonstration environment is passed (the availability of the master branch has been verified), the public network image packaging operation of the water conservancy project will be triggered. At this time, the latest verified private image of the project in the integrated demonstration environment will be replaced with the newly packaged public network image. At the same time, the image pipeline will upload the latest public network image and the latest helm package of the project to the application warehouse under the public network image warehouse for storage and management.

[0076] The above are embodiments of the method proposed in this application. Based on the same idea, some embodiments of this application also provide devices and non-volatile computer storage media corresponding to the above methods.

[0077] Figure 3A schematic diagram of the structure of a business development device based on a water conservancy cloud native all-in-one machine provided in an embodiment of the present application. Figure 3 As shown, including:

[0078] at least one processor; and,

[0079] at least one processor is communicatively connected to a memory; wherein,

[0080] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor so that the at least one processor can execute a business development method based on a water conservancy cloud-native all-in-one machine as described in any of the above items.

[0081] The embodiment of the present application provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:

[0082] A business development method based on a water conservancy cloud-native all-in-one machine as described in any of the above items.

[0083] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0084] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

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

[0086] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 generate 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.

[0087] 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.

[0088] 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.

[0089] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0090] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0091] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0092] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0093] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A business development method based on a water conservancy cloud native all-in-one machine, characterized in that: The method comprises: Determine the core components required to achieve water conservancy business development needs; wherein the core components include microservice framework, cloud operating system, container management platform and automated operation and maintenance tools; Determine a hardware platform for building a water conservancy cloud native all-in-one machine, deploy the core components to the hardware platform, and obtain a deployed water conservancy cloud native all-in-one machine; When delivering a water conservancy project through the water conservancy cloud native all-in-one machine, determining the water conservancy business requirements corresponding to the water conservancy project, and determining whether the core components integrated in the water conservancy cloud native all-in-one machine support the water conservancy business requirements; If not, based on the water conservancy cloud native all-in-one machine and according to the water conservancy business needs, deploy and upgrade the core components to achieve the expansion and development of the water conservancy project; According to the water conservancy business needs, the core components are deployed and upgraded to achieve the expansion and development of the water conservancy project, including: The deployment and upgrade process of the water conservancy cloud native integrated machine is divided into multiple stages; wherein the multiple stages include a development stage, a deployment stage, and a production stage; Based on the development stage, a warehouse address corresponding to the water conservancy project is created in a remote code warehouse, and a project code corresponding to the water conservancy project is obtained from the remote code warehouse, so as to develop the water conservancy business needs through the project code and obtain a local engineering code; Based on the deployment stage, the local engineering code is divided into several code branches, and the code branches are packaged as images based on the cloud deployment environment where the code branches are located, so as to deploy and upgrade the project instance of the water conservancy project according to the obtained image products, and upload the image products to the image warehouse when the deployed and upgraded project instance passes the image function test in the cloud deployment environment; Based on the production stage, a specified image product is obtained from the image warehouse, and the core components are deployed and upgraded based on the specified image product to achieve extended development of the water conservancy project; Based on the cloud deployment environment where the code branch is located, the code branch is packaged as an image, so as to deploy and upgrade the project instance of the water conservancy project according to the obtained image product, specifically including: The code branches include development branches, test branches and formal branches, and the cloud deployment environment includes development environment, test environment and integrated demonstration environment; Based on the development environment where the development branch is located, according to the code submission operation performed through the development branch in the development stage, triggering an image packaging operation for the development branch to obtain a first image product corresponding to the development environment; Deploy and upgrade the project instance of the water conservancy project according to the first image product, and perform an image function test on the first project instance after deployment and upgrade; When the first project instance passes the image function test, a first merging operation is performed on the development branch and the test branch, and based on the first merging operation, an image packaging operation for the test branch is triggered to obtain a second image product corresponding to the test environment; Deploy and upgrade the project instance of the water conservancy project according to the second mirror product, and perform a mirror function test on the second project instance after the deployment and upgrade; When the second project instance passes the image function test, a second merge operation is performed on the test branch and the official branch, and based on the second merge operation, an image packaging operation for the official branch is triggered to obtain a third image product corresponding to the integrated demonstration environment; According to the third mirror product, the project instance of the water conservancy project is deployed and upgraded, and the mirror function test is performed on the third project instance after the deployment and upgrade.

2. According to claim 1, a business development method based on a water conservancy cloud native all-in-one machine is characterized in that: The image warehouse includes a private product warehouse and a public network image warehouse. When the deployed and upgraded project instance passes the image function test in the cloud deployment environment, the image product is uploaded to the image warehouse, specifically including: When the first project instance and the second project instance pass the image function test in the development environment and the test environment respectively, uploading the first image product and the second image product to a private product warehouse; When the third project instance passes the image function test in the integrated demonstration environment, the third image product is uploaded to the public network image repository, and the helm application package generated by the formal branch is obtained, and the helm application package is uploaded to the application repository under the public network image repository.

3. According to the business development method based on the water conservancy cloud native all-in-one machine according to claim 1, it is characterized in that: Before obtaining the specified image product from the image repository, the method further includes: Determine the project environment corresponding to the water conservancy project; wherein the project environment includes an online state and an offline state; Based on the project environment, the designated image product is obtained from the image repository; wherein the designated image product is the third image product.

4. According to claim 3, a business development method based on a water conservancy cloud native all-in-one machine is characterized in that: Based on the project environment, obtaining the specified image product from the image repository specifically includes: When the project environment is in the networked state, pulling the third image product from the public network image repository; When the project environment is in the disconnected state, the third image product in the public network image warehouse is instantiated, and the instantiated third image product is copied to the project environment through a preset transmission medium.

5. According to the business development method based on the water conservancy cloud native all-in-one machine according to claim 1, it is characterized in that: The water conservancy business needs are developed through the project code to obtain the local engineering code, which specifically includes: When developing the water conservancy business needs, determining whether there is a dependency in realizing the water conservancy business needs; If so, the dependency is pulled from the preset Maven artifact dependency library, and the project code is developed through the dependency to obtain the local engineering code.

6. According to claim 1, a business development method based on a water conservancy cloud native all-in-one machine is characterized in that: After deploying and upgrading the project instance of the water conservancy project according to the obtained mirror product, the method further includes: If the deployed and upgraded project instance fails to pass the image function test in the cloud deployment environment, the corresponding code branch is functionally optimized, and based on the optimized code branch, the code branch is re-image packaged and the project instance is deployed and upgraded until the project instance passes the image function test in the cloud deployment environment.

7. A business development device based on a water conservancy cloud native all-in-one machine, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; In which, the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a business development method based on a water conservancy cloud-native all-in-one machine as described in any one of claims 1-6.

8. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to: A business development method based on a water conservancy cloud native all-in-one machine as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Software development delivery method and system based on cloud native

    CN113741958A

  • Technical platform system based on cloud native micro-service ecological architecture

    CN116775103A