A method, device, electronic device and medium for converting public cloud operators to private ones

By obtaining the privatized configuration information of the public cloud operator and converting it into a private cloud operator configuration unit, the public cloud operator is automatically converted into a private cloud operator, which solves the problem of inconsistent delivery methods between public cloud and private cloud, and implements the model The consistency of effects and integration methods reduces R&D costs and delivery cycles.

CN114579175BActive Publication Date: 2024-10-25BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210200181.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-02
Publication Date
2024-10-25
Estimated Expiration
2042-03-02

AI Technical Summary

Technical Problem

Traditional public cloud and private cloud delivery methods have inconsistent model effects and application programming interface (API) integration methods, and inconsistent operation and usage methods, which affects the user experience. The delivery cycle is long, requires support from multiple teams, and is labor-intensive.

Method used

By obtaining the privatized configuration information of the public cloud operator and converting it into the configuration unit associated with the private cloud operator, the public cloud operator is automatically converted into a private cloud operator to ensure the consistency of the model effect and integration method. Unify public cloud and private calling methods.

Benefits of technology

It achieves consistency in model effects and integration methods across multiple clouds, reduces R&D costs, improves delivery efficiency, simplifies operating procedures, and has a wider scope of application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114579175B_ABST
    Figure CN114579175B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, electronic device and medium for converting a public cloud operator to a private one, and relates to the field of artificial intelligence, and in particular to cloud computing. The specific implementation scheme is: obtaining the public cloud operator and the private configuration information of the public cloud operator; converting the private configuration information into various configuration units associated with the private cloud operator; based on the various configuration units associated with the public cloud operator and the private cloud operator, converting the public cloud operator to a private cloud operator. The embodiment of the present application can automatically convert a public cloud operator into a private cloud operator, ensure the consistency of the model effect and integration method between multiple clouds, and unify the public cloud and private calling methods.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, and further to cloud computing technology, and in particular to a method, device, electronic device and medium for converting a public cloud operator to a private one. Background Art

[0002] As artificial intelligence (AI) technology matures, the application of AI technology in various industries is increasing, and the demand for AI implementation continues to rise. Currently, there are two main ways to deliver AI products: public cloud remote calls and private cloud deployment. At present, there are differences in the delivery methods of traditional public clouds and private clouds. There are inconsistencies in model effects and application programming interface (API) integration methods, and there are inconsistencies in operation and usage methods, which cause trouble to users and affect the user experience. Summary of the invention

[0003] The present disclosure provides a method, device, electronic device and medium for converting a public cloud operator to a private one.

[0004] In a first aspect, the present application provides a method for converting a public cloud operator to a private one, the method comprising:

[0005] Obtaining public cloud operators and privatized configuration information of the public cloud operators;

[0006] Converting the privatization configuration information into various configuration units associated with the private cloud operator;

[0007] Based on the configuration units associated with the public cloud operator and the private cloud operator, the public cloud operator is converted into the private cloud operator.

[0008] In a second aspect, the present application provides a device for converting a public cloud operator to a private one, the device comprising: a receiving module and a conversion module; wherein:

[0009] The receiving module is used to obtain the public cloud operator and the privatization configuration information of the public cloud operator;

[0010] The conversion module is used to convert the privatization configuration information into various configuration units associated with the private cloud operator; based on the various configuration units associated with the public cloud operator and the private cloud operator, convert the public cloud operator into the private cloud operator.

[0011] In a third aspect, an embodiment of the present application provides an electronic device, including:

[0012] one or more processors;

[0013] a memory for storing one or more programs,

[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for converting a public cloud operator to a private one as described in any embodiment of the present application.

[0015] In a fourth aspect, an embodiment of the present application provides a storage medium on which a computer program is stored, and when the program is executed by a processor, the method for converting a public cloud operator to a private one as described in any embodiment of the present application is implemented.

[0016] In a fifth aspect, a computer program product is provided, which, when executed by a computer device, implements the method for converting a public cloud operator to a private one as described in any embodiment of the present application.

[0017] The technical solution provided in this application can automatically convert public cloud operators into private cloud operators by obtaining the privatization configuration information of public cloud operators and converting the privatization configuration information into various configuration units associated with private cloud operators, thereby ensuring the consistency of model effects and integration methods among multiple clouds and unifying public cloud and privatization calling methods.

[0018] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0020] Figure 1 This is a first flow chart of the method for converting a public cloud operator to a private one provided in an embodiment of the present application;

[0021] Figure 2 This is a second flow chart of the method for converting a public cloud operator to a private one provided in an embodiment of the present application;

[0022] Figure 3 This is a third flow chart of the method for converting a public cloud operator to a private one provided in an embodiment of the present application;

[0023] Figure 4 is a flowchart of a task chain provided in an embodiment of the present application;

[0024] Figure 5 This is a fourth flow chart of the method for converting a public cloud operator to a private one provided in an embodiment of the present application;

[0025] Figure 6It is a structural diagram of a device for converting a public cloud operator to a private one provided in an embodiment of the present application;

[0026] Figure 7 It is a block diagram of an electronic device used to implement the method for converting a public cloud operator to a private one according to an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0028] The application scenario of this application is: the public cloud version and the private version of the operator service are inconsistent, resulting in differences in customer usage and model effects, which directly affects the public cloud customers' inability to directly use the private cloud version after trial; there are differences in the effects and calling methods of the operator service. The essential reason is that the delivery scenarios are different, and there are differences in the R&D process and deployment plan. In order to unify the model effects and integration methods of the public cloud and private, most of the existing implementation methods are completed through collaboration among various teams. Each team will transform the modules they are responsible for into private versions and deploy them manually. It mainly involves the following parts: gateway layer, operator management platform, various operator services, etc. The project delivery cycle is long, and it requires the joint support of multiple teams. The delivery effect is unstable and labor-intensive. This application provides a unified algorithm R&D delivery solution that can convert public cloud operators into private operators, ensure the consistency of model effects and integration methods between multiple clouds, and unify the public cloud and private calling methods; the model team needs to fill in the information required for the private deployment of the operator, and the private process will be automatically triggered after submission. This application allows operators to be developed once and support multiple delivery scenarios at the same time, which can greatly reduce R&D costs and improve delivery efficiency.

[0029] The system architecture of this application may include: 1) Operator sources, including: continuous integration platform and public cloud operator access platform; wherein, the continuous integration platform can be an enterprise-level continuous integration platform that supports agile development; the public cloud operator access platform can be a landing platform for cloud strategy in the video field. 2) Subject, including: privatized deployment packaging platform and privatized deployment packaging platform working node; wherein, the privatized deployment packaging platform is responsible for realizing the public cloud to private optimization automatic conversion process service for the continuous integration platform and the public cloud operator access platform source operators; the privatized deployment packaging platform working node is responsible for executing security reinforcement and model encryption services, and is responsible for the deployment package automatic testing and verification; 3) Storage warehouse, including: image warehouse, hosting warehouse and file storage platform; wherein, the image warehouse can be the company's internal image warehouse, which is used to upload, download and manage model images; the hosting warehouse can be the company's internal model and pre-set resource hosting warehouse, which is used to upload, download and manage models and pre-set resources; the file storage platform is to dump models, pre-set resources, startup scripts, and model images; so that they can be downloaded and used in the customer's on-site environment outside the company.

[0030] Embodiment 1

[0031] Figure 1 This is a first flow chart of the method for converting a public cloud operator to a private cloud provided in an embodiment of the present application. The method can be executed by a device or electronic device for converting a public cloud operator to a private cloud. The device or electronic device can be implemented by software and / or hardware. The device or electronic device can be integrated in any intelligent device with network communication function. Figure 1 As shown, the method for converting a public cloud operator to a private one may include the following steps:

[0032] S101. Obtain public cloud operators and privatized configuration information of public cloud operators.

[0033] In this step, the electronic device can obtain the public cloud operator and the privatization configuration information of the public cloud operator. Specifically, the electronic device can receive the public cloud operator and the privatization configuration information of the public cloud operator provided by the model party. The embodiment of the present application can receive the public cloud operator and the privatization configuration information of the public cloud operator provided by the model party through the public cloud platform; wherein the public cloud may include the code of the model and the application. More specifically, the model party can publish the model to the public cloud platform, and fill in the privatization configuration information in the public cloud platform to trigger the process of converting the public cloud operator to privatization.

[0034] S102: Convert the privatization configuration information into various configuration units associated with the private cloud operator.

