Message recommendation optimization method, electronic device, medium and program product

Through homomorphic encryption and aggregation key technology, the problem of data privacy exposure during message recommendation is solved, message recommendation is realized without leaking data privacy, and data protection is enhanced.

CN114584282BActive Publication Date: 2024-08-23WEBANK (CHINA)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210252761.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-15
Publication Date
2024-08-23
Estimated Expiration
2042-03-15

AI Technical Summary

Technical Problem

In the existing technology, data privacy cannot be protected during message recommendation. The message recommender completely exposes his or her data privacy to the message recommendation platform, resulting in the risk of data leakage.

Method used

Receive the dense seed user characteristic information sent by the second party through homomorphic encryption technology, calculate the similarity between the local user node and the dense seed user characteristic information, and use the aggregate key information to encrypt the similarity information, only in the second party Party decrypts the corresponding data to ensure that data privacy is not leaked.

Benefits of technology

While protecting the data privacy of both the message recommender and the platform, it realizes message recommendation using user similarity, avoids data leakage, and enhances the intensity of data privacy protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114584282B
    Figure CN114584282B
Patent Text Reader

Abstract

The present application discloses a message recommendation optimization method, an electronic device, a medium and a program product, wherein the message recommendation optimization method comprises: receiving secret seed user feature information sent by a second party; respectively calculating the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the secret seed user feature information, and obtaining each encrypted similarity information; obtaining the aggregate key information, which is obtained by aggregating the seed node key information and the second party key information in each first party node key information; encrypting the corresponding encrypted similarity information according to the difference between the aggregate key information and each first party node key information, and obtaining each secondary encrypted similarity information; by sending each secondary encrypted similarity information to the second party for decryption, selecting the target user node in each local user node for message recommendation. The present application solves the technical problem that data privacy cannot be protected when recommending messages.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology of financial technology (Fintech), and in particular to a message recommendation optimization method, electronic device, medium and program product. Background Art

[0002] With the continuous development of financial technology, especially Internet technology finance, more and more technologies (such as distributed, artificial intelligence, etc.) are applied in the financial field, but the financial industry also puts forward higher requirements on technology, such as higher requirements on the distribution of corresponding to-do items in the financial industry.

[0003] With the continuous development of big data, the application fields of big data are becoming more and more extensive. When recommending messages, messages can be recommended based on the similarities between users. At present, in this message recommendation model, the message recommender usually sends his own seed user information to the message recommendation platform, and then the message recommendation platform can perform social expansion based on the seed user information, thereby obtaining a group of target users, and then make targeted message recommendations to these target users. However, the seed user information is the data privacy of the message recommender, and the message recommender will completely expose his own data privacy to the message recommendation platform, and it is impossible to protect data privacy when recommending messages. Summary of the invention

[0004] The main purpose of this application is to provide a message recommendation optimization method, electronic device, medium and program product, aiming to solve the technical problem in the prior art that data privacy cannot be protected when recommending messages.

[0005] To achieve the above objectives, the present application provides a message recommendation optimization method, which is applied to a first party. The message recommendation optimization method includes:

[0006] Receiving the secret seed user characteristic information sent by the second party, wherein the secret seed user characteristic information is obtained by the second party performing homomorphic encryption on the user characteristic information of the seed user node;

[0007] Respectively calculating the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the encrypted seed user feature information to obtain the encrypted similarity information corresponding to each local user node;

[0008] Acquire aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information;

[0009] According to the difference between the aggregate key information and the key information of each first-party node, the corresponding encrypted similarity information is respectively encrypted to obtain the secondary encrypted similarity information corresponding to each local user node;

[0010] Each of the secondary encrypted similarity information is sent to the second party for decryption, and according to the decryption feedback result sent by the second party, a target user node is selected from each of the local user nodes for message recommendation.

[0011] To achieve the above purpose, the present application also provides a message recommendation optimization method, which is applied to the second party. The message recommendation optimization method includes:

[0012] Obtaining secret seed user characteristic information corresponding to the seed user node, wherein the secret seed user characteristic information is obtained by homomorphically encrypting user characteristic information of the seed user node;

[0013] Sending the encrypted seed user characteristic information to the first party, so that the first party can respectively calculate the similarity between the local user characteristic information of the neighboring nodes corresponding to each local user node and the encrypted seed user characteristic information, and obtain the encrypted similarity information corresponding to each local user node;

[0014] Generate aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information;

[0015] Feeding back the aggregate key information to the first party, so that the first party can encrypt the corresponding encrypted similarity information according to the difference between the aggregate key information and the key information of each first party node, and obtain the secondary encrypted similarity information corresponding to each local user node;

[0016] receiving each secondary encrypted similarity information sent by the first party, and decrypting each secondary encrypted similarity information respectively to obtain a decryption feedback result;

[0017] The decryption feedback result is sent to the first party, so that the first party selects a target user node from each of the local user nodes for message recommendation according to the decryption feedback result sent by the first party.

[0018] The present application also provides a message recommendation optimization device, which is applied to a first party, and the message recommendation optimization device includes:

[0019] A receiving module, configured to receive encrypted seed user characteristic information sent by a second party, wherein the encrypted seed user characteristic information is obtained by the second party performing homomorphic encryption on user characteristic information of a seed user node;

[0020] A similarity calculation module is used to respectively calculate the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the encrypted seed user feature information to obtain the encrypted similarity information corresponding to each local user node;

[0021] An aggregate key information acquisition module, used to acquire aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information;

[0022] A secondary encryption module, used to encrypt the corresponding encrypted similarity information according to the difference between the aggregate key information and the key information of each first-party node, to obtain the secondary encrypted similarity information corresponding to each local user node;

[0023] The message recommendation module is used to send each of the secondary encrypted similarity information to the second party for decryption, and select a target user node from each of the local user nodes for message recommendation according to the decryption feedback result sent by the second party.

[0024] The present application also provides a message recommendation optimization device, which is applied to a second party, and the message recommendation optimization device includes:

[0025] A secret feature information acquisition module, used to acquire secret seed user feature information corresponding to a seed user node, wherein the secret seed user feature information is obtained by homomorphically encrypting user feature information of the seed user node;

[0026] A sending module, used to send the encrypted seed user characteristic information to the first party, so that the first party can respectively calculate the similarity between the local user characteristic information of the neighboring nodes corresponding to each local user node and the encrypted seed user characteristic information, and obtain the encrypted similarity information corresponding to each local user node;

[0027] An aggregate key information generation module, used to generate aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information;

[0028] An aggregate key information feedback module, used to feed back the aggregate key information to the first party, so that the first party can encrypt the corresponding encrypted similarity information according to the difference between the aggregate key information and the key information of each first party node, and obtain the secondary encrypted similarity information corresponding to each local user node;

[0029] A decryption module, used for receiving each secondary encrypted similarity information sent by the first party, and decrypting each secondary encrypted similarity information respectively to obtain a decryption feedback result;

[0030] The message recommendation module is used to send the decryption feedback result to the first party, so that the first party can select a target user node from each local user node for message recommendation according to the decryption feedback result sent by the first party.

[0031] The present application also provides an electronic device, which includes: a memory, a processor, and a program of the message recommendation optimization method stored in the memory and executable on the processor. When the program of the message recommendation optimization method is executed by the processor, the steps of the message recommendation optimization method as described above can be implemented.

[0032] The present application also provides a computer-readable storage medium, on which is stored a program for implementing the message recommendation optimization method. When the program of the message recommendation optimization method is executed by a processor, the steps of the message recommendation optimization method as described above are implemented.

[0033] The present application also provides a computer program product, including a computer program, which implements the steps of the message recommendation optimization method as described above when executed by a processor.

[0034] The present application provides a message recommendation optimization method, electronic device, medium and program product. Compared with the prior art in which the message recommender usually sends his own seed user information to the message recommendation platform, and then the message recommendation platform can perform social expansion based on the seed user information to obtain a group of target users, and then perform message recommendations for these target users in a targeted manner, the present application first receives the confidential seed user feature information sent by the second party, wherein the confidential seed user feature information is obtained by the second party performing homomorphic encryption on the user feature information of the seed user node, wherein the confidential seed user feature information is obtained by the second party performing homomorphic encryption on the user feature information of the seed user node, so the first party cannot directly obtain the seed user feature information, and the second party will not expose its own data privacy to the first party, thereby protecting the second party's data privacy. According to privacy; respectively calculate the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the secret seed user feature information, and obtain the encrypted similarity information corresponding to each local user node; obtain the aggregated key information between the first party and the second party, wherein the aggregated key information is obtained by aggregating the seed node key information and the second party key information in the key information of each first-party node; according to the difference between the aggregated key information and the key information of each first-party node, respectively encrypt the corresponding encrypted similarity information, and obtain the secondary encrypted similarity information corresponding to each local user node; send each secondary encrypted similarity information to the second party for decryption, and according to the decryption feedback result sent by the second party, select the target user node from each local user node for message recommendation.Among them, since the aggregate key information is obtained by aggregating the first-party node key information and the second-party key information corresponding to the seed user node, when the second party decrypts each secondary encrypted similarity information separately, only the difference between the first-party node key information corresponding to the seed user node and the aggregate key information matches the second-party key information, so that only the secondary encrypted similarity information encrypted using the key difference between the first-party node key information and the aggregate key information corresponding to the seed user node can be successfully decrypted by the second party, and the second party cannot decrypt to obtain the neighbor node similarity information of other local user nodes, that is, the second party cannot obtain the data privacy of the first party that is not related to the seed user node, thereby protecting the first party. The data privacy of the first party is protected, and the neighbor node similarity information is not directly the user feature information of the neighbor nodes of the seed user node. The second party cannot deduce the specific user feature information of the neighbor nodes based on the neighbor node similarity information, thereby further protecting the data privacy of the first party. Therefore, the present application can achieve the purpose of using the similarity between users for message recommendation while protecting the data privacy of both the message recommender and the message recommendation platform. It overcomes the technical defect in the prior art that the seed user information is the data privacy of the message recommender, and the message recommender completely exposes its own data privacy to the message recommendation platform to implement message recommendation, and cannot protect data privacy when recommending messages. This solves the technical problem that data privacy cannot be protected when recommending messages. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0036] In order to more clearly illustrate the embodiments of the present application 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0037] Figure 1 This is a flow chart of the first embodiment of the message recommendation optimization method of this application;

[0038] Figure 2 A flowchart of a second embodiment of the message recommendation optimization method of the present application;

[0039] Figure 3 A schematic diagram of the interaction flow between the first party and the second party when performing message recommendation in the message recommendation optimization method of the present application;

[0040] Figure 4This is a schematic diagram of the device structure of the hardware operating environment involved in the message recommendation optimization method in the embodiment of the present application.

[0041] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0042] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of this application.

[0043] Embodiment 1

[0044] The present application embodiment provides a message recommendation optimization method, which is applied to a first party. In the first embodiment of the message recommendation optimization method of the present application, referring to Figure 1 , the message recommendation optimization method includes:

[0045] Step S10, receiving the encrypted seed user characteristic information sent by the second party, wherein the encrypted seed user characteristic information is obtained by the second party performing homomorphic encryption on the user characteristic information of the seed user node;

[0046] In this embodiment, it should be noted that the first party is a message recommendation platform, and the second party is a message recommender. The message recommender has a small number of seed users, while the message recommendation platform has a large number of users and association information between users. The association information may be social relationship information between users. In the current message recommendation method, the message recommender usually needs to expose its own seed users to the message recommendation platform, and then the message recommendation platform can query similar users corresponding to the seed users based on the association information between users, thereby realizing message recommendation to similar users of the seed users.

[0047] In addition, it should be noted that the message recommendation platform can store local user information in the form of graph data, such as social relationship graph data, etc. The graph data includes user nodes and connection edges between user nodes, wherein a user node indicates that there is a user corresponding to the node on the message recommendation platform, and user feature information can be stored in the user node. The existence of connection edges between nodes indicates that there is an association relationship between users, that is, they are adjacent nodes to each other.

[0048] The secret seed user characteristic information is homomorphically encrypted seed user characteristic information. The seed user characteristic information can be characteristic information of the seed user, which can be a user label or a specific characteristic value, such as age, hobby category or occupation category, etc. The seed user characteristic information can also be a filtering characteristic threshold for user filtering. For example, if the message recommender needs to recommend messages to users over 16 years old, 16 is the filtering characteristic threshold corresponding to the age characteristic. If the message recommender needs to recommend messages to users with a click-through rate greater than 0.6, 0.6 is the filtering characteristic threshold corresponding to the click-through rate characteristic. The local user characteristic information is characteristic information of the local user of the first party, which can be a user label or a specific characteristic value, such as age, hobby category or occupation category, etc. There is usually a seed user of the second party among each local user of the first party, but it is not known which local user is the seed user, that is, the seed user is the intersection user between the first party and the second party, so there is a seed user node in each user node of the graph data of the first party, but the first party does not know which user node is the seed user node of the second party, that is, it does not know the data privacy of the second party.

[0049] Step S20, respectively calculating the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the encrypted seed user feature information, to obtain the encrypted similarity information corresponding to each local user node;

[0050] As an example, step S20 includes: according to the association relationship between each of the local user nodes, querying the neighbor node set corresponding to each of the local user nodes, wherein the neighbor node set includes at least one neighbor node; obtaining the local user feature information of the neighbor nodes in each of the neighbor user node sets, respectively calculating the similarity between the local user feature information of the neighbor nodes in each of the neighbor user node sets and the secret seed user feature information, and obtaining the encrypted similarity information corresponding to each of the local user nodes, wherein the encrypted similarity information includes the encrypted similarity information corresponding to all the neighbor nodes corresponding to the local user node, and the encrypted similarity information is the similarity between the local user feature information corresponding to the neighbor node and the secret seed user feature information. The similarity calculation method may be to find the difference or find the quotient, etc., which is not limited here.

[0051] Step S30, obtaining aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information;

[0052] In this embodiment, it should be noted that the first-party node key information can be the first-party key itself, or it can be encrypted information carrying the first-party key to prevent the second party from obtaining the first-party key, thereby further strengthening the strength of data privacy protection in the message recommendation process.

[0053] As an example, step S30 includes: generating first-party node key information corresponding to each of the local user nodes; sending each of the first-party node key information to the second party, so that the second party can select seed node key information from each of the first-party node key information, and the second party aggregates the seed node key information and the acquired second-party key information into aggregate key information; the first party receives the aggregate key information fed back by the second party.

[0054] Step S40, encrypting the corresponding encrypted similarity information respectively according to the difference between the aggregate key information and the key information of each first-party node, to obtain the secondary encrypted similarity information corresponding to each local user node;

[0055] As an example, step S40 includes: respectively calculating the difference between the aggregate key information and the key information of each first-party node to obtain the key difference part corresponding to each local user node; based on each key difference part, respectively encrypting the encryption similarity information corresponding to each local user node to obtain each secondary encrypted similarity information.

[0056] Step S50: Send each of the secondary encrypted similarity information to the second party for decryption, and select a target user node from each of the local user nodes for message recommendation based on the decryption feedback result sent by the second party.

[0057] As an example, step S50 includes: sending each of the secondary encrypted similarity information to the second party so that the second party can decrypt each of the secondary encrypted similarity information, and determining the target user node in each of the local user nodes based on the similarity information that will be successfully decrypted, and the second party sending the identification information of the target user node as a decryption feedback result to the first party; the first party receives the decryption feedback result, and makes a message recommendation to the target user node determined based on the decryption feedback result.

[0058] In this embodiment, it should be noted that since the aggregated key information is obtained by aggregating the seed node key information corresponding to the seed user node and the second-party key information, only the key difference between the aggregated key information and the seed node key information can match the second-party key, so that the second party can successfully decrypt the secondary encrypted similarity information corresponding to the seed user node, and cannot decrypt the secondary encrypted similarity information corresponding to other local user nodes except the seed user node. Therefore, the second party can obtain the similarity information between the seed user node and all corresponding neighbor nodes, but cannot obtain the similarity information corresponding to other user nodes, and then use the similarity information between the seed user node and all corresponding neighbor nodes, that is, select the target user node with higher similarity for the neighbor node similarity information for message recommendation, and the first party and the second party will not expose data privacy to each other.

[0059] The decryption feedback result includes a target node identifier, and the step of sending each of the secondary encrypted similarity information to the second party for decryption, and selecting a target user node from each of the local user nodes for message recommendation according to the decryption feedback result sent by the second party includes:

[0060] Step S51, sending each of the secondary encrypted similarity information to the second party, so that the second party can decrypt each of the secondary encrypted similarity information according to the second party key and the homomorphic encryption key corresponding to the second party key information, and use the successfully decrypted similarity information as the neighbor node similarity information corresponding to the seed user node, and select the target node identifier from each node identifier sent by the first party according to the neighbor node similarity information;

[0061] Step S52, receiving the target node identifier sent by the second party, and taking the local user node corresponding to the target node identifier as the target user node;

[0062] Step S53: recommending messages to the target user node.

[0063] As an example, step S51 to step S53 include: sending each of the secondary encrypted similarity information to the second party, so that the second party can decrypt each of the secondary encrypted similarity information according to the second party key corresponding to the second party key information and the homomorphic encryption key, and use the successfully decrypted similarity information as the neighbor node similarity information corresponding to the seed user node, and the second party selects the node identifier corresponding to the highest similarity as the target node identifier from each node identifier corresponding to the neighbor node similarity information according to the neighbor node similarity information; receiving the target node identifier sent by the second party, searching for the target user node in each of the local user nodes according to the target node identifier, and recommending a message to the target user node. The number of the target node identifiers can be one or more, which is not limited here.

[0064] The step of obtaining the aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information, comprises:

[0065] Step S31, generating first-party node key information corresponding to each of the local user nodes;

[0066] Step S32, sending each of the first-party node key information and the corresponding node identifier to the second party, so that the second party can select the seed node key information corresponding to the seed user node from each of the first-party node key information based on each of the node identifiers, and aggregate the seed node key information and the acquired second-party key information to obtain the aggregated key information.

[0067] As an example, step S31 to step S32 include: generating a first-party key corresponding to each of the local user nodes; obtaining a key encryption parameter, mixing the key encryption parameter with each of the first-party keys respectively to obtain each of the first-party node key information, sending each of the first-party node key information and the corresponding node identifier to the second party, so that the second party can select the seed node key information corresponding to the seed user node in each of the first-party node key information based on each of the node identifiers, and the second party aggregates the seed node key information and the obtained second-party key information to obtain aggregated key information, wherein the node identifier can be a node number agreed upon by the first and second parties, and the aggregation method can be summation, difference or average, etc., which is not limited here. In order to further ensure the privacy of the data, the node number can be set to a number without practical meaning instead of using the real user ID as the node number, so as to prevent the user group of the message recommendation platform from being leaked to the message recommender.

[0068] As an example, the step of mixing the key encryption parameter with each of the first-party keys to obtain each of the first-party node key information includes:

[0069] The key encryption parameter is used as the base, and each of the first-party keys is used as the exponent to perform power calculations to obtain the key information of each of the first-party nodes, wherein the specific calculation process is as follows:

[0070]

[0071] Wherein, M is the first party node key information, g is the key encryption parameter, where g∈Z p , where g is a large number, p is a large prime number, and s i is the first party key, wherein different local user nodes may be set to have different first party keys. Further, the second party aggregates the seed node key information and the acquired second party key information to obtain the aggregate key information. The specific calculation process is as follows:

[0072]

[0073] Among them, L i is the aggregate key information, g is the key encryption parameter, where g∈Z p , where g is a large number, p is a large prime number, and s i is the first party key, k is the second party key, thereby achieving the purpose of generating aggregate key information without exposing the first party key and the second party key, preventing data privacy leakage due to key leakage between the first party and the second party, and improving the strength of protecting data privacy when making message recommendations.

[0074] The encrypted seed user characteristic information includes a encrypted filtering characteristic threshold, the local user characteristic information includes a local user characteristic value, and the encrypted similarity information includes encrypted characteristic filtering information.

[0075] The step of respectively calculating the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the encrypted seed user feature information to obtain the encrypted similarity information corresponding to each local user node comprises:

[0076] Step S21, determining a number of neighbor nodes corresponding to each of the local user nodes according to the association relationship between the local user nodes;

[0077] Step S22, determining a neighbor node characteristic value corresponding to each of the plurality of neighbor nodes from each of the local user characteristic values;

[0078] Step S23, generating dense state feature filtering information corresponding to each of the plurality of neighboring nodes according to the difference between the feature value of each of the neighboring nodes and the dense state filtering feature threshold.

[0079] In this embodiment, it should be noted that in the graph data, if there is a connecting edge between two user nodes, then the two user nodes are neighbor nodes to each other, the dense-state filtering feature threshold is a homomorphically encrypted filtering feature threshold, and the dense-state feature filtering information is the result information after feature filtering of the local user node based on the dense-state filtering feature threshold, for example, it can be the difference between the dense-state filtering feature threshold and the local user feature value, or it can be the ratio between the dense-state filtering feature threshold and the local user feature value, etc.

[0080] As an example, step S21 to step S23 include: retrieving several neighbor nodes corresponding to each of the local user nodes according to the association relationship between the local user nodes, wherein the several neighbor nodes may be one or more neighbor nodes; taking the local user feature value corresponding to each of the several neighbor nodes as the neighbor node feature value; and generating the dense feature filtering information corresponding to each of the several neighbor nodes of the local user node by respectively calculating the difference between the feature value of each of the neighbor nodes and the dense filtering feature threshold.

[0081] The step of generating the dense state feature filtering information corresponding to each of the plurality of neighboring nodes according to the difference between the feature value of each of the neighboring nodes and the dense state filtering feature threshold comprises:

[0082] Step S231, respectively calculating the difference between each of the neighbor node feature values ​​and the dense state filtering feature threshold to obtain each dense state feature difference information;

[0083] Step S232, obtaining the first random number corresponding to each of the local user nodes, and based on each of the first random numbers, performing fuzzy processing on the value size information in each of the dense state feature difference information to obtain each of the dense state filtering feature information.

[0084] In this embodiment, it should be noted that after the second party obtains the difference between the dense filtering feature threshold and the neighbor node feature value, there is a risk of using the dense filtering feature threshold to infer the local user feature value of the first party, and thus there is a certain risk of data privacy leakage.

[0085] As an example, step S231 to step S232 include: respectively calculating the difference between each neighbor node feature value and the dense state filtering feature threshold to obtain each dense state feature difference information; obtaining the first random number corresponding to each local user node; by respectively calculating the product between each first random number and the corresponding dense state filtering feature threshold, respectively performing fuzzy processing on the value size information in each dense state feature difference information to obtain each dense state filtering feature information. The specific calculation process for generating the dense state filtering feature information is as follows:

[0086] H kl ={(i j ,(Enc(c j )-f l , ij ) j )|a j >0,j=1,2,…,n j}

[0087] Among them, i j is the identifier of the jth user feature of the i-th local user node, Enc is the symbol of homomorphic encryption, c j is the filtering feature threshold corresponding to the jth user feature, Enc(c j ) is the dense filtering feature threshold, is the local user feature value of the jth user feature of the lth neighbor node of the ith local user node, a j is the first random number. By calculating the product between each of the first random numbers and the corresponding dense state filtering feature threshold, each of the dense state filtering feature information is generated. Even if the second party decrypts to obtain the filtering feature information, only the difference information excluding the specific value of the feature difference can be obtained. By determining the positive and negative of the filtering feature information, the size relationship between the local user feature value of the neighboring node and the filtering feature threshold can be obtained, but the specific difference between the local user feature value of the neighboring node and the filtering feature threshold cannot be obtained. Therefore, the second party cannot use the decrypted dense state filtering feature information to infer the specific size of the local user feature value of the first party, thereby achieving the purpose of protecting the data privacy of the first party.

[0088] The encrypted filtering feature information includes a encrypted byte stream.

[0089] The step of performing fuzzy processing on the value size information in each of the dense state feature difference information according to each of the first random numbers to obtain each of the dense state filtering feature information comprises:

[0090] Step A10, performing fuzzy processing on the value size information in each of the secret state feature difference information according to each of the first random numbers, to obtain each fuzzy processing result;

[0091] Step A20, converting each of the obfuscation processing results into a corresponding byte stream, and encrypting each of the byte streams according to a preset byte stream encryption key corresponding to each of the byte streams, to obtain each of the encrypted byte streams.

