Data processing method, device, equipment and storage medium
By analyzing the data uploaded by smart devices, determining the privacy level and desensitizing it, the problem of user privacy leakage when smart home appliances upload data through the Internet of Things is solved, and privacy protection of cloud data is achieved.
Patent Information
- Application Number
- CN202410931789.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-07-12
AI Technical Summary
When smart home appliances upload data to the cloud through the Internet of Things, user privacy information is easily leaked. Once the existing encryption method is cracked, user information will still be exposed.
By analyzing the data uploaded by smart devices, determining the privacy level of user privacy data contained in non-operating data, and desensitizing it according to the level and data length, generating target data for uploading, ensuring the protection of user privacy.
It effectively increases the protection of privacy data uploaded to the cloud by smart home appliances, prevents information leakage, and improves the security of user privacy.
Smart Images

Figure CN118748614B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of smart home appliances, and specifically relates to a data processing method, device, equipment and storage medium. Background Art
[0002] In order to make smart home appliances more intelligent and personalized, most smart home appliances in home environments are connected to the Internet of Things, which enables interconnection between devices. At the same time, smart home appliances connected to the Internet of Things will upload data to the cloud, which will guide the operation of subsequent smart home appliances to better meet user needs. However, some data contains user privacy information, and uploading it directly to the cloud will lead to the leakage of user privacy information.
[0003] The existing technology deals with the above-mentioned user privacy information leakage problem in the following way: the smart home appliance encrypts the transmitted data before transmitting it. However, in the above-mentioned method, once the encryption is cracked, the user information contained in the data will still be exposed. Summary of the invention
[0004] In order to solve the above problems in the prior art, the present application provides a data processing method, apparatus, device and storage medium.
[0005] In a first aspect, the present application provides a data processing method, the method comprising:
[0006] When it is detected that the smart device uploads data to the cloud, the data is analyzed and processed to obtain the operation data and non-operation data of the smart device;
[0007] If it is determined that the non-operational data contains the user's private data according to the user field in the user database, the privacy level of the private data is determined according to the program type of the source program of the data and the interaction information between the smart device and the user, wherein the program type is used to indicate whether the source program is a custom program, and the interaction information includes the voice and / or text interaction content between the user and the smart device before uploading the data;
[0008] Processing the private data according to the privacy level and the data length of the private data to obtain target data;
[0009] Acquire new data according to the target data and the operating data, and upload the new data to the cloud.
[0010] In a possible implementation, determining the privacy level of the private data according to the program type of the source program of the data and the interaction information between the smart device and the user includes:
[0011] Determining a first privacy weight corresponding to the source program according to a program type of the source program of the data;
[0012] When the interactive content is not zero, determining, according to the program runtime library and the interactive content, target content in the interactive content that does not belong to the program runtime library, and determining a second privacy weight according to the target content;
[0013] The privacy level is determined according to the first privacy weight and the second privacy weight.
[0014] In a possible implementation manner, determining the first privacy weight corresponding to the source program according to the program type of the source program of the data includes:
[0015] If the program type of the source program is a standard program, the corresponding first privacy weight is 0;
[0016] If the program type of the source program is a custom program, a target factory program that is most similar to the source program is obtained from multiple factory programs based on the source program, and a first privacy weight is determined based on the similarity between the source program and the target factory program, wherein the similarity is negatively correlated with the first privacy weight.
[0017] In a possible implementation manner, determining the second privacy weight according to the target content includes:
[0018] Acquire a ratio of the data length of the target content to the data length of the interactive content;
[0019] Determine the number of interaction rounds according to the interaction content, and determine the interaction coefficient according to the number of interaction rounds, wherein the interaction coefficient is proportional to the number of interaction rounds;
[0020] A second privacy weight is determined according to a product of the ratio and the interaction coefficient.
[0021] In a possible implementation manner, determining the privacy level according to the first privacy weight and the second privacy weight includes:
[0022] According to the first privacy weight and the second privacy weight, obtaining a weight and a value;
[0023] According to the weight range to which the weight and value belong, the privacy level corresponding to the weight range is obtained; wherein, the privacy levels corresponding to the same weight range are the same, and the larger the weight corresponding to different weight ranges, the higher the privacy level.
[0024] In a possible implementation manner, the processing the private data according to the privacy level and the data length of the private data to obtain the target data includes:
[0025] Determining whether the data length of the private data is greater than a preset length;
[0026] If yes, the private data is fragmented to obtain multiple data fragments;
[0027] According to the privacy level, desensitize the multiple data fragments using corresponding desensitization methods to obtain target data;
[0028] If not, a desensitization method corresponding to the privacy level is obtained, and the private data is processed by the desensitization method to obtain the target data.
[0029] In a possible implementation, desensitizing the plurality of data fragments using corresponding desensitizing methods according to the privacy level to obtain target data includes:
[0030] According to the privacy level, obtaining a fragmentation coefficient, wherein the privacy level is inversely proportional to the fragmentation coefficient;
[0031] Obtain a target number according to a ratio of the number of the data segments to the sharding coefficient; wherein the sharding coefficient is an integer greater than or equal to 2, and the target number is rounded up or down;
[0032] A desensitization method for a target number is obtained from a desensitization database, and the multiple data fragments are desensitized according to the desensitization method for the target number to obtain target data.
[0033] In a possible implementation manner, the desensitization method of obtaining the target quantity from the desensitization database includes:
[0034] According to the order of the desensitization levels of the desensitization methods in the desensitization database from high to low, a target number of desensitization methods are obtained.
[0035] In a possible implementation manner, the fragmenting of the private data to obtain multiple data fragments includes:
[0036] According to the target type of the user field in the user database, the private data is segmented to obtain a plurality of data segments.
[0037] In a possible implementation manner, desensitizing the multiple data segments according to the desensitization method of the target number to obtain the target data includes:
[0038] According to the target type to which each data segment belongs, the priority corresponding to each data segment is obtained, wherein different target types correspond to different priorities;
[0039] Obtain a desensitization method for each data segment according to the order of priority of each data segment from high to low and the order of desensitization levels of the desensitization method from high to low; wherein a data segment with a high priority corresponds to a desensitization method with a high priority;
[0040] Desensitize each data segment according to the desensitization method to obtain the target data.
[0041] In a possible implementation, the order of desensitization levels of multiple desensitization methods from high to low is as follows:
[0042] Randomly select a random field with the same length as the data segment from the random shuffle library corresponding to the target type, and replace the data segment with the random field;
[0043] Replacing the data segment with a preset field corresponding to the target type, wherein the preset field is used to indicate that the field is unknown;
[0044] Acquire a corresponding masking rule according to the target type, determine the content to be masked from the data fragment according to the masking rule, and perform masking processing on the content to be masked;
[0045] According to a plurality of general fields corresponding to the target type, the general field to which the user field belongs is obtained, and the data segment is replaced by the general field.
[0046] In a possible implementation manner, if the non-operational data includes the interaction information, the method further includes:
[0047] Obtaining the context of the target content;
[0048] The context is deleted from the interactive content.
[0049] In a second aspect, the present application also provides a data processing control device, including: an acquisition module, a privacy module and a sending module, wherein:
[0050] The acquisition module is used to analyze and process the data when detecting that the smart device uploads data to the cloud, so as to obtain the operation data and non-operation data of the smart device;
[0051] The acquisition module is further configured to determine the privacy level of the private data according to the program type of the source program of the data and the interaction information between the smart device and the user, if it is determined according to the user field in the user database that the non-operational data contains the user's private data, wherein the program type is used to indicate whether the source program is a custom program, and the interaction information includes the voice and / or text interaction content between the user and the smart device before uploading the data this time;
[0052] The privacy module is used to process the private data according to the privacy level and the data length of the private data to obtain target data;
[0053] The sending module is used to obtain new data according to the target data and the operating data, and upload the new data to the cloud.
[0054] In a third aspect, the present application further provides a smart device, comprising: at least one processor and a memory, wherein:
[0055] The memory is used to store computer-executable instructions;
[0056] The at least one processor is used to execute the computer-executable instructions stored in the memory, so that the at least one processor executes the data processing method as described in any one of the first aspects.
[0057] In a fourth aspect, the present application further provides a computer storage medium, wherein the computer storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the data processing method as described in any one of the first aspects.
[0058] In a fifth aspect, the present application also provides a computer program product, including a computer program, which, when executed by a processor, can implement the steps of the data processing method as described in any one of the first aspects.
[0059] The present application provides a data processing method, apparatus, device and storage medium. When the non-operational data in the data uploaded to the cloud by the smart device contains user privacy, the privacy level of the private data is determined according to the data content and the source program, and the private data is processed to obtain the target data finally uploaded to the cloud. Through the above method, the privacy protection of the private data uploaded to the cloud by the smart home appliance is increased. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0061] Figure 1 A schematic diagram of a home Internet of Things application scenario provided in an embodiment of the present application;
[0062] Figure 2 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 1 ;
[0063] Figure 3 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 2 ;
[0064] Figure 4 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 3 ;
[0065] Figure 5 A schematic diagram of a privacy data sharding process provided in an embodiment of the present application;
[0066] Figure 6 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 4 ;
[0067] Figure 7 A schematic diagram of matching a data segment and a desensitization method provided in an embodiment of the present application;
[0068] Figure 8 A schematic diagram of a data segment desensitization process provided in an embodiment of the present application;
[0069] Fig. 9 A schematic diagram of the structure of a data processing control device provided in an embodiment of the present application;
[0070] Fig.10 A schematic diagram of the structure of a smart device provided in an embodiment of the present application.
[0071] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0072] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0073] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.
[0074] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0075] In order to achieve interconnection between devices, most smart home appliances in home environments are added to the Internet of Things. Smart home appliances added to the Internet of Things will upload data to the cloud for subsequent analysis of user habits and guidance of operation. At the same time, in order to protect user privacy, encryption is performed before uploading data. However, encryption has the risk of being cracked. Once the data encryption is cracked, the user privacy in the data will still be exposed.
[0076] The present application provides a data processing method. When the non-operational data in the data uploaded to the cloud by the smart device contains user privacy, the privacy level of the private data is determined according to the data content and the source program, and the private data is desensitized according to the privacy level and the data length of the private data to obtain the target data, and finally new data is obtained according to the target data and the operation data and uploaded to the cloud. In the above manner, the privacy protection of the private data uploaded to the cloud by the smart device is increased.
[0077] Next, the technical solution shown in the present application is described in detail through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.
[0078] This data processing method is widely used in smart home (Smart Home), smart home, smart home equipment ecology, smart residential (Intelligence House) ecology and other whole-house intelligent digital control application scenarios. Figure 1 This is a schematic diagram of a home Internet of Things application scenario provided by an embodiment of the present application. The above data processing method can be applied to Figure 1 The smart device 102 and the server 104 shown in the figure constitute an application environment.
[0079] The Internet of Things (IoT) is a large and growing technology field that involves connecting various everyday objects to the Internet through sensors, software and other technologies, enabling them to collect and exchange data. The purpose of the IoT is to achieve interconnection between objects and intelligent interaction with people, thereby improving efficiency, saving costs and enhancing user experience. As user needs change and technology develops, the research direction of smart home appliances focuses on providing users with efficient and convenient life services. Therefore, the IoT is widely used in the home environment, and smart devices in the home environment are incorporated into the IoT, forming an interconnected ecosystem, where users can manage all smart home appliances through a central control system.
[0080] like Figure 1 As shown, the smart devices 102 are all integrated into the Internet of Things to form an interconnected smart home appliance ecosystem, and users can remotely control the entire ecosystem through smartphone applications or a smart device integrated into the Internet of Things. At the same time, the smart devices 102 can work together through the Internet of Things and perform edge computing based on real-time collected data to improve efficiency and response speed.
[0081] However, due to the wide variety of types and functions of smart devices 102, data storage and calculation on the device itself cannot meet the normal operation requirements of the smart home appliance ecosystem. Therefore, the smart device 102 uploads data to the cloud, that is, the server 104. The smart device 102 is connected to the server 104 through the Internet of Things. The server 104 provides services such as data storage and management, processing, and remote access and control to the smart device 102, so as to help the smart home appliance ecosystem provide users with better personalized services. In this embodiment, before the smart device transmits data to the cloud, the data is processed to avoid leaking user privacy.
[0082] It should be noted that the smart device 102 may not be limited to smart air conditioners, smart range hoods, smart refrigerators, smart ovens, smart stoves, smart washing machines, smart water heaters, smart washing equipment, smart dishwashers, smart projection equipment, smart TVs, smart clothes drying racks, smart curtains, smart audio and video, smart sockets, smart speakers, smart speakers, smart fresh air equipment, smart kitchen and bathroom equipment, smart bathroom equipment, smart sweeping robots, smart window cleaning robots, smart mopping robots, smart air purification equipment, smart steamers, smart microwave ovens, smart kitchen treasures, smart purifiers, smart water dispensers, smart door locks, etc.
[0083] Figure 2 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 1 .like Figure 2 As shown, the method includes:
[0084] S201. When it is detected that a smart device uploads data to the cloud, the data is analyzed and processed to obtain operation data and non-operation data of the smart device.
[0085] In this step, since the cloud can provide powerful data processing and storage capabilities, in order to make the smart devices more in line with user needs, the smart devices are controlled to upload the generated data to the cloud for subsequent analysis and guidance of the smart device work. However, the data uploaded to the cloud contains operating data used to analyze the working rules of the smart devices, as well as non-operating data that may contain user privacy. In order not to affect the cloud-based analysis and prediction of the working rules of the smart devices while protecting the privacy of the user, the data is split before determining whether it contains privacy data.
[0086] Specifically, when it is detected that a smart device uploads data to the cloud, the data is analyzed first and the data is divided into operation data and non-operation data of the smart device according to the analysis results. Since the operation data can be used to analyze the working rules of the smart device and guide its working characteristics, the source program of the data can be obtained, the functions of the source program and the parameters required to guide the source program to work can be analyzed, and the data can be divided according to the analysis results.
[0087] For example, the content of the data uploaded to the cloud includes: ID, location, time, humidity and temperature, and the source program of the data is the humidification program of the smart humidifier. Analysis determines that the humidification program is used to humidify the air when the indoor air is dry, and the parameters that reflect or affect the degree of air dryness include temperature and humidity. Therefore, the data corresponding to the temperature and humidity are determined to be operating data, and the data corresponding to the ID, location, and time are non-operating data.
[0088] S202: If it is determined that the non-operational data contains the user's private data according to the user field in the user database, the privacy level of the private data is determined according to the program type of the source program of the data and the interaction information between the smart device and the user.
[0089] In this step, the program type is used to indicate whether the source program is a custom program, and the interaction information includes the voice and / or text interaction content between the user and the smart device before uploading the data. Custom programs are programs whose working parameters have been adjusted by the user, and correspondingly, programs whose working parameters have not been adjusted are standard programs. The user database is a pre-stored user field involving user privacy information, such as user name, identity information, etc.
[0090] The working parameters of some programs of existing smart devices are adjustable, and users can adjust the working parameters of the programs according to the usage of smart devices and their own habits. For example, users can adjust the time for the water heater to automatically heat the water according to their bathing habits, and adjust the time for the bedroom light to automatically turn off according to their sleeping habits. Therefore, the program type of the source program of the data and the user's usage habits can be used as reference factors for determining the privacy level.
[0091] At the same time, most smart devices have interactive functions, and the interactive information generated during the interaction between smart devices and users may contain the user's private data. For example, the interactive information obtained through language interaction contains the user's voice, or the interactive information between the user and the smart device about the scenery and cultural characteristics of a certain place may contain the user's itinerary-related private data, or the interactive information between the user and the smart device involving family members involves family privacy, and the interactive information between the user and the smart device involving hobbies, etc. involves user privacy. Therefore, the content of the interactive information can also be used as a reference factor for determining the privacy level.
[0092] Specifically, when it is determined that the data contains the user's private data, the degree of program customization is determined according to the program type of the source program. The higher the degree of customization, the higher the corresponding data privacy, which should be kept confidential and not leaked. At the same time, the more interactive information the user has with the smart device, and the more non-operating data the interactive content involves, the greater the probability that it contains the user's private data, and the higher the corresponding privacy. Finally, the final privacy level can be determined by a preset algorithm based on the privacy level corresponding to the data source program and the privacy level corresponding to the interactive information. The preset algorithm is, for example, a weighted summation algorithm, an average value algorithm, etc. This embodiment does not impose any special restrictions on the preset algorithm.
[0093] S203: Process the privacy data to obtain target data according to the privacy level and the data length of the privacy data, obtain new data according to the target data and the operation data, and upload the new data to the cloud.
[0094] In this step, in order to provide more targeted privacy protection for data transmitted from smart devices to the cloud, this embodiment adopts a hierarchical privacy protection strategy. In addition to the privacy level of the private data, the proportion of the private data to the data is also used as a reference factor for the hierarchical privacy protection strategy. This embodiment does not make any restrictions on the hierarchical privacy protection strategy.
[0095] Specifically, the data length of the private data is obtained. When it is determined that the data length of the private data is long, the private data is processed in segments, and a desensitization method with a corresponding desensitization level is matched to each segment according to the privacy level. For example, for private data with a high privacy level, a desensitization method with a high desensitization level is matched. When the data length is short, the entire private data is directly processed according to the matched desensitization method.
[0096] The present application provides a data processing method. When the non-operational data in the data uploaded to the cloud by the smart device contains user privacy, the privacy level of the privacy data is determined according to the interaction information between the smart device and the user and the program type of the data source program, and the target data finally uploaded to the cloud is obtained by matching the privacy level with the data length of the privacy data through desensitization. Through the above method, a hierarchical privacy processing strategy is adopted for the privacy data according to the privacy level, and the data length of the privacy data is taken into consideration for desensitization processing, which increases the protection of privacy data with longer data length and improves the safety of users using smart devices.
[0097] Figure 3 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 2 This implementation provides detailed steps on how to determine the privacy level of private data. Figure 3 As shown, the method includes:
[0098] S301. Determine a first privacy weight corresponding to a source program according to a program type of a source program of the data.
[0099] In this step, most of the standard programs that come with smart devices can be optimized by the device itself based on historical operation records, or the user can adjust the program parameters according to their own usage experience and usage habits, thereby changing the program type from a standard program to a custom program. For example, changes in program parameters such as the automatic locking time of a smart door lock and the automatic opening and closing time of smart lamps can reflect the user's travel trajectory, thereby exposing the user's privacy. For another example, a smart washing machine comes with a laundry program. The user reduces program parameters such as washing time and rinsing time for the laundry program, reflecting that the user's environment or the user's work environment is not an outdoor environment, thereby exposing the user's privacy. Therefore, the source program of the program type is a custom program and there may be a risk of exposing the user's privacy data. Therefore, the first privacy weight is determined according to the source program of the data, and the first privacy weight is used to obtain the privacy level of the privacy data subsequently.
[0100] Exemplarily, the first privacy weight can be obtained in the following manner:
[0101] If the program type of the source program is a standard program, the corresponding first privacy weight is 0;
[0102] If the program type of the source program is a custom program, a target factory program that is most similar to the source program is obtained from multiple factory programs based on the source program, and a first privacy weight is determined based on the similarity between the source program and the target factory program, wherein the similarity is negatively correlated with the first privacy weight.
[0103] Specifically, when it is determined that the program type of the source program is a standard program, that is, the working parameters corresponding to the source program are all factory settings, it means that the source program itself does not have risks, so the first privacy weight is 0.
[0104] Furthermore, when it is determined that the program type of the source program is a custom program, it means that the user may have adjusted the source program according to his or her own usage habits, so the source program itself has certain risks. In order to determine the degree of adjustment of the source program by the user, it is necessary to obtain the target factory program corresponding to the source program from the factory program. Among them, the program type of the factory program is a standard program, and the source program is obtained by the user adjusting the target factory program. The similarity between the source program and the target factory program is obtained, and the first privacy weight is obtained according to the calculated similarity result. The greater the similarity, the smaller the degree of adjustment of the source program by the user, and therefore the corresponding first privacy weight is also smaller.
[0105] In one possible implementation, the similarity can be determined by the number of changes in the working parameters of the source program and the target factory program. Specifically, the total number of the working parameters of the target factory program is obtained, and the sub-number of the working parameters that have not been adjusted by the user is compared between the target factory program and the source program. The similarity between the source program and the target factory program is calculated based on the ratio of the sub-number to the total number.
[0106] Exemplarily, the source program and the target factory program are used to humidify the air, and the source program parameters are: automatic start: yes, start time: 17:00, humidification duration: 1 hour, scent: citrus; the target factory program parameters are: automatic start: yes, start time: 18:00, humidification duration: 1 hour, scent: citrus.
[0107] The total number is determined to be 4, the fraction of unadjusted working parameters is 3, and the calculated similarity is: 3 / 4=0.75. The corresponding first privacy weight is 1-0.75=0.25.
[0108] S302: When the interaction content is not zero, determine target content in the interaction content that does not belong to the program runtime library according to the program runtime library and the interaction content, and determine a second privacy weight according to the target content.
[0109] The program runtime library stores various program-related contents during the operation of the smart device, which can be the contents of the program itself or the contents of the interaction between the user and the smart device on the function or operation status of the source program, for example, what program can be used to deal with stains on clothes.
[0110] In this step, most smart devices can currently interact with users, and in order for the smart devices to accurately identify and meet user needs after the interaction, users will mention private information that exposes user habits during the interaction. For example, the content of the interaction is "It's my birthday today, which dress would look better on me?" Therefore, when it is determined that the interaction content is not 0, it is necessary to further determine the second privacy weight of the private data based on the interaction content. The second privacy weight is used to determine the privacy level of the private data in combination with the first privacy weight.
[0111] Specifically, when it is determined that the interactive content between the user and the smart device is not zero, the corresponding program runtime library is obtained according to the source program, the target content not included in the program runtime library is extracted from the interactive content according to the program runtime library, and the second privacy weight is determined according to the target content. This embodiment does not limit the step of obtaining the second privacy weight according to the target content and the interactive content. Exemplarily, the second privacy weight is obtained according to the ratio of the data length of the target content to the data length of the interactive content.
[0112] In a possible implementation, a ratio of the data length of the target content to the data length of the interactive content is obtained; the number of interaction rounds is determined based on the interactive content, and an interaction coefficient is determined based on the number of interaction rounds, wherein the interaction coefficient is proportional to the number of interaction rounds; and a second privacy weight is determined based on the product of the ratio and the interaction coefficient.
[0113] The more rounds of interaction, the more information the user expresses, the greater the probability of privacy leakage, and therefore the greater the interaction coefficient. The greater the data length of the target content in the interactive content, the more information the user expresses, and the greater the corresponding privacy weight.
[0114] For example, the data length of the interactive content is 50, the data length of the target content is 25, and the number of interactive rounds is 6. The data length ratio is 25 / 50=0.5. The interactive round number range of 6 is 5-7, and the corresponding interaction coefficient is 1.2. The second privacy weight is calculated as: 1.2*0.5=0.6.
[0115] In a possible implementation, some smart devices provide fixed options or limit interactive content when interacting with users in order to understand user needs more quickly and accurately. The interactive content obtained in this way is strongly related to the user. Therefore, in order to enhance the protection of user privacy, the context of the target content can be obtained in the interactive content and deleted from the interactive content.
[0116] For example, the smart device is a smart door lock, and the interaction content A includes three rounds of interaction, namely:
[0117] Round 1: Enter family member information
[0118] Second round: Please enter member name, mobile phone number and password.
[0119] Three rounds: Wang A, 123456789, 123. The entered information will take effect from tomorrow.
[0120] According to the program runtime library and interactive content A, the target content is determined to be: Wang A, 123456789, 123, and the context is determined to be the third round of interactive information, so the third round of interactive information is deleted from interactive content A.
[0121] S303: Obtain a weight and a value according to the first privacy weight and the second privacy weight, and obtain a privacy level corresponding to the weight range according to the weight range to which the weight and the value belong.
[0122] Among them, the privacy level corresponding to the same weight range is the same, and the larger the weight corresponding to different weight ranges, the higher the privacy level.
[0123] In this step, after the first privacy weight and the second privacy weight are determined, the weight sum and the weight range to which the weight sum belongs are obtained according to the first privacy weight and the second privacy weight, and the corresponding privacy level, that is, the privacy level of the privacy data, is obtained according to the weight range.
[0124] It should be noted that the first privacy weight and the second privacy weight generally take values between 0 and 1. If the first privacy weight and the second privacy weight are of different magnitudes, they are normalized before obtaining the weight and value.
[0125] In a possible implementation, a corresponding proportional parameter may be obtained according to the first privacy weight and the second privacy weight, and a weight and value may be obtained according to the first privacy weight, the second privacy weight, and the corresponding proportional parameter.
[0126] The proportional parameters can be determined based on the source program. According to the function of the source program, the correlation between the privacy data generated by the source program and the user, as well as the correlation between the interactive information obtained based on the source program and the user are analyzed. The proportional parameters corresponding to the first privacy weight and the second privacy weight are determined based on the analysis results.
[0127] For example, if the source program is smart monitoring, since monitoring will obtain information such as the user's image and voice, the privacy data obtained by smart monitoring is strongly related to the user. Therefore, the proportion parameter 0.8 corresponding to the first privacy weight of 0.4 is greater than the proportion parameter 0.2 corresponding to the second privacy weight of 0.6. The weight sum is 0.4*0.8+0.6*0.2=0.44.
[0128] The present application provides a data processing method. When it is determined that the data contains private data, a first privacy weight is determined according to the program type of the source program of the data and the corresponding program runtime library, a second privacy weight is determined according to the interactive content, and then the privacy level of the private data is determined according to the first privacy weight and the second privacy weight. In the above manner, the privacy level is determined in combination with the interactive content and the user's adjustment of the working parameters of the source program, so that the privacy level of the private data is determined more reasonably, so that the private data can be properly desensitized, thereby protecting the privacy security of users using smart devices.
[0129] Figure 4 A schematic diagram of a data processing method provided in an embodiment of the present application Figure 3 This embodiment describes in detail the steps of processing the privacy data according to the privacy level and the length of the privacy data. Figure 4 As shown, the method includes:
[0130] S401. Determine whether the data length of the privacy data is greater than a preset length. If so, execute S402; if not, execute S403.
[0131] In this step, in order to increase the protection of private data, the data length of the private data is taken into consideration, and whether to perform fragmentation processing is determined according to the data length. Therefore, after determining the privacy level of the private data, the data length of the private data is obtained, and the numerical relationship between the data length and the preset length is determined.
[0132] S402: Segment the private data to obtain a plurality of data segments, and desensitize the plurality of data segments using corresponding desensitizing methods according to the privacy levels to obtain target data.
[0133] The privacy level is inversely proportional to the fragmentation coefficient, the fragmentation coefficient is an integer greater than or equal to 2, and the target number is rounded up or down.
[0134] In this step, when the length of private data is long, it means that the private data may contain multiple user fields, the privacy level is high, and stronger privacy protection is required. Therefore, in order to increase the protection of user private data, private data with too long data length is preferentially fragmented. At the same time, after the private data is divided into multiple data fragments, different data fragments can adopt different privacy processing methods, thereby further increasing the protection of private data.
[0135] Specifically, when it is determined that the data length of the privacy data is greater than the preset length, the privacy data is preferentially fragmented to obtain multiple data fragments. This embodiment does not limit the operation of how to fragment the privacy data, and it can be selected according to the actual application scenario. Exemplarily, a fragmentation length can be set, and the privacy data is fragmented according to the set fragmentation length to obtain multiple data fragments.
[0136] In a possible implementation manner, the privacy data can be fragmented according to the target type of the user fields in the user database to obtain multiple data fragments.
[0137] Since the privacy data contains user fields of multiple target types, such as user address, ID card information, etc. Therefore, the privacy data can be fragmented according to the target type of the user fields in the user database, so that each data fragment corresponds to only one target type.
[0138] Exemplarily, as Figure 5 shown, the privacy data A is: 12 Wang A 28-year-old female 123456789 20240409 Qingyang Street, Shanghai. According to the target type of the user fields in the user database, it is determined that the privacy data A contains 7 user fields corresponding to 7 target types, and the 7 target types included are: smart device ID, user name, age, gender, mobile phone number, time, and location. The privacy data is fragmented according to the 7 target types included in the privacy data A to obtain 7 data fragments, which are: data fragment A corresponding to the smart device ID: 12, data fragment B corresponding to the user name: Wang A, data fragment C corresponding to the age: 28-year-old, data fragment D corresponding to the gender: female, data fragment E corresponding to the mobile phone number: 123456789, data fragment F corresponding to the time: 20240409, and data fragment G corresponding to the location: Qingyang Street, Shanghai.
[0139] Furthermore, considering that the privacy data may contain user fields of multiple different target types, the number of data fragments obtained by fragmenting the privacy data may be relatively large. For example, the privacy data A: 12 Wang A 28-year-old female 123456789 20240409 Qingyang Street, Shanghai, contains 7 data fragments corresponding to 7 target types, and 7 data fragments are obtained by fragmentation. Considering that using at least two different desensitization methods to process multiple data fragments has increased the protection of the privacy data, and if each data fragment uses a different desensitization method, it will increase the processing complexity. Therefore, the target number of desensitization methods can be obtained, and the target number of desensitization methods is used to process multiple data fragments.
[0140] Specifically, obtain the sharding coefficient according to the privacy level, then obtain the number of multiple data segments, and obtain the target number according to the ratio of the number to the sharding coefficient. The target number is used to subsequently obtain the corresponding number of desensitization methods. Since the higher the privacy level, the more desensitization methods are required, the sharding coefficient is inversely proportional to the privacy level.
[0141] Exemplarily, for the privacy data A: 12 Wang A, 28 years old, female, 12345678920240409, Qingyang Street, Shanghai, the privacy level is high, and the number of corresponding data segments is 7. The sharding coefficient corresponding to the high privacy level is 2. Calculate the target number: 7 / 2 = 3.5, and round down to determine the target number as 3. That is, select 3 desensitization methods from the desensitization database to desensitize 7 data segments.
[0142] S403. Obtain the desensitization method corresponding to the privacy level, and process the privacy data through the desensitization method to obtain the target data.
[0143] In this step, when it is determined that the data length of the privacy data is less than or equal to the preset length, there is no need to perform sharding processing on the privacy data. In other words, only process the privacy data through one desensitization method.
[0144] Therefore, directly obtain the corresponding desensitization method from the desensitization database according to the privacy level of the privacy data, and process the privacy data through the obtained desensitization method to obtain the target data.
[0145] This application provides a data processing method. Determine whether to perform sharding processing on the privacy data according to the data length of the privacy data, and select to obtain a single desensitization method only according to the privacy level, or obtain the desensitization method of the target number according to the number of multiple data segments obtained by sharding processing and the privacy level according to the determination result, and process the privacy data through the obtained desensitization method. Through the above method, first shard and then desensitize the privacy data with a long data length, strengthen the protection of privacy data that may contain multiple user fields, and reduce the risk of data leakage.
[0146] Figure 6 It is a flow schematic of a data processing method provided by an embodiment of this application Figure 4 This embodiment details the steps of how to desensitize multiple data segments according to the desensitization methods of the target number. As Figure 6 shown, the method includes:
[0147] S601. Obtain the priority corresponding to each data segment according to the target type to which each data segment belongs.
[0148] In this step, considering that the user fields corresponding to different target types have different degrees of relevance to the user. For example, the user fields corresponding to the identity information type are strongly associated with the user. Therefore, when selecting the corresponding desensitization method for each data segment in this embodiment, the target type to which the user field included in the data segment belongs is taken into consideration.
[0149] Specifically, according to the user fields included in each data segment, the corresponding target type is obtained, and then the priority corresponding to the data segment is obtained according to the corresponding target type. This embodiment does not specifically limit the priority of the target type, and it can be set according to the actual application scenario. For example, the priority of the identity information type is higher than that of the address type.
[0150] Exemplarily, for the private data A: 12WangA28-year-old female12345678920240409Qingyang Street, Shanghai, it contains user fields of 7 target types including smart device ID, user name, age, gender, mobile phone number, time, and location. The user fields corresponding to the user name, mobile phone number, and smart device ID are strongly associated with the user, the user fields corresponding to the age and gender have a moderate degree of association with the user, and the user fields corresponding to the time and location have a relatively low degree of association with the user. Therefore, the priority ranking of the 7 data segments obtained by slicing the private data A is: Data segment A = Data segment B = Data segment E > Data segment C = Data segment D > Data segment F = Data segment G.
[0151] Among them, data segment A corresponds to the smart device ID, data segment B corresponds to the user name, data segment C corresponds to the age, data segment D corresponds to the gender, data segment E corresponds to the mobile phone number, data segment F corresponds to the time, and data segment G corresponds to the location.
[0152] S602. Obtain a target number of desensitization methods according to the order of the desensitization levels of the desensitization methods in the desensitization database from high to low.
[0153] In this step, after obtaining the priority corresponding to each data segment, a target number of desensitization methods are obtained from the desensitization database. At the same time, in order to improve the privacy protection effect, when extracting desensitization methods from the desensitization database according to the target number, first sort all the desensitization methods in the desensitization database in the order of desensitization level from high to low, and then obtain the first target number of desensitization methods from the sorted desensitization methods.
[0154] Furthermore, the currently commonly used desensitization methods are the randomization method, the replacement method, the masking method, and the generalization method. These four types of desensitization methods are sorted in the order of desensitization level from high to low. The specific sorting is:
[0155] Randomly select a random field with the same length as the data segment in the random disorder library corresponding to the target type, and replace the data segment with the random field;
[0156] Replace the data segment through a preset field corresponding to the target type, where the preset field is used to indicate that the field is unknown;
[0157] Obtain a corresponding masking rule according to the target type, and determine the content to be masked from the data segment according to the masking rule, and perform a masking process on the content to be masked;
[0158] Obtain the general field to which the user field belongs according to multiple general fields corresponding to the target type, and replace the data segment through the general field.
[0159] In other words, the desensitization level of the randomization method > the desensitization level of the replacement method > the desensitization level of the masking method > the desensitization level of the generalization method.
[0160] Exemplarily, according to the privacy data A: 12 Wang A 28 years old female 123456789 20240409 Qingyang Street, Shanghai, the target quantity corresponding to the 7 data segments obtained by slicing is 3, and the sorting of multiple desensitization methods in the desensitization database is: the desensitization level of the randomization method > the desensitization level of the replacement method > the desensitization level of the masking method > the desensitization level of the generalization method. Therefore, the top three desensitization methods with the highest desensitization levels are obtained as: the randomization method, the replacement method, and the masking method.
[0161] S603. Obtain the desensitization method for each data segment according to the order of the priorities of each data segment from high to low and the order of the desensitization levels of the desensitization methods from high to low.
[0162] Among them, the data segment with a high priority corresponds to a desensitization method with a high priority.
[0163] In this step, after obtaining the priorities of each data segment, sort the multiple data segments according to the corresponding priorities, and then sort the target quantity of desensitization methods according to the order of the desensitization levels from high to low. Determine the number of data segments that each desensitization method can process, and then obtain the desensitization method for each data segment according to the order of the priorities of each data segment from high to low and the order of the desensitization levels of the desensitization methods from high to low.
[0164] Exemplarily, such as Figure 7As shown, private data A: 12 Wang A 28 years old female 123456789 20240409 Shanghai Qingyang Street, the 7 data fragments obtained by sharding are: Data fragment A: 12, Data fragment B: Wang A, Data fragment C: 28 years old, Data fragment D: Female, Data fragment E: 123456789, Data fragment F: 20240409, Data fragment G: Shanghai Qingyang Street. The priority of the 7 data fragments is: Data fragment A = Data fragment B = Data fragment E > Data fragment C = Data fragment D > Data fragment F = Data fragment G. The desensitization methods obtained according to the target quantity 3 are randomization, replacement and masking according to the desensitization level from high to low.
[0165] One of the three desensitization methods is required to process the three data fragments, so the desensitization method with a high desensitization level - randomization method is selected to process the three data fragments. Matching is performed according to the priority, and it is determined that the randomization method is used to desensitize data fragments A, B, and E, the replacement method is used to desensitize data fragments C and D, and the masking method is used to desensitize data fragments F and G.
[0166] S604: Desensitize each data segment according to the desensitization method to obtain target data.
[0167] In this step, after the desensitization method corresponding to each data segment is obtained, the data segment is processed according to the corresponding desensitization method, and the target data is obtained based on the processed data segment.
[0168] Furthermore, if Figure 8 As shown in the figure, the process of desensitizing some data fragments is explained. Specifically:
[0169] Data fragment A is 12, the data length is 2, and the corresponding desensitization method is randomization. According to the target type corresponding to data fragment A, that is, the smart device ID, a random field 01 with a data length of 2 is randomly selected from the random shuffle library, and data fragment A is replaced with 01 to obtain the desensitized data fragment A-01.
[0170] Data segment C is 28 years old, and the corresponding desensitization method is replacement. The target type corresponding to data segment C is age, and the data segment processed by replacement is? 8.
[0171] Data segment G: Qingyang Street, Shanghai, the corresponding desensitization method is masking. The target type corresponding to data segment G is location, and the corresponding masking rule A is obtained according to the location: masking street information. According to masking rule A, Qingyang Street is determined as the content to be masked, and the content to be masked is masked to obtain the desensitized data segment G: XX Street, Shanghai.
[0172] The present application provides a data processing method, which matches the corresponding desensitization method to each data fragment according to the priority level of each data fragment and the priority level of the desensitization method of the target number. Through the above method, each data fragment is processed by a suitable desensitization method without increasing the complexity of the operation, thereby enhancing the protection of user privacy data, and also providing some inaccurate data. The cloud can also perform big data processing on these data in a general way, avoiding the cloud from storing more invalid data.
[0173] Fig. 9 This is a schematic diagram of the structure of a data processing control device provided in an embodiment of the present application. Fig. 9 As shown, the control device includes: an acquisition module 901, a privacy module 902 and a sending module 903, wherein:
[0174] The acquisition module 901 is used to analyze and process the data when it is detected that the smart device uploads data to the cloud, so as to obtain the operation data and non-operation data of the smart device;
[0175] The acquisition module 901 is further configured to determine the privacy level of the private data according to the program type of the source program of the data and the interaction information between the smart device and the user, if it is determined according to the user field in the user database that the non-operational data contains the user's private data, wherein the program type is used to indicate whether the source program is a custom program, and the interaction information includes the voice and / or text interaction content between the user and the smart device before uploading the data;
[0176] The privacy module 902 is used to process the privacy data according to the privacy level and the data length of the privacy data to obtain target data;
[0177] The sending module 903 is used to obtain new data according to the target data and the operating data, and upload the new data to the cloud.
[0178] Fig.10 This is a schematic diagram of the structure of a smart device provided in an embodiment of the present application. Fig.10 As shown, the smart device 100 includes: at least one processor 1001 and a memory 1002, wherein:
[0179] The memory 1002 is used to store computer-executable instructions;
[0180] The at least one processor 1001 is used to execute the computer-executable instructions stored in the memory 1002, so that the at least one processor 1001 executes the data processing method as described in any of the above items.
[0181] Among them, at least one processor 1001 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0182] Optionally, in a specific implementation, the processor 1001 and the memory 1002 are implemented independently, and the processor 1001 and the memory 1002 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0183] Optionally, in a specific implementation, if the processor 1001 and the memory 1002 are integrated on a chip, the processor 1001 and the memory 1002 can communicate through an internal interface.
[0184] The present application also provides a computer storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the technical solution of the aforementioned data processing method is implemented.
[0185] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The computer-readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0186] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in the control device of the clothing processing device.
[0187] The present application also provides a computer program product, including a computer program, which can implement the steps of the technical solution of the aforementioned data processing method when executed by a processor.
[0188] The division of the units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0189] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0190] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0191] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0192] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
[0193] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A data processing method, It is characterized in that The method comprises: When it is detected that the smart device uploads data to the cloud, the data is analyzed and processed to obtain the operation data and non-operation data of the smart device; If it is determined that the non-operational data contains the user's private data according to the user field in the user database, the privacy level of the private data is determined according to the program type of the source program of the data and the interaction information between the smart device and the user, wherein the program type is used to indicate whether the source program is a custom program, and the interaction information includes the voice and / or text interaction content between the user and the smart device before uploading the data; Determining whether the data length of the private data is greater than a preset length; If yes, the private data is fragmented to obtain multiple data fragments; According to the privacy level, desensitize the multiple data fragments using corresponding desensitization methods to obtain target data; If not, obtaining a desensitization method corresponding to the privacy level, and processing the private data by the desensitization method to obtain the target data; Acquire new data according to the target data and the operating data, and upload the new data to the cloud.
2. The method according to claim 1, It is characterized in that The determining the privacy level of the private data according to the program type of the source program of the data and the interaction information between the smart device and the user includes: Determining a first privacy weight corresponding to the source program according to a program type of the source program of the data; When the interactive content is not zero, determining, according to the program runtime library and the interactive content, target content in the interactive content that does not belong to the program runtime library, and determining a second privacy weight according to the target content; The privacy level is determined according to the first privacy weight and the second privacy weight.
3. The method according to claim 2, It is characterized in that The determining, according to the program type of the source program of the data, a first privacy weight corresponding to the source program includes: If the program type of the source program is a standard program, the corresponding first privacy weight is 0; If the program type of the source program is a custom program, a target factory program that is most similar to the source program is obtained from multiple factory programs based on the source program, and a first privacy weight is determined based on the similarity between the source program and the target factory program, wherein the similarity is negatively correlated with the first privacy weight.
4. The method according to claim 3, It is characterized in that The determining the second privacy weight according to the target content includes: Acquire a ratio of the data length of the target content to the data length of the interactive content; Determine the number of interaction rounds according to the interaction content, and determine the interaction coefficient according to the number of interaction rounds, wherein the interaction coefficient is proportional to the number of interaction rounds; A second privacy weight is determined according to a product of the ratio and the interaction coefficient.
5. The method according to claim 4, It is characterized in that The determining the privacy level according to the first privacy weight and the second privacy weight includes: According to the first privacy weight and the second privacy weight, obtaining a weight and a value; According to the weight range to which the weight and value belong, the privacy level corresponding to the weight range is obtained; wherein, the privacy levels corresponding to the same weight range are the same, and the larger the weight corresponding to different weight ranges, the higher the privacy level.
6. The method according to claim 1, It is characterized in that According to the privacy level, desensitizing the multiple data fragments using corresponding desensitization methods to obtain target data includes: According to the privacy level, obtaining a fragmentation coefficient, wherein the privacy level is inversely proportional to the fragmentation coefficient; Obtain a target number according to a ratio of the number of the data segments to the sharding coefficient; wherein the sharding coefficient is an integer greater than or equal to 2, and the target number is rounded up or down; Obtain a target number of desensitization methods from a desensitization database, and desensitize the multiple data fragments according to the target number of desensitization methods to obtain target data, wherein each desensitization method corresponds to at least one data fragment.
7. The method according to claim 6, It is characterized in that The desensitization method of obtaining the target quantity from the desensitization database includes: According to the order of the desensitization levels of the desensitization methods in the desensitization database from high to low, a target number of desensitization methods are obtained.
8. The method according to claim 7, It is characterized in that The fragmentation of the private data to obtain multiple data fragments includes: According to the target type of the user field in the user database, the private data is segmented to obtain a plurality of data segments.
9. The method according to claim 8, It is characterized in that The desensitizing method according to the target number, desensitizing the multiple data fragments to obtain the target data, includes: According to the target type to which each data fragment belongs, obtain the priority corresponding to each data fragment; Obtain a desensitization method for each data segment according to the order of priority of each data segment from high to low and the order of desensitization levels of the desensitization method from high to low; wherein a data segment with a high priority corresponds to a desensitization method with a high priority; Desensitize each data segment according to the desensitization method to obtain the target data.
10. The method according to claim 9, It is characterized in that The order of desensitization levels from high to low for multiple desensitization methods is as follows: Randomly select a random field with the same length as the data segment from the random shuffle library corresponding to the target type, and replace the data segment with the random field; Replacing the data segment with a preset field corresponding to the target type, wherein the preset field is used to indicate that the field is unknown; Acquire a corresponding masking rule according to the target type, determine the content to be masked from the data fragment according to the masking rule, and perform masking processing on the content to be masked; According to a plurality of general fields corresponding to the target type, the general field to which the user field belongs is obtained, and the data segment is replaced by the general field.
11. The method according to claim 2, It is characterized in that If the non-operational data includes the interaction information, the method further includes: Obtaining the context of the target content; The context is deleted from the interactive content.
12. A data processing control device, It is characterized in that include: Acquisition module, privacy module and sending module, where: The acquisition module is used to analyze and process the data when detecting that the smart device uploads data to the cloud, so as to obtain the operation data and non-operation data of the smart device; The acquisition module is further configured to determine the privacy level of the private data according to the program type of the source program of the data and the interaction information between the smart device and the user, if it is determined according to the user field in the user database that the non-operational data contains the user's private data, wherein the program type is used to indicate whether the source program is a custom program, and the interaction information includes the voice and / or text interaction content between the user and the smart device before uploading the data this time; The privacy module is used to determine whether the data length of the private data is greater than a preset length; if so, the private data is segmented to obtain multiple data segments; according to the privacy level, the multiple data segments are desensitized using a corresponding desensitization method to obtain target data; if not, the desensitization method corresponding to the privacy level is obtained, and the private data is processed using the desensitization method to obtain the target data; The sending module is used to obtain new data according to the target data and the operating data, and upload the new data to the cloud.
13. A smart device, It is characterized in that include: at least one processor and memory, wherein: The memory is used to store computer-executable instructions; The at least one processor is configured to execute the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 11.
14. A computer storage medium, It is characterized in that The computer storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 11 when executed by a processor.
