A method for managing customer information
The importance level of customer information is calculated through the semantic extraction model and convolutional neural network, which solves the problem of lack of automatic grading and encrypted storage in customer information management in the existing technology, achieves high-precision grading and encrypted storage, and improves the security of customer information. sex.
Patent Information
- Application Number
- CN202410148071.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-02
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-02-02
AI Technical Summary
The existing technology lacks technical solutions for automatic classification of importance and different levels of encrypted storage based on customer information, and cannot effectively manage the security of customer information.
The semantic extraction model is used to extract the global semantic features and key semantic features of customer information, and the important coefficients are calculated through the convolutional neural network and semantic enhancement layer to achieve classification of customer information and encrypted storage according to the importance level.
It improves the accuracy and security of customer information classification, realizes automatic classification and different levels of encrypted storage based on the importance of customer information, and enhances the security of important customer information.
Smart Images

Figure CN117909502B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of semantic analysis, and in particular to a customer information management method. Background Art
[0002] In the process of customer information management, it is necessary to manually record customer information, analyze the recorded content, and then store it in categories. With the development of information technology, especially the application of technologies such as big data, cloud computing, and artificial intelligence, customer information management has evolved from traditional manual records and simple database queries to highly integrated and intelligent information management systems. Currently, artificial intelligence is only used to perform semantic analysis on customer information, automatically classify it, and store it in categories according to the classification type to achieve intelligent classification and storage management. However, there is currently a lack of a technical solution that automatically classifies customer information according to its importance and achieves different degrees of encrypted storage according to the importance level of customer information. Summary of the invention
[0003] In view of the above-mentioned deficiencies in the prior art, a customer information management method provided by the present invention solves the problem that there is currently a lack of a technical solution for automatically grading customer information according to its importance and achieving different degrees of encrypted storage according to the importance level of customer information.
[0004] In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is: a customer information management method, comprising the following steps:
[0005] S1. extract keywords from customer information to form keyword information;
[0006] S2, using semantic extraction model to extract global semantic features from customer information;
[0007] S3, using semantic extraction model to extract key semantic features from keyword information;
[0008] S4. Classify customer information according to global semantic features and key semantic features to obtain the importance level of customer information;
[0009] S5. Encrypt and store customer information according to its importance level.
[0010] The beneficial effects of the present invention are as follows: in the present invention, key semantic features are extracted according to keyword information, global semantic features are extracted according to customer information, the data volume of features is increased, and the accuracy of customer information classification is improved, so that customer information is encrypted and stored according to the importance level of customer information, and encrypted storage is achieved according to the importance of customer information, thereby improving the security of important customer information, and providing a method for automatically grading customer information according to its importance and achieving different degrees of encrypted storage according to the importance level of customer information.
[0011] Furthermore, the semantic extraction model in S2 and S3 includes: a convolutional neural network, a semantic enhancement layer and an LSTM layer;
[0012] The input end of the convolutional neural network is used as the input end of the semantic extraction model, and the output end of the convolutional neural network is connected to the input end of the semantic enhancement layer;
[0013] The input end of the LSTM layer is connected to the output end of the semantic enhancement layer, and the output end of the LSTM layer serves as the output end of the semantic extraction model.
[0014] Furthermore, the convolutional neural network includes: a convolution layer, a reshape layer, a maximum pooling layer, an average pooling layer, a first Concat layer, a first convolution block, a second convolution block, a third convolution block and a second Concat layer;
[0015] The input end of the convolutional layer is used as the input end of the convolutional neural network, and its output end is connected to the input end of the reshape layer;
[0016] The output end of the reshape layer is connected to the input end of the maximum pooling layer and the input end of the average pooling layer respectively;
[0017] The input end of the first Concat layer is connected to the output end of the maximum pooling layer and the output end of the average pooling layer respectively, and the output end thereof is connected to the input end of the first convolution block;
[0018] The output end of the first convolution block is connected to the input end of the second convolution block and the input end of the second Concat layer respectively;
[0019] The output end of the second convolution block is connected to the input end of the third convolution block and the input end of the second Concat layer respectively;
[0020] The output end of the third convolution block is connected to the input end of the second Concat layer;
[0021] The output end of the second Concat layer is used as the output end of the convolutional neural network.
[0022] The beneficial effects of the above further scheme are as follows: the reshape layer is used to convert the one-dimensional feature data output by the convolution layer into two-dimensional data, and then the maximum pooling layer is used to extract the significant features, and the average pooling layer is used to extract the average features. The first Concat layer concatenates the average features and the significant features. The first convolution block, the second convolution block and the third convolution block extract features of different depths in turn to improve the accuracy of extracting semantic features.
[0023] Furthermore, the expression of the semantic enhancement layer is: , where zi is the i-th feature value output by the semantic enhancement layer, x i is the i-th eigenvalue input to the semantic enhancement layer, exp is an exponential function with a natural constant as the base, N is the number of eigenvalues input to the semantic enhancement layer, and i is a positive integer.
[0024] The beneficial effect of the above further solution is: the exponential function is used in the present invention to enhance the feature value inputted by the semantic enhancement layer, so that the distinction between the feature values is significant, and then the respective proportional coefficients are calculated. By multiplying the proportional coefficient with the eigenvalue input by the semantic enhancement layer, the distinction between the eigenvalues can be further enhanced, thus improving the accuracy of semantic processing.
[0025] Furthermore, the S4 comprises the following sub-steps:
[0026] S41, calculating the first important coefficient according to the global semantic feature;
[0027] S42, calculating the second important coefficient according to the key semantic feature;
[0028] S43, calculating the importance level of the customer information according to the first importance coefficient and the second importance coefficient;
[0029] Furthermore, the formula for calculating the first important coefficient in S41 is: , where g1 is the first important coefficient, h q,j is the jth feature value in the global semantic feature, w q,j h q,j , exp is an exponential function with a natural constant as the base, M is the number of eigenvalues in the global semantic feature, and j is a positive integer.
[0030] Furthermore, the formula for calculating the second important coefficient in S42 is: , where g2 is the second most important coefficient, h g,j is the jth feature value in the key semantic feature, w g,j h g,j , exp is an exponential function with a natural constant as the base, K is the number of eigenvalues in the key semantic feature, and j is a positive integer.
[0031] Furthermore, the formula for calculating the importance level of customer information in S43 is: , where L is the importance level of customer information, g1 is the first importance coefficient, and g2 is the second importance coefficient.
[0032] The beneficial effect of the above further scheme is: the present invention considers two aspects when calculating the importance level of customer information: global semantic features and key semantic features. Through the overall semantic features and key semantic features, the meaning of customer information is fully expressed and the accuracy of classification is improved.
[0033] Furthermore, the S5 comprises the following sub-steps:
[0034] S51, constructing an encryption function;
[0035] S52, using an encryption function to encrypt the customer information to obtain customer encrypted information;
[0036] S53. Store the customer encrypted information.
[0037] Furthermore, the encrypted expression in S52 is: , where s(n) is the nth encrypted value in the customer's encrypted information, r(m) is the encryption function, f(nm) is the nmth value to be encrypted in the customer's information, n and m are positive integers, L is the importance level of the customer's information, and r(m)=m 2 +m.
[0038] The beneficial effect of the above further scheme is: the encryption process in the present invention is closely related to the importance level L of the customer information. When the importance level L of the customer information is larger, the encryption calculation process is more complicated, and the security of the customer encrypted information is higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a flow chart of a customer information management method;
[0040] Figure 2 Schematic diagram of the structure of the semantic extraction model. DETAILED DESCRIPTION
[0041] The specific implementation modes of the present invention are described below to facilitate the understanding of the present invention by those skilled in the art. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, these changes are obvious, and all inventions and creations utilizing the concepts of the present invention are protected.
[0042] like Figure 1 As shown, a customer information management method comprises the following steps:
[0043] S1. extract keywords from customer information to form keyword information;
[0044] S2, using semantic extraction model to extract global semantic features from customer information;
[0045] S3, using semantic extraction model to extract key semantic features from keyword information;
[0046] S4. Classify customer information according to global semantic features and key semantic features to obtain the importance level of customer information;
[0047] S5. Encrypt and store customer information according to its importance level.
[0048] In this embodiment, the customer information is composed of text, the text is composed of individual characters, and the characters are composed of individual coding values in the computer.
[0049] In step S1, keywords in the customer information, such as the customer's occupation, hobbies, etc., are selected to form a new set, namely, keyword information.
[0050] like Figure 2 As shown, the semantic extraction model in S2 and S3 includes: a convolutional neural network, a semantic enhancement layer and an LSTM layer;
[0051] The input end of the convolutional neural network is used as the input end of the semantic extraction model, and the output end of the convolutional neural network is connected to the input end of the semantic enhancement layer;
[0052] The input end of the LSTM layer is connected to the output end of the semantic enhancement layer, and the output end of the LSTM layer serves as the output end of the semantic extraction model.
[0053] The convolutional neural network comprises: a convolution layer, a reshape layer, a maximum pooling layer, an average pooling layer, a first Concat layer, a first convolution block, a second convolution block, a third convolution block and a second Concat layer;
[0054] The input end of the convolutional layer is used as the input end of the convolutional neural network, and its output end is connected to the input end of the reshape layer;
[0055] The output end of the reshape layer is connected to the input end of the maximum pooling layer and the input end of the average pooling layer respectively;
[0056] The input end of the first Concat layer is connected to the output end of the maximum pooling layer and the output end of the average pooling layer respectively, and the output end thereof is connected to the input end of the first convolution block;
[0057] The output end of the first convolution block is connected to the input end of the second convolution block and the input end of the second Concat layer respectively;
[0058] The output end of the second convolution block is connected to the input end of the third convolution block and the input end of the second Concat layer respectively;
[0059] The output end of the third convolution block is connected to the input end of the second Concat layer;
[0060] The output end of the second Concat layer is used as the output end of the convolutional neural network.
[0061] The reshape layer is used to convert the one-dimensional feature data output by the convolution layer into two-dimensional data. The maximum pooling layer is then used to extract the significant features, and the average pooling layer is used to extract the average features. The first Concat layer concatenates the average features and the significant features. The first convolution block, the second convolution block, and the third convolution block extract features of different depths in turn to improve the accuracy of extracting semantic features.
[0062] In this embodiment, the expression of the reshape layer is: R=H T H, R are two-dimensional data, H is the one-dimensional feature data output by the convolution layer, and T is the transposition operation.
[0063] The expression of the semantic enhancement layer is: , where z i is the i-th feature value output by the semantic enhancement layer, x i is the i-th eigenvalue input to the semantic enhancement layer, exp is an exponential function with a natural constant as the base, N is the number of eigenvalues input to the semantic enhancement layer, and i is a positive integer.
[0064] In the present invention, an exponential function is used to enhance the feature values inputted by the semantic enhancement layer, so that the distinction between the feature values is significant, and then the respective proportional coefficients are calculated. By multiplying the proportional coefficient with the eigenvalue input by the semantic enhancement layer, the distinction between the eigenvalues can be further enhanced, thus improving the accuracy of semantic processing.
[0065] The S4 comprises the following sub-steps:
[0066] S41, calculating the first important coefficient according to the global semantic feature;
[0067] S42, calculating the second important coefficient according to the key semantic feature;
[0068] S43, calculating the importance level of the customer information according to the first importance coefficient and the second importance coefficient;
[0069] The formula for calculating the first important coefficient in S41 is: , where g1 is the first important coefficient, h q,j is the jth feature value in the global semantic feature, w q,j h q,j , exp is an exponential function with a natural constant as the base, M is the number of eigenvalues in the global semantic feature, and j is a positive integer.
[0070] The formula for calculating the second important coefficient in S42 is: , where g2 is the second most important coefficient, h g,j is the jth feature value in the key semantic feature, w g,j h g,j , exp is an exponential function with a natural constant as the base, K is the number of eigenvalues in the key semantic feature, and j is a positive integer.
[0071] The formula for calculating the importance level of customer information in S43 is: , where L is the importance level of customer information, g1 is the first importance coefficient, and g2 is the second importance coefficient.
[0072] The present invention considers two aspects when calculating the importance level of customer information: global semantic features and key semantic features. The meaning of customer information is fully expressed through the overall semantic features and key semantic features, thereby improving the accuracy of classification.
[0073] The S5 comprises the following sub-steps:
[0074] S51, constructing an encryption function;
[0075] S52, using an encryption function to encrypt the customer information to obtain customer encrypted information;
[0076] S53. Store the customer encrypted information.
[0077] The encrypted expression in S52 is: , where s(n) is the nth encrypted value in the customer's encrypted information, r(m) is the encryption function, f(nm) is the nmth value to be encrypted in the customer's information, n and m are positive integers, L is the importance level of the customer's information, and r(m)=m 2 +m.
[0078] The encryption process in the present invention is closely related to the importance level L of the customer information. When the importance level L of the customer information is greater, the encryption calculation process is more complicated, and the security of the customer encrypted information is higher.
[0079] In this embodiment, when implementing encryption, the value to be encrypted in the customer information can be the coded value corresponding to each word in the customer information, or it can be a floating-point number corresponding to each word. Specifically, the coded value corresponding to each word in the customer information can be converted into a floating-point number, that is, the value to be encrypted is a floating-point number. After encryption using the encryption formula, the encrypted value is obtained.
[0080] The present invention extracts key semantic features based on keyword information, extracts global semantic features based on customer information, increases the data volume of features, and improves the accuracy of customer information classification, thereby encrypting and storing customer information according to the importance level of the customer information, and realizing encrypted storage based on the importance of customer information, thereby improving the security of important customer information. A method is provided for automatically grading customer information according to its importance and realizing encrypted storage to different degrees according to the importance level of the customer information.
[0081] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A customer information management method, characterized in that: The following steps are involved: S1. extract keywords from customer information to form keyword information; S2, using semantic extraction model to extract global semantic features from customer information; S3, using semantic extraction model to extract key semantic features from keyword information; S4. Classify customer information according to global semantic features and key semantic features to obtain the importance level of customer information; S5. Encrypt and store customer information according to its importance level; The S4 comprises the following sub-steps: S41, calculating the first important coefficient according to the global semantic feature; S42, calculating the second important coefficient according to the key semantic feature; S43, calculating the importance level of the customer information according to the first importance coefficient and the second importance coefficient; The formula for calculating the first important coefficient in S41 is: , Among them, g1 is the first important coefficient, h q,j is the jth feature value in the global semantic feature, w q,j h q,j The weight of , exp is an exponential function with a natural constant as the base, M is the number of feature values in the global semantic feature, and j is a positive integer; The formula for calculating the second important coefficient in S42 is: , Among them, g2 is the second most important coefficient, h g,j is the jth feature value in the key semantic feature, w g,j h g,j The weight of , exp is an exponential function with a natural constant as the base, K is the number of feature values in the key semantic feature, and j is a positive integer; The formula for calculating the importance level of customer information in S43 is: , Among them, L is the importance level of customer information, g1 is the first importance coefficient, and g2 is the second importance coefficient; The S5 comprises the following sub-steps: S51, constructing an encryption function; S52, using an encryption function to encrypt the customer information to obtain customer encrypted information; S53, storing the customer encrypted information; The encrypted expression in S52 is: , Where s(n) is the nth encrypted value in the customer's encrypted information, r(m) is the encryption function, f(nm) is the nmth value to be encrypted in the customer's information, n and m are positive integers, L is the importance level of the customer's information, r(m)=m 2 +m.
2. The customer information management method according to claim 1, characterized in that: The semantic extraction model in S2 and S3 includes: a convolutional neural network, a semantic enhancement layer and an LSTM layer; The input end of the convolutional neural network is used as the input end of the semantic extraction model, and the output end of the convolutional neural network is connected to the input end of the semantic enhancement layer; The input end of the LSTM layer is connected to the output end of the semantic enhancement layer, and the output end of the LSTM layer serves as the output end of the semantic extraction model.
3. The customer information management method according to claim 2, characterized in that: The convolutional neural network comprises: a convolution layer, a reshape layer, a maximum pooling layer, an average pooling layer, a first Concat layer, a first convolution block, a second convolution block, a third convolution block and a second Concat layer; The input end of the convolutional layer is used as the input end of the convolutional neural network, and its output end is connected to the input end of the reshape layer; The output end of the reshape layer is connected to the input end of the maximum pooling layer and the input end of the average pooling layer respectively; The input end of the first Concat layer is connected to the output end of the maximum pooling layer and the output end of the average pooling layer respectively, and the output end thereof is connected to the input end of the first convolution block; The output end of the first convolution block is connected to the input end of the second convolution block and the input end of the second Concat layer respectively; The output end of the second convolution block is connected to the input end of the third convolution block and the input end of the second Concat layer respectively; The output end of the third convolution block is connected to the input end of the second Concat layer; The output end of the second Concat layer is used as the output end of the convolutional neural network.
4. The customer information management method according to claim 2, characterized in that: The expression of the semantic enhancement layer is: , Among them, z i is the i-th feature value output by the semantic enhancement layer, x i is the i-th eigenvalue input to the semantic enhancement layer, exp is an exponential function with a natural constant as the base, N is the number of eigenvalues input to the semantic enhancement layer, and i is a positive integer.
Citation Information
Patent Citations
Credit rating determination method and device, equipment and storage medium
CN114818892A
Data classification and grading method and device, electronic equipment and storage medium
CN114883005A
Enterprise cash flow intelligent rating system based on financial big data
CN115293910A
Credited client mining method based on machine learning
CN116503872A
Data encryption management system and method based on general database
CN116881948A
