CN112887799B - Image resource sharing method, device and medium - Google Patents

Image resource sharing method, device and medium Download PDF

Info

Publication number
CN112887799B
CN112887799B CN202110267361.2A CN202110267361A CN112887799B CN 112887799 B CN112887799 B CN 112887799B CN 202110267361 A CN202110267361 A CN 202110267361A CN 112887799 B CN112887799 B CN 112887799B
Authority
CN
China
Prior art keywords
application
image resource
shared
information
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110267361.2A
Other languages
Chinese (zh)
Other versions
CN112887799A (en
Inventor
赵乐玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110267361.2A priority Critical patent/CN112887799B/en
Publication of CN112887799A publication Critical patent/CN112887799A/en
Application granted granted Critical
Publication of CN112887799B publication Critical patent/CN112887799B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/454Content or additional data filtering, e.g. blocking advertisements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure relates to an image resource sharing method, device and medium. The method is applied to the terminal and comprises the following steps: when sharing image resources from a first application to a second application, acquiring information of the image resources to be shared through a third application; judging whether the image resource to be shared comprises privacy information or not based on the image resource information to be shared through the third application; when the image resources to be shared comprise privacy information, generating updated image resources and updated image resource information after deleting the privacy information; and sending the updated image resource information to the second application so that the second application can acquire the updated image resource based on the updated image resource information. By adopting the method, the original high-definition quality of the image resource is reserved, the privacy information of the user is cleared, and the privacy safety of the user is ensured.

Description

Image resource sharing method, device and medium
Technical Field
The disclosure relates to the technical field of information processing, and in particular relates to an image resource sharing method, an image resource sharing device and a medium.
Background
The development of social informatization and networking has led to explosive growth of data and frequent progress of social networking. The number of users sharing pictures using a social platform is not counted. The shared pictures mostly use JPEG-format files, wherein privacy data such as shooting positions of users are often carried, and the problem of privacy leakage of the users is caused.
At present, when sharing pictures to third parties, most of the pictures are compressed, and most of privacy information is deleted and then shared, but the picture quality is seriously affected. In addition, when sharing pictures by Bluetooth, mutual transmission and other modes, the pictures are shared according to original pictures, and privacy information cannot be deleted.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides an image resource sharing method, device and medium.
According to a first aspect of embodiments of the present disclosure, there is provided an image resource sharing method, where the method is applied to a terminal, and the method includes:
when sharing image resources from a first application to a second application, acquiring information of the image resources to be shared through a third application;
judging whether the image resource to be shared comprises privacy information or not based on the image resource information to be shared through the third application;
when the image resources to be shared comprise privacy information, generating updated image resources and updated image resource information after deleting the privacy information;
and sending the updated image resource information to the second application so that the second application can acquire the updated image resource based on the updated image resource information.
The obtaining, by the third application, the image resource information to be shared includes:
and acquiring the storage address of the image resource to be shared through the third application.
The determining, by the third application, whether the image resource to be shared includes privacy information based on the image resource to be shared includes:
acquiring the image resource to be shared based on the storage address of the image resource to be shared through the third application;
and judging whether the image resource to be shared comprises the privacy information or not.
The determining whether the image resource to be shared includes the privacy information includes:
judging whether the image resource to be shared comprises exchangeable image file format data or not;
and when the exchangeable image file format data are included, determining that the image resource to be shared includes the privacy information.
Wherein the updated image resource information includes a storage address of the updated image resource,
transmitting the updated image resource information to the second application, including:
and sending the storage address of the updated image resource to the second application.
When the image resource is shared from the first application to the second application, the obtaining of the image resource information to be shared through the third application includes:
and when the application framework layer of the terminal operating system detects that the first application shares the image resource with the second application, acquiring information of the image resource to be shared through a third application.
According to a second aspect of embodiments of the present disclosure, there is provided an image resource sharing device, where the device is applied to a terminal, and the device includes:
the acquisition module is used for acquiring information of the image resources to be shared through the third application when the image resources are shared from the first application to the second application;
the judging module is configured to judge whether the image resource to be shared comprises privacy information or not based on the image resource information to be shared through the third application;
the processing module is used for generating updated image resources and updated image resource information after deleting the privacy information when the image resources to be shared comprise the privacy information;
and the sending module is used for sending the updated image resource information to the second application so as to obtain the updated image resource based on the updated image resource information by the second application.
The obtaining module is further configured to obtain the image resource information to be shared through a third application in the following manner:
and acquiring the storage address of the image resource to be shared through the third application.
Wherein the judgment module is further configured to:
acquiring the image resource to be shared based on the storage address of the image resource to be shared through the third application;
and judging whether the image resource to be shared comprises the privacy information or not.
The judging module is further configured to judge whether the image resource to be shared includes the privacy information by:
judging whether the image resource to be shared comprises exchangeable image file format data or not;
and when the exchangeable image file format data are included, determining that the image resource to be shared includes the privacy information.
Wherein the updated image resource information includes a storage address of the updated image resource,
the sending module is further configured to send the storage address of the updated shadow resource to the second application.
Wherein the acquisition module is further configured to:
and when the application framework layer of the terminal operating system detects that the first application shares the image resource with the second application, acquiring information of the image resource to be shared through a third application.
According to a third aspect of an embodiment of the present disclosure, there is provided an image resource sharing device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to, when executing the executable instructions, implement the steps of:
when sharing image resources from a first application to a second application, acquiring information of the image resources to be shared through a third application;
judging whether the image resource to be shared comprises privacy information or not based on the image resource information to be shared through the third application;
when the image resources to be shared comprise privacy information, generating updated image resources and updated image resource information after deleting the privacy information;
and sending the updated image resource information to the second application so that the second application can acquire the updated image resource based on the updated image resource information.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, which when executed by a processor of an apparatus, causes the apparatus to perform a video resource sharing method, the method comprising:
when sharing image resources from a first application to a second application, acquiring information of the image resources to be shared through a third application;
judging whether the image resource to be shared comprises privacy information or not based on the image resource information to be shared through the third application;
when the image resources to be shared comprise privacy information, generating updated image resources and updated image resource information after deleting the privacy information;
and sending the updated image resource information to the second application so that the second application can acquire the updated image resource based on the updated image resource information.
The disclosure provides an image resource sharing method, in the method, when image resources are shared from a first application to a second application, information of the image resources to be shared is obtained through a third application, and whether the image resources to be shared comprise privacy information is judged through the third application based on the information of the image resources to be shared. When the image resources to be shared comprise privacy information, generating updated image resources and updated image resource information after the privacy information is deleted, and then sending the updated image resource information to a second application, namely an application to be shared by the image resources, so that the second application obtains the updated image resources based on the updated image resource information. By adopting the method, when the user shares the image resource with the privacy information to the application supporting the Bluetooth or the mutual transmission mode and other third party applications, the privacy information data of the user can be cleared, the privacy safety of the user is ensured, the original high-definition quality of the image resource is reserved, and the use experience of the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a method for sharing image resources according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method for sharing image resources according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating an image resource sharing apparatus according to an exemplary embodiment.
Fig. 4 is a block diagram of an apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
The pictures shared by the users often carry privacy data such as shooting positions of the users, and the privacy of the users is leaked. Even if a method of deleting most private information after compression and then sharing is adopted, the picture quality is seriously affected.
The disclosure provides an image resource sharing method, in the method, when image resources are shared from a first application to a second application, information of the image resources to be shared is obtained through a third application, and whether the image resources to be shared comprise privacy information is judged through the third application based on the information of the image resources to be shared. When the image resources to be shared comprise privacy information, generating updated image resources and updated image resource information after the privacy information is deleted, and then sending the updated image resource information to a second application, namely an application to be shared by the image resources, so that the second application obtains the updated image resources based on the updated image resource information. By adopting the method, when the user shares the image resource with the privacy information to the application supporting the Bluetooth or the mutual transmission mode, the privacy information data of the user can be cleared, the privacy safety of the user is ensured, the original high-definition quality of the image resource is reserved, and the use experience of the user is improved.
The method is applied to intelligent terminals, such as mobile phones, PADs, wearable devices and the like.
Fig. 1 is a flowchart of an image resource sharing method according to an exemplary embodiment, where the method is applied to a terminal, as shown in fig. 1, and the method includes the following steps:
step 101, when sharing image resources from a first application to a second application, obtaining information of the image resources to be shared through a third application;
step 102, judging whether the image resource to be shared comprises privacy information or not based on the image resource information to be shared through the third application;
step 103, when the image resource to be shared comprises privacy information, generating updated image resource and updated image resource information after deleting the privacy information;
step 104, sending the updated image resource information to the second application, so that the second application can acquire the updated image resource based on the updated image resource information.
The application scenario of the method is that image resources are shared from a first application to a second application, for example, photos are copied from an album of a terminal, and the photos are ready to be shared into a certain application. In this case, the third application acquires the video resource from which the privacy information is deleted.
In step 101, the third application obtains the information of the image resource to be shared, for example, the information about the storage address of the image resource, or the data information of the image resource itself.
In step 102, whether the image resource to be shared includes privacy information is determined by the third application based on the image resource information to be shared. The privacy information here is, for example, information of a photographing position, a photographing time, a photographing apparatus, photographing parameters (including image resolution, exposure time, aperture value), and the like. Generally, the video resource generates the privacy information accordingly at the time of photographing. A separate camera or a camera provided on the terminal will typically add such private information to the video asset during the shooting process.
In step 103, when it is determined that the image resource to be shared includes the privacy information, the image resource to be shared is processed, and the updated image resource information after deleting the privacy information are generated. Because the privacy information of the video resource is usually represented as data in a specific format, deleting the data in the specific format can delete the privacy information of the video resource. The updated image resources are generated here to prevent modification of the original image resources.
In step 104, after generating the updated image resource and the updated image resource information, the updated image resource information is sent to the second application, i.e. the application to which the image resource is to be shared, such as WeChat, QQ and other social platforms. Here, the updated video asset information may include a storage address of the updated video asset, so that the second application may acquire the updated video asset based on the updated video asset information.
By adopting the method, when the user shares the image resource with the privacy information from the first application to the second application, the image resource does not need to be compressed and then shared, so that the privacy information of the user is cleared while the original high-definition quality of the image resource is reserved, the privacy safety of the user is ensured, and the use experience of the user is improved.
In an optional embodiment, the obtaining, by the third application, the image resource information to be shared includes:
and acquiring the storage address of the image resource to be shared through a third application.
When the image resource in the album is copied, the storage address of the image resource is encapsulated into a format of the Uri, and then the Uri is put into a set format for transferring information between applications of an operating system, so that information is transferred between different applications (such as the album and a social platform) of the terminal. For example, the setting format here adopts the intelt format of the Android system. An Intent mechanism is provided in the Android system to assist interaction and communication between applications, and the Intent is responsible for describing actions of one-time operation in the applications, data related to the actions and additional data.
After the storage address of the image resource to be shared is packaged into a Uri form, the Uri is put into the Intent. The storage address of the image resource to be shared may be obtained through the Intel for interaction in different applications, that is, the storage address of the image resource to be shared may be obtained by obtaining the Uri in the Intel. In addition, an action parameter may be set in the Intint to mark the image resource as a sharing event, so that the resource corresponding to the Uri is determined to be the resource to be shared by reading the action parameter.
When sharing the image resource from the first application to the second application, the third application is used for obtaining the information of the image resource to be shared, such as the storage address of the image resource to be shared. The third application may be different from the first application and the second application. The third application may be an interface-less application.
In an optional embodiment, the determining, by the third application, whether the image resource to be shared includes privacy information based on the image resource to be shared includes:
acquiring the image resource to be shared based on the storage address of the image resource to be shared through the third application;
and judging whether the image resource to be shared comprises the privacy information or not.
For example, in the Android system, the image resource to be shared is obtained through the Uri in the Intent. Video resources, such as pictures, typically store private information in a certain format of data. Therefore, if the image resource to be shared includes such data, the privacy information is determined to be included.
In an optional embodiment, the determining whether the image resource to be shared includes the privacy information includes:
judging whether the image resource to be shared comprises exchangeable image file format data or not;
and when the exchangeable image file format data are included, determining that the image resource to be shared includes the privacy information.
Generally, the photos taken by the cameras all include exchangeable image file format (Exif) data. The Exif data is the above privacy information, such as shooting position, shooting time, shooting device, shooting parameters, and the like. The Exif data adopts a set data format, so that it is determined whether privacy information is included in the image resource to be shared as long as it is determined whether the data in the set format exists. The Exif data format is known to those skilled in the art and will not be described in detail herein.
In an alternative embodiment, the updated video asset information includes a storage address of the updated video asset,
transmitting the updated image resource information to the second application, including:
and sending the storage address of the updated image resource to the second application.
After the privacy information deleting process is carried out on the image resources to be shared, storing the processed image resources to be shared, namely updated image resources, and obtaining the storage address of the updated image resources, namely generating a new Uri. The new Uri is then placed into an Intent, which is sent to a second application, i.e., an application to be shared, such as a social platform. As described above, the Inten mechanism is used to transfer information between applications, and thus transfer information in one application (e.g., an album) to another application (e.g., a social platform).
Here, by determining whether the image resource to be shared includes the privacy information, if so, generating the updated image resource and the updated image resource information after the deletion of the privacy information, and then transmitting the updated image resource information to the second application without adopting a compression mode to remove the privacy information. Therefore, the quality of the image resource sent to the target application is ensured while the privacy information is deleted and the privacy of the user is protected.
In an optional embodiment, when the image resource is shared from the first application to the second application, obtaining, by the third application, information about the image resource to be shared includes:
and when the application framework layer of the terminal operating system detects that the first application shares the image resource with the second application, acquiring information of the image resource to be shared through a third application.
For example, when the terminal operating system is an Android system, and an application Framework layer (Framework layer) of the Android system detects that an image resource is shared by a first application to a second application, an Intnt of the Uri with the image resource is sent to a third application, so that information of the image resource to be shared is obtained through the third application.
Specific embodiments according to the present disclosure are described below in connection with specific application scenarios. In this embodiment, the user shares photos in the album into the WeChat, i.e., the first application is the album and the second application is the WeChat. The terminal used for sharing the photos is a mobile phone based on an Android system. As shown in fig. 2, the method comprises the steps of:
step 201, packaging a storage address of a picture to be shared in the album as a Uri, and putting the Uri into the Intent.
In step 202, when the operating system detects that the photo is shared from the album, the third application obtains the Intnt transferred from the album, and obtains the Uri therein.
In step 203, the third application obtains the picture to be shared based on the Uri.
In step 204, the third application determines whether the picture to be shared includes Exif data.
Step 205, when included, generates an updated picture from which the Exif data is deleted.
Step 206, storing the updated picture, and encapsulating the storage address of the updated picture as an updated Uri.
Step 207, put the updated Uri into the Intent.
Step 208, the Intent is transferred to the WeChat to share the picture in the WeChat.
By adopting the method, when the user shares the picture with the privacy information to the social platform such as WeChat, the user can directly share the picture with high definition quality without compressing the picture, and meanwhile, the privacy information of the user is cleared, the privacy safety of the user is ensured, and the use experience of the user is improved.
It should be noted that, the method of this embodiment is described by taking the Android system as an example, and of course, the method of this embodiment may also be applied to other systems.
The disclosure further provides an image resource sharing device, where the device is applied to a terminal, as shown in fig. 3, and the device includes:
the acquiring module 301 is configured to acquire, when sharing an image resource from the first application to the second application, information of the image resource to be shared through the third application;
the judging module 302 is configured to judge, by the third application, whether the image resource to be shared includes privacy information based on the image resource information to be shared;
a processing module 303, configured to generate an updated image resource and updated image resource information after deleting the privacy information when the image resource to be shared includes the privacy information;
and a sending module 304 configured to send the updated image resource information to the second application, so that the second application obtains the updated image resource based on the updated image resource information.
In an optional embodiment, the obtaining module 301 is further configured to obtain the image resource information to be shared through a third application by:
and acquiring the storage address of the image resource to be shared through the third application.
In an alternative embodiment, the determining module 302 is further configured to:
acquiring the image resource to be shared based on the storage address of the image resource to be shared through the third application;
and judging whether the image resource to be shared comprises the privacy information or not.
In an alternative embodiment, the determining module 302 is further configured to determine whether the image resource to be shared includes the privacy information by:
judging whether the image resource to be shared comprises exchangeable image file format data or not;
and when the exchangeable image file format data are included, determining that the image resource to be shared includes the privacy information.
In an alternative embodiment, the updated video asset information includes a storage address of the updated video asset,
the sending module 304 is further configured to send the storage address of the updated shadow resource to the second application.
In an alternative embodiment, the acquisition module 301 is further configured to:
and when the application framework layer of the terminal operating system detects that the first application shares the image resource with the second application, acquiring information of the image resource to be shared through a third application.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
According to the image resource sharing method and device, when the image resource is shared from the first application to the second application, the image resource information to be shared is obtained through the third application, and whether the image resource to be shared comprises privacy information or not is judged through the third application based on the image resource information to be shared. When the image resources to be shared comprise privacy information, generating updated image resources and updated image resource information after the privacy information is deleted, and then sending the updated image resource information to a second application, namely an application to be shared by the image resources, so that the second application obtains the updated image resources based on the updated image resource information. By adopting the method and the device, when the user shares the image resource with the privacy information to the application supporting the Bluetooth or the mutual transmission mode and other third party applications, the privacy information data of the user can be cleared, the privacy safety of the user is ensured, the original high-definition quality of the image resource is reserved, and the use experience of the user is improved.
Fig. 4 is a block diagram illustrating an image resource sharing apparatus 400 according to an exemplary embodiment.
Referring to fig. 4, apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls the overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
Memory 404 is configured to store various types of data to support operations at device 400. Examples of such data include instructions for any application or method operating on the apparatus 400, contact data, phonebook data, messages, pictures, videos, and the like. The memory 404 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 406 provides power to the various components of the device 400. The power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen between the device 400 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 400 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 further includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 414 includes one or more sensors for providing status assessment of various aspects of the apparatus 400. For example, the sensor assembly 414 may detect the on/off state of the device 400, the relative positioning of the components, such as the display and keypad of the apparatus 400, the sensor assembly 414 may also detect the change in position of the apparatus 400 or one component of the apparatus 400, the presence or absence of user contact with the apparatus 400, the orientation or acceleration/deceleration of the apparatus 400, and the change in temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate communication between the apparatus 400 and other devices in a wired or wireless manner. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 416 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 404, including instructions executable by processor 420 of apparatus 400 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform a method of image resource sharing, the method comprising: when sharing image resources from a first application to a second application, acquiring information of the image resources to be shared through a third application; judging whether the image resource to be shared comprises privacy information or not based on the image resource information to be shared through the third application; when the image resources to be shared comprise privacy information, generating updated image resources and updated image resource information after deleting the privacy information; and sending the updated image resource information to the second application so that the second application can acquire the updated image resource based on the updated image resource information.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. The image resource sharing method is applied to a terminal and is characterized by comprising the following steps:
when sharing image resources from a first application to a second application, acquiring information of the image resources to be shared through a third application;
judging whether the image resource to be shared comprises privacy information or not based on the image resource information to be shared through the third application;
when the image resources to be shared comprise privacy information, generating updated image resources and updated image resource information after deleting the privacy information;
transmitting the updated image resource information to the second application, so that the second application obtains the updated image resource based on the updated image resource information;
the updated image resource information includes a storage address of the updated image resource, and the sending the updated image resource information to the second application includes:
and sending the storage address of the updated image resource to the second application.
2. The method of claim 1, wherein the obtaining, by the third application, the image resource information to be shared includes:
and acquiring the storage address of the image resource to be shared through the third application.
3. The method of claim 2, wherein the determining, by the third application, whether the image resource to be shared includes privacy information based on the image resource to be shared information, comprises:
acquiring the image resource to be shared based on the storage address of the image resource to be shared through the third application;
and judging whether the image resource to be shared comprises the privacy information or not.
4. The method of claim 3, wherein the determining whether the image resource to be shared includes the privacy information comprises:
judging whether the image resource to be shared comprises exchangeable image file format data or not;
and when the exchangeable image file format data are included, determining that the image resource to be shared includes the privacy information.
5. The method of claim 1, wherein the obtaining, by the third application, the image resource information to be shared when the image resource is shared from the first application to the second application, comprises:
and when the application framework layer of the terminal operating system detects that the first application shares the image resource with the second application, acquiring information of the image resource to be shared through a third application.
6. An image resource sharing device, which is applied to a terminal, is characterized in that the device comprises:
the acquisition module is used for acquiring information of the image resources to be shared through the third application when the image resources are shared from the first application to the second application;
the judging module is configured to judge whether the image resource to be shared comprises privacy information or not based on the image resource information to be shared through the third application;
the processing module is used for generating updated image resources and updated image resource information after deleting the privacy information when the image resources to be shared comprise the privacy information;
a sending module configured to send the updated image resource information to the second application, so that the second application obtains the updated image resource based on the updated image resource information;
the updated image resource information includes a storage address of the updated image resource, and the sending module is further configured to send the storage address of the updated image resource to the second application.
7. The apparatus of claim 6, wherein the obtaining module is further configured to obtain the image resource information to be shared by a third application by:
and acquiring the storage address of the image resource to be shared through the third application.
8. The apparatus of claim 7, wherein the determination module is further configured to:
acquiring the image resource to be shared based on the storage address of the image resource to be shared through the third application;
and judging whether the image resource to be shared comprises the privacy information or not.
9. The apparatus of claim 8, wherein the determining module is further configured to determine whether the image resource to be shared includes the privacy information by:
judging whether the image resource to be shared comprises exchangeable image file format data or not;
and when the exchangeable image file format data are included, determining that the image resource to be shared includes the privacy information.
10. The apparatus of claim 6, wherein the acquisition module is further configured to:
and when the application framework layer of the terminal operating system detects that the first application shares the image resource with the second application, acquiring information of the image resource to be shared through a third application.
11. An image resource sharing device is characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to, when executing the executable instructions, implement the steps of:
when sharing image resources from a first application to a second application, acquiring information of the image resources to be shared through a third application;
judging whether the image resource to be shared comprises privacy information or not based on the image resource information to be shared through the third application;
when the image resources to be shared comprise privacy information, generating updated image resources and updated image resource information after deleting the privacy information;
transmitting the updated image resource information to the second application, so that the second application obtains the updated image resource based on the updated image resource information;
the updated image resource information includes a storage address of the updated image resource, and the sending the updated image resource information to the second application includes:
and sending the storage address of the updated image resource to the second application.
12. A non-transitory computer readable storage medium, which when executed by a processor of an apparatus, causes the apparatus to perform a video resource sharing method, the method comprising:
when sharing image resources from a first application to a second application, acquiring information of the image resources to be shared through a third application;
judging whether the image resource to be shared comprises privacy information or not based on the image resource information to be shared through the third application;
when the image resources to be shared comprise privacy information, generating updated image resources and updated image resource information after deleting the privacy information;
transmitting the updated image resource information to the second application, so that the second application obtains the updated image resource based on the updated image resource information;
the updated image resource information includes a storage address of the updated image resource, and the sending the updated image resource information to the second application includes:
and sending the storage address of the updated image resource to the second application.
CN202110267361.2A 2021-03-11 2021-03-11 Image resource sharing method, device and medium Active CN112887799B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110267361.2A CN112887799B (en) 2021-03-11 2021-03-11 Image resource sharing method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110267361.2A CN112887799B (en) 2021-03-11 2021-03-11 Image resource sharing method, device and medium

Publications (2)

Publication Number Publication Date
CN112887799A CN112887799A (en) 2021-06-01
CN112887799B true CN112887799B (en) 2023-07-25

Family

ID=76042105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110267361.2A Active CN112887799B (en) 2021-03-11 2021-03-11 Image resource sharing method, device and medium

Country Status (1)

Country Link
CN (1) CN112887799B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11706381B2 (en) 2021-05-24 2023-07-18 Getac Technology Corporation Selective obfuscation of objects in media content

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143586A (en) * 2019-08-09 2020-05-12 华为技术有限公司 Picture processing method and related device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681166B (en) * 2016-01-27 2019-01-18 网易传媒科技(北京)有限公司 A kind of information sharing method and device
CN106055996B (en) * 2016-05-18 2021-03-16 维沃移动通信有限公司 Multimedia information sharing method and mobile terminal
CN108206930A (en) * 2016-12-16 2018-06-26 杭州海康威视数字技术股份有限公司 The method and device for showing image is covered based on privacy
CN110929287B (en) * 2019-11-21 2023-01-10 深圳传音控股股份有限公司 Picture processing method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143586A (en) * 2019-08-09 2020-05-12 华为技术有限公司 Picture processing method and related device

Also Published As

Publication number Publication date
CN112887799A (en) 2021-06-01

Similar Documents

Publication Publication Date Title
EP3110188A1 (en) Method and device for accessing operator network
EP3136699A1 (en) Method and device for connecting external equipment
US11558494B2 (en) Method and apparatus for processing data, user equipment and computer-readable storage medium
CN108702763B (en) Method and device for sending lead code and scheduling request
CN106126025B (en) Interactive method and device for copying and pasting
CN105100074A (en) Data operation processing method, device and terminal equipment
CN107147815B (en) Call processing method and device based on taxi taking
US20220256497A1 (en) Methods and apparatuses for receiving paging signaling, and methods and apparatuses for transmitting paging signaling
CN105049219B (en) Flow booking method and system, mobile terminal and server
CN106453982A (en) Method and apparatus for dialing telephone number, fixed telephone and mobile terminal
CN110166564B (en) Information communication method, terminal and storage medium
US20200163119A1 (en) Random access method and apparatus, user equipment, and computer readable storage medium
CN112887799B (en) Image resource sharing method, device and medium
CN107222576B (en) Photo album synchronization method and device
CN104780256A (en) Address book management method and device and intelligent terminal
CN104363299B (en) A kind of method and device based on bracelet control picture transfer
CN105227891A (en) A kind of video call method and device
CN106528197B (en) Shooting method and device
CN107885464B (en) Data storage method, device and computer readable storage medium
CN109565474B (en) Data transmission method and device, electronic equipment and computer readable storage medium
CN107395724B (en) Network request method and device
CN106155696B (en) Method and device for deleting information
CN114430370B (en) Method, device, equipment and storage medium for determining network slice
CN109246322B (en) Information processing method and system
CN107682623B (en) Photographing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant