Information processing method and device, electronic equipment, storage medium and program product
By receiving and processing data containing file data, information groups and recovery conditions, modifying the file content based on the information material indicated by text information, and restoring the modified file content when the recovery conditions are met, the problem of inflexible and poor results in the prior art is solved, and more efficient and flexible privacy information processing is achieved.
Patent Information
- Application Number
- CN202510243904.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-06-17
AI Technical Summary
In the prior art, the privacy information processing method is not flexible enough and the processing effect is poor. Users need to manually edit pictures and send different versions of pictures multiple times to achieve privacy protection.
By receiving data containing file data, information groups and recovery conditions, the file content is modified based on the information material indicated by the text information, and the modified file content is restored when the recovery conditions are met.
It improves the flexibility of private information processing, reduces the waste of data transmission resources, and improves file processing effects, avoiding the abruptness of the picture parts.
Smart Images

Figure CN120166091A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of data processing, and particularly relates to an information processing method, apparatus, electronic device, storage medium, and program product. Background Art
[0002] With the development of electronic informatization, the protection of privacy information in electronic devices has become increasingly important. When a user shares certain information in various applications (such as social applications) of an electronic device, there is a need for privacy protection of this information. For example, the user has a need for privacy protection of picture privacy information.
[0003] Currently, when a user shares a picture with other users in a chat group through a social application, if the user only wants certain users in the chat group to view the privacy information in the picture, the user can first open the editing software in the electronic device and manually edit the picture. For example, cover the privacy information in the picture in a mosaic manner, and send the edited picture to other users in the chat group, and then send the unedited picture to these certain users respectively, so as to achieve the purpose of protecting the privacy information in the picture.
[0004] However, in the above method, since the operation of manually editing the picture by the user through the editing software is cumbersome and time-consuming, and the picture obtained by simple mosaic will make the covered part of the picture rather abrupt, and the user needs to trigger the electronic device to send the picture to different users respectively, the method for processing the privacy information of the picture is not flexible enough, and the image processing effect is poor. Summary of the Invention
[0005] The purpose of the embodiments of this application is to provide an information processing method, apparatus, electronic device, storage medium, and program product, which can solve the problems that the method for processing privacy information is not flexible enough and the processing effect is poor.
[0006] In a first aspect, the embodiments of this application provide an information processing method, which is applied to a first electronic device. The method includes: receiving first data from a second electronic device, where the first data includes file data, a first information group, and a recovery condition of the file, the first information group includes first text information and first contact attribute information associated with the first text information, and the first text information is used to indicate information materials for modifying first file content in the file; modifying the first file content based on the file data and the information materials indicated by the first text information, and displaying the modified file; when the first electronic device meets the recovery condition, restoring and displaying the first file content in the modified file; where the user attribute information of the first electronic device matches the first contact attribute information.
[0007] Second aspect, an embodiment of the present application provides an information processing method, which is applied to a second electronic device. The method includes: receiving a first input to a first file content in a file; in response to the first input, sending at least one first data to at least one contact, where each first data corresponds to one contact; wherein, one first data includes data of the file, an information group, and a recovery condition of the first file content, an information group includes a text information and a contact attribute information associated with the text information, and a text information is used to indicate an information material for modifying the first file content.
[0008] Third aspect, an embodiment of the present application provides an information processing device. The information processing device includes: a receiving module, a processing module, and a display module. Among them, the receiving module is used to receive first data from a second electronic device. The first data includes data of the file, a first information group, and a recovery condition of the file. The first information group includes a first text information and a first contact attribute information associated with the first text information. The first text information is used to indicate an information material for modifying the first file content in the file. The processing module is used to modify the first file content based on the data of the file received by the receiving module and the information material indicated by the first text information. The display module is used to display the file modified by the processing module 1302. The display module is further used to, when the information processing device meets the recovery condition, restore and display the first file content in the modified file. Among them, the user attribute information to which the information processing device belongs matches the first contact attribute information.
[0009] Fourth aspect, an embodiment of the present application provides an information processing device. The information processing device includes: a receiving module and a sending module. Among them, the receiving module is used to receive a first input to a first file content in a file. The sending module is used to, in response to the first input received by the receiving module, send at least one first data to at least one contact, where each first data corresponds to one contact. Wherein, one first data includes data of the file, an information group, and a recovery condition of the first file content, an information group includes a text information and a contact attribute information associated with the text information, and a text information is used to indicate an information material for modifying the first file content.
[0010] Fifth aspect, an embodiment of the present application provides an electronic device. The electronic device includes a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, it implements the steps of the method described in the first aspect, or implements the steps of the method described in the second aspect.
[0011] In a sixth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.
[0012] In a seventh aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or instruction to implement the steps of the method described in the first aspect, or implement the steps of the method described in the second aspect.
[0013] In an eighth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to implement the steps of the method described in the first aspect, or implement the steps of the method described in the second aspect.
[0014] In the embodiment of the present application, since the first data received by the first electronic device includes the data of the file, the first information group, and the recovery condition of the file, the first electronic device can modify the first file content based on the data of the file and the information material indicated by the first text information, so that the modified file displayed includes the information material indicated by the first text information, rather than modifying the first file content based on the mosaic so that the modified file displayed includes the mosaic. Therefore, it is possible to avoid the picture part corresponding to the first file content being too prominent. Moreover, since the first electronic device can restore and display the first file content in the modified file when the first electronic device meets the recovery condition, without the first electronic device receiving the file again, the waste of data transmission resources of the first electronic device is reduced, and the processing effect of the file is improved. In this way, while improving the flexibility of the first electronic device in processing the privacy information of the file, the file processing effect is improved, and the waste of data transmission resources of the first electronic device is reduced.
[0015] In the embodiments of the present application, since the second electronic device can send a first data to each contact according to a single input of the user, and the text information and contact attribute information in the information group included in each first data can be different, and the restoration conditions for the first file content included in each first data can also be different. On the one hand, the user does not need to open the editing software in the electronic device and manually edit the file, so the user's operation can be simplified and the time consumption can be reduced. On the other hand, the electronic device corresponding to each contact can modify the first file content in the file using the information material indicated by the text information instead of using mosaics. Therefore, the picture part corresponding to the first file content can be avoided from being obtrusive. On the further hand, the user can make the electronic devices corresponding to different contacts restore and display the first file content under different restoration conditions by setting different restoration conditions for each first data. In this way, the user only needs to trigger the second electronic device to send the first data to the electronic devices corresponding to each contact once, and different contacts can view different files without triggering the second electronic device to send the file multiple times. Therefore, the waste of data transmission resources of the second electronic device can be reduced. In this way, while improving the flexibility of the second electronic device in processing the privacy information of the file, the file processing effect can be improved, and the file processing effect can be improved, and the waste of data transmission resources of the second electronic device can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is one of the schematic flowcharts of the information processing method provided by the embodiments of the present application;
[0017] Figure 2A is one of the schematic diagrams of the interface of the mobile phone provided by the embodiments of the present application;
[0018] Figure 2B is the second schematic diagram of the interface of the mobile phone provided by the embodiments of the present application;
[0019] Figure 2C is the third schematic diagram of the interface of the mobile phone provided by the embodiments of the present application;
[0020] Figure 3 is the second schematic flowchart of the information processing method provided by the embodiments of the present application;
[0021] Figure 4 is the third schematic flowchart of the information processing method provided by the embodiments of the present application;
[0022] Figure 5 is the fourth schematic diagram of the interface of the mobile phone provided by the embodiments of the present application;
[0023] Figure 6 is the fourth schematic flowchart of the information processing method provided by the embodiments of the present application;
[0024] Figure 7 It is the fifth flowchart diagram of the information processing method provided by the embodiments of the present application;
[0025] Figure 8A It is the fifth interface diagram of the mobile phone provided by the embodiments of the present application;
[0026] Figure 8B It is the sixth interface diagram of the mobile phone provided by the embodiments of the present application;
[0027] Figure 9 It is the seventh interface diagram of the mobile phone provided by the embodiments of the present application;
[0028] Figure 10A It is the eighth interface diagram of the mobile phone provided by the embodiments of the present application;
[0029] Figure 10B It is the ninth interface diagram of the mobile phone provided by the embodiments of the present application;
[0030] Figure 11A It is the tenth interface diagram of the mobile phone provided by the embodiments of the present application;
[0031] Figure 11B It is the eleventh interface diagram of the mobile phone provided by the embodiments of the present application;
[0032] Figure 11C It is the twelfth interface diagram of the mobile phone provided by the embodiments of the present application;
[0033] Figure 11D It is the thirteenth interface diagram of the mobile phone provided by the embodiments of the present application;
[0034] Figure 12 It is the fourteenth interface diagram of the mobile phone provided by the embodiments of the present application;
[0035] Figure 13 It is the fifteenth interface diagram of the mobile phone provided by the embodiments of the present application;
[0036] Figure 14A It is the sixteenth interface diagram of the mobile phone provided by the embodiments of the present application;
[0037] Figure 14B It is the seventeenth interface diagram of the mobile phone provided by the embodiments of the present application;
[0038] Figure 15A It is the eighteenth interface diagram of the mobile phone provided by the embodiments of the present application;
[0039] Figure 15B It is the nineteenth interface diagram of the mobile phone provided by the embodiments of the present application;
[0040] Figure 16It is the sixth flowchart diagram of the information processing method provided by the embodiments of the present application;
[0041] Figure 17 It is the seventh flowchart diagram of the information processing method provided by the embodiments of the present application;
[0042] Figure 18 It is one of the structural schematic diagrams of the information processing device provided by the embodiments of the present application;
[0043] Figure 19 It is the second structural schematic diagram of the information processing device provided by the embodiments of the present application;
[0044] Figure 20 It is one of the hardware structural schematic diagrams of the electronic device provided by the embodiments of the present application;
[0045] Figure 21 It is the second hardware structural schematic diagram of the electronic device provided by the embodiments of the present application. Detailed implementation manners
[0046] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.
[0047] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. generally belong to the same category, and do not limit the number of objects. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally represents an "or" relationship between the associated objects before and after.
[0048] Next, the information processing method provided by the embodiments of the present application will be described in detail in conjunction with the accompanying drawings through specific embodiments and their application scenarios.
[0049] The information processing method provided by the embodiments of the present application can be applied to an image file processing scenario, or can be applied to an audio file processing scenario, or can be applied to a video file processing scenario.
[0050] Scenario 1: Image file processing scenario
[0051] Suppose user 1 uses electronic device 1 to receive image file 1 sent by other users. The image area 1 in the image file 1 contains the identity information of other users. The image file 1 includes the data of image file 1, information group 1, and the restoration condition 1 of image area 1. The information group 1 includes text information 1 and the contact attribute information 1 associated with the text information 1. The text information 1 is used to indicate the image material for modifying the image area 1 in the image file 1. The electronic device 1 modifies the image area 1 based on the data of the image file 1 and the image material indicated by the text information 1, and displays the modified image file 1. When the electronic device 1 meets the restoration condition 1, the image area 1 in the modified image file 1 is restored, where the user attribute information to which the electronic device 1 belongs matches the contact attribute information 1. The electronic device of other users sends the image file 1 to user 1 in response to the first input made by other users to the image area 1 in the image file 1.
[0052] Scenario 2: Audio file processing scenario
[0053] Suppose user 2 uses electronic device 2 to receive audio file 2 sent by other users. The audio segment 2 in the audio file 2 contains the privacy information of other users. The audio file 2 includes the data of audio file 2, information group 2, and the restoration condition 2 of audio segment 2. The information group 2 includes text information 2 and the contact attribute information 2 associated with the text information 2. The text information 2 is used to indicate the audio material for modifying the audio segment 2 in the audio file 2. The electronic device 2 modifies the audio segment 2 based on the data of the audio file 2 and the audio material indicated by the text information 2, and displays the modified audio file 2. When the electronic device 2 meets the restoration condition 2, the audio segment 2 in the modified audio file 2 is restored, where the user attribute information to which the electronic device 2 belongs matches the contact attribute information 2. The electronic device of other users sends the audio file 2 to user 2 in response to the first input made by other users to the audio segment 2 in the audio file 2.
[0054] Scenario 3: Video file processing scenario
[0055] Suppose user 3 uses electronic device 3 to receive a video file 3 sent by another user. The video clip 3 in the video file 3 contains the privacy information of the other user. The video file 3 includes the data of the video file 3, information group 3, and the restoration condition 3 of the video clip 3. The information group 3 includes text information 3 and contact attribute information 3 associated with the text information 3. The text information 3 is used to indicate the video material used to modify the video clip 3 in the video file 3. The electronic device 3 modifies the video clip 3 based on the data of the video file 3 and the video material indicated by the text information 3, and displays the modified video file 3. When the electronic device 3 meets the restoration condition 3, the video clip 3 in the modified video file 3 is restored, where the user attribute information of the electronic device 3 matches the contact attribute information 3. The electronic device of the other user sends the video file 3 to user 3 in response to a first input made by the other user to the video clip 3 in the video file 3.
[0056] It should be noted that the above Scenarios 1 to 3 only exemplarily list some scenarios to which the embodiments of the present application may be applied. In actual implementation, the embodiments of the present application may also be applied to more scenarios, which are not limited herein.
[0057] Based on the above scenarios to which the embodiments of the present application are applied, the information processing method provided by the embodiments of the present application can automatically perform a message sending operation through the contact attribute information and text information input by the user and according to the above information.
[0058] The execution subject of the information processing method provided by the embodiments of the present application may be an information processing device, and the information processing device may be a first electronic device, or a second electronic device, or a functional module or functional entity in the first electronic device, or a functional module or functional entity in the second electronic device. Hereinafter, the first electronic device or the second electronic device is taken as an example to illustrate the technical solutions provided by the embodiments of the present application.
[0059] Figure 1 The flowchart of an information processing method provided by the embodiments of the present application is shown. As Figure 1 shown, the information processing method provided by the embodiments of the present application may include the following steps 201 to 203.
[0060] Step 201, the first electronic device receives first data from the second electronic device.
[0061] In the embodiments of the present application, the above first data includes the data of the file, the first information group, and the restoration condition of the file.
[0062] Among them, the above first information group includes first text information and first contact attribute information associated with the first text information. The first text information is used to indicate the information material used to modify the first file content in the above file.
[0063] Optionally, in the embodiments of the present application, the above file includes but is not limited to image files, text files, audio files, video files, program files, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0064] Optionally, in the embodiments of the present application, the above first file content is the file content containing privacy information in the above file.
[0065] In some examples, the above privacy information may include but is not limited to user identity information, verification information, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0066] Among them, the above user identity information includes but is not limited to the user's ID number, the user's contact information, the user's facial image, etc. The above verification information includes but is not limited to verification passwords, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0067] Optionally, in the embodiments of the present application, the above first file content includes but is not limited to partial image regions of pictures, partial paragraphs of text, partial segments of audio, partial segments of video, partial code of programs, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0068] Optionally, in the embodiments of the present application, the above first text information is specifically used to describe the information material used to modify the first file content in the file.
[0069] Optionally, in the embodiments of the present application, the above information material includes but is not limited to image files, text files, audio files, video files, program files, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0070] In some examples, when the above file is an image file, the information material can be an image file. When the above file is a text file, the information material can be a text file. When the above file is an audio file, the information material can be an audio file. When the above file is a video file, the information material can be a video file. When the above file is a program file, the information material can be a program file.
[0071] Optionally, in the embodiments of the present application, the above first contact attribute information includes, but is not limited to, the first contact name, the first contact nickname, the first contact group name, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0072] In the embodiments of the present application, the user attribute information to which the first electronic device belongs matches the first contact attribute information.
[0073] Optionally, in the embodiments of the present application, the above user attribute information includes, but is not limited to, the user name, the user nickname, the user group name, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0074] Optionally, in the embodiments of the present application, the above recovery conditions may include at least one of the following: the file reception duration is greater than the first threshold, the system time of the file recipient reaches the specified time, and the location where the file recipient is located is in the specified area.
[0075] In some examples, the above first threshold may be a threshold set by the user or a default threshold. The above specified time may be a time set by the user or a default time. The above specified area may be an area set by the user or a default area.
[0076] Thus, it can be seen that since the recovery conditions may include at least one of the file reception duration being greater than the first threshold, the system time of the file recipient reaching the specified time, and the location where the file recipient is located being in the specified area, rather than only including one condition, the first electronic device can flexibly restore and display the first file content in the file. Therefore, the flexibility of the electronic device in processing files can be improved.
[0077] Step 202: The first electronic device modifies the first file content based on the data of the file and the information material indicated by the first text information, and displays the modified file.
[0078] Optionally, in the embodiments of the present application, the first electronic device may intercept the first file content from the file through a file processing model, and fill the first information material into the position where the first file content was located before interception, so as to modify the first file content in the file and display the modified file.
[0079] Exemplarily, the first electronic device is taken as a mobile phone for illustration. As Figure 2A shown, the mobile phone displays the file management interface 9 with the received image file 14. Assume that the user attribute information of the mobile phone user is the "family member" attribute information. Combining Figure 2A , the mobile phone can modify the first file content 141 based on the data of the image file 14 and the "basketball" information material 142; the modified image file 14, asFigure 2B as shown
[0080] Exemplarily, it is assumed that the user attribute information of the user of the mobile phone is "colleague" attribute information. Combining Figure 2A , the mobile phone can modify the first file content 141 based on the data of the image file 14 and the "kitten" information material 143; the modified image file 14 is as Figure 2C shown
[0081] Step 203: When the first electronic device meets the restoration condition, the first electronic device restores and displays the first file content in the modified file
[0082] Exemplarily, in combination with the above example, it is assumed that the restoration condition is that the file reception duration is greater than the first threshold, and the first threshold is 50 minutes (min). Then, the second electronic device can restore and display the first file content in the file at a moment 50 minutes after the moment when the first data is received
[0083] Exemplarily, in combination with the above example, it is assumed that the restoration condition is that the system time of the file recipient reaches the specified time, and the specified time is 13:25. Then, the second electronic device can restore and display the first file content in the file when the system time of the file recipient reaches 13:25
[0084] Exemplarily, in combination with the above example, it is assumed that the restoration condition is that the location where the file recipient is located is within the specified area, and the specified area is Area A. Then, the second electronic device can restore and display the first file content in the file when the location where the second electronic device is located is within Area A
[0085] Optionally, in the embodiments of the present application, combining Figure 1 , as Figure 3 shown, the above step 203 can be specifically implemented by the following step 203a and step 203b
[0086] Step 203a: When the first electronic device meets the restoration condition, the first electronic device obtains the position information of the first file content in the file based on the data of the file
[0087] Optionally, in the embodiments of the present application, the position information of the first file content in the file is included in the data of the file, so that the first electronic device can directly obtain the position information of the first file content in the file from the data of the file
[0088] Step 203b: The first electronic device restores and displays the first file content in the modified file based on the first file content and the position information of the first file content in the file
[0089] It should be noted that the description of the first electronic device restoring and displaying the first file content in the file based on the first file content and the position information of the first file content in the file can refer to the specific description in the above embodiments, and will not be elaborated herein in the embodiments of the present application.
[0090] It can be understood that when the restored file is displayed, the user of the first electronic device can directly view the first file content.
[0091] Thus, it can be known that after the user uses the first electronic device to receive the first data, when it is determined that the restoration condition is met, based on the first file content and the position information of the first file content in the file, the first file content in the file is restored and displayed. Therefore, it can be ensured that the position of the first file content in the restored file does not change, and the user can directly view the first file content without the second electronic device sending the file again, thereby reducing the waste of data transmission resources of the first electronic device and improving the effect of the first electronic device restoring and displaying the file.
[0092] The embodiments of the present application provide an information processing method. The first electronic device can receive first data from the second electronic device, including the data of the file, the first information group, and the restoration condition of the file. The first information group includes the first text information and the first contact attribute information associated with the first text information. The first text information is used to indicate the information material used to modify the first file content in the file. Based on the data of the file and the information material indicated by the first text information, the first file content is modified, and the modified file is displayed. Thus, when the first electronic device meets the restoration condition, the first electronic device can restore and display the first file content in the modified file; wherein, the user attribute information of the first electronic device matches the first contact attribute information. Since the first data received by the first electronic device includes the data of the file, the first information group, and the restoration condition of the file, the first electronic device can modify the first file content based on the data of the file and the information material indicated by the first text information, so that the modified file displayed includes the information material indicated by the first text information, rather than modifying the first file content based on the mosaic so that the modified file displayed includes the mosaic. Therefore, the picture part corresponding to the first file content can be prevented from being obtrusive. Moreover, since the first electronic device can restore and display the first file content in the modified file when the first electronic device meets the restoration condition without the first electronic device receiving the file again, the waste of data transmission resources of the first electronic device is reduced, and the processing effect of the file is improved. In this way, while improving the flexibility of the first electronic device in processing the privacy information of the file, the file processing effect is improved, and the waste of data transmission resources of the first electronic device is reduced.
[0093] Optionally, in the embodiments of the present application, in combination with Figure 1 , as Figure 4 shown, before the above step 202, the information processing method provided by the embodiments of the present application may further include the following step 204, and the above step 202 may be specifically implemented by the following step 202a.
[0094] Step 204: The first electronic device generates second file content based on the information material indicated by the first text information.
[0095] Optionally, in the embodiments of the present application, the above second file content includes, but is not limited to, partial image areas of pictures, partial paragraphs of text, partial segments of audio, partial segments of video, partial code of programs, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0096] Optionally, in the embodiments of the present application, the above first text information is specifically used to describe the information material used for the first file content in the modified file. The first electronic device generates second file content based on this information material.
[0097] Step 202a: The first electronic device modifies the first file content to the second file content based on the data of the file and displays the modified file.
[0098] Optionally, in the embodiments of the present application, the first electronic device may intercept the first file content from the file through a file processing model, generate the second file content based on the first information material, and modify the first file content to the second file content and fill it in the position where the first file content was located before interception, so as to modify the first file content in the file and display the modified file.
[0099] Exemplarily, in combination with Figure 5 , the mobile phone may generate second file content based on the data of image file 14 and the information material 142 of "basketball", modify the first file content 141 to the second file content; the modified image file 14, as Figure 2B shown. It can be understood that Figure 5 is the entire content of the unmodified file. The mobile phone may modify the first file content 141 to the information material 142 of "basketball" and display the file as Figure 2B shown.
[0100] It can be seen that since the first electronic device can match the first contact attribute information based on the data of the file and the user attribute information of the user to which the first electronic device belongs, and generate the second file content based on the information material indicated by the first text information, rather than modifying the first file content in the file using a single information material, the flexibility of the method for processing the file can be improved, and the processing effect of the file can be improved.
[0101] Optionally, in the embodiments of the present application, in combination with Figure 1 , as Figure 6 shown, before the above step 202, the information processing method provided by the embodiments of the present application may further include the following step 205, and the above step 202 may be specifically implemented by the following step 202b.
[0102] Step 205: The first electronic device obtains the third file content from the first application based on the information material indicated by the first text information.
[0103] Optionally, in the embodiments of the present application, the above third file content includes but is not limited to partial image areas of pictures, partial paragraphs of texts, partial segments of audios, partial segments of videos, partial codes of programs, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0104] Optionally, in the embodiments of the present application, the application type of the above first application includes but is not limited to image storage type, text file storage type, image processing type, chat type, short video interaction type, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0105] Optionally, in the embodiments of the present application, the above first text information is specifically used to describe the information material used to modify the first file content in the file. The first electronic device obtains the third file content from the first application based on this information material.
[0106] Step 202b: The first electronic device modifies the first file content to the third file content based on the data of the file, and displays the modified file.
[0107] Optionally, in the embodiments of the present application, the first electronic device may intercept the first file content from the file through a file processing model, obtain the third file content from the first application based on the first information material, and modify the first file content to the third file content, and fill it in the position where the first file content was located before interception, so as to modify the first file content in the file, and display the modified file.
[0108] Exemplarily, in combination with Figure 5, the mobile phone can generate the third file content based on the data of the image file 14 and the "kitten" information material 143, and modify the first file content 141 to the third file content; the modified image file 14 is as Figure 2C shown.
[0109] Thus, it can be seen that since the first electronic device can match the first contact attribute information based on the data of the file and the user attribute information of the user to which the first electronic device belongs, and obtain the third file content from the first application based on the information material indicated by the first text information, rather than modifying the first file content in the file using a single information material, therefore, the security of the method for processing the file can be improved, and the processing effect of the file can be improved.
[0110] Figure 7 shows a flowchart of an information processing method provided by an embodiment of the present application. As Figure 7 shown, the information processing method provided by the embodiment of the present application may include the following steps 301 and 302.
[0111] Step 301, the second electronic device receives a first input to the first file content in the file.
[0112] In the embodiment of the present application, the above first input is used to select the file content containing privacy information in the file.
[0113] Optionally, in the embodiment of the present application, the above first input includes but is not limited to: the user performs a touch input on the second electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present application does not make a limitation.
[0114] In some examples, the above touch input may be a single click input, a double click input, or a click input of any number of times, or may also be a long press input or a short press input, etc.
[0115] In some examples, the above specific gesture may be any one of a single click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture.
[0116] For example, the first input may be a long press input by the user on the first file content.
[0117] Optionally, in the embodiment of the present application, when the second application interface is displayed, the second electronic device may, according to a click input of the user on one of the multiple file identifiers displayed in the second application interface, display the file content of the file indicated by the file identifier in the first application interface, so that the user can perform a first input on the first file content in the file.
[0118] In some examples, the above-mentioned second application interface may be an application interface in a third application. The application types of the third application include, but are not limited to, image storage, text file storage, image processing, chatting, short video interaction, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0119] In some examples, the above-mentioned file identifier may include, but is not limited to, a file icon, a file name, a file link, etc. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0120] Exemplarily, take the second electronic device as a mobile phone for illustration. As Figure 8A shown, the mobile phone displays a first application interface 10, and the first application interface 10 includes multiple file identifiers, such as file icon 11, file icon 12, and file icon 13. Thus, the user can perform a click input on one of the file icon 11, file icon 12, and file icon 13. For example, the user can perform a click input on file icon 12. As Figure 8B shown, after the user performs a click input on file icon 12, the mobile phone can display the file content of the file indicated by file icon 12 in the first application interface 10. For example, the mobile phone can display the file content of image file 14. Thus, the user can perform a first input on the first file content 141 in the image file 14. For example, the user performs a long press input on the first file content in the image file 14.
[0121] Step 302: The second electronic device responds to the first input and sends at least one first data to at least one contact.
[0122] In the embodiments of the present application, each of the at least one first data respectively corresponds to one of the at least one contacts.
[0123] Among them, one first data includes the data of the above file, an information group, and the recovery condition of the first file content. An information group includes a text information and a contact attribute information associated with the text information. The text information is used to indicate an information material for modifying the first file content.
[0124] Optionally, in the embodiments of the present application, the above recovery condition may include at least one of the following: the file reception duration is greater than a first threshold, the system time of the file recipient reaches a specified time, and the location where the file recipient is located is in a specified area.
[0125] It can be seen that since the restoration conditions can include at least one of the file reception duration being greater than the first threshold, the system time of the file recipient reaching the specified time, and the location where the file recipient is located being in the specified area, the user can flexibly set the restoration conditions according to the needs, so that other electronic devices can restore and display the first file content in the file under the user's requirements. Therefore, the flexibility of file processing of the second electronic device can be improved.
[0126] An embodiment of the present application provides an information processing method. The second electronic device can send at least one first data to at least one contact according to a first input to the first file content in the file, and each first data corresponds to one contact respectively; wherein, one first data includes the data of the file, one information group, and the restoration conditions of the first file content. The one information group includes a text message and a contact attribute information associated with the text message. The text message is used to indicate an information material for modifying the first file content. Since the second electronic device can send one first data to each contact according to a single input of the user, and the text message and the contact attribute information in the information group included in each first data can be different, and the restoration conditions of the first file content included in each first data can also be different. On the one hand, the user does not need to open the editing software in the electronic device and manually edit the file, so the user's operation can be simplified and the time consumption can be reduced. On the other hand, the electronic device corresponding to each contact can use the information material indicated by the text message to modify the first file content in the file, rather than using mosaics for modification. Therefore, the picture part corresponding to the first file content can be prevented from being obtrusive. On the further hand, the user can make the electronic devices corresponding to different contacts restore and display the first file content under different restoration conditions by setting different restoration conditions for each first data. In this way, the user only needs to trigger the second electronic device to send the first data to the electronic devices corresponding to each contact once, and different contacts can view different files, without triggering the second electronic device to send the file multiple times. Therefore, the waste of data transmission resources of the second electronic device can be reduced. In this way, while improving the flexibility of the second electronic device in processing the privacy information of the file, the effect of file processing can be improved, and the waste of data transmission resources of the second electronic device can be reduced.
[0127] Optionally, in the embodiment of the present application, before "sending at least one first data to at least one contact" in the above step 302, the information processing method provided by the embodiment of the present application may further include the following step 401 and step 402, and the above step 302 may be specifically implemented by the following step 403.
[0128] Step 401. The second electronic device displays at least one information input box in response to the first input.
[0129] Optionally, in the embodiments of the present application, each of the at least one information input box may include at least one input box, and each input box is used to input different information.
[0130] For example, each information input box may include two input boxes, where one input box is used to input text information, and the other input box is used to input contact attribute information associated with the text information.
[0131] Optionally, in the embodiments of the present application, the second electronic device may display at least one information input box floating on the file content of the above file, or the second electronic device may display at least one information input box in the blank area of the above file.
[0132] Optionally, in the embodiments of the present application, before "displaying at least one information input box" in the above step 401, the information processing method provided in the embodiments of the present application further includes the following step 501 and step 502, and the above step 401 may be specifically implemented by the following step 401a.
[0133] Step 501. The second electronic device displays a privacy information protection control in response to the first input.
[0134] In the embodiments of the present application, the above privacy information protection control is used to trigger the display of at least one information input box.
[0135] Optionally, in the embodiments of the present application, the second electronic device may display the privacy information protection control floating on the file content of the above file, or the second electronic device may display the privacy information protection control in the blank area of the above file.
[0136] Exemplarily, in combination with Figure 8B , as Figure 9 shown, after the user makes a long - press input on the first file content 141 in the image file 14, the mobile phone may display the privacy information protection control 17 floating on the file content of the image file 14 in the first application interface 10.
[0137] Step 502. The second electronic device receives a third input to the privacy information protection control.
[0138] In the embodiments of the present application, the above third input is used to confirm the privacy protection of the first file content.
[0139] Optionally, in the embodiments of the present application, the above third input includes, but is not limited to: the user performs a touch input on the second electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not make limitations.
[0140] In some examples, the above touch input can be a single click input, a double click input, or a click input of any number of times, etc., or it can also be a long press input or a short press input, etc.
[0141] In some examples, the above specific gesture can be any one of a single click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture.
[0142] For example, the third input can be a click input by the user on the privacy information protection control.
[0143] Step 401a: The second electronic device displays at least one information input box in response to the third input.
[0144] Exemplarily, in combination with Figure 9 , as Figure 10A shown, the user can perform a click input on the privacy information protection control 17. As Figure 10B shown, after the user performs a click input on the privacy information protection control 17, the mobile phone can floatingly display at least one information input box on the file content of the image file 14, such as the information input box 15 and the information input box 16. The information input box 15 includes two input boxes, such as the input box 151 and the input box 152. The input box 151 is used to input a file information, and the input box 152 is used to input the contact attribute information associated with the one text information. The information input box 16 includes two input boxes, such as the input box 161 and the input box 162. The input box 161 is used to input another file information, and the input box 162 is used to input the contact attribute information associated with the other text information.
[0145] Step 402: The second electronic device receives a fourth input to at least one information group in at least one information input box.
[0146] In the embodiments of the present application, the above at least one information input box corresponds to the above at least one information group one by one.
[0147] In the embodiments of the present application, each information group in the above at least one information group includes text information and contact attribute information associated with the text information. The above text information is used to indicate the information material used to modify the first file content.
[0148] Optionally, in the embodiments of the present application, each of the at least one information input box includes two input boxes, where one input box is used to input text information, and the other input box is used to input contact attribute information associated with the text information.
[0149] Optionally, in the embodiments of the present application, the above text information is specifically used to describe the information material used to modify the content of the first document.
[0150] In the embodiments of the present application, the fourth input is used to input text information and contact attribute information.
[0151] Optionally, in the embodiments of the present application, the fourth input includes, but is not limited to: the user touches the second electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not make limitations.
[0152] In some examples, the touch input may be a single click input, a double click input, or a click input of any number of times, etc., or may also be a long press input or a short press input, etc.
[0153] In some examples, the above specific gesture may be any one of a single click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture.
[0154] For example, the fourth input may be a touch input in which the user inputs at least one information group in at least one information input box.
[0155] Optionally, in the embodiments of the present application, the fourth input may include at least two sub - inputs, and every two sub - inputs are respectively inputs of the user for an information group.
[0156] Optionally, in the embodiments of the present application, the at least one information group includes a first information group and a second information group. The first information group includes first text information and first contact attribute information, and the second information group includes second text information and second contact attribute information. In some examples, step 402 may be specifically implemented by the following steps 402a to 402d.
[0157] Step 402a, the second electronic device receives a first sub - input of the first text information in the text description input box in the first information input box.
[0158] Optionally, in the embodiments of the present application, the text description input box is used to input the above text information.
[0159] Exemplarily, in combination with Figure 10B , such asFigure 11A As shown, the user can enter the first text information in the text description input box of the first information input box. For example, the user can enter the text information "basketball" in the input box 151 of the information input box 15.
[0160] Step 402b: The second electronic device receives a second sub-input of the first contact attribute information in the contact attribute input box of the first information input box.
[0161] Optionally, in the embodiments of the present application, the above contact attribute input box is used to input the contact attribute information associated with the text information.
[0162] Exemplarily, in combination with Figure 11A , such as Figure 11B As shown, the user can enter the first contact attribute information in the contact attribute input box of the first information input box. For example, the user can enter the text information "family member" in the input box 152 of the information input box 15.
[0163] Step 402c: The second electronic device receives a third sub-input of the second text information in the text description input box of the second information input box.
[0164] Exemplarily, in combination with Figure 11B , such as Figure 11C As shown, the user can enter the second text information in the text description input box of the second information input box. For example, the user can enter the text information "kitten" in the input box 161 of the information input box 16.
[0165] Step 402d: The second electronic device receives a fourth sub-input of the second contact attribute information in the contact attribute input box of the second information input box.
[0166] Exemplarily, in combination with Figure 11C , such as Figure 11D As shown, the user can enter the second contact attribute information in the contact attribute input box of the second information input box. For example, the user can enter the text information "colleague" in the input box 162 of the information input box 16.
[0167] Step 403: In response to the fourth input, the second electronic device sends at least one first data to at least one contact.
[0168] Optionally, in a possible implementation manner of the present application, the second electronic device can directly send the first data to the contacts corresponding to the contact attribute information in at least one information group.
[0169] Optionally, in another possible implementation of the present application, a second control is also floatingly displayed on the file content of the above file. The second control is used to confirm the input information group, so that the second electronic device can generate first data according to the click input of the user on the second control, and send the first data to the contacts corresponding to the contact attribute information in at least one information group.
[0170] Exemplarily, in combination with Figure 11D , such as Figure 12 shown, a second control, such as a "confirm" control, is also floatingly displayed on the file content of the image file 14. Thus, the user can perform a click input on the "confirm" control, so that the mobile phone can generate first data according to the click input, and send the first data to the contacts corresponding to the contact attribute information in at least one information group.
[0171] It can be seen that since the second electronic device can display at least one information input box, the user can input the text information required by the user and the contact attribute information associated with the text information in each information input box according to the needs, so that the second electronic device can accurately send the information required by the user to the electronic devices corresponding to different contacts based on the input information. Therefore, the electronic devices corresponding to different contacts can display the file in the manner required by the user accurately without the user triggering the second electronic device to resend again. In this way, the waste of transmission resources of the second electronic device can be reduced.
[0172] Optionally, in the embodiment of the present application, before "sending at least one first data to at least one contact" in the above step 403, the information processing method provided by the embodiment of the present application further includes the following step 601 and step 602, and the above step 403 can be specifically implemented by the following step 403a.
[0173] Step 601: The second electronic device displays a contact list in the second application in response to a fourth input.
[0174] In the embodiment of the present application, the above contact list includes N contact attribute identifiers, where N is a positive integer.
[0175] Optionally, in the embodiment of the present application, the above second application can be the default application of the second electronic device, or an application preset by the user, or an application selected by the user.
[0176] Optionally, in the embodiment of the present application, the above contact attribute identifier is used to indicate the above contact attribute information, and the contact attribute identifier includes but is not limited to an avatar, a name, a symbol, a nickname, etc. Specifically, it can be determined according to the actual usage requirements, and the embodiment of the present application does not limit this.
[0177] Optionally, in the embodiments of the present application, after the second electronic device generates the first data according to the click input of the user on the above-mentioned second control, the second electronic device may determine at least one contact corresponding to the contact attribute information in at least one information group from the second application, generate a contact attribute identifier corresponding to the at least one contact, and display a contact list in the second application.
[0178] Optionally, in the embodiments of the present application, the second electronic device may floatingly display a contact list on the file content of the above-mentioned file, or the second electronic device may display a contact list in the blank area of the above-mentioned file.
[0179] Exemplarily, in combination with Figure 12 , such as Figure 13 shown, after the user makes a click input on the "confirm" control to cause the mobile phone to generate the first data, the mobile phone may determine N contacts corresponding to the contact attribute information in at least one information group from the second application, for example, 3 contacts, and floatingly display a contact list 18 on the file content of the image file 14 in the first application interface 10. The contact list includes a contact avatar 19 of one of the 3 contacts, a contact avatar 20 of another one of the 3 contacts, and a contact avatar 21 of yet another one of the 3 contacts.
[0180] Optionally, in the embodiments of the present application, before the step of "displaying a contact list in the first application" in step 601, the information processing method provided by the embodiments of the present application further includes the following step 701 and step 702, and the above-mentioned step 601 may be specifically implemented by the following step 601a.
[0181] Step 701: The second electronic device responds to a fourth input and displays at least one application identifier.
[0182] Optionally, in the embodiments of the present application, the above-mentioned application identifier may include, but is not limited to, an application icon, an application name, an application link, etc. Specifically, it may be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0183] Optionally, in the embodiments of the present application, the second electronic device may first determine at least one application from multiple applications in the second electronic device, and then display at least one application identifier of the at least one application.
[0184] In some examples, at least one default application is set in the second electronic device, so that the second electronic device may directly determine the at least one default application as the above-mentioned at least one application.
[0185] In some other examples, the second electronic device may obtain application function information of each application in the second electronic device. The application function information is used to indicate functions supported by the application, and at least one application that supports the data sending function is determined from the applications in the second electronic device according to the application function information of each application.
[0186] Optionally, in the embodiments of the present application, the second electronic device may floatingly display at least one application identifier on the file content of the above file, or the second electronic device may display at least one application identifier in the blank area of the above file.
[0187] Step 702: The second electronic device receives a fifth input to the first application identifier among the at least one application identifier.
[0188] In the embodiments of the present application, the above fifth input is used to select the application identifier required by the user.
[0189] Optionally, in the embodiments of the present application, the above fifth input includes but is not limited to: the user performs a touch input on the second electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not make a limitation.
[0190] In some examples, the above touch input may be a single click input, a double click input, or a click input of any number of times, etc., or may also be a long press input or a short press input, etc.
[0191] In some examples, the above specific gesture may be any one of a single click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture.
[0192] For example, the fifth input may specifically be a click input by the user on the second application identifier.
[0193] Step 601a: In response to the fifth input, the second electronic device displays a contact list in the second application.
[0194] In the embodiments of the present application, the above second application identifier is used to indicate the above second application.
[0195] Optionally, in the embodiments of the present application, the second electronic device may obtain the above contact list from the second application and display the contact list.
[0196] It should be noted that for the description of the second electronic device displaying the contact list in the second application, reference may be made to the specific description in the above embodiments, and the embodiments of the present application will not elaborate herein.
[0197] It can be seen that since the second electronic device can first display at least one application identifier, the user can select the first application identifier from the at least one application identifier according to the needs, so that the second electronic device can only display the contact list in the second application required by the user, rather than the contact list in the applications not required by the user. Therefore, the number of contact attribute identifiers in the contact list displayed by the second electronic device can be reduced, thereby reducing the time taken for the user to determine the required contact attribute identifier from the displayed contact attribute identifiers. In this way, the usability of the second electronic device can be improved.
[0198] Step 602: The second electronic device receives a sixth input for at least one of the N contact attribute identifiers.
[0199] In the embodiment of the present application, the above sixth input is used to select the contact attribute identifier required by the user.
[0200] Optionally, in the embodiment of the present application, the above sixth input includes but is not limited to: the user performs a touch input on the second electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. Specifically, it can be determined according to the actual usage requirements, and the embodiment of the present application does not make a limitation.
[0201] In some examples, the above touch input can be a single click input, a double click input, or a click input of any number of times, or can also be a long press input or a short press input, etc.
[0202] In some examples, the above specific gesture can be any one of a single click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture.
[0203] For example, the sixth input can specifically be a drag input by the user on at least one contact attribute identifier.
[0204] Step 403a: In response to the sixth input, the second electronic device sends the first data to the contacts corresponding to at least one contact attribute identifier.
[0205] Optionally, in the embodiment of the present application, the second electronic device can send the above first data to the contacts corresponding to at least one contact attribute identifier through the second application.
[0206] It can be seen that since the second electronic device can display the contact list in the second application, the user can accurately select at least one contact attribute identifier required from the N contact attribute identifiers included in the contact list, so that the second electronic device can accurately send the first data to the contacts corresponding to at least one contact attribute identifier required, without the user having to perform multiple operations. Therefore, the operations of the user in the process of triggering the second electronic device to send the first data can be reduced and the time consumption can be reduced. Thus, the efficiency of the second electronic device in sending data can be improved.
[0207] Optionally, in the embodiment of the present application, before the above step 301, the information processing method provided by the embodiment of the present application further includes the following steps 801 to 804.
[0208] Step 801: The second electronic device receives a seventh input for the first file content.
[0209] In the embodiment of the present application, the above seventh input is used to select the file content containing privacy information in the file.
[0210] Optionally, in the embodiment of the present application, the above seventh input includes but is not limited to: the user performs a touch input on the second electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. Specifically, it can be determined according to actual usage requirements, and the embodiment of the present application does not make a limitation.
[0211] In some examples, the above touch input can be a single click input, a double click input, or a click input of any number of times, or can also be a long press input or a short press input, etc.
[0212] In some examples, the above specific gesture can be any one of a single click gesture, a slide gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture.
[0213] For example, the seventh input can be a double click input of the user on the first file content.
[0214] Step 802: The second electronic device displays a condition setting control in response to the seventh input.
[0215] In the embodiment of the present application, the condition setting control is used to set the condition for restoring the first file content in the file.
[0216] Optionally, in the embodiment of the present application, the second electronic device can display the condition setting control floating on the file content of the above file, or the second electronic device can display the condition setting control in the blank area of the above file.
[0217] Exemplarily, as Figure 14A shown, the mobile phone displays the file content of the image file 14 in the first application interface 10, so that the user can perform a seventh input on the first file content 141 in the image file 14. For example, the user double-clicks on the first file content 141 in the image file 14. As Figure 14B shown, after the user double-clicks on the first file content 141, the mobile phone can floatingly display condition setting controls, such as control 22 and control 23, on the image file 14 in the first application interface 10. Both the control 22 and the control 23 are used to set the conditions for restoring the first file content 141.
[0218] Step 803, the second electronic device receives an eighth input to the condition setting control.
[0219] In the embodiments of the present application, the above-mentioned eighth input is used to input the restoration conditions required by the user.
[0220] Optionally, in the embodiments of the present application, the above-mentioned eighth input includes but is not limited to: the user performs a touch input on the second electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not make limitations.
[0221] In some examples, the above-mentioned touch input can be a single-click input, a double-click input, or a click input of any number of times, or it can also be a long-press input or a short-press input, etc.
[0222] In some examples, the above-mentioned specific gesture can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture.
[0223] For example, the eighth input can be a touch input in which the user inputs the restoration conditions in the condition setting control.
[0224] Step 804, the second electronic device sets the restoration conditions of the first file content in response to the eighth input.
[0225] In the embodiments of the present application, the above-mentioned restoration conditions include at least one of the following: the file reception duration is greater than a first threshold, the system time of the file recipient reaches a specified time, and the location where the file recipient is located is in a specified area.
[0226] Optionally, in the embodiments of the present application, the above first threshold may be determined by the input parameters of the eighth input, the above specified time may be determined by the input parameters of the eighth input, and the specified area may be determined by the input parameters of the eighth input. Wherein, the input parameters may include at least one of the following: input position, input duration, input trajectory, input content, etc.
[0227] For example, the first threshold may be determined by the content input by the eighth input, the specified time may be determined by the content input by the eighth input, and the specified area may be determined by the area input by the eighth input.
[0228] Optionally, in the embodiments of the present application, after the second electronic device sets the recovery condition of the first file content, it may add the recovery condition to the first data. Thus, after the second electronic device sends the first data, other electronic devices may, when determining that the recovery condition is met, perform a recovery process on the first file content in the file, so that when displaying the file content, other users can view the first file content.
[0229] Exemplarily, in combination with Figure 14B , assume that the user clicks on control 22 for input. In this way, the second electronic device may display a first time input box, so that the user can enter the time required by the user, such as 50 minutes (min), in the first time input box. Furthermore, the second electronic device may set that the file reception duration is greater than 50 min as the recovery condition of the first file content.
[0230] Another exemplarily, in combination with Figure 14B , assume that the user clicks on control 22 for input. In this way, the second electronic device may display a second time input box, so that the user can enter the time required by the user, such as 13:25, in the second time input box. Furthermore, the second electronic device may set that the system time of the file recipient reaches 13:25 as the recovery condition of the first file content.
[0231] Another exemplarily, in combination with Figure 14B , assume that the user clicks on control 23 for input. In this way, the second electronic device may display a first position input box, so that the user can enter the area required by the user, such as area A, in the first position input box. Furthermore, the second electronic device may set that the location where the file recipient is located is in area A as the recovery condition of the first file content.
[0232] Optionally, in the embodiments of the present application, in combination with Figure 7 , as Figure 16 shown, the information processing method provided by the embodiments of the present application further includes the following steps 901 and 902.
[0233] Step 901: The second electronic device receives a second input for the first file content.
[0234] In the embodiments of the present application, the above second input is used to select privacy information data.
[0235] Optionally, in the embodiments of the present application, the above second input includes but is not limited to: the user performs a touch input on the second electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not make limitations.
[0236] In some examples, the above touch input can be a single - click input, a double - click input, or a click input of any number of times, etc., or it can also be a long - press input or a short - press input, etc.
[0237] In some examples, the above specific gesture can be any one of a single - click gesture, a swipe gesture, a drag gesture, a pressure - recognition gesture, a long - press gesture, an area - change gesture, a double - press gesture, and a double - click gesture.
[0238] For example, the second input can be a touch input in which the user inputs a recovery condition in a condition - setting control.
[0239] Step 902: In response to the second input, the second electronic device intercepts the first file content from the file, sets the first file content to be invisible in the above file, and stores the privacy information data in a secure space in the second electronic device.
[0240] Wherein, the above privacy information data includes at least one of the following: the first file content, the location information of the first file content in the above file.
[0241] It should be noted that, in one example, the second electronic device can first execute Step 301 and Step 302, and then execute Step 901 and Step 902; in another example, the second electronic device can first execute Step 901 and Step 902, and then execute Step 301 and Step 302. Figure 16 In the example, it is shown that the second electronic device first executes Step 301 and Step 302, and then executes Step 901 and Step 902.
[0242] It can be seen that since the second electronic device can intercept the first file content from the file according to the second input of the user to the first file content, it is possible to avoid the situation where other users can view the first file content in the file when using the second electronic device, thereby avoiding the leakage of user privacy. Moreover, since the second electronic device can store the first file content and the position information of the first file content in the file in a secure space, on the one hand, the user can directly view the first file content in the secure space, and on the other hand, when the user needs to perform a restoration process on the first file content, the second electronic device can directly perform a restoration process on the first file content according to the first file content and the position information, so that the first file content is in a visible state when the file content of the file is displayed. Therefore, it is possible to avoid the situation where the first file content cannot be restored.
[0243] Optionally, in the embodiments of the present application, before "intercepting the first file content from the file to set the first file content to be invisible in the above file" in step 902, the information processing method provided by the embodiments of the present application further includes the following steps 1001 to 1003, and step 902 can be specifically implemented by the following step 902a.
[0244] Step 1001: The second electronic device receives a ninth input to the first file content.
[0245] In the embodiments of the present application, the above ninth input is used to select the file content containing privacy information in the file.
[0246] Optionally, in the embodiments of the present application, the above ninth input includes but is not limited to: the user's touch input to the second electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not make limitations.
[0247] In some examples, the above touch input can be a single click input, a double click input, or a click input of any number of times, or it can also be a long press input or a short press input, etc.
[0248] In some examples, the above specific gesture can be any one of a single click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture.
[0249] For example, the ninth input can specifically be a click input of the user to the first file content.
[0250] Step 1002: The second electronic device displays a privacy information storage control in response to the ninth input.
[0251] In the embodiments of the present application, the above privacy information storage control is used to store the first file content.
[0252] Optionally, in the embodiments of the present application, the second electronic device may display the privacy information storage control floating on the file content of the above file, or the second electronic device may display the privacy information storage control in the blank area of the above file.
[0253] Exemplarily, as Figure 15A shown, the mobile phone displays the file content of the image file 14 in the first application interface 10, so that the user can perform a ninth input on the first file content 141 in the image file 14. For example, the user performs a click input on the first file content 141 in the image file 14. As Figure 15B shown, after the user performs a click input on the first file content 141, the mobile phone may display the privacy information storage control floating on the image file 14, such as control 24, and this control 24 is used to store the first file content 141.
[0254] Step 1003: The second electronic device receives a tenth input to the privacy information storage control.
[0255] In the embodiments of the present application, the above tenth input is used to confirm the storage of the first file content.
[0256] Optionally, in the embodiments of the present application, the above tenth input includes but is not limited to: the user performs a touch input on the second electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not make limitations.
[0257] In some examples, the above touch input may be a single click input, a double click input, or a click input of any number of times, etc., or may also be a long press input or a short press input, etc.
[0258] In some examples, the above specific gesture may be any one of a single click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture.
[0259] For example, the tenth input may specifically be a click input by the user on the privacy information storage control.
[0260] Step 902a: In response to the above tenth input, the second electronic device intercepts the first file content from the file to set the first file content to be invisible in the above file, and stores the privacy information data in the secure space in the second electronic device.
[0261] In the embodiments of the present application, the above privacy information data includes at least one of the following: the first file content, and the location information of the first file content in the file.
[0262] Optionally, in the embodiments of the present application, when the file is an image file, the location information of the first file content in the file may be the coordinate information of the area where the first file content is located in the file; when the file is a text file, the location information of the first file content in the file may be the information of the paragraph where the first file content is located in the file; when the file is an audio file or a video file, the location information of the first file content in the file may be the playback timestamp information of the first file content in the file; when the file is a program file, the location information of the first file content in the file may be the information of the code segment where the first file content is located in the file.
[0263] Optionally, in the embodiments of the present application, after the second electronic device intercepts the first file content from the file, the second electronic device may use the predetermined information material to fill the position where the first file content was located before the interception.
[0264] As can be seen, since the second electronic device can display the privacy information storage control according to the ninth input of the user to the first file content, and intercept the first file content from the file according to the tenth input of the user to the privacy information storage control, it is possible to avoid the situation that other users can view the first file content in the file when using the second electronic device, thereby avoiding the leakage of user privacy. Moreover, since the second electronic device can store the first file content and the location information of the first file content in the file in the secure space, on the one hand, the user can directly view the first file content in the secure space, and on the other hand, when the user needs to perform a recovery process on the first file content, the second electronic device can directly perform a recovery process on the first file content according to the first file content and the location information, so that the first file content is in a visible state when the file content of the file is displayed. Therefore, it is possible to avoid the situation where the first file content cannot be recovered.
[0265] Optionally, in the embodiments of the present application, after the above step 902, the information processing method provided by the embodiments of the present application further includes the following step 1101 and step 1102.
[0266] Step 1101: The second electronic device receives an eleventh input to the file.
[0267] In the embodiments of the present application, the above eleventh input is used to perform a recovery process on the first file content.
[0268] Optionally, in the embodiments of the present application, the above-mentioned eleventh input includes but is not limited to: the user's touch input on the second electronic device through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. Specifically, it can be determined according to actual usage requirements, and the embodiments of the present application do not make limitations.
[0269] In some examples, the above-mentioned touch input can be single-click input, double-click input, or click input any number of times, etc., or it can also be long-press input or short-press input, etc.
[0270] In some examples, the above-mentioned specific gesture can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture.
[0271] For example, the eleventh input can be a swipe input of a user on a predetermined trajectory of a file.
[0272] Step 1102: In response to the eleventh input, the second electronic device obtains the first file content from the secure space in the second electronic device, and restores and displays the file based on the first file content.
[0273] Optionally, in the embodiments of the present application, the second electronic device can also obtain the location information of the first file content from the secure space, and merge the first file content to the corresponding location of the file according to the location information, and restore and display the file. It can be understood that the first file content is in a visible state in the restored and displayed file.
[0274] Thus, it can be seen that since the second electronic device can directly obtain the first file content from the secure space in the second electronic device according to the eleventh input, that is, one input, and restore and display the file based on the first file content, without the user making multiple inputs, therefore, the operation of the user in the process of restoring and displaying the file can be simplified and the time consumption can be reduced. In this way, the efficiency of the second electronic device in restoring and displaying the file can be improved.
[0275] Optionally, in the embodiments of the present application, the above-mentioned privacy information data is associated with the identification identifier of the first file content, and the identification identifier of the file is the same as the identification identifier of the first file content. In some examples, the above-mentioned step 1102 can be specifically implemented by the following steps 1102a to 1102c.
[0276] Step 1102a: In response to the eleventh input, the second electronic device obtains the privacy information data associated with the identification identifier from the secure space based on the identification identifier of the file.
[0277] Optionally, in the embodiments of the present application, the above-mentioned identification identifier can specifically be an identification ID.
[0278] Optionally, in the embodiments of the present application, the second electronic device may determine, from multiple data in the secure space, the data whose associated identification identifier matches the identification identifier of the first file content as privacy information data, and obtain the privacy information data.
[0279] Step 1102b: The second electronic device obtains the first file content from the privacy information data.
[0280] Step 1102c: The second electronic device restores and displays the file based on the first file content.
[0281] It should be noted that for the description of the second electronic device restoring and displaying the file, reference may be made to the specific description in the above embodiments, and details are not described herein again in the embodiments of the present application.
[0282] Thus, since the privacy information data is associated with the identification identifier of the first file content, and the identification identifier of this file is the same as the identification identifier of the first file content. On the one hand, the second electronic device can directly obtain the privacy information data from the secure space based on the identification identifier of the file, thereby improving the accuracy of obtaining the privacy information data. On the other hand, the second electronic device does not need to associate the privacy information data with other identification identifiers, so the number of identification identifiers stored in the second electronic device can be reduced, thus saving the storage space of the second electronic device. In this way, while improving the effect of restoring and displaying the file, the storage space of the second electronic device can be saved.
[0283] Optionally, in the embodiments of the present application, in combination with Figure 16 , as Figure 17 shown, the above privacy information data is associated with the identification identifier of the above first file content, and the identification identifier of this file is the same as the identification identifier of the above first file content; after the above step 902, the information processing method provided by the embodiments of the present application may further include the following steps 1201 to 1203.
[0284] Step 1201: The second electronic device obtains, from the secure space, the privacy information data associated with the above identification identifier based on the identification identifier of the file.
[0285] Optionally, in the embodiments of the present application, the above identification identifier may specifically be an identification ID.
[0286] Optionally, in the embodiments of the present application, the second electronic device may determine, from multiple data in the secure space, the data whose associated identification identifier matches the identification identifier of the first file content as privacy information data, and obtain the privacy information data
[0287] Step 1202: The second electronic device obtains the first file content from the privacy information data.
[0288] Step 1203: The second electronic device restores and displays the above-mentioned first file content in the file based on the first file content and the position information of the first file content in the file.
[0289] It should be noted that for the description of the second electronic device restoring and displaying the file, reference can be made to the specific description in the above embodiments, and details will not be elaborated herein in the embodiments of the present application.
[0290] As can be seen, since the privacy information data is associated with the identification identifier of the first file content, and the identification identifier of this file is the same as that of the first file content. In this way, on the one hand, the second electronic device can directly obtain the privacy information data from the secure space based on the identification identifier of the file, thus improving the accuracy of obtaining the privacy information data; on the other hand, the second electronic device does not need to associate the privacy information data with other identification identifiers, so the number of identification identifiers stored in the second electronic device can be reduced, thereby saving the storage space of the second electronic device. In this way, while improving the effect of restoring and displaying the file, the storage space of the second electronic device can be saved.
[0291] In the information processing method provided by the embodiments of the present application, the execution subject can be an information processing device. In the embodiments of the present application, taking the information processing device executing the information processing method as an example, the information processing device provided by the embodiments of the present application is described.
[0292] Figure 18 FIG. shows the structural schematic diagram of the information processing device provided by the embodiments of the present application. As Figure 18 shown, the information processing device 1300 provided by the embodiments of the present application may include: a receiving module 1301, a processing module 1302, and a display module 1303.
[0293] Among them, the receiving module 1301 is configured to receive first data from the second electronic device. The first data includes file data, a first information group, and a file restoration condition. The first information group includes first text information and first contact attribute information associated with the first text information. The first text information is used to indicate the information material used to modify the first file content in the file;
[0294] The processing module 1302 is configured to modify the first file content based on the file data received by the receiving module 1301 and the information material indicated by the first text information;
[0295] The display module 1303 is configured to display the file modified by the processing module 1302;
[0296] The display module 1303 is further configured to restore and display the first file content in the modified file when the information processing device meets the restoration condition;
[0297] Among them, the user attribute information to which the information processing device belongs matches the first contact attribute information.
[0298] An embodiment of the present application provides an information processing device. Since the first data received by the information processing device includes the data of the file, the first information group, and the recovery condition of the file, the information processing device can modify the first file content based on the data of the file and the information material indicated by the first text information, so that the modified file displayed includes the information material indicated by the first text information, rather than modifying the first file content based on the mosaic so that the modified file displayed includes the mosaic. Therefore, the picture part corresponding to the first file content can be avoided from being obtrusive. Moreover, since the information processing device can restore and display the first file content in the modified file when the information processing device meets the recovery condition, without the information processing device receiving the file again, the waste of the data transmission resources of the information processing device is reduced, and the processing effect of the file is improved. In this way, while improving the flexibility of the information processing device in processing the privacy information of the file, the file processing effect can be improved, and the waste of the data transmission resources of the information processing device can be reduced.
[0299] In a possible implementation manner, the above-mentioned processing module 1302 is further configured to generate a second file content based on the information material indicated by the first text information before modifying the first file content based on the data of the file and the information material indicated by the first text information;
[0300] Specifically, the above-mentioned processing module 1302 is configured to modify the first file content into the second file content based on the data of the file.
[0301] In a possible implementation manner, the above-mentioned processing module 1302 is further configured to obtain a third file content from the first application based on the information material indicated by the first text information before modifying the first file content based on the data of the file and the information material indicated by the first text information;
[0302] Specifically, the above-mentioned processing module 1302 is configured to modify the first file content into the third file content based on the data of the file.
[0303] In a possible implementation manner, the above-mentioned display module 1303 is specifically configured to obtain the position information of the first file content in the file based on the data of the file; and restore and display the first file content in the modified file based on the first file content and the position information of the first file content in the file.
[0304] In a possible implementation, the above recovery conditions include at least one of the following: the file reception duration is greater than a first threshold, the system time of the file recipient reaches a specified time, and the location where the file recipient is located is in a specified area.
[0305] The information processing device in the embodiments of the present application may be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than a terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and may also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.
[0306] The information processing device in the embodiments of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.
[0307] The information processing device provided in the embodiments of the present application can implement each process implemented by the above information processing method embodiments. To avoid repetition, it will not be elaborated here.
[0308] Figure 19 The structural schematic diagram of the information processing device provided in the embodiments of the present application is shown. As Figure 19 shown, the information processing device 1400 provided in the embodiments of the present application may include: a receiving module 1401 and a sending module 1402.
[0309] Among them, the receiving module 1401 is configured to receive a first input to the first file content in the file;
[0310] The sending module 1402 is configured to send at least one first data to at least one contact in response to the first input received by the receiving module 1401, and each first data corresponds to a contact;
[0311] Among them, a first piece of data includes data of a file, a group of information, and a restoration condition for the content of a first file. A group of information includes a text message and a contact attribute information associated with the text message. The text message is used to indicate an information material for modifying the content of the first file.
[0312] An embodiment of the present application provides an information processing device. Since the information processing device can send a first piece of data to each contact according to a single input of the user, and the text message and contact attribute information in the group of information included in each first piece of data can be different, and the restoration condition for the content of the first file included in each first piece of data can also be different. On the one hand, the user does not need to open an editing software in the electronic device and manually edit the file, so the user's operation can be simplified and the time consumption can be reduced. On the other hand, the electronic device corresponding to each contact can use the information material indicated by the text message to modify the content of the first file in the file, rather than using mosaics for modification. Therefore, the picture part corresponding to the content of the first file can be avoided from being obtrusive. On the other hand, the user can make the electronic devices corresponding to different contacts restore and display the content of the first file under different restoration conditions by setting different restoration conditions for each first piece of data. In this way, the user only needs to trigger the information processing device to send a first piece of data to the electronic devices corresponding to each contact once, and different contacts can view different files, without triggering the information processing device to send the file multiple times. Therefore, the waste of data transmission resources of the information processing device can be reduced. In this way, while improving the flexibility of the information processing device in processing the privacy information of the file, the file processing effect can be improved, and the file processing effect can be improved, and the waste of data transmission resources of the information processing device can be reduced.
[0313] In a possible implementation manner, the above restoration condition includes at least one of the following: the file reception duration is greater than a first threshold, the system time of the file recipient reaches a specified time, and the location where the file recipient is located is in a specified area.
[0314] In a possible implementation manner, the information processing device 1400 provided by the embodiment of the present application may further include: a processing module and a storage module; the above receiving module 1401 is further configured to receive a second input for the content of the first file; the processing module is configured to intercept the content of the first file from the file in response to the second input received by the receiving module 1401 to set the content of the first file to be invisible in the file; the storage module is configured to store the privacy information data in a secure space in the information processing device;
[0315] Among them, the privacy information data includes at least one of the following: the content of the first file, the location information of the content of the first file in the file.
[0316] In a possible implementation manner, the above privacy information data is associated with the identification identifier of the first file content, and the identification identifier of the file is the same as the identification identifier of the first file content; the above processing module is further configured to, after the storage module stores the privacy information data in the secure space in the information processing device, obtain, based on the identification identifier of the file, the privacy information data associated with the identification identifier from the secure space; obtain the first file content from the privacy information data; and restore the first file content in the file based on the first file content and the position information of the first file content in the file.
[0317] The information processing device in the embodiments of the present application may be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than the terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a Mobile Internet Device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and may also be a server, a Network Attached Storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.
[0318] The information processing device in the embodiments of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems. The embodiments of the present application do not make specific limitations.
[0319] The information processing device provided in the embodiments of the present application can implement each process implemented by the above information processing method embodiments. To avoid repetition, it will not be elaborated here.
[0320] Optionally, in the embodiments of the present application, as Figure 20As shown in the figure, an embodiment of the present application further provides an electronic device 1500, which includes a processor 1501 and a memory 1502. A program or instruction that can run on the processor 1501 is stored on the memory 1502. When the program or instruction is executed by the processor 1501, each step of the above information processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be elaborated here.
[0321] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0322] Figure 21 It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application.
[0323] The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc.
[0324] Those skilled in the art can understand that the electronic device 100 may further include a power source (such as a battery) for supplying power to each component. The power source can be logically connected to the processor 110 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. Figure 21 The structure of the electronic device shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0325] In one example, the electronic device is the above-mentioned first electronic device.
[0326] Among them, the radio frequency unit 101 is used to receive first data from a second electronic device. The first data includes data of a file, a first information group, and a recovery condition of the file. The first information group includes first text information and first contact attribute information associated with the first text information. The first text information is used to indicate information materials used to modify the first file content in the file.
[0327] The processor 110 is used to modify the first file content based on the data of the file and the information materials indicated by the first text information. The display unit 106 is used to display the modified file. The display unit 106 is further used to restore and display the first file content in the modified file when the electronic device meets the recovery condition. Among them, the user attribute information of the electronic device matches the first contact attribute information.
[0328] An embodiment of the present application provides an electronic device. Since the first data received by the electronic device includes the data of a file, a first information group, and the recovery condition of the file, the electronic device can modify the first file content based on the data of the file and the information material indicated by the first text information, so that the modified file displayed includes the information material indicated by the first text information, rather than modifying the first file content based on a mosaic so that the modified file displayed includes a mosaic. Therefore, the picture part corresponding to the first file content can be avoided from being obtrusive. Moreover, since the electronic device can restore and display the first file content in the modified file when the electronic device meets the recovery condition, without the electronic device receiving the file again, the waste of the data transmission resources of the electronic device is reduced, and the processing effect of the file is improved. In this way, while improving the flexibility of the electronic device in processing the privacy information of the file, the file processing effect can be improved, and the waste of the data transmission resources of the electronic device can be reduced.
[0329] Optionally, in an embodiment of the present application, the above-mentioned processor 110 is further configured to generate a second file content based on the information material indicated by the first text information before modifying the first file content based on the data of the file and the information material indicated by the first text information; specifically, the processor 110 is configured to modify the first file content into the second file content based on the data of the file.
[0330] Optionally, in an embodiment of the present application, the above-mentioned processor 110 is further configured to obtain a third file content from a first application based on the information material indicated by the first text information before modifying the first file content based on the data of the file and the information material indicated by the first text information; specifically, the processor 110 is configured to modify the first file content into the third file content based on the data of the file.
[0331] Optionally, in an embodiment of the present application, the above-mentioned display unit 106 is specifically configured to obtain the position information of the first file content in the file based on the data of the file; and restore and display the first file content in the modified file based on the first file content and the position information of the first file content in the file.
[0332] Optionally, in an embodiment of the present application, the above-mentioned recovery condition includes at least one of the following: the file reception duration is greater than a first threshold, the system time of the file recipient reaches a specified time, and the location where the file recipient is located is in a specified area.
[0333] In another example, the electronic device is the above-mentioned second electronic device.
[0334] Among them, a user input unit 107 is configured to receive a first input to a first file content in a file; a radio frequency unit 101 is configured to send at least one first data to at least one contact in response to the first input, where each first data corresponds to one contact respectively; wherein, one first data includes data of the file, an information group, and a restoration condition of the first file content, an information group includes a text message and a contact attribute information associated with the text message, and a text message is used to indicate an information material for modifying the first file content.
[0335] An embodiment of this application provides an electronic device. Since the electronic device can send a first data to each contact according to a user's one input, and the text message and the contact attribute information in the information group included in each first data can be different, and the restoration condition of the first file content included in each first data can also be different. On the one hand, the user does not need to open an editing software in the electronic device and manually edit the file, so the user's operation can be simplified and the time consumption can be reduced. On the other hand, the electronic device corresponding to each contact can use the information material indicated by the text message to modify the first file content in the file, rather than using a mosaic for modification. Therefore, the picture part corresponding to the first file content can be avoided from being obtrusive. On the further hand, the user can set different restoration conditions for each first data, so that the electronic devices corresponding to different contacts can restore and display the first file content under different restoration conditions. In this way, the user only needs to trigger the electronic device to send the first data to the electronic devices corresponding to each contact once, and different contacts can view different files, without triggering the electronic device to send the file multiple times. Therefore, the waste of the data transmission resources of the electronic device can be reduced. In this way, while improving the flexibility of the electronic device in processing the privacy information of the file, the file processing effect can be improved, and the file processing effect can be improved, and the waste of the data transmission resources of the electronic device can be reduced.
[0336] In a possible implementation manner, the above restoration condition includes at least one of the following: the file reception duration is greater than a first threshold, the system time of the file recipient reaches a specified time, and the location where the file recipient is located is in a specified area.
[0337] In a possible implementation manner, the above user input unit 107 is further configured to receive a second input to the first file content; the above processor 110 is configured to intercept the first file content from the file in response to the second input to set the first file content to be invisible in the file; a memory 109 is configured to store privacy information data in a secure space in the electronic device; wherein, the privacy information data includes at least one of the following: the first file content, the location information of the first file content in the file.
[0338] In a possible implementation, the above privacy information data is associated with the identification identifier of the first file content, and the identification identifier of the file is the same as the identification identifier of the first file content; the above processor 110 is further configured to, after the memory 109 stores the privacy information data in the secure space in the electronic device, obtain, based on the identification identifier of the file, the privacy information data associated with the identification identifier from the secure space; obtain the first file content from the privacy information data; and restore the first file content in the file based on the first file content and the position information of the first file content in the file.
[0339] The electronic device provided in the embodiments of the present application can implement each process implemented by the above information processing method embodiments. To avoid repetition, details are not described herein again.
[0340] It should be understood that in the embodiments of the present application, the input unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042. The graphics processor 1041 processes the image data of a static picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. The other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
[0341] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synch link dynamic random access memory (SLDRAM), and a direct rambus random access memory (DRRAM). The memory 109 in the embodiments of the present application includes but is not limited to these and any other suitable types of memories.
[0342] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 110 either.
[0343] The embodiments of the present application also provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above information processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.
[0344] Among them, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media such as computer read-only memory ROM, random access memory RAM, magnetic disks or optical discs, etc.
[0345] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above information processing method embodiment, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0346] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.
[0347] The embodiments of the present application provide a computer program product. The program product is stored in a storage medium and is executed by at least one processor to implement each process of the above information processing method embodiment, and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.
[0348] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or device including that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, the features described with reference to certain examples may be combined in other examples.
[0349] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.
[0350] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific implementation manners. The above specific implementation manners are merely illustrative rather than restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.
Claims
1. An information processing method, characterized in that: Applicable to a first electronic device, comprising: receiving first data from a second electronic device, the first data including data of a file, a first information group, and a recovery condition of the file, the first information group including first text information and first contact attribute information associated with the first text information, the first text information being used to indicate information material used to modify first file content in the file; Based on the data of the file and the information material indicated by the first text information, modify the content of the first file, and display the modified file; When the first electronic device meets the restoration condition, restoring display of the first file content in the modified file; The user attribute information of the first electronic device matches the first contact attribute information.
2. The method according to claim 1, characterized in that: Before modifying the content of the first file based on the data of the file and the information material indicated by the first text information, the method further includes: generating second file content based on the information material indicated by the first text information; The modifying of the first file content based on the data of the file and the information material indicated by the first text information includes: Based on the data of the file, the first file content is modified to the second file content.
3. The method according to claim 1, characterized in that Before modifying the content of the first file based on the data of the file and the information material indicated by the first text information, the method further includes: Based on the information material indicated by the first text information, obtaining third file content from the first application; The modifying of the first file content based on the data of the file and the information material indicated by the first text information includes: Based on the data of the file, the first file content is modified to the third file content.
4. The method according to claim 1, characterized in that: The restoring and displaying the first file content in the modified file includes: Based on the data of the file, obtaining the position information of the first file content in the file; Based on the first file content and the position information of the first file content in the file, the first file content in the modified file is restored and displayed.
5. The method according to any one of claims 1 to 4, characterized in that: The recovery condition includes at least one of the following: the file receiving time is greater than a first threshold, the system time of the file receiver reaches a specified time, and the location of the file receiver is in a specified area.
6. An information processing method, characterized in that: Applicable to a second electronic device, comprising: receiving a first input of first file content in the files; In response to the first input, at least one first data is sent to at least one contact, each first data corresponds to a contact; Among them, a first data includes data of the file, an information group and a recovery condition of the first file content, the information group includes a text message and a contact attribute information associated with the text message, and the text message is used to indicate an information material used to modify the first file content.
7. The method according to claim 6, characterized in that The recovery condition includes at least one of the following: the file receiving time is greater than a first threshold, the system time of the file receiver reaches a specified time, and the location of the file receiver is in a specified area.
8. The method according to claim 6, characterized in that The method further comprises: receiving a second input of the first file content; In response to the second input, intercepting the first file content from the file to set the first file content to be invisible in the file, and storing the private information data in a secure space in the second electronic device; The privacy information data includes at least one of the following: the first file content, and the location information of the first file content in the file.
9. The method according to claim 8, characterized in that The private information data is associated with an identification mark of the first file content, and the identification mark of the file is the same as the identification mark of the first file content; After storing the private information data in the secure space of the second electronic device, the method further includes: Based on the identification of the file, obtaining private information data associated with the identification from the security space; Acquire the first file content from the private information data; The first file content in the file is restored based on the first file content and position information of the first file content in the file.
10. An information processing device, characterized in that: The information processing device comprises: a receiving module, a processing module and a display module; The receiving module is used to receive first data from a second electronic device, the first data including data of a file, a first information group and a recovery condition of the file, the first information group including first text information and first contact attribute information associated with the first text information, the first text information being used to indicate information material used to modify the first file content in the file; The processing module is used to modify the content of the first file based on the data of the file received by the receiving module and the information material indicated by the first text information; The display module is used to display the file modified by the processing module; The display module is further configured to restore and display the first file content in the modified file when the information processing device meets the restoration condition; The user attribute information to which the information processing device belongs matches the first contact attribute information.
11. An information processing device, characterized in that: The information processing device comprises: a receiving module and a sending module; The receiving module is used to receive a first input of the first file content in the file; The sending module is configured to send at least one first data to at least one contact in response to the first input received by the receiving module, each first data corresponding to one contact; Among them, a first data includes data of the file, an information group and a recovery condition of the first file content, the information group includes a text message and a contact attribute information associated with the text message, and the text message is used to indicate an information material used to modify the first file content.
12. An electronic device, characterized in that: It includes a processor and a memory, the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, it implements the steps of the information processing method as described in any one of claims 1 to 5, or implements the steps of the information processing method as described in any one of claims 6 to 9.
13. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the information processing method as described in any one of claims 1 to 5 are implemented, or the steps of the information processing method as described in any one of claims 6 to 9 are implemented.
14. A computer program product, characterized in that The program product is stored in a storage medium, and the program product is executed by at least one processor to implement the steps of the information processing method according to any one of claims 1 to 5, or to implement the steps of the information processing method according to any one of claims 6 to 9.