Communication data encryption method, storage medium, product and communication data encryption system
By performing spectral clustering and singular value decomposition of the behavioral performance matrix on the communication data, a block matrix is generated to input the credit prediction model, which solves the risk of leakage when communication operators directly provide data, and achieves safe dimensionality reduction and rapid analysis of data. .
Patent Information
- Application Number
- CN202410711397.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-10-01
AI Technical Summary
There is a risk of data leakage when communication operators directly provide users' communication data to financial institutions for risk model modeling.
Use the communication data of potential users to determine the behavior performance matrix, classify the crowd through a preset spectral clustering strategy, use the singular value decomposition method to perform dimensionality reduction and encryption processing on dense matrix blocks, generate a block matrix, and determine the target based on the block matrix Performance data to feed into credit prediction models to push financial products.
Data dimensionality reduction is achieved on the basis of retaining data information, preventing data leakage through restoration, improving data security, saving analysis time, and quickly finding matrix blocks with greater similarity in crowd characteristics.
Smart Images

Figure CN118734330A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data encryption technology, and in particular to a communication data encryption method, storage medium, product and communication data encryption system. Background Art
[0002] In the field of financial customer risk control, machine learning methods are generally used to build risk models by learning from users' past behaviors, predict future users' default risks, and recommend financial products to users based on the predicted results. When financial institutions identify the credit risk of new users, they need to use the data from telecommunications operators to train risk models and then make predictions based on risk control models. However, if telecommunications operators directly provide users' communication data to financial institutions for risk modeling, there is a risk of data leakage. Summary of the invention
[0003] The main purpose of this application is to provide a communication data encryption method, storage medium, product and communication data encryption system, aiming to solve the technical problem of data leakage risk when communication operators directly provide users' communication data to financial institutions for risk model building.
[0004] To achieve the above purpose, the present application proposes a communication data encryption method, which is applied to communication operation equipment. The communication data encryption method includes:
[0005] Determine a behavioral performance matrix based on potential users’ communication data;
[0006] Based on the behavior performance matrix, a preset spectral clustering strategy is used to classify the potential users into groups to obtain a dense matrix block, wherein the preset spectral clustering strategy is to use a singular value decomposition method based on a spectral clustering model;
[0007] Using singular value decomposition method to perform dimension reduction and encryption processing on the dense matrix block to obtain a block matrix;
[0008] The target performance data of the target potential user is determined according to the block matrix, so that the financial institution inputs the target performance data into a credit prediction model to obtain a credit score, and then pushes a target financial product to the target potential user based on the credit score.
[0009] In one embodiment, the step of determining a behavior performance matrix based on the communication data of the potential user comprises:
[0010] Performing characteristic variable derivation on the communication data to obtain target communication data;
[0011] The target communication data is vectorized to obtain a behavior performance matrix, wherein the rows of the behavior performance matrix represent the performance data of any user for all communication behaviors, and the columns of the behavior performance matrix represent the performance data of all users for any communication behavior.
[0012] In one embodiment, the step of classifying the potential users based on the behavior performance matrix using a preset spectral clustering strategy to obtain a dense matrix block includes:
[0013] constructing an undirected graph according to the behavior performance matrix, wherein the undirected graph includes a plurality of vertices and a plurality of edges, wherein the vertices represent users or communication behaviors, and the edges represent the relationship between users and communication behaviors;
[0014] Determine a Laplacian matrix of the behavior performance matrix according to the undirected graph;
[0015] Determine a target vector according to a left singular value vector and a right singular value vector of the Laplace matrix;
[0016] The target vector is clustered to obtain a clustering result, and the behavior performance matrix is adjusted according to the clustering result to obtain a dense matrix block.
[0017] In one embodiment, the step of determining the Laplacian matrix of the behavior performance matrix according to the undirected graph comprises:
[0018] Determine an adjacency matrix of the undirected graph according to the edge weights of the undirected graph;
[0019] Determining the number of edges connected to the vertices according to the undirected graph, and determining the degree matrix of the undirected graph according to the number of edges;
[0020] The Laplacian matrix is determined according to the adjacency matrix and the degree matrix.
[0021] In one embodiment, the step of determining the target vector according to the left singular value vector and the right singular value vector of the Laplacian matrix comprises:
[0022] Based on the Laplace matrix and the degree matrix, the generalized eigenvalue problem is expanded into a first relational expression and a second relational expression, wherein the first relational expression is related to the number of edges of the user vertex, and the second relational expression is related to the number of edges of the communication behavior vertex;
[0023] Based on an expression of a singular value decomposition method, adjusting the first relational expression to a first target relational expression, and adjusting the second relational expression to a second target relational expression;
[0024] According to the first target relationship equation and the second target relationship equation, a left singular value vector and a right singular value vector are determined.
[0025] In one embodiment, the step of determining target performance data of a target potential user according to the block matrix comprises:
[0026] Performing matrix approximation processing on the block matrix to obtain a user vector, a communication behavior vector and a singular value vector;
[0027] The target performance data of the target potential user is determined according to the user vector, the communication behavior vector and the singular value vector.
[0028] To achieve the above purpose, the present application also proposes a communication data encryption method, which is applied to financial institutions. The communication data encryption method includes:
[0029] After inputting the target performance data into the credit prediction model to obtain the credit score, the target financial product is pushed to the target potential user based on the credit score, wherein the target performance data is a behavior performance matrix determined by the communication operator device based on the communication data of the potential user, and based on the behavior performance matrix, a preset spectral clustering strategy is used to classify the potential users into groups to obtain a dense matrix block, and the preset spectral clustering strategy is to use a singular value decomposition method based on the spectral clustering model, and the singular value decomposition method is used to perform dimensionality reduction and encryption processing on the dense matrix block to obtain a block matrix, and the target performance data of the target potential user is determined according to the block matrix.
[0030] In one embodiment, after inputting the target performance data into the credit prediction model to obtain the credit score, the step of pushing the target financial product to the target potential user based on the credit score includes:
[0031] Training an initial credit prediction model based on the block matrix to obtain a credit prediction model;
[0032] After inputting the target performance data into the credit prediction model, the credit score of the target potential user is obtained;
[0033] A target financial product is pushed to the target potential user based on the credit score.
[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a communication data encryption device, the data encryption device comprising:
[0035] a determination module for determining a behavior performance matrix based on the communication data of the potential user;
[0036] An adopting module is used to classify the potential users into groups based on the behavior performance matrix by using a preset spectral clustering strategy to obtain a dense matrix block, wherein the preset spectral clustering strategy is to use a singular value decomposition method based on a spectral clustering model;
[0037] A dimension reduction module is used to perform dimension reduction and encryption processing on the dense matrix block by using a singular value decomposition method to obtain a block matrix;
[0038] The determination module is further used to determine target performance data of the target potential user according to the block matrix, so that the financial institution inputs the target performance data into a credit prediction model to obtain a credit score, and then pushes a target financial product to the target potential user based on the credit score.
[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a communication data encryption device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the communication data encryption method described above.
[0040] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the communication data encryption method described above are implemented.
[0041] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the communication data encryption method described above are implemented.
[0042] In addition, in order to achieve the above-mentioned purpose, the present application also provides a communication data encryption system, which includes a communication operator device and a financial institution, wherein the communication operator device executes the method described above, and the financial institution executes the method described above.
[0043] One or more technical solutions proposed in this application have at least the following technical effects:
[0044] The communication data encryption method, storage medium, product and communication data encryption system provided by the present application determine a behavior performance matrix based on the communication data of potential users; based on the behavior performance matrix, use a preset spectral clustering strategy to classify the potential users into groups to obtain dense matrix blocks, and the preset spectral clustering strategy is to use a singular value decomposition method based on a spectral clustering model; use a singular value decomposition method to perform dimensionality reduction encryption processing on the dense matrix blocks to obtain a block matrix; determine the target performance data of the target potential user according to the block matrix, so that the financial institution inputs the target performance data into a credit prediction model to obtain a credit score, and then pushes a target financial product to the target potential user based on the credit score. The technical problem of data leakage risk when the communication operator directly provides the user's communication data to the financial institution for risk model building is solved. Compared with the prior art, the present application adopts a preset spectral clustering strategy to classify the potential users, which can quickly find the dense matrix blocks with large similarity of population characteristics from the behavior performance matrix of the operator's communication data, which saves more time than analyzing a single individual user. Then, the singular value decomposition method is used to reduce the dimension of the dense matrix blocks and encrypt them. This not only can achieve data dimensionality reduction while retaining more data information, but also can prevent the data user from obtaining the original data through data restoration. Therefore, it is not easy to cause the risk of data leakage, thereby ensuring the security of the data. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0047] Figure 1 A flowchart of the first embodiment of the communication data encryption method of the present application is provided;
[0048] Figure 2 A flow chart of the second embodiment of the communication data encryption method of the present application;
[0049] Figure 3 A flowchart of the third embodiment of the communication data encryption method of the present application is provided;
[0050] Figure 4 This is a schematic diagram of the module structure of the communication data encryption device according to an embodiment of the present application;
[0051] Figure 5 A schematic diagram of the device structure of the hardware operating environment involved in the communication data encryption method in the embodiment of the present application;
[0052] Figure 6 It is a schematic diagram of the structure of the communication data encryption system in the embodiment of the present application.
[0053] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0054] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0055] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0056] The main solution of the embodiment of the present application is: determine a behavior performance matrix based on the communication data of potential users; based on the behavior performance matrix, use a preset spectral clustering strategy to classify the potential users into groups to obtain dense matrix blocks, and the preset spectral clustering strategy is to use a singular value decomposition method based on a spectral clustering model; use a singular value decomposition method to perform dimensionality reduction and encryption processing on the dense matrix blocks to obtain a block matrix; determine the target performance data of the target potential user based on the block matrix, so that the financial institution inputs the target performance data into a credit prediction model to obtain a credit score, and then pushes a target financial product to the target potential user based on the credit score.
[0057] In this embodiment, for ease of description, the following description is made by taking identification of a communication operator device as the execution subject.
[0058] In order to identify the credit risk of new users, financial institutions need to use the data from telecommunications operators to train risk models and then make predictions based on risk control models. However, if telecommunications operators directly provide users' communication data to financial institutions for risk model building, there is a risk of data leakage.
[0059] The present application provides a solution, which adopts a preset spectral clustering strategy to classify potential users, and can quickly find dense matrix blocks with large similarity of population characteristics from the behavioral performance matrix of the operator's communication data, and then use the singular value decomposition method to reduce the dimension and encrypt the dense matrix blocks. This not only can achieve data dimensionality reduction while retaining more data information, but also can prevent the data user from obtaining the original data through data restoration. Therefore, it is not easy to cause the risk of data leakage, thereby ensuring the security of the data.
[0060] It can be seen from the above embodiments that the present application determines a behavior performance matrix based on the communication data of potential users; based on the behavior performance matrix, a preset spectral clustering strategy is used to classify the potential users into groups to obtain a dense matrix block, and the preset spectral clustering strategy is to use a singular value decomposition method based on a spectral clustering model; the singular value decomposition method is used to perform dimensionality reduction and encryption processing on the dense matrix block to obtain a block matrix; the target performance data of the target potential user is determined according to the block matrix, so that the financial institution inputs the target performance data into a credit prediction model to obtain a credit score, and then pushes a target financial product to the target potential user based on the credit score. The technical problem of data leakage risk when the communication operator directly provides the user's communication data to the financial institution for risk model building is solved. Compared with the prior art, the present application adopts a preset spectral clustering strategy to classify the potential users, which can quickly find the dense matrix blocks with large similarity of population characteristics from the behavior performance matrix of the operator's communication data, and then use the singular value decomposition method to reduce the dimension and encrypt the dense matrix blocks. This not only can achieve data dimensionality reduction while retaining more data information, but also can prevent the data user from obtaining the original data through data restoration. Therefore, it is not easy to cause the risk of data leakage, thereby ensuring the security of the data.
[0061] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a communication operator device, etc. The following takes the communication operator device as an example to illustrate this embodiment and the following embodiments.
[0062] Based on this, the present application embodiment provides a communication data encryption method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the communication data encryption method of the present application.
[0063] In this embodiment, applied to a communication operator device, the communication data encryption method includes steps S10 to S40:
[0064] Step S10, determining a behavior performance matrix based on the communication data of the potential user;
[0065] It should be noted that potential users are all users who generate communication data at communication operators; after collecting the user's original communication data, data analysis and data cleaning can be performed on it to obtain communication data for establishing a behavior performance matrix, where the collected original communication data includes but is not limited to user call record information (such as call time, call location, call duration, communication circle, etc.), SMS record information (such as SMS sender, SMS recipient, SMS content, etc.) and mobile traffic data usage information (such as traffic usage, Internet behavior characteristics, etc.).
[0066] In a feasible implementation, the step of determining a behavior performance matrix based on the communication data of potential users includes: deriving characteristic variables of the communication data to obtain target communication data; vectorizing the target communication data to obtain a behavior performance matrix, wherein the rows of the behavior performance matrix represent the performance data of any user for all communication behaviors, and the columns of the behavior performance matrix represent the performance data of all users for any communication behavior.
[0067] It should be noted that deriving characteristic variables from communication data can enrich data dimensions and make it easier to portray user portraits. For example, based on communication data, hundreds of derived variables can be generated, such as the user's consumption amount in the past month, the user's consumption amount in the past three months, the user's consumption amount in the past six months, the number of user outages in the past month, the number of user outages in the past three months, and the number of user outages in the past six months.
[0068] It should be noted that after the target communication data is obtained, it can be vectorized. For example, based on the target communication data, the user set U = {u i |1≤i≤m}, where U contains m users u i , the user's communication behavior set G = {g j |1≤j≤n}, where G includes n communication behaviors g j , according to the user set and the communication behavior set, the behavior performance matrix R = {r ij |1≤i≤m,1≤j≤n}, each row of R represents a specific user u i For the performance data of all communication behaviors, each column of the behavior performance matrix represents the performance of all users for a specific communication behavior g j The performance data of the telecommunications operators' 960 million users will eventually form a behavioral performance matrix with 960 million rows and hundreds of columns.
[0069] Step S20, based on the behavior performance matrix, using a preset spectral clustering strategy to classify the potential users into groups to obtain a dense matrix block, wherein the preset spectral clustering strategy is to use a singular value decomposition method based on a spectral clustering model;
[0070] It should be noted that the use of spectral clustering can find matrix blocks with greater similarity among people in the behavioral performance matrix, thereby realizing the classification of potential users, that is, stratifying and grouping users according to the correlation between users, and finding out the key factors affecting financial risks among different groups.
[0071] It can be understood that the use of the preset spectral clustering method can transform the minimum cut problem into a solution when solving the optimal solution of the minimum cut. The left singular value vector P and the right singular value vector Q of .
[0072] Step S30, using singular value decomposition method to perform dimension reduction encryption processing on the dense matrix block to obtain a block matrix;
[0073] It should be noted that when using SVD (Singular Value Decomposition) to perform dimensionality reduction and encryption processing on dense matrix blocks, data with hundreds of dimensional features can be converted into dozens of dimensions. In order to retain more data information during dimensionality reduction, you can choose to retain the part with larger singular values. This dimensionality reduction method can help reduce the dimension of the features and provide a more concise and compact representation to facilitate subsequent data analysis and processing. At the same time, data users cannot obtain the original data through data restoration, which is not easy to cause the risk of data leakage and ensures data security.
[0074] It should be noted that the block matrix is a number of dense small matrix blocks in the dense matrix block.
[0075] Step S40, determining target performance data of the target potential user according to the block matrix, so that the financial institution inputs the target performance data into a credit prediction model to obtain a credit score, and then pushes a target financial product to the target potential user based on the credit score.
[0076] It should be noted that financial institutions can train credit prediction models based on a piece of specific user representation data, and solidify and deploy the trained credit prediction models. Whenever a new user (i.e., target potential user) comes to the financial institution to handle business, the target performance data related to the new user can be directly called through the interface. The credit score of the new user can be obtained by inputting the target performance data into the credit prediction model. Since the higher the credit score, the better the user's credit and the lower the probability of default, the corresponding level of financial product quota and interest rate can be established for the user based on the credit score, and the target financial product can be pushed to the user. For example, the higher the credit score, the higher the product quota and the lower the interest rate.
[0077] In a feasible implementation, the step of determining the target performance data of the target potential user based on the block matrix includes: performing matrix approximation processing on the block matrix to obtain a user vector, a communication behavior vector and a singular value vector; and determining the target performance data of the target potential user based on the user vector, the communication behavior vector and the singular value vector.
[0078] It should be noted that the block matrix R' can be expressed as:
[0079]
[0080] In the formula, R ij is a matrix block, and the number of user clusters is c 1 , the number of communication behavior clusters is c 2 .
[0081] In the specific implementation, the block matrix is approximated as follows:
[0082]
[0083] In the formula, is an orthogonal matrix, is an orthogonal matrix, is a diagonal matrix.
[0084] It should be noted that after matrix approximation processing of the block matrix, the user vector Communication Behavior Vector And the singular value S i,j , multiply the three together to get user u i Communication behavior j The clustering matrix approximates the performance data (i.e. target performance data), as follows:
[0085]
[0086] In this embodiment, a behavior performance matrix is determined based on the communication data of potential users; based on the behavior performance matrix, a preset spectral clustering strategy is used to classify the potential users into groups to obtain dense matrix blocks, and the preset spectral clustering strategy is to use a singular value decomposition method based on a spectral clustering model; the singular value decomposition method is used to perform dimensionality reduction and encryption processing on the dense matrix blocks to obtain a block matrix; and target performance data of the target potential user is determined according to the block matrix, so that the financial institution inputs the target performance data into a credit prediction model to obtain a credit score, and then pushes a target financial product to the target potential user based on the credit score. The technical problem of data leakage risk when the communication operator directly provides the user's communication data to the financial institution for risk model building is solved. Compared with the prior art, the present application adopts a preset spectral clustering strategy to classify the potential users, which can quickly find the dense matrix blocks with large similarity of population characteristics from the behavior performance matrix of the operator's communication data, which saves more time than analyzing a single individual user. Then, the singular value decomposition method is used to reduce the dimension of the dense matrix blocks and encrypt them. This not only can achieve data dimensionality reduction while retaining more data information, but also can prevent the data user from obtaining the original data through data restoration. Therefore, it is not easy to cause the risk of data leakage, thereby ensuring the security of the data.
[0087] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 2 , step 20 includes steps S201 to S202:
[0088] S201, constructing an undirected graph according to the behavior performance matrix, wherein the undirected graph includes a plurality of vertices and a plurality of edges, wherein the vertices represent users or communication behaviors, and the edges represent relationships between users and communication behaviors;
[0089] It should be noted that in spectral clustering, given the behavior matrix R, an undirected graph G = (V, E) is constructed, where V = {1, 2, ..., |V|} is the set of vertices in the undirected graph, and the vertex represents a user or communication behavior, and E = {e ij |If edge {i,j} exists} is a set of edges, where the edge represents the relationship between the user and the communication behavior data, and the weight of each edge is E ij , that is, the user's performance data. The performance data is the specific value of the communication behavior. For example, when the communication behavior is the number of phone calls per month, user A is 5 times and user B is 19 times, then 5 and 9 are the performance data.
[0090] It should be noted that there is no association between users and communication behaviors, so in an undirected graph, there is no edge between the user set and the communication behavior set. i For a single communication behavior g j An edge exists when there is communication.
[0091] S202, determining a Laplacian matrix of the behavior performance matrix according to the undirected graph;
[0092] It should be noted that when clustering users and communication behaviors, it is assumed that the number of user clusters is c 1 , the number of communication behavior clusters is c 2 , then the user clustering set is {U i |U i ∈U,1≤i≤c 1}, the communication behavior clustering set is {G j |G j ∈G,1≤j≤c 2}, since the user cluster set and the communication behavior cluster set influence each other, the optimal solution obtained when the communication behavior set and the user cluster set are minimum cut in the undirected graph can be used to find the dense matrix block in the behavior performance matrix, that is, the matrix block with large similarity of crowd density characteristics. Among them, the minimum cut of the communication behavior set and the user cluster set in the undirected graph can be expressed as follows:
[0093]
[0094] In the formula, v 1 ,...,v k are any k clusters in the undirected graph G.
[0095] It should be noted that the minimum cut of an undirected graph can be obtained through the Laplacian matrix.
[0096] It should be noted that the Laplacian matrix of the behavior performance matrix can be defined as L=DM, where L represents the Laplacian matrix, D represents the degree matrix of the behavior performance matrix, and M represents the adjacency matrix of the behavior performance matrix.
[0097] In a feasible implementation, the step of determining the Laplacian matrix of the behavior performance matrix based on the undirected graph includes: determining the adjacency matrix of the undirected graph based on the edge weights of the undirected graph; determining the number of edges connected to vertices based on the undirected graph, and determining the degree matrix of the undirected graph based on the number of edges; determining the Laplacian matrix based on the adjacency matrix and the degree matrix.
[0098] It should be noted that the adjacency matrix M of the behavior performance matrix can be defined as:
[0099]
[0100] That is, the adjacency matrix M can be expressed as:
[0101]
[0102] It should be noted that the degree matrix D of the behavior performance matrix can be defined as D ii =∑ k e ik , that is, the degree matrix D can be expressed as:
[0103]
[0104] Among them, D 1 (i,i)=∑ j e ij , D 2 (j,j)=∑ i e ij .
[0105] Therefore, the Laplace matrix L can be expressed as:
[0106]
[0107] S203, determining a target vector according to a left singular value vector and a right singular value vector of the Laplace matrix;
[0108] In a feasible implementation, the step of determining the target vector based on the left singular value vector and the right singular value vector of the Laplace matrix includes: based on the Laplace matrix and the degree matrix, expanding the generalized eigenvalue problem into a first relational expression and a second relational expression, the first relational expression being related to the number of edges of the user vertex, and the second relational expression being related to the number of edges of the communication behavior vertex; based on the expression of the singular value decomposition method, adjusting the first relational expression to a first target relational expression, and adjusting the second relational expression to a second target relational expression; determining the left singular value vector and the right singular value vector based on the first target relational expression and the second target relational expression.
[0109] It should be noted that in the spectral clustering model, when the generalized eigenvalue problem Lz = λDz holds, the generalized eigenvector corresponding to the second largest eigenvalue is the cluster representation vector of each vertex in the undirected graph G, where z is the generalized eigenvector. Therefore, due to D 1 and D 2 are all non-singular values, so the generalized eigenvalue problem can be expanded into the first and second relations based on the Laplace matrix and the degree matrix, as shown below:
[0110] The first relation:
[0111] The second relation:
[0112] Further, let Corresponding to the expression of the matrix singular value decomposition method, the first relational expression is adjusted to the first target relational expression, and the second relational expression is adjusted to the second target relational expression, as shown below:
[0113] The first target relationship is:
[0114] The second target relationship is:
[0115] Where p is the left singular value vector, q is the right singular vector, and (1-λ) is the corresponding singular value.
[0116] Therefore, the minimum cut problem is transformed into solving The left singular value vector P and the right singular value vector Q of .
[0117] In the specific implementation, the left singular value vector P can be used (2,l+1) ={p 2 ,...,p l+1} and the right singular value vector Q (2,l+1) =q 2 ,...,q l+1 Determine the target vector Z for clustering 2 , as shown below:
[0118]
[0119] Among them, P (2,l+1) Each element in the vector represents the position of a row in the behavior matrix, Q (2,ll+1) Each element in the vector represents the position of a column in the behavior matrix in order.
[0120] S204, clustering the target vector to obtain a clustering result, and adjusting the behavior performance matrix according to the clustering result to obtain a dense matrix block.
[0121] In the specific implementation, the K-Means method can be used to 2Perform clustering and record the clustering results, such as recording the original positions of rows and columns in the behavior performance matrix and the positions after clustering. Specifically, the vectors rind and cind can be used to record the label positions of rows and columns after clustering, and the sets rmap and cmap can be used to record the key-value pairs of the original positions of row and column labels and the sequence positions after clustering. The vectors rprt and cprt are used to record the categories of the labels in rind and cind after clustering, and the vectors rprts and cprts are used to record the number of users or communication behaviors in each category.
[0122] It should be noted that when adjusting the positions of users and communication behaviors in the behavior performance matrix according to the clustering results, the adjustment order is the label positions of the clustered rows and columns recorded in the vectors rind and cind, so that users and communication behaviors of the same category can be clustered together to form a dense matrix block.
[0123] In this embodiment, an undirected graph is constructed according to the behavior performance matrix, wherein the undirected graph includes a plurality of vertices and a plurality of edges, wherein the vertices represent users or communication behaviors, and the edges represent the relationship between users and communication behaviors; the Laplace matrix of the behavior performance matrix is determined according to the undirected graph; the target vector is determined according to the left singular value vector and the right singular value vector of the Laplace matrix; the target vector is clustered to obtain a clustering result, and the behavior performance matrix is adjusted according to the clustering result to obtain a dense matrix block. In the above manner, the minimum cut problem can be converted into solving the left singular value vector P and the right singular value vector of the Laplace matrix when solving the optimal solution of the minimum cut through the preset spectral clustering method, thereby improving the data encryption efficiency.
[0124] Based on this, the present application embodiment provides a communication data encryption method, referring to Figure 3 , Figure 3 This is a flow chart of the third embodiment of the communication data encryption method of the present application.
[0125] In this embodiment, which is applied to a financial institution, the communication data encryption method includes steps S10' to S40':
[0126] Step S10', after inputting the target performance data into the credit prediction model to obtain the credit score, the target financial product is pushed to the target potential user based on the credit score, wherein the target performance data is a behavior performance matrix determined by the communication operator device based on the communication data of the potential user, based on the behavior performance matrix, the potential users are classified into groups using a preset spectral clustering strategy to obtain a dense matrix block, the preset spectral clustering strategy is to use a singular value decomposition method based on the spectral clustering model, the dense matrix block is subjected to dimensionality reduction and encryption processing using the singular value decomposition method to obtain a block matrix, and the target performance data of the target potential user is determined according to the block matrix.
[0127] It should be noted that financial institutions can train credit prediction models based on a piece of specific user representation data, and solidify and deploy the trained credit prediction models. Whenever a new user (i.e., target potential user) comes to the financial institution to handle business, the target performance data related to the new user can be directly called through the interface. The credit score of the new user can be obtained by inputting the target performance data into the credit prediction model. Since the higher the credit score, the better the user's credit and the lower the probability of default, the corresponding level of financial product quota and interest rate can be established for the user based on the credit score, and the target financial product can be pushed to the user. For example, the higher the credit score, the higher the product quota and the lower the interest rate.
[0128] In a feasible implementation manner, after inputting the target performance data into the credit prediction model to obtain a credit score, the step of pushing the target financial product to the target potential user based on the credit score includes: training an initial credit prediction model based on the block matrix to obtain a credit prediction model; after inputting the target performance data into the credit prediction model, obtaining the credit score of the target potential user; and pushing the target financial product to the target potential user based on the credit score.
[0129] It should be noted that, after determining a certain user matrix block data according to the block matrix, the initial credit prediction model of the financial institution can be trained to obtain a credit prediction model for predicting the user's credit score.
[0130] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the communication data encryption method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0131] This application also provides a communication data encryption device, please refer to Figure 4 , the communication data encryption device comprises:
[0132] A determination module 10, for determining a behavior performance matrix based on the communication data of the potential user;
[0133] A module 20 is used to classify the potential users into groups based on the behavior performance matrix using a preset spectral clustering strategy to obtain a dense matrix block, wherein the preset spectral clustering strategy is to use a singular value decomposition method based on a spectral clustering model;
[0134] A dimension reduction module 30 is used to perform dimension reduction and encryption processing on the dense matrix block by using a singular value decomposition method to obtain a block matrix;
[0135] The determination module 10 is further used to determine the target performance data of the target potential user according to the block matrix, so that the financial institution inputs the target performance data into the credit prediction model to obtain the credit score, and then pushes the target financial product to the target potential user based on the credit score.
[0136] The communication data encryption device provided by the present application adopts the communication data encryption method in the above embodiment, which can solve the technical problem that there is a risk of data leakage when the communication operator directly provides the user's communication data to the financial institution for risk modeling. Compared with the prior art, the beneficial effects of the communication data encryption device provided by the present application are the same as the beneficial effects of the communication data encryption method provided by the above embodiment, and the other technical features in the communication data encryption device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0137] The present application provides a communication data encryption device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the communication data encryption method in the above-mentioned embodiment one.
[0138] Reference below Figure 5 , which shows a schematic diagram of the structure of a communication data encryption device suitable for implementing the embodiment of the present application. The communication data encryption device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The communication data encryption device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0139] like Figure 5As shown, the communication data encryption device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the communication data encryption device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the communication data encryption device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a communication data encryption device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0140] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0141] The communication data encryption device provided by the present application adopts the communication data encryption method in the above embodiment, which can solve the technical problem that there is a risk of data leakage when the communication operator directly provides the user's communication data to the financial institution for risk modeling. Compared with the prior art, the beneficial effects of the communication data encryption device provided by the present application are the same as the beneficial effects of the communication data encryption method provided by the above embodiment, and the other technical features in the communication data encryption device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0142] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0143] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0144] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the communication data encryption method in the above-mentioned embodiment.
[0145] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0146] The computer-readable storage medium may be included in the communication data encryption device; or may exist independently without being assembled into the communication data encryption device.
[0147] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the communication data encryption device, the communication data encryption device: determines a behavior performance matrix based on the communication data of the potential user; based on the behavior performance matrix, uses a preset spectral clustering strategy to classify the potential users into groups to obtain dense matrix blocks, and the preset spectral clustering strategy is to use a singular value decomposition method based on a spectral clustering model; uses a singular value decomposition method to perform dimensionality reduction encryption processing on the dense matrix blocks to obtain a block matrix; determines the target performance data of the target potential user according to the block matrix, so that the financial institution inputs the target performance data into a credit prediction model to obtain a credit score, and then pushes a target financial product to the target potential user based on the credit score.
[0148] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0149] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0150] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0151] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned communication data encryption method, and can solve the technical problem that there is a risk of data leakage when the communication operator directly provides the user's communication data to the financial institution for risk modeling. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the communication data encryption method provided by the above-mentioned embodiment, and will not be repeated here.
[0152] The present application also provides a computer program product, including a computer program, which implements the steps of the communication data encryption method as described above when executed by a processor.
[0153] The computer program product provided by this application can solve the technical problem that there is a risk of data leakage when the communication operator directly provides the user's communication data to the financial institution for risk modeling. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the communication data encryption method provided by the above embodiment, which will not be repeated here.
[0154] The present application also provides a data encryption system, referring to Figure 6 , Figure 6 The communication data encryption system structure diagram of the hardware operating environment involved in the present application scheme includes a communication operation device and a financial institution, wherein the communication operation device executes the method described above, and the financial institution executes the method described above, and the communication operation device and the financial institution can exchange information.
[0155] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A communication data encryption method, characterized in that: Applied to communication operation equipment, the method comprises: Determine a behavioral performance matrix based on potential users’ communication data; Based on the behavior performance matrix, a preset spectral clustering strategy is used to classify the potential users into groups to obtain a dense matrix block, wherein the preset spectral clustering strategy is to use a singular value decomposition method based on a spectral clustering model; Using singular value decomposition method to perform dimension reduction and encryption processing on the dense matrix block to obtain a block matrix; The target performance data of the target potential user is determined according to the block matrix, so that the financial institution inputs the target performance data into a credit prediction model to obtain a credit score, and then pushes a target financial product to the target potential user based on the credit score.
2. The method according to claim 1, characterized in that The step of determining the behavior performance matrix based on the communication data of the potential user comprises: Performing characteristic variable derivation on the communication data to obtain target communication data; The target communication data is vectorized to obtain a behavior performance matrix, wherein the rows of the behavior performance matrix represent the performance data of any user for all communication behaviors, and the columns of the behavior performance matrix represent the performance data of all users for any communication behavior.
3. The method according to claim 1, characterized in that The step of classifying the potential users based on the behavior performance matrix by using a preset spectral clustering strategy to obtain a dense matrix block includes: constructing an undirected graph according to the behavior performance matrix, wherein the undirected graph includes a plurality of vertices and a plurality of edges, wherein the vertices represent users or communication behaviors, and the edges represent the relationship between users and communication behaviors; Determine a Laplacian matrix of the behavior performance matrix according to the undirected graph; Determine a target vector according to a left singular value vector and a right singular value vector of the Laplace matrix; The target vector is clustered to obtain a clustering result, and the behavior performance matrix is adjusted according to the clustering result to obtain a dense matrix block.
4. The method according to claim 3, characterized in that The step of determining the Laplacian matrix of the behavior performance matrix according to the undirected graph comprises: Determine an adjacency matrix of the undirected graph according to the edge weights of the undirected graph; Determining the number of edges connected to the vertices according to the undirected graph, and determining the degree matrix of the undirected graph according to the number of edges; The Laplacian matrix is determined according to the adjacency matrix and the degree matrix.
5. The method according to claim 3, characterized in that The step of determining the target vector according to the left singular value vector and the right singular value vector of the Laplacian matrix comprises: Based on the Laplace matrix and the degree matrix, the generalized eigenvalue problem is expanded into a first relational expression and a second relational expression, wherein the first relational expression is related to the number of edges of the user vertex, and the second relational expression is related to the number of edges of the communication behavior vertex; Based on an expression of a singular value decomposition method, adjusting the first relational expression to a first target relational expression, and adjusting the second relational expression to a second target relational expression; According to the first target relationship equation and the second target relationship equation, a left singular value vector and a right singular value vector are determined.
6. The method according to claim 1, characterized in that The step of determining the target performance data of the target potential user according to the block matrix comprises: Performing matrix approximation processing on the block matrix to obtain a user vector, a communication behavior vector and a singular value vector; The target performance data of the target potential user is determined according to the user vector, the communication behavior vector and the singular value vector.
7. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of encrypting the communication data according to any one of claims 1 to 6 are implemented.
8. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of encrypting communication data according to any one of claims 1 to 6 are implemented.
9. A communication data encryption method, characterized in that: Applied to a financial institution, the method comprises: After inputting the target performance data into the credit prediction model to obtain the credit score, the target financial product is pushed to the target potential user based on the credit score, wherein the target performance data is a behavior performance matrix determined by the communication operator device based on the communication data of the potential user, and based on the behavior performance matrix, a preset spectral clustering strategy is used to classify the potential users into groups to obtain a dense matrix block, and the preset spectral clustering strategy is to use a singular value decomposition method based on the spectral clustering model, and the singular value decomposition method is used to perform dimensionality reduction and encryption processing on the dense matrix block to obtain a block matrix, and the target performance data of the target potential user is determined according to the block matrix.
10. The method according to claim 9, characterized in that After inputting the target performance data into the credit prediction model to obtain the credit score, the step of pushing the target financial product to the target potential user based on the credit score includes: Training an initial credit prediction model based on the block matrix to obtain a credit prediction model; After inputting the target performance data into the credit prediction model, the credit score of the target potential user is obtained; A target financial product is pushed to the target potential user based on the credit score.
11. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of encrypting the communication data as described in any one of claims 9 to 10 are implemented.
12. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of encrypting communication data according to any one of claims 9 to 10 are implemented.
13. A communication data encryption system, characterized in that: The system includes a communication operator device and a financial institution, wherein the communication operator device executes the method according to any one of claims 1 to 6, and the financial institution executes the method according to any one of claims 9 to 10.
Citation Information
Cited By
Information leakage risk early warning system and method for scientific research management
CN119416227A