[0035] In this step, the electronic device can convert the privatization configuration information into various configuration units associated with the private cloud operator. Specifically, the embodiment of the present application can convert the privatization configuration information into various configuration units associated with the private cloud operator through the privatization deployment packaging platform; wherein the configuration unit associated with the private cloud operator may include the following components: products, modules, images, models, preset resources, and startup scripts. The privatization deployment packaging platform can publish and save the above-mentioned related information.

[0036] The product in the embodiment of the present application can be a keyword matching operator; the module can include: 1) gateway agent 2) keyword matching service; the image can be a network management agent service image; the model can be a keyword matching network model; the preset resources can be keyword matching prediction service code, configuration file, data file; the startup script can be a keyword matching operator startup script.

[0037] S103: Based on the configuration units associated with the public cloud operator and the private cloud operator, convert the public cloud operator into a private cloud operator.

[0038] In this step, the electronic device can convert the public cloud operator into a private cloud operator based on the configuration units associated with the public cloud operator and the private cloud operator. Specifically, before converting the public cloud operator into the private cloud operator, the private cloud operator request sent by the target user can also be received through the public cloud platform; wherein the private cloud operator request carries the identification information of the private cloud operator; then, based on the identification information of the private cloud operator, the configuration units associated with the private cloud operator are searched in the public cloud platform; if the configuration units associated with the private cloud operator are found in the public cloud platform, the operation of converting the public cloud operator into the private cloud operator is performed based on the configuration units associated with the public cloud operator and the private cloud operator.

[0039] The method for converting a public cloud operator to a private one proposed in the embodiment of the present application first obtains the public cloud operator and the private configuration information of the public cloud operator; then converts the private configuration information into various configuration units associated with the private cloud operator; and then converts the public cloud operator to a private cloud operator based on the various configuration units associated with the public cloud operator and the private cloud operator. In other words, the present application can automatically convert a public cloud operator to a private cloud operator based on the private configuration information of the model party system. In the existing methods for converting public cloud operators to private ones, most of the implementations are completed through collaboration among various teams, and each team transforms the modules they are responsible for into private versions and manually deploys them separately. The project has a long delivery cycle and requires the support of multiple teams. The delivery effect is unstable and labor-intensive. Because the present application adopts the technical means of converting privatized configuration information into various configuration units associated with private cloud operators, it is possible to convert public cloud operators into private cloud operators based on the various configuration units associated with public cloud operators and private cloud operators, thereby overcoming the technical problems that the current traditional public cloud and private cloud delivery methods are different, there are inconsistencies in model effects and API integration methods, there are inconsistencies in operation and usage methods, which cause troubles to users and affect the user experience. The technical solution provided by the present application can automatically convert public cloud operators into private cloud operators, ensure the consistency of model effects and integration methods between multiple clouds, and unify public cloud and privatization calling methods; moreover, the technical solution of the embodiment of the present application is simple and convenient to implement, easy to popularize, and has a wider scope of application.

[0040] Embodiment 2

[0041] Figure 2 This is a second flow chart of the method for converting a public cloud operator to a private one provided in the embodiment of the present application. It is further optimized and expanded based on the above technical solution and can be combined with the above optional implementation methods. Figure 2 As shown, the method for converting a public cloud operator to a private one may include the following steps:

[0042] S201. Obtain public cloud operators and privatized configuration information of public cloud operators.

[0043] S202. Encrypt the model in the public cloud operator to obtain the encrypted model in the public cloud operator; and / or reinforce the code of the application in the public cloud operator to obtain the reinforced code of the application in the public cloud operator.

[0044] In this step, the electronic device can encrypt the model in the public cloud operator through the private deployment packaging platform to obtain the encrypted model in the public cloud operator; the code of the application in the public cloud operator is reinforced through the private deployment packaging platform to obtain the code of the reinforced application in the public cloud operator, the purpose of which is to convert the privatization configuration information into various configuration units associated with the private cloud operator based on the encrypted model in the public cloud operator and / or the code of the reinforced application in the cloud operator. Specifically, the embodiment of the present application can perform security reinforcement and model encryption on the code and model provided by the model party to ensure the security of the privatization delivery of the operator model and code. After the reinforcement and encryption are completed, the subsequent privatization release process is automatically triggered. Preferably, the embodiment of the present application can also verify the privatization configuration information through the private deployment packaging platform; if the private deployment packaging platform verifies the privatization configuration information, the privatization configuration information is saved in the public cloud platform, the purpose of which is to convert the privatization configuration information saved in the public cloud platform into the operation of various configuration units associated with the private cloud operator.

[0045] The security reinforcement in the embodiments of this application may include the following three aspects: 1) The operator service code integrates authentication and anti-debugging SDK through coding, so that the operator service has the security capabilities of permission control and anti-debugging attacks; 2) The operator service is obfuscated and compiled to improve the decompilation security capabilities of the code; 3) The executable program or ELF files such as SO are shelled and reinforced to improve the security capabilities of disassembly analysis or dynamic analysis. In addition, the model encryption in the embodiments of this application refers to the encrypted storage of the model file when it is submitted to the warehouse, supporting multiple encryption algorithms, including AES, RSA, etc., and directly downloading the encrypted file when using it; model decryption refers to loading the encrypted model file when the prediction service is running, and decrypting it in the memory to prevent the exposure of plain text data and improve the security of the model file.

[0046] S203: Based on the encrypted model in the public cloud operator and / or the hardened application code in the cloud operator, convert the privatized configuration information into various configuration units associated with the private cloud operator.

[0047] S204: Based on the configuration units associated with the public cloud operator and the private cloud operator, convert the public cloud operator into a private cloud operator.

[0048] The method for converting a public cloud operator to a private one proposed in the embodiment of the present application first obtains the public cloud operator and the private configuration information of the public cloud operator; then converts the private configuration information into various configuration units associated with the private cloud operator; and then converts the public cloud operator to a private cloud operator based on the various configuration units associated with the public cloud operator and the private cloud operator. In other words, the present application can automatically convert a public cloud operator to a private cloud operator based on the private configuration information of the model party system. In the existing methods for converting public cloud operators to private ones, most of the implementations are completed through collaboration among various teams, and each team transforms the modules they are responsible for into private versions and manually deploys them separately. The project has a long delivery cycle and requires the support of multiple teams. The delivery effect is unstable and labor-intensive. Because the present application adopts the technical means of converting privatized configuration information into various configuration units associated with private cloud operators, it is possible to convert public cloud operators into private cloud operators based on the various configuration units associated with public cloud operators and private cloud operators, thereby overcoming the technical problems that the current traditional public cloud and private cloud delivery methods are different, there are inconsistencies in model effects and API integration methods, there are inconsistencies in operation and usage methods, which cause troubles to users and affect the user experience. The technical solution provided by the present application can automatically convert public cloud operators into private cloud operators, ensure the consistency of model effects and integration methods between multiple clouds, and unify public cloud and privatization calling methods; moreover, the technical solution of the embodiment of the present application is simple and convenient to implement, easy to popularize, and has a wider scope of application.

[0049] Embodiment 3

[0050] Figure 3 This is a third flow chart of the method for converting a public cloud operator to a private cloud provided in an embodiment of the present application. This is further optimized and expanded based on the above technical solution, and can be combined with the above optional implementation methods. Figure 3 As shown, the method for converting a public cloud operator to a private one may include the following steps:

[0051] S301. Obtain public cloud operators and private configuration information of public cloud operators.

[0052] S302: Encrypt the model in the public cloud operator to obtain the encrypted model in the public cloud operator; and / or, reinforce the code of the application in the public cloud operator to obtain the reinforced code of the application in the public cloud operator.

[0053] In this step, the model in the public cloud operator can be encrypted through the private deployment packaging platform to obtain the encrypted model in the public cloud operator; the code of the application in the public cloud operator can be reinforced through the private deployment packaging platform to obtain the reinforced application code in the public cloud operator.

[0054] S303: deploy each configuration unit associated with the private cloud operator to a synchronous task or an asynchronous task in the task chain.

[0055] In this step, the electronic device can deploy each configuration unit associated with the private cloud operator to a synchronous task or an asynchronous task in the task chain; wherein the configuration unit includes: products, modules, images, models, preset resources and startup scripts. The privatization release process in the embodiment of the present application may include the following steps: parameter verification and preservation, product preservation, module preservation, release image preservation, release model preservation, release startup script preservation, release preset resources preservation, automated testing and product shelving. The above steps are managed in the form of a task chain and are divided into synchronous tasks and asynchronous tasks; wherein, the image, model, and preset resource information need to be dumped, so an asynchronous task is used, and the remaining steps are synchronous tasks.

