CN110798565A - Head portrait determining method and device and electronic equipment - Google Patents

Head portrait determining method and device and electronic equipment Download PDF

Info

Publication number
CN110798565A
CN110798565A CN201911000501.9A CN201911000501A CN110798565A CN 110798565 A CN110798565 A CN 110798565A CN 201911000501 A CN201911000501 A CN 201911000501A CN 110798565 A CN110798565 A CN 110798565A
Authority
CN
China
Prior art keywords
head portrait
avatar
determining
target
alternative
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
CN201911000501.9A
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 CN201911000501.9A priority Critical patent/CN110798565A/en
Publication of CN110798565A publication Critical patent/CN110798565A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

One embodiment of the invention provides a method, a device, an electronic device and a storage medium for determining a head portrait, wherein the method comprises the following steps: acquiring a sender number corresponding to the received short message; determining an alternative head portrait corresponding to the number of the sender; and determining a target avatar corresponding to the sender number from each alternative avatar based on the preset priority order of the number identification application. According to the technical scheme of the embodiment of the invention, the head portrait corresponding to the short message can be determined when a plurality of number identification applications are available on the electronic equipment.

Description

Head portrait determining method and device and electronic equipment
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a method and an apparatus for determining an avatar, an electronic device, and a computer-readable storage medium.
Background
At present, when an electronic device receives a short message, a short message application obtains a head portrait corresponding to a sender number of the short message through a number identification function and displays the head portrait in a short message list. For example, the contact person matching is performed according to the number to obtain the contact person head portrait, or the server is requested according to the number to obtain the pre-stored head portrait.
In the prior art, if the electronic device is equipped with a number identification application of a plurality of third parties, when the electronic device receives a short message, the obtained avatar has a plurality of possibilities, but only one of the avatars can be displayed in the short message list, and it is difficult for a user to determine or modify the avatar based on personal expectations.
Disclosure of Invention
The embodiment of the invention aims to provide an avatar determination method, an avatar determination device, electronic equipment and a computer-readable storage medium, and solves the problem that an avatar corresponding to a short message is difficult to determine when multiple number identification applications are provided on the electronic equipment.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an avatar determination method, including: acquiring a sender number corresponding to the received short message; determining an alternative head portrait corresponding to the number of the sender; and determining a target avatar corresponding to the sender number from each alternative avatar based on the preset priority order of the number identification application.
In a second aspect, an embodiment of the present invention provides an avatar determination apparatus, including: the number acquisition module is used for acquiring a sender number corresponding to the received short message; the alternative head portrait determining module is used for determining an alternative head portrait corresponding to the number of the sender; and the target head portrait determining module is used for determining a target head portrait corresponding to the sender number from each alternative head portrait based on the preset priority order of the number identification application.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the avatar determination method as described in the first aspect above.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when executed by a processor, the computer program implements the avatar determination method according to the first aspect.
According to the technical scheme of the embodiment of the invention, on one hand, the number of a sender corresponding to the received short message is obtained, and the number of the sender of the short message for number identification can be obtained; on the other hand, the alternative head portraits corresponding to the sender number are determined, and a plurality of alternative head portraits selected by the user can be obtained; on the other hand, the target head portrait corresponding to the sender number is determined from all the alternative head portraits based on the preset priority order of the number recognition applications, and the head portrait corresponding to the short message can be determined when the number recognition applications exist on the electronic equipment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for determining an avatar according to an embodiment of the present invention;
fig. 2 is a schematic view of an application scenario of a short message avatar according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of an avatar determination method according to another embodiment of the present invention;
fig. 4 is a schematic flowchart of an avatar determination method according to another embodiment of the present invention;
fig. 5 is a schematic diagram of an application scenario of an avatar determination method according to another embodiment of the present invention;
fig. 6 is a schematic block diagram of an avatar determination apparatus according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an avatar determination method, an avatar determination device, electronic equipment and a computer-readable storage medium. The avatar determination method can be applied to an electronic device side and executed by the electronic device, and the electronic device mentioned in the embodiment of the invention includes but is not limited to a mobile phone, a tablet computer, a wearable device and other intelligent terminals.
Fig. 1 is a schematic flow chart of an avatar determination method according to an embodiment of the present invention. Referring to fig. 1, the avatar determination method includes steps S110, S120, and S130. The avatar determination method in the exemplary embodiment of fig. 1 is explained in detail below.
Referring to fig. 1, in step S110, a sender number corresponding to a received short message is acquired.
In an example embodiment, the electronic device receives a short message, for example, the short message comes from a 139 mailbox, the content is that "zoo ticket free-to-catch http:// mail.10086.cn, and Q-return closing notification" and a sender number "10658 XXXXX" corresponding to the short message is acquired.
In step S120, an alternative avatar corresponding to the sender number is determined.
In an example embodiment, determining the alternative avatar corresponding to the sender number comprises: respectively sending head portrait acquisition requests to servers corresponding to the number identification applications through a plurality of number identification applications on the electronic equipment, wherein the head portrait acquisition requests carry numbers of sending parties; and acquiring the head portrait returned by the server corresponding to each number identification application based on the head portrait acquisition request, and determining the head portrait as a candidate head portrait. For example, 10086 sends a text message to the electronic device. The electronic equipment is integrated with a third-party adaptation package A, a third-party adaptation package B and a third-party adaptation package C which have a number identification function in advance, namely the electronic equipment is provided with a number identification application A, a number identification application B and a number identification application C. The method comprises the steps that a head portrait acquisition request containing a sender number of '10086' is sent to a server corresponding to A through a number identification application A, a head portrait returned by the server corresponding to A based on the head portrait acquisition request is received and determined to be an alternative head portrait, and three alternative head portraits corresponding to '10086' are obtained through a number identification application B in the same way as the number identification application C.
In an example embodiment, the number recognition application refers to an application having a number recognition function, for example, an XX cell phone housekeeping, an incoming call assistant, or the like.
In step S130, a target avatar corresponding to the sender number is determined from the candidate avatars based on the priority order of the number recognition applications.
In an example embodiment, determining a target avatar corresponding to a sender number from among various alternative avatars based on a preset priority order of a plurality of number recognition applications includes: determining the number identification application with the highest priority based on the preset priority sequence of the number identification applications; and determining the alternative head portrait corresponding to the number identification application with the highest priority as the target head portrait corresponding to the sender number. For example, 10086 sends a text message to the electronic device. The electronic equipment is integrated with a third-party adaptation package A, a third-party adaptation package B and a third-party adaptation package C which have a number identification function in advance, namely the electronic equipment is provided with a number identification application A, a number identification application B and a number identification application C. The priority sequence of the three number identification applications is preset as follows: the number identification application A is the highest priority, the number identification application B is lower in priority than the number identification application A, and the number identification application C is lower in priority than the number identification application B. And determining the alternative head portrait corresponding to the number identification application A as a target head portrait corresponding to the sender number of '10086'.
According to the avatar determination method in the exemplary embodiment of fig. 1, on one hand, a sender number corresponding to a received short message is obtained, and a sender number of the short message for number identification can be obtained; on the other hand, the alternative head portraits corresponding to the sender number are determined, and a plurality of alternative head portraits selected by the user can be obtained; on the other hand, the target head portrait corresponding to the sender number is determined from all the alternative head portraits based on the preset priority order of the number recognition applications, and the head portrait corresponding to the short message can be determined when the number recognition applications exist on the electronic equipment.
Further, in an example embodiment, the short message and the target avatar are displayed in association, for example, the target avatar is displayed on the left side of the corresponding short message.
In an example embodiment, after determining the target avatar, presenting the target avatar; responding to a target head portrait modification instruction of a user, and displaying alternative head portraits except the target head portrait; and determining a new target head portrait in the displayed alternative head portraits in response to a target head portrait selection instruction of the user. For example, the target avatar is displayed on the left side of the short message, when the user wants to modify the avatar, the avatar is long-pressed, the electronic device pops up other alternative avatars for the user to select, and the electronic device selects a new target avatar from the other alternative avatars to be displayed on the left side of the short message according to the selection operation (such as click operation) of the user.
Fig. 2 is a schematic view of an application scenario of a short message avatar according to an embodiment of the present invention.
Referring to fig. 2, a short message 220 from a 139 mailbox is received on an electronic device, and an avatar 210 corresponding to the short message 220 is displayed on the left side of the short message 220 in an associated manner.
Fig. 3 is a flowchart illustrating an avatar determination method according to another embodiment of the present invention.
Referring to fig. 3, in step S310, avatar display rules are set according to the recognition functions of the respective channels integrated by the electronic device.
In an example embodiment, a plurality of third party adaptation packages having a number recognition function, i.e., a number recognition application, are integrated in advance on an electronic device. The priority of the number identification application on the electronic equipment is preset, for example, a certain electronic equipment is provided with a number identification application A, a number identification application B and a number identification application C, the priority is preset to be that the number identification application A is larger than the number identification application B is larger than the number identification application C, and the number identification application A is the highest priority.
In step S320, a short message is received.
In an example embodiment, the electronic device receives a short message and obtains a sender number from the short message. For example, the short message comes from a 139 mailbox, the content is 'zoo ticket free receiving http:// mail.10086.cn, Q-turn off notification', and the sender number '10658 XXXXX' corresponding to the short message is acquired.
In step S330, a list of short message identification functions integrated with the current electronic device is obtained.
In an example embodiment, a list of number identification applications loaded on an electronic device is obtained.
In step S340, the head portrait identified by each manufacturer according to the number is acquired.
In an exemplary embodiment, according to the list of number identification applications in step S330, the sender number is identified by each number identification application on the list, an avatar acquisition request is issued, and an avatar corresponding to the sender number is acquired by each number identification application respectively. For example, the list of number recognition applications includes a number recognition application a, a number recognition application B, and a number recognition application C. The number identification application A identifies the number of the sender, and sends a head portrait acquisition request to a server corresponding to the number identification application A to obtain a head portrait A corresponding to the number of the sender; the number identification application B identifies the number of the sender, and sends an avatar acquisition request to a server corresponding to the number identification application B to obtain an avatar 'B' corresponding to the number of the sender; the number identification application C identifies the sender number, and sends an avatar acquisition request to the server corresponding to the number identification application C to obtain an avatar "C" corresponding to the sender number. A total of three alternative head portraits "a", "b" and "c" are obtained.
In step S350, the avatar is displayed according to a preset rule.
In an example embodiment, the priority order of a plurality of number recognition applications is preset, the number recognition application with the highest priority is determined, and then the candidate avatar corresponding to the number recognition application is determined as the target avatar and displayed. For example, if the priority order of the plurality of preset number identification applications is that the number identification application a is greater than the number identification application B and greater than the number identification application C, and the number identification application a is the highest priority number identification application, the candidate avatar corresponding to the number identification application a is determined as the target avatar and displayed on the left side of the short message.
Fig. 4 is a flowchart illustrating an avatar determination method according to another embodiment of the present invention.
Referring to fig. 4, in step S410, a short message is received.
In an example embodiment, the electronic device receives a short message and obtains a sender number from the short message. For example, the short message comes from a 139 mailbox, the content is 'zoo ticket free receiving http:// mail.10086.cn, Q-turn off notification', and the sender number '10658 XXXXX' corresponding to the short message is acquired.
In step S420, a short message identification function list integrated with the current electronic device is obtained.
In an example embodiment, a list of number identification applications loaded on an electronic device is obtained.
In step S430, the head portrait identified by each manufacturer from the number is acquired.
In an exemplary embodiment, according to the list of number identification applications in step S430, the sender number is identified by each number identification application on the list, an avatar acquisition request is issued, and an avatar corresponding to the sender number is acquired by each number identification application respectively. For example, the list of number recognition applications includes a number recognition application a, a number recognition application B, and a number recognition application C. The number identification application A identifies the number of the sender, and sends a head portrait acquisition request to a server corresponding to the number identification application A to obtain a head portrait A corresponding to the number of the sender; the number identification application B identifies the number of the sender, and sends an avatar acquisition request to a server corresponding to the number identification application B to obtain an avatar 'B' corresponding to the number of the sender; the number identification application C identifies the sender number, and sends an avatar acquisition request to the server corresponding to the number identification application C to obtain an avatar "C" corresponding to the sender number. A total of three alternative head portraits "a", "b" and "c" are obtained.
In step S440, all images are presented to the user for selection by the user.
In an exemplary embodiment, the alternative avatar determined in step S430 is presented for selection by the user. For example, there are 3 candidate avatars "a", "b", and "c", which are arranged in a row and displayed on the left side of the short message for the user to select.
In step S450, the user selects and sets the avatar of this number.
In an example embodiment, the alternative avatar selected by the user is determined as the target avatar and is displayed on the left side of the short message.
It should be noted that, in the exemplary embodiment, if the target avatar is determined when a short message sent by a certain sender number is received for the first time, the target avatar is displayed by default when a short message sent by the same sender number is received again.
In an example embodiment, after determining the target avatar, presenting the target avatar; responding to a target head portrait modification instruction of a user, and displaying alternative head portraits except the target head portrait; and determining a new target head portrait in the displayed alternative head portraits in response to a target head portrait selection instruction of the user. For example, if the user wants to modify the target avatar, long-time pressing operation is performed on the avatar, other alternative avatars are popped up for the user to select, and a new target avatar is selected from the other alternative avatars according to the selection operation of the user and displayed on the left side of the short message.
Fig. 5 is a schematic view of an application scenario of an avatar determination method according to another embodiment of the present invention. Referring to fig. 5, in the upper half of fig. 5, a short message 540 from the kyoto is received on the electronic device, and 3 different head portraits, including a head portrait 510, a head portrait 520, and a head portrait 530, are shown on the left side of the short message 540 for the user to select. The user's finger points at avatar 510.
Referring to the bottom half of fig. 5, avatar 510 is selected as the target avatar corresponding to short message 540, and the association is shown on the left side of short message 540.
Fig. 6 is a schematic block diagram of an avatar determination apparatus according to an embodiment of the present invention. Referring to fig. 6, the avatar determination apparatus 600 includes: a number acquisition module 610, an alternative avatar determination module 620, and a target avatar determination module 630. The number obtaining module 610 is configured to obtain a sender number corresponding to the received short message; the alternative avatar determination module 620 is configured to determine an alternative avatar corresponding to the sender number; the target avatar determination module 630 is configured to determine a target avatar corresponding to the sender number from each candidate avatar based on a preset priority order of the number recognition applications.
In some embodiments of the present invention, based on the above solution, the alternative avatar determination module includes: the application sending unit is used for sending head portrait acquisition requests to the servers corresponding to the number identification applications through the number identification applications on the electronic equipment, wherein the head portrait acquisition requests carry numbers of the sender; and the head portrait acquisition unit is used for acquiring the head portrait returned by the server corresponding to each number identification application based on the head portrait acquisition request and determining the head portrait as the alternative head portrait.
In some embodiments of the present invention, based on the above solution, the target avatar determination module includes: the priority determining unit is used for determining the number identification application with the highest priority based on the priority sequence of the preset number identification applications; and the head portrait determining unit is used for determining the candidate head portrait corresponding to the number identification application with the highest priority as the target head portrait corresponding to the sender number.
In some embodiments of the present invention, based on the above scheme, the avatar determination apparatus further includes: the head portrait display unit is used for displaying the target head portrait after the target head portrait is determined; the head portrait modification unit is used for responding to a target head portrait modification instruction of a user and displaying alternative head portraits except the target head portrait; and the new head portrait determining unit is used for responding to a target head portrait selection instruction of the user and determining a new target head portrait in the displayed alternative head portraits.
According to the technical scheme provided by the embodiment of the invention, on one hand, the number of a sender corresponding to the received short message is obtained, and the number of the sender of the short message for number identification can be obtained; on the other hand, the alternative head portraits corresponding to the sender number are determined, and a plurality of alternative head portraits selected by the user can be obtained; on the other hand, the target head portrait corresponding to the sender number is determined from all the alternative head portraits based on the preset priority order of the number recognition applications, and the head portrait corresponding to the short message can be determined when the number recognition applications exist on the electronic equipment.
It should be noted that the avatar determination apparatus provided in the embodiment of the present invention can implement the processes of the avatar determination method described above, and achieve the same functions and effects, which are not repeated here.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention, and as shown in fig. 7, the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The memory 709 stores therein a computer program, and when the computer program is executed by the processor 710, the following process can be implemented: acquiring a sender number corresponding to the received short message; determining an alternative head portrait corresponding to the number of the sender; and determining a target avatar corresponding to the sender number from each alternative avatar based on the preset priority order of the number identification application.
Optionally, the computer program, when executed by the processor 710, determines an alternative avatar corresponding to the sender number, comprising: respectively sending an avatar acquisition request to a server corresponding to each number identification application through a plurality of number identification applications on the electronic equipment, wherein the avatar acquisition request carries a sender number; and the server corresponding to each number identification application acquires the head portrait returned by the head portrait acquisition request and determines the head portrait as the alternative head portrait.
Optionally, when being executed by the processor 710, the computer program determines, from the candidate avatars, a target avatar corresponding to the sender number based on a priority order of the number recognition application, where the priority order includes: determining the number identification application with the highest priority based on the preset priority sequence of the number identification applications; and determining the alternative head portrait corresponding to the number identification application with the highest priority as the target head portrait corresponding to the sender number.
Optionally, the computer program, when executed by the processor 710, can also implement the following process: after the target head portrait is determined, displaying the target head portrait; responding to a target head portrait modification instruction of a user, and displaying alternative head portraits except the target head portrait; and determining a new target head portrait in the displayed alternative head portraits in response to a target head portrait selection instruction of the user.
According to the technical scheme of the embodiment of the invention, on one hand, the number of a sender corresponding to the received short message is obtained, and the number of the sender of the short message for number identification can be obtained; on the other hand, the alternative head portraits corresponding to the sender number are determined, and a plurality of alternative head portraits selected by the user can be obtained; on the other hand, the target head portrait corresponding to the sender number is determined from all the alternative head portraits based on the preset priority order of the number recognition applications, and the head portrait corresponding to the short message can be determined when the number recognition applications exist on the electronic equipment.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby monitoring the whole electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The electronic device 700 may also include a power supply 711 (e.g., a battery) for providing power to the various components, and preferably, the power supply 711 may be logically coupled to the processor 710 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
The electronic device in the embodiment of the present application can implement the processes of the aforementioned avatar determination method, and achieve the same effects and functions, which are not repeated here.
Further, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the embodiment of the avatar determination method, and can achieve the same technical effect, and is not described herein again to avoid repetition. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the above-mentioned embodiment of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An avatar determination method applied to an electronic device, comprising:
acquiring a sender number corresponding to the received short message;
determining an alternative head portrait corresponding to the sender number;
and determining a target avatar corresponding to the sender number from each alternative avatar based on the preset priority order of the number identification application.
2. The method of claim 1, wherein the determining the alternative avatar corresponding to the sender number comprises:
respectively sending head portrait acquisition requests to servers corresponding to the number identification applications through a plurality of number identification applications on the electronic equipment, wherein the head portrait acquisition requests carry the numbers of the senders;
and acquiring the head portrait returned by the server corresponding to each number identification application based on the head portrait acquisition request, and determining the head portrait as a candidate head portrait.
3. The method according to claim 1, wherein the determining a target avatar corresponding to the sender number from among the candidate avatars based on a priority order of a plurality of preset number recognition applications comprises:
determining the number identification application with the highest priority based on the preset priority sequence of the number identification applications;
and determining the alternative head portrait corresponding to the number identification application with the highest priority as the target head portrait corresponding to the sender number.
4. The method of claim 1, further comprising:
after the target head portrait is determined, displaying the target head portrait;
responding to a target avatar modification instruction of the user, and displaying alternative avatars except the target avatar;
and determining a new target avatar in the displayed alternative avatars in response to a target avatar selection instruction of the user.
5. An avatar determination apparatus applied to an electronic device, comprising:
the number acquisition module is used for acquiring a sender number corresponding to the received short message;
the alternative head portrait determining module is used for determining an alternative head portrait corresponding to the sender number;
and the target head portrait determining module is used for determining a target head portrait corresponding to the sender number from each alternative head portrait based on the preset priority order of each number recognition application.
6. The apparatus of claim 5, wherein the alternative avatar determination module comprises:
the application sending unit is used for sending a head portrait obtaining request to a server corresponding to each number identification application through a plurality of number identification applications on the electronic equipment, wherein the head portrait obtaining request carries the number of the sender;
and the head portrait acquisition unit is used for acquiring the head portrait returned by the server corresponding to each number identification application based on the head portrait acquisition request and determining the head portrait as a candidate head portrait.
7. The apparatus of claim 5, wherein the target avatar determination module comprises:
the priority determining unit is used for determining the number identification application with the highest priority based on the preset priority sequence of each number identification application;
and the head portrait determining unit is used for determining the alternative head portrait corresponding to the number identification application with the highest priority as the target head portrait corresponding to the sender number.
8. The apparatus of claim 5, further comprising:
the head portrait display unit is used for displaying the target head portrait after the target head portrait is determined;
the head portrait modification unit is used for responding to a target head portrait modification instruction of the user and displaying alternative head portraits except the target head portrait;
and the new head portrait determining unit is used for responding to a target head portrait selection instruction of the user and determining a new target head portrait in the displayed alternative head portraits.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the avatar determination method of any of claims 1 to 4.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, realizes the avatar determination method according to any one of claims 1 to 4.
CN201911000501.9A 2019-10-21 2019-10-21 Head portrait determining method and device and electronic equipment Pending CN110798565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911000501.9A CN110798565A (en) 2019-10-21 2019-10-21 Head portrait determining method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911000501.9A CN110798565A (en) 2019-10-21 2019-10-21 Head portrait determining method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN110798565A true CN110798565A (en) 2020-02-14

Family

ID=69439506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911000501.9A Pending CN110798565A (en) 2019-10-21 2019-10-21 Head portrait determining method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110798565A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111431792A (en) * 2020-03-16 2020-07-17 网易(杭州)网络有限公司 Group head portrait generation method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795260A (en) * 2009-12-24 2010-08-04 宇龙计算机通信科技(深圳)有限公司 Method for displaying head portrait of contact person and corresponding service system, server and terminals
CN102215302A (en) * 2011-05-28 2011-10-12 华为技术有限公司 Contact photo providing method, management platform and user terminal
CN105847517A (en) * 2016-05-30 2016-08-10 广东欧珀移动通信有限公司 Method, device and system for displaying head portrait and server
CN106095465A (en) * 2016-06-23 2016-11-09 北京小米移动软件有限公司 The method and device of identity image is set

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795260A (en) * 2009-12-24 2010-08-04 宇龙计算机通信科技(深圳)有限公司 Method for displaying head portrait of contact person and corresponding service system, server and terminals
CN102215302A (en) * 2011-05-28 2011-10-12 华为技术有限公司 Contact photo providing method, management platform and user terminal
CN105847517A (en) * 2016-05-30 2016-08-10 广东欧珀移动通信有限公司 Method, device and system for displaying head portrait and server
CN106095465A (en) * 2016-06-23 2016-11-09 北京小米移动软件有限公司 The method and device of identity image is set

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111431792A (en) * 2020-03-16 2020-07-17 网易(杭州)网络有限公司 Group head portrait generation method and device, electronic equipment and storage medium
CN111431792B (en) * 2020-03-16 2022-03-25 网易(杭州)网络有限公司 Group head portrait generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN108255378B (en) Display control method and mobile terminal
CN109101147B (en) Message notification display method and terminal
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN109078319B (en) Game interface display method and terminal
CN109407920B (en) Status icon display method, status icon processing method and related equipment
CN108391008B (en) Message reminding method and mobile terminal
CN108600089B (en) Expression image display method and terminal equipment
CN107835495B (en) Message prompting method and device and mobile terminal
CN110012143B (en) Telephone receiver control method and terminal
CN109412932B (en) Screen capturing method and terminal
CN107734172B (en) Information display method and mobile terminal
CN110990172A (en) Application sharing method, first electronic device and computer-readable storage medium
CN108196781B (en) Interface display method and mobile terminal
CN111597540B (en) Login method of application program, electronic device and readable storage medium
CN111107223B (en) Message processing method and electronic equipment
CN110796438B (en) Message sending method and mobile terminal
CN109982273B (en) Information reply method and mobile terminal
CN110784394A (en) Prompting method and electronic equipment
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN109446033B (en) Method and device for displaying downloading progress
CN111142998A (en) Sharing method of background application and electronic equipment
CN110851042A (en) Interface display method and electronic equipment
CN110888572A (en) Message display method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200214

RJ01 Rejection of invention patent application after publication