CN109889348B - Image sharing method and device - Google Patents

Image sharing method and device Download PDF

Info

Publication number
CN109889348B
CN109889348B CN201811582744.3A CN201811582744A CN109889348B CN 109889348 B CN109889348 B CN 109889348B CN 201811582744 A CN201811582744 A CN 201811582744A CN 109889348 B CN109889348 B CN 109889348B
Authority
CN
China
Prior art keywords
image
target
user
input
indication information
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
CN201811582744.3A
Other languages
Chinese (zh)
Other versions
CN109889348A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811582744.3A priority Critical patent/CN109889348B/en
Publication of CN109889348A publication Critical patent/CN109889348A/en
Application granted granted Critical
Publication of CN109889348B publication Critical patent/CN109889348B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides an image sharing method and device, relates to the technical field of communication, and aims to solve the problem that privacy of a user is possibly leaked when the user shares images in a group. The method comprises the following steps: receiving a first input from a first end user; generating sharing indication information based on the first input; the sharing indication information comprises a first image, a target object, a target group and a target user; the first image comprises a target object; the target group comprises target users; sending the sharing indication information to a server; the sharing indication information is used for indicating the server to send the first image in the first display state to a second terminal corresponding to the target user; in the first display state, the target object is not visible. The embodiment of the invention is used for image sharing.

Description

Image sharing method and device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an image sharing method and device.
Background
With the arrival of the information age, establishing a group to share information has become one of the important communication ways of people, and sharing images in the group is the most common function, and a large number of users share images in groups such as group chatting, group photo albums and the like every day.
In some cases, a user wants to share an image in a group and some members of the group cannot see specific content in the image, such as: the user wants to share a photo at a party within a group, and the user does not want member a in the group to see someone in the photo, while other members in the group can see the entire contents of the photo. However, in the prior art, when a user shares an image in a group, each member of the group can completely see the shared image. That is, the authority to view images is equal for all members in the group, and the images seen by each group member are the same, so that the privacy of the user may be leaked.
Disclosure of Invention
The embodiment of the invention provides an image sharing method and device, which are used for solving the problem that privacy of a user is possibly leaked when the user shares images in a group.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an image sharing method, which is applied to a first terminal, and the method includes:
receiving a first input from a first end user;
generating sharing indication information based on the first input; the sharing indication information comprises a first image, a target object, a target group and a target user; the target object is included in the first image; the target group comprises the target user;
sending the sharing indication information to a server;
the sharing indication information is used for indicating the server to send the first image in the first display state to a second terminal corresponding to the target user; in the first display state, the target object is not visible.
In a second aspect, an embodiment of the present invention provides an image sharing method, which is applied to a server, and the method includes:
receiving sharing indication information sent by a first terminal, wherein the sharing indication information comprises a first image, a target object, a target group and a target user; the target object is included in the first image; the target group comprises the target user;
receiving a downloading request of the first image sent by a second terminal;
under the condition that the second terminal user is the target user, sending the first image in a first display state to the second terminal;
wherein, in the first display state, the target object is not visible.
In a third aspect, an embodiment of the present invention provides a terminal device, including:
a receiving unit for receiving a first input of an end user;
the processing unit is used for generating sharing indication information based on the first input; the sharing indication information comprises a first image, a target object, a target group and a target user; the target object is included in the first image; the target group comprises the target user;
the sending unit is used for sending the sharing indication information to a server;
the sharing indication information is used for indicating the server to send the first image in the first display state to a second terminal corresponding to the target user; in the first display state, the target object is not visible.
In a fourth aspect, an embodiment of the present invention provides a server, including:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving sharing indication information sent by a first terminal, and the sharing indication information comprises a first image, a target object, a target group and a target user; the target object is included in the first image; the target group comprises the target user;
the receiving unit is further configured to receive a download request for the first image sent by a second terminal;
a sending unit, configured to send the first image in a first display state to the second terminal when the second terminal user is the target user;
wherein, in the first display state, the target object is not visible.
In a fifth aspect, an embodiment of the present invention provides a terminal device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the image sharing method according to the first aspect.
In a sixth aspect, an embodiment of the present invention provides a server, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the image sharing method according to the second aspect.
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the image sharing method according to any one of the first to fourth aspects are implemented.
The image sharing method provided by the embodiment of the invention comprises the steps of firstly receiving first input of a first terminal user, then generating sharing indication information based on the first input of the user, and finally sending the sharing indication information to a server, wherein the sharing indication information comprises a first image, a target object, a target group and a target user, the first image comprises the target object, the target group comprises the target user, and the sharing indication information is used for indicating the server to send the first image in a first display state to a second terminal corresponding to the target user; in the first display state, the target object is invisible, so that when the terminal device shares the first image with the target group, the server can send the first image, which is invisible to the target user in the target group, to the target user in the target group based on the sharing indication information, and the target user cannot view the target object in the first image.
Drawings
Fig. 1 is a schematic diagram of a system architecture applied to an image sharing method according to an embodiment of the present disclosure;
fig. 2 is an architecture diagram of an android operating system provided in an embodiment of the present application;
FIG. 3 is a flowchart illustrating steps of an image sharing method according to an embodiment of the present invention;
fig. 4 is an interface diagram of an application scenario of the image sharing method according to the embodiment of the present invention;
fig. 5 is a second flowchart illustrating steps of an image sharing method according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating a third image according to an embodiment of the present invention;
fig. 7 is an interaction flowchart of an image sharing method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 11 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship; in the formula, the character "/" indicates that the preceding and following related objects are in a relationship of "division". The term "plurality" herein means two or more, unless otherwise specified.
For the convenience of clearly describing the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, the words "first", "second", and the like are used to distinguish the same items or similar items with basically the same functions or actions, and those skilled in the art can understand that the words "first", "second", and the like do not limit the quantity and execution order.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion. In the embodiments of the present invention, the meaning of "a plurality" means two or more unless otherwise specified.
In the prior art, when a user shares an image in a group, each member in the group can completely see the shared image. That is, the authority to view images is equal for all members in the group, and the images seen by each group member are the same, so that the privacy of the user may be leaked.
Based on the above problem, an embodiment of the present invention provides an image sharing method and an image sharing apparatus, where the image sharing method first receives a first input of a first terminal user, then generates sharing indication information based on the first input of the user, and finally sends the sharing indication information to a server, where the sharing indication information includes a first image, a target object, a target group and a target user, the first image includes the target object, the target group includes the target user, and the sharing indication information is used to indicate the server to send the first image in a first display state to a second terminal corresponding to the target user; in the first display state, the target object is invisible, so that when the terminal device shares the first image with the target group, the server can send the first image, which is invisible to the target user in the target group, to the target user in the target group based on the sharing indication information, and the target user cannot view the target object in the first image.
First, a communication system applied to the image sharing method according to an embodiment of the present invention will be described below.
Exemplarily, referring to fig. 1, a communication system applied to an image sharing method according to an embodiment of the present invention includes: the server 11 and the terminal devices corresponding to the member devices in the group; in fig. 1, the group includes a member a, a member B, and a member C, and the group includes a member a corresponding to the terminal device 12, a member B corresponding to the terminal device 13, and a member C corresponding to the terminal device 14. The terminal devices corresponding to the member devices in the group can communicate with the server 11. The process of sharing images to the group by any member in the group is as follows: the method comprises the steps that a terminal device corresponding to a member for image sharing sends an image to be shared to a server, the server generates a link of the image to be shared and sends the link of the image to be shared to terminal devices corresponding to other members in a group, and when the other members in the group want to view the shared image, the shared image can be downloaded by clicking the link sent by the server.
The terminal device in the embodiment of the present invention may be a terminal device such as a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), an intelligent watch, and an intelligent bracelet, or the terminal device may be another type of terminal device, which is not limited in the embodiment of the present invention.
Next, a software environment applied to the image sharing method provided by the embodiment of the present application is introduced by taking an android operating system as an example.
As shown in fig. 2, fig. 2 is a schematic diagram of a possible android operating system applied by the image sharing method according to the embodiment of the present disclosure. In fig. 2, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present application, a developer may develop a software program that implements the method for quickly starting an application program provided in the embodiment of the present application based on the system architecture of the android operating system shown in fig. 2, so that the method for quickly starting an application program may operate based on the android operating system shown in fig. 2. Namely, the processor or the terminal device can implement the method for rapidly starting the application program provided by the embodiment of the application by running the software program in the android operating system.
An embodiment of the present invention provides an image sharing method, and specifically, referring to fig. 3, the image sharing method includes the following steps 301 to 303.
Step 301, the first terminal receives a first input from a first terminal user.
Optionally, in step 301, the first input of the user may include: at least one of an input to the first image, an input to the target object, an input to the target group, and an input to the target user.
The first terminal user is a user using the first terminal, or a user corresponding to the first terminal.
Specifically, the first input in the embodiment of the present invention may be a touch input, or a specific voice command, or a specific gesture, or a pressing input to a physical key of the terminal device.
In some embodiments of the present invention, the specific gesture may be any one of a single-tap gesture, a sliding gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-tap gesture.
And 302, the first terminal generates sharing indication information based on the first input.
The sharing indication information comprises a first image, a target object, a target group and a target user; the target object is included in the first image; the target group comprises the target user.
Further, a specific implementation of the above steps 301 and 302 is described below.
The first implementation mode,
Optionally, step 301 (receiving a first input from the first end user) includes:
receiving a first sub-input of a first end user to a first object in the first image and a second sub-input to the first user;
the step 302 (generating sharing instruction information based on the first input) includes:
determining the first object as a target object in response to the first sub-input;
determining the first user as a target user in response to the second sub-input;
and generating the sharing indication information based on the first image, the target object and the target user.
Illustratively, referring to fig. 4, in fig. 4, the first face 41 and the second face 42 are included in the first image 400, and the user wants to share the first image 400 to include: a group (target group) of a member a, a member B, a member C, a member D, a member E, a member F, a member G, and a member H, but a first implementation manner of the above embodiment is exemplified by an example that the member a and the member B (target user) are not required to see the first face 41 (target object) in the first image 400, and as shown in fig. 4, a possible implementation manner of the above implementation manner includes: receiving a first sub-input of a user to a first face 41 in a first image 400, displaying a member list of a target group in response to the first sub-input, receiving a second sub-input of the user to a member A and a member C, determining the member A and the member B as target users in response to the second sub-input, and generating the sharing indication information based on the first image, the target object and the target users.
The second implementation mode,
Optionally, step 301 (receiving a first input from the first end user) includes:
receiving a third sub-input of a first end user to a second object in the second image, a fourth sub-input to a first user, and a fifth sub-input to the first image;
the step 302 (generating sharing instruction information based on the first input) includes:
determining a second object in the second image as the target object in response to the third sub-input;
determining the first user as the target user in response to the fourth sub-input;
in response to the fifth sub-input, determining the first image as an image to be shared; wherein the second object is included in the first image;
and generating the sharing indication information based on the first image, the target object and the target user.
That is, the user can select an object in an image other than the image to be shared as an object to be masked.
For example: the method for sharing the group of the target group comprises the steps that a first face and a second face are shared in the group of the target group, but a user F in the group of the target group does not want to see a second face in the group of the target group, the user can input a first sub-operation to another photo (for example, a single photo of a person corresponding to the second face) comprising the second face, input a second sub-operation to the user F, input a third sub-operation to the photo comprising the first face and the second face, and then generate sharing indication information comprising the first face and the second face, the second face and the user F based on the user operation.
And step 303, the first terminal sends the sharing indication information to a server.
The sharing indication information is used for indicating the server to send the first image in the first display state to a second terminal corresponding to the target user; in the first display state, the target object is not visible.
The image sharing method provided by the embodiment of the invention comprises the steps of firstly receiving first input of a first terminal user, then generating sharing indication information based on the first input of the user, and finally sending the sharing indication information to a server, wherein the sharing indication information comprises a first image, a target object, a target group and a target user, the first image comprises the target object, the target group comprises the target user, and the sharing indication information is used for indicating the server to send the first image in a first display state to a second terminal corresponding to the target user; in the first display state, the target object is invisible, so that when the terminal device shares the first image with the target group, the server can send the first image, which is invisible to the target user in the target group, to the target user in the target group based on the sharing indication information, and the target user cannot view the target object in the first image.
An embodiment of the present invention provides another image sharing method, and specifically, referring to fig. 5, the image sharing method includes the following steps 501 to 505.
Step 501, the server receives sharing indication information sent by the first terminal.
The sharing indication information comprises a first image, a target object, a target group and a target user; the target object is included in the first image; the target group comprises the target user.
Optionally, after step 501 (receiving the sharing indication information sent by the first terminal), the image sharing method provided in the embodiment of the present invention further includes:
and performing preset image processing on the target object in the first image to generate a third image, wherein the target object in the third image is invisible.
That is, after receiving the sharing instruction information, an image in which the target object is invisible is generated based on the sharing instruction information.
Optionally, the performing of the preset image processing on the target object in the first image may specifically be: performing mosaic processing on the target object in the first image.
Illustratively, referring to fig. 6, where fig. 6a is a first image including a first face 41 and a second face 42, if the target object is the first face 41, a third image is generated as shown in fig. 6b, the first face 41 is invisible, if the target object is the second face 42, a third image is generated as shown in fig. 6c, the first face 42 is invisible, and if the target object is the first face 41 and the second face, a third image is generated as shown in fig. 6d, the first face 41 and the second face 42 are invisible.
It should be noted that, in some cases, the third image may further include a plurality of images. For example: the target objects corresponding to the user a and the user B are the first faces shown in fig. 6, and the target objects corresponding to the user a and the user F are the second faces shown in fig. 6, then the third image needs to include three images shown in fig. 6B, 6c, and 6d, where 6a is the third image corresponding to the user B, 6c is the third image corresponding to the user F, and 6d is the third image corresponding to the user a.
Further optionally, after performing preset image processing on the target object in the first image and generating a third image, the method further includes:
generating a first thumbnail and a second thumbnail based on the first image;
generating a first download link based on the first image;
generating a second download link based on the third image;
establishing a first incidence relation between the first thumbnail and the first downloading link, and establishing a second incidence relation between the second thumbnail and the second downloading link;
sending the first thumbnail to a second terminal of a first type, and sending the second thumbnail to a second terminal of a second type;
wherein the second end user of the first type is not the target user and the second end user of the second type is the target user.
The embodiment performs the preset image processing on the first image in advance to generate the third image before receiving the download request of the first image sent by the second terminal, and respectively generating a first download link based on the first image and a second download link based on the third image, then, when a first association relation between the first thumbnail and the first download link is established, a second association relation between the second thumbnail and the second download link is established, finally, the first thumbnail is sent to a second terminal of the first type, and the second thumbnail is sent to a second terminal of the second type, so that when a server receives a download request for the first image sent by the second terminal, the first image and the third image can be directly sent to the second terminal according to the download link, so that the time delay of the second type of second terminal for obtaining the third image can be reduced.
Step 502, the server receives a download request for the first image sent by the second terminal.
Namely, a downloading request sent by a second terminal is received, wherein the downloading request is used for requesting to download the first image.
Illustratively, after the server generates a third image by performing preset image processing on the target object in the first image, a first thumbnail and a second thumbnail are generated based on the first image; generating a first download link based on the first image; generating a second download link based on the third image; in the step 502, when establishing a first association relationship between the first thumbnail and the first download link, establishing a second association relationship between the second thumbnail and the second download link, and sending the first thumbnail to the second terminal of the first type, and sending the second thumbnail to the second terminal of the second type, the step of receiving, by the server, the download request for the first image sent by the second terminal may be: receiving a downloading request of a first image triggered by a first input of a target thumbnail displayed in a communication interface of a target group by a second terminal user, wherein the target thumbnail is the first thumbnail or the second thumbnail. That is, the second terminal receives a first input of the received thumbnail (the first thumbnail or the second thumbnail) from the user, the second terminal transmits a download request for the first image to the server in response to the first input, and the corresponding server receives the download request for the first image transmitted by the second terminal.
Step 503, the server determines whether the second end user is a target user.
In step 503, if the server determines that the second end user is the target user, the following step 504 is executed.
Step 504, the server sends the first image in the first display state to the second terminal.
Wherein, in the first display state, the target object is not visible.
Optionally, in a case where the second thumbnail is sent to a second terminal of a second type, and in a case where the second terminal user is the target user, sending the first image in the first display state to the second terminal includes:
and for the second terminal of the second type, sending the third image to the second terminal based on the second download link.
Optionally, when the second terminal user is the target user, sending the first image in the first display state to the second terminal includes:
when the second terminal user is the target user, performing preset image processing on the target object in the first image, and sending the processed first image to the second terminal;
wherein the target object in the processed first image is not visible.
That is, when the second terminal is the target user, and when the second terminal downloads the first image, the second terminal performs preset image processing on the target object in the first image, and then sends the processed first image to the second terminal.
In the embodiment, the server performs the preset image processing on the first image only when receiving the download request for the first image sent by the second terminal of the first type, so that the server may not perform the preset image processing on the first image under the condition that the second terminal of the first type does not send the download request for the first image to the server, and thus the embodiment can reduce data to be processed by the server, and further reduce power consumption of the server.
In step 503, if the server determines that the second end user is not the target user, the following step 505 is executed.
And step 505, the server sends the first image to the second terminal.
Optionally, in a case where the second thumbnail is sent to a second terminal of a first type, and in a case where the second terminal user is not the target user, sending the first image to the second terminal includes:
for the second terminal of the first type, the first image is sent to the second terminal based on the first download link.
In the above embodiment, for the second terminal of the first type, the server sends the first image to the second terminal based on the first download link, so that the above embodiment can ensure that users other than the target user can normally receive the first image.
The image sharing method provided by the embodiment of the invention firstly receives sharing indication information sent by a first terminal, then receives a downloading request of a first image sent by a second terminal, and sends the first image in a first display state to the second terminal under the condition that a second terminal user is a target user, wherein the sharing indication information comprises the first image, a target object, a target group and the target user; the target object is included in the first image; the target group comprises the target user, and in the first display state, the target object is invisible, so that when the terminal device shares the first image with the target group, the server can send the first image, which is invisible to the target user in the target group, to the target user in the target group based on the sharing indication information, and further the target user cannot view the target object in the first image, and therefore the embodiment can solve the problem that when the user shares the image with the group, privacy of the user may be leaked.
An embodiment of the present invention provides an image sharing method, and specifically, referring to fig. 7, the image sharing method provided in the embodiment of the present invention includes:
step 701, the first terminal receives a first input of a first terminal user.
Step 702, the first terminal generates sharing indication information based on the first input.
The sharing indication information comprises a first image, a target object, a target group and a target user; the target object is included in the first image; the target group comprises the target user.
And step 703, the first terminal sends the sharing indication information to a server.
Correspondingly, the server receives the sharing indication information sent by the first terminal.
The sharing indication information is used for indicating the server to send the first image in the first display state to a second terminal corresponding to the target user; in the first display state, the target object is not visible.
Step 704, the second terminal sends a request for downloading the first image to the server.
Correspondingly, the server receives a downloading request of the first image sent by the second terminal.
Step 705, the server determines whether the second end user is the target user.
In the above step 705, if the second end user is the target user, the following step 706 is executed, and if the second end user is not the target user, the following step 707 is executed.
Step 706, the server sends the first image in the first display state to the second terminal.
Namely, the server transmits the first image in the first display state to the second terminal.
Wherein, in the first display state, the target object is not visible.
Step 707, the server sends the first image to the second terminal.
The image sharing method provided by the embodiment of the invention comprises the steps of firstly receiving first input of a first terminal user, then generating sharing indication information based on the first input of the user, and finally sending the sharing indication information to a server, wherein the sharing indication information comprises a first image, a target object, a target group and a target user, the first image comprises the target object, the target group comprises the target user, and the sharing indication information is used for indicating the server to send the first image in a first display state to a second terminal corresponding to the target user; in the first display state, the target object is invisible, so that when the terminal device shares the first image with the target group, the server can send the first image, which is invisible to the target user in the target group, to the target user in the target group based on the sharing indication information, and the target user cannot view the target object in the first image.
According to the method, the terminal device and the like can be divided into the functional modules. For example, the functional blocks may be divided for the respective functions, or two or more functions may be integrated into one block. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of using an integrated unit, fig. 8 shows a schematic diagram of a possible structure of the terminal device according to the first embodiment, where the terminal device 800 includes:
a receiving unit 81 for receiving a first input of an end user;
the processing unit 82 is configured to generate sharing indication information based on the first input; the sharing indication information comprises a first image, a target object, a target group and a target user; the target object is included in the first image; the target group comprises the target user;
a sending unit 83, configured to send the sharing instruction information to a server;
the sharing indication information is used for indicating the server to send the first image in the first display state to a second terminal corresponding to the target user; in the first display state, the target object is not visible.
Optionally, the receiving unit 81 is specifically configured to receive a first sub-input of a first end user to a first object in the first image and a second sub-input of the first end user to the first user;
the processing unit 82 is specifically configured to determine, in response to the first sub-input, the first object as a target object, determine, in response to the second sub-input, the first user as a target user, and generate the sharing instruction information based on the first image, the target object, and the target user.
Optionally, the receiving unit 81 is specifically configured to receive a third sub-input of the first end user to the second object in the second image, a fourth sub-input of the first end user to the first user, and a fifth sub-input of the first image;
the processing unit 82 is specifically configured to determine, in response to the third sub-input, a second object in the second image as the target object, determine, in response to the fourth sub-input, the first user as the target user, and determine, in response to the fifth sub-input, the first image as an image to be shared; the first image comprises the second object, and the sharing indication information is generated based on the first image, the target object and the target user.
The terminal device provided in the embodiment of the present invention first receives a first input of a target face in a target image of a user, and correspondingly displays a member list of a target group with the first input, then receives a second input of the target user in the member list of the target group from the user, and in response to the second input, generates sharing indication information for indicating that a first member shares the target image with the target group, hides the target face in the target image from the target user, and finally receives a third input for sharing the target image with the target group, which is input by the user, and in response to the third input, sends the sharing indication information and the target image to a sharing server, because the terminal device sends an image to be shared and the sharing indication information to the server together when the project group shares the image, therefore, the server can generate the images meeting the sharing indication information and respectively send the links of the original images and the links of the images meeting the sharing indication information to the corresponding members, so that the image content viewable by each member in the group can be respectively customized, and the problem that the image content viewable by each member in the group cannot be respectively customized when the user shares the images in the group can be solved.
Corresponding to the terminal device provided in the foregoing embodiment, an embodiment of the present invention further provides a server, where, in a case of using an integrated unit, fig. 9 shows a schematic diagram of a possible structure of the server in the first embodiment, where the server 900 includes:
the receiving unit 91 is configured to receive sharing indication information sent by a first terminal, where the sharing indication information includes a first image, a target object, a target group, and a target user; the target object is included in the first image; the target group comprises the target user;
the receiving unit 91 is further configured to receive a download request for the first image sent by a second terminal;
a sending unit 92, configured to send the first image in a first display state to the second terminal if the second terminal user is the target user;
wherein, in the first display state, the target object is not visible.
Optionally, as shown in fig. 9, the server 900 further includes: a processing unit 93;
the processing unit 93 is configured to perform preset image processing on the target object in the first image after the receiving unit receives the sharing indication information, and generate a third image, where the target object in the third image is invisible;
the sending unit 92 is specifically configured to send the third image to the second terminal.
Optionally, after the processing unit 93 generates the third image, the processing unit 93 is further configured to generate a first thumbnail and a second thumbnail based on the first image; generating a first download link based on the first image; generating a second download link based on the third image; establishing a first incidence relation between the first thumbnail and the first downloading link, and establishing a second incidence relation between the second thumbnail and the second downloading link;
the sending unit 92 is further configured to send the first thumbnail to a communication interface of the target group of a first type of second terminal, and send the second thumbnail to a communication interface of the target group of a second type of second terminal;
wherein the second end user of the first type is not the target user and the second end user of the second type is the target user.
Optionally, the sending unit 92 is specifically configured to, for the second terminal of the second type, send the third image to the second terminal based on the second download link.
Optionally, the sending unit 92 is further configured to send, to the second terminal of the first type, the first image to the second terminal based on the first download link.
Optionally, the sending unit 92 is specifically configured to, when the second terminal user is the target user, perform preset image processing on the target object in the first image, and send the processed first image to the second terminal;
wherein the target object in the processed first image is not visible.
The server provided by the embodiment of the invention firstly receives sharing indication information sent by a first terminal, then receives a downloading request of a first image sent by a second terminal, and sends the first image in a first display state to the second terminal under the condition that a second terminal user is a target user, wherein the sharing indication information comprises the first image, a target object, a target group and the target user; the target object is included in the first image; the target group comprises the target user, and in the first display state, the target object is invisible, so that when the terminal device shares the first image with the target group, the server can send the first image, which is invisible to the target user in the target group, to the target user in the target group based on the sharing indication information, and further the target user cannot view the target object in the first image, and therefore the embodiment can solve the problem that when the user shares the image with the group, privacy of the user may be leaked.
Fig. 10 is a schematic diagram of a hardware structure of a terminal device for implementing an embodiment of the present invention, where the terminal device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 10 is not intended to be limiting, and that terminal devices may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The radio frequency unit 101 is configured to receive a first input of an end user;
the processor 110 is configured to generate sharing indication information based on the first input; the sharing indication information comprises a first image, a target object, a target group and a target user; the target object is included in the first image; the target group comprises the target user;
the radio frequency unit 101 is further configured to send the sharing indication information to a server;
the sharing indication information is used for indicating the server to send the first image in the first display state to a second terminal corresponding to the target user; in the first display state, the target object is not visible.
The terminal device provided in the embodiment of the present invention first receives a first input of a target face in a target image of a user, and correspondingly displays a member list of a target group with the first input, then receives a second input of the target user in the member list of the target group from the user, and in response to the second input, generates sharing indication information for indicating that a first member shares the target image with the target group, hides the target face in the target image from the target user, and finally receives a third input for sharing the target image with the target group, which is input by the user, and in response to the third input, sends the sharing indication information and the target image to a sharing server, because the terminal device sends an image to be shared and the sharing indication information to the server together when the project group shares the image, therefore, the server can generate the images meeting the sharing indication information and respectively send the links of the original images and the links of the images meeting the sharing indication information to the corresponding members, so that the image content viewable by each member in the group can be respectively customized, and the problem that the image content viewable by each member in the group cannot be respectively customized when the user shares the images in the group can be solved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output associated with a specific function performed by the terminal device (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still image or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The terminal device also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the terminal device is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in multiple directions (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 10, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal device, and is not limited herein.
The interface unit 108 is an interface for connecting an external device to the terminal apparatus. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus or may be used to transmit data between the terminal apparatus and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal device may further include a power supply 111 (e.g., a battery) for supplying power to the plurality of components, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal device includes some functional modules that are not shown, and are not described herein again.
Fig. 11 is a schematic diagram of a hardware structure of a server for implementing an embodiment of the present invention, where the server 110 includes but is not limited to: a processor 111, a memory 112 and a computer program stored on the memory 112 and operable on the processor 111, wherein the computer program, when executed by the processor 111, implements the steps of the image sharing method according to the above embodiments.
When the server implements the steps of the image sharing method provided in the above embodiment, the same technical effect as that of the image sharing method described in the above embodiment can be achieved, and details are not repeated here to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements multiple processes of the image sharing method according to the first embodiment, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described herein again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network-side device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (4)

1. An image sharing method is applied to a first terminal, and is characterized by comprising the following steps:
receiving a first input from a first end user;
generating sharing indication information based on the first input; the sharing indication information comprises a first image, a target object, a target group and a target user; the target object is included in the first image; the target group comprises the target user;
sending the sharing indication information to a server;
the sharing indication information is used for indicating the server to generate a first image in a first display state based on the sharing indication information when the server shares the first image in the target group, and sending the first image in the first display state to a second terminal corresponding to the target user; in the first display state, the target object is not visible;
the receiving a first input of a first end user comprises:
receiving a third sub-input of a first end user to a second object in a second image, a fourth sub-input to a first user, and a fifth sub-input to the first image;
the generating of the sharing indication information based on the first input includes:
determining a second object in the second image as the target object in response to the third sub-input;
determining the first user as the target user in response to the fourth sub-input;
in response to the fifth sub-input, determining the first image as an image to be shared; wherein the second object is included in the first image;
and generating the sharing indication information based on the first image, the target object and the target user.
2. A terminal device, comprising:
a receiving unit for receiving a first input of an end user;
the processing unit is used for generating sharing indication information based on the first input; the sharing indication information comprises a first image, a target object, a target group and a target user; the target object is included in the first image; the target group comprises the target user;
the sending unit is used for sending the sharing indication information to a server;
the sharing indication information is used for indicating the server to generate a first image in a first display state based on the sharing indication information when the server shares the first image in the target group, and sending the first image in the first display state to a second terminal corresponding to the target user;
wherein, in the first display state, the target object is not visible;
the receiving unit is specifically configured to receive a third sub-input of a first end user to a second object in a second image, a fourth sub-input of the first end user to the first user, and a fifth sub-input of the first image;
the processing unit is specifically configured to determine, in response to the third sub-input, a second object in the second image as the target object;
determining the first user as the target user in response to the fourth sub-input;
in response to the fifth sub-input, determining the first image as an image to be shared; wherein the second object is included in the first image;
and generating the sharing indication information based on the first image, the target object and the target user.
3. A terminal device, comprising: processor, memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the image sharing method as claimed in claim 1.
4. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the image sharing method according to claim 1.
CN201811582744.3A 2018-12-24 2018-12-24 Image sharing method and device Active CN109889348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811582744.3A CN109889348B (en) 2018-12-24 2018-12-24 Image sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811582744.3A CN109889348B (en) 2018-12-24 2018-12-24 Image sharing method and device

Publications (2)

Publication Number Publication Date
CN109889348A CN109889348A (en) 2019-06-14
CN109889348B true CN109889348B (en) 2022-02-01

Family

ID=66925111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811582744.3A Active CN109889348B (en) 2018-12-24 2018-12-24 Image sharing method and device

Country Status (1)

Country Link
CN (1) CN109889348B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159440A (en) * 2019-12-20 2020-05-15 维沃移动通信有限公司 Picture synchronization method and device and electronic equipment
CN111050077B (en) * 2019-12-26 2021-08-10 维沃移动通信有限公司 Shooting method and electronic equipment
CN111459355B (en) * 2020-03-30 2022-03-04 维沃移动通信有限公司 Content sharing method and electronic equipment
CN112040145B (en) * 2020-08-28 2023-04-07 维沃移动通信有限公司 Image processing method and device and electronic equipment
CN112163398A (en) * 2020-09-30 2021-01-01 金蝶软件(中国)有限公司 Chart sharing method and related equipment thereof
CN112533072A (en) * 2020-11-25 2021-03-19 维沃移动通信有限公司 Image sending method and device and electronic equipment
CN113179205B (en) * 2021-03-31 2023-04-18 维沃移动通信有限公司 Image sharing method and device and electronic equipment
CN113783770B (en) * 2021-09-15 2023-02-03 维沃移动通信有限公司 Image sharing method, image sharing device and electronic equipment
CN115037711B (en) * 2022-06-07 2024-03-29 元心信息科技集团有限公司 Data processing method, device, electronic equipment and computer readable storage medium
CN115695639A (en) * 2022-10-27 2023-02-03 维沃移动通信有限公司 Image sharing method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102460502A (en) * 2009-06-16 2012-05-16 费斯布克公司 Selective content accessibility in a social network
CN105405092A (en) * 2015-11-26 2016-03-16 熊桂荣 Secure digital image propagation method based on reversible watermark and mosaic technology
CN107306219A (en) * 2016-04-21 2017-10-31 上海神计信息系统工程有限公司 Picture transmission method and device in instant messaging
CN108199952A (en) * 2018-01-08 2018-06-22 赵宇航 A kind of method for sending information and device based on social software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102460502A (en) * 2009-06-16 2012-05-16 费斯布克公司 Selective content accessibility in a social network
CN105405092A (en) * 2015-11-26 2016-03-16 熊桂荣 Secure digital image propagation method based on reversible watermark and mosaic technology
CN107306219A (en) * 2016-04-21 2017-10-31 上海神计信息系统工程有限公司 Picture transmission method and device in instant messaging
CN108199952A (en) * 2018-01-08 2018-06-22 赵宇航 A kind of method for sending information and device based on social software

Also Published As

Publication number Publication date
CN109889348A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN109889348B (en) Image sharing method and device
CN110995923B (en) Screen projection control method and electronic equipment
CN110752980B (en) Message sending method and electronic equipment
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN110062105B (en) Interface display method and terminal equipment
CN109407921B (en) Application processing method and terminal device
CN110058836B (en) Audio signal output method and terminal equipment
CN109995933B (en) Method for controlling alarm clock of terminal equipment and terminal equipment
CN108763541B (en) Page display method and terminal
CN109871164B (en) Message sending method and terminal equipment
CN110837327B (en) Message viewing method and terminal
CN110913066A (en) Display method and electronic equipment
CN111083684A (en) Method for controlling electronic equipment and electronic equipment
CN109085968B (en) Screen capturing method and terminal equipment
CN109828705B (en) Icon display method and terminal equipment
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN110752981B (en) Information control method and electronic equipment
CN108681427B (en) Access right control method and terminal equipment
CN110007822B (en) Interface display method and terminal equipment
CN110049486B (en) SIM card selection method and terminal equipment
CN111030917B (en) Message display method and electronic equipment
CN111443844A (en) Information processing method and electronic equipment
CN110049187B (en) Display method and terminal equipment
CN109358931B (en) Interface display method and terminal
CN110244884B (en) Desktop icon management method and terminal equipment

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