[0056] Figure 4 is a flowchart of a task chain provided in an embodiment of the present application. Figure 4 As shown in the figure, it is assumed that the private release process includes three steps, namely step 1, step 2 and step 3; among them, step 1 is a synchronous task; step 2 is a local asynchronous task; step 3 is a cross-machine asynchronous task. After the synchronous task is started, the execution result is synchronously called back according to the task completion result; after the asynchronous task is started, the task execution result is asynchronously returned; among them, the cross-machine asynchronous task distributes the task to the worker machine that executes the task, and after the task is completed, each worker returns the execution result asynchronously.

[0057] S304. Convert the privatized configuration information into at least one of the images, models and preset resources associated with the private cloud operator through asynchronous tasks in the task chain, wherein the configuration unit includes the image, model and / or preset resources; and / or, convert the privatized configuration information into at least one of the products, modules and startup scripts associated with the private cloud operator through synchronous tasks in the task chain, wherein the configuration unit includes the product, module and / or startup script.

[0058] In the embodiment of the present application, the electronic device can convert the privatization configuration information into the image, model and preset resources associated with the private cloud operator through the asynchronous task in the task chain; and convert the privatization configuration information into the product, module and startup script associated with the private cloud operator through the synchronous task in the task chain. Since the image, model and preset resource information need to be dumped, an asynchronous task is used, and the remaining steps are synchronous tasks.

[0059] S305. Extract corresponding search information and content information from each configuration unit associated with the private cloud operator; wherein the search information is information used to find each configuration unit; and the content information is information used to represent the data content of each configuration unit.

[0060] In this step, the electronic device can extract the corresponding search information and content information from each configuration unit associated with the private cloud operator. For example, assuming that a certain data can be expressed in the form of Key+Value, then the Key here is the search information, and the Value here is the content information.

[0061] S306: Call back the search information of each configuration unit associated with the private cloud operator to the public cloud platform; and publish the content information of each configuration unit associated with the private cloud operator to the file storage platform.

[0062] In this step, the retrieval information of each configuration unit associated with the private cloud operator can be called back to the public cloud platform through the privatization deployment packaging platform; the content information of each configuration unit associated with the private cloud operator can be published to the file storage platform through the privatization deployment packaging platform.

[0063] In this step, the electronic device can call back the search information of each configuration unit associated with the private cloud operator to the public cloud platform through the private deployment packaging platform; and publish the content information of each configuration unit associated with the private cloud operator to the file storage platform (bos) through the private deployment packaging platform. Specifically, the file storage platform can store images, models, charts, configuration files, and sql files.

[0064] S307: Based on the public cloud operator and the retrieval information of each configuration unit called back to the public cloud platform and the content information of each configuration unit published to the file storage platform, the public cloud operator is converted into a private cloud operator.

[0065] Figure 5 4 is a schematic diagram of a fourth process of the method for converting a public cloud operator to a private one provided in an embodiment of the present application. Figure 5As shown, Easypack is a private deployment packaging platform; irepo is a material model storage platform; and boss is a file storage platform. The method for converting a cloud operator to private ownership provided by the implementation of this application may include the following steps: 1) The model party publishes the model to the public cloud platform and fills in the private information configuration to trigger the public cloud operator conversion to private ownership process. 2) The code and model provided by the model party are securely reinforced and the model is encrypted to ensure the security of the private delivery of the operator model and code. After the reinforcement and encryption are completed, the subsequent private release process is automatically triggered. 3) The private configuration information is verified, and the operator-related private information is saved after the verification passes. 4) The private configuration information provided by the model party is converted into several components, including products, modules, images, models, preset resources, and startup scripts, and the relevant information is published and saved separately. 5) The private product is the highest unit corresponding to the public cloud operator, and multiple modules can be associated with the product; each module is associated with related images, models, preset resources, and startup scripts. Among them, in the step of starting the script, the startup script will be automatically generated according to the information filled in by the model party; 6) According to the above saved operator privatization information, start the automated test step; after the test passes, the privatized product corresponding to the public cloud operator will be generated on the private cloud platform and put on the shelf, and users can get the privatized product corresponding to the public cloud operator on the private cloud platform. 7) The steps of privatization release are managed in the form of task chains, which are divided into synchronous tasks and asynchronous tasks. Among them, the image, model, and preset resource information need to be dumped, so asynchronous tasks are used, and the remaining steps are synchronous tasks. 8) After the synchronous task is started, the execution result is synchronously called back according to the task completion result. 9) After the asynchronous task is started, the task execution result is returned asynchronously; among them, the cross-machine asynchronous task distributes the task to the worker machine that executes the task, and after the task is completed, each worker returns the execution result asynchronously. 10) The task chain calls back the result to the public cloud platform according to the task execution result of each step, completing the privatization process of the public cloud operator.

[0066] The embodiments of the present application can bring the following significant improvements or results: 1. The model party only needs to supplement the privatization configuration information required by the public cloud operator to automatically complete the conversion of the corresponding private cloud product and generate a consistent private cloud product. There is no need to maintain the public cloud and privatization versions at the same time, which ensures the consistency of model effects and the uniformity of interfaces. 2. The conversion solution provides security reinforcement and model encryption functions to ensure the safe delivery of operators. 3. The adopted task chain management method has the following advantages to ensure the idempotence, visibility, sustainability and scalability of the conversion process: 1) Idempotence: It can be triggered repeatedly after failure; after the privatization release is repeatedly triggered, the successful idempotent steps are not executed repeatedly and the results are consistent; 2) Visibility: The synchronous and asynchronous tasks of each step have abnormal information callback display, which is convenient for timely investigation when the conversion process is abnormal; 3) Sustainability: The conversion process supports operator upgrades to ensure that the public cloud operator and the privatization product maintain a continuous correspondence and are easy to manage. 4) Scalability: The task chain is easy to expand, supports the access of privatization processes of other platforms, and supports the expansion of other functions.

[0067] The method for converting a public cloud operator to a private one proposed in the embodiment of the present application first obtains the public cloud operator and the private configuration information of the public cloud operator; then converts the private configuration information into various configuration units associated with the private cloud operator; and then converts the public cloud operator to a private cloud operator based on the various configuration units associated with the public cloud operator and the private cloud operator. In other words, the present application can automatically convert a public cloud operator to a private cloud operator based on the private configuration information of the model party system. In the existing methods for converting public cloud operators to private ones, most of the implementations are completed through collaboration among various teams, and each team transforms the modules they are responsible for into private versions and manually deploys them separately. The project has a long delivery cycle and requires the support of multiple teams. The delivery effect is unstable and labor-intensive. Because the present application adopts the technical means of converting privatized configuration information into various configuration units associated with private cloud operators, it is possible to convert public cloud operators into private cloud operators based on the various configuration units associated with public cloud operators and private cloud operators, thereby overcoming the technical problems that the current traditional public cloud and private cloud delivery methods are different, there are inconsistencies in model effects and API integration methods, there are inconsistencies in operation and usage methods, which cause troubles to users and affect the user experience. The technical solution provided by the present application can automatically convert public cloud operators into private cloud operators, ensure the consistency of model effects and integration methods between multiple clouds, and unify public cloud and privatization calling methods; moreover, the technical solution of the embodiment of the present application is simple and convenient to implement, easy to popularize, and has a wider scope of application.

[0068] Embodiment 4

[0069] Figure 6 Schematic diagram of the structure of the apparatus for converting a public cloud operator to a private one provided in the embodiment of the present application. Figure 6 As shown, the device 600 includes: a receiving module 601 and a conversion module 602; wherein,

[0070] The receiving module 601 is used to obtain the public cloud operator and the privatization configuration information of the public cloud operator;

[0071] The conversion module 602 is used to convert the privatization configuration information into various configuration units associated with the private cloud operator; based on the various configuration units associated with the public cloud operator and the private cloud operator, convert the public cloud operator into the private cloud operator.

[0072] Optionally, the conversion module 602 is also used to encrypt the model in the public cloud operator to obtain the encrypted model in the public cloud operator; and / or, to reinforce the code of the application in the public cloud operator to obtain the reinforced application code in the public cloud operator, and based on the encrypted model in the public cloud operator and / or the reinforced application code in the public cloud operator, convert the privatized configuration information into various configuration units associated with the private cloud operator.

[0073] Optionally, the conversion module 602 is also used to verify the privatization configuration information; if the privatization configuration information is verified, the privatization configuration information is saved in the public cloud platform; and the privatization configuration information saved in the public cloud platform is converted into various configuration units associated with the private cloud operator.

[0074] Optionally, the conversion module 602 is specifically used to deploy each configuration unit associated with the private cloud operator to a synchronous task or an asynchronous task in the task chain; convert the privatized configuration information into at least one of the images, models and preset resources associated with the private cloud operator through the asynchronous tasks in the task chain, wherein the configuration unit includes the image, model and / or preset resources; and / or, convert the privatized configuration information into at least one of the products, modules and startup scripts associated with the private cloud operator through the synchronous tasks in the task chain, wherein the configuration unit includes the product, module and / or startup script.

[0075] Optionally, the conversion module 602 is also used to extract corresponding retrieval information and content information from each configuration unit associated with the private cloud operator; wherein the retrieval information is information used to find each configuration unit; the content information is information used to represent the data content of each configuration unit; the retrieval information of each configuration unit associated with the private cloud operator is called back to the public cloud platform; the content information of each configuration unit associated with the private cloud operator is published to the file storage platform, and based on the public cloud operator and the retrieval information of each configuration unit called back to the public cloud platform and the content information of each configuration unit published to the file storage platform, the public cloud operator is converted into the private cloud operator.

[0076] Optionally, the conversion module 602 is also used to receive a private cloud operator request sent by a target user through a public cloud platform; wherein the private cloud operator request carries identification information of the private cloud operator; based on the identification information of the private cloud operator, searching the public cloud platform for each configuration unit associated with the private cloud operator; wherein, if the configuration units associated with the private cloud operator are found in the public cloud platform, an operation of converting the public cloud operator into the private cloud operator is performed based on the public cloud operator and the configuration units associated with the private cloud operator.

[0077] The above-mentioned public cloud operator conversion to private cloud device can execute the method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in this embodiment, please refer to the public cloud operator conversion to private cloud method provided in any embodiment of the present application.

[0078] Embodiment 5

[0079] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0080] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0081] like Figure 7As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0082] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0083] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as the method of converting a public cloud operator to privatization. For example, in some embodiments, the method of converting a public cloud operator to privatization may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the method of converting a public cloud operator to privatization described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to execute the method of converting a public cloud operator to a private one in any other appropriate manner (eg, by means of firmware).

[0084] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0085] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0086] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0087] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0088] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0089] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0090] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here. In the technical solution of this disclosure, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good customs.

[0091] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for converting a public cloud operator to a private one, the method comprising: Obtaining public cloud operators and privatized configuration information of the public cloud operators; Converting the privatization configuration information into various configuration units associated with the private cloud operator; Based on the configuration units associated with the public cloud operator and the private cloud operator, converting the public cloud operator into the private cloud operator; The privatization configuration information is converted into various configuration units associated with the private cloud operator, including: Deploy each configuration unit associated with the private cloud operator to an asynchronous task in the task chain; Converting the privatization configuration information into at least one of an image, a model, and a preset resource associated with the private cloud operator through an asynchronous task in the task chain, wherein the configuration unit includes an image, a model, and / or a preset resource; The method further comprises: Extracting corresponding search information and content information from each configuration unit associated with the private cloud operator; wherein the search information is information used to find each configuration unit, and the content information is information used to represent the data content of each configuration unit; Call back the retrieval information of each configuration unit associated with the private cloud operator to the public cloud platform; Publishing the content information of each configuration unit associated with the private cloud operator to the file storage platform; The converting the public cloud operator into the private cloud operator based on the configuration units associated with the public cloud operator and the private cloud operator includes: Based on the public cloud operator and the retrieval information of each configuration unit called back to the public cloud platform and the content information of each configuration unit published to the file storage platform, the public cloud operator is converted into the private cloud operator.

2. According to the method of claim 1, before converting the privatization configuration information into each configuration unit associated with the private cloud operator, the method further comprises: Encrypting the model in the public cloud operator to obtain the encrypted model in the public cloud operator; and / or, Reinforcing the code of the application in the public cloud operator to obtain the reinforced code of the application in the public cloud operator; The converting the privatization configuration information into various configuration units associated with the private cloud operator includes: Based on the encrypted model in the public cloud operator and / or the hardened application code in the public cloud operator, the privatized configuration information is converted into various configuration units associated with the private cloud operator.

