A privacy data processing method, device, apparatus and storage medium

By generating unpredictable Laplace noise using a quantum random number generator, the vulnerability of pseudo-random numbers to attacks is solved, achieving more efficient privacy data protection.

CN117633892BActive Publication Date: 2026-11-20AGRICULTURAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311649883.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-04
Publication Date
2026-11-20
Estimated Expiration
2043-12-04

AI Technical Summary

Technical Problem

In existing technologies, pseudo-random numbers generated using built-in algorithms in programming languages ​​are used for Laplace noise, which is easily predicted by attackers, causing differential privacy mechanisms to fail and thus failing to effectively protect user privacy data.

Method used

A quantum random number generator is used to generate quantum random numbers by using quantum physical processes as an entropy source. These random numbers are then substituted into the Laplace distribution function to generate unpredictable Laplace noise values, which are then added to the target privacy data.

Benefits of technology

It improves the security of user privacy data, prevents attackers from predicting noisy results, and enhances differential privacy protection capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117633892B_ABST
    Figure CN117633892B_ABST
Patent Text Reader

Abstract

The application discloses a privacy data processing method, device and equipment and a storage medium, and comprises the following steps: generating quantum random numbers by using quantum physical processes as entropy sources through a quantum random number generator; substituting the quantum random numbers into a Laplace distribution function, and obtaining random Laplace noise values by operating the Laplace distribution function; and adding the random Laplace noise values to target privacy data. The technical scheme of the embodiment of the application can improve the security of user privacy data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, device, and storage medium for processing privacy data. Background Technology

[0002] With the emergence and development of database applications such as data mining and data publishing, protecting privacy data and preventing the leakage of sensitive information has become a major challenge. Differential privacy protection technology is a rigorous and provable privacy protection model that does not care about the background knowledge of attackers and achieves privacy protection by adding noise to the data.

[0003] For numerical data, the most commonly used noise mechanism in differential privacy is the Laplace noise mechanism. The generation of Laplace noise relies on random numerical values ​​as parameters. However, the random numbers currently used are pseudo-random numbers generated by algorithms built into programming languages. Once the random number parameters used to generate the Laplace noise are predicted and obtained by attackers, the differential privacy mechanism will completely lose its level of data protection. Summary of the Invention

[0004] This invention provides a method, apparatus, device, and storage medium for processing privacy data, which can improve the security of user privacy data.

[0005] According to one aspect of the present invention, a privacy data processing method is provided, the method comprising:

[0006] Quantum random numbers are generated by using a quantum random number generator, which utilizes quantum physical processes as an entropy source.

[0007] Substituting the quantum random number into the Laplace distribution function, and then calculating the Laplace distribution function, the random Laplace noise value is obtained;

[0008] The random Laplace noise value is added to the target privacy data.

[0009] Optionally, quantum random numbers are generated using a quantum random number generator, which utilizes quantum physical processes as an entropy source, including:

[0010] Random number strings are generated using a quantum random number generator, which utilizes quantum physical processes as an entropy source.

[0011] The random number string is converted into a target value within a preset numerical range to obtain the quantum random number.

[0012] Optionally, converting the random number string into a target value within a preset numerical range includes:

[0013] The random number string is used as the seed of the built-in programming algorithm, and the built-in programming algorithm is used to convert the random number string into a target value within a preset value range according to the conversion function.

[0014] Optionally, converting the random number string into a target value within a preset value range includes:

[0015] The random number string is processed using a linear or nonlinear algorithm, and the processing result is mapped to a target value within a preset numerical range.

[0016] Optionally, the privacy data processing method can be applied to both global differential privacy data processing scenarios and local differential privacy data processing scenarios.

[0017] Optionally, quantum random numbers are generated using a quantum random number generator, which utilizes quantum physical processes as an entropy source, including:

[0018] In response to a user-triggered request to process target privacy data, a quantum random number generator is used to generate quantum random numbers using quantum physical processes as an entropy source.

[0019] After adding the random Laplace noise value to the target privacy data, the process also includes:

[0020] The processed target privacy data will be fed back to the user.

[0021] According to another aspect of the present invention, a privacy data processing apparatus is provided, the apparatus comprising:

[0022] The random number generation module is used to generate quantum random numbers by using a quantum random number generator and quantum physical processes as an entropy source.

[0023] The noise generation module is used to substitute the quantum random number into the Laplace distribution function and obtain a random Laplace noise value by calculating the Laplace distribution function;

[0024] The noise addition module is used to add the random Laplace noise value to the target privacy data.

[0025] Optionally, the random number generation module includes:

[0026] The string generation unit is used to generate random number strings by using a quantum random number generator and quantum physical processes as an entropy source.

[0027] The string conversion unit is used to convert the random number string into a target value within a preset numerical range to obtain the quantum random number.

[0028] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0029] At least one processor; and

[0030] A memory communicatively connected to the at least one processor; wherein,

[0031] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the privacy data processing method according to any embodiment of the present invention.

[0032] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the privacy data processing method according to any embodiment of the present invention.

[0033] The technical solution provided by this invention uses a quantum random number generator to generate quantum random numbers using quantum physical processes as an entropy source. The quantum random numbers are then substituted into the Laplace distribution function, and a random Laplace noise value is obtained by calculating the Laplace distribution function. This random Laplace noise value is then added to the target privacy data, which can improve the security of user privacy data.

[0034] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

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

[0036] Figure 1a This is a probability density function distribution diagram corresponding to a Laplace distribution function provided by an embodiment of the present invention;

[0037] Figure 1b This is a flowchart of a privacy data processing method provided according to an embodiment of the present invention;

[0038] Figure 2 This is a flowchart of another privacy data processing method provided according to an embodiment of the present invention;

[0039] Figure 3This is a flowchart of another privacy data processing method provided according to an embodiment of the present invention;

[0040] Figure 4 This is a schematic diagram of the structure of a privacy data processing device according to an embodiment of the present invention;

[0041] Figure 5 This is a schematic diagram of the structure of an electronic device that implements the privacy data processing method of the present invention. Detailed Implementation

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

[0043] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0044] Differential privacy is a privacy protection mechanism with a rigorous and provable level of privacy protection. It is unconcerned with the attacker's background knowledge and achieves data distortion by adding noise, preserving the statistical properties of the data while maintaining its inherent attributes. Adding or deleting any data point to the dataset will not affect the output. Specifically, it is defined as follows: For an algorithm A, S is a subset of all values ​​that algorithm A can output. If for any pair of adjacent datasets X and X' (two datasets differing by at most one record), algorithm A satisfies:

[0045] Pr[A(x)∈S]≤e ε Pr[A(x')∈S]

[0046] Algorithm A is said to satisfy ε-differential privacy, where the parameter ε is the privacy protection budget, typically a small number such as 0.1, to make the probabilities of output results from different datasets similar. Under this condition, it is said to strictly satisfy the definition of differential privacy. In this case, even if an attacker has a neighboring dataset to the original dataset—that is, a dataset that differs from the original dataset by at most one data point—the data will not be leaked.

[0047] The Laplace distribution is a concept in statistics, a continuous probability distribution. If the probability density function of a random variable is distributed as follows: Then the random variable follows a Laplace distribution. Here, μ represents the location parameter, and λ represents the scale parameter. The probability density function distributions for different values ​​of λ when μ = 0 can be plotted as follows: Figure 1a As shown.

[0048] in, Figure 1a The distribution graph shown includes three distribution curves: the curve with the highest peak corresponds to λ = 0.5, the curve with the middle peak corresponds to λ = 1, and the curve with the lowest peak corresponds to λ = 2.

[0049] Laplace noise is a random value that follows a Laplace distribution. In the field of differential privacy data processing, Laplace noise is one of the most common noise addition methods. The scale parameter in this case... Where Δf is the unit of measurement, and ε is the privacy protection budget.

[0050] In existing technologies, pseudo-random numbers are typically generated using algorithms built into programming languages. Specifically, the cumulative distribution function is obtained from the Laplace probability density function:

[0051]

[0052] According to the cumulative distribution function of the Laplace distribution, the range is [0,1] and the domain is [-∞,+∞]. Therefore, the noise satisfying the Laplace distribution can be obtained by solving the inverse function of the cumulative distribution function. If the random variable α ~ UNI(0,1) satisfies a uniform distribution, and is substituted into the inverse function of the Laplace cumulative distribution function, the noise value satisfying the condition can be obtained:

[0053]

[0054] If we take α ~ UNI(-0.5, 0.5), and simultaneously let The piecewise function described above can then be expressed as an expression, where the sign function is used to obtain the sign of the parameter, and the abs function is used to obtain the absolute value. From this, the following noise values ​​can be obtained:

[0055]

[0056] Based on the above derivation, the following code, which uses the mainstream Java language as an example, can be easily understood:

[0057]

[0058] It's worth noting that the core of Random's randomness (i.e., the source of random entropy) is the seed. There are two ways to construct a seed: one is by using System.nanoTime(), and the other is by passing in a custom-constructed seed. Whether it's the former (System.nanoTime() representing nanoseconds since a fixed but arbitrary original time) or the latter (a custom, fixed seed), with sufficient computing power, it's possible to deduce the generated random numbers.

[0059] However, if the random number parameters used to generate the Laplace noise are predicted and obtained by an attacker, the differential privacy mechanism will completely lose its level of data protection. Therefore, the existing technology has serious security vulnerabilities.

[0060] Accordingly, this invention improves the Laplace noise generation mechanism used in differential privacy by replacing pseudo-random numbers with quantum random numbers (QRNs). By utilizing the unpredictability, non-repeatability, and unbiasedness of quantum random numbers, more secure Laplace noise is generated. This noise is then added to the data to be protected, further protecting the user's privacy data. Figure 1b This is a flowchart illustrating a privacy data processing method provided in an embodiment of the present invention. This embodiment is applicable to situations requiring privacy data protection processing. The method can be executed by a privacy data processing device, which can be implemented in hardware and / or software and can be configured in an electronic device. Figure 1b As shown, the method includes:

[0061] Step 110: Generate quantum random numbers using a quantum random number generator, utilizing quantum physical processes as the entropy source.

[0062] In this embodiment, the quantum random number is a random number generated using a system based on quantum physics principles (i.e., a quantum random number generator). The quantum random number generator is used to extract the "intrinsic randomness" of microscopic particles and use it as the original source of random number entropy.

[0063] The advantage of this setup is that it ensures that quantum random numbers possess characteristics such as unpredictability, non-repeatability, and unbiasedness, making it impossible for attackers with computational capabilities to predict quantum random numbers.

[0064] In one embodiment of this example, a quantum random number generator is used to generate quantum random numbers using a quantum physical process as an entropy source, including: in response to a user-triggered target privacy data processing request, generating quantum random numbers using a quantum random number generator and a quantum physical process as an entropy source.

[0065] Step 120: Substitute the quantum random number into the Laplace distribution function, and obtain the random Laplace noise value by calculating the Laplace distribution function.

[0066] In this step, quantum random numbers can be substituted into the Laplace distribution function mentioned above, and random Laplace noise values ​​can be obtained by performing calculations on the Laplace distribution function.

[0067] Step 130: Add the random Laplace noise value to the target privacy data.

[0068] In this step, Laplace noise values ​​enhanced by quantum random numbers can be added to the target privacy data requested by the user to protect the target privacy data.

[0069] In one embodiment of this example, after adding the random Laplace noise value to the target privacy data, the method further includes: feeding back the processed target privacy data to the user.

[0070] This embodiment provides a privacy data processing method based on enhanced differential privacy Laplace noise, which makes it impossible for attackers with computing power to predict the noise results, and can further protect users' privacy data from the source. Compared with the prior art, it can achieve unpredictable and more secure differential privacy protection.

[0071] The technical solution provided by this invention uses a quantum random number generator to generate quantum random numbers using quantum physical processes as an entropy source. The quantum random numbers are then substituted into the Laplace distribution function, and a random Laplace noise value is obtained by calculating the Laplace distribution function. This random Laplace noise value is then added to the target privacy data, which can improve the security of user privacy data.

[0072] Based on the above embodiments, a quantum random number generator is used to generate quantum random numbers using a quantum physical process as an entropy source, including: generating a random number string using a quantum random number generator and a quantum physical process as an entropy source; converting the random number string into a target value within a preset value range to obtain the quantum random number.

[0073] In this embodiment, a variety of flexible ways to convert random number strings into target values ​​are provided. For example, the random number string can be used as a random seed of a built-in algorithm in a programming language to achieve the string conversion, or a self-developed algorithm (such as a linear or non-linear algorithm) can be used to convert the random number string into the target value.

[0074] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0075] Figure 2 This is a flowchart of another privacy data processing method provided by an embodiment of the present invention. This embodiment is a further refinement of the above embodiments, such as... Figure 2 As shown, the method includes:

[0076] Step 210: Generate random number strings using a quantum random number generator, utilizing quantum physical processes as the entropy source.

[0077] Step 220: Use the random number string as the seed of the built-in programming algorithm, and use the built-in programming algorithm to convert the random number string into a target value within a preset value range according to the conversion function to obtain a quantum random number.

[0078] In this step, specifically, the random number string can be converted using the following programming code:

[0079]

[0080]

[0081] In a specific embodiment, assuming the random number string is 010100110101, it can be converted into the target value 0.982749448194 using the above method. The advantage of this setting is that by using a built-in algorithm to convert the random number string according to the conversion function, unpredictable random values ​​can be obtained, while being compatible with current noise generation methods, enabling rapid integration and application.

[0082] Step 230: Substitute the quantum random number into the Laplace distribution function, and obtain the random Laplace noise value by calculating the Laplace distribution function.

[0083] Step 240: Add the random Laplace noise value to the target privacy data.

[0084] The technical solution provided by this invention uses a quantum random number generator to generate random number strings using quantum physical processes as an entropy source. These random number strings are then used as a seed for a built-in programming algorithm. The algorithm, based on a conversion function, converts the random number strings into target values ​​within a preset range, resulting in quantum random numbers. These quantum random numbers are then substituted into a Laplace distribution function, and random Laplace noise values ​​are obtained by operating the Laplace distribution function. These random Laplace noise values ​​are then added to the target privacy data. This technical approach can improve the security of user privacy data.

[0085] Figure 3 A flowchart of another privacy data processing method provided in an embodiment of the present invention is shown below. Figure 3 As shown, the method includes:

[0086] Step 310: Generate random number strings using a quantum random number generator, utilizing quantum physical processes as the entropy source.

[0087] Step 320: Process the random number string using a linear or nonlinear algorithm, and map the processing result to a target value within a preset numerical range to obtain a quantum random number.

[0088] In this step, specifically, a one-to-one mapping can be performed between a 32-bit random number string and a value in the range [0,1] to obtain a Double type value that is uniformly distributed within the range [0,1].

[0089] The advantage of this setup is that by using a self-developed algorithm (such as a linear or non-linear algorithm) to convert the random number string into the target value, the flexibility of the string conversion method can be improved, enabling the function of converting random strings into random values ​​with higher security requirements.

[0090] Step 330: Substitute the quantum random number into the Laplace distribution function, and obtain the random Laplace noise value by calculating the Laplace distribution function.

[0091] Step 340: Add the random Laplace noise value to the target privacy data.

[0092] The technical solution provided by this invention uses a quantum random number generator to generate random number strings using quantum physical processes as an entropy source. A linear or nonlinear algorithm is then used to process the random number strings, and the processing result is mapped to a target value within a preset numerical range to obtain a quantum random number. This quantum random number is then substituted into a Laplace distribution function, and a random Laplace noise value is obtained by calculating the Laplace distribution function. This random Laplace noise value is then added to the target privacy data, thereby improving the security of user privacy data.

[0093] Based on the above embodiments, the privacy data processing method is applied to both global differential privacy data processing scenarios and local differential privacy data processing scenarios.

[0094] In this context, the global differential privacy data processing scenario refers to a trusted data manager collecting data and adding noise perturbations to the statistical results of the dataset. The local differential privacy data processing scenario refers to a user adding noise perturbations to local data before sending it to an untrusted data manager.

[0095] In a specific embodiment, taking a global differential privacy data processing scenario as an example, suppose a bank needs to release statistical data to reflect overall trends without disclosing personal information. For this privacy data processing request, enhanced differential privacy Laplace noise based on quantum random numbers can be added to the statistical data. For example, if the original statistical data is "100 people have deposits under 10,000 yuan," "200 people have deposits between 10,000 and 20,000 yuan," and "300 people have deposits over 20,000 yuan," enhanced differential privacy Laplace noise based on quantum random numbers can be used to add noise to the population statistics. First, a quantum random number 01001101010101110010101010100101 is generated, corresponding to a random number of 0.27898797843975 and an alpha of -0.22101202156025. Then, noise is generated based on mu = 0, delta = 1, and epsilon = 0.1.

[0096] noise = 0 - 1 / 0.1 * Math.signum(-0.22101202156025) * Math.log(1 - 2 * Math.abs(-0.22101202156025)), which rounds up to 1. Therefore, according to the Laplace noise mechanism, the final output statistics are "101 people have deposits under 10,000 yuan". Similarly, we can get the statistics "198 people have deposits between 10,000 and 20,000 yuan" and "302 people have deposits over 20,000 yuan".

[0097] It should be noted that: assuming an attacker knows the original data "100 people have deposits under 10,000 yuan" and "200 people have deposits between 10,000 and 20,000 yuan", they can know the corresponding noise. If pseudo-random noise is used, the attacker might be able to deduce the noise in the published data "302 people have deposits over 20,000 yuan" based on the properties of pseudo-random numbers. However, using quantum random numbers, it is impossible to deduce the noise in the published data "302 people have deposits over 20,000 yuan" based on known noise, thus ensuring data security.

[0098] In another specific embodiment, taking a local differential privacy data processing scenario as an example, suppose a bank's app needs to collect user usage habits and create user profiles, hoping to hide some private information. For this privacy data processing request, enhanced differential privacy Laplace noise based on quantum random numbers can be added to the statistical data. For example, if the original statistical data is "100 transactions" and "2 purchases of a certain product, amount 100", enhanced differential privacy Laplace noise based on quantum random numbers can be used to add noise to the data. First, a quantum random number 01001101010101110010101010100101 is generated, corresponding to a random number of 0.27898797843975 and an alpha of -0.22101202156025. Then, based on mu = 0, delta = 1, and epsilon = 0.1, noise is generated.

[0099] noise = 0 - 1 / 0.1 * Math.signum(-0.22101202156025) * Math.log(1 - 2 * Math.abs(-0.22101202156025)), which rounds up to 1. Therefore, according to the Laplace noise mechanism, the final output statistics are "the number of transactions is 101". Similarly, we can get the statistics "the number of times a certain product was purchased is 3, and the amount is 90".

[0100] The technical solution in this embodiment is fully applicable to existing differential privacy protection mechanisms. Whether it is global differential privacy or local differential privacy, the enhanced differential privacy Laplace noise scheme based on quantum random numbers can protect user data privacy while ensuring data availability.

[0101] Figure 4 This is a schematic diagram of a privacy data processing device provided in an embodiment of the present invention. The device is applied in an electronic device, such as... Figure 4 As shown, the device includes: a random number generation module 410, a noise generation module 420, and a noise addition module 430.

[0102] The random number generation module 410 is used to generate quantum random numbers by using a quantum random number generator and quantum physical processes as an entropy source.

[0103] The noise generation module 420 is used to substitute the quantum random number into the Laplace distribution function and obtain a random Laplace noise value by calculating the Laplace distribution function;

[0104] The noise addition module 430 is used to add the random Laplace noise value to the target privacy data.

[0105] The technical solution provided by this invention uses a quantum random number generator to generate quantum random numbers using quantum physical processes as an entropy source. The quantum random numbers are then substituted into the Laplace distribution function, and a random Laplace noise value is obtained by calculating the Laplace distribution function. This random Laplace noise value is then added to the target privacy data, which can improve the security of user privacy data.

[0106] Based on the above embodiments, the privacy data processing method is applied to both global differential privacy data processing scenarios and local differential privacy data processing scenarios.

[0107] The random number generation module 410 includes:

[0108] The string generation unit is used to generate random number strings by using a quantum random number generator and quantum physical processes as an entropy source.

[0109] The string conversion unit is used to convert the random number string into a target value within a preset value range to obtain the quantum random number;

[0110] The programming conversion unit is used to take the random number string as a seed of the built-in programming algorithm, and use the built-in programming algorithm to convert the random number string into a target value within a preset value range according to the conversion function.

[0111] The numerical mapping unit is used to process the random number string using a linear or nonlinear algorithm, and map the processing result to a target value within a preset numerical range;

[0112] The request-response unit is used to respond to a user-triggered request for processing target privacy data by generating quantum random numbers using a quantum random number generator and quantum physical processes as an entropy source.

[0113] The noise addition module 430 includes:

[0114] The data feedback unit is used to feed back the processed target privacy data to the user.

[0115] The above-described apparatus can execute the methods provided in all the foregoing embodiments of the present invention, and has the corresponding functional modules and beneficial effects for executing the above methods. Technical details not described in detail in the embodiments of the present invention can be found in the methods provided in all the foregoing embodiments of the present invention.

[0116] Figure 5 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0117] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0118] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0119] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as privacy data processing methods.

[0120] In some embodiments, the privacy data processing method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the privacy data processing method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the privacy data processing method by any other suitable means (e.g., by means of firmware).

[0121] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0122] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0123] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0124] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0125] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0126] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0127] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.

[0128] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for processing privacy data, characterized in that, The method includes: Quantum random numbers are generated by using a quantum random number generator, which utilizes quantum physical processes as an entropy source. Substituting the quantum random number into the Laplace distribution function, and then calculating the Laplace distribution function, the random Laplace noise value is obtained; The random Laplace noise value is added to the target privacy data; Quantum random numbers are generated using a quantum random number generator, which utilizes quantum physical processes as entropy sources. This includes: Random number strings are generated using a quantum random number generator, which utilizes quantum physical processes as an entropy source. The random number string is converted into a target value within a preset numerical range to obtain the quantum random number.

2. The method according to claim 1, characterized in that, Converting the random number string into a target value within a preset range includes: The random number string is used as the seed of the built-in programming algorithm, and the built-in programming algorithm is used to convert the random number string into a target value within a preset value range according to the conversion function.

3. The method according to claim 2, characterized in that, Converting the random number string into a target value within a preset range includes: The random number string is processed using a linear or nonlinear algorithm, and the processing result is mapped to a target value within a preset numerical range.

4. The method according to claim 1, characterized in that, The privacy data processing method is applied to both global differential privacy data processing scenarios and local differential privacy data processing scenarios.

5. The method according to claim 1, characterized in that, Quantum random numbers are generated using a quantum random number generator, which utilizes quantum physical processes as entropy sources. This includes: In response to a user-triggered request to process target privacy data, a quantum random number generator is used to generate quantum random numbers using quantum physical processes as an entropy source. After adding the random Laplace noise value to the target privacy data, the process also includes: The processed target privacy data will be fed back to the user.

6. A privacy data processing device, characterized in that, The device includes: The random number generation module is used to generate quantum random numbers by using a quantum random number generator and quantum physical processes as an entropy source. The noise generation module is used to substitute the quantum random number into the Laplace distribution function and obtain a random Laplace noise value by calculating the Laplace distribution function; The noise addition module is used to add the random Laplace noise value to the target privacy data; The random number generation module includes: The string generation unit is used to generate random number strings by using a quantum random number generator and quantum physical processes as an entropy source. The string conversion unit is used to convert the random number string into a target value within a preset numerical range to obtain the quantum random number.

7. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the privacy data processing method according to any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the privacy data processing method according to any one of claims 1-5.