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

Image resource sharing method, device and medium Download PDF

Info

Publication number
CN112887799A
CN112887799A CN202110267361.2A CN202110267361A CN112887799A CN 112887799 A CN112887799 A CN 112887799A CN 202110267361 A CN202110267361 A CN 202110267361A CN 112887799 A CN112887799 A CN 112887799A
Authority
CN
China
Prior art keywords
image resource
application
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.)
Granted
Application number
CN202110267361.2A
Other languages
Chinese (zh)
Other versions
CN112887799B (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

Images

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)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (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 the image resource is shared from the first application to the second application, the information of the image resource to be shared is obtained through the 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 resource to be shared comprises the privacy information, generating updated image resource and updated image resource information after the privacy information is deleted; and sending the updated image resource information to the second application so that the second application acquires the updated image resource based on the updated image resource information. By adopting the method, the original high-definition quality of the image resources is kept, the privacy information of the user is eliminated, and the privacy safety of the user is ensured.

Description

Image resource sharing method, device and medium
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to a method, an apparatus, and a medium for sharing image resources.
Background
The development of social informatization and networking leads to explosive growth of data and frequent progress of network socialization. The number of users sharing pictures using the social platform is too many. Shared pictures mostly use JPEG-formatted files, and privacy data such as the shooting positions of users are often carried, so that the privacy of the users is leaked.
At present, when sharing pictures by applying to a third party, most pictures are compressed and shared after most private information is deleted, but the picture quality is seriously influenced. Moreover, when sharing pictures in a bluetooth mode, a mutual transmission mode, and the like, the pictures are shared according to original pictures, and private information cannot be deleted.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an image resource sharing method, apparatus, and medium.
According to a first aspect of the embodiments of the present disclosure, a method for sharing video resources is provided, where the method is applied to a terminal, and the method includes:
when the image resource is shared from the first application to the second application, the information of the image resource to be shared is obtained through the 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 resource to be shared comprises the privacy information, generating updated image resource and updated image resource information after the privacy information is deleted;
and sending the updated image resource information to the second application so that the second application acquires the updated image resource based on the updated image resource information.
The obtaining of the image resource information to be shared by the third application includes:
and acquiring the storage address of the image resource to be shared through the third application.
Wherein, the determining, by the third application, whether the image resource to be shared includes privacy information based on the image resource information to be shared includes:
acquiring the image resource to be shared by the third application based on the storage address of the image resource to be shared;
and judging whether the image resource to be shared comprises the privacy information.
Wherein, the judging whether the image resource to be shared includes the privacy information includes:
judging whether the image resources to be shared comprise exchangeable image file format data or not;
and when the exchangeable image file format data is 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,
sending the updated image resource information to the second application, including:
and sending the updated storage address of the image resource to the second application.
When the image resource is shared from the first application to the second application, the information of the image resource to be shared is acquired through the third application, and the method includes the following steps:
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 the embodiments of the present disclosure, an image resource sharing device is provided, where the device is applied to a terminal, and the device includes:
the acquisition module is arranged for acquiring the information of the image resources to be shared through a 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 information of the image resource to be shared through the third application;
the processing module is configured to generate updated image resources and updated image resource information after the privacy information is deleted when the image resources to be shared include 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 acquisition module is further configured to acquire 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 determination module is further configured to:
acquiring the image resource to be shared by the third application based on the storage address of the image resource to be shared;
and judging whether the image resource to be shared comprises the privacy information.
The judging module is further configured to judge whether the image resource to be shared includes the privacy information in the following manner:
judging whether the image resources to be shared comprise exchangeable image file format data or not;
and when the exchangeable image file format data is 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 updated storage address of the image 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 the embodiments 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 implement the following steps when executing the executable instructions:
when the image resource is shared from the first application to the second application, the information of the image resource to be shared is obtained through the 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 resource to be shared comprises the privacy information, generating updated image resource and updated image resource information after the privacy information is deleted;
and sending the updated image resource information to the second application so that the second application acquires the updated image resource based on the updated image resource information.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a device, enable the device to perform a method for image resource sharing, the method comprising:
when the image resource is shared from the first application to the second application, the information of the image resource to be shared is obtained through the 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 resource to be shared comprises the privacy information, generating updated image resource and updated image resource information after the privacy information is deleted;
and sending the updated image resource information to the second application so that the second application acquires the updated image resource based on the updated image resource information.
The disclosure provides an image resource sharing method, in which when an image resource is shared from a first application to a second application, information of the image resource to be shared is acquired through a third application, and whether the image resource to be shared includes privacy information is judged through the third application based on the information of the image resource to be shared. When the image resource to be shared comprises the privacy information, generating updated image resource and updated image resource information after the privacy information is deleted, and then sending the updated image resource information to a second application, namely the application to which the image resource is to be shared, so that the second application acquires the updated image resource 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 Bluetooth or a 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 kept, 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 video resource sharing method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a video resource sharing method 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 illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The picture shared by the user often carries privacy data such as the shooting position of the user and the like, so that the privacy of the user is leaked. Even if a method of deleting most of private information and then sharing the private information after compression is adopted, the picture quality is seriously influenced.
The disclosure provides an image resource sharing method, in which when an image resource is shared from a first application to a second application, information of the image resource to be shared is acquired through a third application, and whether the image resource to be shared includes privacy information is judged through the third application based on the information of the image resource to be shared. When the image resource to be shared comprises the privacy information, generating updated image resource and updated image resource information after the privacy information is deleted, and then sending the updated image resource information to a second application, namely the application to which the image resource is to be shared, so that the second application acquires the updated image resource 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 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 kept, 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 illustrating an image resource sharing method according to an exemplary embodiment, where the method is applied to a terminal, and as shown in fig. 1, 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;
102, judging whether the image resource to be shared comprises privacy information or not by the third application based on the information of the image resource to be shared;
103, when the image resource to be shared includes privacy information, generating an updated image resource and updated image resource information after the privacy information is deleted;
step 104, sending 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 application scenario of the method is to share the image resource from the first application to the second application, for example, to copy a photo from an album of the terminal and prepare to share the photo in a certain application. In this case, the video resource from which the private information is deleted is acquired by the third application.
In step 101, the information of the video resource to be shared, which may be information about a storage address of the video resource or data information of the video resource itself, is obtained by the third application.
In step 102, it is determined whether the image resource to be shared includes privacy information based on the information of the image resource to be shared by the third application. The privacy information here is, for example, information such as a shooting position, shooting time, shooting apparatus, shooting parameters (including image resolution, exposure time, aperture value), and the like. Generally, the image resources generate the privacy information accordingly during shooting. A separate camera or a camera provided on the terminal generally adds such private information to the image resource during the photographing 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 to generate an updated image resource and updated image resource information after the privacy information is deleted. Since the private information of the video assets is usually represented by data in a specific format, deleting the data in the specific format can delete the private information of the video assets. The updated image assets are generated to prevent modification of the original image assets.
In step 104, after the updated image resource and the updated image resource information are generated, the updated image resource information is sent to a second application, that is, an application to which the image resource is to be shared, such as a wechat, a QQ, or other social platform. Here, the updated image resource information may include a storage address of the updated image resource, so that the second application may acquire the updated image resource based on the updated image resource 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 original high-definition quality of the image resource is kept, the privacy information of the user is removed, 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 by a third application.
When the image resource in the album is copied, the storage address of the image resource can be packaged into a Uri form, and then the Uri is put into a set format for transferring information among applications of the operating system, so that information can be transferred among different applications (such as the album and the social platform) of the terminal. For example, the set format herein adopts an Intent format of the Android system. An Intent mechanism is provided in the Android system to assist interaction and communication among applications, and Intent is responsible for describing actions, action related data and additional data of one-time operation in the applications.
After the storage address of the image resource to be shared is packaged into a Uri form, the Uri is put into Intent. The above-mentioned obtaining the storage address of the image resource to be shared may be obtained through an Intent for interacting in different applications, that is, obtaining the storage address of the image resource to be shared through obtaining Uri in the Intent. In addition, an action parameter may be set in the event to mark the video resource as a sharing event, so that the action parameter is read to determine that the resource corresponding to the Uri is the resource to be shared.
When the image resource is shared from the first application to the second application, the information of the image resource to be shared, such as the storage address of the image resource to be shared, is obtained through the third application. 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 implementation manner, the determining, by the third application, whether the to-be-shared image resource includes privacy information based on the to-be-shared image resource information includes:
acquiring the image resource to be shared by the third application based on the storage address of the image resource to be shared;
and judging whether the image resource to be shared comprises the privacy information.
For example, in an Android system, an image resource to be shared is acquired through Uri in Intent. Image resources, such as pictures, usually store private information in a certain format. Therefore, if the image resource to be shared includes the data, it is determined that the image resource includes the privacy information.
In an optional implementation manner, the determining whether the image resource to be shared includes the privacy information includes:
judging whether the image resources to be shared comprise exchangeable image file format data or not;
and when the exchangeable image file format data is included, determining that the image resource to be shared includes the privacy information.
Typically, the photographs taken by the camera all include exchangeable image file format (Exif) data. The Exif data is the above-mentioned 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 whether the image resource to be shared comprises the privacy information can be determined only by determining whether the data with the set format exists. The Exif data format is known to those skilled in the art and therefore will not be described herein.
In an alternative embodiment, the updated image resource information includes a storage address of the updated image resource,
sending the updated image resource information to the second application, including:
and sending the updated storage address of the image resource to the second application.
After the processing of deleting the private information from the image resource to be shared is performed, the processed image resource to be shared, that is, the updated image resource is stored, and the storage address of the updated image resource is obtained, that is, a new Uri is generated. The new Uri is then put into Intent, which is sent to a second application, i.e. the application to be shared, e.g. a social platform. As described above, the Inten mechanism is used for information transfer between applications, thus transferring 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 an updated image resource and updated image resource information after the privacy information is deleted, and then sending the updated image resource information to the second application without using a compression method 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 sharing the image resource from the first application to the second application, obtaining the information of the image resource to be shared by 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.
For example, when the terminal operating system is an Android system, when it is detected that the image resource is shared from the first application to the second application through an application Framework layer (Framework layer) of the Android system, an Intent of Uri equipped with the image resource is sent to the third application, so that the 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 conjunction with specific application scenarios. In this embodiment, the user shares the photos in the album into the WeChat, that is, the first application is the album, and the second application is the WeChat. The terminal to which the method for sharing the photos is applied is a mobile phone based on an Android system. As shown in fig. 2, the method comprises the steps of:
step 201, packaging the storage address of the picture to be shared in the album into Uri, and placing Uri into Intent.
Step 202, when the operating system detects that pictures are shared from the photo album, the third application acquires Intent transferred from the photo album and acquires 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 the picture is included, generating an updated picture in which the Exif data is deleted.
Step 206, storing the updated picture, and packaging the storage address of the updated picture as the updated Uri.
Step 207, place the updated Uri into Intent.
Step 208, the Intent is delivered 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 picture with high definition quality can be directly shared without compressing the picture first, and meanwhile, the privacy information of the user is eliminated, so that the privacy safety of the user is ensured, and the use experience of the user is improved.
It should be noted that the method in this embodiment is described by taking an Android system as an example, and of course, the method in this embodiment may also be applied to other systems.
The present disclosure also provides an image resource sharing device, where the device is applied to a terminal, as shown in fig. 3, the device includes:
the acquiring module 301 is configured to acquire image resource information to be shared through a third application when the image resource is shared from the first application to the second application;
a determining module 302, configured to determine, by the third application, whether the image resource to be shared includes privacy information based on the information of the image resource to be shared;
the processing module 303 is configured to generate, when the image resource to be shared includes privacy information, an updated image resource and updated image resource information after the privacy information is deleted;
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 by the third application based on the storage address of the image resource to be shared;
and judging whether the image resource to be shared comprises the privacy information.
In an optional 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 resources to be shared comprise exchangeable image file format data or not;
and when the exchangeable image file format data is included, determining that the image resource to be shared includes the privacy information.
In an alternative embodiment, the updated image resource information includes a storage address of the updated image resource,
the sending module 304 is further configured to send the updated storage address of the image resource to the second application.
In an alternative embodiment, the obtaining 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.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
According to the image resource sharing method and device, when the image resource is shared from the first application to the second application, the information of the image resource to be shared is obtained through the third application, and whether the image resource to be shared comprises the privacy information or not is judged through the third application based on the information of the image resource to be shared. When the image resource to be shared comprises the privacy information, generating updated image resource and updated image resource information after the privacy information is deleted, and then sending the updated image resource information to a second application, namely the application to which the image resource is to be shared, so that the second application acquires the updated image resource based on the updated image resource information. By adopting the method and the device, when the user shares the image resources with the privacy information to the applications supporting Bluetooth or 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 resources is kept, 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, the 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 interface for input/output (I/O) 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls 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 a portion 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 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile 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 disks.
Power components 406 provide power to the various components of device 400. 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 apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing 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 a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when 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 further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also 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 keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor component 414 can detect the open/closed state of the device 400, the relative positioning of components, such as a display and keypad of the apparatus 400, the sensor component 414 can also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without 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 gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions stored thereon that, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a video resource sharing method, the method comprising: when the image resource is shared from the first application to the second application, the information of the image resource to be shared is obtained through the 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 resource to be shared comprises the privacy information, generating updated image resource and updated image resource information after the privacy information is deleted; and sending the updated image resource information to the second application so that the second application acquires 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 will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (14)

1. A method for sharing image resources is applied to a terminal, and is characterized by comprising the following steps:
when the image resource is shared from the first application to the second application, the information of the image resource to be shared is obtained through the 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 resource to be shared comprises the privacy information, generating updated image resource and updated image resource information after the privacy information is deleted;
and sending the updated image resource information to the second application so that the second application acquires the updated image resource based on the updated image resource information.
2. The method of claim 1, wherein the obtaining of the image resource information to be shared by the third application comprises:
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 video resource to be shared includes privacy information based on the video resource to be shared information comprises:
acquiring the image resource to be shared by the third application based on the storage address of the image resource to be shared;
and judging whether the image resource to be shared comprises the privacy information.
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 resources to be shared comprise exchangeable image file format data or not;
and when the exchangeable image file format data is included, determining that the image resource to be shared includes the privacy information.
5. The method of claim 1, wherein the updated video asset information comprises a memory address of the updated video asset,
sending the updated image resource information to the second application, including:
and sending the updated storage address of the image resource to the second application.
6. The method of claim 1, wherein when the image resource is shared from the first application to the second application, obtaining information of the image resource to be shared by a third 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.
7. The utility model provides an image resource sharing device, the device is applied to in the terminal, its characterized in that, the device includes:
the acquisition module is arranged for acquiring the information of the image resources to be shared through a 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 information of the image resource to be shared through the third application;
the processing module is configured to generate updated image resources and updated image resource information after the privacy information is deleted when the image resources to be shared include 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.
8. The apparatus of claim 7, wherein the obtaining module 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.
9. The apparatus of claim 8, wherein the determining module is further configured to:
acquiring the image resource to be shared by the third application based on the storage address of the image resource to be shared;
and judging whether the image resource to be shared comprises the privacy information.
10. The apparatus of claim 9, 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 resources to be shared comprise exchangeable image file format data or not;
and when the exchangeable image file format data is included, determining that the image resource to be shared includes the privacy information.
11. The apparatus of claim 7, wherein the updated video asset information comprises a memory address of the updated video asset,
the sending module is further configured to send the updated storage address of the image resource to the second application.
12. The apparatus of claim 7, 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.
13. An image resource sharing device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the following steps when executing the executable instructions:
when the image resource is shared from the first application to the second application, the information of the image resource to be shared is obtained through the 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 resource to be shared comprises the privacy information, generating updated image resource and updated image resource information after the privacy information is deleted;
and sending the updated image resource information to the second application so that the second application acquires the updated image resource based on the updated image resource information.
14. A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a device, enable the device to perform a method of image resource sharing, the method comprising:
when the image resource is shared from the first application to the second application, the information of the image resource to be shared is obtained through the 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 resource to be shared comprises the privacy information, generating updated image resource and updated image resource information after the privacy information is deleted;
and sending the updated image resource information to the second application so that the second application acquires the updated image resource based on the updated image resource information.
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 true CN112887799A (en) 2021-06-01
CN112887799B 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)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681166A (en) * 2016-01-27 2016-06-15 网易传媒科技(北京)有限公司 Information sharing method and device
CN106055996A (en) * 2016-05-18 2016-10-26 维沃移动通信有限公司 Method and mobile terminal for multimedia information sharing
US20190318106A1 (en) * 2016-12-16 2019-10-17 Hangzhou Hikvision Digital Technology Co., Ltd. Method and apparatus for image display using privacy masking
CN110929287A (en) * 2019-11-21 2020-03-27 深圳传音控股股份有限公司 Picture processing method and device
CN111143586A (en) * 2019-08-09 2020-05-12 华为技术有限公司 Picture processing method and related device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681166A (en) * 2016-01-27 2016-06-15 网易传媒科技(北京)有限公司 Information sharing method and device
CN106055996A (en) * 2016-05-18 2016-10-26 维沃移动通信有限公司 Method and mobile terminal for multimedia information sharing
US20190318106A1 (en) * 2016-12-16 2019-10-17 Hangzhou Hikvision Digital Technology Co., Ltd. Method and apparatus for image display using privacy masking
CN111143586A (en) * 2019-08-09 2020-05-12 华为技术有限公司 Picture processing method and related device
CN110929287A (en) * 2019-11-21 2020-03-27 深圳传音控股股份有限公司 Picture processing method and device

Also Published As

Publication number Publication date
CN112887799B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
EP3136699A1 (en) Method and device for connecting external equipment
EP3200116A1 (en) Method and apparatus for acquiring information via a virtual identity module from lost or stolen terminal
CN106201734B (en) File sharing method and device
CN106126025B (en) Interactive method and device for copying and pasting
CN112114765A (en) Screen projection method and device and storage medium
KR20190050198A (en) Electronic apparatus and communication method thereof
EP2981116A1 (en) Method and apparatus for accessing wi-fi network and computer program product
CN107147815B (en) Call processing method and device based on taxi taking
CN109525652B (en) Information sharing method, device, equipment and storage medium
CN105979062B (en) Communication event processing method and device
CN107222576B (en) Photo album synchronization method and device
CN108027821B (en) Method and device for processing picture
CN106528197B (en) Shooting method and device
CN107885464B (en) Data storage method, device and computer readable storage medium
CN107193446B (en) Image processing method, device, terminal and storage medium
CN107395724B (en) Network request method and device
CN107070816B (en) Application identification method and device and mobile terminal
CN112887799B (en) Image resource sharing method, device and medium
CN105607958B (en) Information input method and device
CN109246322B (en) Information processing method and system
CN109981729B (en) File processing method and device, electronic equipment and computer readable storage medium
CN112651012A (en) Information processing method and device
CN107682623B (en) Photographing method and device
CN112954596A (en) Data sharing method, device, equipment and storage medium
CN113805978A (en) Authority display method, device and storage medium

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