3. The method according to claim 1 or 2, before converting the privatization configuration information into each configuration unit associated with the private cloud operator, the method further comprises: Verifying the privatization configuration information; If the privatization configuration information passes the verification, the privatization configuration information is saved in the public cloud platform; The converting the privatization configuration information into various configuration units associated with the private cloud operator includes: The privatization configuration information stored in the public cloud platform is converted into various configuration units associated with the private cloud operator.

4. The method according to claim 1, converting the privatization configuration information into various configuration units associated with the private cloud operator, further comprising: Deploy each configuration unit associated with the private cloud operator to a synchronization task in the task chain; The privatized configuration information is converted into at least one of a product, a module, and a startup script associated with the private cloud operator through a synchronization task in the task chain, wherein the configuration unit includes a product, a module, and / or a startup script.

5. The method according to claim 1, before converting the public cloud operator to the private cloud operator based on the respective configuration units associated with the public cloud operator and the private cloud operator, the method further comprises: Receiving a private cloud operator request sent by a target user through a public cloud platform; wherein the private cloud operator request carries identification information of the private cloud operator; Based on the identification information of the private cloud operator, the various configuration units associated with the private cloud operator are searched in the public cloud platform; wherein, if the various configuration units associated with the private cloud operator are found in the public cloud platform, an operation of converting the public cloud operator into the private cloud operator is performed based on the various configuration units associated with the public cloud operator and the private cloud operator.

6. A device for converting a public cloud operator to a private one, the device comprising: A receiving module and a conversion module; wherein, The receiving module is used to obtain the public cloud operator and the privatization configuration information of the public cloud operator; The conversion module is used to convert the privatization configuration information into various configuration units associated with the private cloud operator; based on the various configuration units associated with the public cloud operator and the private cloud operator, convert the public cloud operator into the private cloud operator; The conversion module is specifically used to deploy each configuration unit associated with the private cloud operator to an asynchronous task in the task chain; through the asynchronous task in the task chain, convert the privatization configuration information into at least one of an image, a model and a preset resource associated with the private cloud operator, wherein the configuration unit includes an image, a model and / or a preset resource; The conversion module is also used to extract corresponding retrieval information and content information from each configuration unit associated with the private cloud operator; wherein the retrieval information is information used to find each configuration unit; the content information is information used to represent the data content of each configuration unit; the retrieval information of each configuration unit associated with the private cloud operator is called back to the public cloud platform; the content information of each configuration unit associated with the private cloud operator is published to the file storage platform, and based on the public cloud operator and the retrieval information of each configuration unit called back to the public cloud platform and the content information of each configuration unit published to the file storage platform, the public cloud operator is converted into the private cloud operator.

7. According to the device according to claim 6, the conversion module is also used to encrypt the model in the public cloud operator to obtain the encrypted model in the public cloud operator; and / or, to reinforce the code of the application in the public cloud operator to obtain the reinforced application code in the public cloud operator, and based on the encrypted model in the public cloud operator and / or the reinforced application code in the public cloud operator, convert the privatization configuration information into various configuration units associated with the private cloud operator.

8. According to the device according to claim 6 or 7, the conversion module is also used to verify the privatization configuration information; if the privatization configuration information is verified, the privatization configuration information is saved in the public cloud platform, and the privatization configuration information saved in the public cloud platform is converted into various configuration units associated with the private cloud operator.

9. The device according to claim 6, wherein the conversion module is further used to deploy each configuration unit associated with the private cloud operator to a synchronization task in a task chain; through the synchronization task in the task chain, the privatization configuration information is converted into at least one of a product, a module, and a startup script associated with the private cloud operator, wherein: The configuration unit includes a product, a module and / or a startup script.

10. The device according to claim 6, wherein the conversion module is further used to receive a private cloud operator request sent by a target user through a public cloud platform; wherein: The private cloud operator request carries the identification information of the private cloud operator; based on the identification information of the private cloud operator, the various configuration units associated with the private cloud operator are searched in the public cloud platform; wherein, if the various configuration units associated with the private cloud operator are found in the public cloud platform, an operation of converting the public cloud operator into the private cloud operator is performed based on the various configuration units associated with the public cloud operator and the private cloud operator.

11. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, 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 to enable the at least one processor to perform the method according to any one of claims 1 to 5.

12. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-5.

13. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 5.