A method for generating private cloud algorithm model based on federated learning

By building a multi-channel shared convolutional neural network model in the public cloud and conducting offline training on the private cloud, it solves the problem of lack of training data for large enterprises, achieves data privacy protection and model personalization, and enhances customer experience and sense of security.

CN113343280BActive Publication Date: 2024-08-23TIME YUNYING (SHENZHEN) TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110769541.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-07
Publication Date
2024-08-23
Estimated Expiration
2041-07-07

AI Technical Summary

Technical Problem

When large enterprises build neural network models for learning, they lack training data, which prevents private cloud customers from effectively improving comfort and product competitiveness. At the same time, they need to protect data privacy and avoid data leaks.

Method used

By building a multi-channel combined shared convolutional neural network model in the public cloud, private cloud customers download and train it offline, compare model differences and upload update points encrypted, build an update model based on update standards, and provide training data for update sharing model while ensuring data privacy.

Benefits of technology

It realizes personalized model training for private cloud customers, guarantees data privacy, increases customers' sense of security and user experience, and provides training data for shared convolutional neural network models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113343280B
    Figure CN113343280B
Patent Text Reader

Abstract

The present invention discloses a method for generating a private cloud algorithm model based on joint learning, comprising the following steps: step one: constructing a shared convolutional neural network model with multi-channel combination in a public cloud; step two: a private cloud customer downloads the shared convolutional neural network model from the public cloud; step three: performing offline training on the initial convolutional neural network through the storage data on the private cloud to obtain a personal-end convolutional neural network model; step four: comparing the personal-end convolutional neural network model with the shared convolutional neural network model; when the personal-end convolutional neural network model and the shared convolutional neural network model are different; downloading the shared convolutional neural network model from the public cloud, and then performing offline training on the initial convolutional neural network according to the storage data on the private cloud to obtain a personalized personal-end convolutional neural network model, so that the customer can use it more easily and improve the customer experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of cloud computing, and specifically is a method for generating a private cloud algorithm model based on joint learning. Background Art

[0002] A private cloud is built for a single customer, thus providing the most effective control over data, security, and service quality. The company owns the infrastructure and can control how applications are deployed on it. Private clouds can be deployed within the firewall of an enterprise data center or in a secure hosting location. The core attribute of a private cloud is proprietary resources. Private clouds can be built by a company's own IT organization or by a cloud provider. For large enterprises, processes are the core of their management. Without perfect processes, the enterprise will become a mess. Not only are there many business-related processes, but there are also many IT department processes, such as those related to Sarbanes-Oxley, and these processes are very critical to the IT department. In this regard, public clouds are at a disadvantage because if they are used, there will be many impacts on the IT department's processes, such as in terms of data management and security regulations. In private clouds, because they are generally within the firewall, they do not have much impact on the IT department's processes.

[0003] Although every public cloud provider claims that its services are very secure in all aspects, especially in data management, for enterprises, especially large enterprises, business-related data is their lifeline and cannot be threatened in any form. Therefore, in the short term, large enterprises will not put their mission-critical applications on the public cloud. Private clouds are very advantageous in this regard because they are generally built behind firewalls.

[0004] However, in order to make it more convenient for customers to use, it is necessary to establish a neural network model for learning, improve customer comfort, and increase product competitiveness. However, establishing a neural network model for learning requires a large amount of training data, and individual private cloud customers cannot provide a large amount of training data for training. Therefore, in order to solve the above problem, the present invention provides a private cloud algorithm model generation method based on joint learning. Summary of the invention

[0005] In order to solve the problems existing in the above scheme, the present invention provides a private cloud algorithm model generation method based on joint learning; by encrypting and uploading all personal update points to the public cloud, only personal update points are uploaded, and training data is not uploaded. At the same time, personal update points are also encrypted for transmission, thereby protecting the data privacy of private cloud customers and increasing their sense of security. Because for enterprises, especially large enterprises, business-related data is their lifeline and cannot be threatened in any form. The present invention can solve this problem, that is, a large amount of training data is provided for the shared convolutional neural network model, and the customer's data privacy is protected.

[0006] The purpose of the present invention can be achieved through the following technical solutions:

[0007] A method for generating a private cloud algorithm model based on joint learning, the specific method comprising the following steps:

[0008] Step 1: Build a shared convolutional neural network model with multiple channels in the public cloud;

[0009] Step 2: Private cloud customers download the shared convolutional neural network model from the public cloud;

[0010] Step 3: Use the data stored on the private cloud to perform offline training on the initial convolutional neural network to obtain a personal convolutional neural network model;

[0011] Step 4: Compare the personal convolutional neural network model with the shared convolutional neural network model;

[0012] When the personal convolutional neural network model and the shared convolutional neural network model are different; obtain the different personal update points between the personal convolutional neural network model and the shared convolutional neural network model; encrypt the personal update points and upload them to the public cloud.

[0013] Furthermore, it also includes:

[0014] Step 5: Build an update model on the public cloud, obtain update standards, integrate the update standards and personal update points and mark them as update input data, input the update input data into the update model, and obtain update training data;

[0015] Step 6: Update the shared convolutional neural network model by updating the training data.

[0016] Furthermore, in step 4, when the personal convolutional neural network model and the shared convolutional neural network model are the same, no operation is performed.

[0017] Furthermore, the multi-channel shared convolutional neural network model constructed in step one includes a behavior channel and a suggestion channel.

[0018] Furthermore, the behavior channel and the suggestion channel include independent first layer network, second layer network, third layer network and fourth layer network respectively, and the behavior channel and the suggestion channel also include a common fifth layer network, sixth layer network, seventh layer network, eighth layer network and ninth layer network.

[0019] Furthermore, the first network layers of the behavior channel and the suggestion channel are both input layers, the input layer of the behavior channel receives the operation data of the private cloud customer; the input layer of the suggestion channel receives the optimization suggestions of the private cloud customer.

[0020] Furthermore, the second-layer networks of the behavior channel and the suggestion channel respectively include two two-dimensional convolutional layers and two downsampling layers; in the second-layer networks of the behavior channel and the suggestion channel, the two-dimensional convolutional layer uses a convolution kernel with a number of n and a scale of cw*ch to perform convolution operations on the image and optical flow input by the first-layer network respectively, and the downsampling layer uses a sampling kernel with a scale of pw*ph to perform maximum pooling on the output of the two-dimensional convolutional layer.

[0021] Furthermore, the third network layer, the fourth network layer, the fifth network layer and the sixth network layer of the behavior channel and the suggestion channel each include two two-dimensional convolutional layers and two downsampling layers.

[0022] Furthermore, the seventh network layer is a fully connected layer, which is used to map the output of the sixth network layer to an fn-dimensional vector space; fn is the number of nodes in the seventh network layer;

[0023] The eighth network layer is a fully connected layer, which is used to remap the output of the seventh network layer to an fn-dimensional vector space;

[0024] The ninth network layer is a fully connected layer, which is used to map the output of the eighth network layer to the sample category space to form a feature vector with the same number of categories.

[0025] Compared with the prior art, the beneficial effects of the present invention are as follows: by constructing a shared convolutional neural network model with multi-channel combination in a public cloud; private cloud customers download the shared convolutional neural network model from the public cloud; the initial convolutional neural network is trained offline through the stored data on the private cloud to obtain a personal-end convolutional neural network model; a personalized personal-end convolutional neural network model is obtained, which makes it easier for customers to use and increases the customer experience; by constructing an update model on a public cloud, obtaining update standards, integrating the update standards and personal update points into update input data, inputting the update input data into the update model, obtaining update training data, screening the personal update points uploaded to the public cloud, eliminating non-compliant data, and converting the update input data into update training data to provide training data for the shared convolutional neural network model; ensuring that the shared convolutional neural network model downloaded by the initial user is the latest version;

[0026] By comparing the personal-side convolutional neural network model with the shared convolutional neural network model; when the personal-side convolutional neural network model and the shared convolutional neural network model are different; obtaining the different personal update points between the personal-side convolutional neural network model and the shared convolutional neural network model; encrypting the personal update points and uploading them to the public cloud; when the personal-side convolutional neural network model and the shared convolutional neural network model are the same; no operation is performed; encrypting all personal update points and uploading them to the public cloud, only uploading the personal update points, and not uploading the training data, and at the same time, the personal update points are also encrypted for transmission, thereby protecting the data privacy of private cloud customers and increasing the sense of security of customers. Because for enterprises, especially large enterprises, business-related data is their lifeline and cannot be threatened in any form, and the present invention can solve this problem, that is, providing a large amount of training data for the shared convolutional neural network model and protecting the data privacy of customers. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0028] Figure 1 This is a principle block diagram of the present invention. DETAILED DESCRIPTION

[0029] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] like Figure 1 As shown, a method for generating a private cloud algorithm model based on joint learning includes the following steps:

[0031] Step 1: Build a shared convolutional neural network model with multiple channels in the public cloud;

[0032] Step 2: Private cloud customers download the shared convolutional neural network model from the public cloud;

[0033] Step 3: Use the data stored on the private cloud to perform offline training on the initial convolutional neural network to obtain a personal convolutional neural network model;

[0034] By downloading the shared convolutional neural network model from the public cloud and then training the initial convolutional neural network offline based on the data stored on the private cloud, a personalized personal convolutional neural network model is obtained, making it easier for customers to use and improving their experience.

[0035] Step 4: Compare the personal convolutional neural network model with the shared convolutional neural network model;

[0036] When the personal convolutional neural network model and the shared convolutional neural network model are different; obtaining the different personal update points between the personal convolutional neural network model and the shared convolutional neural network model; encrypting the personal update points and uploading them to the public cloud;

[0037] When the personal convolutional neural network model and the shared convolutional neural network model are the same, no operation is performed;

[0038] Step 5: Build an update model on the public cloud and obtain the update standard. The update standard is discussed and set by the expert group, mainly considering the update difficulty, regulatory requirements and company requirements. The update standard and personal update points are integrated and marked as update input data, and the update input data is input into the update model to obtain update training data.

[0039] Step 6: Update the shared convolutional neural network model by updating the training data;

[0040] By uploading all personal update points to the public cloud in encrypted form, only personal update points are uploaded, and training data is not uploaded. At the same time, personal update points are also encrypted for transmission, thereby protecting the data privacy of private cloud customers and increasing their sense of security. For enterprises, especially large enterprises, business-related data is their lifeline and cannot be threatened in any form. The present invention can solve this problem, that is, it provides training data for the shared convolutional neural network model and protects the data privacy of customers.

[0041] In step 1, a multi-channel shared convolutional neural network model is constructed, including a behavior channel and a suggestion channel;

[0042] The behavior channel and the suggestion channel include independent first layer network, second layer network, third layer network and fourth layer network respectively, and the behavior channel and the suggestion channel also include common fifth layer network, sixth layer network, seventh layer network, eighth layer network and ninth layer network;

[0043] The first network layers of the behavior channel and the suggestion channel are both input layers. The input layer of the behavior channel receives the operation data of the private cloud customer; the input layer of the suggestion channel receives the optimization suggestions of the private cloud customer.

[0044] The second network layer of the behavior channel and the suggestion channel includes two two-dimensional convolution layers and two downsampling layers respectively; in the second network layer of the behavior channel and the suggestion channel, the two-dimensional convolution layer uses a convolution kernel with a number of n and a scale of cw*ch to perform convolution operations on the image and optical flow input by the first network layer respectively, and the downsampling layer uses a sampling kernel with a scale of pw*ph to perform maximum pooling on the output of the two-dimensional convolution layer;

[0045] The third network layer of the behavior channel and the suggestion channel includes two two-dimensional convolution layers and two downsampling layers respectively; in the third network layer of the behavior channel and the suggestion channel, the two-dimensional convolution layer is used to perform convolution operation on the output of the second network layer, and the downsampling layer is used to perform maximum pooling on the output of the two-dimensional convolution layer;

[0046] The fourth network layer of the behavior channel and the suggestion channel includes two two-dimensional convolution layers and two downsampling layers respectively; in the fourth network layer of the behavior channel and the suggestion channel, the two-dimensional convolution layer is used to perform convolution operation on the output of the third network layer, and the downsampling layer is used to perform maximum pooling on the output of the two-dimensional convolution layer;

[0047] The fifth network layer includes a two-dimensional convolution layer and a downsampling layer; in the fifth network layer, the two-dimensional convolution layer is used to merge and convolve the outputs of the fourth network layer of the behavior channel and the suggestion channel, and the downsampling layer is used to perform maximum pooling on the output of the two-dimensional convolution layer;

[0048] The sixth network layer includes a two-dimensional convolution layer and a downsampling layer; in the sixth network layer, the two-dimensional convolution layer is used to merge and convolve the output of the fifth network layer, and the downsampling layer is used to perform maximum pooling on the output of the two-dimensional convolution layer;

[0049] The seventh layer network is a fully connected layer, which is used to map the output of the sixth layer network to an fn-dimensional vector space; fn is the number of nodes in the seventh layer network;

[0050] The eighth network layer is a fully connected layer, which is used to remap the output of the seventh network layer to an fn-dimensional vector space;

[0051] The ninth network layer is a fully connected layer, which is used to map the output of the eighth network layer to the sample category space to form a feature vector with the same number of categories;

[0052] The method for building an updated model on the public cloud in step 5 includes:

[0053] Acquire update history data; the update history data includes update standards and personal update points;

[0054] Update training data corresponding to updated historical data; construct an artificial intelligence model; the artificial intelligence model includes an error back propagation neural network, an RBF neural network and a deep convolutional neural network; divide the updated historical data and the corresponding state labels into a training set, a test set and a verification set according to a set ratio; the set ratio includes 2:1:1, 3:2:1 and 3:1:1; train, test and verify the artificial intelligence model through the training set, the test set and the verification set; mark the trained artificial intelligence model as an updated model.

[0055] The above formulas are all calculated by removing dimensions and taking their numerical values. The formula is a formula that is closest to the actual situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained by simulating a large amount of data.

[0056] The working principle of the present invention is as follows: constructing a shared convolutional neural network model with multi-channel combination in a public cloud; a private cloud customer downloads the shared convolutional neural network model from the public cloud; offline training the initial convolutional neural network through the storage data on the private cloud to obtain a personal-end convolutional neural network model; comparing the personal-end convolutional neural network model with the shared convolutional neural network model; when the personal-end convolutional neural network model and the shared convolutional neural network model are different; obtaining different personal update points between the personal-end convolutional neural network model and the shared convolutional neural network model; encrypting the personal update point and uploading it to the public cloud; when the personal-end convolutional neural network model and the shared convolutional neural network model are different, the personal update point is encrypted and uploaded to the public cloud; When the convolutional neural network models are the same; do not perform operations; obtain update history data; obtain update training data corresponding to the update history data; build an artificial intelligence model; divide the update history data and the corresponding status labels into training sets, test sets, and verification sets according to the set ratio; train, test, and verify the artificial intelligence model through the training set, test set, and verification set; mark the trained artificial intelligence model as the update model; obtain the update standard, integrate the update standard and the personal update point and mark it as the update input data, input the update input data into the update model, and obtain the update training data; update the shared convolutional neural network model through the update training data;

[0057] The first network layers of the behavior channel and the suggestion channel are both input layers. The input layer of the behavior channel receives the operation data of the private cloud customers. The input layer of the suggestion channel receives the optimization suggestions of the private cloud customers. The second network layers of the behavior channel and the suggestion channel include two two-dimensional convolution layers and two downsampling layers respectively. In the second network layers of the behavior channel and the suggestion channel, the two-dimensional convolution layer uses a convolution kernel with a number of n and a scale of cw*ch to perform convolution operations on the image and optical flow input by the first network layer respectively, and the downsampling layer uses a sampling kernel with a scale of pw*ph to perform maximum pooling on the output of the two-dimensional convolution layer. The third network layer of the behavior channel and the suggestion channel includes two two-dimensional convolution layers and two downsampling layers respectively; in the third network layer of the behavior channel and the suggestion channel, the two-dimensional convolution layer is used to perform convolution operation on the output of the second network layer, and the downsampling layer is used to perform maximum pooling on the output of the two-dimensional convolution layer; the fourth network layer of the behavior channel and the suggestion channel includes two two-dimensional convolution layers and two downsampling layers respectively; in the fourth network layer of the behavior channel and the suggestion channel, the two-dimensional convolution layer is used to perform convolution operation on the output of the third network layer, and the downsampling layer is used to perform maximum pooling on the output of the two-dimensional convolution layer;

[0058] The fifth network layer includes a two-dimensional convolution layer and a downsampling layer; in the fifth network layer, the two-dimensional convolution layer is used to merge and convolve the outputs of the fourth network of the behavior channel and the suggestion channel, and the downsampling layer is used to perform maximum pooling on the output of the two-dimensional convolution layer; the sixth network layer includes a two-dimensional convolution layer and a downsampling layer; in the sixth network layer, the two-dimensional convolution layer is used to merge and convolve the outputs of the fifth network, and the downsampling layer is used to perform maximum pooling on the outputs of the two-dimensional convolution layer; the seventh network layer is a fully connected layer, which is used to map the output of the sixth network layer to the fn-dimensional vector space; fn is the number of nodes in the seventh network layer; the eighth network layer is a fully connected layer, which is used to remap the output of the seventh network layer to the fn-dimensional vector space; the ninth network layer is a fully connected layer, which is used to map the output of the eighth network layer to the sample category space to form a feature vector with the same number of categories.

[0059] In the embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation; the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the method of this embodiment.

[0060] It is also obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention.

[0061] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0062] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The second and other words are used to indicate names, but not to indicate any particular order.

[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical method of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A method for generating a private cloud algorithm model based on federated learning. It is characterized in that The specific method includes the following steps: Step 1: Build a shared convolutional neural network model with multiple channels in the public cloud; Step 2: The private cloud customer downloads the shared convolutional neural network model from the public cloud to the private cloud; Step 3: Use the data stored on the private cloud to perform offline training on the initial convolutional neural network to obtain a personal convolutional neural network model; Step 4: Compare the personal convolutional neural network model with the shared convolutional neural network model; When the personal convolutional neural network model and the shared convolutional neural network model are different, obtain the different personal update points between the personal convolutional neural network model and the shared convolutional neural network model, and encrypt and upload the personal update points to the public cloud; Also includes: Step 5: Build an update model on the public cloud, obtain update standards, integrate the update standards and personal update points and mark them as update input data, input the update input data into the update model, and obtain update training data; Step 6: Update the shared convolutional neural network model by updating the training data; In step 4, if the personal convolutional neural network model and the shared convolutional neural network model are the same, no operation is performed; The method for building an updated model on the public cloud in step 5 includes: Acquire update history data; the update history data includes update standards and personal update points; Update training data corresponding to updated historical data; construct an artificial intelligence model; the artificial intelligence model includes an error back propagation neural network, an RBF neural network and a deep convolutional neural network; divide the updated historical data and the corresponding state labels into a training set, a test set and a verification set according to a set ratio; the set ratio includes 2:1:1, 3:2:1 and 3:1:1; train, test and verify the artificial intelligence model through the training set, the test set and the verification set; mark the trained artificial intelligence model as an updated model.

2. According to the method for generating a private cloud algorithm model based on joint learning according to claim 1, It is characterized in that In step 1, a multi-channel shared convolutional neural network model is constructed, including a behavior channel and a suggestion channel.

3. According to the method for generating a private cloud algorithm model based on joint learning according to claim 2, It is characterized in that The behavior channel and suggestion channel include independent first layer network, second layer network, third layer network and fourth layer network respectively, and the behavior channel and suggestion channel also include common fifth layer network, sixth layer network, seventh layer network, eighth layer network and ninth layer network.

4. According to the method for generating a private cloud algorithm model based on joint learning according to claim 3, It is characterized in that The first network layers of the behavior channel and the suggestion channel are both input layers. The input layer of the behavior channel receives the operation data of the private cloud customer; the input layer of the suggestion channel receives the optimization suggestions of the private cloud customer.

5. According to the method for generating a private cloud algorithm model based on joint learning according to claim 3, It is characterized in that The second-layer network of the behavior channel and the suggestion channel respectively includes two two-dimensional convolutional layers and two downsampling layers; in the second-layer network of the behavior channel and the suggestion channel, the two-dimensional convolutional layer uses a convolution kernel with a number of n and a scale of cw*ch to perform convolution operations on the image and optical flow input by the first-layer network respectively, and the downsampling layer uses a sampling kernel with a scale of pw*ph to perform maximum pooling on the output of the two-dimensional convolutional layer.

6. According to the method for generating a private cloud algorithm model based on joint learning according to claim 3, It is characterized in that The third network layer, the fourth network layer, the fifth network layer and the sixth network layer of the behavior channel and the suggestion channel each include two two-dimensional convolutional layers and two downsampling layers.

7. According to the method for generating a private cloud algorithm model based on joint learning according to claim 3, It is characterized in that The seventh layer network is a fully connected layer, which is used to map the output of the sixth layer network to an fn-dimensional vector space; fn is the number of nodes in the seventh layer network; The eighth network layer is a fully connected layer, which is used to remap the output of the seventh network layer to an fn-dimensional vector space; The ninth network layer is a fully connected layer, which is used to map the output of the eighth network layer to the sample category space to form a feature vector with the same number of categories.