Methods and electronic devices for resource access control

By saving a copy of the image file in the electronic device and providing access options, the problem of cumbersome privacy information removal operations in the prior art is solved, realizing simplified operation and automatic removal of privacy information, thereby improving user experience and privacy security.

CN114580006BActive Publication Date: 2026-11-17BOE TECHNOLOGY GROUP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011372227.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-30
Publication Date
2026-11-17
Estimated Expiration
2040-11-30

AI Technical Summary

Technical Problem

Existing technologies make the process of removing privacy information when sharing image files cumbersome, resulting in a reduced user experience and failing to effectively prevent privacy leaks.

Method used

A resource access control method is provided that allows users to choose to access the original resource or the copy by saving a copy of the target resource and providing access options, thereby simplifying the operation process and enabling the automatic removal and copy saving of privacy information in electronic devices.

Benefits of technology

It simplifies the user operation process, improves the user experience, and effectively avoids the repeated removal of privacy information, ensuring the security of privacy information during the sharing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114580006B_ABST
    Figure CN114580006B_ABST
Patent Text Reader

Abstract

This disclosure provides a method for resource access control, comprising: in response to a modification instruction for a target resource, saving a target resource copy content file; the modification instruction instructing modification of the target resource, wherein a target resource copy can be obtained from the target resource copy content file, and the target resource copy is the resource obtained after the target resource is modified according to the modification instruction; and in response to an access request for the target resource, providing access options; the access options include an option to access the target resource and an option to access the target resource copy. This disclosure also provides an electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a method and electronic device for resource access control. Background Technology

[0002] In addition to the information representing the actual content of the image (i.e., the content of the "image"), image files also include other information, such as the Exchangeable Image File (EXIF) information, which may include the image's capture location, capture time, lens information used for capture, and capture device (such as mobile phone) model information. This information may be related to personal privacy and may be "unconsciously" shared when sharing image files (such as sharing the original image through instant messaging software), causing privacy leaks.

[0003] To avoid privacy leaks, private information can be removed when sharing image files. However, existing methods for removing this information are cumbersome and complicated, which can reduce the user experience. Summary of the Invention

[0004] This disclosure provides a method and electronic device for resource access control.

[0005] In a first aspect, embodiments of this disclosure provide a method for resource access control, comprising:

[0006] In response to a modification instruction for a target resource, a target resource copy content file is saved; the modification instruction is used to instruct the modification of the target resource, and a target resource copy can be obtained from the target resource copy content file, wherein the target resource copy is the resource obtained after the target resource is modified according to the modification instruction;

[0007] In response to an access request for the target resource, access options are provided; the access options include an option to access the target resource and an option to access a copy of the target resource.

[0008] In some embodiments, the target resource is a multimedia file.

[0009] In some embodiments, the multimedia file is an image file;

[0010] The modification instruction is used to instruct modifications to the interchangeable image file information in the image file.

[0011] In some embodiments, saving the target resource copy content file in response to a modification instruction for the target resource includes:

[0012] In response to the access request for the target resource, obtain the modification instructions for the target resource;

[0013] Modify the target resource according to the modification instructions to obtain a copy of the target resource, access the target resource copy, and save the content file of the target resource copy.

[0014] In some embodiments, the file storing the target resource copy content includes:

[0015] Provide saving options; the saving options include the option to save the target resource copy content file and the option not to save the target resource copy content file.

[0016] In response to the selection instruction for the option to save the target resource copy content file, the target resource copy content file is saved.

[0017] In some embodiments, the file containing the saved target resource copy includes:

[0018] Determine the modification settings for the target resource indicated by the modification instruction, and save the modification settings as a copy of the target resource content file.

[0019] In some embodiments, the file containing the saved target resource copy includes:

[0020] Modify the target resource according to the modification instructions to obtain a copy of the target resource, and save the copy of the target resource as a target resource copy content file.

[0021] In some embodiments, the request to access the target resource includes a request to share the target resource.

[0022] In some embodiments, the provision of access options includes:

[0023] The option to access the target resource is provided by providing an original file thumbnail, and the option to access a copy of the target resource is provided by providing a copy thumbnail; the original file thumbnail includes a thumbnail of the target resource, and the copy thumbnail includes the original file thumbnail and a preset copy icon.

[0024] In some embodiments, after providing the access options, the method further includes:

[0025] In response to a selection instruction for the option to access the target resource, a request is made to access the target resource;

[0026] or,

[0027] In response to a selection instruction for the option to access the target resource copy, the target resource copy is accessed.

[0028] In some embodiments, requesting access to the target resource in response to a selection instruction for the option to access the target resource includes:

[0029] In response to a selection instruction for the option to access the target resource, a modification instruction for the target resource is obtained.

[0030] In some embodiments, saving the target resource copy content file includes: determining the modification settings for the target resource indicated by the modification instruction, and saving the modification settings to the target resource copy content file;

[0031] The step of responding to a selection instruction for the option to access the target resource copy includes: modifying the target resource according to the modification settings to obtain the target resource copy, and then accessing the target resource copy.

[0032] Secondly, embodiments of this disclosure provide a method for resource access control, comprising:

[0033] The general service entity stores a copy of the resource after removing the privacy information and associates the original resource with the copy of the privacy information; the resource after removing the privacy information can be derived from the copy of the privacy information, and the resource after removing the privacy information is obtained from the original resource after removing the privacy information;

[0034] The general service entity responds to the access request for the original resource by returning the options to access the original resource and access the resource with privacy information removed.

[0035] In some embodiments, the general service entity stores a copy of the removed privacy information and associates the original resource with the copy of the removed privacy information, including:

[0036] The general service entity responds to the second application entity's access request for the original resource and the instruction to retain and remove the privacy information copy obtained by the first application entity. It obtains the privacy information removed resource derived by the first application entity based on the instruction to retain and remove the privacy information copy, returns the privacy information removed resource to the second application entity, saves the privacy information removed copy, and associates the original resource with the privacy information removed copy.

[0037] In some embodiments, the generic service entity responds to access requests for the original resource by returning options for accessing the original resource and accessing the resource with privacy information removed, including:

[0038] The general service entity responds to the second application entity's request to access the original resource by returning the options to access the original resource and access the resource with privacy information removed.

[0039] In some embodiments, the option to access the original resource includes the original resource and / or the resource associated with the original resource;

[0040] Access to the option to remove privacy information resources includes removing privacy information resources, and / or resources associated with removing privacy information resources.

[0041] In some embodiments, accessing options to remove privacy information resources includes:

[0042] Virtual resources for removing privacy information, addresses for removing privacy information.

[0043] In some embodiments, accessing options to remove privacy information resources includes:

[0044] Remove privacy information resources; removing privacy information resources includes removing the address of the privacy information resources and the type of privacy information resources removed.

[0045] In some embodiments, after the general service entity responds to the access request for the original resource and returns the options to access the original resource and access the resource with privacy information removed, the method further includes:

[0046] The general service entity responds to the selection of the option to access the original resource and returns the original resource;

[0047] or,

[0048] The general service entity responds to the selection of the option to access the resource with privacy information removed, and returns the resource with privacy information removed.

[0049] In some embodiments, removing a copy of privacy information includes removing the privacy information resource;

[0050] The general service entity saves a copy of the removed privacy information and associates the original resource with the copy of the removed privacy information, including: the general service entity responds to the second application entity's access request to the original resource and the instruction to retain the copy of the removed privacy information obtained by the first application entity, obtains the removed privacy information resource derived by the first application entity according to the instruction to retain the copy of the removed privacy information, returns the removed privacy information resource to the second application entity, saves the removed privacy information resource as a copy of the removed privacy information, and associates the original resource with the removed privacy information resource;

[0051] The general service entity responds to the selection of the option to access resources with privacy information removed, and returns the resources with privacy information removed, including: the general service entity responds to the second application entity's selection of the option to access resources with privacy information removed, and returns the resources with privacy information removed.

[0052] In some embodiments, removing a copy of privacy information includes retaining the removal settings in the instruction to remove a copy of privacy information.

[0053] The general service entity saves a copy of the removed privacy information and associates the original resource with the copy of the removed privacy information, including: the general service entity responds to the second application entity's access request to the original resource and the instruction to retain the copy of the removed privacy information obtained by the first application entity, obtains the removed privacy information resource derived by the first application entity according to the instruction to retain the copy of the removed privacy information, returns the removed privacy information resource to the second application entity and deletes the removed privacy information resource, saves the removal setting in the instruction to retain the copy of the removed privacy information as a copy of the removed privacy information, and associates the original resource with the removal setting;

[0054] The general service entity responds to the selection of the option to access the privacy information removal resource, and returns the privacy information removal resource, including: the general service entity responds to the second application entity's selection of the option to access the privacy information removal resource, sends the removal settings to the first application entity, obtains the privacy information removal resource obtained by the first application entity based on the removal settings, returns the privacy information removal resource to the second application entity, and then deletes the privacy information removal resource.

[0055] Thirdly, embodiments of this disclosure provide an electronic device, which includes:

[0056] One or more processors;

[0057] A memory on which one or more computer programs are stored;

[0058] One or more I / O interfaces are connected between the processor and memory and configured to enable information exchange between the processor and memory;

[0059] When one or more of the computer programs are executed by one or more of the processors, any of the above-described resource access control methods can be implemented.

[0060] Fourthly, embodiments of this disclosure provide a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements any of the resource access control methods described above. Attached Figure Description

[0061] The accompanying drawings are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the embodiments of this disclosure to explain the disclosure and do not constitute a limitation thereof. The above and other features and advantages will become more apparent to those skilled in the art from the detailed description of exemplary embodiments with reference to the accompanying drawings, in which:

[0062] Figure 1 A flowchart illustrating a resource access control method provided in this embodiment of the disclosure;

[0063] Figure 2A flowchart of some steps in another resource access control method provided in this disclosure embodiment;

[0064] Figure 3 A flowchart of some steps in another resource access control method provided in this disclosure embodiment;

[0065] Figure 4 A flowchart of some steps in another resource access control method provided in this disclosure embodiment;

[0066] Figure 5 A flowchart of some steps in another resource access control method provided in this disclosure embodiment;

[0067] Figure 6 A flowchart of some steps in another resource access control method provided in this disclosure embodiment;

[0068] Figure 7 A schematic diagram of the original and copy thumbnails in another resource access control method provided in this disclosure embodiment;

[0069] Figure 8 A flowchart illustrating another resource access control method provided in this disclosure embodiment;

[0070] Figure 9 A flowchart of some steps in another resource access control method provided in this disclosure embodiment;

[0071] Figure 10 A flowchart illustrating another resource access control method provided in this disclosure embodiment;

[0072] Figure 11 Signaling diagram in another resource access control method provided in embodiments of this disclosure

[0073] Figure 12 A block diagram of an electronic device provided in an embodiment of this disclosure;

[0074] Figure 13 This is a block diagram illustrating the composition of a computer-readable medium provided in an embodiment of the present disclosure. Detailed Implementation

[0075] To enable those skilled in the art to better understand the technical solutions of the embodiments of this disclosure, the resource access control method, electronic device, and computer-readable medium provided in the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.

[0076] Embodiments of this disclosure will be described more fully below with reference to the accompanying drawings; however, the embodiments shown may be embodied in different forms and should not be construed as limited to the embodiments set forth in this disclosure. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will enable those skilled in the art to fully understand the scope of this disclosure.

[0077] Embodiments of this disclosure can be described with reference to plan views and / or cross-sectional views, taking into account the ideal schematic diagrams of this disclosure. Therefore, the example illustrations may be modified according to manufacturing techniques and / or tolerances.

[0078] Where there is no conflict, the various embodiments of this disclosure and the features thereof in the embodiments may be combined with each other.

[0079] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to limit the disclosure. The term "and / or" as used in this disclosure includes any and all combinations of one or more of the associated enumerated entries. The singular forms "a" and "the" as used in this disclosure are also intended to include the plural forms, unless the context clearly indicates otherwise. The terms "comprising," "made of," etc., as used in this disclosure specify the presence of the stated feature, integral, step, operation, element, and / or component, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof.

[0080] Unless otherwise specified, all terms used in this disclosure (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this disclosure, and will not be interpreted as having an idealized or overly formal meaning, unless expressly so defined in this disclosure.

[0081] This disclosure is not limited to the embodiments shown in the accompanying drawings, but includes modifications to the configuration based on the manufacturing process. Therefore, the areas illustrated in the drawings are schematic, and the shapes of the areas shown illustrate specific shapes of the areas of an element, but are not intended to be limiting.

[0082] In some related technologies, the image files stored on devices (such as mobile phones, computers, etc.) contain not only information representing the actual content of the image (i.e., the content of the "image"), but also other information. For example, the Exchangeable Image File (EXIF) information of the image file may include information such as the image capture location, capture time, lens information used for capture, and capture device (such as mobile phone) model information. It can be seen that the above information may represent some personal privacy, that is, privacy information.

[0083] In some situations, users may wish to share image files, such as sending them via an application (e.g., sharing the original image through instant messaging software) to other users' devices. In these cases, users typically intend to share the actual content of the image, but private information is also shared along with it, leading to privacy breaches without the user's knowledge.

[0084] In some related technologies, the following secure sharing methods can be adopted to avoid the above privacy leaks:

[0085] (1) When an application (such as instant messaging software) shares (e.g., sharing the original image) an image file in the image library, the security detection tool detects that the image file has been accessed, thus triggering the privacy information removal tool to start working.

[0086] (2) The privacy information removal tool prompts users to choose which privacy information to remove from the original image file.

[0087] For example, privacy information removal tools can provide pop-up windows with options such as "Remove collection location information" and "Remove collection device model information," allowing users to select whether to remove the corresponding information.

[0088] (3) The privacy information removal tool processes the image file according to the user's selections, and deletes or rewrites the corresponding content in the privacy information (such as EXIF ​​information) (rewriting means filling in other content, such as filling in "null" for all), so as to remove the privacy information.

[0089] (4) The privacy information removal tool sends the image file after removing the privacy information to the application for the application to send.

[0090] The above method requires users to make a selection process each time to remove private information and share it, which is cumbersome and reduces customer experience.

[0091] For example, when user B uses a mobile phone, the following situation may occur:

[0092] For example, according to an embodiment of this disclosure, the following situation may occur when user B uses a mobile phone:

[0093] (1) User B takes a photo (image file) using the camera on his mobile phone.

[0094] (2) User B opens instant messaging software A, finds user C, clicks the share album button, and selects the thumbnail of the photo just taken.

[0095] Since a thumbnail was selected, the privacy information removal tool has not yet started working.

[0096] (3) When user B selects the "Original Image" option and clicks "Send", the security detection tool detects that the image file has been accessed, thus triggering the privacy information removal tool.

[0097] (4) The privacy information removal tool will display a pop-up window, asking user B to select which privacy information in the image file to remove.

[0098] (5) The user selects to remove some privacy information and then clicks "OK"; the privacy information removal tool removes the corresponding privacy information of the image file according to the user's selection, that is, it rewrites or deletes the EXIF ​​information.

[0099] (6) Communication software A sends the photo after removing the privacy information to user C.

[0100] (7) User B continues to engage in voice and text chat with User C.

[0101] (8) After a while, User B wanted to send the photo that he had just sent to User C to User D, but the chat history of sending the photo to User C could no longer be found.

[0102] (9) Therefore, user B opens instant messaging software A, finds user D, clicks the share album button again, selects the photo that was just taken, and clicks the "original image" button.

[0103] (10) Since the image file to be sent at this time is still the original photo without removing privacy information, the privacy information removal tool will pop up again, asking user B to reselect which privacy information to remove.

[0104] It is evident that, based on the relevant technologies, users must perform a selection process each time they want to share the same image file to remove private information, which is cumbersome and reduces the user experience.

[0105] Firstly, referring to Figures 1 to 9 This disclosure provides a method for resource access control.

[0106] The method of this disclosure is used to control access to resources (such as files) stored in electronic devices (such as mobile phones, computers, etc.) when such access is made, or to formulate corresponding access policies.

[0107] "Access" can be performed by an application on an electronic device or by the operating system of the electronic device; specifically, "access" can refer to using, sharing, copying, or modifying resources.

[0108] The method in this embodiment of the disclosure can be implemented by one or more of the operating system, applications, etc. of the electronic device, as long as the electronic device as a whole implements the method in this embodiment of the disclosure.

[0109] Reference Figure 1 The resource access control in this disclosure includes:

[0110] S101. In response to the modification instruction for the target resource, save the target resource copy content file.

[0111] The modification command is used to instruct the modification of the target resource. The target resource copy can be obtained from the target resource copy content file. The target resource copy is the resource obtained after the target resource is modified according to the modification command.

[0112] When an instruction (modification instruction) requires modification of some information in a resource (target resource), in addition to modifying the target resource according to the modification instruction to obtain a copy of the target resource (i.e., the target resource still exists, but at the same time a copy of the modified target resource is obtained) for use, a target resource copy content file is also saved. Based on this target resource copy content file, the above target resource copy can be derived.

[0113] The above "modification" refers to changing some information in the target resource (file), such as deleting, rewriting, or adding.

[0114] S102. In response to an access request for the target resource, provide access options.

[0115] The access options include the option to access the target resource and the option to access a copy of the target resource.

[0116] "Providing options" refers to electronic devices giving users prompts to make choices in certain ways, allowing users to perform a certain operation based on the prompts. For example, "providing options" can be a pop-up window displayed on the screen of an electronic device, with different options for the user to check. After the user checks an option and confirms, the corresponding selection has been made.

[0117] When another request (access request) is made to access the target resource, instead of directly allowing or disallowing access to the target resource, an "option (access option)" is first provided for the user to choose from, allowing the user to choose to access the target resource (access target resource option) or to access a copy of the target resource obtained by modifying the original target resource according to the above modification instructions (access target resource copy option).

[0118] In this embodiment of the disclosure, after modifying the target resource (such as an image file) to obtain a copy of the target resource (such as an image file after removing privacy information), the content file of the target resource copy is also saved. Therefore, when the target resource is accessed again (such as when sharing is requested), the user can be given the option to choose whether to still access the target resource or directly access the target resource copy. If the user chooses to access the target resource copy, the target resource copy can be directly invoked (derived from the content file of the target resource copy). Thus, the user does not need to re-enter modification instructions (such as making a selection operation) to access the modified target resource (such as an image file after removing privacy information), thereby simplifying the operation and process and improving the customer experience.

[0119] At the same time, if users wish to still access the target resource (the original target resource) or wish to make other modifications to the target resource, they can also choose the option to access the target resource, thus making resource access more flexible and efficient.

[0120] In some embodiments, the target resource is a multimedia file.

[0121] In some embodiments, the multimedia file is an image file, and the modification instruction is used to instruct modification of the interchangeable image file information in the image file.

[0122] As one embodiment of this disclosure, the target resource can be a multimedia file, such as a video file, audio file, or image file, because multimedia files often contain privacy information.

[0123] When a multimedia file is in the form of an image file, it may include Exchangeable Image File (EXIF) information. EXIF ​​information is not directly related to the actual content of the image (i.e., the content of the "image"), and it often contains privacy-related information that users do not want to access when accessing (e.g., sharing) the actual content of the image file. Therefore, modification instructions can be used to modify (e.g., delete, rewrite) the EXIF ​​information.

[0124] In this embodiment, the "target resource" and "modification instruction" are not limited to the above forms; for example, the modification instruction can also be used to modify other types of files in other forms (such as modifying the file name, modifying the actual content of the file, etc.).

[0125] In some embodiments, a request for access to a target resource includes a request to share the target resource.

[0126] As one embodiment of this disclosure, the above access request to the target resource may be a request to "share" the target resource, that is, a request to "send" the target resource to other devices (such as mobile phones).

[0127] Users often want to make the same modifications to resources sent to others (such as removing the same privacy information), so this disclosure applies to such embodiments.

[0128] In this embodiment of the disclosure, the “access request” is not limited to the above forms; for example, the “access request” may also be a request to modify, delete, or copy the target resource.

[0129] Reference Figure 2 In some embodiments, saving the target resource copy content file in response to a modification instruction for the target resource (S101) includes:

[0130] S10111. In response to an access request for the target resource, obtain the modification instructions for the target resource.

[0131] S10112. Modify the target resource according to the modification instructions to obtain a copy of the target resource, access the target resource copy, and save the target resource copy content file.

[0132] As one embodiment of this disclosure, the above modification instructions can also be generated when accessing the target file; that is, when the target resource is accessed for the first time, the user can be prompted to enter modification instructions (such as the pop-up window provided by the privacy information removal tool above), thereby modifying the target resource according to the modification instructions to obtain a copy of the target resource, allowing access to the copy of the target resource, and saving the content file of the copy of the target resource.

[0133] Subsequently, when accessing the target resource again, there is a high probability that the user actually wants to access a copy of the target resource that has been modified in the same way. Therefore, the target resource copy can be obtained directly using the above target resource copy content file to simplify the operation.

[0134] Reference Figure 3 In some embodiments, saving the target resource copy content file (S101) includes:

[0135] S10121, Provides a save option.

[0136] The save options include the option to save the target resource copy content file and the option not to save the target resource copy content file.

[0137] S1022. In response to the selection instruction for the option to save the target resource copy content file, save the target resource copy content file.

[0138] As one embodiment of this disclosure, when the user gives a modification instruction, a save option may be further provided, prompting the user whether to save the target resource copy content file, and the target resource copy content file is actually saved only when the user selects to save the target resource copy content file.

[0139] The specific timing and method for providing the above "save option" can vary.

[0140] For example, when prompting the user to enter modification instructions, the above "save options" can be provided for the user to choose from.

[0141] For example, the "save option" mentioned above can also be a "global setting," which can be selected by the user in the overall settings of the electronic device's operating system. Once selected, subsequent decisions on whether to save the target resource copy content file will be based on that selection.

[0142] The "Save Options" can have a default selection; for example, if the user does not change it, the default is "Save a copy of the target resource's content file".

[0143] If the "save option" is not available and the default setting is to save all files containing the target resource copy, that is also acceptable.

[0144] Reference Figure 4 In some embodiments, saving the target resource copy content file (S101) includes:

[0145] S10131. Determine the modification settings for the target resource indicated by the modification command, and save the modification settings as a copy of the target resource content file.

[0146] As one embodiment of this disclosure, the "target resource copy content file" saved above can be the modification settings (or "modification method") of the target resource in the modification instruction, and the target resource copy actually modified can be deleted at this time.

[0147] Based on the above method, the "target resource copy content file" does not include the actual modified target resource copy, but only some modified settings, thus reducing the storage space it occupies and saving storage space.

[0148] Reference Figure 5 In some embodiments, saving the target resource copy content file (S101) includes:

[0149] S10132. Modify the target resource according to the modification instructions to obtain a copy of the target resource, and save the copy of the target resource as a target resource copy content file.

[0150] As another embodiment of this disclosure, the target resource can be modified to obtain a copy of the target resource, and the copy of the target resource can be actually saved as a target resource copy content file.

[0151] Based on the above method, when accessing the target resource copy in the future, there is no need to perform modification calculations. Instead, the target resource copy (which is also the target resource copy content file) can be accessed directly, thereby saving computing resources.

[0152] Reference Figure 6 In some embodiments, providing access options (S102) includes:

[0153] S1021. Provide the option to access the target resource using the original thumbnail, and provide the option to access the target resource copy using the copy thumbnail.

[0154] The original thumbnail includes a thumbnail of the target resource, and the copy thumbnail includes the original thumbnail and a preset copy icon.

[0155] As one embodiment of this disclosure, when accessing the target resource again, the access options provided may be a thumbnail of the target resource (original thumbnail) and a thumbnail of a copy of the target resource (copy thumbnail); wherein, referring to Figure 7 An original thumbnail can be a thumbnail of the target resource obtained through conventional methods, while a copy thumbnail is created by adding a specific copy identifier (e.g., ...) to the original thumbnail. Figure 7 The rectangle (with its cross-section lines drawn in the image) is used to distinguish the target resource copy from the target resource.

[0156] It is also possible to use other forms of options for accessing the target resource and accessing a copy of the target resource, such as text descriptions.

[0157] Reference Figure 8 In some embodiments, after providing the access option (S102), the method further includes:

[0158] S1031. In response to the selection instruction for the option to access the target resource, request access to the target resource.

[0159] or,

[0160] S1032. In response to the selection instruction for the option to access a copy of the target resource, access the copy of the target resource.

[0161] After providing the above access options, the target resource or a copy of the target resource can be accessed according to the user's selection.

[0162] If a user wishes to access a copy of a target resource, the corresponding copy can be directly derived from the target resource's content file, eliminating the need for the user to re-enter modification commands, thus simplifying the operation and improving the user experience.

[0163] If the user still wishes to access the original target resource, they can simply select the "Access Target Resource Option," thereby ensuring the flexibility of the access control method in this embodiment of the disclosure.

[0164] Reference Figure 9 In some embodiments, in response to a selection instruction for an option to access the target resource, requesting access to the target resource (S1031) includes:

[0165] S10311. In response to the selection instruction for the option to access the target resource, obtain the modification instruction for the target resource.

[0166] If a user subsequently wishes to access the target resource, it is equivalent to making another access request to the target resource. Therefore, the modification instructions for the target resource can be obtained again (such as the pop-up window provided by the privacy information removal tool mentioned above), allowing the user to make other modifications to the target resource. Based on these modifications, different copies of the target resource content files are generated, further improving the flexibility of the access control method in the disclosed embodiments.

[0167] When users want to access the target resource later, they can access the target resource directly without making any further modifications.

[0168] Reference Figure 9 In some embodiments, when saving the target resource copy content file (S101) includes determining the modification settings for the target resource indicated by the modification instruction, and saving the modification settings to the target resource copy content file (S10131), in response to a selection instruction for an option to access the target resource copy, accessing the target resource copy (S1032) includes:

[0169] S10321. Modify the target resource according to the modified settings to obtain a copy of the target resource, and access the copy of the target resource.

[0170] When the target resource copy content file has the above modified settings, if subsequent users wish to access the target resource copy, they need to actually modify the settings again to obtain the target resource copy (because the previous target resource copy has been deleted) for access.

[0171] For example, according to an embodiment of this disclosure, the following situation may occur when user B uses a mobile phone:

[0172] (1) User B takes a photo (image file) using the camera on his mobile phone.

[0173] (2) User B opens instant messaging software A, finds user C, clicks the share album button, and selects the thumbnail of the photo just taken.

[0174] Since a thumbnail was selected, the privacy information removal tool has not yet started working.

[0175] (3) When user B selects the "Original Image" option and clicks "Send", the security detection tool detects that the image file has been accessed, thus triggering the privacy information removal tool.

[0176] (4) The privacy information removal tool provides a pop-up window, asking user B to select which privacy information of the image file to remove; at the same time, according to the embodiments of this disclosure, the pop-up window also includes the option of "keeping a copy of the removed privacy information".

[0177] The specific method for displaying the "Retain Copy of Removed Privacy Information" option is merely an example. For instance, you can also select whether to "Retain Copy of Removed Privacy Information" in "Global Settings," so the "Retain Copy of Removed Privacy Information" option will not appear each time you process an individual image.

[0178] Alternatively, it may be that it cannot be set, and the default setting retains the option to remove copies of private information, so there is no corresponding option.

[0179] (5) The user selects to remove some privacy information, checks the option to "save a copy of the privacy information", and then clicks "OK". The privacy information removal tool removes the corresponding privacy information of the image file according to the user's selection, that is, rewrites or deletes the EXIF ​​information, and saves the photo (copy) after the privacy information is removed.

[0180] (6) Communication software A sends the photo after removing the privacy information to user C.

[0181] (7) User B continues to engage in voice and text chat with User C.

[0182] (8) After a while, User B wanted to send the photo that he had just sent to User C to User D, but the chat history of sending the photo to User C could no longer be found.

[0183] (9) Therefore, user B opens instant messaging software A, finds user D, clicks the share album button again, and selects the photo that was just taken.

[0184] (10) Since the option to "Save a copy without privacy" was previously selected, please refer to... Figure 7 At this point, two thumbnails appear: one is the original image thumbnail, indicating that you want to access the original image file, and the other is a thumbnail with a copy icon, indicating that you want to access the copy.

[0185] Therefore, by using the "copy icon," users can clearly distinguish whether a photo has been processed by the "privacy information removal tool." If so, they can directly select the thumbnail with the copy icon to send without further removal settings, and the privacy information removal tool will not need to process the image file again. This simplifies the operation and improves the user experience.

[0186] Of course, users can also choose a thumbnail of the original image to send the original image file to the other party, or remove privacy information differently to ensure the flexibility of this disclosure embodiment.

[0187] Of course, the specific form in which the option to choose the original image or a copy is presented can vary. For example, the option may appear only after the user clicks the "original image" option. In short, as long as the option is presented after the user has the intention to access the original image, but before the user actually accesses the original image, to determine whether the user wants to access the original image or a copy, it is feasible.

[0188] Secondly, referring to Figures 10 to 11 This disclosure provides a method for resource access control.

[0189] According to the existing oneM2M standard, a Common Service Entity (CSE) can set "conditions" for access to resources deployed in a container, such as:

[0190] (1) A person (a user) can access the resource, arc(1);

[0191] (2) The resource is accessible at a certain time, arc(2);

[0192] (3) This resource can be accessed using a certain IP address, arc(3);

[0193] (4) Access to certain information about the resource (such as creation time information), arc(4);

[0194] (5) The resource can be accessed under certain environmental conditions (such as room temperature below 25 degrees Celsius), arc(5);

[0195] (6) The resource can be accessed a certain number of times, arc(6);

[0196] (7) A person (a user) can access resources of a certain type (such as “AE” type), arc(7);

[0197] The specific conditions that need to be met for access can be one or more of the above, i.e., arcs = {arc(1), arc(2), arc(3)...}.

[0198] It is evident that although numerous access conditions can be set, the existing oneM2M standard cannot implement the resource access control method of this disclosure embodiment.

[0199] Therefore, this disclosure also provides an access control method (or a method for formulating access policies) for resources (such as image files) stored in a container based on the oneM2M standard.

[0200] Reference Figure 10 The resource access control method of this disclosure includes:

[0201] S201. The general service entity saves a copy of the removed privacy information and associates the original resource with the copy of the removed privacy information.

[0202] Among them, the removal of privacy information copies can lead to the removal of privacy information resources, which are obtained by removing privacy information from the original resources.

[0203] S202. The general service entity responds to the access request for the original resource and returns the options to access the original resource and access the resource with privacy information removed.

[0204] "Original resources" refers to the original, unmodified resources stored in the container, such as image files containing privacy information.

[0205] Among them, "resources with privacy information removed" refers to resources without privacy information obtained after removing privacy information from the original resources.

[0206] The content of "removing copies of privacy information" is related to removing privacy information resources, so the removal of privacy information resources can be derived from "removing copies of privacy information".

[0207] In this embodiment of the disclosure, a copy of the removed privacy information is saved and associated with the original resource. So that when the original resource needs to be accessed again in the future, the Common Service Entity (CSE) can provide options based on the above "association", allowing the user to choose whether to access the original resource or the resource with the removed privacy information. If the user chooses to access the resource with the removed privacy information, the resource with the removed privacy information can be directly obtained from the copy of the removed privacy information for the user to access, without the user needing to enter relevant instructions again, simplifying the operation and improving the user experience.

[0208] In some embodiments, the general service entity stores a copy of the removed privacy information and associates the original resource with the copy of the removed privacy information, including:

[0209] The general service entity responds to the second application entity's access request for the original resource and the instruction to retain and remove the privacy information copy obtained by the first application entity. It obtains the privacy information removed resource derived by the first application entity based on the instruction to retain and remove the privacy information copy, returns the privacy information removed resource to the second application entity, saves the privacy information removed copy, and associates the original resource with the privacy information removed copy.

[0210] The “Retain a copy of the removed privacy information instruction” is used to instruct how to remove the privacy information from the original resource to obtain a resource with the removed privacy information, and instructs that a copy of the removed privacy information should be retained.

[0211] Based on the request for the original resource by the second application entity (such as an application), the first application entity (such as a privacy information removal tool) can obtain an instruction to retain a copy of the removed privacy information and generate a privacy information removal resource accordingly. The general service entity can send the privacy information removal resource to the second application entity and save a copy of the removed privacy information.

[0212] In some embodiments, the generic service entity responds to access requests for the original resource by returning options for accessing the original resource and accessing the resource with privacy information removed, including:

[0213] The general service entity responds to the second application entity's request to access the original resource by returning the options to access the original resource and access the resource with privacy information removed.

[0214] A subsequent request to access the original resource can be initiated by the second application entity.

[0215] In some embodiments, the option to access the original resource includes the original resource and / or the resource associated with the original resource;

[0216] Access to the option to remove privacy information resources includes removing privacy information resources, and / or resources associated with removing privacy information resources.

[0217] The above options for accessing the original resource and accessing the resource with privacy information removed may include the corresponding resource itself (original resource, resource with privacy information removed), or resources associated with the corresponding resource, such as thumbnail resources of the corresponding resource (such as thumbnail of the original resource, thumbnail of the resource with privacy information removed, etc.).

[0218] In some embodiments, accessing options to remove privacy information resources includes:

[0219] Virtual resources for removing privacy information, addresses for removing privacy information.

[0220] In some embodiments, accessing options to remove privacy information resources includes:

[0221] Remove privacy information resources; removing privacy information resources includes removing the address of the privacy information resources and the type of privacy information resources removed.

[0222] As one embodiment of this disclosure, the resource to remove privacy information in the returned access to the resource to remove privacy information option can be an actual resource or a virtual resource.

[0223] When the "Remove Privacy Information Resource" option in the Access Privacy Information Resource section refers to an actual resource, the resource includes not only the resource's address but also the type of privacy information resource to be removed. This "Type of Privacy Information Resource to be Removed" records which items' privacy information was actually removed.

[0224] In some embodiments, after the general service entity responds to the access request for the original resource and returns the options to access the original resource and access the resource with privacy information removed, the method further includes:

[0225] The general service entity responds to the selection of the option to access the original resource and returns the original resource;

[0226] or,

[0227] The general service entity responds to the selection of the option to access the resource with privacy information removed, and returns the resource with privacy information removed.

[0228] After the general service entity returns the options to access the original resource and access the resource with privacy information removed, the original resource or the resource with privacy information removed can be provided according to the user's choice, thereby improving the flexibility of the embodiments of this disclosure.

[0229] If returning to the original resource, you can also obtain the instruction to retain and remove the privacy information copy, so as to remove different privacy information and save different copies of the removed privacy information.

[0230] Of course, returning the original resource directly is also feasible.

[0231] In some embodiments, removing a copy of privacy information includes removing the privacy information resource;

[0232] The general service entity saves a copy of the removed privacy information and associates the original resource with the copy of the removed privacy information, including: the general service entity responds to the second application entity's access request to the original resource and the instruction to retain the copy of the removed privacy information obtained by the first application entity, obtains the removed privacy information resource derived by the first application entity according to the instruction to retain the copy of the removed privacy information, returns the removed privacy information resource to the second application entity, saves the removed privacy information resource as a copy of the removed privacy information, and associates the original resource with the removed privacy information resource;

[0233] The general service entity responds to the selection of the option to access resources with privacy information removed, and returns the resources with privacy information removed, including: the general service entity responds to the second application entity's selection of the option to access resources with privacy information removed, and returns the resources with privacy information removed.

[0234] As one embodiment of this disclosure, removing the copy of privacy information can be equivalent to removing the privacy information resource, so that when a general service entity wants to return the removed privacy information resource, it can directly return the corresponding resource.

[0235] In some embodiments, removing a copy of privacy information includes retaining the removal settings in the instruction to remove a copy of privacy information.

[0236] The general service entity saves a copy of the removed privacy information and associates the original resource with the copy of the removed privacy information, including: the general service entity responds to the second application entity's access request to the original resource and the instruction to retain the copy of the removed privacy information obtained by the first application entity, obtains the removed privacy information resource derived by the first application entity according to the instruction to retain the copy of the removed privacy information, returns the removed privacy information resource to the second application entity and deletes the removed privacy information resource, saves the removal setting in the instruction to retain the copy of the removed privacy information as a copy of the removed privacy information, and associates the original resource with the removal setting;

[0237] The general service entity responds to the selection of the option to access the privacy information removal resource, and returns the privacy information removal resource, including: the general service entity responds to the second application entity's selection of the option to access the privacy information removal resource, sends the removal settings to the first application entity, obtains the privacy information removal resource obtained by the first application entity based on the removal settings, returns the privacy information removal resource to the second application entity, and then deletes the privacy information removal resource.

[0238] As another embodiment of this disclosure, removing the privacy information copy can also be a removal setting (i.e., an instruction indicating how to remove the privacy information) in the removal privacy information copy instruction. Thus, after the general service entity sends the privacy information removal resource to the second application entity, it needs to delete the privacy information removal resource and only save the "removal setting" as the privacy information removal copy. When the general service entity wants to return the privacy information removal resource, the first application entity needs to generate the privacy information removal resource again according to the "removal setting" (of course, the resource will be deleted again after returning).

[0239] In some embodiments, refer to Figure 11 The privacy information removal tool used to remove privacy information (such as EXIF ​​information) from resources (such as image files) is the first application entity (AE1), while the application (such as instant messaging software) that needs to access (such as share) the resources is the second application entity (AE2), and the general service entity (CSE) manages the resources in the container.

[0240] reference to Figure 11 , in some embodiments, the access control method of the embodiments of the present disclosure may specifically include:

[0241] (1) An Application Entity (AE2) requests a thumbnail of a certain resource, that is, an original resource thumbnail, according to a user's instruction.

[0242] That is, AE2 requests <contentInstance> (thumbnail).

[0243] (2) A Common Services Entity (CSE) returns the original resource thumbnail according to the above request.

[0244] That is, the CSE returns <contentinstance>(Thumbnail)

[0245] (3) AE2 requests the original resource based on the user's instructions (such as the user checking the "Original Image" button).

[0246] That is, AE2 request <contentinstance>(Original image)

[0247] Clearly, in CSE, the above <contentinstance>Original image resources and<contentInstance)> The resources in the thumbnails are related.

[0248] (4) Because the original resource was accessed, the privacy information removal tool (AE1) started working, obtained (as shown in the pop-up window) the user's input instruction to retain a copy of the privacy information removal, and requested the original resource from CSE.

[0249] That is, AE1 request <contentinstance>(Original image)

[0250] (5) CSE returns the original resource to AE1 based on the above request.

[0251] That is, CSE returns <contentinstance>(Original image)

[0252] (6) AE1 (Privacy Information Removal Tool) removes the corresponding privacy information from the received original resource according to the instruction to retain and remove the privacy information copy, obtains the "Privacy Information Removal Resource", and returns it to CSE, in which the "Privacy Information Removal Resource" is created.

[0253] That is, AE1 requires the creation of new ones. <contentinstance>(Image with privacy information removed)

[0254] (7) CSE creates a new resource and returns a successful creation response to AE1, and saves the copy of the resource with privacy information removed (such as the resource with privacy information removed) and associates it with the original resource.

[0255] That is, CSE returns a success response (image with privacy information removed).

[0256] Therefore, CSE will effectively remove copies of privacy information (such as removing privacy information resources), the original resource, and the abbreviated version of the original resource. Figure 3 All of them were preserved as resources, and connections were established between the three.

[0257] For example, the above three items can be stored in CSE as follows:

[0258] <csebase>

[0259] ——<AE (Application Entity)>

[0260] ————<container (container)>

[0261] —————— <contentinstance>

[0262] ————————content (original resource)

[0263] —————— <contentinstance>

[0264] ————————content (original resource thumbnail)

[0265] —————— <contentinstance>

[0266] ————————content (removed privacy information resources)

[0267] CSE can also create and save thumbnails of resources with privacy information removed. These thumbnails are clearly related to the removal of privacy information from resources. Therefore, the functions are: removed privacy information resource, original resource, original resource thumbnail, and removed privacy information resource thumbnail. Figure 4 The entities can be interconnected.

[0268] Among them, reference Figure 7 Removing privacy information from resource thumbnails can be done by adding a preset copy marker to the original resource thumbnail.

[0269] (8) CSE will return the removed privacy information resources to AE2 for AE2 to use (e.g., sharing).

[0270] That is, CSE returns <contentinstance>(Image with privacy information removed)

[0271] If the removal of privacy information copy is to retain the preset settings for removing privacy information copy in the instruction, then CSE should save the content (removal settings), and CSE should delete it after sending the image of removing privacy information copy to AE2.

[0272] (9) After a period of time, the user uses the application (AE2) again and requests access to the original resource again (such as sharing it again), so AE2 requests the original resource thumbnail from CSE again.

[0273] That is, AE2 request <contentinstance>(Thumbnail)

[0274] (10) Since the association has been established before, CSE can find resources related to the original resource thumbnail, namely the original resource and the copy of the privacy information removed (such as the privacy information removed resource), and there may also be a privacy information removed resource thumbnail.

[0275] Therefore, CSE can return a response to AE2 with the original resource thumbnail (access the original resource option) and a response with a copy flag thumbnail (access the resource option with privacy information removed).

[0276] That is, CSE returns <contentinstance>(Thumbnail), and return <contentinstance>(Thumbnail) (with logo) (i.e., "Response A").

[0277] As one embodiment of this disclosure, the response with a copy flag thumbnail returned by the CSE (i.e., response A) may include: a content instance resource with a copy flag thumbnail (a content instance resource with a copy flag thumbnail). <contentinstance>Resources), virtual resources for removing privacy information (virtual resources) <personalinforemoved>), the address of the privacy information resource to be removed (the actual address of the associated privacy information resource to be removed).

[0278] That is, the content of the response returned by CSE to AE2 may contain a "virtual resource" for removing privacy information, and also includes the actual address of the removed privacy information resource; thus, in the subsequent response B (i.e., AE2's response to CSE requesting the removal of privacy information resources), it can request to obtain the resource at the corresponding address.

[0279] As another embodiment of this disclosure, the response with a copy flag thumbnail returned by the CSE above (i.e., response A) may include: a content instance resource with a copy flag thumbnail (a content instance resource with a copy flag thumbnail). <contentinstance>Resources), removing privacy information resources (resources) <personalinforemoved>), and resources <personalinforemoved>This includes the actual address of the removed privacy information resource (personalInfoRemovedResourceAddress) and the type of privacy information resource removed (personalInfoRemovedType).

[0280] The removed privacy information resource type (personalInfoRemovedType) indicates which items' privacy information has been removed, such as locationInfo (image capture location information), lensInfo (capture lens information), CameraInfo (capture device model information), allExifInfo (all privacy information), etc.

[0281] Therefore, in subsequent response B (i.e., AE2's response to CSE requesting the removal of privacy information resources), it can request access to the resources at the corresponding address.

[0282] That is, the response content returned by CSE to AE2 may also include actual resources for removing privacy information, as well as the corresponding resource addresses.

[0283] Of course, it is also possible if the above response A does not include content instance resources with copy flag thumbnails. Specifically, AE2 can "double" the original resource thumbnails and add a "copy flag" to one of them as a thumbnail with copy flag.

[0284] Of course, CSE can return the two thumbnails at different times. For example, it can also return the two thumbnails when AE2 requests the original image resource (such as when the "Original Image" option is selected).

[0285] (11) AE2 receives the user’s selection of a thumbnail with a copy flag and then requests CSE to remove the privacy information resource.

[0286] That is, AE2 request <contentinstance>(Original image) (with logo) (i.e., "Response B").

[0287] (12) CSE can identify resources that have had their privacy information removed and return them to AE2.

[0288] That is, CSE returns <contentinstance>(Image with privacy information removed)

[0289] If removing the privacy information copy is a setting, then AE1 needs to generate the privacy information removal resource again based on the privacy information removal setting and send it to CSE, and then CSE sends the privacy information removal resource to AE2.

[0290] Therefore, according to the embodiments of this disclosure, when a user removes the privacy information of a resource, if they wish to use the resource with the removed privacy information again, they do not need to enter the command again. Instead, they can directly call the resource with the removed privacy information through the association made by CSE and the copy mark on the thumbnail, thereby simplifying the operation and process and improving the user experience.

[0291] At the same time, if users wish to still access the original resource, or wish to remove other privacy information from the original resource, they can also choose to access the original resource, thus making access to the resource more flexible and efficient.

[0292] Thirdly, referring to Figure 12 This disclosure provides an electronic device, which includes:

[0293] One or more processors;

[0294] A memory on which one or more computer programs are stored;

[0295] One or more I / O interfaces are connected between the processor and memory and configured to enable information exchange between the processor and memory;

[0296] When one or more computer programs are executed by one or more processors, any of the above-mentioned resource access control methods can be implemented.

[0297] Among them, the processor is a device with data processing capabilities, including but not limited to the central processing unit (CPU); the memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH); the I / O interface (read-write interface) is connected between the processor and the memory, enabling information exchange between the memory and the processor, including but not limited to the data bus (Bus).

[0298] Fourthly, refer to Figure 13 This disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements any of the resource access control methods described above.

[0299] Those skilled in the art will understand that all or some of the steps, systems, and devices disclosed above, as functional modules / units, can be implemented as software, firmware, hardware, or suitable combinations thereof.

[0300] In hardware implementations, the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be executed by several physical components working together.

[0301] Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit (CPU), digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit (ASIC). Such software may be distributed on a computer-readable medium, which may include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technique for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH) or other disk storage; read-only optical disc (CD-ROM), digital versatile disc (DVD) or other optical disc storage; magnetic cartridges, magnetic tapes, disk storage or other magnetic storage; and any other media that can be used to store desired information and can be accessed by a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0302] This disclosure has disclosed exemplary embodiments, and although specific terminology has been used, it is for general illustrative purposes only and should not be construed as limiting. In some instances, it will be apparent to those skilled in the art that features, characteristics, and / or elements described in conjunction with particular embodiments may be used alone, or in combination with features, characteristics, and / or elements described in conjunction with other embodiments, unless otherwise expressly indicated. Therefore, those skilled in the art will understand that various changes in form and detail may be made without departing from the scope of this disclosure as set forth by the appended claims.< / contentinstance> < / contentinstance> < / personalinforemoved> < / personalinforemoved> < / contentinstance> < / personalinforemoved> < / contentinstance> < / contentinstance> < / contentinstance> < / contentinstance> < / contentinstance> < / contentinstance> < / contentinstance> < / contentinstance> < / csebase> < / contentinstance> < / contentinstance> < / contentinstance> < / contentinstance> < / contentinstance> < / contentinstance>

Claims

1. A method for resource access control, comprising: In response to a modification command to the target resource, save a copy of the target resource's content file; The modification instruction is used to instruct the modification of the target resource. A target resource copy can be obtained from the target resource copy content file. The target resource copy is the resource obtained after the target resource is modified according to the modification instruction. In response to an access request for the target resource, access options are provided; the access options include an option to access the target resource and an option to access a copy of the target resource; The process of saving the target resource copy content file includes: determining the modification settings for the target resource indicated by the modification instruction, and saving the modification settings to the target resource copy content file.

2. The method according to claim 1, wherein, The target resource is a multimedia file.

3. The method according to claim 2, wherein, The multimedia file is an image file; The modification instruction is used to instruct modifications to the interchangeable image file information in the image file.

4. The method of any one of claims 1 to 3, wherein, The method of saving a copy of the target resource content file in response to a modification instruction for the target resource includes: In response to the access request for the target resource, obtain the modification instructions for the target resource; Modify the target resource according to the modification instructions to obtain a copy of the target resource, access the target resource copy, and save the content file of the target resource copy.

5. The method of any one of claims 1 to 3, wherein, The files containing the saved target resource copy include: Provide saving options; the saving options include the option to save the target resource copy content file and the option not to save the target resource copy content file. In response to the selection instruction for the option to save the target resource copy content file, the target resource copy content file is saved.

6. The method according to any one of claims 1 to 3, wherein, The request to access the target resource includes a request to share the target resource.

7. The method of any one of claims 1 to 3, wherein, The access options provided include: The option to access the target resource is provided by providing an original file thumbnail, and the option to access a copy of the target resource is provided by providing a copy thumbnail; the original file thumbnail includes a thumbnail of the target resource, and the copy thumbnail includes the original file thumbnail and a preset copy icon.

8. The method of any one of claims 1 to 3, wherein, Following the provision of access options, the following is also included: In response to a selection instruction for the option to access the target resource, a request is made to access the target resource; or, In response to a selection instruction for the option to access the target resource copy, the target resource copy is accessed.

9. The method of claim 8, wherein, The request to access the target resource in response to a selection instruction for the option to access the target resource includes: In response to a selection instruction for the option to access the target resource, a modification instruction for the target resource is obtained.

10. The method according to claim 8, wherein, The step of responding to a selection instruction for the option to access the target resource copy includes: modifying the target resource according to the modification settings to obtain the target resource copy, and then accessing the target resource copy.

11. A method for resource access control, comprising: The general service entity stores a copy of the resource after removing the privacy information and associates the original resource with the copy of the privacy information; the resource after removing the privacy information can be derived from the copy of the privacy information, and the resource after removing the privacy information is obtained from the original resource after removing the privacy information; The general service entity responds to the access request for the original resource, returning the options to access the original resource and access the resource with privacy information removed; Removing a copy of privacy information includes retaining the removal settings in the command to remove a copy of privacy information. The general service entity saves a copy of the removed privacy information and associates the original resource with the copy of the removed privacy information, including: the general service entity responds to the second application entity's access request to the original resource and the instruction to retain the copy of the removed privacy information obtained by the first application entity, obtains the removed privacy information resource derived by the first application entity according to the instruction to retain the copy of the removed privacy information, returns the removed privacy information resource to the second application entity, deletes the removed privacy information resource, saves the removal setting in the instruction to retain the copy of the removed privacy information as a copy of the removed privacy information, and associates the original resource with the removal setting.

12. The method of claim 11, wherein, The general service entity stores a copy of the removed privacy information and associates the original resource with the copy of the removed privacy information, including: The general service entity responds to the second application entity's access request for the original resource and the instruction to retain and remove the privacy information copy obtained by the first application entity. It obtains the privacy information removed resource derived by the first application entity based on the instruction to retain and remove the privacy information copy, returns the privacy information removed resource to the second application entity, saves the privacy information removed copy, and associates the original resource with the privacy information removed copy.

13. The method of claim 11, wherein, The general service entity responds to access requests for the original resource, returning options for accessing the original resource and accessing the resource with privacy information removed, including: The general service entity responds to the second application entity's request to access the original resource by returning the options to access the original resource and access the resource with privacy information removed.

14. The method according to claim 11, wherein, Accessing the original resource option includes the original resource, and / or the resource associated with the original resource; Access to the option to remove privacy information resources includes removing privacy information resources, and / or resources associated with removing privacy information resources.

15. The method of claim 14, wherein, Accessing resources that allow you to remove privacy information includes the following options: Virtual resources for removing privacy information, addresses for removing privacy information.

16. The method of claim 11, wherein, Accessing resources that allow you to remove privacy information includes the following options: Remove privacy information resources; removing privacy information resources includes removing the address of the privacy information resources and the type of privacy information resources removed.

17. The method of any one of claims 11 to 16, wherein, After the general service entity responds to the access request for the original resource and returns the options to access the original resource and access the resource with privacy information removed, it also includes: The general service entity responds to the selection of the option to access the original resource and returns the original resource; or, The general service entity responds to the selection of the option to access the resource with privacy information removed, and returns the resource with privacy information removed.

18. The method according to claim 17, wherein, The general service entity responds to the selection of the option to access the privacy information removal resource, and returns the privacy information removal resource, including: the general service entity responds to the second application entity's selection of the option to access the privacy information removal resource, sends the removal settings to the first application entity, obtains the privacy information removal resource obtained by the first application entity based on the removal settings, returns the privacy information removal resource to the second application entity, and then deletes the privacy information removal resource.

19. An electronic device comprising: One or more processors; A memory, on which one or more computer programs are stored: One or more I / O interfaces are connected between the processor and the memory and configured to enable information interaction between the processor and the memory; When the one or more computer programs are executed by the one or more processors, they can implement the resource access control method according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Picture processing method and device

    CN110929287A

  • Electronic device and control method therefor

    US20190266338A1