A privacy protection method, device, equipment and medium for smart public toilets
Processing user data in smart public toilets through anonymous user registration and dynamic encryption technology solves the problem of privacy information leakage in smart public toilets, improves the security of data transmission, and ensures the security of user privacy and property.
Patent Information
- Application Number
- CN202410954371.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-17
AI Technical Summary
Existing smart public toilets have the risk of leaking private information during data collection and use, affecting users' privacy and property security.
Anonymous user registration and dynamic encryption technology are used to collect user data through identity identifiers, and perform partial processing, mosaic coverage, public key encryption and other processing according to the data type to ensure the security of data during transmission.
It effectively improves the security of user data in public places, prevents the leakage of private information, and ensures the security of user privacy and property.
Smart Images

Figure CN118520502B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart public toilets, and in particular to a privacy protection method, device, equipment and medium for smart public toilets. Background Art
[0002] Existing smart public toilets need to collect user information when implementing their functions, such as facial information, biometric information of fingerprints or palm prints, and personal health data. In order to enable users to use them, they also need to bind the user's mobile phone, etc. More and more user data is being used and recorded. By associating these private data with various functions, users can use them more conveniently. However, if these user data are leaked, it will cause the leakage of privacy information, which is not conducive to the security of user data.
[0003] For example, to enter a smart public toilet, you need to register to use the mirror control, paper-taking service or flushing service. The registration information may involve the collection of the user's face information, fingerprint or palm print information, or mobile phone number, etc. Moreover, during the user's use of the public toilet, some of the user's health data will be collected and analyzed to remind the user of health and safety.
[0004] On the other hand, this information is also tied to the user's payment and other personal information. If this information is not protected in time, it will affect the user's property safety. In addition, personal health data is private information, and the leakage of private information will lead to the inability of individuals to develop healthily physically and mentally.
[0005] Therefore, how to improve the security of privacy data in smart public toilets is a technical problem that needs to be solved urgently. Summary of the invention
[0006] In view of the above problems, the present invention provides a privacy protection method, device, equipment and medium for a smart public toilet that overcomes the above problems or at least partially solves the above problems.
[0007] In a first aspect, the present invention provides a privacy protection method for a smart public toilet, comprising:
[0008] When the user chooses anonymous user registration, assigning an identity identifier to the anonymous user;
[0009] Based on the identity identifier, user data of anonymous users entering the smart public toilet is collected, the user data includes face information, palm print information, fingerprint information, personal health data and mobile phone parameters, and the user data is used to implement corresponding functions;
[0010] Identify the type of the user data to determine the type of the user data;
[0011] Based on the type of the user data, dynamic encryption technology is used to encrypt and transmit it.
[0012] Preferably, the user data is used to realize the paper picking function of the smart public toilet, the control function of the smart mirror, the smart flushing function, the smart health status analysis function and the smart push function.
[0013] Preferably, identifying the type of the user data to determine the type of the user data includes:
[0014] Obtaining a user data recognition model, wherein the user data recognition model is obtained by training based on historical user data and a neural network model;
[0015] Based on the user data recognition model and the user data, the type of the user data is obtained, and the type of the user data includes image type, text type and encoding type, wherein the image type includes face information image, palm print information image and fingerprint information image, the text type includes health data evaluation content, and the encoding type includes mobile phone parameters.
[0016] Preferably, the encryption processing and transmission using dynamic encryption technology based on the type of the user data include:
[0017] When the type of the user data is a face information image, pixels in a local area of the face information image are processed to obtain a locally processed face information image and transmit the locally processed face information image;
[0018] When the type of the user data is a palmprint information image or a fingerprint information image, mosaic covering is performed on a local area of the palmprint information image or the fingerprint information image to obtain a locally processed palmprint information image or fingerprint information image and transmit the same;
[0019] When the type of the user data is health data evaluation content, extracting key information from the health data evaluation content, and encrypting the key information using a public key cryptography to obtain the encrypted key information and transmit it;
[0020] When the type of the user data is mobile phone parameters, the mobile phone parameters are encoded according to a first preset rule to obtain the encoded mobile phone parameters and transmit them.
[0021] Preferably, when the type of the user data is a face information image, processing pixels in a local area of the face information image to obtain locally processed face information and transmitting the locally processed face information comprises:
[0022] When the type of the user data is facial information, pixels in a local area of the image of the facial information are shuffled according to a second preset rule to obtain locally processed facial information and transmit the locally processed facial information; or
[0023] When the type of the user data is facial information, pixels in a local area of the image of the facial information are eliminated or changed to obtain locally processed facial information and transmit it.
[0024] Preferably, when the type of the user data is health data evaluation content, extracting key information from the health data evaluation content, encrypting the key information using a public key cryptography, obtaining the encrypted key information and transmitting it, including:
[0025] When the type of the user data is health data evaluation content, extracting key information in the health data evaluation content;
[0026] Generate public and secret keys, and select basis vector matrices;
[0027] Selecting a random vector from the basis vector matrix;
[0028] Based on the public key, the secret key and the random vector, a ciphertext is calculated for the key information to obtain the encrypted key information and transmit it.
[0029] Preferably, after encrypting and transmitting the user data using a dynamic encryption technology based on the type of the user data, the method further includes:
[0030] Monitor user voice information;
[0031] Determining the sensitivity of the user voice information;
[0032] Based on the sensitivity of the user voice information, the interfering noise device is controlled to be turned on or off.
[0033] In a second aspect, the present invention further provides a privacy protection device for a smart public toilet, comprising:
[0034] An allocation module, used for allocating an identity identifier to the anonymous user when the user chooses anonymous user registration;
[0035] A collection module, used to collect user data of anonymous users entering the smart public toilet based on the identity identifier, wherein the user data includes face information, palm print information, fingerprint information, personal health data and mobile phone parameters, and the user data is used to implement corresponding functions;
[0036] An identification module, used to identify the type of the user data and determine the type of the user data;
[0037] The encryption module is used to encrypt and transmit the user data using dynamic encryption technology based on the type of the user data.
[0038] In a third aspect, the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the program.
[0039] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect.
[0040] One or more technical solutions in the embodiments of the present invention have at least the following technical effects or advantages:
[0041] The present invention provides a privacy protection method for a smart public toilet, the method comprising: when a user chooses anonymous registration, an identity identifier is assigned to the anonymous user; based on the identity identifier, user data of users entering the smart public toilet is collected, the user data includes face information, palm print information, fingerprint information, personal health data and mobile phone parameters, and the user data is used to realize corresponding functions; the type of user data is identified to determine the type of user data; based on the type of user data, dynamic encryption technology is used to perform encryption processing and transmit the data, and the user's privacy data is effectively protected by anonymously assigning an identity identifier and dynamically encrypting the user data, thereby improving the security of using the user data in public places. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Also, throughout the accompanying drawings, the same reference figures are used to represent the same components. In the drawings:
[0043] Figure 1 A schematic diagram showing the steps of the privacy protection method of a smart public toilet in an embodiment of the present invention is shown;
[0044] Figure 2 A schematic diagram showing the structure of a privacy protection device for a smart public toilet in an embodiment of the present invention is shown;
[0045] Figure 3 A structural schematic diagram of a computer device for implementing a privacy protection method for a smart public toilet in an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0046] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0047] Embodiment 1:
[0048] The embodiment of the present invention provides a privacy protection method for a smart public toilet, such as Figure 1 As shown, including:
[0049] S101, when the user selects anonymous user registration, assigning an identity identifier to the anonymous user;
[0050] S102, based on the identity identifier, collect user data entering the smart public toilet, the user data includes face information, palm print information, fingerprint information, personal health data and mobile phone parameters, the user data is used to implement the corresponding function;
[0051] S103, identifying the type of the user data and determining the type of the user data;
[0052] S104, based on the type of user data, dynamic encryption technology is used to perform encryption processing and transmission.
[0053] First, in S101, when the user selects anonymous user registration, an identity identifier is allocated to the anonymous user to facilitate data exchange when the anonymous user needs to use the identity information later.
[0054] The identity identifier specifically replaces the real user with simulated anonymous identity information, or hides the identity information of the real user to display hidden information.
[0055] These identifiers are generated by a random number generator and ensure that they cannot be reused or traced to a specific individual after each use, similar to how one-time payment tokens work.
[0056] This identifier can well protect the privacy of the user to prevent leakage of user information. Different identifiers are assigned to different users to facilitate associating the identifier with the user data collected later.
[0057] After the identity identifier is obtained, it is determined that the user has registered. Next, S102 is executed to collect user data of the anonymous user entering the smart public toilet based on the identity identifier. The user data includes face information, palm print information, fingerprint information, personal health data and mobile phone parameters. The user data is used to implement corresponding functions.
[0058] The user data here is used to realize the paper-dispensing function of the smart public toilet, the control function of the smart mirror, the smart flushing function, the smart health status analysis function and the smart push function.
[0059] In smart public toilets, there are often multiple control functions, which are often achieved by identifying the user's biological characteristics or unique identification information, such as taking paper by recognizing the face, controlling the light remote control of the smart mirror by recognizing the fingerprint or palm print, or controlling the smart flushing function by recognizing the fingerprint or palm print. There are also data promotion functions through the user's privacy data, such as sending push messages to the user's mobile phone, etc. There is also a function of smart health status analysis by collecting the user's personal health data, among which personal health data includes the user's blood pressure, electrocardiogram and urine analysis.
[0060] The acquisition of such information has a certain impact on the privacy and security of the user. Therefore, after collecting the user data of the anonymous user entering the smart public toilet, S103 is executed to identify the type of the user data and determine the type of the user data.
[0061] Since each function can be implemented using a variety of user data, it is necessary to effectively distinguish the types of collected user data. Specifically, a user data recognition model is obtained, which is trained based on historical user data and a neural network model; based on the user data recognition model and the user data, the type of user data is obtained, and the type of user data includes image type, text type and encoding type, wherein the image type includes face information image, palm print information image and fingerprint information image, the text type includes health data evaluation content, and the encoding type includes mobile phone parameters.
[0062] First, the types of user data include: face information images, palm print information images or fingerprint information images (palm prints and fingerprints are one type of information), health data evaluation content, and mobile phone parameters. The neural network model is trained by collecting a large number of historical users' historical face information images, historical palm print information images or fingerprint information images, historical health data evaluation content, and historical mobile phone parameters, thereby obtaining a user data recognition model. Among them, the neural network model is specifically CNN or RNN, which is not limited here.
[0063] At this time, the collected user data is input into the user data recognition model to obtain the type of the user data.
[0064] Next, after the type of the user data is determined, S104 is executed to encrypt and transmit the user data using a dynamic encryption technology based on the type of the user data.
[0065] Specifically, when the type of user data is a face information image, pixels in a local area of the face information image are processed to obtain a locally processed face information image and transmit it;
[0066] When the type of user data is a palmprint information image or a fingerprint information image, mosaic covering is performed on a local area of the palmprint information image or the fingerprint information image to obtain a locally processed palmprint information image or fingerprint information image and transmit it;
[0067] When the type of user data is health data assessment content, extract key information from the health data assessment content, encrypt the key information using a public key cryptography, obtain the encrypted key information and transmit it;
[0068] When the type of user data is a mobile phone parameter coding type, the mobile phone parameters are coded according to a first preset rule to obtain numbered mobile phone parameters and transmit them.
[0069] Different types of user data are dynamically encrypted in different ways:
[0070] When the type of user data is a facial information image, encryption can be performed in any of the following two ways:
[0071] First, when the type of user data is a facial information image, the pixels in a local area of the facial information image are eliminated or changed to obtain locally processed facial information and transmit it.
[0072] By eliminating or changing the pixels in a local area of the face information image, the features in the face information image are destroyed. The face information image with destroyed features has a certain degree of confidentiality due to the destroyed part. Even if it is leaked during use or transmission, the real face information image cannot be obtained.
[0073] Second, when the type of user data is a facial information image, the pixels in a local area of the facial information image are shuffled according to a second preset rule to obtain a locally processed facial information image and transmit it.
[0074] By scrambling the pixels of a partial area on the facial information image according to a second preset rule, the features in the facial information image are destroyed due to the change of pixel positions, and the facial information image after destruction is also well protected. Therefore, the real facial information image cannot be obtained even if it is leaked during subsequent use or transmission.
[0075] By using any of the above processing methods, a locally processed facial information image can be obtained and transmitted, effectively ensuring the security of user data.
[0076] When the type of user data is a palmprint information image or a fingerprint information image, mosaic covering is performed on a local area of the palmprint information image or the fingerprint information image to obtain locally processed palmprint information or fingerprint information and transmit it.
[0077] Since existing electronic devices have the ability to obtain palm print information images or fingerprint information images, it is easy to obtain this information when users touch some smart devices in the smart toilet. By using mosaics to cover the palm print information images or fingerprint information images, the characteristic parts of this information are hidden, thereby ensuring the security of user data.
[0078] When the type of user data is health data evaluation content, extract key information from the health data evaluation content; generate a public key and a secret key, and select a basis vector matrix; select a random vector from the basis vector matrix; based on the public key, the secret key and the random vector, calculate the ciphertext of the key information, obtain the encrypted key information and transmit it.
[0079] The calculation of the ciphertext is as follows:
[0080] If the key information is m, the ciphertext is:
[0081] is the public key, is a random vector, For key information, based on and Calculated, is the key, is the key.
[0082] When the type of user data is mobile phone parameters, the mobile phone parameters are encoded according to a first preset rule to obtain the encoded mobile phone parameters and transmit them.
[0083] When the mobile phone parameter is a mobile phone number, the last 4 or 8 digits of the mobile phone number can be encoded. Of course, the entire mobile phone number can also be hidden. The encoded or hidden mobile phone parameters ensure the security of user data.
[0084] Therefore, when using user data in this smart public toilet, there is no need to worry about the leakage of user data, and the security of user data will be effectively ensured.
[0085] Through the above-mentioned various dynamic encryption methods, the security of user data during transmission is achieved.
[0086] When implementing corresponding functions based on these user data, these user data need to be decrypted. Among them, various image types and encoding types are inversely operated according to their respective preset rules to eliminate interference and achieve decryption. Since the encryption rules are only known to the receiving end, even if the data is intercepted halfway, it cannot be effectively decrypted, thereby improving the security of user data.
[0087] For health data evaluation content, it can be decrypted by private key, where: ,in, Finally, by eliminating the noise, the key information is restored. , to achieve the decryption effect.
[0088] In the present invention, after obtaining the health data evaluation content of the user, it also includes: predicting the health status of the user in the future time period based on the current health data evaluation content. Among them, the time series prediction model (LSTM) is mainly trained using historical health data to obtain a health status prediction model. By inputting the health data evaluation content of the user at the current time into the health status prediction model, the health status of the user in the future time period is obtained. And continue to encrypt and transmit the prediction result to the user's client, and the transmission process is also safe. To remind the user of the risks in health.
[0089] In the actual use of smart public toilets, it not only involves the security of the collected user data, but also involves the security of the voice information accidentally leaked by the user in the smart public toilet. In order to avoid the leakage of other private information of the user, the present invention also includes: monitoring the user's voice information; judging the sensitivity of the user's voice information; and controlling the opening or closing of the interference noise device based on the sensitivity of the user's voice information.
[0090] Specifically, the built-in speaker is used as an interference noise device. When it is detected that the user's voice information has a certain sensitivity, the built-in speaker generates covering noise for the voice information to prevent eavesdropping.
[0091] On the one hand, the covering noise is used to prevent monitoring by a monitoring device, and on the other hand, the covering noise is used to prevent unintentional eavesdropping by people in the surrounding environment.
[0092] Among them, the sensitivity of the user's voice information is specifically obtained through training a sensitive voice recognition model. When the user's voice information is monitored, it is input into the sensitive voice recognition model to output the sensitivity level. When the sensitivity level is greater than a preset value, the interference noise device is directly controlled to be turned on. Of course, when the sensitivity level is less than a preset value, the interference noise device is controlled to be turned off.
[0093] The sensitive speech recognition module is specifically obtained by training with different sensitive words, such as email, address, ID number, current location, etc.
[0094] For example, when these keywords are detected, the interference noise device is directly turned on so that the specific content appearing after these keywords is directly covered and interfered with, thereby effectively preventing the leakage of user data.
[0095] In an optional embodiment, a physical intrusion monitoring method is also provided, in which a physical intrusion detection mechanism is established by setting up cameras and infrared sensing devices. When abnormal intrusion or destructive behavior is detected, an alarm is immediately sounded or maintenance personnel are notified.
[0096] Moreover, in order to improve data security, all data is encrypted and stored on a secure server, and strict access control permissions are set so that only authorized maintenance personnel can access relevant data.
[0097] One or more technical solutions in the embodiments of the present invention have at least the following technical effects or advantages:
[0098] The present invention provides a privacy protection method for a smart public toilet, the method comprising: when a user chooses anonymous registration, an identity identifier is assigned to the anonymous user; based on the identity identifier, user data of users entering the smart public toilet is collected, the user data includes face information, palm print information, fingerprint information and mobile phone parameters, and the user data is used to realize corresponding functions; the type of user data is identified and the type of user data is determined; based on the type of user data, dynamic encryption technology is used to perform encryption processing and transmit the data, and the user's privacy data is effectively protected by anonymously assigning an identity identifier and dynamically encrypting the user data, thereby improving the security of using the user data in public places.
[0099] Embodiment 2:
[0100] Based on the same inventive concept, the embodiment of the present invention also provides a privacy protection device for a smart public toilet, such as Figure 2 As shown, including:
[0101] The allocation module 201 is used to allocate an identity identifier to the anonymous user when the user chooses to register as an anonymous user;
[0102] The collection module 202 is used to collect user data of anonymous users entering the smart public toilet based on the identity identifier, wherein the user data includes face information, palm print information, fingerprint information, personal health data and mobile phone parameters, and the user data is used to implement corresponding functions;
[0103] An identification module 203, used to identify the type of the user data and determine the type of the user data;
[0104] The encryption module 204 is used to perform encryption processing and transmission based on the type of the user data using dynamic encryption technology.
[0105] In an optional implementation, the user data is used to implement the paper-taking function of the smart public toilet, the control function of the smart mirror, the smart flushing function, the smart health status analysis function and the smart push function.
[0106] In an optional implementation, the identification module 203 is used to:
[0107] Obtaining a user data recognition model, wherein the user data recognition model is obtained by training based on historical user data and a neural network model;
[0108] Based on the user data recognition model and the user data, the type of the user data is obtained, and the type of the user data includes image type, text type and encoding type, wherein the image type includes face information image, palm print information image and fingerprint information image, the text type includes health data evaluation content, and the encoding type includes mobile phone parameters.
[0109] In an optional implementation, the encryption module 204 is used to:
[0110] When the type of the user data is a face information image, pixels in a local area of the face information image are processed to obtain a locally processed face information image and transmit the locally processed face information image;
[0111] When the type of the user data is a palmprint information image or a fingerprint information image, mosaic covering is performed on a local area of the palmprint information image or the fingerprint information image to obtain locally processed palmprint information or fingerprint information and transmit the locally processed palmprint information or fingerprint information;
[0112] When the type of the user data is health data evaluation content, extracting key information from the health data evaluation content, and encrypting the key information using a public key cryptography to obtain the encrypted key information and transmit it;
[0113] When the type of the user data is mobile phone parameters, the mobile phone parameters are encoded according to a first preset rule to obtain the encoded mobile phone parameters and transmit them.
[0114] In an optional implementation, the encryption module 204 is used to:
[0115] When the type of the user data is facial information, pixels in a local area of the image of the facial information are shuffled according to a second preset rule to obtain locally processed facial information and transmit the locally processed facial information; or
[0116] When the type of the user data is facial information, pixels in a local area of the image of the facial information are eliminated or changed to obtain locally processed facial information and transmit it.
[0117] In an optional implementation, the encryption module 204 is used to:
[0118] When the type of the user data is health data evaluation content, extracting key information in the health data evaluation content;
[0119] Generate public and secret keys, and select basis vector matrices;
[0120] Selecting a random vector from the basis vector matrix;
[0121] Based on the public key, the secret key and the random vector, a ciphertext is calculated for the key information to obtain the encrypted key information and transmit it.
[0122] In an optional implementation, the system further includes an interference module, configured to:
[0123] Monitor user voice information;
[0124] Determining the sensitivity of the user voice information;
[0125] Based on the sensitivity of the user voice information, the interfering noise device is controlled to be turned on or off.
[0126] Embodiment three:
[0127] Based on the same inventive concept, an embodiment of the present invention provides a computer device, such as Figure 3 As shown, it includes a memory 304, a processor 302, and a computer program stored in the memory 304 and executable on the processor 302. When the processor 302 executes the program, the steps of the above-mentioned privacy protection method for the smart public toilet are implemented.
[0128] Among them, Figure 3In the embodiment of the present invention, a bus architecture (represented by bus 300) is shown, and bus 300 may include any number of interconnected buses and bridges, and bus 300 links various circuits including one or more processors represented by processor 302 and memory represented by memory 304. Bus 300 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 306 provides an interface between bus 300 and receiver 301 and transmitter 303. Receiver 301 and transmitter 303 may be the same element, namely a transceiver, providing a unit for communicating with various other devices on a transmission medium. Processor 302 is responsible for managing bus 300 and general processing, while memory 304 may be used to store data used by processor 302 when performing operations.
[0129] Embodiment 4:
[0130] Based on the same inventive concept, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above-mentioned privacy protection method for smart public toilets are implemented.
[0131] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description of the above specific languages is for disclosing the best mode of the present invention.
[0132] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0133] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recorded in each embodiment. More specifically, as reflected in each embodiment, the inventive aspects lie in less than all the features of the single embodiment disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0134] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. All features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device so disclosed may be combined in any combination, except that at least some of such features and / or processes or units are mutually exclusive. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature that provides the same, equivalent or similar purpose.
[0135] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in a specific embodiment, any one of the claimed embodiments may be used in any combination.
[0136] The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the privacy protection device of the smart public toilet and the computer device according to the embodiment of the present invention. The present invention may also be implemented as a device or device program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program for implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0137] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc., does not indicate any order. These words may be interpreted as names.
Claims
1. A privacy protection method for a smart public toilet, characterized in that: include: When the user chooses anonymous user registration, assigning an identity identifier to the anonymous user; Based on the identity identifier, user data of anonymous users entering the smart public toilet is collected, the user data includes face information, palm print information, fingerprint information, personal health data and mobile phone parameters, and the user data is used to implement corresponding functions; Identifying the type of the user data to determine the type of the user data includes: Obtaining a user data recognition model, wherein the user data recognition model is obtained by training based on historical user data and a neural network model; Based on the user data recognition model and the user data, the type of the user data is obtained, the type of the user data includes an image type, a text type and a coding type, wherein the image type includes a face information image, a palm print information image and a fingerprint information image, the text type includes health data evaluation content, and the coding type includes mobile phone parameters; Based on the type of the user data, dynamic encryption technology is used to encrypt and transmit the data, including: When the type of the user data is a face information image, pixels in a local area of the face information image are processed to obtain a locally processed face information image and transmit the locally processed face information image; When the type of the user data is a palmprint information image or a fingerprint information image, mosaic covering is performed on a local area of the palmprint information image or the fingerprint information image to obtain a locally processed palmprint information image or fingerprint information image and transmit the same; When the type of the user data is health data evaluation content, extracting key information from the health data evaluation content, and encrypting the key information using a public key cryptography to obtain the encrypted key information and transmit it; When the type of the user data is a mobile phone parameter, encoding the mobile phone parameter according to a first preset rule to obtain the encoded mobile phone parameter and transmit it; Monitor user voice information; Determining the sensitivity of the user voice information; Based on the sensitivity of the user voice information, the interfering noise device is controlled to be turned on or off.
2. The method according to claim 1, characterized in that The user data is used to realize the paper-taking function of the smart public toilet, the control function of the smart mirror, the smart flushing function, the smart health status analysis function and the smart push function.
3. The method according to claim 1, characterized in that When the type of the user data is a face information image, processing pixels in a local area of the face information image to obtain locally processed face information and transmitting the locally processed face information comprises: When the type of the user data is facial information, pixels in a local area of the image of the facial information are shuffled according to a second preset rule to obtain locally processed facial information and transmit the locally processed facial information; or When the type of the user data is facial information, pixels in a local area of the image of the facial information are eliminated or changed to obtain locally processed facial information and transmit it.
4. The method according to claim 1, characterized in that When the type of the user data is health data evaluation content, extracting key information from the health data evaluation content, encrypting the key information using a public key cryptography, obtaining the encrypted key information and transmitting the encrypted key information, including: When the type of the user data is health data evaluation content, extracting key information in the health data evaluation content; Generate public and secret keys, and select basis vector matrices; Selecting a random vector from the basis vector matrix; Based on the public key, the secret key and the random vector, a ciphertext is calculated for the key information to obtain the encrypted key information and transmit it.
5. A privacy protection device for a smart public toilet, characterized in that: include: An allocation module, used for allocating an identity identifier to the anonymous user when the user chooses anonymous user registration; A collection module, used to collect user data of anonymous users entering the smart public toilet based on the identity identifier, wherein the user data includes face information, palm print information, fingerprint information, personal health data and mobile phone parameters, and the user data is used to implement corresponding functions; An identification module is used to identify the type of the user data and determine the type of the user data. The identification module is used to: Obtaining a user data recognition model, wherein the user data recognition model is obtained by training based on historical user data and a neural network model; Based on the user data recognition model and the user data, the type of the user data is obtained, the type of the user data includes an image type, a text type and a coding type, wherein the image type includes a face information image, a palm print information image and a fingerprint information image, the text type includes health data evaluation content, and the coding type includes mobile phone parameters; The encryption module is used to encrypt and transmit the user data using a dynamic encryption technology based on the type of the user data. The encryption module is used to: When the type of the user data is a face information image, pixels in a local area of the face information image are processed to obtain a locally processed face information image and transmit the locally processed face information image; When the type of the user data is a palmprint information image or a fingerprint information image, mosaic covering is performed on a local area of the palmprint information image or the fingerprint information image to obtain a locally processed palmprint information image or fingerprint information image and transmit the same; When the type of the user data is health data evaluation content, extracting key information from the health data evaluation content, and encrypting the key information using a public key cryptography to obtain the encrypted key information and transmit it; When the type of the user data is a mobile phone parameter, encoding the mobile phone parameter according to a first preset rule to obtain the encoded mobile phone parameter and transmit it; Interference module for: Monitor user voice information; Determining the sensitivity of the user voice information; Based on the sensitivity of the user voice information, the interfering noise device is controlled to be turned on or off.
6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Voice information playing method and device, and terminal
CN106791024A
Privacy protection method and system for multi-modal deep learning
CN111460494A
Method and device for preventing user privacy from being leaked, voice equipment and storage medium
CN115482831A
Internet of Things data acquisition system and method based on distributed digital identity
CN117527265A
Method for generating secure identity identifier
CN118051894A
