CN109408187B - Head portrait setting method and device, mobile terminal and readable storage medium - Google Patents

Head portrait setting method and device, mobile terminal and readable storage medium Download PDF

Info

Publication number
CN109408187B
CN109408187B CN201811289486.XA CN201811289486A CN109408187B CN 109408187 B CN109408187 B CN 109408187B CN 201811289486 A CN201811289486 A CN 201811289486A CN 109408187 B CN109408187 B CN 109408187B
Authority
CN
China
Prior art keywords
target
interface
option
user
application
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
CN201811289486.XA
Other languages
Chinese (zh)
Other versions
CN109408187A (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.)
Wuhan Big Data Industry Development Co ltd
Original Assignee
Wuhan Big Data Industry Development 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 Wuhan Big Data Industry Development Co ltd filed Critical Wuhan Big Data Industry Development Co ltd
Priority to CN201811289486.XA priority Critical patent/CN109408187B/en
Publication of CN109408187A publication Critical patent/CN109408187A/en
Application granted granted Critical
Publication of CN109408187B publication Critical patent/CN109408187B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/27453Directories allowing storage of additional subscriber data, e.g. metadata

Abstract

The invention discloses a head portrait setting method, a head portrait setting device, a mobile terminal and a readable storage medium, wherein the method comprises the following steps: when a preset instruction for setting a target picture in a current interface as a head portrait is detected, displaying preset options on the current interface so that a user can select a target option from the preset options; when a first selection instruction for selecting a target option from the preset options is detected, jumping to a target interface corresponding to the target option; and placing the target picture in a target area of the target interface so as to enable a user to carry out head portrait setting operation in the target interface. The invention realizes providing a convenient way for setting the head portrait for the mobile terminal user, avoids the complicated operation of setting the head portrait for specific application, and optimizes the operation mode of the mobile terminal.

Description

Head portrait setting method and device, mobile terminal and readable storage medium
Technical Field
The invention relates to the field of mobile terminal function development, in particular to a method and a device for setting a head portrait, a mobile terminal and a readable storage medium.
Background
At present, many mobile terminal applications can set account head portraits, and if a user wants to set the account head portraits as head portraits of certain applications after seeing satisfied pictures or taking good photos, the current method is to start specific applications, enter an account head portraits setting interface, and after clicking the set head portraits, prompts such as taking pictures or opening albums can appear, and if the user selects to open the albums to select pictures from the albums at the moment, the situation that target pictures are difficult to find because too many pictures in the albums can occur. The setting of the head portrait of one application is still so complicated, if a user wants to change the head portraits of a plurality of applications at one time, the user needs to enter each application to set the head portrait, the setting process is more complicated, and the physical examination of the user is extremely bad.
Disclosure of Invention
The invention mainly aims to provide a method and a device for setting an avatar, a mobile terminal and a readable storage medium, and aims to solve the technical problems that when a mobile terminal user sets an application avatar, the mobile terminal user needs to enter each application to set the avatar, and the setting process is complicated.
In order to achieve the above object, an embodiment of the present invention provides a method for setting an avatar, where the method includes:
when a preset instruction for setting a target picture in a current interface as a head portrait is detected, displaying preset options on the current interface so that a user can select a target option from the preset options;
jumping to a target interface corresponding to a target option after a first selection instruction for selecting the target option from the preset options is detected;
and placing the target picture in a target area of the target interface so as to enable a user to carry out head portrait setting operation in the target interface.
Optionally, the step of displaying the preset options on the current interface includes:
detecting whether a preset application is installed in a user mobile terminal;
and displaying the preset application installed in the user mobile terminal as a preset option on a current interface.
Optionally, when the target option is an application option, the step of jumping to a target interface corresponding to the target option includes:
skipping to a first target interface of the application corresponding to the application option;
the step of placing the target picture in a target area of the target interface comprises the following steps:
and placing the target picture in a target area of the first target interface.
Optionally, before the step of jumping to the first target interface of the application corresponding to the application option, the method further includes:
detecting whether the application corresponding to the application option is in a user account non-login state;
and if the application is in a user account non-login state, jumping to an account login interface of the application, so that a user can perform account login operation on the account login interface.
Optionally, the preset options include a contact option; when the target option is a contact option, the step of jumping to a target interface corresponding to the target option comprises:
jumping to a second target interface, so that a user can select a target contact in the second target interface;
skipping to a third target interface corresponding to the target contact after detecting a second selection instruction for selecting the target contact from the second target interface;
the step of placing the target picture in a target area of the target interface comprises:
and placing the target picture in a target area of the third target interface.
Optionally, when the target option is a contact option, the step of jumping to the target interface corresponding to the target option further includes:
acquiring a contact list and displaying the contact list on the current interface so that a user can select a target contact from the contact list;
skipping to a fourth target interface corresponding to the target contact person after detecting a third selection instruction for selecting the target contact person from the contact person list;
the step of placing the target picture in a target area of the target interface comprises:
and placing the target picture in a target area of the fourth target interface.
Optionally, after the step of placing the target picture in a target area of the target interface for a user to perform an avatar setting operation in the target interface, the method further includes:
when a finishing instruction for finishing setting the head portrait is detected, displaying a selection button for a user to select whether to return to the current interface;
and if a fourth selection instruction for returning to the current interface is detected, jumping back to the current interface.
The present invention also provides a head portrait setting apparatus, including:
the display module is used for displaying preset options on the current interface after a preset instruction for setting a target picture in the current interface as a head portrait is detected, so that a user can select the target options from the preset options;
the jump module is used for jumping to a target interface corresponding to a target option after a first selection instruction for selecting the target option from the preset options is detected;
and the placing module is used for placing the target picture in a target area of the target interface so as to enable a user to carry out head portrait setting operation in the target interface.
The present invention also provides a mobile terminal, comprising: the system comprises a memory, a processor and an avatar setting program stored on the memory and capable of running on the processor, wherein the avatar setting program realizes the steps of the avatar setting method when being executed by the processor.
The invention also provides a readable storage medium, on which the avatar setting program is stored, and the avatar setting program realizes the steps of the avatar setting method when executed by a processor.
According to the method, after a preset instruction for setting a target picture in a current interface as a head portrait is detected, preset options are displayed on the current interface, so that a user can select the target option from the preset options; when a first selection instruction for selecting a target option from preset options is detected, jumping to a target interface corresponding to the target option; and placing the target picture in a target area of a target interface so that a user can perform head portrait setting operation in the target interface. The method and the device realize the convenient way of setting the head portrait for the mobile terminal user, avoid the complicated operation of respectively entering specific application and setting the head portrait, and optimize the operation mode of the mobile terminal.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an alternative mobile terminal according to an embodiment of the present invention;
FIG. 2 is a diagram of a wireless communication device of the mobile terminal of FIG. 1;
FIG. 3 is a flowchart illustrating an embodiment of a method for setting a head portrait according to the present invention;
FIG. 4 is a diagram illustrating a scene of displaying a function button for setting a head portrait on a current interface according to the present invention;
FIG. 5 is a schematic diagram illustrating a scenario in which preset options are displayed on a current interface according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
In the following description, 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 particular meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
The terminal 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 tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and 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 mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, wiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following specifically describes the components of the mobile terminal with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 ), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the 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 for applications of recognizing gestures of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometers and taps), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of a user on the touch panel 1071 or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory) thereon or nearby and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store a software program and various data, and the memory 109 may be a computer storage medium, and the memory 109 stores the avatar setting program of the present invention. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for 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, etc. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Such as processor 110, executes the avatar setting program in memory 109 to implement the steps of various embodiments of the avatar setting method of the present invention.
Processor 110 may include one or more processing units; alternatively, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and optionally, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module and the like, which will not be described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an epc (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 with access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an hss (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a pgw (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node for processing signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide some registers to manage functions such as home location register (not shown) and holds some user-specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
The invention provides an avatar setting method which is mainly applied to a mobile terminal, and for convenience of description, the execution subject is omitted below to illustrate various embodiments. In an embodiment of the avatar setting method, referring to fig. 3, the avatar setting method includes:
step S1, after a preset instruction for setting a target picture in a current interface as a head portrait is detected, displaying preset options on the current interface so that a user can select the target options from the preset options.
The current interface may be a picture preview interface of a user's album, or a picture preview interface of an application in the mobile terminal, such as opening a picture in a chat interface of the QQ, or an editing interface of a screenshot picture after screenshot, etc. The target picture can be the only picture displayed in the current page, or a selected picture in all the pictures displayed in the current page. A function button can be arranged on the current interface and is used for prompting a user that a target picture in the current page can be set as an avatar, and when the function button is detected to be clicked by the user, a preset instruction for setting the target picture as the avatar is triggered on the current interface by the user; the method can also be set to recognize that when the user touches the screen with a preset gesture, for example, when a circle is drawn on the current interface, the preset instruction for setting the target picture as the head portrait is triggered by the user on the current interface.
And when the preset instruction is detected, displaying preset options on the current interface. The preset options at least comprise one option, and the option can be an application option of an application capable of setting the avatar, a contact option, or other options capable of setting the avatar. After the current interface displays the preset options, a user selects a target option from the preset options through a touch screen, wherein the target option is a head portrait which the user wants to set a target picture as the target option.
In a specific example, referring to fig. 4, when a user takes a photo P1 with a mobile phone and wants to set the photo as a QQ avatar, a function button P3 for setting the photo as the avatar is displayed on the photo display interface P2, and when the user clicks the function button, the mobile phone recognizes that the user triggers a preset instruction for setting the photo P1 as the avatar on the current interface, and then referring to fig. 5, a preset option P4 is displayed on the current interface, i.e., the photo display interface P2, and the preset option includes options P5, P6, and P7 for the user to select, where P5, P6, and P7 may be icons of three different applications.
Further, step S1 includes:
and S11, detecting whether the preset application is installed in the user mobile terminal.
After a preset instruction that a user sets a target picture as an avatar and is triggered on a current interface is detected, whether a preset application is installed in a mobile terminal of the user is detected, wherein the preset application can include all applications capable of setting the avatar and installed in the mobile terminal, such as applications of QQ, weChat, paibao and the like.
And S12, displaying the preset application installed in the user mobile terminal as a preset option on a current interface.
And displaying the detected preset application installed in the mobile terminal of the user on the current page as a preset option. And if the fact that two preset applications capable of setting the head portrait are installed in the user mobile terminal is detected, the QQ and the WeChat are displayed on the current interface as preset options. The preset option may be to display an icon of the application, or to display an application name or other identifier capable of indicating the application.
And S2, jumping to a target interface corresponding to the target option after detecting a first selection instruction for selecting the target option from the preset options.
And jumping to a target interface corresponding to the target option after detecting a first selection instruction of selecting the target option from preset options triggered by the user on the current page. It should be noted that each of the preset options corresponds to a preset jump path, and a target interface corresponding to the option can be jumped to according to the jump path, where the target interface is an interface for editing an avatar. For example, after a first selection instruction of selecting the application option of the QQ from the preset options triggered by the current interface by the user is detected, jumping to the interface of editing the QQ head portrait in the QQ according to a jumping path corresponding to the application option of the preset QQ.
And S3, placing the target picture in a target area of the target interface so that a user can perform head portrait setting operation in the target interface.
And after jumping to a target interface, placing the target picture in a target area of the target interface, wherein the target area is an area where the picture is placed corresponding to the target interface, and if the target interface is an interface for editing the head portrait in the QQ, placing the target picture in the head portrait editing frame. The user can cut the target picture in the target interface, and the cut target picture is set as the head portrait.
In the embodiment, after a preset instruction for setting a target picture in a current interface as a head portrait is detected, preset options are displayed on the current interface so that a user can select a target option from the preset options; when a first selection instruction for selecting a target option from preset options is detected, jumping to a target interface corresponding to the target option; and placing the target picture in a target area of a target interface so that a user can perform head portrait setting operation in the target interface. The method and the device realize the convenient way of setting the head portrait for the mobile terminal user, avoid the complex operation of setting the head portrait for specific application, and optimize the operation mode of the mobile terminal.
Further, in another embodiment of the avatar setting method of the present invention, when the target option is an application option, the step of jumping to the target interface corresponding to the target option in step S2 includes:
and S201, jumping to a first target interface of the application corresponding to the application option.
And when detecting that the target option selected by the user from the preset options is the application option, jumping to a first target interface of the application corresponding to the application option according to a preset jump path corresponding to the application option. And the first target interface is an avatar editing interface of each specific application. And if the user selects the application of the WeChat, jumping to the avatar editing interface of the WeChat according to a preset jumping path.
The step of placing the target picture in the target area of the target interface in the step S3 includes:
step S301, placing the target picture in a target area of the first target interface.
After jumping to the first target interface of the application corresponding to the application option, the target picture is placed in the target area of the first target interface, which is similar to step S3 in the first embodiment and will not be described in detail here.
Further, step S201 is preceded by:
step S202, detecting whether the application corresponding to the application option is in a user account non-login state.
Step S203, if the application is in a user account non-login state, jumping to an account login interface of the application, so that a user can perform account login operation on the account login interface.
When detecting that a target option selected by a user from preset options is an application option, detecting whether an application corresponding to the application option is in a user account non-login state. Because the application installed in the user mobile terminal may be in a user account non-login state, before jumping to a target interface of the application, namely an avatar editing interface, it is first detected whether the user account is not logged in, and if it is detected that the application is in the user account non-login state, the application is first jumped to an account login interface of the application. And when the user account is detected to be successfully logged in, jumping to the head portrait editing interface of the application.
In this embodiment, when the target option is the application option, the user automatically jumps to the first target interface of the application corresponding to the application option, so that a uniform entry for setting the application avatar is provided for the user, a convenient avatar setting approach is provided for the user, and the operation of the user is simplified.
Further, in another embodiment of the avatar setting method of the present invention, in order to provide a convenient way for setting an avatar of a contact for a user, a unified entry for setting the avatar of the contact and the avatar of an application is provided, wherein the preset options include contact options; when the target option is a contact option, the step of jumping to the target interface corresponding to the target option in S2 includes:
and S211, jumping to a second target interface, so that the user can select a target contact in the second target interface.
And when detecting that the target option selected by the user from the preset options is the contact option, jumping to a second target interface according to a preset jump path corresponding to the contact option, wherein the second target interface can be an address list interface in the mobile terminal of the user, and a user contact directory is displayed in the second target interface and can be used for the user to select the target contact to be provided with the head portrait.
Step S212, after a second selection instruction for selecting the target contact from the second target interface is detected, jumping to a third target interface corresponding to the target contact.
And after a second selection instruction for selecting the target contact from the second target interface triggered by the user is detected, jumping to a third target interface corresponding to the target contact according to the second selection instruction. And the third target interface is an interface for editing the head portrait of the target contact person in the mobile terminal.
The step of placing the target picture in the target area of the target interface in the step S3 includes:
step S311, the target picture is placed in a target area of the third target interface.
After jumping to a third target interface corresponding to the target contact, the target picture is placed in a target area of the third target interface, which is similar to step S3 in the first embodiment and is not described in detail herein.
Further, when the target option is a contact option, the step of jumping to the target interface corresponding to the target option in S2 further includes:
and step S221, acquiring a contact list and displaying the contact list on the current interface so that a user can select a target contact from the contact list.
And when detecting that the target option selected by the user from the preset options is the contact option, acquiring a contact list stored in the mobile terminal of the user, and displaying the contact list on the current interface. The user may click on the screen to select a target contact for which an avatar is to be set in the list of contacts currently displayed on the interface.
Step S222, after a third selection instruction for selecting a target contact from the contact list is detected, jumping to a fourth target interface corresponding to the target contact.
And when a third selection instruction for selecting the target contact person from the contact person list triggered by the user is detected, jumping to a fourth target interface corresponding to the target contact person, wherein the fourth target interface is an interface for editing the head portrait of the target contact person.
The step of placing the target picture in the target area of the target interface in the step S3 includes:
step S321, placing the target picture in a target area of the fourth target interface.
After jumping to a fourth target interface corresponding to the target contact, the target picture is placed in a target area of the fourth target interface, which is similar to step S3 in the first embodiment and is not described in detail herein.
In the embodiment, by setting the contact options in the preset options, skipping to the second target interface after detecting the first selection instruction for selecting the contact options from the preset options, and skipping to the third target interface corresponding to the target contact after detecting the second selection instruction for selecting the target contact on the second target interface, the picture is placed in the target area of the third target interface, so that the user can set the target picture as the head portrait of the target contact on the third target interface, thereby realizing providing a convenient contact head portrait setting path for the user, and optimizing the operation of the mobile terminal.
Further, in another embodiment of the avatar setting method of the present invention, after step S3, the method further includes:
and S4, displaying a selection button for the user to select whether to return to the current interface or not after detecting a finishing instruction for finishing setting the head portrait.
And when a finishing instruction of finishing the setting of the head portrait triggered by the user is detected, displaying a selection button for the user to select whether to return to the current page. The user can trigger a command back to the current interface by touching the select button. If a user opens a picture in a mobile phone album and selects to set the picture as an OO head portrait, the mobile phone jumps to a QQ head portrait editing interface from a current interface, namely a mobile phone album picture opening interface, and places the picture in an editing frame.
And S5, if a fourth selection instruction for returning to the current interface is detected, jumping back to the current interface.
And jumping back to the current interface after detecting a fourth selection instruction which is triggered by the user and returns to the current interface. If the current interface is the user photo album, the user can skip back to the user photo album, and the user can continue browsing the photo album.
In the embodiment, a convenient way for the user to return to the current interface after setting the head portrait is realized, and the operation of the mobile terminal is optimized.
In addition, an embodiment of the present invention further provides a head portrait setting apparatus, where the head portrait setting apparatus includes:
the display module is used for displaying preset options on the current interface after a preset instruction for setting a target picture in the current interface as a head portrait is detected, so that a user can select the target options from the preset options;
the skipping module is used for skipping to a target interface corresponding to a target option after a first selection instruction for selecting the target option from the preset options is detected;
and the placing module is used for placing the target picture in a target area of the target interface so as to enable a user to carry out head portrait setting operation in the target interface.
Optionally, the display module comprises:
the detection unit is used for detecting whether a preset application is installed in the user mobile terminal;
and the first display unit is used for displaying the preset application installed in the user mobile terminal as a preset option on a current interface.
Optionally, when the target option is an application option, the jumping module includes:
the first jumping unit is used for jumping to a first target interface of the application corresponding to the application option;
the placement module is further configured to place the target picture in a target area of the first target interface.
Optionally, the avatar setting apparatus further includes:
the detection module is used for detecting whether the application corresponding to the application option is in a user account non-login state or not;
the skipping module is further used for skipping to an account login interface of the application if the application is in a user account non-login state, so that a user can perform account login operation on the account login interface.
Optionally, the preset options include a contact option; when the target option is a contact option, the skip module further includes:
the second jumping unit is used for jumping to a second target interface so that a user can select a target contact person in the second target interface; the second target interface is used for jumping to a third target interface corresponding to the target contact after a second selection instruction for selecting the target contact from the second target interface is detected;
the placement module is further configured to place the target picture in a target area of the third target interface.
Optionally, when the target option is a contact option, the skip module further includes:
the second display unit is used for acquiring a contact list and displaying the contact list on the current interface so that a user can select a target contact from the contact list;
the third jumping unit is used for jumping to a fourth target interface corresponding to the target contact person after a third selection instruction for selecting the target contact person from the contact person list is detected;
the placement module is further configured to place the target picture in a target area of the fourth target interface.
Optionally, the display module is further configured to display a selection button for the user to select whether to return to the current interface after a finishing instruction for finishing setting the avatar is detected;
the skip module is further configured to skip back to the current interface if a fourth selection instruction for returning to the current interface is detected.
In addition, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes: a memory 109, a processor 110, and an avatar setting program stored in the memory 109 and capable of running on the processor 110, wherein the avatar setting program when executed by the processor 110 implements the steps of the embodiments of the avatar setting method described above.
Furthermore, the present invention also provides a computer-readable storage medium storing one or more programs, which can be further executed by one or more processors for implementing the steps of the embodiments of the avatar setting method described above.
The specific implementation of the mobile terminal and the readable storage medium (i.e., the computer-readable storage medium) of the present invention is basically the same as the embodiments of the avatar setting method, and is not described herein again.
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 one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present 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 embodiments of the present invention.
While the present invention has been described with reference to the particular illustrative embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and equivalents thereof, which may be made by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. An avatar setting method, comprising:
when a preset instruction for setting a target picture in a current interface as a head portrait is detected, displaying preset options on the current interface so that a user can select a target option from the preset options, wherein the preset options comprise a contact option and an application option;
when a first selection instruction for selecting a target option from the preset options is detected, jumping to a target interface corresponding to the target option;
placing the target picture in a target area of the target interface so that a user can perform head portrait setting operation in the target interface;
when the target option is an application option, the step of jumping to a target interface corresponding to the target option comprises:
skipping to a first target interface of an application corresponding to the application option, wherein the first target interface is an avatar editing interface of the application;
the step of placing the target picture in a target area of the target interface comprises:
placing the target picture in a target area of the first target interface;
when the target option is a contact option, the step of jumping to a target interface corresponding to the target option comprises the following steps:
skipping to a second target interface for a user to select a target contact in the second target interface, wherein the second target interface is an address list interface in a user mobile terminal;
after a second selection instruction for selecting a target contact person from the second target interface is detected, jumping to a third target interface corresponding to the target contact person, wherein the third target interface is an interface for editing a head portrait of the target contact person in the mobile terminal;
the step of placing the target picture in a target area of the target interface comprises:
and placing the target picture in a target area of the third target interface.
2. The avatar setting method of claim 1, wherein said step of displaying preset options on the current interface comprises:
detecting whether a preset application is installed in a user mobile terminal;
and displaying the preset application installed in the user mobile terminal as a preset option on a current interface.
3. The avatar setting method of claim 1, wherein said jumping to the first target interface of the application corresponding to said application option is preceded by:
detecting whether the application corresponding to the application option is in a user account non-login state;
and if the application is in a user account non-login state, jumping to an account login interface of the application so that a user can perform account login operation on the account login interface.
4. The avatar setting method of claim 1, wherein when said target option is a contact option, said jumping to a target interface corresponding to said target option further comprises:
acquiring a contact list and displaying the contact list on the current interface so that a user can select a target contact from the contact list;
skipping to a fourth target interface corresponding to the target contact person after detecting a third selection instruction for selecting the target contact person from the contact person list;
the step of placing the target picture in a target area of the target interface comprises the following steps:
and placing the target picture in a target area of the fourth target interface.
5. The method for setting the avatar of claim 1, wherein after the step of placing the target picture in the target area of the target interface for the user to perform the avatar setting operation in the target interface, the method further comprises:
when a finishing instruction for finishing setting the head portrait is detected, displaying a selection button for a user to select whether to return to the current interface;
and if a fourth selection instruction for returning to the current interface is detected, jumping back to the current interface.
6. An avatar setting apparatus, comprising:
the display module is used for displaying preset options on the current interface after a preset instruction for setting a target picture in the current interface as a head portrait is detected, so that a user can select a target option from the preset options, wherein the preset options comprise a contact option and an application option;
the jump module is used for jumping to a target interface corresponding to a target option after a first selection instruction for selecting the target option from the preset options is detected;
the placement module is used for placing the target picture in a target area of the target interface so as to enable a user to carry out head portrait setting operation in the target interface;
when the target option is an application option, the skip module comprises:
the first jumping unit is used for jumping to a first target interface of an application corresponding to the application option, and the first target interface is an avatar editing interface of the application;
the placing module is further used for placing the target picture in a target area of the first target interface;
when the target option is a contact option, the skip module further comprises:
the second skipping unit is used for skipping to a second target interface so that a user can select a target contact in the second target interface, and the second target interface is an address list interface in a mobile terminal of the user;
the mobile terminal is further used for jumping to a third target interface corresponding to the target contact person after a second selection instruction for selecting the target contact person from the second target interface is detected, wherein the third target interface is an interface for editing a head portrait of the target contact person in the mobile terminal;
the placement module is further configured to place the target picture in a target area of the third target interface.
7. A mobile terminal, characterized in that the mobile terminal comprises: a memory, a processor and an avatar setting program stored on said memory and executable on said processor, said avatar setting program when executed by said processor implementing the steps of the avatar setting method as claimed in any one of claims 1 to 5.
8. A readable storage medium, characterized in that the readable storage medium has stored thereon an avatar setting program, which when executed by a processor, realizes the steps of the avatar setting method of any one of claims 1 to 5.
CN201811289486.XA 2018-10-31 2018-10-31 Head portrait setting method and device, mobile terminal and readable storage medium Active CN109408187B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811289486.XA CN109408187B (en) 2018-10-31 2018-10-31 Head portrait setting method and device, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811289486.XA CN109408187B (en) 2018-10-31 2018-10-31 Head portrait setting method and device, mobile terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN109408187A CN109408187A (en) 2019-03-01
CN109408187B true CN109408187B (en) 2022-12-30

Family

ID=65470850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811289486.XA Active CN109408187B (en) 2018-10-31 2018-10-31 Head portrait setting method and device, mobile terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN109408187B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110032629B (en) * 2019-03-11 2023-01-20 创新先进技术有限公司 Interactive interactive processing method and device
CN110536020B (en) * 2019-09-06 2023-05-12 上海掌门科技有限公司 Incoming call reminding setting method, equipment and computer readable storage medium
CN111176510A (en) * 2019-12-30 2020-05-19 上海连尚网络科技有限公司 Method and apparatus for changing head portrait

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379207A (en) * 2012-04-20 2013-10-30 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for setting contact photos
US8694899B2 (en) * 2010-06-01 2014-04-08 Apple Inc. Avatars reflecting user states
CN104486487A (en) * 2014-11-28 2015-04-01 广东欧珀移动通信有限公司 Contact-photo editing method and terminal
CN104836880A (en) * 2015-05-19 2015-08-12 小米科技有限责任公司 Method and device for processing contact person head portrait
CN106407436A (en) * 2016-09-27 2017-02-15 维沃移动通信有限公司 Communication account number head portrait processing method and mobile terminal
CN108431812A (en) * 2016-11-28 2018-08-21 华为技术有限公司 A kind of method that head portrait is shown and head portrait display device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215302B (en) * 2011-05-28 2013-12-18 华为技术有限公司 Contact photo providing method, management platform and user terminal
CN105117209B (en) * 2015-07-27 2019-02-12 小米科技有限责任公司 Using exchange method and device
CN106549903B (en) * 2015-09-16 2020-09-11 腾讯科技(深圳)有限公司 Method and device for setting head portrait of user
CN105898034B (en) * 2016-03-28 2019-08-16 努比亚技术有限公司 A kind of mobile terminal and its method for handling picture
CN106126053B (en) * 2016-05-27 2019-08-27 努比亚技术有限公司 Mobile terminal control device and method
CN107888759A (en) * 2017-09-29 2018-04-06 努比亚技术有限公司 A kind of method, equipment and computer-readable recording medium realized information and sent
CN108228053A (en) * 2017-12-29 2018-06-29 努比亚技术有限公司 A kind of information sharing method, intelligent terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8694899B2 (en) * 2010-06-01 2014-04-08 Apple Inc. Avatars reflecting user states
CN103379207A (en) * 2012-04-20 2013-10-30 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for setting contact photos
CN104486487A (en) * 2014-11-28 2015-04-01 广东欧珀移动通信有限公司 Contact-photo editing method and terminal
CN104836880A (en) * 2015-05-19 2015-08-12 小米科技有限责任公司 Method and device for processing contact person head portrait
CN106407436A (en) * 2016-09-27 2017-02-15 维沃移动通信有限公司 Communication account number head portrait processing method and mobile terminal
CN108431812A (en) * 2016-11-28 2018-08-21 华为技术有限公司 A kind of method that head portrait is shown and head portrait display device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
无需PS 来电头像手机搞定;无名氏;《电脑爱好者》;20110515;第1页 *

Also Published As

Publication number Publication date
CN109408187A (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN108037893B (en) Display control method and device of flexible screen and computer readable storage medium
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN109040441B (en) Application body-separating display method, mobile terminal and computer readable storage medium
CN107592416B (en) Voice message transmitting method, terminal and computer readable storage medium
CN108553896B (en) State information display control method, terminal and computer readable storage medium
CN107885448B (en) Control method for application touch operation, mobile terminal and readable storage medium
CN108459803B (en) Picture sending method based on double-sided screen, mobile terminal and readable storage medium
CN110180181B (en) Method and device for capturing wonderful moment video and computer readable storage medium
CN107741802B (en) Application starting method, terminal and computer readable storage medium
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN109375846B (en) Method and device for displaying breathing icon, mobile terminal and readable storage medium
CN112068744A (en) Interaction method, mobile terminal and storage medium
CN108984063B (en) Desktop interaction regulation and control method and device and computer readable storage medium
CN109408187B (en) Head portrait setting method and device, mobile terminal and readable storage medium
CN112637410A (en) Method, terminal and storage medium for displaying message notification
CN109522276B (en) Application icon management method, terminal and computer-readable storage medium
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
CN108153477B (en) Multi-touch operation method, mobile terminal and computer-readable storage medium
CN110083294B (en) Screen capturing method, terminal and computer readable storage medium
CN112558826A (en) Shortcut operation method, mobile terminal and storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium
CN109873903B (en) Display method, terminal and computer readable storage medium of similar application program
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN107580106B (en) Call control method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221213

Address after: 430000 room 2, 7 / F, building B, 32 tangjiadun Road, Jianghan District, Wuhan City, Hubei Province

Applicant after: Wuhan big data industry development Co.,Ltd.

Address before: 518057 Dazu Innovation Building, 9018 Beihuan Avenue, Nanshan District, Shenzhen City, Guangdong Province, 6-8, 10-11, 6 and 6-10 floors in Area A, B and C

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant