A method, system, storage medium and program product for protecting user privacy
Through encoding and model processing of user private information, personalized reply content is generated, which solves the problem of privacy information leakage in personalized interactive services and improves information security and interaction accuracy.
Patent Information
- Application Number
- CN202311859590.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-30
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-12-30
AI Technical Summary
While providing personalized interactive services, how to protect users' private information from being leaked, especially in applications such as smart chat, smart Q&A, and voice assistants, how to avoid users' personal information being stored in clear text by the server, leading to the risk of privacy leaks .
By encoding the user's private information, the encoding vector is generated, and the trained model is used to process the encoding vector and the data input by the user to generate personalized reply content, thereby ensuring the user privacy received by the server during the interaction process. Information is no longer in clear text, preventing leakage.
While providing personalized interactive services, it can protect the security of users' private information, prevent information leakage, and improve the accuracy of user experience and interaction.
Smart Images

Figure CN118036057B
Abstract
Description
Technical Field
[0001] The present application relates to the field of information security technology, and in particular, to a method, system, storage medium and computer program product for protecting user privacy in personalized interactive services. Background Art
[0002] With the development of artificial intelligence technology, intelligent interactive services are increasingly being applied to various fields, such as role-playing intelligent chat, intelligent question and answer, intelligent customer service, voice assistants, etc. These services usually need to obtain users' personal information in order to provide users with more accurate and personalized services. How to protect user privacy information while providing personalized services has become an urgent problem to be solved.
[0003] Based on this, it is necessary to study a method and system that can protect user privacy in personalized interactive services, so as to prevent the leakage of user privacy information while realizing personalized services. Summary of the invention
[0004] To solve the above problem, one aspect of an embodiment of the present specification provides a method for protecting user privacy in a personalized interactive service, the method comprising: obtaining personal information related to the user based on first data input by the user; determining privacy information from the personal information; encoding the privacy information to obtain a coding vector corresponding to the privacy information; obtaining second data generated based on the coding vector and at least part of the information in the first data, the second data including personalized reply content corresponding to the first data.
[0005] Another aspect of an embodiment of the present specification also provides a method for protecting user privacy in a personalized interactive service, the method comprising: receiving a coding vector and at least part of information in first data input by a user, wherein the coding vector is obtained by encoding the user's private information; processing the coding vector and at least part of the information in the first data by a trained second model to obtain second data; and sending the second data to display personalized reply content corresponding to the question information contained in the first data to the user.
[0006] Another aspect of the embodiments of this specification also provides a system for protecting user privacy in personalized interactive services, the system comprising: a personal information acquisition module, used to acquire personal information related to the user based on first data input by the user; a privacy information determination module, used to determine privacy information from the personal information; an encoding module, used to encode the privacy information to obtain an encoding vector corresponding to the privacy information; and a reply content acquisition module, used to obtain second data generated based on the encoding vector and at least part of the information in the first data, the second data comprising personalized reply content corresponding to the first data.
[0007] Another aspect of an embodiment of the present specification also provides a system for protecting user privacy in personalized interactive services, the system comprising: a receiving module for receiving a coding vector and at least part of the information in first data input by a user, wherein the coding vector is obtained by encoding the user's privacy information; a processing module for processing the coding vector and at least part of the information in the first data through a trained second model to obtain second data; and a sending module for sending the second data to display personalized reply content corresponding to the question information contained in the first data to the user.
[0008] Another aspect of the embodiments of the present specification also provides a system for protecting user privacy in personalized interactive services, the system comprising: a personal information acquisition module, used to acquire personal information related to the user based on first data input by the user; a privacy information determination module, used to determine privacy information from the personal information; an encoding module, used to encode the privacy information to obtain an encoding vector corresponding to the privacy information; a processing module, used to process the encoding vector and at least part of the information in the first data through a trained second model to obtain second data, wherein the second data includes personalized reply content corresponding to the first data; and a display module, used to display the personalized reply content included in the second data to the user.
[0009] Another aspect of the embodiments of this specification further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a processor, any of the methods described above is implemented.
[0010] Another aspect of the embodiments of this specification further provides a computer program product, including a computer program or instructions, which implement any of the methods described above when executed by a processor.
[0011] Additional features will be described in part in the following description. For those skilled in the art, it will become apparent by reviewing the following and accompanying drawings, or it may be understood by the production or operation of the examples. The features of this specification may be implemented and obtained by practicing or using various aspects of the methods, tools, and combinations described in the following detailed examples. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same numbers represent the same steps or structures.
[0013] Figure 1 This is a schematic diagram of an exemplary application scenario of a system for protecting user privacy in personalized interactive services according to some embodiments of this specification.
[0014] Figure 2 It is an exemplary module diagram of a system for protecting user privacy in personalized interactive services according to some embodiments of the present specification.
[0015] Figure 3 It is an exemplary module diagram of a system for protecting user privacy in personalized interactive services according to other embodiments of the present specification.
[0016] Figure 4 It is an exemplary module diagram of a system for protecting user privacy in personalized interactive services according to other embodiments of the present specification.
[0017] Figure 5 This is an exemplary flow chart of a method for protecting user privacy in a personalized interactive service according to some embodiments of the present specification.
[0018] Figure 6 It is an exemplary flow chart of a method for protecting user privacy in personalized interactive services according to other embodiments of the present specification. DETAILED DESCRIPTION
[0019] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.
[0020] It should be understood that the "system", "device", "unit" and / or "module" used in this specification is a method for distinguishing different components, elements, parts, parts or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.
[0021] As shown in this specification and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0022] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.
[0023] Taking role-playing intelligent chat (also called personalized chat) as an example, the text data and / or voice data input by the user can be processed by the data processing model pre-configured in the user terminal 110 and / or the service terminal 120, and the user can be interacted with in different roles according to the identity set by the user. For example, the model can chat with the user as a doctor / lawyer / teacher, as an ancient character, or as a two-dimensional character (which can be a character created by the user or a character in an animation), etc. It can be understood that if the interactive product (such as a large model for question and answer) knows the user's certain real identity or character information (which can be the user's real information or the user's fictitious information), it can provide more accurate and personalized interactive services, making the chat more real, and the user will be more immersed in the interactive process, thereby achieving the purpose of improving the user experience.
[0024] For example, in some embodiments, the user terminal 110 and / or the service terminal 120 may obtain information such as the user's age, name, preferences, school of graduation, occupation, dating history, medical history, etc., and then input this information into the model. Furthermore, the model may analyze this information and conduct a question-and-answer dialogue with the user based on the analysis results.
[0025] However, from the user's perspective, they may not want to transmit their private information to the service end (eg, the service terminal 120). Therefore, it is particularly important to protect the user's privacy while using the user's real information for personalized interaction.
[0026] In response to the above problems, the embodiments of this specification provide a method and system for protecting user privacy in personalized interactive services, which encodes the user's privacy information to obtain a coding vector corresponding to the privacy information, and then obtains corresponding personalized reply content based on the coding vector. While achieving personalized interaction, the user's privacy information received by the service terminal 120 is no longer in a plain text state, thereby preventing the user's privacy information from being leaked at the service terminal 120.
[0027] The method and system for protecting user privacy in personalized interactive services provided by the embodiments of this specification are described in detail below with reference to the accompanying drawings.
[0028] Figure 1 This is a schematic diagram of an exemplary application scenario of a system for protecting user privacy in personalized interactive services according to some embodiments of this specification.
[0029] Reference Figure 1 In some embodiments, an application scenario 100 of a system for protecting user privacy in a personalized interactive service may include a user terminal 110, a service terminal 120, a storage device 130, and a network 140. The various components in the application scenario 100 may be connected in a variety of ways. For example, the user terminal 110 may be connected to the service terminal 120 and / or the storage device 130 through the network 140, or may be directly connected to the service terminal 120 and / or the storage device 130. For another example, the service terminal 120 may be connected to the storage device 130 through the network 140 or directly connected.
[0030] The user terminal 110 can receive, send, input and / or output data. Among them, the data input by the user terminal 110 may include the first data and / or operation instructions input by the user during the interaction process. In the embodiment of this specification, the aforementioned first data may refer to the interactive data input by the user during the interaction process, which may be in the form of text data, voice data, action data (such as gesture data, nodding or shaking head, blinking), etc. For example, the user can ask questions by inputting text or voice. During the interaction process, the user terminal 110 can ask the user for relevant personal information (i.e., output inquiry). At this time, the user can respond to the inquiry by inputting text, voice or performing a specified action. It should be noted that in the embodiment of this specification, the user terminal 110 can output the aforementioned inquiry in text, voice or any other feasible form.
[0031] The data sent by the user terminal 110 may include the aforementioned first data, operation instructions, or data processed based on the aforementioned first data and / or operation instructions. For example, in some embodiments, the user terminal 110 may obtain personal information related to the user based on the first data input by the user, and then determine the privacy information therefrom, and encode the privacy information to obtain the encoding vector corresponding to the privacy information, and finally, send the encoding vector and at least part of the information in the first data to the service terminal 120 for processing. For another example, in some embodiments, the user terminal 110 may extract question information from the aforementioned first data to obtain target question information, and then send a data acquisition instruction related to the target question information to the service terminal 120.
[0032] The data received by the user terminal 110 may include data sent by the service terminal 120 and / or data obtained from the storage device 130. For example, in some embodiments, the service terminal 120 may generate second data based on the aforementioned coding vector and at least part of the information in the first data, and send the second data to the user terminal 110. For another example, in some embodiments, the service terminal 120 may filter personal information related to the question information contained in the first data from the preset information input by the user based on the data acquisition instruction sent by the user terminal 110, and send the personal information to the user terminal 110. For another example, in some embodiments, the user terminal 110 may directly obtain personal information related to the target question information from the preset information stored in the storage device 130. For another example, in some embodiments, the user terminal 110 may obtain a pre-stored computer instruction from the storage device 130, and execute the computer instruction to implement the method for protecting user privacy in a personalized interactive service described in this specification.
[0033] The data output by the user terminal 110 may include the aforementioned query and second data generated based on the aforementioned coding vector and at least part of the information in the first data. It should be noted that in the embodiment of this specification, the second data may include personalized reply content corresponding to the aforementioned first data.
[0034] In some embodiments, the user terminal 110 may include a mobile device 111, a tablet computer 112, a laptop computer 113, etc., or any combination thereof. For example, the mobile device 111 may include a mobile phone, a personal digital assistant (PDA), a vehicle-mounted terminal, a dedicated mobile terminal, etc., or any combination thereof. In some embodiments, the user terminal 110 may include an input device and an output device, wherein the input device may include a keyboard, a touch screen, a microphone, a camera, etc., and the output device may include a display, a speaker, etc.
[0035] The service terminal 120 can process data and / or information obtained from the user terminal 110, the storage device 130 and / or other components of the application scenario 100. In some embodiments, the service terminal 120 can obtain the encoding vector corresponding to the aforementioned private information and at least part of the information in the aforementioned first data from the user terminal 110 or the storage device 130, and then obtain the second data by processing the encoding vector and at least part of the information in the first data. In the embodiment of this specification, the second data includes personalized reply content corresponding to the aforementioned first data. By displaying the second data to the user, a personalized reply can be made to the first data input by the user.
[0036] It should be pointed out that in the embodiment of this specification, since the second data is obtained based on the coding vector corresponding to the private information, the second data can provide the user with more accurate and personalized reply content, thereby making the human-computer interaction more realistic and the user more immersed, so as to achieve the effect of improving the user experience. At the same time, in the embodiment of this specification, by encoding the user's private information, obtaining the aforementioned coding vector and then sending it to the service terminal 120 for processing, the user's private information received by the service terminal 120 is no longer in a plaintext state, thereby preventing the user's private information from being leaked at the service terminal 120.
[0037] In some embodiments, the service terminal 120 may receive a data acquisition instruction related to the question information in the first data, and then acquire personal information related to the aforementioned question information based on the data acquisition instruction, and send the personal information to the user terminal 110. In some embodiments, the service terminal 120 may receive the target question information obtained by extracting the aforementioned first data, and then filter the personal information related to the target question information from the preset information input by the user based on the target question information, and detect whether the personal information meets the reply condition corresponding to the target question information. If it meets the condition, the personal information related to the target question information is sent; if it does not meet the condition, while sending the personal information, a query instruction is sent to query the personal information for the target question information.
[0038] In some embodiments, the service terminal 120 may obtain pre-stored computer instructions from the storage device 130 and execute the computer instructions to implement the method for protecting user privacy in a personalized interactive service described in this specification.
[0039] In some embodiments, the service terminal 120 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, the service terminal 120 may be local or remote. For example, the service terminal 120 may access information and / or data from the user terminal 110 or the storage device 130 via the network 140. For another example, the service terminal 120 may be directly connected to the user terminal 110 and / or the storage device 130 to access information and / or data. In some embodiments, the service terminal 120 may be implemented on a cloud platform. For example, a cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an inter-cloud cloud, a multi-cloud, etc., or any combination thereof.
[0040] The network 140 may facilitate the exchange of information and / or data. The network 140 may include any suitable network capable of facilitating the exchange of information and / or data of the application scenario 100. In some embodiments, at least one component of the application scenario 100 (e.g., the user terminal 110, the service terminal 120, the storage device 130) may exchange information and / or data with at least one other component in the application scenario 100 through the network 140. For example, the service terminal 120 may obtain the aforementioned encoding vector and at least part of the information in the first data from the user terminal 110 and / or the storage device 130 through the network 140. For another example, the service terminal 120 may obtain a data acquisition instruction from the user terminal 110 through the network 140, and issue personal information related to the problem information in the first data based on the data acquisition instruction. For another example, the user terminal 110 may receive second data generated based on the aforementioned encoding vector and at least part of the information in the first data through the network 140.
[0041] In some embodiments, the network 140 may be any form of wired or wireless network, or any combination thereof. As an example only, the network 140 may include a cable network, a wired network, an optical fiber network, a telecommunications network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, a near field communication (NFC) network, etc., or any combination thereof. In some embodiments, the network 140 may include at least one network access point, and at least one component of the application scenario 100 may be connected to the network 140 through the access point to exchange data and / or information.
[0042] The storage device 130 may store data, instructions and / or any other information. In some embodiments, the storage device 130 may store data obtained from the user terminal 110 and / or the service terminal 120. For example, the storage device 130 may store the first data obtained by the user terminal 110; for another example, the storage device 130 may store the encoding vector obtained by encoding the aforementioned private information; for another example, the storage device 130 may store the second data generated based on the aforementioned encoding vector and at least part of the information in the first data. In some embodiments, the storage device 130 may store the data and / or instructions used by the service terminal 120 to execute or use to complete the exemplary method described in this specification. In some embodiments, the storage device 130 may include a large-capacity memory, a removable memory, a volatile read-write memory, a read-only memory (ROM), etc., or any combination thereof. Exemplary large-capacity memory may include a magnetic disk, an optical disk, a solid-state disk, etc. In some embodiments, the storage device 130 may be implemented on a cloud platform. By way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-layer cloud, etc., or any combination thereof.
[0043] In some embodiments, the storage device 130 may be connected to the network 140 to communicate with at least one other component in the application scenario 100 (e.g., the user terminal 110, the service terminal 120). At least one component in the application scenario 100 may access data, instructions, or other information stored in the storage device 130 through the network 140. In some embodiments, the storage device 130 may be directly connected or communicated with one or more components in the application scenario 100 (e.g., the user terminal 110, the user terminal 110). In some embodiments, the storage device 130 may be part of the user terminal 110 and / or the service terminal 120.
[0044] It should be noted that the above description of the application scenario 100 is only for example and explanation, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to the application scenario 100 under the guidance of this specification. However, these modifications and changes are still within the scope of this specification. For example, the user terminal 110 and the service terminal 120 may include more or fewer functional components.
[0045] Figure 2~Figure 4 is a schematic diagram of a module of a system for protecting user privacy in a personalized interactive service according to some embodiments of this specification. Figure 2~Figure 4 The system for protecting user privacy in personalized interactive services can be applied to Figure 1The application scenario 100 shown, for example, can be configured in the form of software and / or hardware to the user terminal 110 and / or the service terminal 120 to prevent the leakage of the user's privacy information while providing personalized services.
[0046] Reference Figure 2 In some embodiments, the system 210 for protecting user privacy in personalized interactive services may include a personal information acquisition module 211, a privacy information determination module 212, an encoding module 213, and a reply content acquisition module 214. Each module may at least be used to implement the following functions.
[0047] The personal information acquisition module 211 may be used to acquire personal information related to the user based on first data input by the user.
[0048] The private information determination module 212 may be configured to determine private information from the personal information.
[0049] The encoding module 213 may be configured to perform encoding processing on the private information to obtain an encoding vector corresponding to the private information.
[0050] The reply content acquisition module 214 can be used to obtain second data generated based on the encoding vector and at least part of the information in the first data, wherein the second data includes personalized reply content corresponding to the first data.
[0051] It should be noted that, in some embodiments, Figure 2 The system 210 shown may be applied to the user terminal 110. In some embodiments, Figure 2 The illustrated system 210 may be applied to the kiosk 120 .
[0052] Reference Figure 3 In some embodiments, the system 220 for protecting user privacy in personalized interactive services may include a receiving module 221, a processing module 222, and a sending module 223. Each module may at least be used to implement the following functions.
[0053] The receiving module 221 may be configured to receive a coding vector and at least part of information in first data input by a user, wherein the coding vector is obtained by encoding private information of the user.
[0054] The processing module 222 can be used to process the encoding vector and at least part of the information in the first data through a trained second model to obtain second data.
[0055] The sending module 223 may be configured to send the second data so as to present the personalized answer content corresponding to the question information included in the first data to the user.
[0056] In some embodiments, Figure 3 The system 220 shown may be applied to the user terminal 110. In some embodiments, Figure 3 The illustrated system 220 may be applied to the kiosk 120 .
[0057] Reference Figure 4 In some embodiments, the system 230 for protecting user privacy in personalized interactive services may include a personal information acquisition module 211, a privacy information determination module 212, an encoding module 213, a processing module 222, and a display module 231. Each module may at least be used to implement the following functions.
[0058] The personal information acquisition module 211 may be used to acquire personal information related to the user based on first data input by the user.
[0059] The private information determination module 212 may be configured to determine private information from the personal information.
[0060] The encoding module 213 may be configured to perform encoding processing on the private information to obtain an encoding vector corresponding to the private information.
[0061] The processing module 222 is used to process the encoding vector and at least part of the information in the first data through a trained second model to obtain second data, where the second data includes personalized reply content corresponding to the first data.
[0062] The display module 231 is used to display the personalized reply content included in the second data to the user.
[0063] In some embodiments, the system 230 for protecting user privacy in personalized interactive services may further include a first sending module, a first receiving module, a second sending module, and a second receiving module. The first sending module may be used to send the encoding vector and at least part of the information in the first data; the first receiving module may be used to receive the encoding vector and at least part of the information in the first data; the second sending module may be used to send the second data; and the second receiving module may be used to receive the second data.
[0064] In some embodiments, the first sending module and the second receiving module may be part of the aforementioned reply content acquisition module 214. In some embodiments, the first receiving module may refer to the aforementioned receiving module 221, or the first receiving module may be regarded as a part of the aforementioned receiving module 221. Similarly, the second sending module may refer to the aforementioned sending module 223, or the second sending module may be regarded as a part of the aforementioned sending module 223.
[0065] For more details about the above modules, please refer to other places in this manual (for example Figure 5~Figure 6 part and its related description) will not be repeated here.
[0066] It should be understood that Figure 2~Figure 4 The system and its modules for protecting user privacy in personalized interactive services shown can be implemented in various ways. For example, in some embodiments, the system and its modules can be implemented by hardware, software, or a combination of software and hardware. Among them, the hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. Those skilled in the art can understand that the above methods and systems can be implemented using computer executable instructions and / or included in processor control codes, such as carrier media such as disks, CDs or DVD-ROMs, programmable memories such as read-only memories (firmware), or data carriers such as optical or electronic signal carriers. Such codes are provided on. The system and its modules of this specification can not only be implemented by hardware circuits such as ultra-large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., but can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above hardware circuits and software (for example, firmware).
[0067] It should be noted that the above description of the system for protecting user privacy in personalized interactive services is provided for illustrative purposes only and is not intended to limit the scope of this specification. It is understandable that for those skilled in the art, the various modules can be arbitrarily combined according to the description of this specification without departing from this principle, or a subsystem can be formed to connect with other modules. For example, the above-mentioned modules can be different modules in a system, or the functions of the above-mentioned two or more modules can be implemented by one module. Such variations are within the scope of protection of this specification. In some embodiments, the aforementioned modules can be part of the service terminal 120 and / or the user terminal 110.
[0068] Figure 5is an exemplary flow chart of a method for protecting user privacy in a personalized interactive service according to some embodiments of this specification. In some embodiments, method 300 may be performed by processing logic, which may include hardware (e.g., circuits, dedicated logic, programmable logic, microcode, etc.), software (instructions running on a processing device to perform hardware simulation), etc., or any combination thereof. In some embodiments, Figure 5 One or more operations in the flowchart of the method 300 for protecting user privacy in a personalized interactive service can be performed by Figure 1 The service terminal 120 and / or the user terminal 110 shown are implemented. For example, the method 300 may be stored in the storage device 130 in the form of a computer program or instruction, and called and / or executed by the service terminal 120 and / or the user terminal 110.
[0069] Reference Figure 5 In some embodiments, the method 300 for protecting user privacy in a personalized interactive service may include:
[0070] Step 310 , obtaining personal information related to the user based on the first data input by the user. In some embodiments, step 310 may be performed by the personal information obtaining module 211 .
[0071] In some embodiments, the user may input first data in the user terminal 110, and the first data may include text data and / or voice data. The user terminal 110 may process the first data, or send the first data to the service terminal 120 for processing, so as to obtain reply content corresponding to the first data. In some embodiments, the user terminal 110 and / or the service terminal 120 may generate reply content corresponding to the aforementioned first data based on the user's personal information, so that the reply content is more accurate and more in line with the user's actual needs.
[0072] In some embodiments, the personal information acquisition module 211 can filter out personal information related to the question information contained in the aforementioned first data from the preset information input by the user. Among them, the preset information input by the user can refer to the information input by the user before the interaction. For example, the user identity information entered when the user registers an account or modifies the account information; for example, the role information entered when the user sets the interactive role before starting the interaction. In some embodiments, the user can set the roles of the two parties in the interaction before starting the interaction, so as to interact in the form of role-playing.
[0073] In some embodiments, the question information contained in the first data may refer to question information extracted based on the latest data input by the user. In some embodiments, the question information contained in the first data may refer to question information extracted after comprehensive analysis of the latest data input by the user and the historical data input by the user. In some embodiments, personal information related to the question information contained in the aforementioned first data may refer to conditions that need to be considered in the process of answering the question information, which may include user information and information related to the user (such as information about the user's environment, etc.).
[0074] Exemplarily, when the question information input by the user is "I have symptoms of dizziness and nausea, what disease might I have?", the personal information related to the question information may include but is not limited to past medical history (such as heart disease, high blood pressure, etc.), eating habits (such as using certain medications that may cause dizziness and nausea, drinking, eating foods that may pose a risk of poisoning, not eating for a long time, etc.), environmental factors (such as pungent odors, high / low temperatures, altitude, etc.), recent activities (such as head impact, etc.), other symptoms (such as vomiting, headache, blurred vision, tinnitus, etc.), etc.
[0075] In some embodiments, the personal information acquisition module 211 can also extract personal information related to the question information from the aforementioned first data. The first data can refer to all data entered by the user during the interaction process, which can include one or more pieces of data entered by the user during the interaction process. In other words, in some embodiments, the personal information acquisition module 211 can extract personal information related to the question information from the current interaction data and / or historical interaction data entered by the user.
[0076] In some embodiments, the aforementioned preset information can be input through the user terminal 110 and stored locally in the user terminal 110 (for example, a storage device 130 configured locally in the user terminal 110), and the personal information acquisition module 211 extracts question information from the first data to obtain target question information. As described above, in some embodiments, the personal information acquisition module 211 can extract question information based on the latest data input by the user to obtain the target question information. In some embodiments, the personal information acquisition module 211 can also extract question information after comprehensively analyzing the latest data input by the user and the historical data input by the user to obtain the target question information. Further, the personal information acquisition module 211 can filter out personal information related to the target question information from the preset information stored locally in the user terminal 110.
[0077] In some embodiments, the personal information acquisition module 211 can filter the personal information related to the target question information through a pre-configured relationship table or model. Exemplarily, in some embodiments, the personal information related to each question (or question type) can be pre-configured, and in the subsequent process, the personal information related to the target question information can be filtered by looking up the table. In some embodiments, the similarity between the aforementioned target question information and the pre-configured preset question can be calculated, and when the similarity is greater than or equal to the preset threshold, the relevant personal information corresponding to the preset question is used as the personal information related to the target question information. In some embodiments, the aforementioned preset threshold can be set according to actual needs, for example, it can be set to 85% or other larger or smaller values.
[0078] In some embodiments, the personal information related to the target question information can also be obtained by processing a pre-trained neural network model, and the neural network model can be trained by a number of sample questions and labels corresponding to the sample questions. The labels may include the relevant personal information corresponding to the sample questions.
[0079] In some embodiments, the aforementioned preset information can be input through the user terminal 110 and then sent to the service terminal 120 (for example, a storage device 130 configured in the service terminal 120) for storage. The personal information acquisition module 211 can extract question information from the first data to obtain target question information, and then send a data acquisition instruction related to the target question information to the service terminal 120, and receive personal information related to the target question issued by the service terminal 120 based on the data acquisition instruction. It should be noted that in the embodiments of this specification, the data acquisition instruction related to the target question information can be understood as an instruction for obtaining personal information related to the target question. The instruction may include one or more pieces of personal information related to answering the target question information. In some embodiments, the data acquisition instruction can be generated based on the personal information required to answer the target question information.
[0080] In some embodiments, the personal information acquisition module 211 can extract personal information related to the aforementioned target question from the first data input by the user. For example, the user can input the first data to introduce himself during the interaction process, and the personal information acquisition module 211 can obtain the personal information related to the aforementioned target question by extracting the first data.
[0081] In some embodiments, the aforementioned first data may include data input by the user in response to the inquiry of the user terminal 110. Specifically, in some embodiments, the personal information acquisition module 211 may detect whether the personal information related to the target question information screened out from the aforementioned preset information meets the reply condition corresponding to the question information. If the personal information screened out from the preset information meets the reply condition of the target question information, it means that the reply corresponding to the target question information can be completed based on the currently screened information. At this time, subsequent processing can be performed based on the personal information related to the target question information screened out from the aforementioned preset information. On the contrary, if it is not satisfied, it means that the reply corresponding to the target question information cannot be completed based on the currently screened information (for example, the necessary conditions are missing). At this time, the user can be asked to obtain the required information, and then the personal information related to the target question information is extracted from the first data input by the user in response to the inquiry.
[0082] In some embodiments, the personal information acquisition module 211 can query through a pre-configured detection table whether the personal information related to the target question information screened out from the aforementioned preset information meets the answer condition corresponding to the question information. Specifically, in some embodiments, the detection table may include necessary information corresponding to several preset questions, and the personal information acquisition module 211 can query the preset question corresponding to the target question information in the detection table, and then compare the personal information related to the target question information screened out from the aforementioned preset information with the necessary information corresponding to the preset question, thereby determining whether the personal information related to the target question information screened out from the aforementioned preset information meets the answer condition corresponding to the question information. For example, when the personal information related to the target question information screened out from the aforementioned preset information completely covers the necessary information corresponding to the target question information, it means that the answer condition corresponding to the question information is met, otherwise it is not met.
[0083] In some embodiments, the personal information acquisition module 211 can acquire the personal information related to the question information included in the first data by sampling any of the above methods. In some embodiments, the personal information acquisition module 211 can acquire the personal information related to the question information included in the first data by acquiring the personal information from the preset information and acquiring the personal information from the first data at the same time.
[0084] Step 320 , determining private information from the personal information. In some embodiments, step 320 may be performed by the private information determination module 212 .
[0085] Through step 310, the personal information required to answer the aforementioned target question information can be obtained, but the personal information may contain some personal privacy that the user does not want to disclose. Based on this, in some embodiments of this specification, in order to protect the user's personal privacy, the privacy information that needs to be protected can be determined from the personal information obtained in step 310 by the privacy information determination module 212.
[0086] In some embodiments, the privacy information determination module 212 can determine the privacy information that needs to be protected from the aforementioned personal information by identifying sensitive words. In some embodiments, the aforementioned personal information can be displayed to the user through the user terminal 110, and the privacy information determination module 212 can determine the privacy information that needs to be protected from the aforementioned personal information in response to the user's operation. Exemplarily, in some embodiments, the user terminal 110 can display the personal information obtained in step 310 to the user through a user interface, and the user can select or deselect the privacy information that needs to be protected by means of a touch screen, key operation and / or voice. In some embodiments, the user terminal 110 can output the personal information obtained in step 310 to the user by voice, and the user can determine the privacy information that needs to be protected by means of a touch screen, key operation and / or voice.
[0087] In some embodiments, it is considered that the user may have reservations during the preset information filling and interaction process due to concerns about privacy leakage (for example, not entering all the information or not entering the real information), but when the operation reaches the step of determining the private information that needs to be protected, a certain degree of trust may be increased, so there may be a need to supplement the personal information at this time. Based on this, in order to meet the user's need to supplement personal information, in some embodiments, the private information determination module 212 can add additional information that is not included in the aforementioned personal information (i.e., the personal information determined in step 310) in response to the user's operation, and use the additional information as the private information that needs to be protected.
[0088] In some embodiments, the additional information supplemented by the user may conflict with part of the aforementioned personal information (for example, the user enters false information before supplementing the additional information). In this case, the privacy information determination module 212 can use the additional information to replace the corresponding part of the personal information determined in step 310.
[0089] In some embodiments, the additional information input by the user may be expressed in an informal way. In this case, in order to ensure that the additional information can be used normally in the subsequent process, the additional information input by the user can be semantically extracted to obtain the corresponding semantic text, and then the semantic text is used as the privacy information that needs to be protected.
[0090] Step 330 , encode the private information to obtain an encoding vector corresponding to the private information. In some embodiments, step 330 may be performed by the encoding module 213 .
[0091] In some embodiments, in order to protect the aforementioned private information and prevent it from being leaked during the application process, the private information determined in step 320 may be encoded by the encoding module 213 to obtain a coding vector corresponding to the private information. In this specification, there may be a mapping relationship between the coding vector and the aforementioned private information. In other words, the coding vector may contain the user's private information. By converting the user's private information into the coding vector and then using it, not only can the corresponding personalized reply content be generated based on the user's personal information (including the aforementioned private information) in the subsequent process, but also the user's privacy can be prevented from being leaked during use, thereby improving the accuracy and privacy security of personalized interactive services.
[0092] In some embodiments, the aforementioned encoding vector can be obtained by processing the private information determined in step 320 through a trained first model. Among them, the first model can have an embedding function (embedding function, that is, converting unstructured data such as text, images, and voice into structured vector data), which can convert the user's private information into an encoding vector. The encoding vector refers to a vector that converts the text or voice data corresponding to the aforementioned private information into a numerical representation. In some embodiments, the encoding vector can be a high-dimensional vector, which can contain features corresponding to multiple dimensions. In some embodiments, the high-dimensional vector can point to a number of quantitative parameters greater than a specific threshold, such as 50, 100, 200, 1000, etc. In some embodiments, the first model can be configured in the user terminal 110 or other third-party devices that can be recognized by the user and the product party. The training method of the first model can refer to other locations in this specification (such as step 340 and its related description), and it will not be described in detail here.
[0093] Step 340 , obtaining second data generated based on the encoding vector and at least part of the information in the first data, wherein the second data includes personalized reply content corresponding to the first data. In some embodiments, step 340 may be performed by the reply content acquisition module 214 .
[0094] After obtaining the coding vector corresponding to the user privacy information through the above steps, the reply content acquisition module 214 can obtain second data generated based on the coding vector and at least part of the information in the first data, wherein at least part of the information in the first data includes the aforementioned question information, and the second data includes personalized reply content corresponding to the question information in the first data.
[0095] In some embodiments, the second data can be obtained by processing the aforementioned coding vector and at least part of the information in the first data through a trained second model. In some embodiments, the second model can be configured in the user terminal 110 or the service terminal 120. Specifically, when the second model is configured in the user terminal 110, the reply content acquisition module 214 can process the question information contained in the coding vector and the first data locally in the user terminal 110 to obtain the second data. When the second model is configured in the service terminal 120, the reply content acquisition module 214 can send the coding vector and the question information contained in the first data to the service terminal 120, and then receive the second data obtained by the service terminal 120 based on the coding vector and the question information contained in the first data.
[0096] In the embodiments of this specification, the second model is similar to the first model and may also have an embedding function. In some embodiments, the second model may include two training stages, wherein the first training stage (also called the preliminary training stage) may be trained using a number of sample personal information (plaintext data) and sample question information. After the first training stage is completed, the second model may acquire the ability to convert sample personal information into a coding vector. In the subsequent process, the second model may be used to process the personal information that has not been encoded and the question information contained in the aforementioned first data to obtain the corresponding coding vector.
[0097] In some embodiments, after the second model completes the first training stage, the part of the second model that contains the Embedding function (i.e., the part that generates the coding vector) can be split out as the aforementioned trained first model. In some embodiments, after the second model completes the first training stage, the intermediate layer data of the second model (such as the aforementioned sample personal information and its corresponding coding vector) can be used as training data to train the aforementioned first model to obtain the trained first model. For example only, in some embodiments, the aforementioned sample personal information can be input into the first model, and the coding vector obtained by processing the sample personal information with the preliminarily trained second model is used as a label to train the first model until the preset number of iterations or loss threshold is reached, and the aforementioned trained first model can be obtained.
[0098] After the first model is trained, it can be used to encode the user's private information, thereby converting the private information into a corresponding encoding vector. Furthermore, the encoding vector output by the first model and the corresponding sample question information can be used as training data to perform secondary training on the second model, wherein the output corresponding to the encoding vector and the sample question information is the corresponding sample reply content of the two, so that the second model can obtain the ability to generate corresponding personalized reply content based on the encoding vector and the question information. In some embodiments, the second model can generate personalized reply content corresponding to the encoding vector and the question information based on the knowledge graph.
[0099] It should be pointed out that in the embodiments of this specification, by using the intermediate layer data of the second model that has been preliminarily trained as the training data of the first model, and taking the encoded vector output by the trained first model as input when performing secondary training on the second model, the second model can better learn the deviation between the first model and the second model, thereby further improving the accuracy of the second model. In some embodiments, by splitting out the part of the second model that contains the Embedding function as the first model, the output of the first model can be more closely matched with the input of the second model, thereby reducing information loss and noise. At the same time, the training efficiency and quality of the first model can also be improved, avoiding additional design and adjustment.
[0100] Figure 6 is an exemplary flow chart of a method for protecting user privacy in a personalized interactive service according to other embodiments of this specification. Similar to method 300, method 400 can be executed by processing logic. In some embodiments, Figure 6 One or more operations in the flowchart of the method 400 for protecting user privacy in a personalized interactive service can be performed by Figure 1 The service terminal 120 and / or the user terminal 110 are shown to be implemented.
[0101] Reference Figure 6 In some embodiments, the method 400 for protecting user privacy in a personalized interactive service may include:
[0102] Step 410 , receiving a coding vector and at least part of the information in the first data input by the user, wherein the coding vector is obtained by encoding the private information of the user. In some embodiments, step 410 may be performed by the receiving module 221 .
[0103] In some embodiments, step 410 may be implemented by the user terminal 110 or the service terminal 120. Specifically, when step 410 is implemented by the user terminal 110, the receiving module 221 may receive the encoding vector sent by other modules of the user terminal 110 and at least part of the information in the first data input by the user. When step 410 is implemented by the service terminal 120, the receiving module 221 may receive the encoding vector sent by the user terminal 110 and at least part of the information in the first data input by the user. According to the above content, in the embodiments of the present specification, at least part of the information in the first data includes question information. In some embodiments, the question information may be plaintext data or other processed data.
[0104] It should be noted that, in some embodiments, the data received by the receiving module 221 may include, but is not limited to, the aforementioned coding vector and the problem information contained in the first data. For example, in some embodiments, the data received by the receiving module 221 may also include personal information that is not coded by the coding module 213 but is related to the problem information in the first data.
[0105] In some embodiments, the question information contained in the first data and / or the personal information that has not been encoded by the encoding module 213 can also be encoded by the encoding module 213. In other words, the data received by the receiving module 221 can be the encoding vector obtained by encoding the question information contained in the first data and the encoding vector obtained by encoding all the personal information obtained in the above step 310.
[0106] Step 420 , processing the encoding vector and the at least part of the information in the first data by using the trained second model to obtain second data. In some embodiments, step 420 may be performed by the processing module 222 .
[0107] Similar to step 410, step 420 may be implemented by the user terminal 110 or the service terminal 120. When the step is implemented by the user terminal 110, the second model may be configured in the user terminal 110. When the step is implemented by the service terminal 120, the second model may be configured in the service terminal 120. For more information about the second model, please refer to other locations in this specification (e.g. Figure 5 Part of the discussion), which will not be repeated here.
[0108] Step 430 , sending the second data to present the personalized answer content corresponding to the question information included in the first data to the user. In some embodiments, step 430 may be performed by the sending module 223 .
[0109] In some embodiments, step 430 may be implemented by the user terminal 110. Specifically, when this step is implemented by the user terminal 110, the sending module 223 may send the second data processed by the processing module 222 to other modules (such as a display module) of the user terminal 110 to display the personalized answer content corresponding to the question information included in the aforementioned first data to the user.
[0110] In some embodiments, step 430 may also be implemented by the service terminal 120. When this step is implemented by the service terminal 120, the sending module 223 may send the second data processed by the processing module 222 to the user terminal 110, and display the personalized answer content corresponding to the question information included in the first data to the user through the user terminal 110.
[0111] In some embodiments, the above steps 310-340 may be implemented by the user terminal 110, and steps 410-430 may all be implemented by the service terminal 120. In the process of interaction between the user terminal 110 and the service terminal 120, the user terminal 110 may extract the aforementioned first data to obtain the target question information, and then send a data acquisition instruction related to the target question information to the service terminal 120. Further, the service terminal 120 may receive the data acquisition instruction, and obtain personal information related to the target question information based on the data acquisition instruction, and then send the personal information related to the target question information to the user terminal 110. Finally, the user terminal 110 may receive the personal information related to the aforementioned target question information issued by the service terminal 120 based on the data acquisition instruction.
[0112] In some embodiments, the user terminal 110 may extract the aforementioned first data to obtain target question information, and then send the target question information to the service terminal 120. Further, the service terminal 120 may receive the target question information, and based on the target question information, filter personal information related to the target question information from the preset information input by the user. Subsequently, the service terminal 120 may detect whether the personal information related to the target question information meets the corresponding reply condition. If so, the personal information related to the target question information is sent to the user terminal 110. If not, while sending the personal information related to the target question information to the user terminal 110, an inquiry instruction is sent to inquire about the personal information for the aforementioned target question information, thereby guiding the user to supplement the necessary information for answering the target question information.
[0113] It should be noted that in the embodiments of the present specification, by sending a query instruction to guide the user to supplement the necessary information for answering the target question information when it is detected that the current information does not meet the answer conditions corresponding to the target question information, the reference information can be made more comprehensive and the personalized answer content obtained in the subsequent processing process can be more accurate, thereby improving the user experience.
[0114] In summary, the beneficial effects that may be brought about by the embodiments of the present specification include but are not limited to: (1) In the method and system for protecting user privacy in personalized interactive services provided in some embodiments of the present specification, by converting the user's privacy information into the coding vector and then using it, not only can the corresponding personalized reply content be generated based on the personal information containing the user's privacy information in the subsequent process, but also the user's privacy leakage during the use of the information can be prevented, thereby improving the accuracy of personalized interactive services while improving the security of user privacy information; (2) In the method and system for protecting user privacy in personalized interactive services provided in some embodiments of the present specification, by using the intermediate layer data of the second model that has been preliminarily trained as the training data of the first model, and when the second model is trained for the second time, the coding vector output by the trained first model is used as input, so that the second model can better learn the first model. The deviation between the first model and the second model is reduced, thereby further improving the accuracy of the second model; (3) In the method and system for protecting user privacy in personalized interactive services provided in some embodiments of the present specification, by splitting the part of the second model containing the Embedding function as the first model, the output of the first model can be more matched with the input of the second model, thereby reducing information loss and noise. At the same time, the training efficiency and quality of the first model can be improved, and additional design and adjustment can be avoided; (4) In the method and system for protecting user privacy in personalized interactive services provided in some embodiments of the present specification, by sending an inquiry instruction to guide the user to supplement the necessary information for answering the target question information when it is detected that the current information does not meet the answer condition corresponding to the target question information, the reference information can be made more comprehensive and the personalized answer content obtained in the subsequent processing process can be more accurate, thereby improving the user experience.
[0115] It should be noted that different embodiments may produce different beneficial effects. In different embodiments, the beneficial effects that may be produced may be any one or a combination of the above, or may be any other possible beneficial effects.
[0116] The embodiments of this specification also provide a computer-readable storage medium, which can be used to store computer instructions. When the computer instructions are executed by a processor, the method for protecting user privacy in a personalized interactive service described in any embodiment of this specification can be implemented. For more information about the method, please refer to the above and will not be repeated here.
[0117] The embodiments of this specification also provide a computer program product, including a computer program or instructions, which, when executed by a processor, can implement the method for protecting user privacy in a personalized interactive service described in any embodiment of this specification.
[0118] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to this specification. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.
[0119] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.
[0120] In addition, it will be understood by those skilled in the art that various aspects of this specification may be illustrated and described by a number of patentable categories or situations, including any new and useful process, machine, product or combination of substances, or any new and useful improvements thereto. Accordingly, various aspects of this specification may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". In addition, various aspects of this specification may be represented as a computer product located in one or more computer-readable media, which includes computer-readable program code.
[0121] A computer storage medium may include a propagated data signal containing computer program code, for example, in baseband or as part of a carrier wave. The propagated signal may be in a variety of forms, including electromagnetic, optical, etc., or a suitable combination. A computer storage medium may be any computer-readable medium other than a computer-readable storage medium, which can be connected to an instruction execution system, device or apparatus to communicate, propagate or transmit the program for use. The program code on the computer storage medium may be transmitted via any suitable medium, including radio, cable, fiber optic cable, RF, or similar media, or any combination of the above media.
[0122] The computer program codes required for the operation of each part of this specification can be written in any one or more programming languages, including object-oriented programming languages such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET, Python, etc., conventional procedural programming languages such as C language, Visual Basic, Fortran2003, Perl, COBOL2002, PHP, ABAP, dynamic programming languages such as Python, Ruby and Groovy, or other programming languages, etc. The program code can be run entirely on the user's computer, or run on the user's computer as an independent software package, or run partly on the user's computer and partly on a remote computer, or run entirely on a remote computer or processing device. In the latter case, the remote computer can be connected to the user's computer through any network form, such as a local area network (LAN) or a wide area network (WAN), or connected to an external computer (e.g., via the Internet), or in a cloud computing environment, or used as a service such as software as a service (SaaS).
[0123] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing processing device or mobile device.
[0124] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.
[0125] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.
Claims
1. A method for protecting user privacy in personalized interactive services, It is characterized in that The method comprises: Acquire personal information related to the user based on first data input by the user; the first data includes question information; Determine private information from the personal information; Encoding the private information to obtain a coding vector corresponding to the private information; Obtaining second data generated based on the encoding vector and at least part of the information in the first data, wherein the second data includes personalized answer content corresponding to the question information in the first data; The encoding vector is obtained by processing the private information through a trained first model, and the second data is obtained by processing the encoding vector and at least part of the information in the first data through a trained second model; The trained first model is trained based on the intermediate layer data of the preliminarily trained second model, or is obtained by splitting it from the preliminarily trained second model; the trained second model is obtained by secondary training based on the output data of the trained first model.
2. The method according to claim 1, It is characterized in that The acquiring of personal information related to the user based on first data input by the user includes: The personal information related to the question information included in the first data is screened from the preset information input by the user, and / or the personal information related to the question information is extracted from the first data.
3. The method according to claim 2, It is characterized in that The preset information is input by a user terminal and stored locally on the user terminal, and the step of filtering personal information related to the problem information included in the first data from the preset information input by the user includes: Extracting question information from the first data to obtain target question information; and filtering personal information related to the target question information from the preset information.
4. The method according to claim 2, It is characterized in that The preset information is input by the user end and sent to the server end for storage. The filtering of personal information related to the problem information included in the first data from the preset information input by the user includes: The first data is extracted to obtain target problem information; and a data acquisition instruction related to the target problem information is sent to the server, and personal information related to the target problem information is received from the server based on the data acquisition instruction.
5. The method according to claim 2, It is characterized in that The step of extracting personal information related to the question information from the first data includes: Detecting whether the personal information related to the question information included in the first data, which is screened out from the preset information input by the user, meets the answer condition corresponding to the question information; If not satisfied, the user is questioned, and personal information related to the question information is extracted from the first data input by the user in response to the question.
6. The method according to claim 1, It is characterized in that Determining the private information from the personal information includes: The personal information is displayed to the user, and private information is determined from the personal information in response to the user's operation; wherein the user's operation at least includes selecting private information that needs to be protected.
7. The method according to claim 6, It is characterized in that The determining of the private information from the personal information further includes: In response to the user's operation, additional information not included in the personal information is added, and the additional information is used as privacy information that needs to be protected.
8. A method for protecting user privacy in personalized interactive services, It is characterized in that The method comprises: Receiving a coding vector and at least part of information in first data input by a user, wherein the coding vector is obtained by encoding the private information of the user; and the first data includes question information; Processing the encoding vector and at least part of the information in the first data by means of a trained second model to obtain second data; the second data includes personalized answer content corresponding to the question information in the first data; Sending the second data to display the personalized reply content to the user; The encoding vector is obtained by processing the private information through a trained first model, the trained first model is trained based on the intermediate layer data of a preliminarily trained second model or is obtained by splitting it from the preliminarily trained second model, and the trained second model is obtained by secondary training based on the output data of the trained first model.
9. The method according to claim 8, It is characterized in that Before receiving the encoding vector and at least part of the information in the first data input by the user, the method further includes: Receiving a data acquisition instruction related to the problem information; The personal information related to the question information is acquired based on the data acquisition instruction, and the personal information related to the question information is sent.
10. The method according to claim 8, It is characterized in that Before receiving the encoding vector and at least part of the information in the first data input by the user, the method further includes: Receiving target question information obtained by extracting the first data; Based on the target question information, filtering personal information related to the target question information from preset information input by the user; Detecting whether the personal information related to the target question information meets the answering conditions corresponding to the target question information; If the conditions are met, personal information related to the target question information is sent; if not met, while sending the personal information related to the target question information, an inquiry instruction is sent to inquire about the personal information for the target question information.
11. A system for protecting user privacy in personalized interactive services, It is characterized in that The system comprises: A personal information acquisition module, used to acquire personal information related to the user based on first data input by the user; the first data includes question information; A private information determination module, used to determine private information from the personal information; An encoding module, used to encode the private information to obtain an encoding vector corresponding to the private information; a reply content acquisition module, configured to obtain second data generated based on the coding vector and at least part of the information in the first data, wherein the second data includes personalized reply content corresponding to the question information in the first data; The encoding vector is obtained by processing the private information through a trained first model, and the second data is obtained by processing the encoding vector and at least part of the information in the first data through a trained second model; The trained first model is trained based on the intermediate layer data of the preliminarily trained second model, or is obtained by splitting it from the preliminarily trained second model; the trained second model is obtained by secondary training based on the output data of the trained first model.
12. A system for protecting user privacy in personalized interactive services, It is characterized in that The system comprises: A receiving module, configured to receive a coding vector and at least part of information in first data input by a user, wherein the coding vector is obtained by encoding the private information of the user; and the first data includes question information; a processing module, configured to process the encoding vector and at least part of the information in the first data by using a trained second model to obtain second data; the second data comprising personalized answer content corresponding to the question information in the first data; A sending module, configured to send the second data to display the personalized reply content to the user; The encoding vector is obtained by processing the private information through a trained first model, the trained first model is trained based on the intermediate layer data of a preliminarily trained second model or is obtained by splitting it from the preliminarily trained second model, and the trained second model is obtained by secondary training based on the output data of the trained first model.
13. A system for protecting user privacy in personalized interactive services, It is characterized in that include: A personal information acquisition module, used to acquire personal information related to the user based on first data input by the user; the first data includes question information; A private information determination module, used to determine private information from the personal information; An encoding module, used to encode the private information to obtain an encoding vector corresponding to the private information; a processing module, configured to process the encoding vector and at least part of the information in the first data by using a trained second model to obtain second data, wherein the second data includes personalized answer content corresponding to the question information in the first data; A display module, configured to display the personalized reply content included in the second data to the user; The encoding vector is obtained by processing the private information through a trained first model, the trained first model is trained based on the intermediate layer data of a preliminarily trained second model or is obtained by splitting it from the preliminarily trained second model, and the trained second model is obtained by secondary training based on the output data of the trained first model.
14. A computer-readable storage medium storing computer instructions, which implement the method according to any one of claims 1 to 10 when executed by a processor.
15. A computer program product comprising a computer program or instructions, It is characterized in that When the computer program or instruction is executed by a processor, the method described in any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Text robot response method and device, processor and storage medium
CN117216224A
