CN111884913A - Message prompting method, device, terminal and storage medium - Google Patents

Message prompting method, device, terminal and storage medium Download PDF

Info

Publication number
CN111884913A
CN111884913A CN202010719308.7A CN202010719308A CN111884913A CN 111884913 A CN111884913 A CN 111884913A CN 202010719308 A CN202010719308 A CN 202010719308A CN 111884913 A CN111884913 A CN 111884913A
Authority
CN
China
Prior art keywords
preset
avatar
virtual image
interface
prompting
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.)
Granted
Application number
CN202010719308.7A
Other languages
Chinese (zh)
Other versions
CN111884913B (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN202010719308.7A priority Critical patent/CN111884913B/en
Publication of CN111884913A publication Critical patent/CN111884913A/en
Application granted granted Critical
Publication of CN111884913B publication Critical patent/CN111884913B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a message prompting method, a message prompting device, a terminal and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: receiving a communication message; acquiring a first preset virtual image, wherein the first preset virtual image is used for prompting that a communication message is received; and displaying the first preset virtual image on a currently displayed interface in a suspension manner. The method ensures that the first preset virtual image can be displayed on the interface in a suspension manner when the communication message is received under the condition that any interface is displayed currently, so that the user can know that the communication message is received by the terminal through the first preset virtual image displayed in a suspension manner.

Description

Message prompting method, device, terminal and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a message prompting method, an apparatus, a terminal, and a storage medium.
Background
With the wide development of computer technology and the widespread application of device interaction, a terminal receives various communication messages, such as short messages, instant communication messages, incoming requests, and the like, and when receiving the communication messages, the terminal prompts a user. The currently common prompting method is to play a prompting audio set by a user. However, the above information prompting method is too single and not flexible enough.
Disclosure of Invention
The embodiment of the application provides a message prompting method, a message prompting device, a terminal and a storage medium, and the information prompting mode for a user is more flexible. The technical scheme is as follows:
in one aspect, a message prompting method is provided, and the method includes:
receiving a communication message;
acquiring a first preset virtual image, wherein the first preset virtual image is used for prompting that a communication message is received;
and displaying the first preset virtual image on a currently displayed interface in a suspension manner.
In one possible implementation, the receiving a communication message includes: receiving a communication message of any application program;
the displaying the first preset avatar in a suspended manner on a currently displayed interface includes:
and displaying the first preset virtual image on an application program identifier of the application program in a floating manner.
In a possible implementation manner, the displaying the first preset avatar in a floating manner on a currently displayed interface includes:
and displaying the first preset virtual image moving according to the moving track in a suspended manner on the upper layer of the interface.
In a possible implementation manner, before the first preset avatar moving according to the moving trajectory is displayed in a floating manner on the upper layer of the interface, the method further includes:
and acquiring a preset display position of the first preset virtual image, and determining a movement track corresponding to the preset display position.
In one possible implementation, the first preset avatar includes a background avatar and a main avatar, and the first preset avatar moving according to a moving trajectory is displayed in a floating manner on an upper layer of the interface, including:
and displaying the main body virtual image and the background virtual image moving according to the moving track in a suspended manner on the upper layer of the interface.
In one possible implementation, before receiving the communication message, the method further includes: displaying a second preset virtual image in a floating manner on a currently displayed interface;
the displaying the first preset avatar in a suspended manner on a currently displayed interface includes: replacing the second preset avatar with the first preset avatar;
wherein, the avatar is predetermine to the second with first avatar of predetermineeing is different avatar, perhaps the avatar is predetermine to the second with first avatar of predetermineeing belongs to different states under the same avatar.
In one possible implementation, after receiving the communication message, the method further includes: acquiring a preset prompting audio, wherein the preset prompting audio is used for prompting that a communication message is received;
the displaying the first preset avatar in a suspended manner on a currently displayed interface includes:
and displaying the first preset virtual image on a currently displayed interface in a suspending way, and playing the preset prompt audio.
In one possible implementation, the sender of the communication message is a target user identifier; the acquiring of the first preset avatar includes:
and acquiring a first preset virtual image corresponding to the target user identifier.
In one possible implementation, before receiving the communication message, the method further includes:
displaying a setting interface, wherein the setting interface comprises at least one virtual image;
and responding to a first setting instruction of a first virtual image in the setting interface, and setting the first virtual image as a first preset virtual image for prompting the receiving of the communication message.
In one possible implementation, the method further includes:
and responding to a second setting instruction of a second virtual image in the setting interface, and setting the second virtual image as a second preset virtual image for decorating the interface.
In one possible implementation, after the setting of the first avatar in the setting interface as a first preset avatar for prompting a reception of a communication message in response to a first setting instruction for the first avatar, the method further includes:
displaying an audio setting interface;
acquiring input audio through the audio setting interface to serve as preset prompting audio for prompting that a communication message is received; or,
and acquiring input audio through the audio setting interface, and editing the audio according to the detected editing operation to obtain preset prompting audio for prompting the received communication message.
In one possible implementation, after the setting of the first avatar in the setting interface as a first preset avatar for prompting a reception of a communication message in response to a first setting instruction for the first avatar, the method further includes:
displaying an address book and acquiring a user identifier selected from the address book;
and setting the user identification as a target user identification corresponding to the first preset virtual image.
In one possible implementation, the method further includes:
receiving a message notification sent by an operating system through a prompt application program, wherein the message notification is used for notifying that a communication message is received;
the displaying the first preset avatar in a suspended manner on a currently displayed interface includes: and displaying the first preset virtual image on a currently displayed interface in a suspension manner through the prompt application program.
In a possible implementation manner, before the application program is prompted to receive the message notification sent by the operating system, the method includes:
when the prompt function is detected to be started through the prompt application program, starting the floating display authority and the message notification authority of the prompt application program;
the floating display permission refers to permission for floating display on an upper layer of an interface, and the message notification permission refers to permission for prompting an application program to monitor message notifications sent by the operating system.
In another aspect, a message prompting apparatus is provided, the apparatus includes:
a message receiving module configured to receive a communication message;
the virtual image acquisition module is configured to acquire a first preset virtual image, and the first preset virtual image is used for prompting that a communication message is received;
and the avatar display module is configured to display the first preset avatar in a currently displayed interface in a floating manner.
In a possible implementation manner, the message receiving module is configured to receive a communication message of any application program;
the avatar display module is configured to display the first preset avatar in a floating manner on an application identifier of the application.
In a possible implementation manner, the avatar display module is configured to display the first preset avatar moving according to the moving trajectory in a floating manner on an upper layer of the interface.
In a possible implementation manner, the avatar display module is further configured to obtain a preset display position of the first preset avatar, and determine a movement track corresponding to the preset display position.
In one possible implementation, the first preset avatar includes a background avatar and a main body avatar, and the avatar display module is configured to display the main body avatar and the background avatar moving according to a moving trajectory in suspension on an upper layer of the interface.
In one possible implementation manner, the avatar display module is further configured to display a second preset avatar in a floating manner on the currently displayed interface; replacing the second preset avatar with the first preset avatar; wherein, the avatar is predetermine to the second with first avatar of predetermineeing is different avatar, perhaps the avatar is predetermine to the second with first avatar of predetermineeing belongs to different states under the same avatar.
In one possible implementation, the apparatus further includes:
the audio acquisition module is configured to acquire a preset prompting audio, and the preset prompting audio is used for prompting that a communication message is received;
the avatar display module is configured to display the first preset avatar in a floating manner on a currently displayed interface, and play the preset prompt audio.
In one possible implementation, the sender of the communication message is a target user identifier;
the avatar acquisition module is configured to acquire a first preset avatar corresponding to the target user identifier.
In one possible implementation, the apparatus further includes:
a setting interface display module configured to display a setting interface, the setting interface including at least one avatar;
and the avatar setting module is configured to respond to a first setting instruction of a first avatar in the setting interface, and set the first avatar as a first preset avatar for prompting the receiving of the communication message.
In one possible implementation, the avatar setting module is further configured to set a second avatar in the setting interface as a second preset avatar for decorating the interface in response to a second setting instruction for the second avatar.
In one possible implementation, the apparatus further includes:
an audio setting module configured to display an audio setting interface; acquiring input audio through the audio setting interface to serve as preset prompting audio for prompting that a communication message is received; or, the input audio is acquired through the audio setting interface, and the audio is edited according to the detected editing operation, so that a preset prompting audio for prompting the receiving of the communication message is obtained.
In one possible implementation, the apparatus further includes:
the user identifier setting module is configured to display an address list and acquire a user identifier selected from the address list; and setting the user identification as a target user identification corresponding to the first preset virtual image.
In one possible implementation, the apparatus further includes:
the message determining module is configured to receive a message notification sent by the operating system through the prompting application program, wherein the message notification is used for notifying that a communication message is received;
the avatar display module is configured to display the first preset avatar in a currently displayed interface in a floating manner through the prompt application program.
In one possible implementation, the apparatus includes:
the permission starting module is configured to start the floating display permission and the message notification permission of the prompt application program when the prompt function starting is detected through the prompt application program; the floating display permission refers to permission for floating display on an upper layer of an interface, and the message notification permission refers to permission for prompting an application program to monitor message notifications sent by the operating system.
In another aspect, a terminal is provided, where the terminal includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the operation performed in the message prompting method in any one of the above possible implementation manners.
In another aspect, a computer-readable storage medium is provided, where at least one instruction is stored in the computer-readable storage medium, and the instruction is loaded and executed by a processor to implement the operations performed in the message prompting method in any one of the above possible implementation manners.
In yet another aspect, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are loaded and executed by a processor to implement the operations performed in the message alert method of any one of the possible implementations described above.
The beneficial effects brought by the technical scheme provided by the embodiment of the application at least comprise:
the embodiment of the application provides a novel message prompt mode, can adopt the mode of suspension display avatar to carry out message prompt, when having guaranteed to receive communication message under the condition of showing arbitrary interface at present, all can the first avatar of predetermineeing of suspension display on the interface to the user learns the terminal through the first avatar of predetermineeing of suspension display and receives communication message, and this kind of message prompt mode is nimble interesting, has strengthened the prompt effect, has improved user's viscidity.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a message prompting method according to an embodiment of the present application;
fig. 3 is a flowchart of a message prompting method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a message prompt interface provided in an embodiment of the present application;
fig. 5 is a block diagram of a message prompt apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It will be understood that, as used herein, the terms "each," "plurality," and "either," and the like, include two or more, each referring to each of the corresponding plurality and any one referring to any one of the corresponding plurality. For example, the plurality of avatars includes 10 avatars, and each avatar refers to each of the 10 avatars, and any avatar refers to any one of the 10 avatars.
Fig. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Referring to fig. 1, the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a wireless or wired network. The terminal 101 is installed with a prompt application serviced by the server 102, through which the terminal 101 can implement functions such as data transmission, message interaction, etc. Optionally, the terminal 101 is a computer, a mobile phone, a tablet computer, or other terminal. Optionally, the prompting application is a prompting application in an operating system of the terminal 101, or a prompting application provided by a third party. Optionally, the prompting application has other functions besides the message prompting function, for example, an interface decoration function, an image and video editing function, an audio editing function, and the like, which is not limited in this application. Optionally, the server 102 is a backend server of the alert application or a cloud server providing services such as cloud computing and cloud storage.
The terminal 101 downloads the prompt application program from the server 102, and after the message prompt function is activated in the prompt application program, the message prompt can be performed on the user by using the message prompt method provided by the application. The message prompting method in the embodiment of the application can be applied to scenes for prompting any type of communication messages, such as scenes for prompting communication messages, such as short messages, instant communication messages, incoming requests and the like.
Fig. 2 is a flowchart of a message prompting method according to an embodiment of the present application. Referring to fig. 2, the execution subject of the method embodiment is a terminal. The embodiment comprises the following steps:
step 201: a communication message is received.
Step 202: and acquiring a first preset virtual image, wherein the first preset virtual image is used for prompting that a communication message is received.
Step 203: and displaying the first preset virtual image on the currently displayed interface in a floating manner.
The embodiment of the application provides a novel message prompt mode, can adopt the mode of suspension display avatar to carry out message prompt, when having guaranteed to receive communication message under the condition of showing arbitrary interface at present, all can the first avatar of predetermineeing of suspension display on the interface to the user learns the terminal through the first avatar of predetermineeing of suspension display and receives communication message, and this kind of message prompt mode is nimble interesting, has strengthened the prompt effect, has improved user's viscidity.
In one possible implementation, receiving a communication message includes: receiving a communication message of any application program;
displaying the first preset virtual image in a floating manner on a currently displayed interface, wherein the displaying process comprises the following steps:
and displaying the first preset virtual image on the application program identification of the application program in a floating manner.
In one possible implementation, the displaying the first preset avatar in a floating manner on the currently displayed interface includes:
and on the upper layer of the interface, displaying a first preset virtual image moving according to the moving track in a suspension manner.
In a possible implementation manner, before the first preset avatar moving according to the moving track is displayed in a floating manner on the upper layer of the interface, the method further includes:
and acquiring a preset display position of the first preset virtual image, and determining a movement track corresponding to the preset display position.
In one possible implementation manner, the first preset avatar includes a background avatar and a main avatar, and on an upper layer of the interface, the first preset avatar moving according to the moving trajectory is displayed in a floating manner, including:
and on the upper layer of the interface, displaying the main body virtual image and the background virtual image which moves according to the moving track in a suspending way.
In one possible implementation, before receiving the communication message, the method further includes: displaying a second preset virtual image in a floating manner on a currently displayed interface;
displaying the first preset virtual image in a floating manner on a currently displayed interface, wherein the displaying process comprises the following steps: replacing the second preset virtual image with the first preset virtual image;
the second preset virtual image and the first preset virtual image are different virtual images, or the second preset virtual image and the first preset virtual image belong to different states under the same virtual image.
In one possible implementation, after receiving the communication message, the method further includes: acquiring a preset prompting audio for prompting the receiving of the communication message;
displaying the first preset virtual image in a floating manner on a currently displayed interface, wherein the displaying process comprises the following steps:
and displaying the first preset virtual image on the currently displayed interface in a floating manner, and playing a preset prompt audio.
In one possible implementation, the sender of the communication message is a target user identifier; obtaining a first preset avatar, comprising:
and acquiring a first preset virtual image corresponding to the target user identifier.
In one possible implementation, before receiving the communication message, the method further includes:
displaying a setting interface, wherein the setting interface comprises at least one virtual image;
and responding to a first setting instruction of the first virtual image in the setting interface, and setting the first virtual image as a first preset virtual image for prompting the receiving of the communication message.
In one possible implementation, the method further includes:
and responding to a second setting instruction of a second virtual image in the setting interface, and setting the second virtual image as a second preset virtual image for decorating the interface.
In one possible implementation, after setting the first avatar as a first preset avatar for prompting receipt of the communication message in response to a first setting instruction for the first avatar in the setting interface, the method further includes:
displaying an audio setting interface;
acquiring input audio through an audio setting interface, wherein the audio is used as preset prompting audio for prompting that a communication message is received; or,
and acquiring input audio through an audio setting interface, and editing the audio according to the detected editing operation to obtain preset prompting audio for prompting the received communication message.
In one possible implementation, after setting the first avatar as a first preset avatar for prompting receipt of the communication message in response to a first setting instruction for the first avatar in the setting interface, the method further includes:
displaying the address list, and acquiring a user identifier selected from the address list;
and setting the user identification as a target user identification corresponding to the first preset virtual image.
In one possible implementation, the method further includes:
receiving a message notification sent by an operating system through a prompt application program, wherein the message notification is used for notifying that a communication message is received;
displaying the first preset virtual image in a floating manner on a currently displayed interface, wherein the displaying process comprises the following steps: and displaying the first preset virtual image on the currently displayed interface in a floating manner through a prompt application program.
In one possible implementation manner, before the application program is prompted to receive the message notification sent by the operating system, the method includes:
when the prompt application program detects that the prompt function is started, starting the floating display authority and the message notification authority of the prompt application program;
the floating display permission refers to permission for floating display on an upper layer of an interface, and the message notification permission refers to permission for prompting an application program to monitor message notifications sent by an operating system.
Fig. 3 is a flowchart of a message prompting method according to an embodiment of the present application. Referring to fig. 3, the execution subject of the method embodiment is a terminal. The embodiment comprises the following steps:
step 301: the terminal displays a setting interface, and the setting interface comprises at least one virtual image.
The avatar includes, in terms of the type of avatar, a cartoon character and an image of a real character, for example, the cartoon character is a cartoon character of a cat, a cartoon character of a person or other cartoon characters, and the image of the real character is an image of a real cat, an image of a real person or other images of real characters. The avatar includes a dynamic avatar and a static avatar in terms of the display effect of the avatar. From the source of the avatar, the avatar includes an avatar acquired from the server and an avatar acquired locally from the terminal. The avatar includes an original avatar not edited by the user and an avatar edited by the user, in terms of whether the avatar is edited by the user or not. From the viewpoint of the composition of the avatar, the avatar includes a background avatar and a body avatar, wherein the background avatar is the background of the body avatar, and the body avatar and the background avatar include any of the avatars described above.
The setting interface comprises a plurality of virtual images, a user can select a favorite virtual image from the plurality of virtual images and set the virtual image as the virtual image for prompting the received communication message, the personalized requirements of the user are met, and the user viscosity is improved.
Optionally, the setting interface further includes a description of the avatar, for example, a name of the avatar, an amount of resources required for obtaining the avatar, a method for performing message prompt through the avatar, a heat value of the avatar, a label of the avatar, and the like, where the label includes a dynamic avatar, a static avatar, a cartoon, an image of a real avatar, and the like, which is not limited in this application.
Optionally, the at least one avatar is displayed in the setting interface in a classified manner, for example, the setting interface includes two categories, the first category is a dynamic avatar, the second category is a static avatar, and the like, when the terminal detects a trigger operation on the first category, the at least one dynamic avatar is displayed on the setting interface, and when the terminal detects a trigger operation on the second category, the at least one static avatar is displayed on the setting interface. Optionally, the setting interface further includes other categories, for example, categories including star people, pets, animation images, and the like, and accordingly, when the terminal detects a trigger operation on the category "star people", an avatar of at least one star person is displayed in the setting interface, when a trigger operation on the category "pets" is detected, an avatar of at least one pet is displayed in the setting interface, and when a setting operation on the category "animation images" is detected, an avatar of at least one animation image is displayed in the setting interface. By displaying the avatars in a classification way in the setting interface, the user can find the favorite avatars quickly, and the operation efficiency of the terminal is improved.
Optionally, the setting interface is a setting interface of a prompt application installed on the terminal, and the prompt application is configured to prompt that a communication message is received when it is determined that the communication message is received. The terminal can log in the prompt application program based on a user identifier, where the user identifier is used to represent an identity of a user, and optionally, the user identifier is a user account, a mobile phone number, or the like.
Optionally, when the setting interface includes an avatar obtained from the server, the terminal displays the setting interface, and the step of setting the interface including at least one avatar includes: the terminal logs in the prompting application program based on the user identification, then sends the user identification to the server, the server obtains the virtual image recommended for the user according to the user identification, and sends the virtual image to the terminal, and the terminal displays the virtual image in the setting interface when displaying the setting interface.
Optionally, when the setting interface includes an avatar obtained locally from the terminal, the step includes: the terminal displays a local acquisition button in a setting interface, responds to the trigger operation of the local acquisition button, displays a local virtual image catalog of the terminal, acquires a virtual image selected from the virtual image catalog, and displays the selected virtual image in the setting interface. Wherein the avatar directory includes at least one of a video and an image.
Optionally, the terminal displays an avatar editing interface after acquiring an avatar selected from the avatar directory, detects an editing operation performed based on the avatar editing interface, edits the avatar according to the detected editing operation to obtain an edited avatar, and displays the edited avatar in the setting interface. For example, the editing operation includes cropping the avatar, adding material to the avatar, and the like, which is not limited in this application. Therefore, when the user sets the first preset virtual image, the user can freely select the virtual image and edit the virtual image according to the preference, and the personalized requirements of the user are met.
Step 302: the terminal responds to a first setting instruction of the first virtual image in the setting interface, and the first virtual image is set as a first preset virtual image for prompting the receiving of the communication message.
Optionally, the first avatar is any avatar in the settings interface. The first preset avatar is an avatar used by the terminal to prompt the user to receive a communication message when the terminal determines to receive the message.
In a possible implementation manner, after the user selects a favorite first avatar from the setting interface, a setting button below the first avatar is triggered, and the first avatar is set as a first preset avatar. Correspondingly, the steps comprise: the terminal displays a setting button corresponding to each virtual image in a button display area corresponding to each virtual image, detects the triggering operation of the setting button and sets the virtual image corresponding to the setting button as a first preset virtual image.
In another possible implementation manner, after the user selects a favorite first avatar from the setting interface, before setting a first preset avatar, the first avatar is triggered to view a display effect of the first avatar when the first avatar performs message prompting. Correspondingly, the steps comprise: the terminal responds to the triggering operation of the first virtual image in the setting interface, displays a preview interface, wherein the preview interface comprises a display mode and a setting button when the first virtual image carries out message prompt, and the terminal responds to the triggering operation of the setting button and sets the first virtual image as a first preset virtual image. So, the user can look over the effect of the first avatar of selection when carrying out the news suggestion earlier, then confirm whether to set up this first avatar as first preset avatar, the display effect when can guarantee that the first preset avatar of setting carries out the news suggestion is liked by the user, can improve user's viscidity, and, avoided the user to look over the display effect of this first preset avatar after having set up first preset avatar, the number of times that the user changed the setting has been reduced, thereby the operating efficiency at terminal has been improved.
In one possible implementation, step 302 further includes: and the terminal responds to a second setting instruction of a second virtual image in the setting interface and sets the second virtual image as a second preset virtual image for decorating the interface. Therefore, the user can freely set the virtual image for decorating the interface, the individual requirements of the user are met, and the user viscosity is improved.
Optionally, the second avatar is any avatar in the settings interface. The second preset avatar is an avatar displayed on the interface for decorating the interface before the terminal determines to receive the message.
In a possible implementation manner, after the user selects a favorite second avatar from the setting interface, a setting button below the second avatar is triggered, and the second avatar is set as a second preset avatar. Correspondingly, the step that the terminal responds to a second setting instruction of a second virtual image in the setting interface and sets the second virtual image as a second preset virtual image for decorating the interface comprises the following steps: the terminal displays a setting button corresponding to each virtual image in a button display area corresponding to each virtual image, the terminal detects a trigger operation on the setting button, a first setting button and a second setting button are displayed in a popped floating window, the first setting button is used for setting the virtual image into a first preset virtual image, the second setting button is used for setting the virtual image into a second preset virtual image, and the terminal detects a trigger operation on the second setting button, so that the virtual image corresponding to the setting button is set into the second preset virtual image. Or the terminal directly displays the first setting button and the second setting button corresponding to each avatar in the button display area corresponding to each avatar, and when the triggering operation of the second setting button is detected, the avatar corresponding to the second setting button is set as a second preset avatar.
Optionally, the terminal sets the second preset avatar and then sets the first preset avatar, or sets the first preset avatar and then sets the second preset avatar, which is not limited in this application.
Another point to be explained is that after the second avatar is set as the second preset avatar, the terminal suspends and displays the second preset avatar on the currently displayed interface. When the interface displayed by the terminal is changed and is switched from one interface to another interface, the second preset virtual image can still be kept in floating display.
Optionally, step 302 further comprises: and the terminal displays the address book, acquires the user identification selected from the address book, and sets the user identification as a target user identification corresponding to the first preset virtual image. That is, after the terminal sets the first preset avatar, the terminal also sets the user identifier corresponding to the first preset avatar.
Optionally, the step comprises: the terminal sets the first virtual image as a first preset virtual image used for prompting the receiving of the communication message, displays the address list in the setting interface, acquires the user identification selected from the address list, and sets the user identification as a target user identification corresponding to the first preset virtual image. That is, when receiving the communication message sent by the target user identifier, the first preset virtual image is adopted to prompt the message.
Optionally, the number of the user identifiers selected from the address list is one or more, when the number of the selected user identifiers is one, the terminal sets the one user identifier as a target user identifier corresponding to the first preset avatar, and when the number of the selected user identifiers is multiple, the plurality of user identifiers are set as target user identifiers corresponding to the first preset avatar.
It should be noted that the step of setting the first avatar as the first preset avatar by the terminal includes storing the first preset avatar, and the step of setting the selected user identifier as the target application identifier corresponding to the first preset avatar includes storing the target user identifier and the first preset avatar correspondingly.
Optionally, step 302 further comprises: and the terminal displays an audio setting interface, acquires the input audio through the audio setting interface and takes the audio as a preset prompting audio for prompting the received communication message. That is, after the terminal sets the first preset avatar, a preset prompt audio for prompting the received communication message is further set, and the terminal acquires the input audio through the audio setting interface, so that the user can freely select the input audio, and the audio freely selected by the user is used as the preset prompt audio for prompting the received communication message, thereby meeting the personalized requirements of the user and improving the user stickiness.
In one possible implementation, the preset cue audio is audio that is not edited by the user. Correspondingly, the terminal displays an audio setting interface, and acquires the input audio through the audio setting interface to serve as a preset prompting audio for prompting the received communication message. Optionally, the step comprises: the terminal displays an audio setting interface, the audio setting interface comprises at least one audio, and the terminal responds to the selection operation of any audio and sets the selected audio as a preset prompting audio. Optionally, the at least one audio included in the audio interface includes at least one of an audio acquired from a server, an audio acquired locally from a terminal, and a currently recorded audio, which is not limited in this application.
Optionally, the implementation manner of the terminal displaying the currently entered audio includes: the terminal displays an entry button in an audio setting interface, responds to the triggering operation of the entry button, collects the audio of a user, and displays the collected audio in the audio setting interface. Therefore, when the user sets the preset prompt audio, the audio acquired from the server or the terminal can be selected, the freely input audio can be selected, and the personalized requirements of the user are fully met.
In another possible implementation manner, the preset prompting audio is an audio edited by a user, and correspondingly, the terminal acquires the input audio through the audio setting interface, edits the audio according to the detected editing operation, and obtains the preset prompting audio for prompting the received communication message. Optionally, the step comprises: the terminal displays an audio setting interface, the audio setting interface comprises at least one audio, the terminal responds to the selection operation of any audio and displays an audio editing interface, the terminal detects the editing operation based on the audio editing interface and edits the audio according to the detected editing operation to obtain a preset prompting audio for prompting the received communication message. Optionally, the at least one audio included in the audio interface includes at least one of an audio acquired from a server, an audio acquired locally from a terminal, and a currently recorded audio, which is not limited in this application. In addition, the editing operation includes intercepting a part of the audio from the audio, changing a human voice in the audio, changing a rhythm of the audio, and the like, which is not limited in this application. Therefore, when the user sets the preset prompt audio, the user can freely select the audio and edit the audio according to the preference, and the personalized requirements of the user are further met.
In one possible implementation manner, the terminal displays an audio setting interface after setting the first preset avatar. At least one audio included in the audio setting interface is an audio matched with the first preset avatar. Optionally, the step comprises: the terminal sends a first preset virtual image to the server, the server acquires at least one audio matched with the first preset virtual image, the server sends the at least one audio to the terminal, and the terminal receives the at least one audio and displays the at least one audio in an audio setting interface. The server stores the corresponding relation between the virtual images and the audios matched with the virtual images in advance, each virtual image at least corresponds to one audio, and the server can acquire at least one audio matched with the first preset virtual image according to the corresponding relation between the virtual images and the audios.
For example, if the first preset avatar is a cartoon avatar of a cat, the audio matching the message alert avatar may include the sound of a cat call, music associated with the cat, or other audio matching the cartoon avatar of the cat. Through the audio frequency matched with the first preset virtual image displayed in the audio frequency setting interface, a user can conveniently set the preset prompting audio frequency matched with the first preset virtual image, so that message prompting is more flexible and interesting, and the viscosity of the user can be improved.
It should be noted that the setting of the first preset avatar is completed through the above steps 301 to 302, and then the terminal directly starts from step 303 when receiving the communication message without executing step 301 and 302. In addition, the user can also reset the first preset avatar, and the implementation manner is similar to that of step 301 and step 302, which is not described herein again.
Step 303: the terminal receives the communication message.
The communication message includes at least one of a short message, an instant communication message and an incoming call request, which is not limited in this application. Optionally, the terminal receives a communication message of any application program, which is not limited in this application.
In a possible implementation manner, after the terminal receives the communication message, the method further includes: and the terminal receives a message notification sent by the operating system through the prompt application program, wherein the message notification is used for notifying the receiving of the communication message.
It should be noted that the operating system has a function of monitoring communication messages of each application program on the terminal, and when monitoring the communication messages of each application program, the operating system sends a message notification to the prompting application program, where the message notification is used for notifying the application program that the terminal receives the communication messages.
In a possible implementation manner, before the terminal receives a message notification sent by an operating system by prompting an application program, the method includes: and when the terminal detects that the prompt function is started through the prompt application program, starting the floating display authority and the message notification authority of the prompt application program.
The floating display permission refers to permission for prompting an application program to perform floating display on an upper layer of an interface, and the message notification permission refers to permission for prompting the application program to monitor message notifications sent by an operating system.
Optionally, when the terminal detects that the prompt function is started through the prompt application, the terminal also starts a self-starting permission prompting the application. The self-starting permission is the permission for prompting the application program to start automatically when the terminal is started, and is used for ensuring that the prompting application program is in a state of monitoring a message notification sent by an operating system.
Optionally, the user starts a prompt function in the prompt application, and when the terminal detects that the prompt function is started, the terminal instructs the user to start the floating display permission, the message notification permission, and the self-starting permission of the prompt application through the prompt information.
The terminal starts the suspension display authority, the message notification authority and the self-starting authority, so that the prompt application program can receive the notification message sent by the operating system, and when the notification message is received, the message prompt is carried out on the user in a suspension display virtual image mode, the interestingness and flexibility of the message prompt are improved, and the prompt effect is enhanced.
Step 304: the terminal acquires a first preset virtual image, and the first preset virtual image is used for prompting that a communication message is received.
In a possible implementation manner, when the terminal sets the first preset avatar, the first preset avatar is stored locally in the terminal, and correspondingly, in this step, the terminal directly obtains the first preset avatar from the local.
Optionally, the sending party of the communication message is the target user identifier, and correspondingly, the terminal obtains the first preset avatar, including: the terminal acquires a first preset virtual image corresponding to the target user identification.
In a possible implementation manner, when setting a user identifier corresponding to a first preset avatar, the terminal stores the user identifier and the first preset avatar in a local area of the terminal, and correspondingly, in this step, the terminal obtains the first preset avatar corresponding to the target user identifier from a corresponding relationship between the locally stored user identifier and the first preset avatar.
In the embodiment of the application, the terminal sets the corresponding user identifier for the first preset avatar, and when the terminal determines to receive the communication message, the terminal acquires the first preset avatar corresponding to the target user identifier of the communication message, so that different first preset avatars can be displayed for the communication messages of different senders, the senders of the communication messages can be distinguished through the first preset avatar, the message prompting mode is more flexible, the prompting information amount is larger, and the prompting effect is enhanced.
Step 305: and the terminal displays the first preset virtual image on the currently displayed interface in a suspension manner.
Optionally, the terminal displays the first preset avatar in any position of the currently displayed interface in a floating manner, for example, in the middle of the interface, or in the upper right corner of the interface, which is not limited in this application.
Optionally, after the application program is prompted to start the floating display permission, the application program can float and display the first preset avatar on the currently displayed interface. Correspondingly, the terminal displays the first preset virtual image on the currently displayed interface in a suspension manner, and the method comprises the following steps: and the terminal displays the first preset virtual image on the currently displayed interface in a suspension manner through the prompt application program. The method is simple and easy to realize.
In a possible implementation manner, the display position of the first preset avatar is a default display position, and then the step includes: and the terminal displays the first preset virtual image in a suspension manner at the default display position of the currently displayed interface. The default display position includes any position of the interface, which is not limited in the present application.
In another possible implementation manner, when the terminal sets the first preset avatar, a preset display position of the first preset avatar is further to be set, and the preset display position and the first preset avatar are correspondingly stored, and correspondingly, the step includes: the terminal acquires a preset display position corresponding to the first preset virtual image, and the first preset virtual image is displayed on a current display interface in a suspension mode according to the preset display position.
The point to be described is that the first preset avatar is displayed in a floating manner on the currently displayed interface, so that on one hand, the user can be prompted remarkably, and on the other hand, when the current display position of the first preset avatar hinders the current operation of the user, the user can move the first preset avatar to other positions on the interface, so that the use of the user on the terminal is not influenced, the user experience is ensured, and the user stickiness is improved.
In a possible implementation manner, the step of displaying the first preset avatar in a floating manner on the currently displayed interface by the terminal includes: the terminal is arranged on the upper layer of the interface, and the first preset virtual image moving according to the moving track is displayed in a suspending mode. For example, if the first preset avatar is a small tortoise, the terminal displays a small tortoise on the upper layer of the interface in a floating manner. Therefore, when the user is reminded of receiving the communication message in a striking manner, the interestingness of message reminding is improved, the message reminding mode is more flexible, and the reminding effect is enhanced.
In one possible implementation manner, the first preset avatar includes a background avatar and a main avatar, the terminal is on an upper layer of the interface, and the suspended display of the first preset avatar moving according to the moving trajectory includes: the terminal is arranged on the upper layer of the interface and displays the main body virtual image and the background virtual image which moves according to the moving track in a suspending mode. For example, the background avatar is a spacecraft, the subject avatar is a alien person, the terminal displays the alien person and the spacecraft in suspension on the upper layer of the interface, and the spacecraft flies around the interface. Therefore, when the user is reminded of receiving the communication message in a striking manner, the interestingness of message reminding is improved, the message reminding mode is more flexible, and the reminding effect is enhanced.
In one possible implementation manner, the first preset avatar includes a background avatar and a main avatar, the terminal is on an upper layer of the interface, and the suspended display of the first preset avatar moving according to the moving trajectory includes: the terminal is arranged on the upper layer of the interface, and the background virtual image and the main body virtual image moving according to the moving track are displayed in a suspending mode. For example, if the background avatar is a nest and the subject avatar is a bird, the terminal displays the nest and the bird in a floating manner on the interface, and the bird flies around the interface. Therefore, when the user is reminded of receiving the communication message in a striking manner, the interestingness of message reminding is improved, the message reminding mode is more flexible, and the reminding effect is enhanced.
Optionally, before the terminal suspends and displays the first preset avatar moving according to the moving trajectory on the upper layer of the interface, the method further includes: the terminal obtains a preset display position of the first preset virtual image and determines a movement track corresponding to the preset display position. Therefore, the moving track of the first preset virtual image is ensured to be the moving track matched with the preset display position, the display effect of the first preset virtual image can be improved, and the message prompt effect is enhanced.
Optionally, the preset display position of the first preset avatar is a default display position, and correspondingly, the step of the terminal determining the movement track corresponding to the preset display position includes: and the terminal acquires a default moving track. The default display position comprises any position of the currently displayed interface, and the default movement track comprises any movement track. For example, the default display position is in the upper right corner of the interface, and the default movement trajectory is one revolution along the edge of the interface in the counterclockwise direction. The default display position and the default movement track are only exemplary, and the application is not limited thereto. In addition, the default display position is stored in the server or the terminal, which is not limited in this application.
Optionally, the preset display position of the first preset avatar is a display position set for the first preset avatar before the user, and correspondingly, the step of the terminal determining the movement track corresponding to the preset display position includes: the terminal sends the preset display position to the server, the server obtains a moving track corresponding to the preset display position from the corresponding relation between the display position and the moving track according to the preset display position, the moving track is sent to the terminal, and the terminal receives the moving track. Optionally, the time when the terminal sends the preset display position to the server is when the terminal sets the first preset avatar, or when the terminal receives the communication message, or other time, which is not limited in the present application.
The server presets a corresponding relationship between the display position and the movement track, for example, the display position is in a middle area of the interface, the movement track corresponding to the display position is a circle in the counterclockwise direction, and for example, the display position is in an upper left corner of the interface, and the movement track corresponding to the display position is a circle along the edge of the interface in the counterclockwise direction. The display position and the corresponding movement track in the correspondence relationship between the display position and the movement track are only exemplary illustrations, and the present application does not limit this.
In a possible implementation manner, the step of displaying the first preset avatar in a floating manner on the currently displayed interface by the terminal includes: the terminal displays the first preset virtual image on an application program identifier of an application program in a floating mode, wherein the application program is the application program for receiving the communication message. By displaying the first preset virtual image on the application program for receiving the communication message in a floating manner, the user can know the application program corresponding to the communication message through the display position of the first preset virtual image, the message prompting mode is more flexible, the prompting information amount is larger, and the prompting effect is enhanced.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a first preset avatar being displayed in a floating manner on an interface. The interface comprises a plurality of application program identifiers, the first preset virtual image is a bell image, the application program which receives the communication message at present is a short message application program, and the first preset virtual image (bell image) is displayed on the short message application program identifier.
It should be noted that, in the step 302, if the terminal sets the second preset avatar, after the second preset avatar is set, the terminal displays the second preset avatar in a floating manner on the currently displayed interface. Correspondingly, the terminal displays the first preset virtual image on the currently displayed interface in a suspension manner, and the method comprises the following steps: and the terminal replaces the second preset virtual image with the first preset virtual image.
Wherein, the second preset virtual image and the first preset virtual image are different virtual images. For example, the second preset avatar is a cat, the first preset avatar is a dog, the terminal displays the cat in a floating manner on the currently displayed interface when the terminal does not receive the communication message, and displays the dog in a floating manner on the currently displayed interface when the terminal receives the communication message, so that the function of prompting the user to receive the communication message is achieved.
Or the second preset virtual image and the first preset virtual image belong to different states under the same virtual image. For example, the second preset avatar is a cat sleeping on stomach, the first preset avatar is a cat standing up and stretching out of the waist, when the terminal does not receive the communication message, the cat sleeping on stomach is displayed in a suspension mode on the currently displayed interface, and when the communication message is received, the cat standing up and stretching out of the waist is displayed in a suspension mode on the currently displayed interface, so that the effect of prompting a user to receive the communication message is achieved.
In the embodiment of the application, no matter the second preset virtual image and the first preset virtual image are different virtual images or the second preset virtual image and the first preset virtual image belong to different states under the same virtual image, the second preset virtual image on the interface is replaced by the first preset virtual image, so that the user can be remarkably prompted to receive the communication message, the message prompting mode is more flexible and interesting, the prompting effect is enhanced, and the user viscosity is improved.
Optionally, the replacing the second preset avatar with the first preset avatar includes: and changing the second preset avatar into the first preset avatar, namely, not displaying the second preset avatar on the currently displayed interface in a floating manner, and displaying the first preset avatar on the currently displayed interface in a floating manner. Or, the step of replacing the second preset avatar with the first preset avatar comprises: and covering the first preset virtual image with the second preset virtual image.
In a possible implementation manner, in step 304, the terminal obtains a preset prompting audio in addition to the first preset avatar, and in step 305, the terminal displays the first preset avatar in a floating manner on the currently displayed interface and plays the preset prompting audio. Therefore, the first preset virtual image and the preset prompting audio are used for jointly prompting the message, namely, the prompting effect is achieved on the user visually and auditorily, the message prompting mode is more flexible, and the prompting effect is enhanced.
The implementation manner of the terminal acquiring the preset prompting audio is similar to the implementation manner of acquiring the first preset avatar, and details are not repeated here. In addition, the sequence of obtaining the first preset virtual image and obtaining the preset prompting audio is not limited.
The embodiment of the application provides a novel message prompt mode, can adopt the mode of suspension display avatar to carry out message prompt, when having guaranteed to receive communication message under the condition of showing arbitrary interface at present, all can the first avatar of predetermineeing of suspension display on the interface to the user learns the terminal through the first avatar of predetermineeing of suspension display and receives communication message, and this kind of message prompt mode is nimble interesting, has strengthened the prompt effect, has improved user's viscidity.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
Fig. 5 is a block diagram of a message prompt apparatus according to an embodiment of the present application. Referring to fig. 5, the apparatus includes:
a message receiving module 501 configured to receive a communication message;
an avatar acquisition module 502 configured to acquire a first preset avatar, the first preset avatar being used to prompt receipt of a communication message;
and an avatar display module 503 configured to hover and display the first preset avatar on the currently displayed interface.
In a possible implementation manner, the message receiving module 501 is configured to receive a communication message of any application program;
an avatar display module 503 configured to hover display the first preset avatar over an application identification of the application.
In one possible implementation manner, the avatar display module 503 is configured to display a first preset avatar moving according to the moving trajectory in a floating manner on the upper layer of the interface.
In one possible implementation manner, the avatar display module 503 is further configured to obtain a preset display position of the first preset avatar, and determine a movement track corresponding to the preset display position.
In one possible implementation, the first preset avatar includes a background avatar and a main avatar, and the avatar display module is configured to display the main avatar and the background avatar moving according to the moving trajectory in a floating manner on an upper layer of the interface.
In a possible implementation manner, the avatar display module 503 is further configured to display a second preset avatar in a floating manner on the currently displayed interface; replacing the second preset virtual image with the first preset virtual image; the second preset virtual image and the first preset virtual image are different virtual images, or the second preset virtual image and the first preset virtual image belong to different states under the same virtual image.
In one possible implementation, the apparatus further includes:
the audio acquisition module is configured to acquire a preset prompting audio, and the preset prompting audio is used for prompting that a communication message is received;
and an avatar display module 503 configured to hover and display the first preset avatar on the currently displayed interface and play a preset prompt audio.
In one possible implementation, the sender of the communication message is a target user identifier;
the avatar acquisition module 502 is configured to acquire a first preset avatar corresponding to the target user identifier.
In one possible implementation, the apparatus further includes:
a setting interface display module configured to display a setting interface, the setting interface including at least one avatar;
and the avatar setting module is configured to respond to a first setting instruction of the first avatar in the setting interface, and set the first avatar as a first preset avatar for prompting the receiving of the communication message.
In one possible implementation, the avatar setting module is further configured to set a second avatar as a second preset avatar for decorating the interface in response to a second setting instruction for the second avatar in the setting interface.
In one possible implementation, the apparatus further includes:
an audio setting module configured to display an audio setting interface; acquiring input audio through an audio setting interface, wherein the audio is used as preset prompting audio for prompting that a communication message is received; or, the input audio is acquired through the audio setting interface, and the audio is edited according to the detected editing operation, so that a preset prompting audio for prompting the receiving of the communication message is obtained.
In one possible implementation, the apparatus further includes:
the user identifier setting module is configured to display the address list and acquire the user identifier selected from the address list; and setting the user identification as a target user identification corresponding to the first preset virtual image.
In one possible implementation, the apparatus further includes:
the message determining module is configured to receive a message notification sent by the operating system through the prompting application program, wherein the message notification is used for notifying that a communication message is received;
and an avatar display module 503 configured to hover and display the first preset avatar on the currently displayed interface through the prompt application.
In one possible implementation, an apparatus includes:
the permission starting module is configured to start the floating display permission and the message notification permission of the prompt application program when the prompt function starting is detected through the prompt application program; the floating display permission refers to permission for floating display on an upper layer of an interface, and the message notification permission refers to permission for prompting an application program to monitor message notifications sent by an operating system.
The embodiment of the application provides a novel message prompt mode, can adopt the mode of suspension display avatar to carry out message prompt, when having guaranteed to receive communication message under the condition of showing arbitrary interface at present, all can the first avatar of predetermineeing of suspension display on the interface to the user learns the terminal through the first avatar of predetermineeing of suspension display and receives communication message, and this kind of message prompt mode is nimble interesting, has strengthened the prompt effect, has improved user's viscidity.
It should be noted that: in the message prompting device provided in the above embodiment, only the division of the above functional modules is taken as an example for message prompting, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the above described functions. In addition, the message prompting device and the message prompting method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
Fig. 6 shows a block diagram of a terminal 600 according to an exemplary embodiment of the present application. The terminal 600 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer iv, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The terminal 600 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, the terminal 600 includes: a processor 601 and a memory 602.
The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 601 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 602 is used to store at least one instruction for execution by processor 601 to implement the message alert method provided by method embodiments herein.
In some embodiments, the terminal 600 may further optionally include: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 604, a display 605, a camera assembly 606, an audio circuit 607, a positioning component 608, and a power supply 609.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 604 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 604 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 604 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 604 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 604 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 604 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display 605 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 605 is a touch display screen, the display screen 605 also has the ability to capture touch signals on or over the surface of the display screen 605. The touch signal may be input to the processor 601 as a control signal for processing. At this point, the display 605 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 605 may be one, providing the front panel of the terminal 600; in other embodiments, the display 605 may be at least two, respectively disposed on different surfaces of the terminal 600 or in a folded design; in other embodiments, the display 605 may be a flexible display disposed on a curved surface or a folded surface of the terminal 600. Even more, the display 605 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 605 may be made of LCD (liquid crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera assembly 606 is used to capture images or video. Optionally, camera assembly 606 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 606 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 607 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 601 for processing or inputting the electric signals to the radio frequency circuit 604 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 600. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 601 or the radio frequency circuit 604 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 607 may also include a headphone jack.
The positioning component 608 is used to locate the current geographic location of the terminal 600 to implement navigation or LBS (location based Service). The positioning component 608 can be a positioning component based on the GPS (global positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 609 is used to provide power to the various components in terminal 600. The power supply 609 may be ac, dc, disposable or rechargeable. When the power supply 609 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 600 also includes one or more sensors 610. The one or more sensors 610 include, but are not limited to: acceleration sensor 611, gyro sensor 612, pressure sensor 613, fingerprint sensor 614, optical sensor 616 and proximity sensor 616.
The acceleration sensor 611 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 600. For example, the acceleration sensor 611 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 601 may control the display screen 605 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 611. The acceleration sensor 611 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 612 may detect a body direction and a rotation angle of the terminal 600, and the gyro sensor 612 and the acceleration sensor 611 may cooperate to acquire a 3D motion of the user on the terminal 600. The processor 601 may implement the following functions according to the data collected by the gyro sensor 612: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 613 may be disposed on the side bezel of terminal 600 and/or underneath display screen 605. When the pressure sensor 613 is disposed on the side frame of the terminal 600, a user's holding signal of the terminal 600 can be detected, and the processor 601 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 613. When the pressure sensor 613 is disposed at the lower layer of the display screen 605, the processor 601 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 605. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 614 is used for collecting a fingerprint of a user, and the processor 601 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 614, or the fingerprint sensor 614 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 601 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 614 may be disposed on the front, back, or side of the terminal 600. When a physical button or vendor Logo is provided on the terminal 600, the fingerprint sensor 614 may be integrated with the physical button or vendor Logo.
The optical sensor 615 is used to collect the ambient light intensity. In one embodiment, processor 601 may control the display brightness of display screen 605 based on the ambient light intensity collected by optical sensor 615. Specifically, when the ambient light intensity is high, the display brightness of the display screen 605 is increased; when the ambient light intensity is low, the display brightness of the display screen 605 is adjusted down. In another embodiment, the processor 601 may also dynamically adjust the shooting parameters of the camera assembly 606 according to the ambient light intensity collected by the optical sensor 615.
A proximity sensor 616, also known as a distance sensor, is typically disposed on the front panel of the terminal 600. The proximity sensor 616 is used to collect the distance between the user and the front surface of the terminal 600. In one embodiment, when proximity sensor 616 detects that the distance between the user and the front face of terminal 600 gradually decreases, processor 601 controls display 605 to switch from the bright screen state to the dark screen state; when the proximity sensor 616 detects that the distance between the user and the front face of the terminal 600 is gradually increased, the processor 601 controls the display 605 to switch from the breath-screen state to the bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 6 is not intended to be limiting of terminal 600 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
Fig. 7 is a schematic structural diagram of a server 700 according to an embodiment of the present application, where the server 700 may generate a relatively large difference due to a difference in configuration or performance, and may include one or more processors (CPUs) 701 and one or more memories 702, where at least one instruction is stored in the memory 702, and the at least one instruction is loaded and executed by the processor 701 to implement the message prompting method provided by each method embodiment. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
The embodiment of the present application further provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor, so as to implement the operation executed in the message prompting method according to the above embodiment.
The embodiment of the present application further provides a computer-readable storage medium, where at least one instruction is stored in the computer-readable storage medium, and the at least one instruction is loaded and executed by a processor, so as to implement the operations executed in the message prompting method of the foregoing embodiment.
Embodiments of the present application also provide a computer program product or a computer program comprising computer instructions stored in a computer-readable storage medium. The computer instructions are loaded and executed by a processor to implement the operations performed in the message alert method of the above-described embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (17)

1. A method for message prompting, the method comprising:
receiving a communication message;
acquiring a first preset virtual image, wherein the first preset virtual image is used for prompting that a communication message is received;
and displaying the first preset virtual image on a currently displayed interface in a suspension manner.
2. The method of claim 1, wherein receiving the communication message comprises: receiving a communication message of any application program;
the displaying the first preset avatar in a suspended manner on a currently displayed interface includes:
and displaying the first preset virtual image on an application program identifier of the application program in a floating manner.
3. The method of claim 1, wherein said hovering the first preset avatar over a currently displayed interface comprises:
and displaying the first preset virtual image moving according to the moving track in a suspended manner on the upper layer of the interface.
4. The method according to claim 3, wherein before the first preset avatar moving according to the moving trajectory is displayed in a floating manner on the upper layer of the interface, the method further comprises:
and acquiring a preset display position of the first preset virtual image, and determining a movement track corresponding to the preset display position.
5. The method of claim 3, wherein the first preset avatar includes a background avatar and a body avatar, and the first preset avatar moving according to a moving trajectory is displayed in a floating manner on an upper layer of the interface, including:
and displaying the main body virtual image and the background virtual image moving according to the moving track in a suspended manner on the upper layer of the interface.
6. The method of claim 1, wherein prior to said receiving a communication message, the method further comprises: displaying a second preset virtual image in a floating manner on a currently displayed interface;
the displaying the first preset avatar in a suspended manner on a currently displayed interface includes: replacing the second preset avatar with the first preset avatar;
wherein, the avatar is predetermine to the second with first avatar of predetermineeing is different avatar, perhaps the avatar is predetermine to the second with first avatar of predetermineeing belongs to different states under the same avatar.
7. The method of claim 1, wherein after receiving the communication message, the method further comprises: acquiring a preset prompting audio, wherein the preset prompting audio is used for prompting that a communication message is received;
the displaying the first preset avatar in a suspended manner on a currently displayed interface includes:
and displaying the first preset virtual image on a currently displayed interface in a suspending way, and playing the preset prompt audio.
8. The method of claim 1, wherein the sender of the communication message is a target subscriber identity; the acquiring of the first preset avatar includes:
and acquiring a first preset virtual image corresponding to the target user identifier.
9. The method of claim 1, wherein prior to said receiving a communication message, the method further comprises:
displaying a setting interface, wherein the setting interface comprises at least one virtual image;
and responding to a first setting instruction of a first virtual image in the setting interface, and setting the first virtual image as a first preset virtual image for prompting the receiving of the communication message.
10. The method of claim 9, further comprising:
and responding to a second setting instruction of a second virtual image in the setting interface, and setting the second virtual image as a second preset virtual image for decorating the interface.
11. The method of claim 9, wherein after setting the first avatar to a first preset avatar for prompting receipt of a communication message in response to a first setting instruction for the first avatar in the setting interface, the method further comprises:
displaying an audio setting interface;
acquiring input audio through the audio setting interface to serve as preset prompting audio for prompting that a communication message is received; or,
and acquiring input audio through the audio setting interface, and editing the audio according to the detected editing operation to obtain preset prompting audio for prompting the received communication message.
12. The method of claim 9, wherein after setting the first avatar to a first preset avatar for prompting receipt of a communication message in response to a first setting instruction for the first avatar in the setting interface, the method further comprises:
displaying an address book and acquiring a user identifier selected from the address book;
and setting the user identification as a target user identification corresponding to the first preset virtual image.
13. The method of claim 1, further comprising:
receiving a message notification sent by an operating system through a prompt application program, wherein the message notification is used for notifying that a communication message is received;
the displaying the first preset avatar in a suspended manner on a currently displayed interface includes: and displaying the first preset virtual image on a currently displayed interface in a suspension manner through the prompt application program.
14. The method of claim 13, wherein prior to receiving the message notification sent by the operating system by prompting the application, the method comprises:
when the prompt function is detected to be started through the prompt application program, starting the floating display authority and the message notification authority of the prompt application program;
the floating display permission refers to permission for floating display on an upper layer of an interface, and the message notification permission refers to permission for prompting an application program to monitor message notifications sent by the operating system.
15. A message prompting apparatus, the apparatus comprising:
a message receiving module configured to receive a communication message;
the virtual image acquisition module is configured to acquire a first preset virtual image, and the first preset virtual image is used for prompting that a communication message is received;
and the avatar display module is configured to display the first preset avatar in a currently displayed interface in a floating manner.
16. A terminal, comprising a processor and a memory, wherein at least one instruction is stored in the memory, and wherein the instruction is loaded and executed by the processor to implement the operations performed by the message alert method according to any one of claims 1 to 14.
17. A computer-readable storage medium having stored therein at least one instruction which is loaded and executed by a processor to perform operations performed by the message alert method of any one of claims 1 to 14.
CN202010719308.7A 2020-07-23 2020-07-23 Message prompting method, device, terminal and storage medium Active CN111884913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010719308.7A CN111884913B (en) 2020-07-23 2020-07-23 Message prompting method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010719308.7A CN111884913B (en) 2020-07-23 2020-07-23 Message prompting method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN111884913A true CN111884913A (en) 2020-11-03
CN111884913B CN111884913B (en) 2023-05-23

Family

ID=73155418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010719308.7A Active CN111884913B (en) 2020-07-23 2020-07-23 Message prompting method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111884913B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325983A (en) * 2021-06-30 2021-08-31 广州酷狗计算机科技有限公司 Virtual image processing method, device, terminal and storage medium
CN116170533A (en) * 2022-12-27 2023-05-26 维沃移动通信有限公司 Message reminding method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634199A (en) * 2013-08-26 2014-03-12 华为技术有限公司 Notification message display method and notification message display device
CN105095345A (en) * 2015-05-29 2015-11-25 小米科技有限责任公司 Method and device for prompting push message
CN105404446A (en) * 2015-12-11 2016-03-16 魅族科技(中国)有限公司 Information reminding method and terminal
CN106534526A (en) * 2016-11-07 2017-03-22 珠海市魅族科技有限公司 Prompting method and device for suspension notice
CN110769120A (en) * 2019-10-22 2020-02-07 广州华多网络科技有限公司 Method, device, equipment and storage medium for message reminding

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634199A (en) * 2013-08-26 2014-03-12 华为技术有限公司 Notification message display method and notification message display device
CN105095345A (en) * 2015-05-29 2015-11-25 小米科技有限责任公司 Method and device for prompting push message
CN105404446A (en) * 2015-12-11 2016-03-16 魅族科技(中国)有限公司 Information reminding method and terminal
CN106534526A (en) * 2016-11-07 2017-03-22 珠海市魅族科技有限公司 Prompting method and device for suspension notice
CN110769120A (en) * 2019-10-22 2020-02-07 广州华多网络科技有限公司 Method, device, equipment and storage medium for message reminding

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325983A (en) * 2021-06-30 2021-08-31 广州酷狗计算机科技有限公司 Virtual image processing method, device, terminal and storage medium
CN113325983B (en) * 2021-06-30 2024-09-06 广州酷狗计算机科技有限公司 Virtual image processing method, device, terminal and storage medium
CN116170533A (en) * 2022-12-27 2023-05-26 维沃移动通信有限公司 Message reminding method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN111884913B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
CN110971930B (en) Live virtual image broadcasting method, device, terminal and storage medium
CN112947823B (en) Session processing method, device, equipment and storage medium
CN109982102B (en) Interface display method and system for live broadcast room, live broadcast server and anchor terminal
CN110278464B (en) Method and device for displaying list
CN109451343A (en) Video sharing method, apparatus, terminal and storage medium
CN110740340B (en) Video live broadcast method and device and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN112751679B (en) Instant messaging message processing method, terminal and server
CN112118477B (en) Virtual gift display method, device, equipment and storage medium
CN113325983B (en) Virtual image processing method, device, terminal and storage medium
CN111355974A (en) Method, apparatus, system, device and storage medium for virtual gift giving processing
CN110533585B (en) Image face changing method, device, system, equipment and storage medium
CN112181572A (en) Interactive special effect display method and device, terminal and storage medium
CN110147503B (en) Information issuing method and device, computer equipment and storage medium
CN107896337B (en) Information popularization method and device and storage medium
CN113613028B (en) Live broadcast data processing method, device, terminal, server and storage medium
CN110769120A (en) Method, device, equipment and storage medium for message reminding
CN108579075B (en) Operation request response method, device, storage medium and system
CN111884913B (en) Message prompting method, device, terminal and storage medium
CN113485596B (en) Virtual model processing method and device, electronic equipment and storage medium
CN110493448A (en) Communication message processing method, device and storage medium
CN111064657B (en) Method, device and system for grouping concerned accounts
CN112419143A (en) Image processing method, special effect parameter setting method, device, equipment and medium
CN112118353A (en) Information display method, device, terminal and computer readable storage medium
CN110933454A (en) Method, device, equipment and storage medium for processing live broadcast budding gift

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant