Bond portfolio management methods and devices, storage media and electronic equipment

By constructing a confused circuit model to decompose the financial engineering model and encrypting it on the client side, the problem of data leakage in bond portfolio management is solved, and user privacy and model security are protected.

CN115828305BActive Publication Date: 2026-05-26ZHONGJINKE INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHONGJINKE INFORMATION TECH CO LTD
Filing Date
2022-12-28
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In existing bond portfolio management methods, users' bond portfolio data and financial engineering models are easily exposed during the service process, making it difficult to protect user privacy and institutional model data security.

Method used

By constructing a confused circuit model, the financial engineering model is broken down into logic circuits and processed using confused circuit technology. The user's bond portfolio data is encrypted on the client side, while the service institution's model data is processed by the confused circuit model on the server side, thus avoiding data leakage.

Benefits of technology

It achieves the protection of user privacy and financial engineering model data security in the process of bond portfolio management, avoids the leakage of user asset data and model data, and meets the needs of data privacy protection and model security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115828305B_ABST
    Figure CN115828305B_ABST
Patent Text Reader

Abstract

This invention provides a bond portfolio management method, apparatus, storage medium, and electronic device. The method includes: upon receiving a bond portfolio management request from a client, determining the target service category corresponding to the request; identifying a target obfuscated circuit model from among multiple constructed obfuscated circuit models; the target obfuscated circuit model being a model constructed based on a financial engineering model corresponding to the target service category; sending the target obfuscated circuit model to the client, enabling the client to process the bond portfolio data using the target obfuscated circuit model to obtain model output results; receiving the model output results; determining the bond portfolio management result corresponding to the model output results; and sending the bond portfolio management result to the client. By applying this method, no financial engineering model needs to be used during the service process, and the user's bond portfolio data does not need to be exposed to the server, thus protecting model data security and user data privacy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of financial technology, and in particular to a bond portfolio management method and apparatus, storage medium and electronic device. Background Technology

[0002] Bond portfolio management services are one of the main businesses in bond investment scenarios. Bond portfolio management refers to calculating indicators such as expected return, value at risk, and conditional value at risk for a specific bond portfolio in order to analyze the bond portfolio.

[0003] Current bond portfolio management methods typically involve analyzing bond portfolios using financial engineering models to obtain the results. Users need to input their bond portfolio data into a financial engineering model provided by a financial service institution. After processing by the model, the user obtains the analysis results output by the financial engineering model.

[0004] In practical applications, on the one hand, as users become more aware of privacy protection, they are increasingly unwilling to expose the privacy of their asset data. On the other hand, with the development of model decomposition technology, financial engineering models face increasingly higher security risks. Based on existing bond portfolio management methods, both users' bond portfolio data and financial service institutions' financial engineering models are exposed during the service process, making it difficult to protect users' asset data privacy and also detrimental to protecting the model data security of financial engineering models. Summary of the Invention

[0005] In view of this, embodiments of the present invention provide a bond portfolio management method to solve the problem that in the existing bond portfolio management process, both the user's bond portfolio data and financial engineering model are exposed, which is not conducive to protecting user privacy and institutional model data security.

[0006] This invention also provides a bond portfolio management device to ensure the practical implementation and application of the above method.

[0007] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0008] A bond portfolio management method, comprising:

[0009] When a bond portfolio management request is received from a client, the target service category corresponding to the bond portfolio management request is determined;

[0010] Among a number of pre-built obfuscation circuit models, a target obfuscation circuit model corresponding to the target service category is determined; the target obfuscation circuit model is a model constructed based on the financial engineering model corresponding to the target service category.

[0011] The target obfuscation circuit model is sent to the client, so that the client can process the user-input bond portfolio data through the target obfuscation circuit model and obtain the model output result.

[0012] Receive the model output result sent by the client;

[0013] Determine the bond portfolio management results corresponding to the model output;

[0014] The bond portfolio management results are sent to the client to complete the bond portfolio management service process.

[0015] Optionally, the process of constructing the target obfuscated circuit model in the above method includes:

[0016] Based on the financial engineering model corresponding to the target service category, construct the initial obfuscation circuit corresponding to the target service category;

[0017] Based on a preset circuit optimization strategy, the initial obfuscation circuit is optimized to obtain an optimized obfuscation circuit corresponding to the initial obfuscation circuit.

[0018] The optimized obfuscation circuit is used as the target obfuscation circuit model.

[0019] Optionally, in the above method, optimizing the initial obfuscation circuit according to a preset circuit optimization strategy to obtain an optimized obfuscation circuit corresponding to the initial obfuscation circuit includes:

[0020] Based on a preset point replacement strategy, the initial obfuscation circuit is optimized to obtain a first obfuscation circuit corresponding to the initial obfuscation circuit;

[0021] Based on a preset costless XOR gate strategy, the first obfuscation circuit is optimized to obtain a second obfuscation circuit corresponding to the first obfuscation circuit.

[0022] The second obfuscation circuit is used as the optimized obfuscation circuit corresponding to the initial obfuscation circuit.

[0023] Optionally, in the above method, the process by which the client processes the user-input bond portfolio data using the target obfuscation circuit model to obtain the model output includes:

[0024] Call the preset data conversion interface to perform Boolean data conversion on the bond portfolio data to obtain a Boolean array corresponding to the bond portfolio data;

[0025] The Boolean array is input into the target obfuscation circuit model. After processing by the target obfuscation circuit model, the output data of the target obfuscation circuit model is obtained, and the output data is used as the model output result.

[0026] Optionally, in the above method, determining the bond portfolio management result corresponding to the model output includes:

[0027] The model output is decrypted according to a preset cryptographic algorithm, and the decryption result is used as the bond portfolio management result.

[0028] Optionally, the preset cryptographic algorithm in the above method is the SM2 elliptic curve public key cryptography algorithm.

[0029] A bond portfolio management device, comprising:

[0030] The first determining unit is used to determine the target service category corresponding to the bond portfolio management request when it receives a bond portfolio management request sent by the client.

[0031] The second determining unit is used to determine the target obfuscation circuit model corresponding to the target service category from among a plurality of pre-built obfuscation circuit models; the target obfuscation circuit model is a model constructed based on the financial engineering model corresponding to the target service category;

[0032] The first sending unit is used to send the target obfuscation circuit model to the client, so that the client can perform model processing on the bond portfolio data input by the user through the target obfuscation circuit model and obtain the model output result;

[0033] A receiving unit is used to receive the model output result sent by the client;

[0034] The third determining unit is used to determine the bond portfolio management result corresponding to the model output result;

[0035] The second sending unit is used to send the bond portfolio management results to the client to complete the bond portfolio management service process.

[0036] Optionally, the third determining unit in the aforementioned apparatus includes:

[0037] The decryption subunit is used to decrypt the output of the model according to a preset cryptographic algorithm, and use the decryption result as the bond portfolio management result.

[0038] A storage medium comprising stored instructions, wherein, when the instructions are executed, the device in which the storage medium resides controls the execution of the bond portfolio management method as described above.

[0039] An electronic device includes a memory and one or more instructions, wherein one or more instructions are stored in the memory and configured to be executed by one or more processors as described above in the bond portfolio management method.

[0040] A bond portfolio management method based on the above embodiments of the present invention includes: upon receiving a bond portfolio management request from a client, determining the target service category corresponding to the request; determining a target obfuscated circuit model corresponding to the target service category from among a plurality of pre-built obfuscated circuit models; the target obfuscated circuit model is a model constructed based on a financial engineering model corresponding to the target service category; sending the target obfuscated circuit model to the client, enabling the client to process the user-input bond portfolio data through the target obfuscated circuit model and obtain a model output result; receiving the model output result sent by the client; determining the bond portfolio management result corresponding to the model output result; and sending the bond portfolio management result to the client to complete the current bond portfolio management service process. By applying the method provided by the embodiments of the present invention, during the bond portfolio management service process, service institutions can provide services to users through obfuscated circuit models constructed based on financial engineering models. The financial engineering models are not exposed, which helps protect the model data security of the financial engineering models. The user's bond portfolio data is only processed on the client side through the obfuscated circuit model. Obfuscated circuit models are a type of model that performs calculations based on encrypted data, which can prevent the user's bond portfolio data from being exposed. Therefore, in the process of bond portfolio management, it is possible to avoid the leakage of model data of financial engineering models of service institutions, as well as the leakage of user asset privacy data, which is conducive to meeting the model data security protection needs of service institutions and the data privacy protection needs of users. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0042] Figure 1 A flowchart of a bond portfolio management method provided in an embodiment of the present invention;

[0043] Figure 2 This is another flowchart of a bond portfolio management method provided in an embodiment of the present invention;

[0044] Figure 3 Another flowchart of a bond portfolio management method provided in this embodiment of the invention;

[0045] Figure 4 This is a schematic diagram of the structure of a bond portfolio management device provided in an embodiment of the present invention;

[0046] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0047] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0048] In this application, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0049] This invention provides a bond portfolio management method, which can be applied to a bond portfolio management system. The executing entity can be the system's server. The method flowchart is shown below. Figure 1 As shown, it includes:

[0050] S101: When a bond portfolio management request is received from a client, the target service category corresponding to the bond portfolio management request is determined;

[0051] In the method provided by this invention, when a user needs to use the bond portfolio management service, they can select the desired service category through a client, thereby sending a bond portfolio management request to the server. The client can display the service categories of various bond portfolio management services supported by the system, from which the user can select a service category. When the server receives the bond portfolio management request, it can parse the request to obtain parameters representing the service category selected by the user, identify the selected service category based on these parameters, and use the selected service category as the target service category.

[0052] S102: Among the pre-built multiple obfuscation circuit models, determine the target obfuscation circuit model corresponding to the target service category; the target obfuscation circuit model is a model constructed based on the financial engineering model corresponding to the target service category;

[0053] In the method provided by this invention, various bond portfolio management services have their corresponding financial engineering models. Each financial engineering model is pre-decomposed, and the operational logic of each model is determined. Then, logic circuits implementing the operational logic of the financial engineering models are constructed using logic gates such as XOR gates, AND gates, and NOT gates. These logic circuits are then processed using obfuscation circuit technology to obtain an obfuscation circuit model corresponding to each service category. The obfuscation circuit model for each service category is a model constructed based on the financial engineering model corresponding to that service category. Obfuscation circuits are a cryptographic technique that uses methods such as unintentional transmission and logic gates to convert computational tasks into Boolean circuit representations and perform obfuscation operations, using ciphertext as input, output, and intermediate results. Obfuscation circuits are an existing secure computing technique and will not be described in detail here.

[0054] In the method provided by the embodiments of the present invention, the service category corresponding to each obfuscated circuit model can be matched with the target service category, and the obfuscated circuit model whose corresponding service category matches the target service category is taken as the target obfuscated circuit model.

[0055] S103: Send the target obfuscation circuit model to the client, so that the client can process the user-input bond portfolio data through the target obfuscation circuit model and obtain the model output result;

[0056] In the method provided by this invention, when using the bond portfolio management service, a user can input their bond portfolio data into the client. The bond portfolio data refers to data such as the names and holding shares of each bond in the user's portfolio. When the client receives the target obfuscated circuit model, it can process the bond portfolio data through the target obfuscated circuit model to obtain the model output result. The calculation process of the obfuscated circuit model involves encryption, therefore the model output result is encrypted data. After obtaining the model output result, the client returns it to the server.

[0057] S104: Receive the model output result sent by the client;

[0058] In the method provided in this embodiment of the invention, the server can receive the model output results sent by the client.

[0059] S105: Determine the bond portfolio management result corresponding to the model output result;

[0060] In the method provided by this embodiment of the invention, the server can decrypt the model output result using a decryption strategy corresponding to the encryption strategy of the target obfuscated circuit model, and use the decryption result as the debt portfolio management result.

[0061] S106: Send the bond portfolio management results to the client to complete the bond portfolio management service process.

[0062] In the method provided by this embodiment of the invention, the server can send the bond portfolio management results to the client to provide feedback on the bond portfolio management results to the user.

[0063] Based on the method provided in this embodiment of the invention, when a bond portfolio management request is received from a client, the target service category corresponding to the bond portfolio management request is determined; among a plurality of pre-built obfuscated circuit models, the target obfuscated circuit model corresponding to the target service category is determined; the target obfuscated circuit model is a model constructed based on the financial engineering model corresponding to the target service category; the target obfuscated circuit model is sent to the client, enabling the client to process the user-input bond portfolio data through the target obfuscated circuit model and obtain the model output result; the model output result sent by the client is received; the bond portfolio management result corresponding to the model output result is determined; the bond portfolio management result is sent to the client, completing the bond portfolio management service process. Applying the method provided in this embodiment of the invention, during the bond portfolio management service process, the service institution can provide services to the user through an obfuscated circuit model constructed based on a financial engineering model. The financial engineering model is not exposed, which is beneficial for protecting the model data security of the financial engineering model. The user's bond portfolio data is only processed on the client through the obfuscated circuit model. The obfuscated circuit model is a type of model that performs calculations based on encrypted data, which can prevent the user's bond portfolio data from being exposed. Therefore, in the process of bond portfolio management, it is possible to avoid the leakage of model data of financial engineering models of service institutions, as well as the leakage of user asset privacy data, which is conducive to meeting the model data security protection needs of service institutions and the data privacy protection needs of users.

[0064] exist Figure 1 Based on the method shown, this invention provides another method for managing bond portfolios, such as... Figure 2 As shown, in the method provided by this embodiment of the invention, the construction process of the target obfuscated circuit model mentioned in step S102 includes:

[0065] S201: Based on the financial engineering model corresponding to the target service category, construct the initial obfuscation circuit corresponding to the target service category;

[0066] In the method provided by this invention, the financial engineering model corresponding to the target service category can be decomposed, and the operational logic of the financial engineering model can be broken down into various basic operations. Through the construction mechanism of obfuscated circuits, various logic gates are used to construct logic circuits corresponding to each basic operation of the financial engineering model. These logic circuits are then integrated to obtain an integrated logic circuit. The integrated logic circuit is processed using an obfuscated circuit protocol, and the result is used as the initial obfuscated circuit corresponding to the target service category. A brief example of the logic circuit construction follows. For instance, for the operation comparing the size of values ​​a and b, value a can be converted to a binary value: a n a n-1 ...a1, converts the value b to its binary form: b n b n-1 ...b1. Define a new variable c:

[0067]

[0068] Define c1 = 0, given a i b i and c i In the case of a, it can be known that i >b i or a i =b i And c i When c = 1, i+1 =1. Based on the above logic, we know that a n a n-1 ...a1 and b n b n-1 The size relationship of b1 can be determined through a. i With b i The size relationship and a i-1 ...a1 and b i-1 The magnitude relationship of b1 is determined. A comparison circuit can be constructed using logic gates to determine the magnitude relationship of c. i a i and b i As the input of the circuit, c i+1 As the output of the circuit, the outputs are c2, c3, ..., c n+1 By connecting and encapsulating the various comparison circuits in series, a logic circuit for comparing the values ​​a and b can be obtained.

[0069] S202: Based on a preset circuit optimization strategy, the initial obfuscation circuit is optimized to obtain an optimized obfuscation circuit corresponding to the initial obfuscation circuit;

[0070] In the method provided by this embodiment of the invention, a circuit optimization strategy is pre-set. The initial obfuscation circuit can be optimized using the preset circuit optimization strategy, and the optimized initial obfuscation circuit is used as the optimized obfuscation circuit. The circuit optimization strategy can be set based on existing obfuscation circuit optimization techniques.

[0071] S203: Use the optimized obfuscation circuit as the target obfuscation circuit model.

[0072] In the method provided by the embodiments of the present invention, the model characterized by the optimized obfuscated circuit is used as the target obfuscated circuit model.

[0073] It should be noted that in the method provided by the embodiments of the present invention, each pre-constructed obfuscated circuit model can be built based on its corresponding financial engineering model, and its construction principle is the same as that of the target obfuscated circuit model. (See also: [link to related documentation]). Figure 2 The descriptions in the illustrated embodiments are not detailed here.

[0074] Based on the methods provided in the above embodiments, this invention provides yet another method for managing bond portfolios, such as... Figure 3 As shown, in the method provided by this embodiment of the invention, the process of optimizing the initial obfuscated circuit according to a preset circuit optimization strategy to obtain the optimized obfuscated circuit corresponding to the initial obfuscated circuit in step S202 includes:

[0075] S301: Based on a preset point replacement strategy, the initial obfuscation circuit is optimized to obtain a first obfuscation circuit corresponding to the initial obfuscation circuit;

[0076] In the method provided by this invention, the obfuscation circuit is optimized using a point and permute strategy, and the optimized result is used as the first obfuscation circuit. The point and permute strategy is an existing obfuscation circuit optimization strategy, also known as the ciphertext random sorting and coloring decryption method. This method optimizes circuit performance and reduces the number of decryption attempts for each gate operation. Its processing principle mainly includes:

[0077] Each signal input is randomly marked with two colors;

[0078] Set a fixed coloring sorting scheme, such as blue-blue > blue-red > red-blue > red-red, and sort the input according to this scheme;

[0079] Based on the obtained output coloring combination, the corresponding ciphertext is directly selected for single decryption, reducing the number of operations.

[0080] S302: Based on a preset costless XOR gate strategy, optimize the first obfuscation circuit to obtain a second obfuscation circuit corresponding to the first obfuscation circuit;

[0081] In the method provided by this invention, the obfuscation circuit is optimized using a free XOR gate strategy, and the obfuscation circuit optimized by the point substitution strategy and the free XOR gate strategy is used as the second obfuscation circuit. The free XOR gate strategy is an existing obfuscation circuit optimization strategy. This strategy mainly optimizes the performance of the XOR gate circuit in the obfuscation circuit. Its optimization principle mainly includes:

[0082] A fixed bias Δ is applied to the input signal;

[0083] Use the biased signal to input the XOR gate;

[0084] The result obtained after bias is the same as the result before bias.

[0085] S303: Use the second obfuscation circuit as the optimized obfuscation circuit corresponding to the initial obfuscation circuit.

[0086] In the method provided by the embodiments of the present invention, the obfuscated circuit optimized by the point substitution strategy and the costless XOR gate strategy is used as the optimized obfuscated circuit.

[0087] exist Figure 1 Based on the method shown, in the method provided by this embodiment of the invention, the process by which the client, as mentioned in step S103, performs model processing on the user-input bond portfolio data through the target obfuscation circuit model to obtain the model output result includes:

[0088] Call the preset data conversion interface to perform Boolean data conversion on the bond portfolio data to obtain a Boolean array corresponding to the bond portfolio data;

[0089] In the method provided in this embodiment of the invention, the server provides an interface to convert the input into a Boolean array, and the client can call a preset data conversion interface to convert the bond portfolio data input by the user into the corresponding Boolean array.

[0090] The Boolean array is input into the target obfuscation circuit model. After processing by the target obfuscation circuit model, the output data of the target obfuscation circuit model is obtained, and the output data is used as the model output result.

[0091] In the method provided by this embodiment of the invention, the client can input the Boolean array obtained by calling the interface into the target obfuscated circuit model. After the target obfuscated circuit model performs calculations, the client can read the output data from the output end of the target obfuscated circuit model and use the output data of the target obfuscated circuit model as the model output result.

[0092] exist Figure 1 Based on the method shown, the process of determining the bond portfolio management result corresponding to the model output result mentioned in step S105 of the method provided in this embodiment of the invention includes:

[0093] The model output is decrypted according to a preset cryptographic algorithm, and the decryption result is used as the bond portfolio management result.

[0094] In the method provided by this invention, the target obfuscated circuit model encrypts the output data using a preset cryptographic algorithm; that is, the model output is data encrypted using the preset cryptographic algorithm. After decrypting the model output using the decryption strategy within the preset cryptographic algorithm, the plaintext bond portfolio management result can be obtained.

[0095] Based on the methods provided in the above embodiments, in the method provided in this embodiment of the invention, the preset cryptographic algorithm is the SM2 elliptic curve public key cryptography algorithm.

[0096] In the method provided by this invention, the target obfuscated circuit model encrypts its output data using the SM2 elliptic curve public-key cryptography algorithm. Correspondingly, during the decryption process of the model output result, the SM2 elliptic curve public-key cryptography algorithm is used to decrypt the model output result. The SM2 elliptic curve public-key cryptography algorithm is an existing Chinese national cryptographic algorithm, commonly referred to simply as the SM2 algorithm, and will not be described in detail here.

[0097] To better illustrate the method provided in this embodiment of the invention, another bond portfolio management method is provided below, combined with a practical application scenario. The method provided in this embodiment of the invention employs an obfuscated circuit protocol to construct a bond portfolio management service with bidirectional privacy and security for both the model and data. The bond portfolio management service provider (service provider), as the generator of the obfuscated circuit, converts its provided financial engineering model into a combination representation of many logic gates, performs obfuscation, and then sends the obfuscated circuit to the service user. The bond portfolio management service user (client) converts its own holdings data into a Boolean array and inputs it into the obfuscated circuit, returning the resulting Boolean array output to the service provider. Upon receiving the result, the service provider decrypts it and synchronizes the obtained bond portfolio management result with the service user.

[0098] The bond portfolio management service process provided in this embodiment of the invention mainly includes:

[0099] The provider of bond portfolio management services generates obfuscated circuits. These obfuscated circuits are generated individually based on the financial engineering model they use. Different services involve different financial engineering models, which correspond to different obfuscated circuits. The basic components of the obfuscated circuits are costless XOR gates, AND gates, and NOT gates.

[0100] The service provider optimizes the circuit performance using a costless XOR circuit and a ciphertext random sorting and coloring decryption method, provides a calling interface to convert the input into a Boolean array, and uses the SM2 algorithm to encrypt the circuit operation results.

[0101] The client initiates a request, and the service provider sends the obfuscation circuit corresponding to the financial engineering model of the requested service to the client. The client calls the interface to convert the position data into a Boolean array and performs calculations using the obfuscation circuit. After the calculation is complete, the client returns the output, also a Boolean array, to the service provider.

[0102] After receiving the results, the service provider decrypts them and synchronizes the resulting bond portfolio management results with the client.

[0103] The following is a brief explanation of the processing flow of the SM2 algorithm.

[0104] The data encryption process based on the SM2 algorithm mainly includes the following:

[0105] The information to be encrypted is a bit string M, where len is the bit length of M.

[0106] Use a random number generator to generate a random number k, k∈[1,n-1];

[0107] Calculate the points on the elliptic curve: C1 = [k]G = (x1, y1), S = [h]P B , [k]P B = (x2, y2), where G represents the base point chosen on the elliptic curve, h is the integer part of the number of all points on the elliptic curve divided by the order of point G, and P B Represents the public key;

[0108] Calculate key derivation functions, hash functions, etc.:

[0109] t = KDF(x2||y2,len), C3 = Hash(x2||M||y2);

[0110] Output ciphertext: C = C1||C2||C3.

[0111] The data decryption process based on the SM2 algorithm mainly includes the following:

[0112] Extract the bit string C1 from the ciphertext and verify whether it satisfies the elliptic curve equation. If it does not, the decryption is incorrect.

[0113] Calculate the points on the elliptic curve and verify if they are at infinity. If they are at infinity, the decryption is incorrect.

[0114] Calculate t and verify that it is not a string of all zeros; otherwise, a decryption error will occur: [d] B C1 = (x2, y2), t = KDF(x2||y2, len), where d B Represents the private key;

[0115] Calculate the information in the C-bit string: u = Hash(x2||M'||y2);

[0116] If u≠C3, then the decryption is incorrect; otherwise, M' is the decrypted plaintext.

[0117] Based on the method provided in this embodiment of the invention, the construction process of the obfuscated circuit uses a costless XOR circuit and a random sorting and coloring decryption method for ciphertext to optimize performance. The service provider's model and the customer's original data are not exposed in the entire process, which can meet the data privacy protection requirements and also meet the requirements of different financial institutions in the bond market who are unwilling to expose customer data due to competition. This technological breakthrough lays the foundation for providing new data services for the financial infrastructure of the bond market.

[0118] Based on the method provided in this invention, privacy computing technology is used to convert the financial engineering model in bond portfolio management services into an obfuscated circuit form. Input data remains locally, eliminating concerns for service providers about model exposure and service users about portfolio data leakage. The circuit's performance is optimized using a costless XOR circuit and a randomized ciphertext coloring decryption method, ensuring that the XOR gates in the entire circuit incur no additional cost and reducing computational load and security parameters. The SM2 algorithm is used to encrypt the circuit's computation results, with the private key stored with the service provider. This protects the service provider's interests while preventing brute-force attacks on the circuit, thus improving system security and availability.

[0119] and Figure 1 Corresponding to the bond portfolio management method shown, this embodiment of the invention also provides a bond portfolio management device for managing... Figure 1 The specific implementation of the method shown is illustrated in the following diagram. Figure 4 As shown, it includes:

[0120] The first determining unit 401 is used to determine the target service category corresponding to the bond portfolio management request when it receives a bond portfolio management request sent by the client.

[0121] The second determining unit 402 is used to determine the target obfuscation circuit model corresponding to the target service category among a plurality of pre-built obfuscation circuit models; the target obfuscation circuit model is a model built based on the financial engineering model corresponding to the target service category;

[0122] The first sending unit 403 is used to send the target obfuscation circuit model to the client, so that the client can perform model processing on the bond portfolio data input by the user through the target obfuscation circuit model and obtain the model output result;

[0123] The receiving unit 404 is used to receive the model output result sent by the client;

[0124] The third determining unit 405 is used to determine the bond portfolio management result corresponding to the model output result;

[0125] The second sending unit 406 is used to send the bond portfolio management results to the client to complete the bond portfolio management service process.

[0126] Based on the apparatus provided in this embodiment of the invention, when a bond portfolio management request is received from a client, the target service category corresponding to the bond portfolio management request is determined; among a plurality of pre-built obfuscated circuit models, the target obfuscated circuit model corresponding to the target service category is determined; the target obfuscated circuit model is a model constructed based on the financial engineering model corresponding to the target service category; the target obfuscated circuit model is sent to the client, enabling the client to process the user-input bond portfolio data through the target obfuscated circuit model and obtain the model output result; the model output result sent by the client is received; the bond portfolio management result corresponding to the model output result is determined; the bond portfolio management result is sent to the client, completing the bond portfolio management service process. Using the apparatus provided in this embodiment of the invention, during the bond portfolio management service process, the service institution can provide services to the user through an obfuscated circuit model constructed based on a financial engineering model. The financial engineering model is not exposed, which is beneficial for protecting the model data security of the financial engineering model. The user's bond portfolio data is only processed on the client through the obfuscated circuit model. The obfuscated circuit model is a type of model that performs calculations based on encrypted data, which can prevent the user's bond portfolio data from being exposed. Therefore, in the process of bond portfolio management, it is possible to avoid the leakage of model data of financial engineering models of service institutions, as well as the leakage of user asset privacy data, which is conducive to meeting the model data security protection needs of service institutions and the data privacy protection needs of users.

[0127] Based on the apparatus provided in the above embodiments, in the apparatus provided in the embodiments of the present invention, the third determining unit 405 includes:

[0128] The decryption subunit is used to decrypt the output of the model according to a preset cryptographic algorithm, and use the decryption result as the bond portfolio management result.

[0129] exist Figure 4 Based on the device shown, the device provided in this embodiment of the invention can be further extended to include multiple units. The functions of each unit can be found in the descriptions of the various embodiments of the bond portfolio management method provided above, and will not be further illustrated here.

[0130] This invention also provides a storage medium that includes stored instructions, wherein the execution of the instructions controls the device where the storage medium is located to perform the bond portfolio management method described above.

[0131] This invention also provides an electronic device, the structural schematic of which is shown below. Figure 5 As shown, it specifically includes a memory 501 and one or more instructions 502, wherein one or more instructions 502 are stored in the memory 501 and configured to be executed by one or more processors 503 to perform the following operations:

[0132] When a bond portfolio management request is received from a client, the target service category corresponding to the bond portfolio management request is determined;

[0133] Among a number of pre-built obfuscation circuit models, a target obfuscation circuit model corresponding to the target service category is determined; the target obfuscation circuit model is a model constructed based on the financial engineering model corresponding to the target service category.

[0134] The target obfuscation circuit model is sent to the client, so that the client can process the user-input bond portfolio data through the target obfuscation circuit model and obtain the model output result.

[0135] Receive the model output result sent by the client;

[0136] Determine the bond portfolio management results corresponding to the model output;

[0137] The bond portfolio management results are sent to the client to complete the bond portfolio management service process.

[0138] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0139] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0140] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A bond portfolio management method, characterized in that, include: When a bond portfolio management request is received from a client, the target service category corresponding to the bond portfolio management request is determined; In a plurality of pre-built obfuscated circuit models, the service category corresponding to each obfuscated circuit model is matched with the target service category to obtain the target obfuscated circuit model corresponding to the target service category; the target obfuscated circuit model is a model built based on the financial engineering model corresponding to the target service category; The target obfuscation circuit model is sent to the client, so that the client can process the user-input bond portfolio data through the target obfuscation circuit model and obtain the model output result. Receive the model output result sent by the client; Determine the bond portfolio management results corresponding to the model output; The bond portfolio management results are sent to the client to complete the bond portfolio management service process.

2. The method according to claim 1, characterized in that, The construction process of the target obfuscated circuit model includes: Based on the financial engineering model corresponding to the target service category, construct the initial obfuscation circuit corresponding to the target service category; Based on a preset circuit optimization strategy, the initial obfuscation circuit is optimized to obtain an optimized obfuscation circuit corresponding to the initial obfuscation circuit. The optimized obfuscation circuit is used as the target obfuscation circuit model.

3. The method according to claim 2, characterized in that, The step of optimizing the initial obfuscated circuit according to a preset circuit optimization strategy to obtain an optimized obfuscated circuit corresponding to the initial obfuscated circuit includes: Based on a preset point replacement strategy, the initial obfuscation circuit is optimized to obtain a first obfuscation circuit corresponding to the initial obfuscation circuit; Based on a preset costless XOR gate strategy, the first obfuscation circuit is optimized to obtain a second obfuscation circuit corresponding to the first obfuscation circuit. The second obfuscation circuit is used as the optimized obfuscation circuit corresponding to the initial obfuscation circuit.

4. The method according to claim 1, characterized in that, The process by which the client processes the user-input bond portfolio data using the target obfuscation circuit model to obtain the model output includes: Call the preset data conversion interface to perform Boolean data conversion on the bond portfolio data to obtain a Boolean array corresponding to the bond portfolio data; The Boolean array is input into the target obfuscation circuit model. After processing by the target obfuscation circuit model, the output data of the target obfuscation circuit model is obtained, and the output data is used as the model output result.

5. The method according to claim 1, characterized in that, Determining the bond portfolio management result corresponding to the model output includes: The model output is decrypted according to a preset cryptographic algorithm, and the decryption result is used as the bond portfolio management result.

6. The method according to claim 5, characterized in that, The preset cryptographic algorithm is the SM2 elliptic curve public key cryptography algorithm.

7. A bond portfolio management device, characterized in that, include: The first determining unit is used to determine the target service category corresponding to the bond portfolio management request when it receives a bond portfolio management request sent by the client. The second determining unit is used to match the service category corresponding to each of the pre-constructed multiple obfuscated circuit models with the target service category to obtain the target obfuscated circuit model corresponding to the target service category; the target obfuscated circuit model is a model constructed based on the financial engineering model corresponding to the target service category; The first sending unit is used to send the target obfuscation circuit model to the client, so that the client can perform model processing on the bond portfolio data input by the user through the target obfuscation circuit model and obtain the model output result; A receiving unit is used to receive the model output result sent by the client; The third determining unit is used to determine the bond portfolio management result corresponding to the model output result; The second sending unit is used to send the bond portfolio management results to the client to complete the bond portfolio management service process.

8. The apparatus according to claim 7, characterized in that, The third determining unit includes: The decryption subunit is used to decrypt the output of the model according to a preset cryptographic algorithm, and use the decryption result as the bond portfolio management result.

9. A storage medium, characterized in that, The storage medium includes stored instructions, wherein, when the instructions are executed, the device containing the storage medium is controlled to perform the bond portfolio management method as described in any one of claims 1 to 6.

10. An electronic device, characterized in that, It includes a memory, and one or more instructions, wherein one or more instructions are stored in the memory and configured to be executed by one or more processors as described in any one of claims 1 to 6.