[0092] As an example, step A10 to step A20 include: by respectively calculating the product between each of the first random numbers and the corresponding dense state filtering feature threshold, respectively performing fuzzy processing on the value size information in each of the dense state feature difference information to obtain each fuzzy processing result; converting each of the fuzzy processing results into a corresponding byte stream; obtaining a preset byte stream encryption key corresponding to each of the byte streams, and encrypting the corresponding byte streams according to each preset byte stream encryption key to obtain each of the dense state byte streams. Among them, the encryption method for encrypting the corresponding byte streams according to each preset byte stream encryption key can be AES (Advanced Encryption Standard) encryption. In this embodiment, by further encryption, the strength of protecting data privacy is further strengthened.

[0093] The fuzzy processing result is an array, and the step of converting each fuzzy processing result into a corresponding byte stream includes:

[0094] After each of the fuzzy processing results is expanded, a separator is added and blank text is written to obtain a target text, and the text content of the target text is converted into a byte stream.

[0095] The encrypted filtering feature information includes a encrypted byte stream, and the secondary encrypted similarity information includes a decryption intermediate parameter array.

[0096] The step of encrypting the encrypted similarity information corresponding to each of the first-party node key information according to the key difference between the aggregate key information and each of the first-party node key information to obtain each of the secondary encrypted similarity information comprises:

[0097] Step S41, obtaining each second random number, and generating a first decryption intermediate parameter corresponding to each second random number;

[0098] In this embodiment, it should be noted that the secondary encrypted similarity information includes a decryption intermediate parameter array, and the decryption intermediate parameter array can be a 2-bit array, the first bit is the first decryption intermediate parameter, and the second bit is the second decryption intermediate parameter.

[0099] As an example, step S41 includes: obtaining key encryption parameters corresponding to each second random number and the first party node key information; and generating first decryption intermediate parameters corresponding to each second random number based on each second random number and the key encryption parameter.

[0100] The step of generating the first decryption intermediate parameters corresponding to each second random number according to each second random number and the key encryption parameter comprises:

[0101] The key encryption parameter is used as a base, and each of the second random numbers is used as an exponent to perform a power operation to obtain each of the first decryption intermediate parameters.

[0102] Step S42, generating decryption parameter byte streams according to the key difference between the aggregate key information and the first party node key information and the second random numbers;

[0103] As an example, step S42 includes: respectively calculating the information ratio between the aggregate key information and each of the first-party node key information; and generating each decryption parameter byte stream based on each of the information ratios and the corresponding second random number.

[0104] The step of generating each decryption parameter byte stream according to each of the information ratios and the corresponding second random number comprises:

[0105] A power operation is performed using the information ratio as a base and a corresponding second random number as an exponent to obtain each target power operation result; and a corresponding decryption parameter byte stream is generated according to each target power operation result.

[0106] It should be noted that the byte length of the target exponentiation result is usually less than or equal to the secret byte stream, and the step of generating the corresponding decryption parameter byte stream according to each target exponentiation result includes:

[0107] If the byte length of the target exponentiation result is consistent with the byte length of the corresponding encrypted byte stream, the target exponentiation result is directly used as the decryption parameter byte stream; if the byte length of the target exponentiation result is less than the byte length of the corresponding encrypted byte stream, both ends of the target exponentiation result are copied and extended until the byte length of the target exponentiation result after copying and extending is consistent with the byte length of the corresponding encrypted byte stream, and the target exponentiation result after copying and extending is used as the corresponding decryption parameter byte stream.

[0108] Step S43, performing byte-by-byte AND on each of the decryption parameter byte streams and the corresponding encrypted byte stream to obtain a second decryption intermediate parameter corresponding to each of the encrypted byte streams;

[0109] Step S44, combining each of the first decryption intermediate parameters and the corresponding second decryption intermediate parameters into a corresponding decryption intermediate parameter array, so that the second party can convert the decryption intermediate parameter array into a corresponding encrypted byte stream by performing byte-by-byte AND on the first decryption intermediate parameters and the second decryption intermediate parameters in the decryption intermediate parameter array according to the second party key information.

[0110] As an example, steps S43 to S44 include: performing byte-by-byte AND on each of the decryption parameter byte streams and the corresponding secret byte streams to obtain the second decryption intermediate parameters corresponding to each of the secret byte streams, combining each of the first decryption intermediate parameters and the corresponding second decryption intermediate parameters into a corresponding decryption intermediate parameter array, and sending each of the decryption intermediate parameter arrays to the second party so that the second party can encrypt the first decryption intermediate parameter in each of the decryption intermediate parameter arrays according to the second party key, and perform byte-by-byte AND on the first decryption intermediate parameter encrypted according to the second party key with the second decryption intermediate parameter in the corresponding decryption intermediate parameter array to convert the decryption intermediate parameter array into a corresponding secret byte stream. Among them, since the aggregated key information is obtained by aggregating the first-party node key information and the second-party key information corresponding to the seed user node, only the key difference between the aggregated key information and the first-party node key information corresponding to the seed user node can match the second-party key, so that the second party can successfully decrypt and obtain the encrypted byte stream corresponding to the seed user node, but cannot decrypt and obtain the encrypted byte stream corresponding to other local user nodes, which can prevent the second party from obtaining user feature information of other local user nodes that are different from the seed user node, thereby protecting the data privacy of the first party.

[0111] As an example, the calculation process for generating the decryption intermediate parameter array is as follows:

[0112]

[0113] Among them, C j is the decryption intermediate parameter array, is the first decryption intermediate parameter, is the second decryption intermediate parameter, where B j is the encrypted byte stream corresponding to the jth user feature, L is the aggregate key information, is the first-party node key information corresponding to the i-th local user node, r j is the jth second random number, Indicates byte-wise AND.

[0114] Correspondingly, the process of the second party decrypting to obtain the encrypted byte stream is as follows:

[0115]

[0116] Among them, C i is the decryption intermediate parameter array corresponding to the seed user node, C i [0] is the first decryption intermediate parameter, C i [1] is the second decryption intermediate parameter, k is the second party key, s i is the first-party key corresponding to the seed user node, r i is the second random number corresponding to the seed user node, B i is the encrypted byte stream corresponding to the seed user node, and g is the key encryption parameter. From the above decryption process of the second party, it can be seen that only in the decryption process of the seed user node, the second decryption intermediate parameter C i [1] Equal to Thus, the encrypted byte stream can be successfully decrypted. However, in the decryption process of non-seed user nodes, the second decryption intermediate parameter is not equal to As a result, the encrypted byte stream cannot be successfully decrypted, and the second party cannot obtain the first party's private data that is not related to the seed user node, thereby successfully protecting the first party's data privacy.

[0117] In addition, since the decryption intermediate parameter array carries the characteristic information of the neighboring nodes of all local user nodes of the first party, in order to further protect the privacy of the data, in this embodiment, the secret byte stream can be generated with reference to the specific process in steps A10 to A20, thereby achieving the purpose of protecting data privacy through multiple rounds of encryption and improving the strength of data privacy protection. After step S44, the second party can send the node identifier corresponding to the successfully decrypted secret byte stream to the first party, and the first party can send the corresponding preset byte stream encryption key to the second party, and the second party can use the corresponding preset byte stream encryption key to The key is used to restore the secret byte stream to the corresponding obfuscated result, and then the obfuscated result is decrypted according to the homomorphic encryption key to obtain the secret feature difference information after obfuscation. The secret feature difference information is the feature difference sign, that is, the positive and negative signs. Through the positive and negative signs, the size relationship between the local user features corresponding to the neighbor nodes of the seed user node and the filtering feature threshold can be known. Then, according to the feature difference, the neighbor nodes of the seed user node can be filtered, thereby achieving the purpose of recommending messages based on the seed node information of the second party under the premise of protecting data privacy.

[0118] An embodiment of the present application provides a message recommendation optimization method. Compared with the prior art in which a message recommender usually sends his own seed user information to a message recommendation platform, and then the message recommendation platform can perform social expansion based on the seed user information to obtain a group of target users, and then perform message recommendations on these target users in a targeted manner, an embodiment of the present application first receives confidential seed user feature information sent by a second party, wherein the confidential seed user feature information is obtained by the second party performing homomorphic encryption on the user feature information of the seed user node, wherein the confidential seed user feature information is obtained by the second party performing homomorphic encryption on the user feature information of the seed user node, so the first party cannot directly obtain the seed user feature information, and the second party will not expose its own data privacy to the first party, thereby protecting the data privacy of the second party. ; Calculate the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the secret seed user feature information respectively, and obtain the encrypted similarity information corresponding to each local user node; Obtain the aggregated key information between the first party and the second party, wherein the aggregated key information is obtained by aggregating the seed node key information and the second party key information in the key information of each first party node; According to the difference between the aggregated key information and the key information of each first party node, encrypt the corresponding encrypted similarity information respectively, and obtain the secondary encrypted similarity information corresponding to each local user node; Send each secondary encrypted similarity information to the second party for decryption, and according to the decryption feedback result sent by the second party, select the target user node from each local user node for message recommendation.Among them, since the aggregated key information is obtained by aggregating the first-party node key information and the second-party key information corresponding to the seed user node, when the second party decrypts each secondary encrypted similarity information separately, only the difference between the first-party node key information corresponding to the seed user node and the aggregated key information matches the second-party key information, so that only the secondary encrypted similarity information encrypted using the key difference between the first-party node key information and the aggregated key information corresponding to the seed user node can be successfully decrypted by the second party, and the second party cannot decrypt the neighbor node similarity information of other local user nodes, that is, the second party cannot obtain the data privacy of the first party that is not related to the seed user node, thereby protecting the first party. Data privacy, and the neighbor node similarity information is not directly the user feature information of the neighbor nodes of the seed user node, and the second party cannot deduce the specific user feature information of the neighbor nodes based on the neighbor node similarity information, thereby further protecting the data privacy of the first party. Therefore, the embodiment of the present application can achieve the purpose of message recommendation by using the similarity between users while protecting the data privacy of both the message recommender and the message recommendation platform, overcoming the technical defect in the prior art that the seed user information is the data privacy of the message recommender, and the message recommender completely exposes its own data privacy to the message recommendation platform to implement message recommendation, and cannot protect data privacy when recommending messages, thereby solving the technical problem that data privacy cannot be protected when recommending messages.

[0119] Embodiment 2

[0120] The present application embodiment provides a message recommendation optimization method, which is applied to a second party. In one embodiment of the message recommendation optimization method of the present application, referring to Figure 2 , the message recommendation optimization method includes:

[0121] Step B10, obtaining secret seed user characteristic information corresponding to the seed user node, wherein the secret seed user characteristic information is obtained by homomorphically encrypting user characteristic information of the seed user node;

[0122] As an example, step B10 includes: obtaining user feature information and a homomorphic encryption key of a seed user corresponding to a seed user node; and homomorphically encrypting the user feature information of the seed user based on the homomorphic encryption key to obtain encrypted seed user feature information.

[0123] Step B20, sending the encrypted seed user characteristic information to the first party, so that the first party can respectively calculate the similarity between the local user characteristic information of the neighboring nodes corresponding to each local user node and the encrypted seed user characteristic information, and obtain the encrypted similarity information corresponding to each local user node;

[0124] In this embodiment, it should be noted that the first party respectively calculates the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the encrypted seed user feature information, and the specific implementation process of obtaining the encrypted similarity information corresponding to each local user node can refer to the specific content in the above-mentioned step S20 and its detailed steps, which will not be repeated here.

[0125] Step B30, generating aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information;

[0126] As an example, step B30 includes: receiving each first-party node key information sent by the first party, determining the seed node key information corresponding to the seed user node in each of the node key information; obtaining the second-party key information, and aggregating the second-party key information and the seed user node key information to obtain aggregate key information. The aggregation method can be summing or quotient.

[0127] Step B40, feeding back the aggregate key information to the first party, so that the first party can encrypt the corresponding encrypted similarity information according to the difference between the aggregate key information and the key information of each first party node, and obtain the secondary encrypted similarity information corresponding to each local user node;

[0128] In this embodiment, it should be noted that the first party encrypts the corresponding encrypted similarity information according to the difference between the aggregate key information and the key information of each first-party node, and the specific implementation process of obtaining the secondary encrypted similarity information corresponding to each local user node can refer to the specific content in the above-mentioned step S40 and its detailed steps, which will not be repeated here.

[0129] Step B50, receiving each secondary encrypted similarity information sent by the first party, and decrypting each secondary encrypted similarity information respectively to obtain a decryption feedback result;

[0130] In this embodiment, it should be noted that the second party holds the second party key corresponding to the homomorphic encryption key and the second party key information.

[0131] As an example, step B50 includes: receiving each secondary encrypted similarity information sent by the first party, decrypting each secondary encrypted similarity information according to the homomorphic encryption key and the second party key corresponding to the second party key information, and determining the identification information of the target user node based on the similarity information that has been successfully decrypted, and using the identification information corresponding to the target user node as the decryption feedback result.

[0132] The successfully decrypted similarity information is the similarity information of the neighboring nodes of the seed user node, and the neighboring node similarity information includes the size relationship information between the local user feature value of the neighboring node of the seed user node and the seed user feature value, which can be a feature difference sign, that is, a positive or negative sign. The identification information of the target user node can be a target node identification, and the step of determining the identification information of the target user node based on the successfully decrypted similarity information includes:

[0133] The characteristic difference symbol corresponding to the neighbor node similarity information is obtained, and according to the characteristic difference symbol, a target node identifier is obtained by filtering each of the node identifiers. The number of the target node identifiers may be one or more.

[0134] Step B60: Send the decryption feedback result to the first party, so that the first party can select a target user node from each local user node for message recommendation based on the decryption feedback result sent by the first party.

[0135] In this embodiment, it should be noted that the specific implementation process of the first party selecting the target user node from each of the local user nodes for message recommendation according to the decryption feedback result sent by the first party can refer to the specific embodiment corresponding to the above step S50, which will not be repeated here. Figure 3 , Figure 3 A schematic diagram of the interaction flow between the first party and the second party when making message recommendations.

[0136] The step of generating aggregate key information between the first party and the second party includes:

[0137] Step B31, receiving each first-party node key information and the node identifier corresponding to each first-party node key information sent by the first party;

[0138] Step B32, determining the seed node key information corresponding to the seed user node in each of the first-party node key information according to each of the node identifiers;

[0139] Step B33, obtain the second party key information, aggregate the seed node key information and the second party key information to obtain aggregate key information.

[0140] As an example, step B31 to step B33 include: receiving each first-party node key information sent by the first party and the node identifier corresponding to each first-party node key information; taking the node identifier among each of the node identifiers that is consistent with the node identifier of the pre-stored seed user node as the seed node identifier, and determining the key information corresponding to the seed node identifier in each of the first-party node key information as the seed node key information; obtaining the second-party key information, aggregating the seed node key information and the second-party key information to obtain the aggregated key information.

[0141] The decryption feedback result includes a target node identifier, and the steps of respectively decrypting each of the secondary encrypted similarity information to obtain the decryption feedback result include:

[0142] Step B51, decrypting each of the secondary encrypted similarity information according to the second party key corresponding to the second party key information and the homomorphic encryption key, and using the successfully decrypted similarity information as the neighbor node similarity information corresponding to the seed user node;

[0143] Step B52: selecting a target node identifier from each of the node identifiers based on the neighbor node similarity information.

[0144] In this embodiment, it should be noted that the secondary encrypted similarity information may be a decryption intermediate parameter array, and the decryption intermediate parameter array includes a first decryption intermediate parameter and a second decryption intermediate parameter.

[0145] As an example, step B51 to step B52 include: receiving each decryption intermediate parameter array sent by the first party, and selecting the target decryption intermediate parameter array corresponding to the seed user node in each decryption intermediate parameter array according to the node identifier corresponding to each decryption intermediate parameter array; restoring the target decryption intermediate parameter array to the corresponding homomorphically encrypted similarity information according to the second party key; decrypting the homomorphically encrypted similarity information according to the homomorphic encryption key to obtain the successfully decrypted similarity information, and using the successfully decrypted similarity information as the neighbor node similarity information corresponding to the seed user node; according to the neighbor node similarity information, selecting the node identifier corresponding to the highest similarity among the node identifiers corresponding to the neighbor node similarity information as the target node identifier.

[0146] As an example, the homomorphic encryption similarity information may be a fuzzy processing result. The specific process of the first party generating the fuzzy processing result may refer to the specific contents of the above steps A10 to A20, which will not be repeated here. The step of restoring the target decryption intermediate parameter array to the corresponding homomorphic encryption similarity information based on the second party key includes:

[0147] Based on the second party key, the target decryption intermediate parameter array is restored to the secret byte stream corresponding to the corresponding seed user node, and the node identifier corresponding to the secret byte stream corresponding to the seed user node is sent to the first party, so that the first party can send the corresponding preset byte stream encryption key to the second party, and the second party uses the corresponding preset byte stream encryption key to restore the secret byte stream to the corresponding obfuscation processing result.

[0148] The secondary encrypted similarity information includes a decryption intermediate parameter array, and the secondary encrypted similarity information is decrypted according to the second party key corresponding to the second party key information and the homomorphic encryption key, respectively, including:

[0149] Step B51, encrypting the first decryption intermediate parameter in the decryption intermediate parameter array according to the second party key to obtain a third decryption intermediate parameter;

[0150] Step B52, performing byte-by-byte AND operation on the third decryption intermediate parameter and the second decryption intermediate parameter in the corresponding decryption intermediate parameter array, so as to use the AND operation result obtained by successfully performing the byte-by-byte AND operation as the secret byte stream of the seed user node;

[0151] Step B53, decrypting the encrypted byte stream according to the homomorphic encryption key and the preset byte stream encryption key corresponding to the seed user node.

[0152] As an example, steps B51 to B53 include: according to the node identifier corresponding to each of the decryption intermediate parameter arrays, determining the decryption intermediate parameter array corresponding to the seed user node in each of the decryption intermediate parameter arrays as the target decryption intermediate parameter array; encrypting the first decryption intermediate parameter in the target decryption intermediate parameter array by using the first decryption intermediate parameter in the target decryption intermediate parameter array as the base and the second party key as the exponent to obtain a third decryption intermediate parameter; performing byte-by-byte AND on the third decryption intermediate parameter and the second decryption intermediate parameter in the target decryption intermediate parameter array to obtain the secret byte stream of the seed user node; using the preset byte stream encryption key corresponding to the seed user node to restore the secret byte stream to the corresponding homomorphic encryption similarity information; decrypting the homomorphic encryption similarity information based on the homomorphic encryption key to obtain the neighbor node similarity information corresponding to the seed user node. Among them, the specific calculation process of steps B51 to B52 is as follows:

[0153]

[0154] Among them, C i Decrypt the intermediate parameter array for the target corresponding to the seed user node, Ci [0] is the first decryption intermediate parameter, C i [1] is the second decryption intermediate parameter, k is the second party key, s i is the first-party key corresponding to the seed user node, r i is the second random number corresponding to the seed user node, B i is the encrypted byte stream corresponding to the seed user node, and g is the key encryption parameter. From the above decryption process of the second party, it can be seen that only in the decryption process of the seed user node, the second decryption intermediate parameter C i [1] Equal to Thus, the encrypted byte stream can be successfully decrypted. However, in the decryption process of non-seed user nodes, the second decryption intermediate parameter is not equal to As a result, the encrypted byte stream cannot be successfully decrypted, and the second party cannot obtain the first party's private data that is not related to the seed user node, thereby successfully protecting the first party's data privacy.

[0155] The embodiment of the present application provides a message recommendation optimization method, that is, obtaining confidential seed user feature information corresponding to a seed user node, wherein the confidential seed user feature information is obtained by homomorphically encrypting the user feature information of the seed user node, and since the seed user feature information sent by the second party to the first party is confidential, the first party cannot directly obtain the seed user feature information, and the second party will not expose its own data privacy to the first party, thereby protecting the data privacy of the second party; the confidential seed user feature information is sent to the first party, so that the first party can respectively calculate the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the confidential seed user feature information, Obtaining the encrypted similarity information corresponding to each of the local user nodes; generating aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information and the second party key information in the key information of each first party node; feeding back the aggregate key information to the first party, so that the first party can encrypt the corresponding encrypted similarity information according to the difference between the aggregate key information and the key information of each of the first party nodes, and obtain the secondary encrypted similarity information corresponding to each of the local user nodes; receiving each secondary encrypted similarity information sent by the first party, and decrypting each secondary encrypted similarity information, and obtaining a decryption feedback result;The decryption feedback result is sent to the first party, so that the first party can select a target user node from each of the local user nodes for message recommendation based on the decryption feedback result sent by the first party, wherein, since the aggregated key information is obtained by aggregating the seed node key information corresponding to the seed user node and the second-party key information, when the second party decrypts each secondary encrypted similarity information respectively, only the difference between the seed node key information corresponding to the seed user node and the aggregated key information matches the second-party key information, so that only the secondary encrypted similarity information encrypted using the key difference between the seed node key information corresponding to the seed user node and the aggregated key information can be successfully decrypted by the second party, and the second party cannot decrypt and obtain the neighbor node similarity information of other local user nodes, that is, the second party has no The method does not obtain the data privacy of the first party that is not related to the seed user node, thereby protecting the data privacy of the first party. Moreover, the neighbor node similarity information is not directly the user feature information of the neighbor node of the seed user node, and the second party cannot deduce the specific user feature information of the neighbor node based on the neighbor node similarity information, thereby further protecting the data privacy of the first party. The embodiment of the present application realizes the purpose of using the similarity between users to recommend messages while protecting the data privacy of both the message recommender and the message recommendation platform, overcoming the technical defect in the prior art that the seed user information is the data privacy of the message recommender, and the message recommender completely exposes its own data privacy to the message recommendation platform to realize message recommendation, and cannot protect data privacy when recommending messages, thereby solving the technical problem that data privacy cannot be protected when recommending messages. ;

[0156] Embodiment 3

[0157] The embodiment of the present application further provides a message recommendation optimization device, which is applied to a first party, and the message recommendation optimization device includes:

[0158] A receiving module, configured to receive encrypted seed user characteristic information sent by a second party, wherein the encrypted seed user characteristic information is obtained by the second party performing homomorphic encryption on user characteristic information of a seed user node;

[0159] A similarity calculation module is used to respectively calculate the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the encrypted seed user feature information to obtain the encrypted similarity information corresponding to each local user node;

[0160] An aggregate key information acquisition module, used to acquire aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information;

[0161] A secondary encryption module, used to encrypt the corresponding encrypted similarity information according to the difference between the aggregate key information and the key information of each first-party node, to obtain the secondary encrypted similarity information corresponding to each local user node;

[0162] The message recommendation module is used to send each of the secondary encrypted similarity information to the second party for decryption, and select a target user node from each of the local user nodes for message recommendation according to the decryption feedback result sent by the second party.

[0163] Optionally, the aggregate key information acquisition module is further used to:

[0164] Generate first-party node key information corresponding to each of the local user nodes;

[0165] The first-party node key information and the corresponding node identifier are sent to the second party, so that the second party can select the seed node key information corresponding to the seed user node from the first-party node key information based on the node identifiers, and aggregate the seed node key information and the acquired second-party key information to obtain the aggregated key information.

[0166] Optionally, the decryption feedback result includes a target node identifier, and the message recommendation module is further used to:

[0167] Sending each of the secondary encrypted similarity information to the second party, so that the second party can decrypt each of the secondary encrypted similarity information according to the second party key and the homomorphic encryption key corresponding to the second party key information, and using the successfully decrypted similarity information as the neighbor node similarity information corresponding to the seed user node, and selecting the target node identifier from each of the node identifiers sent by the first party according to the neighbor node similarity information;

[0168] receiving a target node identifier sent by the second party, and taking a local user node corresponding to the target node identifier as the target user node;

[0169] Recommend a message to the target user node.

[0170] Optionally, the encrypted seed user feature information includes a encrypted filtering feature threshold, the local user feature information includes a local user feature value, the encrypted similarity information includes encrypted feature filtering information, and the similarity calculation module is further used to:

[0171] Determine a number of neighbor nodes corresponding to each of the local user nodes according to the association relationship between the local user nodes;

[0172] Determining, from among the local user characteristic values, neighbor node characteristic values ​​corresponding to each of the plurality of neighbor nodes;

[0173] The dense state feature filtering information corresponding to each of the plurality of neighboring nodes is generated according to the difference between the feature value of each of the neighboring nodes and the dense state filtering feature threshold.

[0174] Optionally, the similarity calculation module is further used for:

[0175] respectively calculating the difference between each of the neighbor node feature values ​​and the dense state filtering feature threshold to obtain each dense state feature difference information;

[0176] A first random number corresponding to each of the local user nodes is obtained, and based on each of the first random numbers, the value size information in each of the dense state feature difference information is fuzzy processed to obtain each of the dense state filtering feature information.

[0177] Optionally, the encrypted filtering feature information includes a encrypted byte stream, and the similarity calculation module is further used to:

[0178] According to each of the first random numbers, fuzzy processing is performed on the value size information in each of the secret feature difference information to obtain each fuzzy processing result;

[0179] Each of the fuzzy processing results is converted into a corresponding byte stream, and each of the byte streams is encrypted according to a preset byte stream encryption key corresponding to each of the byte streams to obtain each of the secret byte streams.

[0180] Optionally, the encrypted filtering feature information includes a encrypted byte stream, the secondary encrypted similarity information includes a decryption intermediate parameter array, and the secondary encryption module is further used to:

[0181] Obtaining each second random number, and generating a first decryption intermediate parameter corresponding to each second random number;

[0182] Generate decryption parameter byte streams according to the key difference between the aggregate key information and the first party node key information and the second random numbers;

[0183] Performing byte-by-byte AND on each of the decryption parameter byte streams and the corresponding encrypted byte stream to obtain a second decryption intermediate parameter corresponding to each of the encrypted byte streams;

[0184] Each of the first decryption intermediate parameters and the corresponding second decryption intermediate parameters are combined into a corresponding decryption intermediate parameter array, so that the second party can convert the decryption intermediate parameter array into a corresponding encrypted byte stream by performing byte-by-byte AND on the first decryption intermediate parameters and the second decryption intermediate parameters in the decryption intermediate parameter array according to the second party key information.

[0185] The message recommendation optimization device provided by the present application adopts the message recommendation optimization method in the above embodiment to solve the technical problem that data privacy cannot be protected when recommending messages. Compared with the prior art, the beneficial effects of the message recommendation optimization device provided by the embodiment of the present application are the same as the beneficial effects of the message recommendation optimization method provided by the above embodiment, and other technical features in the message recommendation optimization device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0186] Embodiment 4

[0187] The embodiment of the present application further provides a message recommendation optimization device, which is applied to a second party, and the message recommendation optimization device includes:

[0188] A secret feature information acquisition module, used to acquire secret seed user feature information corresponding to a seed user node, wherein the secret seed user feature information is obtained by homomorphically encrypting user feature information of the seed user node;

[0189] A sending module, used to send the encrypted seed user characteristic information to the first party, so that the first party can respectively calculate the similarity between the local user characteristic information of the neighboring nodes corresponding to each local user node and the encrypted seed user characteristic information, and obtain the encrypted similarity information corresponding to each local user node;

[0190] An aggregate key information generation module, used to generate aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information;

[0191] An aggregate key information feedback module, used to feed back the aggregate key information to the first party, so that the first party can encrypt the corresponding encrypted similarity information according to the difference between the aggregate key information and the key information of each first party node, and obtain the secondary encrypted similarity information corresponding to each local user node;

[0192] A decryption module, used for receiving each secondary encrypted similarity information sent by the first party, and decrypting each secondary encrypted similarity information respectively to obtain a decryption feedback result;

[0193] The message recommendation module is used to send the decryption feedback result to the first party, so that the first party can select a target user node from each local user node for message recommendation according to the decryption feedback result sent by the first party.

[0194] Optionally, the aggregate key information generation module is further used to:

[0195] Receiving each first-party node key information and a node identifier corresponding to each first-party node key information sent by the first party;

[0196] Determining, according to each of the node identifiers, the seed node key information corresponding to the seed user node in each of the first-party node key information;

[0197] The second party key information is obtained, and the seed node key information and the second party key information are aggregated to obtain aggregate key information.

[0198] Optionally, the decryption feedback result includes a target node identifier, and the decryption module is further used to:

[0199] Decrypting each of the secondary encrypted similarity information respectively according to the second party key corresponding to the second party key information and the homomorphic encryption key, and using the successfully decrypted similarity information as the neighbor node similarity information corresponding to the seed user node;

[0200] A target node identifier is selected from each of the node identifiers according to the neighbor node similarity information.

[0201] Optionally, the secondary encrypted similarity information includes a decryption intermediate parameter array, and the decryption module is further used to:

[0202] Encrypting the first decryption intermediate parameter in the decryption intermediate parameter array according to the second party key to obtain a third decryption intermediate parameter;

[0203] Performing a byte-by-byte AND operation on the third decryption intermediate parameter and the second decryption intermediate parameter in the corresponding decryption intermediate parameter array, so as to use the AND operation result obtained by successfully performing the byte-by-byte AND operation as the secret byte stream of the seed user node;

[0204] Decrypt the encrypted byte stream based on the homomorphic encryption key and the preset byte stream encryption key corresponding to the seed user node.

[0205] The message recommendation optimization device provided by the present application adopts the message recommendation optimization method in the above embodiment to solve the technical problem that data privacy cannot be protected when recommending messages. Compared with the prior art, the beneficial effects of the message recommendation optimization device provided by the embodiment of the present application are the same as the beneficial effects of the message recommendation optimization method provided by the above embodiment, and other technical features in the message recommendation optimization device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0206] Embodiment 5

[0207] An embodiment of the present application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the message recommendation optimization method in the above-mentioned embodiment one.

[0208] Reference below Figure 4 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0209] like Figure 4 As shown, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device into a random access memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus.

[0210] Typically, the following systems can be connected to the I / O interface: input devices including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices including, for example, a magnetic tape, a hard disk, etc.; and communication devices. The communication device can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have alternatively.

[0211] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0212] The electronic device provided by the present application adopts the message recommendation optimization method in the above embodiment to solve the technical problem that data privacy cannot be protected when recommending messages. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the present application are the same as the beneficial effects of the message recommendation optimization method provided by the above embodiment, and the other technical features in the electronic device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0213] It should be understood that the various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0214] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0215] Embodiment 6

[0216] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the message recommendation optimization method in the above-mentioned embodiment 1.

[0217] The computer-readable storage medium provided in the embodiment of the present application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 above. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a system or a device or used in combination with it. The program code contained on the computer-readable storage medium can be transmitted with any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0218] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0219] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device: receives the secret seed user feature information sent by the second party, wherein the secret seed user feature information is obtained by the second party performing homomorphic encryption on the user feature information of the seed user node; respectively calculates the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the secret seed user feature information, and obtains the encrypted similarity information corresponding to each local user node; obtains the aggregated key information between the first party and the second party, wherein the aggregated key information is obtained by aggregating the seed node key information and the second party key information in the key information of each first party node; encrypts the corresponding encrypted similarity information according to the difference between the aggregated key information and the key information of each first party node, and obtains the secondary encrypted similarity information corresponding to each local user node; sends each secondary encrypted similarity information to the second party for decryption, and selects the target user node from each local user node for message recommendation according to the decryption feedback result sent by the second party.

[0220] Alternatively, the confidential seed user characteristic information corresponding to the seed user node is obtained by homomorphically encrypting the user characteristic information of the seed user node; the confidential seed user characteristic information is sent to the first party, so that the first party can respectively calculate the similarity between the local user characteristic information of the neighboring nodes corresponding to each local user node and the confidential seed user characteristic information, and obtain the encrypted similarity information corresponding to each local user node; and the aggregate key information between the first party and the second party is generated, wherein the aggregate key information is composed of the seed node key information in the key information of each first-party node and the second-party key The information is aggregated; the aggregate key information is fed back to the first party, so that the first party can encrypt the corresponding encrypted similarity information according to the difference between the aggregate key information and the key information of each first-party node, and obtain the secondary encrypted similarity information corresponding to each local user node; receive each secondary encrypted similarity information sent by the first party, decrypt each secondary encrypted similarity information, and obtain a decryption feedback result; send the decryption feedback result to the first party, so that the first party can select a target user node from each local user node for message recommendation according to the decryption feedback result sent by the first party.

[0221] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0222] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0223] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of the module does not limit the unit itself in some cases.

[0224] The computer-readable storage medium provided by the present application stores computer-readable program instructions for executing the above-mentioned message recommendation optimization method, which solves the technical problem that data privacy cannot be protected when recommending messages. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the embodiment of the present application are the same as the beneficial effects of the message recommendation optimization method provided in the above-mentioned embodiment, and will not be repeated here.

[0225] Embodiment 7

[0226] The present application also provides a computer program product, including a computer program, which implements the steps of the message recommendation optimization method as described above when executed by a processor.

[0227] The computer program product provided by the present application solves the technical problem that data privacy cannot be protected when recommending messages. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the present application are the same as the beneficial effects of the message recommendation optimization method provided by the above embodiment, which will not be repeated here.

[0228] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.

Claims

1. A message recommendation optimization method, characterized in that: Applied to the first party, the message recommendation optimization method includes: Receiving the secret seed user characteristic information sent by the second party, wherein the secret seed user characteristic information is obtained by the second party performing homomorphic encryption on the user characteristic information of the seed user node; Respectively calculating the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the encrypted seed user feature information to obtain the encrypted similarity information corresponding to each local user node; Acquire aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information; According to the difference between the aggregate key information and the key information of each first-party node, the corresponding encrypted similarity information is respectively encrypted to obtain the secondary encrypted similarity information corresponding to each local user node; Each of the secondary encrypted similarity information is sent to the second party for decryption, and according to the decryption feedback result sent by the second party, a target user node is selected from each of the local user nodes for message recommendation.

2. The message recommendation optimization method according to claim 1, characterized in that: The step of obtaining aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information, comprises: Generate first-party node key information corresponding to each of the local user nodes; The first-party node key information and the corresponding node identifier are sent to the second party, so that the second party can select the seed node key information corresponding to the seed user node from the first-party node key information based on the node identifiers, and aggregate the seed node key information and the acquired second-party key information to obtain the aggregated key information.

3. The message recommendation optimization method according to claim 1, characterized in that: The decryption feedback result includes a target node identifier, and the step of sending each of the secondary encrypted similarity information to the second party for decryption, and selecting a target user node from each of the local user nodes for message recommendation according to the decryption feedback result sent by the second party includes: Sending each of the secondary encrypted similarity information to the second party, so that the second party can decrypt each of the secondary encrypted similarity information according to the second party key and the homomorphic encryption key corresponding to the second party key information, and using the successfully decrypted similarity information as the neighbor node similarity information corresponding to the seed user node, and selecting the target node identifier from each of the node identifiers sent by the first party according to the neighbor node similarity information; receiving a target node identifier sent by the second party, and taking a local user node corresponding to the target node identifier as the target user node; Recommend a message to the target user node.

4. The message recommendation optimization method according to claim 1, characterized in that: The encrypted seed user feature information includes a encrypted filtering feature threshold, the local user feature information includes a local user feature value, and the encrypted similarity information includes encrypted feature filtering information. The step of respectively calculating the similarity between the local user feature information of the neighboring nodes corresponding to each local user node and the encrypted seed user feature information to obtain the encrypted similarity information corresponding to each local user node comprises: Determine a number of neighbor nodes corresponding to each of the local user nodes according to the association relationship between the local user nodes; Determining, from among the local user characteristic values, neighbor node characteristic values ​​corresponding to each of the plurality of neighbor nodes; The dense state feature filtering information corresponding to each of the plurality of neighboring nodes is generated according to the difference between the feature value of each of the neighboring nodes and the dense state filtering feature threshold.

5. The message recommendation optimization method according to claim 4, characterized in that: The step of generating the dense state feature filtering information corresponding to each of the plurality of neighboring nodes according to the difference between the feature value of each of the neighboring nodes and the dense state filtering feature threshold comprises: respectively calculating the difference between each of the neighbor node feature values ​​and the dense state filtering feature threshold to obtain each dense state feature difference information; A first random number corresponding to each of the local user nodes is obtained, and based on each of the first random numbers, the value size information in each of the secret feature difference information is fuzzy processed to obtain each of the secret feature filtering information.

6. The message recommendation optimization method according to claim 5, characterized in that: The secret feature filtering information includes a secret byte stream, The step of performing fuzzy processing on the value size information in each of the dense feature difference information according to each of the first random numbers to obtain each of the dense feature filtering information comprises: According to each of the first random numbers, fuzzy processing is performed on the value size information in each of the secret feature difference information to obtain each fuzzy processing result; Each of the fuzzy processing results is converted into a corresponding byte stream, and each of the byte streams is encrypted according to a preset byte stream encryption key corresponding to each of the byte streams to obtain each of the encrypted byte streams.

7. The message recommendation optimization method according to claim 4, characterized in that: The secret feature filtering information includes a secret byte stream, the secondary encrypted similarity information includes a decryption intermediate parameter array, The step of encrypting the corresponding encrypted similarity information according to the difference between the aggregate key information and the key information of each first-party node to obtain the secondary encrypted similarity information corresponding to each local user node comprises: Obtaining each second random number, and generating a first decryption intermediate parameter corresponding to each second random number; Generate each decryption parameter byte stream according to the key difference between the aggregate key information and the first party node key information and each second random number; Performing byte-by-byte AND on each of the decryption parameter byte streams and the corresponding encrypted byte stream to obtain a second decryption intermediate parameter corresponding to each of the encrypted byte streams; Each of the first decryption intermediate parameters and the corresponding second decryption intermediate parameters are combined into a corresponding decryption intermediate parameter array, so that the second party can convert the decryption intermediate parameter array into a corresponding encrypted byte stream by performing byte-by-byte AND on the first decryption intermediate parameters and the second decryption intermediate parameters in the decryption intermediate parameter array according to the second party key information.

8. A message recommendation optimization method, characterized in that: Applied to the second party, the message recommendation optimization method includes: Obtaining secret seed user characteristic information corresponding to the seed user node, wherein the secret seed user characteristic information is obtained by homomorphically encrypting user characteristic information of the seed user node; Sending the encrypted seed user characteristic information to the first party, so that the first party can respectively calculate the similarity between the local user characteristic information of the neighboring nodes corresponding to each local user node and the encrypted seed user characteristic information, and obtain the encrypted similarity information corresponding to each local user node; Generate aggregate key information between the first party and the second party, wherein the aggregate key information is obtained by aggregating the seed node key information in each first party node key information and the second party key information; Feeding back the aggregate key information to the first party, so that the first party can encrypt the corresponding encrypted similarity information according to the difference between the aggregate key information and the key information of each first party node, and obtain the secondary encrypted similarity information corresponding to each local user node; receiving each secondary encrypted similarity information sent by the first party, and decrypting each secondary encrypted similarity information respectively to obtain a decryption feedback result; The decryption feedback result is sent to the first party, so that the first party selects a target user node from each of the local user nodes for message recommendation according to the decryption feedback result sent by the first party.

9. The message recommendation optimization method according to claim 8, characterized in that: The step of generating aggregate key information between the first party and the second party comprises: Receiving each first-party node key information and a node identifier corresponding to each first-party node key information sent by the first party; Determining, according to each of the node identifiers, the seed node key information corresponding to the seed user node in each of the first-party node key information; The second party key information is obtained, and the seed node key information and the second party key information are aggregated to obtain aggregate key information.

10. The message recommendation optimization method according to claim 8, characterized in that: The decryption feedback result includes the target node identifier, The step of respectively decrypting each of the secondary encrypted similarity information to obtain a decryption feedback result comprises: Decrypting each of the secondary encrypted similarity information respectively according to the second party key and the homomorphic encryption key corresponding to the second party key information, and using the successfully decrypted similarity information as the neighbor node similarity information corresponding to the seed user node; A target node identifier is selected from each of the node identifiers according to the neighbor node similarity information.

11. The message recommendation optimization method according to claim 10, characterized in that: The secondary encrypted similarity information includes a decryption intermediate parameter array, The decrypting each of the secondary encrypted similarity information respectively according to the second party key corresponding to the second party key information and the homomorphic encryption key comprises: Encrypting the first decryption intermediate parameter in the decryption intermediate parameter array according to the second party key information to obtain a third decryption intermediate parameter; Performing a byte-by-byte AND operation on the third decryption intermediate parameter and the second decryption intermediate parameter in the corresponding decryption intermediate parameter array, so as to use the AND operation result obtained by successfully performing the byte-by-byte AND operation as the secret byte stream of the seed user node; Decrypt the encrypted byte stream based on the homomorphic encryption key and the preset byte stream encryption key corresponding to the seed user node.

12. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, 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 steps of the message recommendation optimization method according to any one of claims 1 to 11.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for implementing the message recommendation optimization method, and the program for implementing the message recommendation optimization method is executed by a processor to implement the steps of the message recommendation optimization method as described in any one of claims 1 to 11.

14. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the message recommendation optimization method according to any one of claims 1 to 11 are implemented.