CN108694682B - Method and system for setting user head portrait - Google Patents

Method and system for setting user head portrait Download PDF

Info

Publication number
CN108694682B
CN108694682B CN201710236988.5A CN201710236988A CN108694682B CN 108694682 B CN108694682 B CN 108694682B CN 201710236988 A CN201710236988 A CN 201710236988A CN 108694682 B CN108694682 B CN 108694682B
Authority
CN
China
Prior art keywords
head portrait
user
image
portrait image
protection 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
CN201710236988.5A
Other languages
Chinese (zh)
Other versions
CN108694682A (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.)
TCL Technology Group Co Ltd
Original Assignee
TCL Technology Group 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 TCL Technology Group Co Ltd filed Critical TCL Technology Group Co Ltd
Priority to CN201710236988.5A priority Critical patent/CN108694682B/en
Publication of CN108694682A publication Critical patent/CN108694682A/en
Application granted granted Critical
Publication of CN108694682B publication Critical patent/CN108694682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a system for setting a user head portrait, wherein the method comprises the following steps: receiving a head portrait image uploaded by a user side, and generating corresponding protection information for the head portrait image; and adding the protection information to the head portrait image to obtain a protection head portrait image, and setting the protection head portrait image as a user head portrait. According to the invention, the protection information is added to the head portrait image uploaded by the user side, and the identification mark is set for the head portrait image, so that the problem that other user sides steal the head portrait image is avoided. Meanwhile, the damage or loss of friends of the user due to the fact that the head portrait of the user is stolen is avoided.

Description

Method and system for setting user head portrait
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and a system for setting a user avatar.
Background
With the increasing number of communication applications, the use of communication applications (e.g., qq, WeChat, etc.) has become an essential part of people's lives. The existing communication software needs the user to upload the head portrait as an identification of the user. However, in existing communication applications, the user avatar is not protected. The user's avatar can be easily downloaded, modified, or reused by others, whether from the hardware platform in use or the server that manages the application. Therefore, the original user is easy to be impersonated by other users to cause confusion, and harm or loss is brought to friends of the user.
Thus, the prior art has yet to be improved and enhanced.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and a system for setting a user avatar, aiming at the deficiencies of the prior art, so as to solve the problem that the user avatar generated by the existing user avatar setting method is easy to be impersonated by other users, which causes confusion.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a method of setting a user avatar, comprising:
receiving a head portrait image uploaded by a user side, and generating corresponding protection information for the head portrait image;
and adding the protection information to the head portrait image to obtain a protection head portrait image, and setting the protection head portrait image as a user head portrait.
The method for setting the user avatar, wherein the receiving the avatar image uploaded by the user side and generating the corresponding protection information for the avatar image specifically includes:
when receiving a head portrait image uploaded by a user side, judging whether the head portrait image carries protection information or not;
when the head portrait image does not carry protection information, detecting whether the head portrait image conflicts with a head portrait image carrying the protection information in a preset head portrait image database;
if the head portrait image does not conflict with the head portrait image carrying the protection information, judging the user type of the user side, wherein the user type comprises a protector and a liberty;
when the user type is a protector, detecting whether the head portrait image conflicts with a head portrait image which does not carry protection information in a preset head portrait image database;
and if the head portrait image does not conflict with the head portrait image carrying the protection information, generating the corresponding protection information for the user image.
The method for setting the user avatar, wherein the receiving the avatar image uploaded by the user side and generating the corresponding protection information for the avatar image further comprises:
and if the head portrait image conflicts with the head portrait image carrying the protection information, refusing to generate the user head portrait for the user terminal, and prompting the user terminal to replace the head portrait image.
The method for setting the user avatar, wherein the receiving the avatar image uploaded by the user side and generating the corresponding protection information for the avatar image further comprises:
when the user type is a protector and the head portrait image conflicts with a head portrait image without carrying protection information, prompting the user terminal to replace the head portrait image;
when an instruction that the user refuses to change is received, reminding the collided person to modify the head portrait image;
when the person to be collided refuses to modify, the head portrait image is marked, and when the person to be collided chats, prompt information for confirming the identity of the person to be collided is displayed on a chatting interface.
The method for setting the user avatar, wherein the receiving the avatar image uploaded by the user side and generating the corresponding protection information for the avatar image further comprises:
and when the head portrait image carries protection information, refusing to generate a user head portrait for the user side, and sending reminding information to the user side corresponding to the protection information.
A system for setting up a user avatar, comprising:
the generating module is used for receiving the head portrait image uploaded by the user side and generating corresponding protection information for the head portrait image;
and the setting module is used for adding the protection information to the head portrait image to obtain a protected head portrait image and setting the protected head portrait image as a user head portrait.
The system for setting the user avatar, wherein the generating module specifically includes:
the first judgment unit is used for judging whether the head portrait image carries protection information or not when the head portrait image uploaded by the user side is received;
the first detection unit is used for detecting whether the head portrait image conflicts with a head portrait image which carries protection information in a preset head portrait image database when the head portrait image does not carry the protection information;
a second judging unit, configured to judge a user type of the user side when the avatar image does not conflict with an avatar image carrying protection information, where the user type includes a protector and a liberty;
the second detection unit is used for detecting whether the head portrait image conflicts with a head portrait image which does not carry protection information in a preset head portrait image database when the user type is a protector;
and the generating unit is used for generating corresponding protection information for the user image when the head portrait image does not conflict with the head portrait image carrying the protection information.
The setting system of the user head portrait, wherein the generating further comprises:
and the rejection unit is used for rejecting the generation of the user head portrait for the user side and prompting the user side to replace the head portrait image when the head portrait image conflicts with the head portrait image carrying the protection information.
The setting system of the user head portrait, wherein the generating module further comprises:
the prompting unit is used for prompting the user side to replace the head portrait image when the user type is a protector and the head portrait image conflicts with the head portrait image which does not carry protection information;
the reminding unit is used for reminding a collided person to modify the head portrait image when receiving an instruction that the user refuses to change;
and the display unit is used for marking the avatar image when the collider refuses to modify, and displaying prompt information for confirming the identity of the collider on the chat interface when the collider chats.
The setting system of the user head portrait, wherein the generating module further comprises:
and the sending unit is used for refusing to generate the user head portrait for the user side when the head portrait image carries the protection information, and sending reminding information to the user side corresponding to the protection information.
Has the advantages that: compared with the prior art, the invention provides a method and a system for setting a user head portrait, wherein the method comprises the following steps: receiving a head portrait image uploaded by a user side, and generating corresponding protection information for the head portrait image; and adding the protection information to the head portrait image to obtain a protection head portrait image, and setting the protection head portrait image as a user head portrait. According to the invention, the protection information is added to the head portrait image uploaded by the user side, and the identification mark is set for the head portrait image, so that the problem that other user sides steal the head portrait image is avoided. Meanwhile, the damage or loss of friends of the user due to the fact that the head portrait of the user is stolen is avoided.
Drawings
Fig. 1 is a flowchart of a preferred implementation of the method for setting a user avatar according to the present invention.
Fig. 2 is a flowchart of a first method for setting a user avatar according to the present invention.
Fig. 3 is a schematic structural diagram of a user avatar setting system according to the present invention.
Detailed Description
The invention provides a method and a system for setting a user head portrait, which are further described in detail below by referring to the attached drawings and embodiments in order to make the purpose, technical scheme and effect of the invention clearer and clearer. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the present invention, suffixes such as "module", "part", or "unit" used to indicate elements are used only for facilitating the description of the present invention, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The terminal device may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
The invention will be further explained by the description of the embodiments with reference to the drawings.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for setting a user avatar according to a preferred embodiment of the present invention. The method comprises the following steps:
s100, receiving a head portrait image uploaded by a user side, and generating corresponding protection information for the head portrait image;
s200, adding the protection information to the head portrait image to obtain a protection head portrait image, and setting the protection head portrait image as a user head portrait.
The embodiment provides a user avatar setting method, which includes generating protection information corresponding to an avatar image when receiving the avatar image uploaded by a user terminal and used as the user avatar, synthesizing the protection avatar image according to the protection information and the avatar image, and setting the protection avatar image as the user avatar corresponding to the user terminal. Therefore, the head portrait image of the user side can carry the protection information, and the problem that other user sides steal the head portrait of the user side to impersonate the identity of the user side and cause loss and harm to colleagues and friends around the user side is avoided.
Specifically, in the step S100, the user terminal is a terminal device loaded with a communication application, such as a smart phone, an ipod, and the like. The communication application can be WeChat, QQ, microblog and the like. The head portrait image is a user head portrait corresponding to an account displayed by the communication application when the user logs in the communication application through the account. In practical applications, the avatar image may be an image carrying facial features, for example, the avatar image is a photograph of an account owner logged in by the user terminal. Namely, when the user terminal uploads the user photo as the head portrait image, the protection information is generated for the head portrait image. Therefore, the head portrait of the user can be protected, and the personal image of the user can be prevented from being stolen.
In this embodiment, the protection information is information for protecting the avatar image. The protection information may be an account name corresponding to the user side, information generated for the avatar image according to the account information, or randomly generated numbers, symbols, or a combination of the numbers and the symbols.
Further, since the avatar image uploaded by the user side may be a pirate image, a detection process may be included before generating the protection information for the avatar image, so as to detect that the avatar image carries or tampers with the protection information, thereby improving the security of the avatar image. Correspondingly, the receiving the avatar image uploaded by the user side and generating corresponding protection information for the avatar image specifically include:
s101, when receiving a head portrait image uploaded by a user side, judging whether the head portrait image carries protection information or not;
s102, when the head portrait image does not carry the protection information, detecting whether the head portrait image conflicts with a head portrait image carrying the protection information in a preset head portrait image database;
s103, if the head portrait image does not conflict with the head portrait image carrying the protection information, judging the user type of the user side, wherein the user type comprises a protector and a liberty;
s104, when the user type is a protector, detecting whether the head portrait image conflicts with a head portrait image which does not carry protection information in a preset head portrait image database;
and S105, if the head portrait image does not conflict with the head portrait image carrying the protection information, generating corresponding protection information for the user image.
Specifically, the determining whether the avatar carries protection information refers to detecting whether the avatar image carries protection information generated for the avatar image by a server receiving the avatar image. And when the head portrait image does not carry protection information, the head portrait image is not embezzled, and corresponding protection information is generated for the user image. And when the head portrait carries protection information, judging that the head portrait image is embezzled, refusing the user, and simultaneously sending a notice to a protector to remind the user that someone embezzles the head portrait and pay attention to property safety all the time. Correspondingly, the step S100 may further include:
s101a, when the head portrait image carries protection information, generating a user head portrait for the user side is refused, and reminding information is sent to the user side corresponding to the protection information.
Specifically, when the avatar image modifies the protection information, the user side corresponding to the avatar image can be determined according to the protection information, so as to remind the user that the avatar image is stolen. In practical application, the protection information may be that the avatar is stolen, or that the user uses the protected avatar to reset the avatar. Thus, in order to improve the accuracy of determining that it is misappropriated. The step S101a may specifically include:
s1011a, when the avatar image carries protection information, determining whether the protection information is tampered, if not, executing step S1012a, and if tampered, executing step S1014 a;
s1012a, searching a first avatar image corresponding to the protection information, comparing the first avatar image with the avatar image, if the first avatar image and the avatar image are the same, executing a step S1014a, and if the first avatar image and the avatar image are not the same, executing a step S1014 a;
s1014a, setting the head portrait image as a user head portrait;
s1014a, refusing to generate the user head portrait for the user terminal, and sending reminding information to the user terminal corresponding to the protection information.
Specifically, the protection information may be partly missing (that is, it contains only partial protection residual information) of the protection information of the avatar image, or the protection information may be forged, or the like.
In an embodiment of the present invention, when the avatar image does not carry protection information, the avatar image may be an avatar image already used by other user terminals, which may generate avatar collisions. Therefore, in order to avoid the head portrait image conflict, especially in the case of using the user photo as the head portrait image, the step S102 may further include a determining process for determining whether there is a user side using the head portrait image as the head portrait of the user. Correspondingly, the step S102, when the avatar image does not carry the protection information, detecting whether the avatar image conflicts with the avatar image carrying the protection information in the preset avatar image database specifically includes:
s1021, when the head portrait image does not carry the protection information, detecting whether the head portrait image conflicts with the head portrait image carrying the protection information in a preset head portrait image database;
s1022, if the user types do not conflict with each other, judging the user types of the user side, wherein the user types comprise a protector and a liberty;
and S1023, if the head portrait of the user is in conflict with the head portrait of the user, generating the head portrait of the user for the user side, and prompting the user side to replace the head portrait image.
Specifically, the preset head database is a preset database for storing the head portrait of the user. The database may include two sub-databases, which are respectively marked as a first sub-database and a second sub-database, where the first sub-database is used to store a user head portrait carrying protection information, and the second sub-database stores a user image not carrying protection information. Correspondingly, when the head portrait image carries protection information, the head portrait image is searched in the first sub-database. That is, it is determined whether the avatar image conflicts with the user avatar within the first sub-database. When the head portrait image is found, the conflict is explained; the head portrait image is not found, which shows no conflict. Correspondingly, when the head portrait conflicts with the head portrait image, the user head portrait is rejected to be generated for the user side, and the user side is prompted to replace the head portrait image; and if not, generating corresponding protection information for the user image.
Further, the detection of whether the avatar image conflicts with the avatar image carrying the protection information in the preset avatar image database may be performed by using a perceptual hash algorithm, a hamming distance, and other methods, and a similarity result obtained by the detection is compared with a preset threshold value to determine whether the images conflict. The preset threshold value can be a default of a system or can be set manually. The preset threshold is 95%, 90% and the like.
Further, in order to improve the flexibility of setting the avatar by the user, the user avatar is set at the user side so that a protection setting and a non-protection setting can be selected. Correspondingly, the user type of the user side is set according to the type of the head portrait selected by the user side, and the user type comprises a protector and a liberty. The head portrait of the user of the protector carries protection information, and the head portrait of the user of the liberty does not carry protection information. Correspondingly, when receiving the head portrait image uploaded by the user side, judging the user type of the user side, and performing corresponding operation according to the user type. That is to say, when the avatar image does not conflict with the avatar image carrying the protection information in the preset avatar image database, the method further comprises a judging process for judging the user type of the user side and performing corresponding operation according to the user type.
For example, in the step S103, if the avatar image does not conflict with the avatar image carrying protection information, the user type of the user side is determined, where the user type includes a protector and a liberty:
s10, if the head portrait image does not conflict with the head portrait image carrying the protection information, judging the user type of the user side, if the user type is a free person, executing the step S20, and if the user type is a protected person, executing the step S30;
s20, setting the head portrait image as a user head portrait;
s30, detecting whether the head portrait image conflicts with the head portrait image without the protection information in the preset head portrait image database, if so, executing the step S40, and if not, executing the step S50;
s40, prompting the user terminal to change the head portrait image, and carrying out corresponding processing according to the feedback of the user terminal;
and S50, generating corresponding protection information for the user image.
Specifically, the detecting whether the avatar image conflicts with an avatar image of unprotected information in a preset avatar image database refers to detecting whether the avatar image conflicts with a user avatar in a second sub-database. In practical application, if the head portrait images conflict, the protector is prompted to replace the head portrait data. And if the protector refuses to replace, informing the collider (freeman) that the head portrait image is applied for protection by other users, and reminding the user to modify. If the conflict person refuses to modify, the server marks the conflict head portrait image. The tag information may include: information such as the protector, the conflict, the header data of the conflict, and the conflict event. When the marked conflict user chats with other people, the server prompts the other party to confirm the identity of the conflict user in the chat interface. Correspondingly, the prompting the user end to replace the avatar image and performing corresponding processing according to the feedback of the user end may specifically include:
s401, when the user type is a protector and the head portrait image conflicts with a head portrait image which does not carry protection information, prompting a user terminal to replace the head portrait image;
s402, when an instruction that the user refuses to change is received, reminding the collided person to modify the head portrait image;
and S403, when the reviewer refuses to modify, marking the avatar image, and when the reviewer chats, displaying prompt information for confirming the identity of the reviewer on a chatting interface.
In step S200, the protection information may be added to the avatar image in the form of a watermark, or it may be synthesized into the avatar image in the form of a ciphertext, or the like. And adding the protection information to the head portrait image to obtain a head portrait image written in the protection information, recording the head portrait image as a protection head portrait image, and adopting the protection head portrait image as a user head portrait, so that the user head portrait with the protection information arranged at the user side reduces the risk of stealing the user head portrait.
In order to further explain the method for setting the user avatar provided by the present invention, the following description is made with reference to a specific embodiment.
Example one
The present embodiment provides a method for setting a user avatar, as shown in fig. 2, which includes:
h10, the user side receives a user head portrait setting instruction triggered by a user, and starts a user head portrait protection function according to the setting instruction;
h20, selecting an avatar image used for the avatar of the user, and uploading the avatar image to a server;
h30, the server judges whether the head portrait image is added with the picture digital protection generated by the server; if so, perform step H40, if not, perform step H50;
h40, the server refuses the user head portrait setting of the user terminal and sends a notice to a protector corresponding to the picture digital protection to remind the user head portrait of the protector to be stolen;
h50, the server judges the similarity between the head portrait image and the head portrait image which is protected by the server and carries the digital protection of the picture, if the similarity exceeds a preset threshold value, the step H60 is executed, and if the similarity does not exceed the preset threshold value, the step H70 is executed;
h60, the server refuses the application of the user side and prompts the user side to replace the head portrait for reapplication;
h70, judging the user type of the user side, if the user type is a free user, executing the operation not to be H80, if the user type is a protected user, executing the step H90;
h80, setting the head portrait image as a user head portrait;
h90, detecting whether the head portrait image conflicts with the head portrait image of the unprotected information in the preset head portrait image database, if so, executing the step H100, and if not, executing the step H110;
h100, prompting a user terminal to replace the head portrait image, and performing corresponding processing according to feedback of the user terminal;
and H110, generating corresponding protection information for the user image.
Specifically, in step H100, the protector is prompted to replace the avatar data, and if the protector rejects replacement, the protector notifies the collider (liberty) that the avatar image is protected by another user, and prompts modification. If the conflict person refuses to modify, the server marks the conflict head portrait image. The tag information may include: information such as the protector, the conflict, the header data of the conflict, and the conflict event. When the marked conflict user chats with other people, the server prompts the other party to confirm the identity of the conflict user in the chat interface.
The present invention also provides a system for setting a user avatar, as shown in fig. 3, which includes:
the generating module 100 is configured to receive an avatar image uploaded by a user side, and generate corresponding protection information for the avatar image;
a setting module 200, configured to add the protection information to the avatar image to obtain a protected avatar image, and set the protected avatar image as a user avatar.
The system for setting the user avatar, wherein the generating module specifically includes:
the first judgment unit is used for judging whether the head portrait image carries protection information or not when the head portrait image uploaded by the user side is received;
the first detection unit is used for detecting whether the head portrait image conflicts with a head portrait image which carries protection information in a preset head portrait image database when the head portrait image does not carry the protection information;
a second judging unit, configured to judge a user type of the user side when the avatar image does not conflict with an avatar image carrying protection information, where the user type includes a protector and a liberty;
the second detection unit is used for detecting whether the head portrait image conflicts with a head portrait image which does not carry protection information in a preset head portrait image database when the user type is a protector;
and the generating unit is used for generating corresponding protection information for the user image when the head portrait image does not conflict with the head portrait image carrying the protection information.
The setting system of the user head portrait, wherein the generating further comprises:
and the rejection unit is used for rejecting the generation of the user head portrait for the user side and prompting the user side to replace the head portrait image when the head portrait image conflicts with the head portrait image carrying the protection information.
The setting system of the user head portrait, wherein the generating module further comprises:
the prompting unit is used for prompting the user side to replace the head portrait image when the user type is a protector and the head portrait image conflicts with the head portrait image which does not carry protection information;
the reminding unit is used for reminding a collided person to modify the head portrait image when receiving an instruction that the user refuses to change;
and the display unit is used for marking the avatar image when the collider refuses to modify, and displaying prompt information for confirming the identity of the collider on the chat interface when the collider chats.
The setting system of the user head portrait, wherein the generating module further comprises:
and the sending unit is used for refusing to generate the user head portrait for the user side when the head portrait image carries the protection information, and sending reminding information to the user side corresponding to the protection information.
The respective modules of the setting system of the user avatar are explained in detail in the above method, and are not stated herein.
In the embodiments provided by the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for setting a user avatar, comprising:
receiving a head portrait image uploaded by a user side, and generating corresponding protection information for the head portrait image;
adding the protection information to the avatar image to obtain a protected avatar image, and setting the protected avatar image as a user avatar
The receiving of the avatar image uploaded by the user side and the generating of the corresponding protection information for the avatar image specifically include:
when receiving a head portrait image uploaded by a user side, judging whether the head portrait image carries protection information or not;
when the head portrait image does not carry protection information, detecting whether the head portrait image conflicts with a head portrait image carrying the protection information in a preset head portrait image database;
if the head portrait image does not conflict with the head portrait image carrying the protection information, judging the user type of the user side, wherein the user type comprises a protector and a liberty;
when the user type is a protector, detecting whether the head portrait image conflicts with a head portrait image which does not carry protection information in a preset head portrait image database;
and if the head portrait image does not conflict with the head portrait image not carrying the protection information, generating the corresponding protection information for the user image.
2. The method for setting the avatar of the user according to claim 1, wherein the receiving the avatar image uploaded by the user side and generating the corresponding protection information for the avatar image further comprises:
and if the head portrait image conflicts with the head portrait image carrying the protection information, refusing to generate the user head portrait for the user terminal, and prompting the user terminal to replace the head portrait image.
3. The method for setting the avatar of the user according to claim 1, wherein the receiving the avatar image uploaded by the user side and generating the corresponding protection information for the avatar image further comprises:
when the user type is a protector and the head portrait image conflicts with a head portrait image without carrying protection information, prompting the user terminal to replace the head portrait image;
when an instruction that the user refuses to change is received, reminding the collided person to modify the head portrait image;
when the person to be collided refuses to modify, the head portrait image is marked, and when the person to be collided chats, prompt information for confirming the identity of the person to be collided is displayed on a chatting interface.
4. The method for setting the user avatar according to claim 1, wherein the receiving the avatar image uploaded by the user side and generating the corresponding protection information for the avatar image further comprises:
and when the head portrait image carries protection information, refusing to generate a user head portrait for the user side, and sending reminding information to the user side corresponding to the protection information.
5. A system for setting a user avatar, comprising:
the generating module is used for receiving the head portrait image uploaded by the user side and generating corresponding protection information for the head portrait image;
the setting module is used for adding the protection information to the head portrait image to obtain a protected head portrait image and setting the protected head portrait image as a user head portrait;
wherein, the generation module specifically comprises:
the first judgment unit is used for judging whether the head portrait image carries protection information or not when the head portrait image uploaded by the user side is received;
the first detection unit is used for detecting whether the head portrait image conflicts with a head portrait image which carries protection information in a preset head portrait image database when the head portrait image does not carry the protection information;
a second judging unit, configured to judge a user type of the user side when the avatar image does not conflict with an avatar image carrying protection information, where the user type includes a protector and a liberty;
the second detection unit is used for detecting whether the head portrait image conflicts with a head portrait image which does not carry protection information in a preset head portrait image database when the user type is a protector;
and the generating unit is used for generating corresponding protection information for the user image when the head portrait image does not conflict with the head portrait image carrying the protection information.
6. The setting system of the user avatar according to claim 5, wherein said generating further comprises:
and the rejection unit is used for rejecting the generation of the user head portrait for the user side and prompting the user side to replace the head portrait image when the head portrait image conflicts with the head portrait image carrying the protection information.
7. The setting system of the user avatar according to claim 5, wherein the generating module further comprises:
the prompting unit is used for prompting the user side to replace the head portrait image when the user type is a protector and the head portrait image conflicts with the head portrait image which does not carry protection information;
the reminding unit is used for reminding a collided person to modify the head portrait image when receiving an instruction that the user refuses to change;
and the display unit is used for marking the avatar image when the collider refuses to modify, and displaying prompt information for confirming the identity of the collider on the chat interface when the collider chats.
8. The system for setting the avatar of the user according to claim 5, wherein the generating module further comprises:
and the sending unit is used for refusing to generate the user head portrait for the user side when the head portrait image carries the protection information, and sending reminding information to the user side corresponding to the protection information.
CN201710236988.5A 2017-04-12 2017-04-12 Method and system for setting user head portrait Active CN108694682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710236988.5A CN108694682B (en) 2017-04-12 2017-04-12 Method and system for setting user head portrait

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710236988.5A CN108694682B (en) 2017-04-12 2017-04-12 Method and system for setting user head portrait

Publications (2)

Publication Number Publication Date
CN108694682A CN108694682A (en) 2018-10-23
CN108694682B true CN108694682B (en) 2022-03-01

Family

ID=63843628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710236988.5A Active CN108694682B (en) 2017-04-12 2017-04-12 Method and system for setting user head portrait

Country Status (1)

Country Link
CN (1) CN108694682B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371963B (en) * 2020-05-27 2020-09-01 腾讯科技(深圳)有限公司 Image processing method and apparatus, storage medium, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424340A (en) * 2013-09-11 2015-03-18 腾讯科技(深圳)有限公司 Social network application information processing method, device and system
WO2015065424A1 (en) * 2013-10-31 2015-05-07 Intel Corporation Context-based message creation via user-selectable icons
CN106210267A (en) * 2016-06-21 2016-12-07 珠海市魅族科技有限公司 The management method of contact head image, managing device and server
CN106446634A (en) * 2016-09-26 2017-02-22 维沃移动通信有限公司 Method for privacy protection of mobile terminal and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8489883B2 (en) * 2009-09-17 2013-07-16 International Business Machines Corporation Virtual world embedded security watermarking
TW201535246A (en) * 2014-03-07 2015-09-16 Primax Electronics Ltd Method for printing photo media and photo media printing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424340A (en) * 2013-09-11 2015-03-18 腾讯科技(深圳)有限公司 Social network application information processing method, device and system
WO2015065424A1 (en) * 2013-10-31 2015-05-07 Intel Corporation Context-based message creation via user-selectable icons
CN106210267A (en) * 2016-06-21 2016-12-07 珠海市魅族科技有限公司 The management method of contact head image, managing device and server
CN106446634A (en) * 2016-09-26 2017-02-22 维沃移动通信有限公司 Method for privacy protection of mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN108694682A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
US10657238B2 (en) Systems and methods for identifying unauthorized users of an electronic device
US11882221B2 (en) Mobile terminal privacy protection method and protection apparatus, and mobile terminal
KR101773885B1 (en) A method and server for providing augmented reality objects using image authentication
CN105117663B (en) The encrypted object display methods and device of a kind of application
US11496490B2 (en) Notification of a security breach on a mobile device
US20150143483A1 (en) Device and Method for Identity Authentication Management
CN105787324A (en) Computer information security system
CN104517069A (en) Information processing method and electronic equipment
CN110414271A (en) A kind of private data guard method, device and computer readable storage medium
CN109089231B (en) Method, device, server and medium for forwarding verification code short message
US20180123796A1 (en) Authentication-based message display method and communication terminal thereof
CN103532960B (en) Decrypt device
CN104573440A (en) Data viewing method and device
CN111355681A (en) Address book-based authentication method, terminal device, server and storage medium
US9998884B2 (en) Method for preventing misdirection of pictures and electronic device using the same
CN104616163B (en) Prize drawing identity management method and device
CN110855833A (en) Terminal retrieving method and device, terminal and storage medium
CN104899496B (en) data reading method and terminal thereof
KR101267229B1 (en) Method and system for authenticating using input pattern
US20180124034A1 (en) Image based method, system and computer program product to authenticate user identity
CN108694682B (en) Method and system for setting user head portrait
KR101654797B1 (en) Interactive CAPTCHA System Resilient to Phishing Attacks
CN104125234A (en) Method and system for dynamic image security verification
US9576117B2 (en) Electronic device and protection method
US20220053123A1 (en) Method and apparatus for independent authentication of video

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
CB02 Change of applicant information

Address after: 516006 TCL science and technology building, No. 17, Huifeng Third Road, Zhongkai high tech Zone, Huizhou City, Guangdong Province

Applicant after: TCL Technology Group Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. nineteen District

Applicant before: TCL Corp.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant