Reputation reference aggregation transfer method based on inner product encryption and distributed system

By using the inner product encryption method to encrypt and decrypt reputation data with the assistance of cloud servers and trusted authority centers, the problem of privacy leakage during the reputation transfer process is solved and data security and system accuracy are ensured.

CN118631493APending Publication Date: 2024-09-10ANHUI NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410616083.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to ensure that the privacy of the reputation requester and reputation provider is not leaked during the reference reputation transfer process, and there is a risk of identity and data leakage.

Method used

Using a method based on inner product encryption, the public parameters of the system are generated and distributed through a trusted authority center. The reputation requester and the reputation provider perform encryption key management and double authentication under the intermediate agent of the cloud server to ensure the encryption and decryption of reputation data. No identity or data will be disclosed during the process.

Benefits of technology

The secure weighted calculation of reputation data is realized, ensuring the privacy protection of the reputation provider and the data security of the reputation owner, and improving the accuracy and reliability of the reputation system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118631493A
    Figure CN118631493A
Patent Text Reader

Abstract

The invention discloses a reference reputation aggregation transfer method based on inner product encryption and a distributed system. The reference reputation aggregation transfer method comprises the steps that a reputation requester initiates a request to a cloud server after user authorization; the cloud server receives and verifies the request, and distributes the request to a plurality of reputation providers; the reputation provider receives the request, normalizes the local reputation value of the user, carries out encryption calculation on the normalized reputation value, sends an encrypted ciphertext to the cloud server, carries out decryption key calculation on the weight value of the normalized reputation value, and sends the weight value to the trusted authority center; the cloud server carries out aggregation calculation on the encrypted ciphertext passing the authentication and sends the encrypted ciphertext to the reputation requester, and the trusted authority center carries out aggregation calculation on the decryption key and sends the decryption key to the reputation requester; the reputation requester decrypts the encrypted ciphertext by using the decryption key to obtain a plaintext, and looks up through a mapping table to obtain an index value; according to the invention, privacy protection of the reputation provider and data security of the reputation owner are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transfer, and in particular to a reference reputation aggregation transfer method and a distributed system based on inner product encryption. Background Art

[0002] With the continuous progress of society and the rapid development of science and technology, people have more and more choices in service applications. For example, e-commerce platforms such as Taobao, JD.com, and Pinduoduo, which are online shopping applications, have greatly enriched consumers' options. However, this has also brought a new challenge: when users try new applications, they often need to re-establish their credit records, which means that they must accumulate reputation from scratch in order to enjoy the same high-quality services as on other platforms.

[0003] In order to improve user experience and reduce the time it takes for users to adapt to new platforms, an innovative solution is to achieve cross-platform reputation value transfer and integration. In this way, new applications can draw on the reputation data accumulated by users in other historical applications to derive a comprehensive reference initial reputation value. This reference initial reputation value can not only help users quickly obtain corresponding services and treatment on the new platform, but also promote positive interactions between platforms and the exchange of user data. In addition, this cross-platform reputation integration method can also help new applications better understand user behavior habits and preferences, thereby providing more personalized and accurate services.

[0004] However, reputation values ​​contain the private information of many users. How to safely integrate and calculate the reputation values ​​in these different systems without leaking the privacy of reputation requesters and reputation providers is an urgent problem that needs to be solved. Summary of the invention

[0005] The purpose of the present invention is to provide a reference reputation aggregation transfer method and distributed system based on inner product encryption to solve the technical problem in the prior art of not leaking the privacy of reputation requesters and reputation providers in reference reputation transfer.

[0006] In order to solve the above technical problems, the present invention specifically provides the following technical solutions:

[0007] A reference reputation aggregation transfer method based on inner product encryption includes the following steps:

[0008] Step 100: The trusted authority center generates and distributes system public parameters for the reputation provider, reputation requester, and cloud server to initialize the system, and provides encryption keys for each of the reputation providers and cloud servers;

[0009] Step 200: After the user authorizes, the reputation requester initiates a request to the cloud server to obtain the user's local reputation information in other historical applications;

[0010] Step 300: The cloud server receives the request and verifies the legitimacy of the reputation requester, and after verification, distributes the request to multiple other historical applications that serve as reputation providers;

[0011] Step 400: Each reputation provider receives the request and normalizes the local reputation value of the user, encrypts the normalized reputation value based on the encryption key, sends the encrypted ciphertext to the cloud server, and sends the decryption key to the trusted authority center;

[0012] Step 500: The cloud server receives the encrypted ciphertexts from the reputation providers, aggregates the authenticated encrypted ciphertexts, and sends the aggregated encrypted ciphertexts to the reputation requester; the trusted authority center aggregates the decryption key and sends the aggregated decryption key to the reputation requester;

[0013] Step 600: The reputation requester uses the decryption key to decrypt the encrypted ciphertext to obtain plaintext, and obtains an index value by searching a mapping table.

[0014] As a preferred solution of the present invention, in step 100, the trusted authority center generates and distributes system public parameters for the reputation provider, the reputation requester and the cloud server to implement system initialization steps as follows:

[0015] Given a security parameter λ, the trusted authority generates a large prime number q through the given security parameter λ and selects a bilinear pairing e:G1×G1→G2, where Z q , G1 and G2 are the integer group, additive group and multiplicative group of order q respectively;

[0016] Get the integer group Z q The hash mapping function is H1:{0,1} * →Z q , the hash mapping function of the additive group G1 is H2:{0,1} * →G1;

[0017] The public system public parameters generated by the trusted authority center are:

[0018] params={q,a,g,Z q ,G1,G2,H1,H2}, where a and q are Z q and the generators of G1;

[0019] As a preferred solution of the present invention, after the reputation requester successfully registers in the trusted authority center, it initiates a request for user reference reputation calculation to the cloud server with user authorization;

[0020] After successfully registering with the trusted authority center, the reputation provider receives a request from the cloud server and provides the local reputation value of the user to the reputation requester;

[0021] After the cloud server, the reputation requester and the reputation provider register with the trusted authority center to join the system, the trusted authority center provides encryption keys for each reputation provider and cloud server in the following steps:

[0022] The reputation provider randomly selects a random number s i ∈Z p As its encryption key, calculate Y i =s i g, where X i and Y i is a public value;

[0023] The cloud server selects a random number s j ∈Z p As its encryption key, calculate Y j =s j g, where X j and Y j It is a public value.

[0024] As a preferred solution of the present invention, in step 200, the user sends the identifier ID u Authorize the reputation requester to obtain the user's reputation value data in other historical applications. The specific implementation steps are:

[0025] Step 101: The reputation requester sends the user identifier ID u Perform a hash operation to obtain the user's anonymous identity A: A = SHA (ID u );

[0026] Step 102: The reputation requester sends the user identifier ID u Combined with the timestamp hash mapping, we get B = H1 (ID u +timestamp);

[0027] Step 103: Send the request data (A, B, y, timestamp) to the cloud server; where y = {y1, y2, ..., y n}∈Z qis the coefficient vector in the reputation weighting calculation.

[0028] As a preferred solution of the present invention, in step 300, the cloud server receives the request and verifies the legitimacy of the reputation requester, and the specific implementation method is:

[0029] The cloud server searches for the real ID through the user's anonymous identity A u ', and verify it with the timestamp, where the timestamp is: F = H1 (ID u '+timestamp)

[0030] If B=F, it means that the reputation requester has been authorized by the user and passed the verification of the cloud server, and the cloud server now enters the distribution request stage.

[0031] As a preferred solution of the present invention, when the cloud server enters the request distribution phase, the cloud server acts as a proxy to make data requests to each reputation provider, and the specific implementation method is as follows:

[0032] First, the cloud server calculates the weight vector y={y1,y2,…,y n}∈Z q Determine each target historical application and use the target historical application as a reputation provider;

[0033] Secondly, the cloud server assigns a random value r = {r1, r2, ..., r n}∈Z q and The data request algorithm is based on the encryption key selected by the cloud server during the registration phase, the public value X of each reputation provider during the registration phase, and the i and a random value r i Outputting a reputation request ciphertext corresponding to each of the reputation providers;

[0034] Finally, the cloud server sends each reputation request ciphertext to each reputation provider.

[0035] As a preferred solution of the present invention, in step 400, each reputation provider receives the reputation request ciphertext from the cloud server, and each reputation provider performs an encryption operation on the local reputation value of the user to generate an encrypted ciphertext, and generates a decryption key corresponding to the encrypted ciphertext. The specific implementation steps are:

[0036] The reputation provider receives the data request from the cloud server and sends the user's anonymous SHA (ID u ) Look up the user’s reputation value R in the local database u , and R uAfter normalization, we map it to the integer group and get

[0037] Calculate the random value r sent by the cloud server i ;

[0038] Each of the reputation providers uses the encryption key selected during the registration phase as a local private key, encrypts the reputation value and weight, and executes an algorithm to generate a ciphertext;

[0039] Each of the reputation providers sends the ciphertext to the cloud server and the trusted authority center respectively, wherein the ciphertext sent to the trusted authority center is used as a decryption key, and the ciphertext sent to the cloud server is used as an encrypted ciphertext.

[0040] As a preferred solution of the present invention, in step 500, after receiving the ciphertext message from each reputation provider, the cloud server authenticates the message and determines the mapping value H1 (ID u ) and the mapping value H1(ID u ) are the same;

[0041] If they are the same, the trusted authority center aggregates the decryption keys of the partial decryption keys sent by the reputation provider, and the cloud server performs an aggregation operation on the received encrypted ciphertext message after authentication, and sends it to the reputation requester.

[0042] As a preferred solution of the present invention, in step 600, the reputation requester receives the decryption key sent from the trusted authority center and the encrypted ciphertext sent from the cloud server, and runs a decryption program in combination with the decryption key and the encrypted ciphertext to obtain the plaintext;

[0043] The reference reputation value can be quickly obtained by searching the mapping table.

[0044] In addition, the present invention also provides a distributed system for a reference reputation aggregation calculation method applied to inner product encryption, including:

[0045] The reputation requester, after successfully registering with the trusted authority center, initiates a request for user reference reputation calculation to the cloud server through the reputation requester after user authorization;

[0046] The reputation provider, after successfully registering with the trusted authority center, receives the request from the cloud server and provides the local reputation value of the user to the reputation requester;

[0047] A cloud server, which acts as an intermediate proxy entity to authenticate the identity of the reputation requester and, after receiving a request from the reputation requester, sends a request on behalf of the reputation requester to each reputation provider that the user has used;

[0048] The cloud server receives the encrypted data of the reputation provider and performs dual identity authentication on the encrypted data, and performs aggregate calculation on the reputation ciphertext after successful authentication;

[0049] Trusted authority center: distributes system public parameters to reputation providers, cloud servers and reputation requesters, performs key aggregation on decryption keys from the reputation providers, and sends the aggregated decryption keys to the reputation requesters.

[0050] Compared with the prior art, the present invention has the following beneficial effects:

[0051] The present invention can ensure the authenticity and reliability of the source of reputation data through dual authentication of user identity and historical application platform identity, and solves problems such as identity and data leakage in the reputation provision process through encryption and decryption operations on reputation data, thereby achieving privacy protection of the reputation provider and data security of the reputation owner, and also realizing secure weighted calculation of reference reputation, which can more accurately evaluate the user's reputation in different applications, thereby improving the accuracy and reliability of the reputation system. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0053] Figure 1 A structural block diagram of a computing system for referencing reputation in an inner product encryption distributed system according to an embodiment of the present invention;

[0054] Figure 2 A schematic diagram of a flow chart of a method for calculating a reference reputation in an inner product encryption distributed system according to an embodiment of the present invention; DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] like Figure 1 As shown, the present invention provides a distributed system of inner product encryption, including: a reputation requester, a reputation provider, a cloud server and a trusted authority center.

[0057] After the reputation requester successfully registers with the trusted authority center, it initiates a request for user reference reputation calculation to the cloud server through the reputation requester after user authorization.

[0058] After successfully registering with the trusted authority center, the reputation provider receives the request from the cloud server and provides the user's local reputation value to the reputation requester.

[0059] That is to say, in the entire system, both the reputation requester and the reputation provider need to register with the trusted authority center to join the system first. The trusted authority center distributes the initialized system public parameters to the reputation requesters, reputation providers and cloud servers that join the system.

[0060] The cloud server acts as an intermediate proxy entity to authenticate the identity of the reputation requester, and after receiving the request sent by the reputation requester, it sends requests on behalf of the reputation requester to various reputation providers that the user has used.

[0061] The cloud server receives the encrypted data from the reputation provider and performs double identity authentication on the encrypted data. After successful authentication, the reputation ciphertext is aggregated and calculated.

[0062] The trusted authority center is used to distribute system public parameters to reputation providers, cloud servers and reputation requesters, and to perform key aggregation on the decryption keys from reputation providers, and send the aggregated decryption keys to the reputation requesters. The reputation requesters use the decryption keys to decrypt the encrypted ciphertext of the reference reputation to obtain the plaintext, thereby further obtaining the index value of the reference reputation.

[0063] This distributed system based on inner product encryption can solve problems such as identity and data leakage in the reputation provision process, realize the privacy protection of the reputation provider and the data security of the reputation owner, and also realize the secure weighted calculation of reference reputation.

[0064] In addition, the present invention provides a specific application of the inner product encrypted distributed system, that is, a reference reputation aggregation transfer method based on the inner product encrypted distributed system, such as Figure 2As shown, the following steps are included:

[0065] Step 100: construct a distributed system formed by the reputation requester, cloud server, remaining providers and a trusted authority center, and initialize the distributed system. This step specifically relies on the trusted authority center to generate and distribute system public parameters for the reputation provider, reputation requester and cloud server respectively to initialize the system, and provide encryption keys for each reputation provider and cloud server.

[0066] Before implementing the aggregate transfer of reference reputation, the trusted authority center publishes parameters to the reputation provider, reputation requester, and cloud server distribution system respectively, so that the entire reputation provider, reputation requester, and cloud server perform initialization operations;

[0067] The specific implementation method is:

[0068] For a given security parameter λ, the trusted authority generates a large prime number q through the given security parameter λ and selects a bilinear pairing e:G1×G1→G2, where Z q , G1 and G2 are the integer group, additive group and multiplicative group of order q respectively;

[0069] The system public parameters disclosed by the trusted authority center are: params = {q, a, g, Z q ,G1,G2,H1,H2}, where a and g are Z q , the generator of G1, H1:{0,1} * →Z q ,H2:{0,1} * →G1 is two hash mapping functions.

[0070] After the reputation requester successfully registers with the trusted authority center, it initiates a request for user reference reputation calculation to the cloud server with user authorization.

[0071] After successfully registering with the trusted authority center, the reputation provider receives the request from the cloud server and provides the user's local reputation value to the reputation requester.

[0072] The cloud server, reputation requester, and reputation provider register with the trusted authority center to join the system. The reputation provider randomly selects a random number s i ∈Z p As its encryption key, calculate Y i =s i g, where X i and Y i is a public value;

[0073] The cloud server selects a random number s j ∈Zp As its encryption key, calculate Y j =s j g, where X j and Y j It is a public value.

[0074] The system public parameters generated by the trusted authority center are for each reputation requester to pass the random number s i and random number s j Generate an encryption key, and the decryption key is generated by this corresponding random number, that is, the encrypted ciphertext and decryption key in the entire reputation encryption system are generated based on the above random number.

[0075] Step 200: After the user authorizes, the reputation requester initiates a request to the cloud server to obtain the user's local reputation information in other historical applications.

[0076] In step 200, the user enters the identifier ID u Authorize the reputation requester to obtain the user's reputation value data in other historical applications. The specific implementation steps are:

[0077] Step 201: The reputation requester sends the user identifier ID u Perform a hash operation to obtain the user's anonymous identity A: A = SHA (ID u );

[0078] Step 202: User ID u Combined with the timestamp hash mapping, we get B = H1 (ID u +timestamp);

[0079] Step 203: Send the request data (A, B, y, timestamp) to the cloud server; where y = {y1, y2, ..., y n}∈Z q is the coefficient vector in the reputation weighting calculation.

[0080] Since each target application platform (i.e. reputation provider) provides different services, the cloud server also gives different weights to the local reputation data provided by each target application platform (i.e. reputation provider). Generally, application data that provide more similar services have higher reference weights, and this weight distribution can be determined based on the type of services provided by the target application platform (i.e. reputation provider), the user's activities in the target application platform (i.e. reputation provider), and other relevant factors.

[0081] By weighting the reputation data of different target application platforms (i.e., reputation providers), the reputation of users in different target application platforms (i.e., reputation providers) can be evaluated more accurately, thereby improving the accuracy and reliability of the reputation system.

[0082] Step 300: The cloud server receives the request and verifies the legitimacy of the reputation requester, and after verification, distributes the request to multiple other historical applications that serve as reputation providers.

[0083] In step 300, the cloud server receives the request and verifies the legitimacy of the reputation requester. The specific implementation method is as follows:

[0084] The cloud server looks up the real ID through the user's anonymous identity A u ', and verify it with the timestamp, where the timestamp is: F = H1 (ID u '+timestamp)

[0085] If B=F, it means that the reputation requester has been authorized by the user and passed the verification of the cloud server. At this time, the cloud server enters the distribution request stage.

[0086] When the cloud server enters the request distribution phase, the cloud server acts as a proxy to make data requests to each reputation provider. The specific implementation method is as follows:

[0087] First, the cloud server calculates the weight vector y={y1,y2,…,y n}∈Z q Determine each target historical application and use the target historical application as a reputation provider;

[0088] Second, the cloud server assigns a random value r = {r1, r2, ..., rn} ∈ Z to each reputation provider q and The data request algorithm is based on the local encryption private key sj selected by the cloud server during the registration phase, the public value X of each reputation provider during the registration phase, and the i and a random value r i Output the encrypted ciphertext corresponding to each reputation provider;

[0089] Finally, the cloud server will encrypt the ciphertext C1 = (SHA (ID u ),T i ,y i ) is distributed to each reputation provider as a reputation request.

[0090] The specific implementation process of the data request algorithm is as follows in Table 1:

[0091] Table 1 Data request algorithm

[0092]

[0093] Step 400: Each reputation provider receives the request and normalizes the user's local reputation value, encrypts the normalized reputation value based on the encryption key, sends the encrypted ciphertext to the cloud server, and sends the decryption key to the trusted authority center.

[0094] In step 400, each reputation provider receives the reputation request ciphertext from the cloud server, and each reputation provider performs an encryption operation on the local reputation value of the user to generate an encrypted ciphertext, and generates a decryption key corresponding to the encrypted ciphertext. The specific implementation steps are:

[0095] Step 401: The reputation provider receives a data request from the cloud server and sends the user's anonymous SHA (ID u ) Look up the user’s reputation value R in the local database u , and R u After normalization, we map it to the integer group and get

[0096] Step 402: Calculate the random value r in the reputation request sent by the cloud server i ,in, ri = AES.Dec(Ti, Zi);

[0097] Step 403: The reputation provider uses the local encryption private key s i And calculate the random value r sent by the cloud server i The reputation value and weight are encrypted separately, and the algorithm is executed to generate encrypted ciphertext. The specific encryption operation process is shown in Table 2 below.

[0098] Table 2 Data encryption algorithm

[0099]

[0100] Step 404: Each reputation provider sends the encrypted ciphertext of the reputation value and the encrypted ciphertext of the weight value to the cloud server and the trusted authority center respectively, wherein the ciphertext sent to the trusted authority center is used as the decryption key, and the ciphertext sent to the cloud server is used as the encryption ciphertext.

[0101] Step 500: The cloud server receives encrypted ciphertexts from various reputation providers, aggregates the authenticated encrypted ciphertexts, and sends the aggregated encrypted ciphertexts to the reputation requester. The trusted authority center aggregates the decryption keys and sends the aggregated decryption keys to the reputation requester.

[0102] In step 500, after receiving the encrypted messages from each reputation provider, the cloud server authenticates the messages. The specific authentication process is as follows:

[0103] calculate

[0104] Determine the mapping value H1(ID u ) and the mapping value H1(ID u ) are the same, if they are the same, then the above formula is equal:

[0105]

[0106] Where t = H1(H1(ID u )|C).

[0107] After the reputation provider passes the message authentication of the cloud server, the cloud server aggregates the received encrypted ciphertext and sends it to the reputation requester. The aggregation operation is implemented by multiplication:

[0108]

[0109] The trusted authority aggregates the partial decryption keys sent by the reputation provider, namely:

[0110]

[0111] Where n is the number of user history applications that serve as reputation providers.

[0112] Step 600: The reputation requester uses the decryption key to decrypt the encrypted ciphertext to obtain the plaintext, and obtains the index value by searching the mapping table.

[0113] In step 600, the reputation requester receives the decryption key dk sent from the trusted authority and the ciphertext C sent by the cloud server. t , run the decryption program to get:

[0114]

[0115]

[0116] Finally, by searching the mapping table, we can quickly get the reference reputation value <x, y>. Where n is the number of user history applications that serve as reputation providers.

[0117] The mapping table is a kv (k is<x,y> ,v is g <x,y> ) data structure, the above decryption obtains g <x,y>, in this case, we need to solve the discrete logarithm to obtain the exponential value <x, y>. When the base g is known (g is the generator of the additive group G1 of order q), we can establish [g <x,y>min ,g <x,y>max ] corresponding to the mapping relationship of the index, then solve g <x,y> It saves much time than solving the problem in a loop.

[0118] This weighted calculation method of reference reputation in a distributed system based on inner product encryption can ensure the authenticity and reliability of the source of reputation data through dual authentication of user identity recognition and identity recognition of the user application platform, and solves problems such as identity and data leakage in the reputation provision process through encryption and decryption operations of reputation data, thereby achieving privacy protection of the reputation provider and data security of the reputation owner, and also realizing secure weighted calculation of reference reputation, which can more accurately evaluate the user's reputation in different applications, thereby improving the accuracy and reliability of the reputation system.

[0119] The present invention can ensure the authenticity and reliability of the source of reputation data through dual authentication of user identity and historical application platform identity, and solves problems such as identity and data leakage in the reputation provision process through encryption and decryption operations on reputation data, thereby achieving privacy protection of the reputation provider and data security of the reputation owner, and also realizing secure weighted calculation of reference reputation, which can more accurately evaluate the user's reputation in different applications, thereby improving the accuracy and reliability of the reputation system.

[0120] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.

Claims

1. A reference reputation aggregation transfer method based on inner product encryption, characterized in that: The following steps are involved: Step 100: The trusted authority center generates and distributes system public parameters to the reputation provider, the reputation requester and the cloud server respectively to initialize the system. The cloud server and each of the reputation providers form an encryption key based on the system public parameters. Step 200: After the user authorizes, the reputation requester initiates a request to the cloud server to obtain the local reputation information in the user's historical applications; Step 300: The cloud server receives the request and verifies the legitimacy of the reputation requester, and after verification, distributes the request to multiple user history applications that serve as reputation providers; Step 400: Each reputation provider receives the request and normalizes the local reputation value of the user. Each reputation provider encrypts the normalized reputation value and sends the encrypted ciphertext to the cloud server and sends the decryption key to the trusted authority center. Step 500: The cloud server receives the encrypted ciphertexts from the reputation providers, aggregates the authenticated encrypted ciphertexts, and sends the aggregated encrypted ciphertexts to the reputation requester; the trusted authority center aggregates the decryption key and sends the aggregated decryption key to the reputation requester; Step 600: The reputation requester uses the decryption key to decrypt the encrypted ciphertext to obtain plaintext, and obtains an index value by searching a mapping table.

2. According to claim 1, a method for transferring reference reputation based on inner product encryption is characterized in that: In step 100, the trusted authority center generates and distributes system public parameters to the reputation provider, reputation requester and cloud server respectively to implement system initialization steps as follows: Given a security parameter λ, the trusted authority generates a large prime number q through the given security parameter λ and selects a bilinear pairing e:G1×G1→G2, where Z q , G1 and G2 are the integer group, additive group and multiplicative group of order q respectively; Get the integer group Z q The hash mapping function is H1:{0,1} * →Z q , the hash mapping function of the additive group G1 is H2:{0,1} * →G1; The system public parameters generated by the trusted authority center are: params={q,a,g,Z q ,G1,G2,H1,H2}, where a and q are Z q and the generators of G1.

3. The reference reputation aggregation transfer method based on inner product encryption according to claim 2 is characterized in that: After the reputation requester successfully registers with the trusted authority center, the reputation requester initiates a request for user reference reputation calculation to the cloud server with user authorization; After successfully registering with the trusted authority center, the reputation provider receives a request from the cloud server and provides the local reputation value of the user to the reputation requester; After the cloud server, the reputation requester and the reputation provider register with the trusted authority center to join the system, the trusted authority center provides encryption keys for each reputation provider and cloud server in the following steps: The reputation provider randomly selects a random number s i ∈Z p As its encryption key, calculate Y i =s i g, where X i and Y i is the public value, the X i For forming the encrypted ciphertext, the Y i Used to verify user identity; The cloud server selects a random number s j ∈Z p As its encryption key, calculate Y j =s j g, where X j and Y j is the public value, the X j For forming the encrypted ciphertext, the Y j Used to authenticate user identities.

4. The reference reputation aggregation transfer method based on inner product encryption according to claim 3 is characterized in that: In step 200, the user enters the identifier ID u Authorize the reputation requester to obtain the user's reputation value data in other historical applications. The specific implementation steps are: Step 101: The reputation requester sends the user identifier ID u Perform a hash operation to obtain the user's anonymous identity A: A = SHA (ID u ); Step 102: The reputation requester sends the user identifier ID u Combined with the timestamp hash mapping, we get B = H1 (ID u +timestamp); Step 103: Send the request data (A, B, y, timestamp) to the cloud server; where y = {y1, y2, ..., y n }∈Z q is the coefficient vector of each reputation requester in the reputation weighted calculation.

5. The method for reference reputation aggregation transfer based on inner product encryption according to claim 4, characterized in that: In step 300, the cloud server receives the request and verifies the legitimacy of the reputation requester, which is specifically implemented as follows: The cloud server searches for the real ID through the user's anonymous identity A u ', and verify it with the timestamp, where the timestamp is: F = H1 (ID u '+timestamp) If B=F, it means that the reputation requester has been authorized by the user and passed the verification of the cloud server, and the cloud server now enters the distribution request stage.

6. A reference reputation aggregation transfer method based on inner product encryption according to claim 5, characterized in that: When the cloud server enters the request distribution phase, the cloud server acts as a proxy to make data requests to each reputation provider. The specific implementation method is as follows: First, the cloud server calculates the weight vector y={y1,y2,…,y n }∈Z q Determine each target historical application and use the target historical application as a reputation provider; Secondly, the cloud server assigns a random value r = {r1, r2, ..., r n }∈Z q and Where n is the number of reputation providers, and the data request algorithm is based on the encryption key selected by the cloud server during the registration phase, the public value X of each reputation provider during the registration phase, and the i and a random value r i Outputting a reputation request ciphertext corresponding to each of the reputation providers; Finally, the cloud server sends each reputation request ciphertext to each reputation provider.

7. The method for transferring reference reputation based on inner product encryption according to claim 6, characterized in that: In step 400, each reputation provider receives the reputation request ciphertext from the cloud server, and each reputation provider performs an encryption operation on the local reputation value of the user to generate an encrypted ciphertext, and generates a decryption key corresponding to the encrypted ciphertext. The specific implementation steps are: Step 401: The reputation provider receives the data request from the cloud server and sends the data to the reputation provider through the anonymous SHA (ID u ) Look up the user’s reputation value R in the local database u , and R u After normalization, we map it to the integer group and get Step 402: Calculate the random value r sent by the cloud server i ; Step 403: Each reputation provider uses the encryption key selected during the registration phase as a local private key, encrypts the reputation value and the weight value respectively, and executes an algorithm to generate a ciphertext; Step 404: Each of the reputation providers sends the reputation value ciphertext and the weight value ciphertext to the cloud server and the trusted authority center respectively, wherein the weight value ciphertext sent to the trusted authority center is used as the decryption key, and the reputation value ciphertext sent to the cloud server is used as the encryption ciphertext.

8. The method for reference reputation aggregation transfer based on inner product encryption according to claim 7, characterized in that: In step 500, after receiving the encrypted message from each reputation provider, the cloud server authenticates the message and determines the mapping value H1 (ID u ) and the mapping value H1(ID u ) are the same; If they are the same, the trusted authority center aggregates the decryption keys of the partial decryption keys sent by the reputation provider, and the cloud server performs an aggregation operation on the received encrypted ciphertext message after authentication, and sends it to the reputation requester.

9. The method for transferring reference reputation based on inner product encryption according to claim 8, characterized in that: In step 600, the reputation requester receives the decryption key sent from the trusted authority center and the encrypted ciphertext sent from the cloud server, runs a decryption program with the decryption key and the encrypted ciphertext to obtain the plaintext, and quickly obtains the reference reputation value by searching the mapping table.

10. A distributed system based on the inner product encrypted reference reputation aggregation calculation method according to any one of claims 1 to 9, characterized in that: include: The reputation requester, after successfully registering with the trusted authority center, initiates a request for user reference reputation calculation to the cloud server through the reputation requester after user authorization; The reputation provider, after successfully registering with the trusted authority center, receives the request from the cloud server and provides the local reputation value of the user to the reputation requester; A cloud server, which acts as an intermediate proxy entity to authenticate the identity of the reputation requester and, after receiving a request from the reputation requester, sends a request on behalf of the reputation requester to each reputation provider that the user has used; The cloud server receives the encrypted data of the reputation provider and performs dual identity authentication on the encrypted data, and performs aggregate calculation on the reputation ciphertext after successful authentication; Trusted authority center: distributes system public parameters to reputation providers, cloud servers and reputation requesters, performs key aggregation on decryption keys from the reputation providers, and sends the aggregated decryption keys to the reputation requesters.