CN112533072A - Image sending method and device and electronic equipment - Google Patents

Image sending method and device and electronic equipment Download PDF

Info

Publication number
CN112533072A
CN112533072A CN202011341321.XA CN202011341321A CN112533072A CN 112533072 A CN112533072 A CN 112533072A CN 202011341321 A CN202011341321 A CN 202011341321A CN 112533072 A CN112533072 A CN 112533072A
Authority
CN
China
Prior art keywords
account
target
image
group
input
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.)
Pending
Application number
CN202011341321.XA
Other languages
Chinese (zh)
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 CN202011341321.XA priority Critical patent/CN112533072A/en
Publication of CN112533072A publication Critical patent/CN112533072A/en
Pending legal-status Critical Current

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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Abstract

The application discloses an image sending method, an image sending device and electronic equipment, belongs to the technical field of communication, and can solve the problem of how to protect user photo information in a social application program. The method comprises the following steps: receiving a first input to a first image in a target application program, the first image comprising a target face image; and responding to the first input, sending the first image through the target application program, wherein the target human face image is invisible to a first account in a target account group, the first account is a low-interaction-degree account in the target account group, the interaction degree of the first account and a second account is smaller than a preset threshold value, and the second account is associated with the target human face image. Wherein the target account group is composed of accounts in a target contact list of the target application program or accounts in a session group in the target application program.

Description

Image sending method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an image sending method, an image sending device and electronic equipment.
Background
Currently, users may share photos through social applications in electronic devices. Taking sharing photos in a session group of a social application as an example, if a user wants to share a selfie photo to a group member in the session group, the user may select the selfie photo from an album of the electronic device and click a send button, so that the electronic device may be triggered to send the selfie photo to the session group, and thus the group member in the session group may view the selfie photo.
However, since the conversation group may include some group members that the user does not know or is unfamiliar with, the above method may cause the user photo information to be leaked, and thus how to protect the user photo in the social application becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application aims to provide an image sending method, an image sending device and electronic equipment, and the problem of how to protect user photo information in a social application program can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an image sending method, where the method includes: receiving a first input to a first image in a target application program, the first image comprising a target face image; and responding to the first input, sending the first image through the target application program, wherein the target human face image is invisible to a first account in a target account group, the first account is a low-interaction-degree account in the target account group, the interaction degree of the first account and a second account is smaller than a preset threshold value, and the second account is associated with the target human face image. Wherein the target account group is composed of accounts in a target contact list of the target application program or accounts in a session group in the target application program.
In a second aspect, an embodiment of the present application provides an image transmission apparatus, including: the device comprises a receiving module and a sending module. The receiving module may be configured to receive a first input of a first image in a target application, the first image including a target face image. The sending module may be configured to send the first image through the target application program in response to the first input received by the receiving module, where the target face image is invisible to a first account in a target account group, the first account is a low-interaction-degree account in the target account group, where an interaction degree with a second account is smaller than a preset threshold, and the second account is associated with the target face image. Wherein the target account group is composed of accounts in a target contact list of the target application program or accounts in a session group in the target application program.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method as in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method as in the first aspect described above.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method as in the first aspect.
In an embodiment of the present application, a first input to a first image in a target application may be received, the first image including a target face image; and responding to the first input, sending the first image through the target application program, wherein the target human face image is invisible to a first account in a target account group, the first account is a low-interaction-degree account in the target account group, the interaction degree of the first account and a second account is smaller than a preset threshold value, and the second account is associated with the target human face image. Wherein the target account group is composed of accounts in a target contact list of the target application program or accounts in a session group in the target application program. By means of the scheme, when a user wants to share an image including a target face image with a friend, the user can trigger the image to be sent through the target application program through input of the image in the target application program, and because the interaction degree of a second account associated with the target face image and a first account in a target account group of the target application program is low, the target face image in the image is invisible to the first user, so that image leakage of the user can be prevented. The user image (e.g., user's photo) information is secured in the social application.
Drawings
Fig. 1 is a schematic diagram of an image sending method according to an embodiment of the present application;
fig. 2 is a second schematic diagram of an image transmission method according to an embodiment of the present application;
fig. 3 is a schematic interface diagram of image cutting according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an image sending apparatus according to an embodiment of the present application;
fig. 5 is a second schematic structural diagram of an image sending apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. 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 application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," should not be construed as 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 description of the embodiments of the present application, unless otherwise specified, "a plurality" means two or more, for example, a plurality of face images means two or more face images, and the like.
Some terms/nouns referred to in the embodiments of the present application are explained below.
Image cutting technology: the image segmentation is to divide an image into a plurality of specific areas and extract the images included in each area, and the images belonging to the same area can be assigned with the same number. In the embodiment of the application, the image cutting technology is used for segmenting the first image in the electronic equipment, so that a user can select an image needing protection from the segmented first image.
The face recognition technology comprises the following steps: the face recognition technology is a biometric technology for performing identification based on facial feature information of a person. In the embodiment of the application, the face recognition technology is used for performing feature recognition on a target face image included in a first image.
The embodiment of the application provides an image sending method, an image sending device and electronic equipment, wherein first input of a first image in a target application program is received, and the first image comprises a target face image; and responding to the first input, sending the first image through the target application program, wherein the target human face image is invisible to a first account in a target account group, the first account is a low-interaction-degree account in the target account group, the interaction degree of the first account and a second account is smaller than a preset threshold value, and the second account is associated with the target human face image. Wherein the target account group is composed of accounts in a target contact list of the target application program or accounts in a session group in the target application program. By means of the scheme, when a user wants to share an image including a target face image with a friend, the user can trigger the image to be sent through the target application program through input of the image in the target application program, and because the interaction degree of a second account associated with the target face image and a first account in a target account group of the target application program is low, the target face image in the image is invisible to the first user, so that image leakage of the user can be prevented. The user image (e.g., user's photo) information is secured in the social application.
The image sending method, the image sending device, and the electronic device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
As shown in fig. 1, an embodiment of the present application provides an image sending method, which includes the following steps S101 and S102.
S101, the image sending device receives a first input of a first image in a target application program.
The first image comprises a target face image.
Optionally, in this embodiment of the application, the target application may be a social application or another application with a session function, which is determined according to actual situations, and this is not limited in this embodiment of the application. For example, the target application is a shopping application with a session function.
It should be noted that, in the embodiment of the present application, the first image is an image including a face image. Wherein the first image may comprise one or more face images.
In addition, the first image may be an image stored in an album of the electronic device; or an online image from a server displayed for the electronic device, i.e. the first image is not stored in the electronic device. The method can be determined according to actual conditions, and the method is not limited in the embodiment of the application.
Optionally, the first image may be a complete image, that is, the first image is an image that is not subjected to image segmentation by using an image segmentation technology; or the first image is an image obtained by image cutting by adopting an image cutting technology. Specifically, the determination can be determined according to actual conditions, and the embodiment of the present application does not limit this
Optionally, since the first image includes the target face image, one possible scenario is: under the condition that the first image comprises one face image, the target face image is the face image, and the number of the target face images is one; in the case where the first image includes a plurality of face images, the target face image may be one face image or at least two face images of the plurality of face images.
Optionally, in this embodiment of the application, the first input may be touch input, voice input, gesture input, or the like for the first image. Wherein the first input is used to trigger sending the first image by the target application. For example, the touch input is a click input of the first image by the user. Of course, the first input may also be a physical key input or other possible inputs, which is not limited in the embodiment of the present application.
S102, the image sending device responds to the first input and sends the first image through the target application program.
The target face image is invisible to a first account in a target account group, the first account is a low-interaction-degree account in the target account group, the interaction degree of the first account and a second account is smaller than a preset threshold value, and the second account is associated with the target face image. The target account group consists of accounts in a target contact list of the target application or accounts in a session group in the target application.
Alternatively, it is assumed that the account that triggered the sending of the first image is the target account. (1) In the case that the target account group consists of accounts in a target contact list of the target application, the target contact list may consist of contacts of the target account in an address book in the target application or consist of registered accounts in the target application; (2) in the case where the target account group consists of accounts in a session group in the target application, the session group may be any group to which the target accounts are added in the target application.
Optionally, in this embodiment of the application, the content for indicating the degree of interaction may include the number of interaction modes, the frequency of interaction, or other content that may indicate the degree of interaction. It is to be understood that the preset threshold may be different, and the content for indicating the degree of interaction may be different.
Illustratively, when the content for indicating the degree of interaction is the number of interaction modes, the low-interaction-degree account is an account in the target account group, where the number of interaction modes interacting with the second account is less than a preset threshold; and when the content for indicating the interaction degree is the interaction frequency, the account with the low interaction degree is an account in the target account group, wherein the interaction frequency of the interaction with the second account is less than a preset threshold value.
It should be noted that the above "associating the second account with the target face image" means: and the identity account of the target face image in the target application program is a second account. Specifically, reference may be made to the following description of the embodiments, which are not repeated herein.
It can be appreciated that since the target face image is not visible to the first account in the target account group, one case is: the target face image is not visible to a first account in the target contact list; in another case: the target face image is not visible to the first account in the conversation group in the target application.
Optionally, after S102, the image sending method provided in the embodiment of the present application may further include: the device of the first account receives the first image through the target application program, and the target face image included in the first image is not displayed in the device of the first account. That is, the first image received by the device of the first account is a processed image, such that the first account is masked.
Optionally, in this embodiment of the application, an image in the first image other than the target face image may be visible or invisible to the first account in the target account group. The method comprises the following specific steps:
(1) for the case where an image in the first image other than the target face image is visible to the first account in the target account group:
in the embodiment of the application, after the first image is sent by the target application program, the server can deduct the target face image in the first image by adopting a matting mode and reserve images except the target face image in the first image; or, the server may add a mosaic to the target face image in the first image by using a mosaic adding manner. In this way, the first image received by the device of the first account is an image that has been matte processed or mosaic processed.
(2) The first account in the target account group is not visible for images in the first image other than the target face image, i.e., the entire first image is not visible for the first account.
In this embodiment of the present application, after the first image is sent by the target application, the server may add a mosaic to the entire first image in a mosaic adding manner, so that the first image received by the device of the first account is a processed image, and the device of the first account cannot display the image content of the first image; or the server closes the authority of the first account to acquire the first image, namely the first account is completely shielded, so that the whole first image is not displayed in the device of the first account.
For example, the image sending device is a mobile phone, and the target account group is composed of accounts in the target contact list of the target application program. If a user wants to share a self-photo of the user with a friend circle, the user can click the self-photo (i.e., the first image) in the photo album of the mobile phone. After the cell phone receives the click input (i.e., the first input), the cell phone may send the selfie to the circle of friends of the social application through the social application in response to the click input. The mobile phone determines that the account associated with the self-portrait is small red according to the self-portrait, and the small red is a low interaction degree account interacting with the small red in the contact list of the small red, so that the small red face image in the self-portrait is invisible to the small red. Thus, after the mobile phone of the floret receives the self-shot through the social application program, the floret triggers the mobile phone to display a friend circle of the social application program, and the self-shot with reddish color is not displayed in the friend circle.
The embodiment of the application provides an image sending method, when a user wants to share an image including a target face image with a friend, the user can trigger sending of the image through a target application program through input of the image in the target application program, and because a second account associated with the target face image has a low interaction degree with a first account in a target account group of the target application program, the target face image in the image is invisible to the first user, so that image leakage of the user can be prevented. The user image (e.g., user's photo) information is secured in the social application.
Optionally, with reference to fig. 1, as shown in fig. 2, after the above S101, the image sending method according to the embodiment of the present application further includes the following S103; accordingly, S102 described above may be specifically realized by S102A described below.
S103, the image sending device responds to the first input and determines a second account from the target contact list.
The information of the second account comprises a face image matched with the characteristics of the target face image.
Optionally, in this embodiment of the application, the information of the second account may include: account information of the second account in the target application, historical information of the second account in the target application, and possibly other information. For example, the account information includes account head portrait, account nickname, and the like, and the history information includes self-portrait image, group photograph, image memo, and the like.
It should be noted that, in the embodiment of the present application, a face recognition technology is used to recognize image features of a target face image, so as to determine an identity of the target face image, that is, determine that the target face image corresponds to an account in a target application program.
Optionally, the step S103 may specifically include: the image sending device responds to the second input and acquires the image characteristics of the target face image through a face recognition technology; then obtaining the information of each account in the target contact list, comparing the image characteristics of the target face image with the information of each account, and determining the information comprising the face image matched with the characteristics of the target face image; then, the account corresponding to the information including the face image is determined to be a second account.
S102A, sending the first image through the target application.
Illustratively, assume that the first image comprises a girl face image. In the case where the first image is displayed, the user can long-press the first image. After receiving a long press input of the first image by the user, the image sending device may identify, in response to the long press input, features of the girl face image by using a face recognition technology, and compare the features of the girl face image with information of each account in the target contact list of the target application one by one, thereby determining that the features of the account avatar with a small and clear account in the target contact list match the features of the girl face image, that is, the small and clear account is the second account.
According to the image sending method provided by the embodiment of the application, a user can trigger the selection of the face image with the information of one account including the characteristics matched with the characteristics of the target face image from the target contact list through input, and the account is determined as the second account. Namely, the account identity of the target face image in the target application program can be identified.
Optionally, the S101 may specifically include S101A to S101C described below. Accordingly, the above S102 may be implemented by the following S102B.
S101A, the image transmission apparatus receives a second input for the first image.
The first image comprises N face images, and N is a positive integer.
Optionally, in this embodiment of the application, the second input may be touch input, voice input, gesture input, or the like for the first image. Wherein the second input is used to trigger image segmentation of the first image. For example, the touch input is a long press input of the first image by the user. Of course, the second input may also be a physical key input or other possible inputs, which is not limited in the embodiment of the present application.
S101B, the image transmission device divides the first image into N character units in response to the second input.
Wherein each of the N person units includes one of the N face images.
It should be noted that, in the embodiment of the present application, the first image is segmented by using an image segmentation technique. Specifically, the first image may be divided into N individual object units corresponding to N individual face images from the N individual face images included in the first image.
Illustratively, the image sending device is taken as a mobile phone. As shown in fig. 3 (a), the first image includes 3 face images, which are respectively: a woman face image, a man face image and a child face image. In the case that the mobile phone displays the first image, the user can press the first image for a long time. After the mobile phone receives a long press input from the user, in response to the long press input, the mobile phone divides the first image into a person unit 01, a person unit 02, and a person unit 03 as shown in (b) of fig. 3, one person unit including one face image, according to the number of face images included in the first image.
S101C, the image transmission device receives a third input to the target person unit among the N person units.
Wherein the target person unit includes a target face image.
Alternatively, the target person unit may be any person unit among the N person units, and the number of the target person units may be one or more.
S102B, in response to the third input, determining a second account from the target contact list, and sending the first image through the target application.
According to the image sending method provided by the embodiment of the application, a user can trigger the first image comprising the N face images to be divided into the N personal object units through one input of the first image, so that the user can select one personal object unit from the N personal object units according to actual needs, namely, the user can select the face image needing to be protected in the first image in a targeted manner. Therefore, the autonomous selection degree of the user is improved.
Optionally, the first image is an image to be sent to the target conversation group. S102 may be specifically implemented by S102C described below.
S102C, the image sending device sends the first image to the target conversation group through the target application program in response to the first input.
The target account group is composed of accounts in the target session group. I.e., the target face image is not visible to the first account in the target conversation group.
It can be understood that, in the case that the first image is an image to be sent to the target session group, since the user can trigger sending the first image to the target session group through the target application program by inputting, the target face image in the first image is invisible to the first account in the target session group, so that an account in the target session group, which is associated with the target face image and has a lower degree of interaction with the second account, can be prevented from misusing the photograph in the target application program. Thus, photo security under the social platform is improved.
Optionally, after S101, the image sending method provided in the embodiment of the present application may further include S104 to S106 described below. Accordingly, the above S102 may be implemented by the following S102D.
S104, the image sending device responds to the first input and obtains at least one interactive mode number.
And each of the at least one number of interaction modes is the number of interaction modes in which the second account and one account in the target account group have interacted. The number of interaction means may be used to indicate the degree of interaction.
Optionally, before the step S104, the image sending method provided in the embodiment of the present application may further include: and acquiring an interaction record of the second account interacted with each account in the target account group. The interaction record may include a number of ways that the second account has interacted with any of the set of target accounts. Therefore, at least one interactive mode number can be obtained according to the interactive records.
Optionally, in this embodiment of the application, the number of the at least one interaction manner quantity may be determined by the number of accounts included in the target account group, or by the number of accounts in the target account group that have interacted with the second account. Specifically, the following two possible cases are as follows:
one possible scenario assumes that the target account group includes M accounts, M being a positive integer greater than or equal to 2. When the target account group includes M accounts, the number of interactive manners in which the second account and each account of the M accounts have interacted may be obtained, that is, the number of M interactive manners may be obtained.
Another possible scenario assumes that the target account group includes M accounts, M being a positive integer greater than or equal to 2. When the target account group includes M accounts, the accounts that have interacted with the second account in the M accounts are S accounts, so that the number of interaction modes in which the second account has interacted with each account in the S accounts can be obtained, that is, the number of S interaction modes can be obtained, and S is a positive integer smaller than or equal to M.
It can be understood that the larger the value of the number of interaction means, the higher the degree of interaction between the second account and one account in the target account group; the smaller the value of the number of interaction means, the lower the degree of interaction of the second account with one account of the set of target accounts.
And S105, under the condition that the number of the first interaction modes in the at least one interaction mode number is larger than or equal to a first threshold value, the image sending device determines the account corresponding to the number of the first interaction modes as a fourth account.
Optionally, the number of the first interaction modes is any number of at least one interaction mode, and the number of the interaction modes included in the first interaction mode number may be one or more.
Specifically, when at least one interactive mode number includes one interactive mode number, the first interactive mode number is the interactive mode number, that is, the number of the interactive mode numbers included in the first interactive mode number is one; when at least one of the number of interaction modes includes a plurality of numbers of interaction modes, the number of first interaction modes is the number of interaction modes in the number of interaction modes, that is, the number of interaction modes included in the number of first interaction modes may be one or more.
It should be noted that, in this embodiment of the application, since the target application supports P types of interaction manners, a value of one number of interaction manners does not exceed P, and thus, when the number of first interaction manners is greater than the first threshold, the first threshold is smaller than P. Therefore, the value of the first threshold may be any positive integer not exceeding P, which may be determined according to practical situations, and is not limited in this application. For example, the first threshold is equal to 2.
It can be understood that, since the first number of interaction methods is greater than or equal to the first threshold, the degree of interaction between the second account and the account corresponding to the first number of interaction methods is high, and thus the account corresponding to the first number of interaction methods is a high-interaction-degree account that interacts with the second user, that is, the fourth account is a high-interaction-degree account, which may also be referred to as a high-affinity relationship chain account of the second user.
S106, the image sending device determines the accounts in the target account group except the fourth account as the first account.
The first account comprises accounts of which the number of interaction modes of the target account group and the second account is smaller than a first threshold value. Namely, the first account is a low interaction account which is interacted with the second account except for the high interaction account in the target account group.
It should be noted that the accounts other than the fourth account in the target account group are determined as the first account, that is, the first account is an account other than the high affinity chain account in the target account group, so that the target face image is invisible to the accounts other than the fourth account in the target account group.
It will be appreciated that after sending the first image through the target application, the target face image is visible to the highly interactive accounts of the target account group that interact with the second user, i.e., the first image including the target face image is visible to the fourth account of the target account group.
Illustratively, the image sending device is a mobile phone, and the first threshold is equal to 2. Assuming that the target account group of the target application includes account 1, account 2, account 3, account 4, and account 5, the number of acquired interaction means is denoted by T. The mobile phone respectively determines the interaction modes of the second account and the account 1 including sending private letters, praise and comments according to the interaction records of the second account and each account in the target account group, wherein the number of the interaction modes T1 is 3; the interaction mode of the second account with account 2 includes sending a private letter, that is, the number of interaction modes T2 is 1; the interaction mode of the second account and the account 3 comprises sending private letters and comments, namely the number of the interaction modes T3 is 2; the interaction mode of the second account and the account 4 comprises sending private letter and praise, namely the number of the interaction modes is T4-2; the second account has no interaction with account 5, i.e. the number of interactions T5 is 0. Since T1 is greater than the first threshold value, and T3 and T4 are equal to the first threshold value, the cell phone determines account 1 corresponding to T1, account 3 corresponding to T3, and account 4 corresponding to T4 as the fourth account, so that the cell phone can determine account 2 and account 5 in the target account group other than account 1, account 3, and account 4 as the first account.
S102D, the image sending apparatus sends the first image through the target application.
According to the image sending method provided by the embodiment of the application, before the first input of the first image in the target application program is received, at least one interaction mode number used for indicating the interaction degree can be obtained; and then according to the at least one interaction mode quantity, taking accounts except the highly-interactive accounts which interact with the second account in the target account group as first accounts. Therefore, the low-interaction-degree account which interacts with the second account in the target account group of the target application program can be screened out according to the social relation chain of the second user in the target application program.
Optionally, after S104, the image sending method provided in the embodiment of the present application may further include S107, and accordingly, S106 may be implemented by S106A.
And S107, under the condition that the second interactive mode quantity in the at least one interactive mode quantity is smaller than the first threshold value and is larger than or equal to the second threshold value, the image sending device determines the account corresponding to the second interactive mode quantity as a fifth account.
It should be noted that the value of the second threshold may be any positive integer smaller than the first threshold, which may be determined specifically according to an actual situation, and this is not limited in this embodiment of the application. For example, the first threshold value is 3, and the second threshold value is 1.
It can be understood that, since the second number of interaction modes is smaller than the first threshold and is greater than or equal to the second threshold, the degree of interaction between the second account and the account corresponding to the second number of interaction modes is lower than the degree of interaction between the second account and the account corresponding to the first number of interaction modes, so that the account corresponding to the second number of interaction modes is a medium-interaction-degree account interacted with the second user, that is, the fifth account is a medium-interaction-degree account, which may also be referred to as a fifth account being a medium-affinity relationship chain account of the second user.
S106A, the image transmission device determines the account other than the fourth account and the fifth account in the target account group as the first account.
The first account comprises accounts of which the number of interaction modes interacting with the second account in the target account group is smaller than a second threshold value. Namely, the first account is a low-interaction account which is interacted with the second account except for the high-interaction account and the medium-interaction account in the target account group.
It should be noted that, the accounts other than the fourth account and the fifth account in the target account group are determined as the first account, that is, the first account is an account other than the high affinity chain account and the medium affinity chain account in the target account group, so that the target face image is invisible to the accounts other than the fourth account and the fifth account in the target account group.
It will be appreciated that after sending the first image through the target application, the target face image is visible to the highly interactive accounts and the moderately interactive accounts of the target account group that are interactive with the second user, i.e., the first image including the target face image is visible to the fourth accounts and the fifth accounts of the target account group.
It should be noted that, the above S104 and S105 are executed first, then the above S107 is executed, then the above S106A is executed, and finally the above S102D is executed; alternatively, the above S104 and S107 are executed first, then the above S105 is executed, then the above S106A is executed, and finally the above S102D is executed. The method is determined according to actual conditions, and the method is not limited in the embodiment of the application.
According to the image sending method provided by the embodiment of the application, after the highly interactive account interacting with the second account in the target account group is determined according to the acquired at least one interactive mode quantity for indicating the degree of interaction, the moderately interactive account interacting with the second account is determined, so that the highly interactive account interacting with the second account in the target account group and the accounts except the moderately interactive account can be used as the first account. And screening out the low-interaction-degree accounts which interact with the second account from the target account group of the target application program according to the social relation chain of the second user in the target application program.
In the image transmission method provided in the embodiment of the present application, the execution subject may be an image transmission apparatus, or a control module in the image transmission apparatus for executing the image transmission method. In the embodiments of the present application, an image transmission apparatus that executes an image transmission method is taken as an example, and the image transmission apparatus provided in the embodiments of the present application will be described.
As shown in fig. 4, the embodiment of the present application provides an image transmitting apparatus 200, which may include a receiving module 201 and a transmitting module 202. The receiving module 201 may be configured to receive a first input of a first image in a target application, where the first image includes a target face image. The sending module 202 may be configured to send, in response to the first input received by the receiving module 201, the first image through the target application, where the target face image is invisible to a first account in a target account group, the first account is a low-interaction-degree account in the target account group, where an interaction degree of the target face image with a second account is smaller than a preset threshold, and the second account is associated with the target face image. Wherein the target account group is composed of accounts in a target contact list of the target application program or accounts in a session group in the target application program.
Optionally, in conjunction with fig. 4, as shown in fig. 5, the image sending apparatus may further include a determining module 203. The determining module 203 may be configured to determine the second account from the target contact list after the receiving module 201 receives the first input for the first image in the target application. And the information of the second account comprises a face image matched with the characteristics of the target face image.
Optionally, the image sending apparatus may further include a processing module 204. The receiving module 201 may be specifically configured to receive a second input to the first image, where the first image includes N face images, and N is a positive integer. The processing module 204 may be configured to segment the first image into N person units, each person unit including one of the N face images, in response to the second input received by the receiving module 201. The receiving module 201 may be specifically configured to receive a third input to a target person unit in the N person unit, where the target person unit includes a target face image.
Optionally, the first image is an image to be sent to the target conversation group. The sending module 202 may be specifically configured to send, in response to the first input, the first image to a target session group through a target application, where the target account group is composed of accounts in the target session group.
Optionally, the image sending apparatus may further include an obtaining module 205 and a determining module 203. The obtaining module 205 may be configured to obtain at least one number of interaction methods, where each number of interaction methods is a number of interaction methods in which the second account and one account in the target account group have interacted. The determining module 203 may be configured to determine, when a first number of interaction manners of the at least one number of interaction manners acquired by the acquiring module 205 is greater than or equal to a first threshold, an account corresponding to the first number of interaction manners as a fourth account; and determining accounts in the target account group except the fourth account as the first account. The first account comprises accounts of the target account group, wherein the number of interaction modes of interaction with the second account is smaller than a first threshold value.
Optionally, the determining module 203 may be further configured to determine, when a second number of the at least one interaction manner number acquired by the acquiring module 205 is smaller than the first threshold and is greater than or equal to the second threshold, an account corresponding to the second number of the interaction manners as a fifth account. The determining module 203 may be specifically configured to determine, as the first account, accounts in the target account group except for the fourth account and the fifth account. And the first account comprises accounts of which the number of interaction modes interacting with the second account in the target account group is less than a second threshold value.
The embodiment of the application provides an image sending device, when a user wants to share an image including a target face image with a friend, the user can trigger the image sending device to send the image through a target application program through input of the image in the target application program, and because a second account associated with the target face image has a low interaction degree with a first account in a target account group of the target application program, the target face image in the image is invisible to the first user, so that image leakage of the user can be prevented. The user image (e.g., user's photo) information is secured in the social application.
The image transmission device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The image transmission apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The image sending apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 300 is further provided in this embodiment of the present application, and includes a processor 301, a memory 302, and a program or an instruction stored in the memory 302 and capable of being executed on the processor 301, where the program or the instruction is executed by the processor 301 to implement each process of the foregoing embodiment of the image sending method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 407 may be configured to receive a first input of a first image in the target application, where the first image includes a target face image. The processor 410 may be configured to send the first image through the target application in response to the first input received by the user input unit 407, where the target face image is invisible to a first account in a target account group, the first account is a low-interaction-degree account in the target account group, where an interaction degree with a second account is smaller than a preset threshold, and the second account is associated with the target face image. Wherein the target account group is composed of accounts in a target contact list of the target application program or accounts in a session group in the target application program.
Optionally, the processor 410 may be configured to determine the second account from the target contact list. And the information of the second account comprises a face image matched with the characteristics of the target face image.
Optionally, the user input unit 407 may be further configured to receive a second input to the first image, where the first image includes N face images, and N is a positive integer. The processor 410 may be configured to segment the first image into N person units each including one of the N face images in response to the second input received by the user input unit 407. The user input unit 407 may be further configured to receive a third input to a target person unit of the N person unit, the target person unit including a target face image.
Optionally, the first image is an image to be sent to the target conversation group. The processor 410, in particular, may be configured to send, by the target application, the first image to a target conversation group in response to the first input, the target account group being composed of accounts in the target conversation group.
Optionally, the processor 410 may be configured to obtain at least one number of interaction modes, where each number of interaction modes is a number of interaction modes in which the second account and one account in the target account group have interacted; determining the account corresponding to the first number of the interaction modes as a fourth account when the first number of the at least one number of the interaction modes is larger than or equal to a first threshold value; and determining accounts in the target account group except the fourth account as the first account. The first account comprises accounts of the target account group, wherein the number of interaction modes of interaction with the second account is smaller than a first threshold value.
Optionally, the processor 410 may be further configured to determine, when a second number of interaction modes in the at least one number of interaction modes is smaller than the first threshold and is greater than or equal to the second threshold, an account corresponding to the second number of interaction modes as a fifth account; and determining accounts in the target account group except for the fourth account and the fifth account as the first account. And the first account comprises accounts of which the number of interaction modes interacting with the second account in the target account group is less than a second threshold value.
The embodiment of the application provides electronic equipment, when a user wants to share an image including a target face image with a friend, the user can trigger the electronic equipment to send the image through a target application program through input of the image in the target application program, and because a second account associated with the target face image has a low interaction degree with a first account in a target account group of the target application program, the target face image in the image is invisible to the first user, so that image leakage of the user can be prevented. The user image (e.g., user's photo) information is secured in the social application.
It should be understood that, in the embodiment of the present application, the input unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 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. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the image sending method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media such as a computer-read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and so forth.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above embodiment of the image sending method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
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 solutions of the present application 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 device) to execute the method in the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An image transmission method, characterized in that the method comprises:
receiving a first input to a first image in a target application program, the first image comprising a target face image;
responding to the first input, sending the first image through the target application program, wherein the target face image is invisible to a first account in a target account group, the first account is a low-interaction-degree account in the target account group, the interaction degree of the first account and a second account is smaller than a preset threshold value, and the second account is associated with the target face image;
wherein the target account group consists of accounts in a target contact list of the target application or accounts in a session group in the target application.
2. The method of claim 1, wherein after receiving the first input for the first image in the target application, the method further comprises:
determining a second account from the target contact list;
and the information of the second account comprises a face image matched with the characteristics of the target face image.
3. The method of claim 2, wherein the first input comprises a second input and a third input;
the receiving a first input to a first image in a target application includes:
receiving the second input for the first image, the first image comprising N face images, N being a positive integer;
in response to the second input, segmenting the first image into N person units, each person unit comprising one of the N face images;
receiving the third input for a target person unit of the N person unit, the target person unit comprising the target face image.
4. The method of claim 1, wherein the first image is an image to be sent to a target conversation group;
the sending, by the target application, the first image in response to the first input, comprising:
in response to the first input, sending, by the target application, the first image to the target session group, the target account group consisting of accounts in the target session group.
5. The method of claim 1, wherein prior to said sending said first image by said target application, said method further comprises:
acquiring at least one interactive mode quantity, wherein each interactive mode quantity is the quantity of interactive modes interacted between the second account and one account in the target account group, and the interactive mode quantity is used for indicating the interactive degree;
determining an account in the target account group corresponding to a first number of interaction modes as a fourth account when the first number of interaction modes in the at least one number of interaction modes is larger than or equal to a first threshold value;
determining accounts in the target account group other than the fourth account as the first account;
the first account comprises accounts of the target account group, wherein the number of interaction modes of interaction with the second account is smaller than a first threshold value.
6. An image transmission apparatus, characterized in that the image transmission apparatus comprises a receiving module and a transmitting module;
the receiving module is used for receiving a first input of a first image in a target application program, wherein the first image comprises a target face image;
the sending module is configured to send the first image through the target application program in response to the first input received by the receiving module, where the target face image is invisible to a first account in a target account group, the first account is a low-interaction-degree account in the target account group, where an interaction degree of the target face image with a second account is smaller than a preset threshold, and the second account is associated with the target face image;
wherein the target account group consists of accounts in a target contact list of the target application or accounts in a session group in the target application.
7. The apparatus of claim 6, wherein the image sending apparatus further comprises a determining module;
the determining module is used for determining a second account from the target contact list after the receiving module receives the first input of the first image in the target application program;
and the information of the second account comprises a face image matched with the characteristics of the target face image.
8. The apparatus of claim 7, wherein the image transmitting apparatus further comprises a processing module;
the receiving module is specifically configured to receive a second input to the first image, where the first image includes N face images, and N is a positive integer;
the processing module is configured to segment the first image into N person units in response to the second input received by the receiving module, each person unit including one of the N face images;
the receiving module is specifically configured to receive a third input to a target person unit of the N person unit, where the target person unit includes the target face image.
9. The apparatus of claim 6, wherein the first image is an image to be sent to a target conversation group;
the sending module is specifically configured to send, in response to the first input, the first image to the target session group through the target application, where the target account group is composed of accounts in the target session group.
10. The apparatus of claim 6, wherein the image sending apparatus further comprises an obtaining module and a determining module;
the acquisition module is used for acquiring at least one interactive mode quantity, wherein each interactive mode quantity is the quantity of interactive modes of the second account and one account in the target account group;
the determining module is configured to determine, when a first number of interaction modes in the at least one number of interaction modes acquired by the acquiring module is greater than or equal to a first threshold, an account in the target account group corresponding to the first number of interaction modes as a fourth account; determining accounts in the target account group except the fourth account as the first account;
the first account comprises accounts of the target account group, wherein the number of interaction modes of interaction with the second account is smaller than a first threshold value.
11. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the image transmission method according to any one of claims 1-5.
CN202011341321.XA 2020-11-25 2020-11-25 Image sending method and device and electronic equipment Pending CN112533072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011341321.XA CN112533072A (en) 2020-11-25 2020-11-25 Image sending method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011341321.XA CN112533072A (en) 2020-11-25 2020-11-25 Image sending method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112533072A true CN112533072A (en) 2021-03-19

Family

ID=74993516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011341321.XA Pending CN112533072A (en) 2020-11-25 2020-11-25 Image sending method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112533072A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162845A (en) * 2021-04-26 2021-07-23 维沃移动通信有限公司 Image sharing method and device
CN114679518A (en) * 2022-03-31 2022-06-28 维沃移动通信有限公司 Image display method and device and electronic equipment
CN115037711A (en) * 2022-06-07 2022-09-09 元心信息科技集团有限公司 Data processing method and device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140359014A1 (en) * 2013-06-03 2014-12-04 Seahorse, Inc. Systems and methods for content management
CN106789565A (en) * 2016-12-12 2017-05-31 北京小米移动软件有限公司 Social content sharing method and device
CN108197453A (en) * 2018-01-19 2018-06-22 中国科学院信息工程研究所 A kind of image method for secret protection and system
CN109889348A (en) * 2018-12-24 2019-06-14 维沃移动通信有限公司 A kind of images share method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140359014A1 (en) * 2013-06-03 2014-12-04 Seahorse, Inc. Systems and methods for content management
CN106789565A (en) * 2016-12-12 2017-05-31 北京小米移动软件有限公司 Social content sharing method and device
CN108197453A (en) * 2018-01-19 2018-06-22 中国科学院信息工程研究所 A kind of image method for secret protection and system
CN109889348A (en) * 2018-12-24 2019-06-14 维沃移动通信有限公司 A kind of images share method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113162845A (en) * 2021-04-26 2021-07-23 维沃移动通信有限公司 Image sharing method and device
CN113162845B (en) * 2021-04-26 2022-12-27 维沃移动通信有限公司 Image sharing method and device
CN114679518A (en) * 2022-03-31 2022-06-28 维沃移动通信有限公司 Image display method and device and electronic equipment
CN115037711A (en) * 2022-06-07 2022-09-09 元心信息科技集团有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN115037711B (en) * 2022-06-07 2024-03-29 元心信息科技集团有限公司 Data processing method, device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN112533072A (en) Image sending method and device and electronic equipment
CN112462990A (en) Image sending method and device and electronic equipment
CN112306607A (en) Screenshot method and device, electronic equipment and readable storage medium
CN112286887A (en) File sharing method and device and electronic equipment
CN112422817B (en) Image processing method and device
CN111884908A (en) Contact person identification display method and device and electronic equipment
CN112947807A (en) Display method and device and electronic equipment
CN113141293A (en) Message display method and device and electronic equipment
CN112162803A (en) Message display method and device and electronic equipment
CN111651106A (en) Unread message prompting method, unread message prompting device, unread message prompting equipment and readable storage medium
CN113867583A (en) Message record display method and device and electronic equipment
CN112269504B (en) Information display method and device and electronic equipment
CN112399010B (en) Page display method and device and electronic equipment
CN113676395A (en) Information processing method, related device and readable storage medium
CN113709306A (en) Session processing method and device and electronic equipment
CN112181351A (en) Voice input method and device and electronic equipment
CN112734661A (en) Image processing method and device
CN112684963A (en) Screenshot method and device and electronic equipment
CN111897474A (en) File processing method and electronic equipment
CN113840035B (en) Information sharing method and device, electronic equipment and readable storage medium
CN113312662B (en) Message processing method and device and electronic equipment
CN115061609A (en) Processing method and processing device for group chat operation, electronic equipment and storage medium
CN113194198A (en) Message processing method and message processing device
CN111857467B (en) File processing method and electronic equipment
CN117149020A (en) Information management method, device, equipment and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210319

RJ01 Rejection of invention patent application after publication