A data encryption transmission method and system based on 5G network

By using sensitive information two-classification components and multi-classification components in the 5G network to identify and encrypt user personal data, the problem of identifying sensitive information in massive data is solved, and the identification efficiency and data security are improved.

CN118509845BActive Publication Date: 2024-09-17SICHUAN FAJIAJIA DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410954676.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-09-17
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Existing technologies are difficult to quickly and accurately identify sensitive information in massive amounts of user personal data. Traditional methods are inefficient and prone to omissions or misjudgments, making it difficult to cope with complex cybercrime environments.

Method used

Using a data encryption transmission method based on 5G network, combined with sensitive information binary classification components and multi-classification components, the user's personal data is classified and identified through a machine learning model, the encryption strategy is obtained and the data is encrypted and transmitted.

Benefits of technology

It improves the efficiency and accuracy of sensitive information identification, enhances user privacy protection and data security, and adapts to the high-speed and large-capacity characteristics of 5G networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118509845B
    Figure CN118509845B
Patent Text Reader

Abstract

The present invention provides a data encryption transmission method and system based on a 5G network, which processes user personal data training samples based on a sensitive information binary classification component and a sensitive information multi-classification component in a sensitive information classification and identification algorithm, classifies and identifies user personal data training samples in terms of whether the user personal data training samples have sensitive information and the data information category of the user personal data training samples, increases the dimension for identifying the user personal data training samples, identifies the information in the user personal data training samples in a more fine-grained manner, improves the identification capability for data information categories, and makes user privacy protection more precise.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and more specifically, to a data encryption transmission method and system based on a 5G network. Background Art

[0002] With the rapid development of information technology and the popularization of electronic transactions, the amount of data in cyberspace has exploded, which has brought great convenience to users, but also brought challenges to data security and privacy protection. In particular, the rapid rise of new illegal and criminal activities such as telecommunications network fraud has posed a serious threat to personal privacy and property security. In terms of combating and managing new illegal and criminal activities in telecommunications networks, governments at all levels and relevant agencies have taken a series of measures.

[0003] However, as criminal methods continue to be innovated and concealed, it is difficult to cope with the current complex and ever-changing cybercrime environment by relying solely on traditional supervision and crackdown methods. In particular, in the face of massive amounts of user personal data, how to quickly and accurately identify sensitive information and cut off its dissemination channels has become an urgent problem to be solved. Traditional sensitive information identification methods mainly rely on manual review or simple keyword matching, which are not only inefficient, but also prone to missing or misjudging sensitive information. Especially when dealing with large-scale data, this method is almost incapable. Therefore, developing an efficient and accurate sensitive information classification and identification algorithm is of great significance to protecting user privacy and data security.

[0004] In summary, there is an urgent need for a sensitive information classification and identification technology that can automatically identify sensitive information from massive user personal data and perform fine-grained classification and identification. This will not only help improve the efficiency and accuracy of sensitive information identification, but also provide strong support for subsequent data encryption transmission and privacy protection. Summary of the invention

[0005] In view of this, the present application provides a data encryption transmission method and system based on 5G network.

[0006] According to one aspect of an embodiment of the present application, a data encryption transmission method based on a 5G network is provided, which is applied to a sensitive information classification and identification algorithm, wherein the sensitive information classification and identification algorithm includes a sensitive information binary classification component and a sensitive information multi-classification component, and the method includes: obtaining target user personal data, wherein the target user personal data is the data to be identified for sensitive information classification and identification; classifying and identifying the target user personal data by the sensitive information binary classification component in the sensitive information classification and identification algorithm to obtain a binary classification identification result of the target user personal data; classifying and identifying the target user personal data by the sensitive information multi-classification component in the sensitive information classification and identification algorithm to obtain a multi-classification identification result of the target user personal data; based on the multi-classification identification result, obtaining a corresponding encryption strategy to encrypt the target user personal data to obtain encrypted personal data, and transmitting the encrypted personal data through a 5G network.

[0007] The training process of the sensitive information classification and identification algorithm includes: obtaining user personal data training samples and sensitive information prior labels of the user personal data training samples, wherein the sensitive information prior labels include binary classification prior labels and multi-classification prior labels, wherein the binary classification prior labels indicate whether the user personal data training samples have sensitive information, and the multi-classification prior labels indicate the data information category corresponding to the user personal data training samples under the binary classification prior labels; classifying and identifying the user personal data training samples through the sensitive information binary classification component in the sensitive information classification and identification algorithm, and obtaining the prior labels of the user personal data training samples. The method comprises the steps of: estimating a binary classification result, wherein the estimated binary classification result indicates whether the user personal data training sample contains sensitive information; classifying and identifying the user personal data training sample through the sensitive information multi-classification component in the sensitive information classification and identification algorithm, and obtaining an estimated classification of the user personal data training sample, wherein the estimated classification is the data information category of the user personal data training sample; and optimizing the sensitive information classification and identification algorithm according to the binary classification difference between the binary classification prior label and the estimated binary classification result, and the multi-classification difference between the multi-classification prior label and the estimated classification, and obtaining an optimized sensitive information classification and identification algorithm.

[0008] According to another aspect of an embodiment of the present application, a computer system is provided, comprising: a processor; and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method described above.

[0009] The beneficial effects of the present application include at least: the present application processes user personal data training samples based on the sensitive information binary classification component and the sensitive information multi-classification component in the sensitive information classification and identification algorithm, classifies and identifies the user personal data training samples in terms of whether the user personal data training samples contain sensitive information and the data information category of the user personal data training samples, increases the dimension for identifying the user personal data training samples, identifies the information in the user personal data training samples in a more fine-grained manner, improves the identification capability for data information categories, and makes user privacy protection more precise. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application.

[0011] Figure 2 A schematic diagram of the implementation flow of a data encryption transmission method based on a 5G network provided in an embodiment of the present application.

[0012] Figure 3 A hardware entity schematic diagram of a computer system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0013] The data encryption transmission method based on 5G network provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the 5G device 102 communicates with the computer system 104 through the network. The data storage system can store data that the computer system 104 needs to process. The data storage system can be integrated on the computer system 104, or it can be placed on the cloud or other network servers. Among them, the user's personal data can be stored in the local storage of the 5G device 102, or it can be stored in the data storage system or the cloud storage associated with the computer system 104. When encrypted identification is required, the computer system 104 can obtain the user's personal data from the local storage of the 5G device 102, or the data storage system, or the cloud storage. Among them, the 5G device 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablets, Internet of Things devices, and portable wearable devices. The computer system 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0014] The data encryption transmission method based on 5G network provided in the embodiment of the present application is applied to a computer system, please refer to Figure 2 , the method specifically comprises the following steps:

[0015] A data encryption transmission method based on a 5G network is applied to a sensitive information classification and identification algorithm, the sensitive information classification and identification algorithm includes a sensitive information binary classification component and a sensitive information multi-classification component, and the method includes:

[0016] Step S100: Obtaining personal data of a target user, where the personal data of the target user is data to be identified for sensitive information classification and identification.

[0017] In the embodiment of the present application, step S100 collects the target user's personal data from various data sources, which are the data to be identified that need to be classified and identified as sensitive information. For example, a mobile banking system, in which users conduct various financial transactions and consultations. In order to protect the user's privacy, the banking system needs to classify and identify the user's personal data as sensitive information, and encrypt and transmit the identified sensitive information.

[0018] First, the computer system collects the user's personal data through the bank's internal database or user interface. This data may include the user's name, ID number, bank card number, transaction record, mailing address, telephone number, etc. This data is common user information in the bank system and is also data to be identified that may contain sensitive information. Then, the computer system uses the collected user personal data as the target user's personal data and prepares for subsequent sensitive information classification and identification. In this process, the computer system not only collects the user's basic information, but may also further enrich the dimensions of the target user's personal data through indirect data such as the user's behavior log and transaction records to improve the accuracy of sensitive information classification and identification.

[0019] Step S200: classify and identify the target user's personal data through the sensitive information binary classification component in the sensitive information classification and identification algorithm to obtain a binary classification identification result of the target user's personal data.

[0020] In an embodiment of the present application, step S200 utilizes the sensitive information binary classification component in the sensitive information classification and identification algorithm to classify and identify the target user's personal data to determine whether the data contains sensitive information.

[0021] Specifically, the sensitive information binary classification component is usually a trained machine learning model, such as a logistic regression model, a support vector machine (SVM), or a deep neural network (DNN). This model has learned how to identify sensitive information features in the data by learning a large number of user personal data samples and corresponding sensitive information tags. Suppose in a mobile medical application, users upload their health data, including height, weight, blood pressure, heart rate, etc., through their smartphones. These data are transmitted to the server of the medical center via the 5G network for processing. Among these data, some information (such as blood pressure and heart rate) may be sensitive information and require special encryption measures to protect them.

[0022] In step S200, the computer system first inputs these health data as the target user's personal data into the sensitive information binary classification component. Then, the component extracts features from the data, which may include the type of data (such as numeric or text type), range (such as normal or abnormal range of blood pressure values), and specific patterns related to sensitive information. For numeric data, the feature may be a set of specific values ​​(such as a blood pressure value of 120 / 80), while for text data, the feature may be the frequency of occurrence of words or specific keywords. These features are converted into vectors or arrays so that the machine learning model can process them.

[0023] Next, the sensitive information binary classification component uses the trained model to classify and identify these feature vectors. The model will determine whether the target user's personal data contains sensitive information based on the information in the feature vector. In this example, if the model identifies abnormal blood pressure values ​​or heart rates outside the normal range, it may mark these data as containing sensitive information. Ultimately, the computer system obtains a binary classification recognition result indicating whether the target user's personal data contains sensitive information. This result will be used to guide the subsequent encryption transmission process to ensure that sensitive information is fully protected during transmission.

[0024] In this way, the sensitive information binary classification component plays an important role in the embodiment of the present application, improving the degree of automation of data processing while ensuring the security of user privacy and the reliability of data transmission.

[0025] Step S300: classify and identify the target user's personal data through the sensitive information multi-classification component in the sensitive information classification and identification algorithm to obtain a multi-classification identification result of the target user's personal data.

[0026] In the embodiment of the present application, step S300 further refines the classification and identification of sensitive information of the target user's personal data. In this step, the computer system uses the sensitive information multi-classification component in the sensitive information classification and identification algorithm to perform more detailed classification on the data that has been identified as containing sensitive information by the binary classification component to obtain a multi-classification identification result.

[0027] Specifically, the sensitive information multi-classification component is usually a trained machine learning model, such as a decision tree, random forest, or deep neural network (DNN). This model has learned how to distinguish different types of sensitive information by learning from a large amount of labeled data.

[0028] Suppose that in a 5G application of financial services, users submit their personal information and transaction records through a mobile application. This information includes the user's name, address, phone number, bank account balance, transaction history, etc. In step S200, the sensitive information binary classification component has identified that the user's transaction history contains sensitive information (such as large transfer records). Next, in step S300, the computer system passes these transaction history data containing sensitive information as input to the sensitive information multi-classification component. The multi-classification component will perform more detailed feature extraction and analysis on this data. For example, for transaction history data, features may include transaction amount, transaction time, counterparty, transaction type (such as transfer, payment, recharge, etc.), etc. These features are converted into vectors or arrays for processing by machine learning models.

[0029] Then, the sensitive information multi-classification component uses the trained model to classify and identify these feature vectors. The model will determine the sensitive information category of each transaction based on the information in the feature vector. In this example, the model may classify transaction records into different categories such as "normal transactions", "suspicious transactions" or "high-risk transactions" based on factors such as the size of the transaction amount and the frequency of transaction time.

[0030] Finally, the computer system will obtain a multi-classification recognition result, which details the specific categories of sensitive information in the target user's personal data. This result is crucial for the subsequent data encryption transmission process because it allows the computer system to adopt different encryption strategies and protection measures according to the different types of sensitive information. In this way, the sensitive information multi-classification component plays an important role in the embodiment of this application. It not only improves the automation of data processing, but also enhances the security and privacy protection of data through more sophisticated classification and recognition.

[0031] Step S400: Based on the multi-classification recognition results, obtain the corresponding encryption strategy to encrypt the target user's personal data to obtain encrypted personal data, and transmit the encrypted personal data through the 5G network.

[0032] In the embodiment of the present application, step S400 is a key step to ensure the security of sensitive information during transmission. In this step, the computer system obtains the corresponding encryption strategy based on the multi-classification recognition results provided by the sensitive information multi-classification component, encrypts the target user's personal data, and transmits the encrypted personal data through the 5G network.

[0033] First, the computer system receives the multi-classification identification result output by the sensitive information multi-classification component. This result details the specific categories of sensitive information in the target user's personal data, such as "ID number", "bank card number", "health data", etc. Each sensitive information category is usually associated with different risk levels and encryption requirements. Next, the computer system obtains the corresponding encryption strategy from the predefined encryption strategy library based on the multi-classification identification result. These encryption strategies may be based on a combination of different encryption algorithms (such as AES, RSA, etc.) and encryption strengths, and are designed to meet the encryption requirements of different types of sensitive information. For example, for high-risk sensitive information (such as bank card number), the computer system may choose to use a high-strength encryption algorithm and a longer key length; while for low-risk sensitive information (such as name and address), a relatively weak encryption algorithm may be chosen. Once the encryption strategy is determined, the computer system will apply these strategies to encrypt the target user's personal data. The encryption process may involve operations such as encoding, converting, and adding redundant information to the data to ensure the integrity and confidentiality of the data during transmission. The encrypted personal data (i.e., encrypted personal data) will become difficult to be interpreted and used by unauthorized third parties. Finally, the computer system transmits the encrypted personal data through the 5G network. With its high speed, low latency and large number of connections, the 5G network provides an ideal network environment for the transmission of encrypted personal data. During the transmission process, the encrypted personal data will be further protected by the security protection mechanism of the 5G network (such as end-to-end encryption, network slicing, etc.) to ensure the security of the data on the transmission path.

[0034] For example, suppose an online shopping platform collects users' payment information through a 5G network for transaction processing. The user's payment information contains sensitive information such as bank card number, name, address, etc. In step S400, the computer system first identifies the bank card number as high-risk sensitive information through the sensitive information multi-classification component. Then, the system obtains the encryption policy for the bank card number from the encryption policy library, such as using the AES-256 encryption algorithm and a 256-bit key length to encrypt the bank card number. The encrypted bank card number is transmitted to the payment processing system through the 5G network together with other encrypted personal data for processing. Throughout the process, the user's sensitive information is fully protected, ensuring the security of the transaction and the confidentiality of the user's privacy.

[0035] In one embodiment, the method further comprises:

[0036] Step S500: Obtain the support degree of past sensitive information corresponding to the transmitted data, and the user corresponding to the target user's personal data and the user corresponding to the transmitted data are the same user.

[0037] In the embodiment of the present application, step S500 reflects the consideration of the user's past behavior to more accurately evaluate the sensitivity of the current data. First, the computer system identifies the user corresponding to the personal data of the target user. This user may be a registered user of an online service platform, or an individual who transmits data through a 5G network. In order to more accurately evaluate the personal data of the user, the computer system needs to review and analyze the user's past transmission data. Next, the computer system retrieves the user's transmitted data from the stored historical data. These data may include text messages, pictures, videos, etc. sent or received by the user through the 5G network in the past period of time. They may have been encrypted, but the system can still parse out the sensitive information therein. Then, the computer system analyzes the transmitted data to calculate the support of past sensitive information. This support can be understood as the proportion or probability of sensitive information in the transmitted data. For example, the system may count how many of the past 100 messages contain sensitive information such as ID card number and bank card number, thereby deriving a percentage of sensitive information support.

[0038] Specifically, suppose user A has sent 100 messages via the 5G network in the past month. After analysis, the computer system finds that 20 of the messages contain sensitive information, such as home address, bank card number, etc. Then, user A's past sensitive information support is 20%. This support reflects the sensitive information tendency of user A in past transmitted data. By calculating and analyzing this support, the computer system can more accurately evaluate whether user A's current personal data contains sensitive information, thereby providing a more targeted strategy for subsequent data encryption transmission.

[0039] In this way, the computer system is not only based on the current sensitive information classification and identification algorithm, but also combines the user's past behavior data, thereby improving the accuracy and dynamic adaptability of sensitive information identification. This is of great significance for protecting user privacy and data security, especially under the 5G network, with faster data transmission speeds and larger data volumes, accurate identification and protection of sensitive information is particularly important.

[0040] Step S600: If the support indicated by the sensitive information prior mark is less than the support of past sensitive information, the sensitive binary classification result of the target user's personal data is corrected to a sensitive binary classification result indicating that the target user's personal data does not contain sensitive information.

[0041] In the embodiment of the present application, step S600 combines the user's past behavior data to dynamically adjust the classification and identification results of sensitive information. Assume that there is an online shopping platform, and user B browses and purchases goods on the platform through the 5G network. In this process, the user's personal information and transaction data will be transmitted through the 5G network, and the computer system is responsible for classifying and identifying these data as sensitive information, and performing corresponding encryption processing. First, the computer system uses the sensitive information classification and identification algorithm to perform preliminary classification and identification on the target user's personal data (i.e., the current transmission data of user B) to obtain a support level indicated by a priori mark of sensitive information. This support level represents the possibility that the algorithm predicts that the target user's personal data contains sensitive information. At the same time, the computer system also obtains the support level of past sensitive information corresponding to the past transmission data of user B. This support level is obtained by analyzing the data transmitted by user B through the 5G network in the past period of time and counting the proportion of sensitive information therein. It reflects the tendency of user B to transmit sensitive information in past behaviors. Next, the computer system compares the support level indicated by the priori mark of sensitive information with the support level of past sensitive information. If the support indicated by the prior marker is less than the support of past sensitive information, this means that according to the prediction of the current algorithm, the probability that the target user's personal data contains sensitive information is lower than the past sensitive information transmission tendency of user B. In this case, the computer system believes that the current sensitive information classification and identification results may be too conservative or inaccurate, so it will be corrected. Specifically, it will correct the sensitive binary classification results of the target user's personal data to indicate that the data does not contain sensitive information. In this way, the computer system can dynamically adjust the current sensitive information classification and identification results in combination with the user's past behavior data. This dynamic adjustment not only improves the accuracy of classification and identification, but also enhances the pertinence and flexibility of encrypted transmission. Under the 5G network, this dynamic adjustment is particularly important because it can better adapt to the high-speed and large-capacity characteristics of data transmission, ensuring that user privacy and data security are effectively protected.

[0042] Wherein, step S500, obtaining the support level of past sensitive information corresponding to the transmitted data, may include:

[0043] Step S510: Acquire the transmitted data corresponding to the target user's personal data, where the transmitted data includes the transmitted sensitive data with sensitive information and the transmitted ordinary data without sensitive information.

[0044] In the embodiment of the present application, step S510 obtains the transmitted data corresponding to the target user's personal data, and distinguishes the sensitive data from the ordinary data in the transmitted data. Specifically, when the computer system needs to evaluate the target user's past sensitive information support, it will first identify and locate the transmitted data associated with the target user's personal data. These transmitted data are usually data sent or received by the user through the 5G network in the past period of time, which may include text messages, pictures, videos and other forms.

[0045] Next, the computer system classifies the transmitted data and distinguishes between sensitive data and ordinary data. Sensitive data refers to data that contains sensitive information of users, such as ID card number, bank card number, home address, etc. Once this information is leaked, it may bring privacy or financial risks to users. In contrast, ordinary data refers to data that does not contain sensitive information, such as daily communication content, non-sensitive pictures, etc.

[0046] Take an online shopping platform as an example. If user A performs multiple shopping and browsing operations on the platform, the data generated by these operations is the transmitted data. Among these data, user A's delivery address, payment information, etc. are sensitive data because they contain the user's private information; while user A's browsing records and chat content with customer service are ordinary data because they do not contain sensitive information.

[0047] In the process of distinguishing sensitive data from ordinary data, the computer system may use some preset rules or algorithms to help identify. For example, it can identify sensitive information in text messages through keyword matching, regular expressions, etc.; for pictures and video data, it may use image recognition technology to detect whether it contains sensitive content.

[0048] Once sensitive data is successfully distinguished from ordinary data, the computer system can proceed to the next step S520 to calculate the proportion of transmitted sensitive data in transmitted data, thereby obtaining the support of past sensitive information. This support will serve as an important basis for subsequent decision-making, helping the computer system to more accurately assess the sensitivity of the target user's personal data and take corresponding encryption measures to protect data security.

[0049] Step S520: The proportion of the transmitted sensitive data in the transmitted data is used as the past sensitive information support.

[0050] In the embodiment of the present application, step S520 is the core step of calculating the support of past sensitive information. In this step, the computer system uses the proportion of the transmitted sensitive data in the total transmitted data as the support of past sensitive information, which reflects the user's tendency to transmit sensitive information in the past.

[0051] Specifically, when the computer system completes step S510, that is, distinguishing the sensitive data from the ordinary data in the transmitted data, it will proceed to the next step of calculation. Assume that the user has sent or received a total of N pieces of data through the 5G network in the past period of time, including M pieces of sensitive data. Sensitive data may include the user's ID number, bank card information, health data and other private information.

[0052] In step S520, the computer system first counts the number of sensitive data M, and then calculates the ratio of sensitive data to the total data, that is, M / N. This ratio is the past sensitive information support, which indicates the frequency or probability of sensitive information appearing in the user's past transmission behavior.

[0053] For example, suppose user A has sent 100 health consultation messages on an online medical platform in the past month (i.e., total transmitted data N=100). Among these 100 messages, 20 contain sensitive data such as the user's medical records and diagnosis results (i.e., transmitted sensitive data M=20). Then, according to the calculation method of step S520, the support rate of user A's past sensitive information is 20 / 100, or 20%.

[0054] This 20% past sensitive information support reflects that 20% of the health consultation information sent by user A in the past month contained sensitive information. This support will serve as an important basis for subsequent decision-making, helping the computer system to more accurately assess the sensitivity of the personal data currently sent by user A, and formulate corresponding encryption strategies to protect data security. In this way, the computer system can dynamically adjust the classification and identification results and encryption strategies of sensitive information based on the user's past behavior data, thereby improving the security of data transmission and the protection of user privacy. This is especially important under 5G networks, because high-speed data transmission and large-scale data exchange make the protection of sensitive information even more critical.

[0055] In one embodiment, the method further comprises:

[0056] Step S600: Determine the involved data of the transmitted sensitive data in the transmitted common data, where the involved data and the transmitted sensitive data are data carrying the same information at different times, and there is data overlap between the involved data and the transmitted sensitive data.

[0057] In the embodiment of the present application, step S600 is intended to further identify and evaluate those common data that are associated with the transmitted sensitive data. Specifically, step S600 requires the computer system to find those involved data that are associated with the transmitted sensitive data in the transmitted common data. These involved data may not directly contain sensitive information, but there is some intersection or association between them and the sensitive data. This association may be manifested as data carrying the same information at different time points, or overlapping with sensitive data in terms of content, context, sending and receiving objects, etc. In order to better understand this step, a specific application scenario can be imagined. Assume that user A performs a series of online transaction operations through the 5G network, some of which involve sensitive information, such as bank card numbers, transaction passwords, etc. These transaction data containing sensitive information are marked as transmitted sensitive data. However, in the transaction history of user A, there are some seemingly ordinary data that do not directly contain sensitive information themselves, but are associated with the transmitted sensitive data. For example, user A may have communicated with the merchant before the transaction and asked about product details or promotions. These communication records may be just ordinary text messages, but they are temporally related and content-intersecting with subsequent sensitive transaction data. In step S600, the computer system first analyzes all transmitted data of user A, including sensitive data and ordinary data. Then, it uses data association analysis algorithms (such as association rule mining algorithms Apriori or FP-Growth) to identify those involved data that are associated with the transmitted sensitive data. These algorithms can evaluate the degree of association between data by calculating indicators such as support, confidence, and lift between data items.

[0058] Once the involved data are identified, the computer system can further analyze and process them. For example, it can encrypt and transmit the involved data together with sensitive data to ensure their security. Or, it can adjust the classification identification results and encryption strategy of sensitive information according to the nature and degree of association of the involved data to more accurately protect user privacy and data security.

[0059] In this way, step S600 not only improves the accuracy and completeness of sensitive information identification, but also enhances the pertinence and flexibility of data encryption transmission.

[0060] Step S700: Iterate the prior labeling of the involved data, where the previous binary classification recognition results corresponding to the involved data represent that the user has sensitive information.

[0061] In the embodiment of the present application, in step S700, the computer system will iteratively process the involved data associated with the transmitted sensitive data to update their prior labels. These involved data may have been marked as representing the user with sensitive information in the past binary classification recognition, but in further analysis, the computer system may need to re-evaluate their sensitivity based on new information or context.

[0062] Specifically, when the computer system identifies the implicated data, it will check the previous binary classification results of these data. If these data were classified as sensitive information in the past (i.e., their prior tags indicate that they contain sensitive information), the computer system will start an iterative process to re-evaluate the accuracy of this tag. The iterative process may involve multiple aspects. First, the computer system may analyze the content, context, and transmission history of the implicated data to determine whether they are indeed related to sensitive information. For example, if the implicated data is just an ordinary chat message, but the content mentions keywords or contexts related to sensitive transactions, the computer system may consider that the message is related to sensitive information.

[0063] However, content analysis alone may not be accurate enough. Therefore, the computer system may combine the user's past behavior patterns and data transmission habits to further assess the sensitivity of the data involved. For example, if a user often sent ordinary messages unrelated to sensitive transactions in the past, but suddenly sent a message related to sensitive transactions, the computer system may consider this message to be abnormal and re-evaluate its sensitivity.

[0064] In the iterative process, the computer system may also use machine learning algorithms to assist in decision-making. For example, it can use classification algorithms (such as logistic regression, random forest, etc.) to train a model that can predict the sensitivity of the data based on its characteristics and context. By iteratively training and optimizing the model, the computer system can continuously improve the accuracy of identifying the sensitivity of the data involved.

[0065] Finally, once the iterative process is complete, the computer system will update the prior labels of the involved data based on the new evaluation results. If the involved data is re-evaluated as not having sensitive information, their prior labels will be modified accordingly. This will help to more accurately identify and protect sensitive information while avoiding unnecessary encryption of ordinary data.

[0066] For example, suppose user A sends a seemingly ordinary message to friend B on the 5G network, but the message mentions a sensitive transaction they previously conducted. In the past binary classification recognition, this message may be mistakenly marked as representing user A with sensitive information. However, during the iteration process of step S700, the computer system analyzes the context of the message and the user's past behavior patterns and finds that this message is actually just an ordinary communication and does not involve sensitive information. Therefore, the computer system will update the prior mark of this message and remove it from the sensitive information category. This will help improve the efficiency and accuracy of subsequent data encryption transmission.

[0067] In one embodiment, the first sensitive information support in the past sensitive information support represents the past sensitive information support of the first data item in the target user's personal data. Based on this, the method may also include:

[0068] Step S800: performing a convolution operation on the first sensitive information support of the first data item according to the context sensitive information support of the context data items adjacent to the first data item, and iterating the first sensitive information support; wherein the context sensitive information support represents the past sensitive information support of the context data item.

[0069] In the embodiment of the present application, for a specific data item (i.e., the first data item) in the target user's personal data, the accuracy of its past sensitive information support (first sensitive information support) is crucial for data classification and encryption. However, the support based solely on the data item itself may not be sufficient to accurately reflect its true sensitivity. Therefore, step S800 proposes a method for iteratively updating the first sensitive information support of the first data item based on the sensitive information support of the context data item (context sensitive information support).

[0070] Specifically, first, the computer system identifies the first data item in the target user's personal data and obtains its past sensitive information support, that is, the first sensitive information support. This support reflects the frequency or probability that the data item was identified as sensitive information in past transmissions. Next, the computer system further analyzes the context data items around the first data item. These context data items are data items that are adjacent to the first data item in timing, content or structure. They may contain information or background related to the first data item, thereby affecting the judgment of the sensitivity of the first data item. Then, the computer system calculates the past sensitive information support of each context data item, that is, the context sensitive information support. These support reflects the sensitivity of the context data item itself.

[0071] After obtaining the context sensitive information support, the computer system performs a convolution operation on the first sensitive information support of the first data item. The convolution operation is a mathematical operation used to calculate the integral or sum of the overlapping parts of two functions over a certain area. Here, the convolution operation can be understood as a weighted average of the sensitive information support of the first data item and its context data item to comprehensively consider their impact on the sensitivity of the first data item. Specifically, the convolution operation can adjust the contribution of different context sensitive information supports based on factors such as the correlation, distance or weight between the context data item and the first data item. For example, a context data item directly adjacent to the first data item may have a higher weight, while a context data item farther away may have a lower weight.

[0072] Through the convolution operation, the computer system can obtain an updated support of the first sensitive information. This updated support not only takes into account the sensitivity of the first data item itself, but also incorporates the influence of its contextual data items, thereby more accurately reflecting the sensitivity of the first data item in the overall data.

[0073] For example, suppose that in a text message containing multiple data items, a data item (such as a bank card number) is identified as sensitive information. In step S800, the computer system analyzes the contextual data items around the bank card number, such as the sending time, the recipient information, the message content, etc. If the contextual data items contain sensitive words or information related to the bank card number (such as "transaction", "password", etc.), then the contextual sensitive information support of these contextual data items will be high. Through the convolution operation, the computer system will comprehensively consider the sensitivity of the bank card number and its contextual data items, and obtain a more accurate updated first sensitive information support, thereby more accurately guiding the subsequent data encryption transmission operation.

[0074] The following is an introduction to the training process of the sensitive information classification and identification algorithm, which includes the following steps:

[0075] Step S10: Obtain user personal data training samples and sensitive information prior labels of the user personal data training samples. The sensitive information prior labels include binary classification prior labels and multi-classification prior labels. The binary classification prior labels indicate whether the user personal data training samples contain sensitive information. The multi-classification prior labels indicate the data information category corresponding to the user personal data training samples under the binary classification prior labels.

[0076] In step S10 of the embodiment of the present application, the computer system is responsible for obtaining user personal data training samples and sensitive information prior labels corresponding to these samples. These prior labels provide important supervision information for the training of the algorithm, ensuring that the algorithm can accurately distinguish between sensitive information and non-sensitive information, and classify sensitive information in a more fine-grained manner. Specifically, the computer system extracts a series of user personal data from existing data sources as training samples. These data may come from users' online behavior records, transaction data, social media posts, etc., and contain various types of information, such as text, pictures, videos, etc. Each training sample is an instance of user personal data, representing an object that the algorithm needs to learn and recognize.

[0077] At the same time, the computer system also needs to obtain the sensitive information prior label corresponding to each training example. These prior labels are pre-defined and used to indicate whether the training example contains sensitive information and the specific category of sensitive information. Prior labels usually include two types: binary prior labels and multi-class prior labels.

[0078] The binary prior label is a binary value that indicates whether a training sample contains sensitive information. For example, if a training sample contains a user's bank card number or ID card number, its binary prior label is "sensitive"; if the sample is just some daily communication content and does not contain any sensitive information, its binary prior label is "non-sensitive".

[0079] Multi-classification prior labeling further indicates the specific category of sensitive information based on the training examples being labeled as "sensitive", or when labeled as "non-sensitive", it labels the specific category of non-sensitive information. These categories may include different types such as identity information, financial information, and health data. For example, if a training example contains a user's ID number, its multi-classification prior label may be "identity information"; if it contains transaction records, it may be "financial information".

[0080] After obtaining the training examples and the corresponding sensitive information prior labels, the computer system can use these data to train the sensitive information classification and recognition algorithm. By continuously adjusting and optimizing the algorithm parameters, the computer system can enable the algorithm to accurately identify the sensitive information in the user's personal data and take corresponding encryption measures according to the category of sensitive information, thereby protecting user privacy and data security.

[0081] For example, suppose an e-commerce platform wants to train a sensitive information classification and recognition algorithm to identify sensitive information that may be contained in user comments (such as competitor brand names, user personal contact information, etc.). In this scenario, the computer system will extract a portion of user comments as training examples, and annotate each example with a binary prior label (whether it contains sensitive information) and a multi-class prior label (specific category of sensitive information). Then, the algorithm is trained using these labeled data so that the algorithm can automatically identify and classify sensitive information in user comments.

[0082] Step S20: classify and identify the user personal data training sample through the sensitive information binary classification component in the sensitive information classification and identification algorithm to obtain an estimated binary classification result of the user personal data training sample, which indicates whether the user personal data training sample contains sensitive information.

[0083] In the embodiment of the present application, step S20 is a key step to identify whether the training sample contains sensitive information. In this step, the computer system uses the sensitive information binary classification component in the sensitive information classification and recognition algorithm to classify and identify the user's personal data training sample, thereby obtaining an estimated binary classification result.

[0084] First, the sensitive information binary classification component is a pre-trained and optimized machine learning model, which can be built based on algorithms such as logistic regression, support vector machine (SVM), random forest or deep neural network (DNN). The role of this model is to predict whether it contains sensitive information based on the input user personal data training examples.

[0085] For example, suppose a financial service platform needs to train a sensitive information classification and recognition algorithm to protect the user's privacy data. In this scenario, the user's personal data training samples may include the user's transaction records, identity information, account balances, etc. These training samples usually need to be preprocessed before being input into the sensitive information binary classification component, such as text cleaning, feature extraction, etc., so that the model can better understand and process these data. Next, the computer system passes the user's personal data training samples as input to the sensitive information binary classification component. This component extracts features from the input data and converts the raw data into feature vectors or feature arrays that the model can understand. For example, for text data, features may include the frequency of keywords, n-gram sequences, etc.; for numerical data, features may include specific values ​​or numerical ranges.

[0086] Once the feature vector or feature array is extracted, the sensitive information binary classification component will use the trained model to classify and identify these features. The model will determine whether the input user personal data training sample contains sensitive information based on the information in the feature vector. This judgment process is implemented through the calculation logic inside the model, which depends on the machine learning algorithm and model structure used. Finally, the sensitive information binary classification component will output an estimated binary classification result, that is, whether the user personal data training sample contains sensitive information. This result is a binary value, such as "yes" or "no", indicating the model's prediction of whether the training sample contains sensitive information. This result will be used as input for subsequent steps to further train and optimize the sensitive information classification and identification algorithm.

[0087] By executing step S20, the computer system can automatically classify and identify the user's personal data training samples, thereby preliminarily determining whether these samples contain sensitive information, which provides an important basis for subsequent multi-classification identification steps and algorithm tuning.

[0088] Step S30: classify and identify the user personal data training sample through the sensitive information multi-classification component in the sensitive information classification and identification algorithm to obtain an estimated classification of the user personal data training sample, where the estimated classification is the data information category of the user personal data training sample.

[0089] In the embodiment of the present application, step S30 is responsible for further identifying the specific category of the sensitive information on the basis that the data has been confirmed to contain sensitive information.

[0090] During the training process, the computer system has already preliminarily determined whether a user's personal data training sample contains sensitive information through the sensitive information binary classification component (as mentioned above). Once a training sample is marked as containing sensitive information, the sensitive information multi-classification component will intervene to perform a more fine-grained classification.

[0091] The sensitive information multi-classification component is also a pre-trained and optimized machine learning model. This model may be built based on algorithms such as decision trees, random forests, gradient boosting machines (such as XGBoost), or deep neural networks (such as convolutional neural networks CNN or recurrent neural networks RNN). The specific choice depends on the characteristics of the data and the classification requirements. Suppose that in an online medical service platform, users submit a large amount of personal health data as training examples. After being processed by the binary classification component, these data are marked as containing sensitive information (such as medical records, diagnostic reports, etc.). Next, the sensitive information multi-classification component will further process these training examples that have been marked as sensitive information.

[0092] First, the multi-classification component extracts features for each training example. These features may include keywords in the text, ranges of values, specific areas in the image, etc., which together form a vector or array that describes the characteristics of sensitive information. For example, in medical data, features may include disease names, symptom descriptions, drug names, etc. After extracting the features, the multi-classification component uses the trained model to classify and identify these features. The model determines which sensitive information category each training example belongs to based on the information in the feature vector. These categories may be predefined, such as identity information, financial information, health data, etc., depending on the needs of the application scenario. Taking medical data as an example, the multi-classification component may classify a training example containing a disease name and symptom description into the "health data" category, and a training example containing a bank card number and transaction amount into the "financial information" category.

[0093] Finally, the multi-classification component outputs the estimated classification results for each training example. These results not only tell the computer system whether the training example contains sensitive information (which has been completed in the binary classification step), but also specifically indicate the category of sensitive information. This information is crucial for the subsequent data encryption and privacy protection strategy formulation. Through the execution of step S30, the computer system can more accurately identify the sensitive information category in the user's personal data, thereby formulating more targeted and effective data protection measures.

[0094] Step S40: Based on the binary classification difference between the binary classification prior label and the estimated binary classification result, and the multi-classification difference between the multi-classification prior label and the estimated classification, the sensitive information classification and recognition algorithm is tuned to obtain an optimized sensitive information classification and recognition algorithm.

[0095] In the embodiment of the present application, step S40 is responsible for tuning the algorithm according to the difference between the algorithm prediction result and the actual label to improve the accuracy of its classification and recognition.

[0096] During the training process, the computer system first classifies and identifies the user's personal data training samples through the sensitive information binary classification component and the multi-classification component, and obtains the estimated binary classification results and multi-classification results respectively. These estimated results represent the algorithm's judgment on whether the current training sample contains sensitive information and the specific category of sensitive information. At the same time, the computer system also holds the binary classification prior label and multi-classification prior label of each training sample. These prior labels are the real labels that have been determined when the training samples were collected, representing whether the training samples actually contain sensitive information and the real category of sensitive information.

[0097] In step S40, the computer system compares the difference between the estimated result and the prior label to evaluate the classification performance of the algorithm. For the binary classification result, the computer calculates the difference between the estimated binary classification result and the binary classification prior label, and this difference can be quantified by a loss function (such as a cross entropy loss function). Similarly, for the multi-classification result, the computer calculates the difference between the estimated classification and the multi-classification prior label, and this difference can also be quantified by a corresponding loss function. Taking the logistic regression algorithm as an example, assuming that the binary classification prior label of a training example is "sensitive", but the algorithm's estimated binary classification result is "non-sensitive", then this will generate a loss value, indicating that the algorithm's prediction error on this example. Similarly, if the multi-classification prior label is "identity information", but the algorithm's estimated classification is "financial information", then a loss value will also be generated. These loss values ​​are used to guide the algorithm's tuning process. Specifically, the computer will use optimization methods such as backpropagation algorithm and gradient descent to adjust the parameters (such as weights and bias terms) inside the algorithm according to the loss value to minimize the loss function, thereby improving the classification accuracy of the algorithm.

[0098] By continuously iterating this process, the computer system can gradually optimize the performance of the sensitive information classification and identification algorithm, so that it can more accurately identify sensitive information and its categories in the user's personal data. This is of great significance for protecting user privacy and data security, especially in application scenarios that require high-precision classification and identification, such as financial transactions, medical records, etc. Step S40 guides the algorithm to be tuned to improve its classification and identification accuracy by quantifying and evaluating the difference between the algorithm prediction results and the true labels, thereby ensuring that sensitive information in the user's personal data can be effectively protected.

[0099] In one implementation, step S30, classifying and identifying the user personal data training sample by the sensitive information multi-classification component in the sensitive information classification and identification algorithm to obtain an estimated classification of the user personal data training sample, may specifically include:

[0100] Step S31: Classify and identify the user personal data training samples according to the estimated binary classification results through the sensitive information multi-classification component, and obtain the estimated classification of the user personal data training samples corresponding to the estimated binary classification results, and the estimated classification represents the data information category corresponding to the user personal data training samples in the estimated binary classification results; wherein, when the estimated binary classification results indicate that the user personal data training samples have sensitive information, the estimated classification represents the sensitive classification of the user personal data training samples, and when the estimated binary classification results indicate that the user personal data training samples do not have sensitive information, the estimated classification represents the non-sensitive classification of the user personal data training samples that do not have sensitive information.

[0101] In the embodiment of the present application, step S31 in step S30 is a refined classification step, which performs multi-classification recognition on the training samples based on the results of the binary classification.

[0102] In step S30, the sensitive information multi-classification component is responsible for multi-classification recognition of the user's personal data training sample, but in some embodiments, this multi-classification recognition process is not isolated, but depends on the previous binary classification result. Specifically, in step S31, the sensitive information multi-classification component first obtains the estimated binary classification result output by the sensitive information binary classification component. This estimated binary classification result is a binary value indicating whether the user's personal data training sample contains sensitive information.

[0103] Then, the sensitive information multi-classification component will decide how to perform multi-classification recognition on the training sample based on the estimated binary classification result. If the estimated binary classification result indicates that the training sample contains sensitive information (that is, the estimated binary classification result is "sensitive"), the multi-classification component will further identify the specific category of this sensitive information and output one or more sensitive classifications as estimated classifications. These sensitive classifications may include different types such as identity information, financial information, health data, etc., depending on the application scenario and data characteristics.

[0104] For example, suppose a financial service platform is training a sensitive information classification and recognition algorithm. A user submits a text message containing a bank card number and transaction record as a training example. In the binary classification process of step S30, the message is identified as containing sensitive information. Then, in step S31, the multi-classification component identifies the sensitive information category it contains as "financial information" based on the specific content of the message, and outputs "financial information" as the estimated classification.

[0105] On the contrary, if the estimated binary classification result indicates that the training sample does not contain sensitive information (that is, the estimated binary classification result is "non-sensitive"), the multi-classification component will no longer identify the category of sensitive information, but directly output a non-sensitive classification as the estimated classification. This non-sensitive classification indicates that the training sample does not contain any sensitive information and no further processing is required.

[0106] Through the implementation of step S31, the sensitive information multi-classification component can perform more fine-grained classification and identification under the premise of ensuring that the training samples contain sensitive information. This not only improves the accuracy of classification and identification, but also makes the subsequent sensitive information processing and encrypted transmission more targeted and efficient.

[0107] In one embodiment, the sensitive information binary classification component includes a representation information extraction layer and a classification layer. Based on this, step S20, the user personal data training sample is classified and identified by the sensitive information binary classification component in the sensitive information classification and identification algorithm to obtain an estimated binary classification result of the user personal data training sample, which may specifically include:

[0108] Step S21: extracting representation information from the user's personal data training sample through the representation information extraction layer to obtain data representation information of the user's personal data training sample.

[0109] In the embodiment of the present application, step S21 is one of the core steps of the sensitive information binary classification component, which is responsible for converting the original user personal data training samples into a format that can be understood and processed by the machine learning model, that is, data representation information. Specifically, in step S21, the computer system first receives the user personal data training samples as input through the representation information extraction layer. These training samples may include various types of data, such as text, images, audio, etc., which contain rich user information and potential sensitive information.

[0110] Taking text data as an example, the representation information extraction layer will perform preprocessing operations on the text, such as word segmentation, stop word removal, stem extraction, etc., to eliminate noise and extract key information. Then, the extraction layer will use natural language processing technology, such as word embedding or word vector models (such as Word2Vec, GloVe, etc.) to convert each word or phrase into a vector representation of a fixed dimension. These vectors usually contain the semantic information and contextual relationship of the word, allowing the model to understand and distinguish different words.

[0111] For image data, the representation information extraction layer may use a convolutional neural network (CNN) for feature extraction. CNN extracts hierarchical feature maps from the original image through operations such as convolutional layers and pooling layers. These feature maps can be regarded as representation information of the image. Similarly, for audio data, the extraction layer may use models such as recurrent neural networks (RNN) or transformers to capture temporal features and patterns in audio sequences. After obtaining the representation vectors of each data item (such as words, image blocks, audio frames, etc.), the extraction layer combines them into an overall representation information, which can be a vector sequence, matrix, or tensor, depending on the type and structure of the data. For example, for text data, the representation vectors of all words are arranged in order to form a vector sequence; for image data, multiple feature maps can be stacked into a three-dimensional tensor.

[0112] For example, suppose a user on an e-commerce platform submits a comment containing sensitive information: "The product I bought was very affordable, but the logistics information was leaked." In step S21, the representation information extraction layer first performs word segmentation on the comment to obtain a series of words. Then, using the word embedding model, each word is converted into a vector of fixed dimension. For example, the word "price" may be converted into a vector containing multiple floating point numbers: [0.23, -0.15, 0.67, ...]. Finally, the representation vectors of all words are arranged in order to form a vector sequence as the data representation information of this comment.

[0113] Through this representation information extraction process, the computer system can convert the original user personal data training examples into a format that can be understood and processed by the machine learning model, providing an important foundation for subsequent classification and recognition.

[0114] Step S22: classify and identify the data representation information through the classification layer to obtain the estimated binary classification results of the user's personal data training samples.

[0115] In the embodiment of the present application, step S22 is responsible for using the classification layer to classify and identify the data representation information processed by the representation information extraction layer, so as to obtain the estimated binary classification results of the user's personal data training sample. In step S21, the representation information extraction layer has converted the original user's personal data training sample into data representation information. These data representation information may be in the form of vectors, matrices or tensors, which capture the key features and semantic information of the original data. In step S22, these data representation information will be passed to the classification layer for further classification and identification.

[0116] The classification layer is usually a trained machine learning model that can automatically learn and identify sensitive information in the data based on the input data representation information. This model can be built based on various machine learning algorithms, such as logistic regression, support vector machine (SVM), random forest, gradient boosting machine (such as XGBoost) or deep neural network (such as multi-layer perceptron MLP, convolutional neural network CNN, recurrent neural network RNN, etc.). The specific algorithm or model to be selected depends on the characteristics of the data and the training requirements.

[0117] Taking the logistic regression model as an example, the classification layer receives data representation information as input, and through a series of calculations and reasoning processes, outputs an estimated binary classification result. This estimated result is usually a probability value or score, indicating the possibility that the input data contains sensitive information. Then, based on a preset threshold (such as 0.5), the computer system converts this probability value or score into a binary value (such as 0 or 1), where 0 means that the data does not contain sensitive information and 1 means that the data contains sensitive information.

[0118] Specifically, assume that a user submits a comment as a training example. In step S21, the representation information extraction layer has converted the comment into a vector sequence, where each vector represents a word or phrase in the comment. In step S22, the vector sequence is passed to the classification layer based on logistic regression. The classification layer performs weighted summation, activation function processing and other calculations on the vector sequence to obtain a probability value indicating the possibility that the comment contains sensitive information. If the probability value is greater than a preset threshold (such as 0.5), the classification layer will output 1, indicating that the comment contains sensitive information; otherwise, it will output 0, indicating that the comment does not contain sensitive information. Through such a classification and recognition process, the computer system can accurately determine whether the user's personal data training sample contains sensitive information, and provide an important basis for subsequent data encryption and privacy protection. At the same time, since the classification layer is built based on a machine learning model, it can improve the accuracy and efficiency of classification and recognition through continuous training and optimization.

[0119] In the above step S31, the sensitive information multi-classification component is used to classify and identify the user's personal data training sample according to the estimated binary classification result, and the estimated classification of the user's personal data training sample corresponding to the estimated binary classification result is obtained, including:

[0120] Step S311: Classify and identify the data representation information according to the estimated binary classification result through the sensitive information multi-classification component, and obtain the estimated classification of the user's personal data training sample corresponding to the estimated binary classification result.

[0121] In the embodiment of the present application, step S311 is responsible for performing more fine-grained multi-classification recognition on the data representation information processed by the representation information extraction layer on the basis of the binary classification of sensitive information.

[0122] In step S31, the sensitive information multi-classification component will classify and identify the user's personal data training samples according to the estimated binary classification results output by the sensitive information binary classification component. Specifically, when the estimated binary classification results indicate that the training sample contains sensitive information, the multi-classification component will further identify the specific category of the sensitive information; and when the estimated binary classification results indicate that the training sample does not contain sensitive information, the multi-classification component will no longer perform category identification. Step S311 is a sub-step of step S31. Its core function is to perform multi-classification identification on the extracted data representation information according to the estimated binary classification results. The data representation information here is obtained after processing the user's personal data training samples through the representation information extraction layer in step S21. It captures the key features and semantic information of the original data.

[0123] In step S311, the computer system first checks the estimated binary classification result. If the estimated binary classification result indicates that the training sample contains sensitive information, the computer system will trigger the workflow of the sensitive information multi-classification component. The multi-classification component receives data representation information as input and classifies and identifies the data representation information based on its internal machine learning model (such as decision tree, random forest, neural network, etc.).

[0124] Taking neural networks as an example, the neural networks in the multi-classification component may have been trained with a large amount of labeled data and learned how to identify specific categories of sensitive information based on data representation information. After receiving new data representation information, the neural network will process and infer the data representation information through its internal calculation logic and parameter settings, and finally output one or more estimated classifications. These estimated classifications represent specific categories of sensitive information in the data representation information, such as identity information, financial information, health data, etc.

[0125] Specifically, assume that an e-commerce platform is training a sensitive information classification and recognition algorithm. A user submitted a text comment containing a bank card number and a delivery address as a training example. In step S21, the representation information extraction layer has converted this comment into a vector sequence. In step S22, the binary classification component recognizes that this comment contains sensitive information. Next, in step S311, the multi-classification component receives this vector sequence as input and performs reasoning through its internal neural network model. Finally, the neural network output estimates the classification as "financial information" and "identity information", indicating that the bank card number in this comment belongs to the financial information category, and the delivery address belongs to the identity information category.

[0126] Through such a multi-classification identification process, the computer system can further identify the specific categories of sensitive information based on the binary classification of sensitive information, providing more refined support for subsequent data encryption and privacy protection.

[0127] In one implementation, step S40, based on the binary classification difference between the binary classification priori mark and the estimated binary classification result, and the multi-classification difference between the multi-classification priori mark and the estimated classification, the sensitive information classification and identification algorithm is tuned to obtain the tuned sensitive information classification and identification algorithm, which may specifically include:

[0128] Step S41: assign a first loss impact coefficient to the difference between the binary classification prior label and the estimated binary classification result to determine the binary classification difference, and assign a second loss impact coefficient to the difference between the multi-classification prior label and the estimated classification to determine the multi-classification difference, the first loss impact coefficient is not equal to the second loss impact coefficient; optionally, the first loss impact coefficient is greater than the second loss impact coefficient.

[0129] In the embodiment of the present application, step S41 is a key step in tuning the performance of the algorithm. In this step, the computer system quantifies the difference between the binary classification prior label and the estimated binary classification result, and the difference between the multi-classification prior label and the estimated classification, and assigns different loss impact coefficients to determine the specific values ​​of the binary classification difference and the multi-classification difference.

[0130] First, the computer system compares the difference between the binary prior label (i.e., the true binary label of the training sample) and the estimated binary result. This difference is usually quantified by a loss function, which measures the degree of inconsistency between the algorithm's prediction and the true label. For the binary difference, the computer assigns a first loss impact coefficient. This coefficient reflects the importance of the binary difference in the tuning process. In practical applications, since accurately identifying whether the data contains sensitive information is usually considered a top priority, the first loss impact coefficient may be set relatively large. Next, the computer quantifies the difference between the multi-class prior label (i.e., the true multi-class label of the training sample) and the estimated classification, and assigns a second loss impact coefficient. This coefficient also reflects the importance of the multi-class difference in the tuning process, but its value is usually smaller than the first loss impact coefficient. This is because, under the premise that the data has been determined to contain sensitive information, further identifying the specific category of sensitive information is important, but its priority may be slightly lower than determining whether the data contains sensitive information.

[0131] Taking specific values ​​as an example, assume that the first loss impact coefficient is 2 and the second loss impact coefficient is 1. Now consider a specific training example whose binary classification prior is marked as "sensitive" (indicating that the example contains sensitive information), but the estimated binary classification result is "non-sensitive" (indicating that the algorithm mistakenly determines that the example does not contain sensitive information). At the same time, assume that the multi-classification prior of the example is marked as "identity information" (indicating that the specific category of sensitive information is identity information), but the estimated classification is "financial information" (indicating that the algorithm mistakenly determines that the category of sensitive information is financial information).

[0132] In this case, the computer will first calculate the loss value of the binary difference. Assuming that the loss function of the binary difference is the cross entropy loss function, and the estimated binary result is 0 (indicating "non-sensitive"), the loss value of the binary difference will be a positive number. Then, the computer will multiply this loss value by the first loss impact coefficient 2 to get the final value of the binary difference.

[0133] Similarly, the computer will calculate the loss value of multi-class difference. Assuming that the loss function of multi-class difference is also the cross entropy loss function, and the estimated classification is "financial information" (which may be represented as a specific number or vector in the classification label), the loss value of multi-class difference will also be a positive number. Then, the computer will multiply this loss value by the second loss impact coefficient 1 to obtain the final value of multi-class difference.

[0134] In this way, the computer system can comprehensively consider the importance of binary and multi-class differences in the tuning process, and tune the sensitive information classification and recognition algorithm based on their values. This helps to improve the accuracy and reliability of the algorithm, thereby better protecting user privacy and data security.

[0135] Step S42: Based on the binary classification difference and the multi-classification difference, the sensitive information classification and identification algorithm is optimized to obtain an optimized sensitive information classification and identification algorithm.

[0136] In the embodiment of the present application, step S42 is responsible for tuning the algorithm according to the binary classification difference and the multi-classification difference calculated in step S41 to improve the accuracy of its classification and recognition.

[0137] In step S41, the computer system has calculated the difference between the binary classification prior label and the estimated binary classification result (i.e., binary classification difference), and the difference between the multi-classification prior label and the estimated classification (i.e., multi-classification difference) through the loss function, and assigned different loss impact coefficients respectively. These differences and coefficients reflect the problems and deficiencies of the algorithm in the classification and recognition process.

[0138] In step S42, the computer system will use these differences and coefficients to tune the sensitive information classification and identification algorithm. The tuning process usually involves updating and optimizing the parameters of the machine learning model (such as a neural network). Specifically, the computer system guides the adjustment of the model parameters based on the calculated total loss (the product of the binary classification difference and the first loss impact coefficient plus the product of the multi-classification difference and the second loss impact coefficient).

[0139] Taking neural networks as an example, the tuning process usually includes the following steps:

[0140] Forward propagation: First, the computer system inputs the training samples into the neural network, and obtains the estimated binary classification results and multi-classification results through the forward propagation calculation of the network. Calculate loss: Then, the computer system compares the difference between the estimated result and the prior label, calculates the binary classification difference and multi-classification difference through the loss function, and calculates the total loss based on the loss impact coefficient determined in step S41. Backward propagation: Next, the computer system will use the back propagation algorithm to backpropagate the total loss from the output layer to the input layer layer by layer, and calculate the gradient of the parameters of each layer. Parameter update: Finally, the computer system will use the optimization algorithm (such as gradient descent, Adam, etc.) to update the parameters of the neural network according to the calculated gradient to minimize the total loss.

[0141] Through this process of continuous iteration, the parameters of the neural network will gradually be adjusted to the optimal state, allowing the algorithm to more accurately identify sensitive information and its categories in the user's personal data. Ultimately, the computer system will obtain a tuned sensitive information classification and recognition algorithm, which will have improved classification and recognition performance compared to the original algorithm.

[0142] In one embodiment, step S41, assigning a first loss impact coefficient to the difference between the binary classification prior label and the estimated binary classification result to determine the binary classification difference, and assigning a second loss impact coefficient to the difference between the multi-classification prior label and the estimated classification to determine the multi-classification difference, includes:

[0143] Step S411: obtaining the binary classification loss between the binary classification prior label and the estimated binary classification result, and obtaining the multi-classification loss between the multi-classification prior label and the estimated classification.

[0144] In the embodiment of the present application, step S411 is a core step, which involves calculating the binary classification loss between the binary classification prior label and the estimated binary classification result, and the multi-classification loss between the multi-classification prior label and the estimated classification. These loss values ​​reflect the degree of inconsistency between the algorithm prediction result and the true label, and are an important basis for the subsequent tuning process.

[0145] For binary classification problems, algorithms such as logistic regression models or support vector machines are usually used for training. Taking logistic regression as an example, the binary classification loss is usually calculated using the cross-entropy loss function. The cross-entropy loss function measures the difference between two probability distributions and is suitable for classification problems.

[0146] Suppose the binary classification prior is labeled as y, and its value is 0 or 1 (0 means non-sensitive information, 1 means sensitive information). The estimated binary classification result is usually the probability value output by the model, denoted as (The value range is between 0 and 1). Then the binary classification loss L binary The calculation formula is as follows:

[0147] ;

[0148] When (y=1) (the true label is sensitive information), the loss value is .if If it is close to 1, the loss value is close to 0, indicating that the prediction is accurate; if If it is close to 0, the loss value is large, indicating that the prediction is wrong.

[0149] When (y=0) (the true label is non-sensitive information), the loss value is .if If is close to 0, the loss value is close to 0, indicating that the prediction is accurate; If it is close to 1, the loss value is large, indicating that the prediction is wrong.

[0150] For multi-classification problems, the softmax function is usually used to convert the scores output by the model into probability distributions, and the softmax cross entropy loss function is used to calculate the loss. Let the multi-classification prior be labeled (y), which is a one-hot encoded vector (One-Hot Encoded Vector), in which only one element is 1 (indicating the true category) and the rest are 0. The estimated classification is the score vector output by the model, denoted as (\hat{y}), which is converted into a probability vector after the softmax function.

[0151] The calculation formula for multi-classification loss (L_{multi}) is usually as follows:

[0152] ;

[0153] Where C is the total number of categories, y i is the value of the i-th element in the prior label vector (only the position of the true category is 1, the rest are 0), is the value of the i-th element in the estimated classification probability vector. This formula calculates the negative logarithm of the probability value at the true category position, and the probability values ​​at other positions do not contribute to the loss (because y i is 0).

[0154] For example, suppose there is a training example with a binary classification prior label (y=1) (indicating sensitive information) and an estimated binary classification result (It means that the model believes that there is an 80% probability that the sample contains sensitive information.) According to the calculation formula of the binary classification loss, the loss value L binary =-log(0.8)≈0.223.

[0155] For multi-classification problems, assuming the prior label (y=[0,0,1]) (indicating that the true category is the third category), the estimated classification score vector , after the softmax function transformation, the probability vector is obtained According to the calculation formula of multi-classification loss, the loss value is (Lmulti=-log(0.721)≈0.325).

[0156] By calculating these loss values, the computer system is able to quantify the difference between the algorithm's predictions and the true labels, and provide an important basis for subsequent tuning processes.

[0157] Step S412: taking the multiplication result of the binary classification loss and the first loss influence coefficient as the binary classification difference.

[0158] In the embodiment of the present application, step S412 calculates the binary classification loss between the binary classification prior label and the estimated binary classification result, and then multiplies this loss value by a specific first loss influence coefficient to obtain the binary classification difference. This process helps to accurately reflect the accuracy of the binary classification prediction in the subsequent algorithm tuning process.

[0159] In step S411, the computer system has calculated the binary classification loss through logistic regression, support vector machine (SVM) or other binary classification algorithms. This loss value is usually calculated using the cross entropy loss function or other loss functions suitable for binary classification problems, which measures the difference between the algorithm prediction result and the true label. The first loss impact coefficient is a weight value used to adjust the contribution of the binary classification loss to the total loss. This coefficient reflects the importance of the binary classification difference in the algorithm tuning process. In practical applications, since accurately determining whether the data contains sensitive information is usually considered a top priority, the first loss impact coefficient is usually set relatively large.

[0160] In step S412, the computer system multiplies the binary loss by the first loss influence coefficient to obtain the binary difference. This difference value comprehensively considers the absolute size of the binary loss and its importance in the tuning process. By introducing the first loss influence coefficient, the computer system can more accurately adjust the model parameters in the subsequent algorithm tuning process to improve the accuracy of the binary prediction.

[0161] For example, suppose the binary classification prior label of a training example is 1 (indicating sensitive information), and the estimated binary classification result is 0.7 (indicating that the model believes that there is a 70% probability that the example contains sensitive information). The binary classification loss calculated by the cross entropy loss function is 0.36 (just an example, the actual loss value will vary depending on the specific algorithm and parameter settings). If the first loss influence coefficient is set to 2, then the binary classification difference is the product of the binary classification loss and the first loss influence coefficient, that is, (0.36×2=0.72).

[0162] This binary difference value will serve as an important basis for subsequent algorithm tuning. Through continuous iteration and optimization, the computer system can gradually reduce the binary difference, thereby improving the performance of the algorithm in sensitive information classification and identification tasks.

[0163] Step S413: The multiplication result of the multi-classification loss and the second loss influence coefficient is taken as the multi-classification difference.

[0164] In the embodiment of the present application, in step S413, the computer system first calculates the multi-classification loss between the multi-classification prior label and the estimated classification, and then multiplies the loss value by a specific second loss influence coefficient to obtain the multi-classification difference. This multi-classification difference will serve as an important basis for subsequent algorithm tuning.

[0165] In step S411, the computer system has calculated the multi-classification loss through the softmax cross entropy loss function or other loss functions suitable for multi-classification problems. This loss value measures the difference between the prediction result of the algorithm and the true label in the multi-classification task. Specifically, it calculates the negative logarithm of the predicted probability value at the true category position, thereby reflecting the accuracy of the algorithm in identifying the specific category of sensitive information.

[0166] The second loss impact coefficient is a weight value used to adjust the contribution of multi-classification loss to the total loss. This coefficient reflects the importance of multi-classification differences in the algorithm tuning process. Although it is very important to accurately determine whether the data contains sensitive information, it is also important to further identify the specific category of sensitive information after it has been determined that the data contains sensitive information. Therefore, although the second loss impact coefficient is usually smaller than the first loss impact coefficient, it is still a key tuning parameter.

[0167] In step S413, the computer system multiplies the multi-classification loss by the second loss influence coefficient to obtain the multi-classification difference. This difference value comprehensively considers the absolute size of the multi-classification loss and its importance in the tuning process. By introducing the second loss influence coefficient, the computer system can more accurately adjust the model parameters in the subsequent algorithm tuning process to improve the accuracy of multi-classification prediction.

[0168] Suppose a training example has a multi-class prior labeled as "identity information" (supposedly represented as a vector [0,1,0] in the classification label, where 1 represents the true category), and the estimated classification is "financial information" (supposedly represented as a vector [0.2,0.3,0.5] in the classification label). The multi-class loss calculated by the softmax cross entropy loss function is 0.6 (just an example, the actual loss value will vary depending on the specific algorithm and parameter settings). If the second loss influence coefficient is set to 1, the multi-class difference is the product of the multi-class loss and the second loss influence coefficient, that is, (0.6×1=0.6).

[0169] This multi-classification difference value will serve as an important basis for subsequent algorithm tuning. Through continuous iteration and optimization, the computer system can gradually reduce the multi-classification difference, thereby improving the overall performance of the algorithm in the sensitive information classification and identification task. In this way, it can not only more accurately determine whether the data contains sensitive information, but also more finely identify the specific categories of sensitive information, providing more comprehensive and effective support for data protection.

[0170] In one embodiment, the method may further include:

[0171] Step S4A: Determine a second loss impact coefficient based on the number of multi-classification prior labels in the binary category where the user personal data training sample is located, and the second loss impact coefficient is negatively correlated with the number of first multi-classification prior labels; wherein the binary category where the user personal data training sample is located is indicated based on the binary category prior label or estimated binary category result of the user personal data training sample.

[0172] In the embodiment of the present application, step S4A provides a method for dynamically adjusting the second loss impact coefficient to better reflect the importance of multi-classification differences in the tuning process. The implementation of this step is based on a key observation: in some cases, even if the data is correctly identified as containing sensitive information (i.e., the binary classification is correct), if the sensitive information categories (multi-classification) of these data are unevenly distributed or the number of samples in some categories is small, then the emphasis on multi-classification losses should also be adjusted accordingly.

[0173] For example, suppose that when training a sensitive information classification and recognition algorithm, there is a set of user personal data training examples. These data samples have been correctly classified by the binary classification component into two categories: those containing sensitive information (such as identity information, financial information, health data, etc.) and those not containing sensitive information. However, further analysis found that among the samples containing sensitive information, the data in the identity information category is far more than the data in the financial information and health data categories.

[0174] In this case, step S4A comes into play. The computer system first counts the number of multi-class prior labels in each binary category (containing sensitive information and not containing sensitive information). For the category containing sensitive information, the system pays special attention to the number of prior labels of different categories such as identity information, financial information, and health data. Taking the identity information category as an example, suppose it has 1,000 training examples, while the financial information and health data categories have only 100 and 50 examples, respectively. Since the number of examples in the identity information category is significantly larger than that of other categories, this may cause the model to be more biased towards the identity information category during training, while ignoring other important categories with fewer examples.

[0175] To solve this problem, step S4A proposes to dynamically adjust the second loss impact coefficient according to the number of multi-classification prior labels. Specifically, if the number of samples of a sensitive information category (such as financial information) is small, then the corresponding second loss impact coefficient should be set relatively large to increase the model's emphasis on this category during training. On the contrary, if the number of samples of a category (such as identity information) is large, then the corresponding second loss impact coefficient can be set relatively small.

[0176] Continuing with the above example, suppose the second loss impact coefficient is set to 1 (baseline value) for the identity information category. Since the number of samples in the financial information and health data categories is small, their second loss impact coefficients can be set to 2 and 3 respectively. In this way, when calculating the multi-classification difference, the losses of the financial information and health data categories will be given greater weight, thereby improving the classification accuracy of the model on these categories.

[0177] Through the implementation of step S4A, the computer system can more flexibly adjust the training process of the sensitive information classification and identification algorithm to ensure that the model can achieve a high classification accuracy for various types of sensitive information, thereby providing users with more comprehensive and effective data protection.

[0178] In one embodiment, when the multi-classification prior labels and the estimated classifications are different, the second loss impact coefficient is determined based on the commonality measurement results between the multi-classification prior labels and the estimated classifications; wherein the commonality measurement results represent the degree of match between the multi-classification prior labels and the estimated classifications corresponding to the user's personal data training samples, and the second loss impact coefficient is positively correlated with the degree of match.

[0179] In an embodiment of the present application, in order to ensure the accuracy of the model in multi-classification tasks, especially when dealing with imbalanced samples or high similarity between categories, a derivative implementation proposes a strategy for dynamically adjusting the second loss impact coefficient based on the commonality measurement results between multi-classification prior labels and estimated classifications. For example, suppose that a sensitive information classification and recognition algorithm is being trained to identify multiple categories such as identity information, financial information, and health data in user personal data. In the actual training process, it is found that the number of samples in some categories is small, while there may be a high similarity between some categories, such as "identity information" and "employee files" may be very close in certain features.

[0180] In this case, if the model incorrectly classifies a sample belonging to the "identity information" category as "employee profile" when estimating the classification, this error cannot be simply equated with other more obvious classification errors. Because there may be certain commonalities or similarities between the two categories, the model may be affected by this similarity when classifying. In order to handle this situation more finely, the concept of commonality measurement results is introduced. The commonality measurement result is used to quantify the match or similarity between the multi-classification prior labeling and the estimated classification. This measurement result can be calculated by a variety of methods, such as cosine similarity based on the category feature vector, Jaccard similarity, etc.

[0181] Specifically, during each iterative training process, when the model gives an estimated classification result, the computer system will first check whether the estimated classification is the same as the multi-classification prior label. If different, the computer will calculate the commonality measurement result between the estimated classification and the prior label. This commonality measurement result reflects the match or similarity between the estimated classification and the true category. Then, based on this commonality measurement result, the computer will dynamically adjust the second loss impact coefficient. Specifically, if the commonality measurement result is high (that is, the similarity between the estimated classification and the prior label is high), it means that the model may be affected by the similarity between categories during classification. At this time, the second loss impact coefficient should be increased to increase the emphasis on multi-classification loss and help the model better distinguish these similar categories. On the contrary, if the commonality measurement result is low, it means that the difference between the estimated classification and the prior label is large, and the model may be affected by other factors during classification. At this time, the second loss impact coefficient can be appropriately reduced.

[0182] For example, suppose there is a training example whose multi-classification prior is labeled as "identity information", but the model gives an estimated classification of "employee profile". The computer system will first calculate the commonality measure between the two categories, assuming that the result is 0.8 (indicating a higher similarity). Based on this commonality measure, the computer will increase the second loss impact coefficient from the default 1 to 1.5 (or other appropriate values) to increase the emphasis on multi-classification loss. In this way, in the subsequent model optimization process, the model will pay more attention to the distinction between the two similar categories, thereby improving the accuracy of classification. Through this method of dynamically adjusting the second loss impact coefficient, the computer system can better handle sample imbalance and category similarity problems in multi-classification tasks, and improve the accuracy and robustness of sensitive information classification and recognition algorithms.

[0183] In one embodiment, when the binary classification results corresponding to the binary classification prior label and the estimated classification are inconsistent, the second loss influence coefficient is assigned a reinforcement influence coefficient.

[0184] In the embodiment of the present application, in order to ensure that the algorithm can accurately determine whether the data contains sensitive information (binary classification task) and accurately identify the specific category of sensitive information (multi-classification task) when classifying sensitive information, a derivative implementation method proposes a strategy of assigning a strengthened influence coefficient to the second loss influence coefficient when the binary classification results corresponding to the binary classification prior label and the estimated classification are inconsistent. The following is a detailed explanation of this implementation method in combination with a specific application scenario.

[0185] For example, suppose you are training a sensitive information classification and identification algorithm to identify sensitive information in a user's personal data, such as identity information, financial information, health data, etc. During the training process, the algorithm first uses a binary classification component to determine whether the data contains sensitive information, and then uses a multi-classification component to identify the specific category of the data that is determined to contain sensitive information.

[0186] However, in the actual training process, you may encounter a situation where the binary classification component determines that a data sample contains sensitive information (the binary classification prior is marked as "sensitive"), but the multi-classification component mistakenly classifies it as a non-sensitive information category (the estimated classification is inconsistent with the binary classification result corresponding to the binary classification prior label). In this case, it means that the model has a large error in identifying sensitive information and its specific categories, which requires special attention and adjustment. In order to solve this problem, the concept of reinforcement influence coefficient is introduced. When the binary classification prior label and the binary classification result corresponding to the estimated classification are inconsistent, the computer will assign a reinforcement influence coefficient to the second loss influence coefficient. This reinforcement influence coefficient is a value greater than 1, which is used to increase the weight of the multi-classification loss in the total loss, thereby increasing the penalty for misclassification in multi-classification tasks.

[0187] Specifically, if a data sample is labeled as "sensitive" in the binary classification prior, but is estimated to be classified as a non-sensitive information category, resulting in inconsistent binary classification results, the computer will first calculate the multi-classification loss and multiply this loss value with the second loss influence coefficient to obtain a preliminary multi-classification difference. Then, the computer will multiply this preliminary multi-classification difference with the reinforcement influence coefficient to obtain the final multi-classification difference. In this way, due to the existence of the reinforcement influence coefficient, the final multi-classification difference will be greater than the preliminary multi-classification difference, thus having a greater impact in the subsequent model tuning process. For example, suppose there is a training sample whose binary classification prior is labeled as "sensitive" (indicating that the sample contains sensitive information), but the multi-classification component estimates it as a "non-sensitive information" category (such as "daily communication content"). Due to the inconsistent binary classification results, the computer will assign a reinforcement influence coefficient to the second loss influence coefficient, assuming it is 2. Assuming the multi-classification loss is 0.5 and the original second loss influence coefficient is 1, the preliminary multi-classification difference is 0.5 (0.5*1). The computer will then multiply this preliminary multi-classification difference by the enhanced impact coefficient to obtain a final multi-classification difference of 1 (0.5*2). In this way, in the subsequent model tuning process, the multi-classification difference of this training example will have a greater impact, helping the model to better learn and distinguish sensitive information and its specific categories. Through this strategy, the computer system can more accurately adjust the model parameters during the training process, improve the accuracy of the sensitive information classification and recognition algorithm in binary and multi-classification tasks, and thus better protect user privacy and data security.

[0188] In one embodiment, the method further comprises:

[0189] Step S1: Acquire complete user personal data. The complete user personal data and user personal data training examples constitute a user personal data training example tuple. The user personal data training example is a data segment in the complete user personal data.

[0190] In the embodiment of the present application, step S1 involves the acquisition of complete user personal data and the establishment of a relationship between it and training examples. First, the computer system needs to obtain complete user personal data. The "complete user personal data" here refers to all relevant data generated by a user, which may come from user behavior records on different platforms and in different applications, including but not limited to text messages, transaction records, social media posts, images, videos and other forms. These data usually contain rich user information and potential sensitive information, and are an important basis for training sensitive information classification and recognition algorithms.

[0191] Taking the user data of e-commerce platforms as an example, complete user personal data may include the user's browsing history, search history, purchase history, evaluation content, etc. These data not only reflect the user's shopping preferences and behavioral habits, but may also contain sensitive information such as the user's name, address, contact information, etc.

[0192] After obtaining the complete user personal data, the computer system needs to clarify the relationship between this data and the user personal data training samples. User personal data training samples are a part of the data fragments extracted from the complete user personal data, which are used to train the sensitive information classification and recognition algorithm. These training samples are usually preprocessed and labeled, and contain binary classification prior labels and multi-classification prior labels to guide the learning process of the algorithm. In the scenario of e-commerce platforms, user personal data training samples may include specific transaction records, evaluation content, etc. extracted from the complete user personal data. For example, the system can extract transaction records containing sensitive information such as bank card numbers and ID numbers from the user's purchase records as training samples, and mark these samples as "sensitive information". At the same time, the system can also extract ordinary reviews that do not contain sensitive information from the user's evaluation content as training samples, and mark these samples as "non-sensitive information".

[0193] By building a binary relationship between complete user personal data and user personal data training examples, the computer system can more comprehensively understand the overall structure and characteristics of user data, providing rich data support for subsequent training and optimization processes. At the same time, this relationship can also ensure the authenticity and representativeness of the training examples, and improve the accuracy and generalization ability of the sensitive information classification and recognition algorithm.

[0194] Step S2: Classify and identify the complete user personal data through the fragment reasoning component in the sensitive information classification and identification algorithm to obtain the reasoning data fragment in the complete user personal data; wherein the difference between the reasoning data fragment and the user personal data training sample is used to tune the sensitive information classification and identification algorithm.

[0195] In the embodiment of the present application, step S2 introduces a key component - the fragment reasoning component, which is used to perform more detailed classification and identification of the complete user personal data and to tune the algorithm accordingly.

[0196] In step S2, the computer system first uses the fragment reasoning component in the sensitive information classification and identification algorithm to process the complete user personal data. The complete user personal data here includes all relevant information of the user, which may involve multiple data types such as text, images, and videos. The role of the fragment reasoning component is to divide these complex data into smaller fragments or units for more accurate classification and identification.

[0197] The specific implementation of the fragment reasoning component can be selected according to the type and characteristics of the data. For example, for text data, the fragment reasoning component can segment long text into sentences or paragraphs; for image data, it can divide the image into different regions or objects; for video data, it can extract key frames from the video frame sequence. This segmentation process is based on certain rules or strategies to ensure that each fragment contains enough information for independent classification and recognition.

[0198] After the segmentation is completed, the segment reasoning component will classify and identify each segment. This process is similar to the processing of user personal data training samples by the sensitive information classification and identification algorithm, but the difference is that the segment reasoning component processes segments of complete user personal data instead of pre-extracted training samples. By applying the trained classification and identification model (such as neural network, decision tree, etc.), the segment reasoning component can determine whether each segment contains sensitive information and the specific category of sensitive information.

[0199] During the classification and recognition process, the fragment reasoning component pays special attention to those fragments that are significantly different from the user's personal data training samples, namely the reasoning data fragments. These fragments may contain new patterns, new features or new categories that did not appear in the training samples, so they are important for algorithm tuning. By identifying and analyzing these reasoning data fragments, the computer system can find problems and deficiencies in the algorithm during the classification and recognition process, thereby guiding the subsequent algorithm optimization process.

[0200] Taking the user data of an e-commerce platform as an example, it is assumed that the complete user personal data includes the user's purchase records, evaluation content, etc. The fragment reasoning component may divide the long text evaluation content into multiple sentence fragments and classify and identify each sentence. If a sentence fragment contains a new category of sensitive information (such as logistics complaints, product quality issues, etc.), then this fragment is an inference data fragment. By comparing the differences between this inference data fragment and the training examples, the computer system can find the deficiencies of the algorithm in identifying these new categories of sensitive information, and then optimize and improve the algorithm. In this way, step S2 not only improves the accuracy and generalization ability of the sensitive information classification and identification algorithm on complete user personal data, but also provides important data support for the continuous optimization of the algorithm. This is of great significance for protecting user privacy and data security.

[0201] In one embodiment, the method further comprises:

[0202] Step SA: Obtain the number of training samples in the training sample set that are labeled with multi-classification priors for the user's personal data training samples.

[0203] In the embodiment of the present application, step SA is a key step to ensure the balance of the algorithm training data. In this step, the computer system needs to obtain the specific number of multi-classification prior labels of the user's personal data training samples in the training sample set. First of all, the training sample set is a collection containing a large amount of user personal data, which has been preprocessed and labeled with binary classification prior labels and multi-classification prior labels. The binary classification prior label is used to indicate whether the data contains sensitive information, while the multi-classification prior label further specifies the specific category of sensitive information. In step SA, the primary task of the computer system is to traverse the entire training sample set and count the number of training samples corresponding to each multi-classification prior label. Multi-classification prior labels may include multiple categories such as identity information, financial information, health data, etc. Each category should have a sufficient number of samples in the training sample set to ensure that the algorithm can fully learn the characteristics of various types of sensitive information.

[0204] Taking the e-commerce platform as an example, suppose the training sample set contains a large amount of user comment data, some of which are marked as containing sensitive information and further classified into different categories such as "identity information" and "financial information". In step SA, the computer will traverse these comment data one by one and count the number of training samples marked in each category. For example, it may find that there are 1,000 comments in the "identity information" category, 2,000 comments in the "financial information" category, and only 500 comments in the "health data" category.

[0205] By executing step SA, the computer system can clearly understand the distribution of each sensitive information category in the training sample set. This provides an important basis for subsequent steps (such as steps SB and SC), helping the computer system to adjust the number of training samples to ensure that the number of training samples for each category is within an appropriate range, thereby improving the accuracy and generalization ability of the sensitive information classification and recognition algorithm.

[0206] Step SB: If the number of training samples is less than the number threshold, the first training sample pairs corresponding to the multi-classification priori labels in the training sample set are expanded to expand the number of the first training sample pairs to the number threshold.

[0207] In the embodiment of the present application, step SB is to ensure that the number of training samples in each category reaches a certain balance to improve the generalization ability of the algorithm. When the number of training samples in a certain category is less than a preset number threshold, the computer system executes step SB to expand the training samples of the category.

[0208] Suppose that a sensitive information classification and recognition algorithm is being trained to identify sensitive information in user comments, such as identity information, financial information, health data, etc. The training sample set contains a large amount of user comment data, which has been preprocessed and labeled. Each comment has a multi-classification prior label indicating the specific category of its sensitive information. In step SB, the computer system first checks the number of training samples corresponding to each multi-classification prior label. If the number of training samples in a certain category is less than the preset quantity threshold, the system will initiate the expansion strategy. The quantity threshold is set according to the actual application scenario and algorithm requirements to ensure that the number of training samples in each category is sufficient so that the algorithm can fully learn the characteristics of the category.

[0209] Take the identity information category as an example. Assume that the number of this category in the training sample set is only 500, while the preset number threshold is 1000. In this case, the computer system will expand the training samples of the identity information category. There are many ways to expand, depending on the availability of data and the effectiveness of the expansion strategy. A common expansion method is to generate new training samples through data augmentation technology. For example, for text data, the original comments can be modified by synonym replacement, random insertion, random deletion, etc. to generate new comments with similar semantics but different expressions. For image or video data, the original image or video frame can be modified by rotation, scaling, cropping, adding noise, etc. to generate new training samples. These newly generated samples will be given the same multi-classification prior labels as the original samples and added to the training sample set. Another way to expand is to extract samples from other similar data sources. For example, if the number of training samples of the identity information category is insufficient, comments or data containing identity information can be extracted from other e-commerce platforms, social media platforms or public data sets, and added to the training sample set after appropriate preprocessing and annotation.

[0210] By executing step SB, the computer system can ensure that the number of training samples for each sensitive information category reaches a preset threshold, thereby improving the accuracy and generalization ability of the sensitive information classification and recognition algorithm. This is of great significance for protecting user privacy and data security, especially when dealing with unbalanced data sets.

[0211] Step SC: If the number of training samples is greater than the quantity threshold, sparse extraction is performed on the first training sample pairs corresponding to the multi-classification prior markings in the training sample set to reduce the number of first training sample pairs to the quantity threshold; wherein the user personal data training samples and the sensitive information prior markings of the user personal data training samples are obtained in the training sample set.

[0212] In the embodiment of the present application, in order to balance the number of training samples of each category and prevent overfitting problems due to too many samples in some categories, step SC is introduced as an optimization strategy for the training sample set. When the number of training samples corresponding to a multi-classification prior label exceeds a preset quantity threshold, the computer system will execute step SC to perform sparse extraction of the training samples of the category to reduce its number to the quantity threshold.

[0213] Specifically, suppose that a classification recognition algorithm for identifying sensitive information in user comments is being trained. The training sample set contains a large amount of user comment data, and each comment has been preprocessed and annotated with clear multi-classification prior labels, such as identity information, financial information, health data, etc. During the training process, the computer system first counts the number of training samples corresponding to each multi-classification prior label. If the number of training samples in a certain category exceeds the preset quantity threshold, for example, the number of training samples in the financial information category reaches 3000, and the quantity threshold is set to 1000, then the system will start step SC to perform sparse extraction of training samples in this category. The sparse extraction process is usually random, aiming to ensure that the extracted training sample set is still representative and diverse. The computer system will randomly select a part of the training samples in the financial information category and remove them until the number of training samples in this category reaches the quantity threshold. This random extraction method can avoid the bias that may be caused by artificial selection of samples and ensure the balance of the training sample set. It is worth noting that sparse extraction does not simply reduce the number of training samples, but balances the overall data distribution by reducing the number of excess samples in certain categories while maintaining the representativeness of the training sample set. Doing so can avoid overfitting of the algorithm to certain categories during the training process and improve the generalization and robustness of the algorithm. Through the implementation of the above step SC, the computer system can ensure that the number of training samples for each sensitive information category is within an appropriate range, thereby improving the accuracy and stability of the sensitive information classification and recognition algorithm. This is of great significance for protecting user privacy and data security, especially when dealing with unbalanced data sets, the application of step SC is particularly important.

[0214] In one embodiment, a computer system is provided. The computer system may be a server, and its internal structure diagram may be as follows: Figure 3As shown. The computer system 1000 includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer system 1000 is used to provide computing and control capabilities. The memory of the computer system 1000 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer system 1000 is used to store data including user personal data. The input / output interface of the computer system 1000 is used to exchange information between the processor and an external device. The communication interface of the computer system 1000 is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data encryption transmission method based on a 5G network is implemented.

[0215] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer system to which the scheme of the present application is applied. The specific computer system may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0216] In one embodiment, a computer system 1000 is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0217] It should be noted that the object information (including but not limited to the device information of the object, the corresponding personal information, etc.) and data (including but not limited to the data for analysis, the data for storage, the data for display, etc.) involved in this application are all information and data authorized by the object or fully authorized by all parties, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. The above embodiments only express several implementation methods of the present application, and the description is more specific and detailed, but it cannot be understood as a limitation on the scope of the patent of this application. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, several deformations and improvements can also be made, which all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be based on the attached claims.

Claims

1. A data encryption transmission method based on 5G network, characterized in that: Applied to a sensitive information classification and identification algorithm, the sensitive information classification and identification algorithm includes a sensitive information binary classification component and a sensitive information multi-classification component, and the method includes: Obtaining personal data of a target user, where the personal data of the target user is data to be identified for sensitive information classification and identification; Classify and identify the target user's personal data through the sensitive information binary classification component in the sensitive information classification and identification algorithm to obtain a binary classification identification result of the target user's personal data; Classify and identify the target user's personal data through the sensitive information multi-classification component in the sensitive information classification and identification algorithm to obtain a multi-classification identification result of the target user's personal data; Based on the multi-classification recognition result, a corresponding encryption strategy is obtained to encrypt the target user's personal data to obtain encrypted personal data, and the encrypted personal data is transmitted through the 5G network; The training process of the sensitive information classification and identification algorithm includes: Obtaining a user personal data training sample and a sensitive information priori label of the user personal data training sample, wherein the sensitive information priori label includes a binary classification priori label and a multi-classification priori label, wherein the binary classification priori label indicates whether the user personal data training sample contains sensitive information, and the multi-classification priori label indicates the data information category corresponding to the user personal data training sample under the binary classification priori label; Classify and identify the user personal data training sample by using the sensitive information binary classification component in the sensitive information classification and identification algorithm to obtain an estimated binary classification result of the user personal data training sample, wherein the estimated binary classification result indicates whether the user personal data training sample contains sensitive information; Classify and identify the user personal data training sample by using the sensitive information multi-classification component in the sensitive information classification and identification algorithm to obtain an estimated classification of the user personal data training sample, where the estimated classification is the data information category of the user personal data training sample; According to the binary classification difference between the binary classification prior label and the estimated binary classification result, and the multi-classification difference between the multi-classification prior label and the estimated classification, the sensitive information classification and identification algorithm is tuned to obtain a tuned sensitive information classification and identification algorithm; The step of classifying and identifying the user personal data training sample by using the sensitive information multi-classification component in the sensitive information classification and identification algorithm to obtain an estimated classification of the user personal data training sample includes: By means of the sensitive information multi-classification component, the user personal data training sample is classified and identified according to the estimated binary classification result, so as to obtain the estimated classification of the user personal data training sample corresponding to the estimated binary classification result, wherein the estimated classification indicates the data information category corresponding to the user personal data training sample in the estimated binary classification result; Wherein, when the estimated binary classification result indicates that the user personal data training sample has sensitive information, the estimated classification represents the sensitive classification of the user personal data training sample, and when the estimated binary classification result indicates that the user personal data training sample does not have sensitive information, the estimated classification represents the non-sensitive classification of the user personal data training sample does not have sensitive information; The sensitive information binary classification component includes a representation information extraction layer and a classification layer; The step of classifying and identifying the user personal data training sample by using the sensitive information binary classification component in the sensitive information classification and identification algorithm to obtain an estimated binary classification result of the user personal data training sample includes: Extracting representation information from the user personal data training sample through the representation information extraction layer to obtain data representation information of the user personal data training sample; Classify and identify the data representation information through the classification layer to obtain the estimated binary classification result of the user personal data training sample; The step of classifying and identifying the user personal data training sample according to the estimated binary classification result by the sensitive information multi-classification component to obtain the estimated classification of the user personal data training sample corresponding to the estimated binary classification result includes: The data representation information is classified and identified according to the estimated binary classification result by the sensitive information multi-classification component to obtain the estimated classification of the user personal data training sample corresponding to the estimated binary classification result; The method of optimizing the sensitive information classification and identification algorithm based on the binary classification difference between the binary classification priori mark and the estimated binary classification result, and the multi-classification difference between the multi-classification priori mark and the estimated classification, to obtain the optimized sensitive information classification and identification algorithm, includes: Assigning a first loss impact coefficient to the difference between the binary classification priori mark and the estimated binary classification result to determine the binary classification difference, and assigning a second loss impact coefficient to the difference between the multi-classification priori mark and the estimated classification to determine the multi-classification difference, wherein the first loss impact coefficient is not equal to the second loss impact coefficient; According to the binary classification difference and the multi-classification difference, the sensitive information classification and identification algorithm is optimized to obtain the optimized sensitive information classification and identification algorithm; The step of assigning a first loss impact coefficient to the difference between the binary classification priori mark and the estimated binary classification result to determine the binary classification difference, and assigning a second loss impact coefficient to the difference between the multi-classification priori mark and the estimated classification to determine the multi-classification difference includes: Obtaining a binary classification loss between the binary classification prior label and the estimated binary classification result, and obtaining a multi-classification loss between the multi-classification prior label and the estimated classification; The multiplication result of the binary loss and the first loss influence coefficient is used as the binary difference; taking the multiplication result of the multi-classification loss and the second loss influence coefficient as the multi-classification difference; The method further comprises: The second loss impact coefficient is determined according to the number of multi-class prior labels in the binary classification where the user personal data training sample is located, and the second loss impact coefficient is negatively correlated with the number of first multi-class prior labels; wherein the binary classification where the user personal data training sample is located is indicated based on the binary classification prior label or the estimated binary classification result of the user personal data training sample; When the multi-classification prior label and the estimated classification are different, determining the second loss impact coefficient according to a commonality measurement result between the multi-classification prior label and the estimated classification; wherein the commonality measurement result represents a matching degree between the multi-classification prior label and the estimated classification corresponding to the user personal data training example, and the second loss impact coefficient is positively correlated with the matching degree; When the binary classification priori mark and the binary classification result corresponding to the estimated classification are inconsistent, assigning a reinforcement influence coefficient to the second loss influence coefficient; Among them, the first loss impact coefficient is greater than the second loss impact coefficient.

2. The method according to claim 1, characterized in that The method further comprises: Obtaining the past sensitive information support corresponding to the transmitted data, where the user corresponding to the target user personal data and the user corresponding to the transmitted data are the same user; If the support indicated by the sensitive information priori mark is less than the support of the past sensitive information, the sensitive binary classification result of the target user's personal data is corrected to indicate that the target user's personal data does not contain sensitive information; The obtaining of the support level of past sensitive information corresponding to the transmitted data includes: Acquire the transmitted data corresponding to the target user personal data, wherein the transmitted data includes the transmitted sensitive data having sensitive information and the transmitted ordinary data not having sensitive information; The proportion of the transmitted sensitive data in the transmitted data is used as the past sensitive information support.

3. The method according to claim 2, characterized in that The method further comprises: Determining involved data of the transmitted sensitive data in the transmitted common data, wherein the involved data and the transmitted sensitive data are data carrying the same information at different times, and there is data overlap between the involved data and the transmitted sensitive data; Iterate the priori labeling of the involved data, wherein the past binary classification recognition result corresponding to the involved data indicates that the user has sensitive information; The first sensitive information support in the past sensitive information support represents the past sensitive information support of the first data item in the target user's personal data; the method further includes: According to the context sensitive information support of the context data items adjacent to the first data item, a convolution operation is performed on the first sensitive information support of the first data item, and the first sensitive information support is iterated; wherein the context sensitive information support represents the past sensitive information support of the context data item.

4. The method according to claim 1, characterized in that: The method further comprises: Acquire complete user personal data, wherein the complete user personal data and the user personal data training sample constitute a user personal data training sample tuple, and the user personal data training sample is a data segment in the complete user personal data; Classify and identify the complete user personal data through the fragment reasoning component in the sensitive information classification and identification algorithm to obtain the reasoning data fragment in the complete user personal data; The difference between the inference data segment and the user personal data training sample is used to tune the sensitive information classification and identification algorithm.

5. The method according to claim 1, characterized in that The method further comprises: Obtain the number of training samples of the multi-classification priori labels of the user personal data training samples in the training sample set; If the number of the training samples is less than the number threshold, expanding the first training sample pairs corresponding to the multi-classification priori labels in the training sample set to expand the number of the first training sample pairs to the number threshold; If the number of the training samples is greater than the number threshold, sparsely extracting the first training sample pairs corresponding to the multi-classification prior labels in the training sample set to reduce the number of the first training sample pairs to the number threshold; The user personal data training examples and the sensitive information priori marks of the user personal data training examples are obtained from the training example set.

6. A computer system, characterized in that: include: processor; and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the method as claimed in any one of claims 1 to 5.