WO2021057224A1 - 消息提示方法及终端设备 - Google Patents

消息提示方法及终端设备 Download PDF

Info

Publication number
WO2021057224A1
WO2021057224A1 PCT/CN2020/103824 CN2020103824W WO2021057224A1 WO 2021057224 A1 WO2021057224 A1 WO 2021057224A1 CN 2020103824 W CN2020103824 W CN 2020103824W WO 2021057224 A1 WO2021057224 A1 WO 2021057224A1
Authority
WO
WIPO (PCT)
Prior art keywords
target user
user
target
display
input
Prior art date
Application number
PCT/CN2020/103824
Other languages
English (en)
French (fr)
Inventor
黄静
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021057224A1 publication Critical patent/WO2021057224A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. SMS or e-mail
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Definitions

  • the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a message prompt method and terminal equipment.
  • the terminal device After the application of the terminal device receives the message, if the user does not read the message in time, the terminal device usually displays a red circular logo near the icon of the application, and superimposes one on the red circular logo. digital. In this way, the user can determine the number of unread messages of the application based on the number.
  • unread messages such as messages from non-important contacts, article push messages, or advertising messages
  • they will still be identified by numbers according to the above method, but these unread messages may not be important to the user, which will affect the user
  • the normal use of terminal equipment results in a lower level of intelligence in the traditional way of prompting unread messages.
  • the embodiments of the present disclosure provide a message prompting method and terminal device, so as to solve the problem that the traditional way of prompting unread messages is low in intelligence.
  • the embodiments of the present disclosure provide a message prompt method.
  • the method includes: receiving a message sent by a target user through a target application; displaying the identity of the target user; wherein the display area of the target user’s identity coincides with the display area of the target application, or the target user’s identity is The distance between the display area and the display area of the target application is less than or equal to a preset value; the identifier of the target user includes at least one of the following: the avatar of the target user, and the name of the target user.
  • the embodiments of the present disclosure provide a terminal device.
  • the terminal device includes a receiving module and a display module.
  • the receiving module is used to receive the message sent by the target user through the target application;
  • the display module is used to display the identification of the target user; wherein the display area of the identification of the target user overlaps the display area of the target application, or,
  • the distance between the display area of the target user's identifier and the display area of the target application is less than or equal to a preset value;
  • the target user's identifier includes at least one of the following: an avatar of the target user, and a name of the target user.
  • embodiments of the present disclosure provide a terminal device, including a processor, a memory, and a computer program stored on the memory and running on the processor.
  • the computer program is executed by the processor to achieve the first The steps of the message prompt method provided by the aspect.
  • embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the message prompting method provided in the first aspect are implemented.
  • the message sent by the target user may be received through the target application; and the target user's identification may be displayed; wherein, the display area of the target user's identification overlaps with the display area of the target application, or the The distance between the display area of the target user's identifier and the display area of the target application is less than or equal to a preset value; the target user's identifier includes at least one of the following: an avatar of the target user, and a name of the target user.
  • the display area equal to the preset value displays the identification of the target user, such as the avatar of the target user and the name of the target user, which can remind the user that the target application has received a message from the target user. That is, the embodiments of the present disclosure are more intelligent in prompting unread messages.
  • FIG. 1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present disclosure
  • FIG. 2 is one of the schematic diagrams of a message prompt method provided by an embodiment of the disclosure
  • FIG. 3 is a schematic diagram of a terminal device provided by an embodiment of the disclosure displaying the identification of a target user
  • FIG. 4 is a schematic diagram of adding a user's identity provided by an embodiment of the disclosure.
  • FIG. 5 is a schematic diagram of a terminal device provided by an embodiment of the disclosure scrolling and displaying a user's identity
  • FIG. 6 is a schematic diagram of a terminal device list display application identifier provided by an embodiment of the disclosure.
  • FIG. 7 is one of the schematic diagrams of displaying a chat interface on a terminal device according to an embodiment of the present disclosure.
  • FIG. 8 is the second schematic diagram of displaying a chat interface on a terminal device according to an embodiment of the present disclosure.
  • FIG. 9 is the third schematic diagram of displaying a chat interface on a terminal device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of the disclosure.
  • FIG. 11 is a schematic diagram of hardware of a terminal device provided by an embodiment of the disclosure.
  • first and second in the specification and claims of the present disclosure are used to distinguish different objects, rather than describing a specific order of objects.
  • first input and the second input are used to distinguish different inputs, rather than to describe a specific order of input.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present disclosure should not be construed as being more advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • plural means two or more than two, for example, a plurality of elements means two or more elements, and so on.
  • the embodiments of the present disclosure provide a message prompt method and terminal device, which can receive a message sent by a target user through a target application; and display the target user's identity; wherein the display area of the target user's identity is the same as that of the target application.
  • the display area equal to the preset value displays the identification of the target user, such as the avatar of the target user and the name of the target user, which can remind the user that the target application has received a message from the target user. That is, the embodiments of the present disclosure are more intelligent in prompting unread messages.
  • the terminal device in the embodiment of the present disclosure may be a terminal device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present disclosure.
  • FIG. 1 it is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the present disclosure.
  • the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop software programs that implement the message prompt method provided by the embodiments of the present disclosure based on the system architecture of the Android operating system as shown in FIG.
  • the prompt method can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal device can implement the message prompt method provided by the embodiment of the present disclosure by running the software program in the Android operating system.
  • the terminal device in the embodiment of the present disclosure may be a mobile terminal device or a non-mobile terminal device.
  • the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). Assistant, PDA), etc.
  • the non-mobile terminal device may be a personal computer (PC), television (television, TV), teller machine, or self-service machine, etc., which are not specifically limited in the embodiment of the present disclosure.
  • the execution subject of the message prompt method provided in the embodiments of the present disclosure may be the above-mentioned terminal device, or may be a functional module and/or functional entity in the terminal device that can implement the message prompt method, which can be specifically determined according to actual usage requirements.
  • the embodiments of the present disclosure are not limited. The following takes a terminal device as an example to illustrate the message prompt method provided by the embodiment of the present disclosure.
  • an embodiment of the present disclosure provides a message prompt method.
  • This method can be applied to terminal equipment.
  • the method may include the following S101 and S102.
  • the terminal device receives the message sent by the target user through the target application.
  • the above-mentioned "receiving a message sent by the target user through the target application” means that the terminal device receives an unread message from the target user through the target application in the terminal device, and the message is still In the unread state, that is, the user has not viewed the unread message.
  • the embodiments of the present disclosure are exemplified by taking any application program in which the target application program is a terminal device as an example. It can be understood that if multiple applications of the terminal device respectively receive unread messages sent from multiple preset users, the terminal device may display the identification of the preset user in the preset area of each application.
  • the aforementioned target application may be an application capable of receiving messages sent by other devices.
  • the target application may be a social application, a short message application, a payment application, or other possible applications, etc., which is not limited in the embodiment of the present disclosure.
  • the above-mentioned message sent by the target user may be a chat message, a short message message, a notification message, a push message, a subscription message, or other possible unread messages, etc., which are not limited in the embodiment of the present disclosure.
  • the aforementioned target user is a user among M preset users.
  • M is a positive integer.
  • each of the M preset users can be obtained through the following method one or two:
  • FIG. 3 is a schematic diagram of a user adding a user's identity according to an embodiment of the present disclosure.
  • the user using the terminal device can enter the name of the user to be added in the search box, for example, "Minister”. If the terminal device searches for "Minister”, the user can click the add button 00, so that the terminal device can set the "Minister” as the preset user.
  • the preset users that the user can set can be "Minister" 02, "Group Leader” 03, and "Zhang*" 01.
  • the aforementioned user history data is stored in the terminal device.
  • Table 1 is a correspondence table of the time threshold, the data volume threshold, and the conclusion provided by the embodiments of the present disclosure.
  • the time threshold is represented by T
  • the data threshold is represented by S
  • the time of actually using data is represented by Tx
  • the amount of data actually used is represented by Sx.
  • an optional implementation manner is that the M preset users may all be set by users who use the terminal device; another optional implementation manner is that the M preset users may all be set according to the terminal The user history data in the device is set; yet another optional implementation is that some of the M preset users are set for users who use the terminal device, and another part of the M preset users is preset The user is set based on the user's historical data in the terminal device. It can be determined according to actual use requirements, and the embodiments of the present disclosure are not limited.
  • the terminal device displays the identity of the target user.
  • the display area of the target user's logo overlaps with the display area of the target application, or the distance between the display area of the target user's logo and the display area of the target application is less than or equal to a preset value.
  • the identification of the target user may include at least one of the following: the avatar of the target user, and the name of the target user.
  • the display area of the target user's logo overlaps with the display area of the target application may mean that the display area of the target user's logo overlaps with the display area of the target application's icon.
  • the aforementioned “distance between the display area of the target user's logo and the display area of the target application is less than or equal to a preset value” may refer to the distance between the display area of the target user's logo and the display area of the icon of the target application. Less than or equal to the preset value.
  • the above-mentioned identifier of the target user may be used to indicate that the unread message sent by the target user is received through the target application.
  • the identifier of the target user may be superimposed and displayed in a preset area of the icon of the target application with a preset transparency.
  • the preset transparency can be any value between 0% and 100%.
  • the display area of the target user's identifier may specifically be any of the following: inside the frame of the target application icon, the edge position of the target application icon, and a preset distance from the target application icon.
  • the edge position can be any one of the following: the position of any frame of the icon of the target application, or the target application The intersection of two adjacent borders in the icon of.
  • the terminal device when the screen of the terminal device is in a locked state, if the user wants to use the terminal device, the user can slide his finger on the screen. After the terminal device receives the user's sliding track, if the sliding track is the same as the preset sliding track, as shown in Figure 4 (b), the terminal device can unlock the screen and display "App 11" on the desktop interface Icon, and the avatar 01 of "Zhang*" is displayed at the corner of the icon of "App 11".
  • the embodiment of the present disclosure provides a message prompting method.
  • the terminal device displays the target user's identity in the display area of the target application, or when the target user is at a distance from the target user.
  • the display area of the application program whose display area is less than or equal to the preset value displays the identification of the target user, such as the avatar of the target user and the name of the target user, which can remind the user that the target application receives a message from the target user. That is, the embodiments of the present disclosure are more intelligent in prompting unread messages.
  • the message prompt method provided in the embodiment of the present disclosure may further include the following S103.
  • the above S102 can be specifically implemented by the following S102A.
  • the terminal device receives the first input.
  • the first input may be touch input, key input, voice input, gesture input, or gravity input.
  • the first input can be obtained in any of the following scenarios:
  • Scenario 1 When the screen of the terminal device is in the locked state, the terminal device receives the first input of the user. Among them, the first input can be used to trigger the terminal device to unlock the screen and display the target interface.
  • the target interface may be a desktop interface of a terminal device, an application program interface, or other possible interfaces, etc.
  • the target interface is the desktop interface of the terminal device.
  • the screen of the terminal device is in the locked screen state, if the user wants to use the terminal device, the user can trigger the terminal device to unlock the screen and display the desktop interface through the first input.
  • the desktop interface may include icons of multiple applications, and the icons of the multiple applications may include icons of the target application.
  • Scenario 2 When the screen of the terminal device is in the unlocked state and the first interface is displayed, the terminal device receives the first input of the user. The first input can be used to trigger the terminal device to switch the first interface to the second interface.
  • the first interface may be a desktop interface of the terminal device, and the second interface may be another desktop interface of the terminal device; or, the first interface may be a desktop interface of the terminal device, and the second interface may be an application Program interface; or, the first interface can be an application interface, and the second interface can be a desktop interface of a terminal device; or, the first interface can be an application interface, and the second interface can be another application The interface of the program. It can be determined according to actual use requirements, and the embodiments of the present disclosure are not limited.
  • the first interface may be a desktop interface of the terminal device
  • the second interface may be another desktop interface of the terminal device.
  • the desktop interface B may include icons of multiple applications, and the icons of the multiple applications may include icons of the target application.
  • the terminal device displays the identification of the target user in the display area of the target application, or displays the identification of the target user in a display area that is less than or equal to a preset value from the display area of the target application.
  • the terminal device may directly display the identification of the target user in response to the first input. If the icon of the target application is not displayed on the screen of the terminal device when receiving the first input, the terminal device may display the icon of the target application in response to the first input and display the identification of the target user. It can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the terminal device when the terminal device receives an unread message sent by the target user, through the user's first input, the terminal device can be triggered to display the target user's identity, so that the user can target the application program Received unread messages from important users.
  • the terminal device may display The ID of the user.
  • the above S102 can be specifically implemented by the following S102B.
  • the terminal device updates and displays the user identification every target duration.
  • the identifier of a user can be used to indicate that the target application program has received an unread message sent by a preset user.
  • the at least two preset users include the target user.
  • M is an integer greater than or equal to 2.
  • the aforementioned "terminal device updates and displays the user's identity every target time period” may include: the terminal device updates the user's identity displayed in the display area of the target application every target time period; or, the terminal The device updates the user's identity displayed in the display area that is less than or equal to the preset value from the display area of the target application every target duration.
  • the aforementioned target duration may be set by the user or preset by the terminal device.
  • the embodiment of the present disclosure does not limit the value of the target duration, and may be determined according to actual usage requirements.
  • the identification of the user first displayed on the terminal device may be any of the following: the identification of the user from which the message received by the target application is the latest, the identification of a user selected by the user from M preset users, and the terminal The device selects an identifier of a user from M preset users according to preset conditions.
  • the terminal device may display the user's identities in any of the following order: preset sequence for sending unread messages by the user, display priority of the user's identity set by the user, and display priority of the user's identity set by the terminal device.
  • the description will be made by taking the terminal device displaying according to the display priority of the user identifier set by the user as an example. Assume that the priorities of the M preset users are "Minister”, “Group Leader”, “Zhang*” and “Li*” in descending order. If the terminal device successively receives the unread messages sent by "Zhang*", "Minister” and “Group Leader”, then in the case that the terminal device receives the user's first input, as shown in (a) in Figure 5 As shown, in response to the first input, the terminal device can display the avatar 02 of "Minister” at the corner of "Application 11". After the time interval T1 in which the avatar 02 of "Minister” is displayed, as shown in (b) in FIG.
  • the terminal device may update and display the avatar 02 of "Minister” to the avatar 03 of "Group leader". After the time interval T1 in which the avatar 03 of the "group leader” is displayed, as shown in (c) in FIG. 5, the terminal device may update and display the avatar 03 of the "group leader” to the avatar 01 of "Zhang*".
  • the description will be given by taking the terminal device displaying the unread messages according to the preset sequence in which the user sends unread messages as an example. If the terminal device successively receives unread messages sent by "Zhang*", "Minister” and "Group Leader", then in the case that the terminal device receives the user's first input, the terminal device can respond to the first input, The avatar of "Zhang*" is displayed at the corner of "Application 11". After the time interval T1 during which the avatar of "Zhang*" is displayed, the terminal device may update and display the avatar of "Zhang*" as the avatar of "Minister”. After the time interval T1 during which the avatar of "Minister” is displayed, the terminal device may update and display the avatar of "Minister” as the avatar of "Group leader".
  • the terminal device can continuously display the target user's identification, that is, there is no need to perform the identification of the user Update. It can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
  • the target application when the target application receives unread messages sent by at least two of the M preset users, the user's identity is displayed by scrolling every target duration, It can solve the problem that the preset area is small and cannot display the identities of all users who send unread messages, so that users can easily know all users who send unread messages.
  • the message prompt method provided by the embodiment of the present disclosure may include the following S102C and S102D. And, S102 can be implemented through S102E.
  • the terminal device displays the identity of the first user among the M preset users.
  • the above-mentioned identifier of the first user may be used to indicate that the latest message received by the target application is sent by the first user.
  • the first user may be a user among M preset users.
  • the identifier of the first user may be used to indicate that the target application receives the unread message sent by the first user, and the unread message sent by the first user may be the latest message received by the target application.
  • the display area of the first user's logo overlaps with the display area of the target application, or the distance between the display area of the first user's logo and the display area of the target application is less than or equal to a preset value.
  • the terminal device receives a second input of the identity of the first user.
  • the second input may be a touch input to the identification of the first user, such as a tap input, a double tap input, a long press input, or a circle selection input, etc.
  • the terminal device In response to the second input, displays the identities of N users among the M preset users.
  • N user identities may be used to indicate that the target application program has received unread messages sent by N users.
  • the N users include the target user and the first user.
  • M is an integer greater than or equal to 2
  • N is a positive integer less than or equal to M.
  • first user and target user may be the same user or different users. If the first user and the target user are the same user, the identities of the N users include the identity of the target user; if the first user and the target user are different users, the identities of the N users include the identity of the target user and the identity of the first user. logo.
  • the display area of the N user identities overlaps with the display area of the target application, or the distance between the display area of the N user identities and the display area of the target application is less than or equal to a preset value.
  • the terminal device may display the avatar 02 of "Minister” at the corner of "Application 11" in response to the first input received. If the user clicks on the avatar 02 of "Minister", as shown in Figure 6(b), the terminal device can respond to the received click input (that is, the second input) in the preset area of the icon of "Application 11" It displays the avatar 02 of "Minister", the avatar 03 of "Group leader”, and the avatar 01 of "Zhang*".
  • the target application receives unread messages sent by at least two of the M preset users
  • the terminal device may first display the identity of the first user
  • the identities of all preset users who have received unread messages are displayed, so as to solve the problem that the area is too small to display the identities of all users who send unread messages, so that users can know all the users who send unread messages. user.
  • the message prompt method provided in the embodiment of the present disclosure may further include the following S104 and S105.
  • the terminal device receives the third input.
  • the third input may be touch input, key input, voice input, gesture input, or gravity input.
  • the third input may be an input of the target user's identification; or, the third input may be an input of the first content, where the first content may be an item in an unread message sent by the target user. Summary content.
  • the third input may be a click input on the avatar 01 of "Zhang*" as shown in (b) in FIG. 4; or, the third input may be a click on the picture shown in (c) in FIG. 5 Click input of "Zhang*" avatar 01; or, the third input may be a click input of "Zhang*" avatar 01 as shown in (b) in FIG. 6.
  • the terminal device displays a message interface corresponding to the target user.
  • the aforementioned message interface may include a message sent by the target user.
  • the terminal device may display the avatar 01 of "Zhang*" at the corner of "Application 11". If the user clicks on the avatar 01 of "Zhang*", as shown in (b) in Figure 7, the terminal device can display a dialogue message interface with "Zhang*" in response to the received click input (that is, the third input) .
  • the message prompt method provided by the embodiment of the present disclosure requires that the target user be found first in the related technology.
  • the display of the message interface corresponding to the target user on the trigger terminal device is different.
  • the user can trigger the terminal through a third input.
  • the device directly displays the message interface corresponding to the target user, which can simplify the user's operation process.
  • the terminal device may display a message interface corresponding to the target user through the following first possible implementation manner or the second possible implementation manner.
  • the message prompt method provided by the embodiment of the present disclosure may further include the following S106 and S107 ; And, the "display the message interface corresponding to the target user" in S105 can be implemented by the following S105A. That is, S105 can be implemented through S106, S107 and S105A.
  • the above-mentioned first content may be the summary content in the latest message sent by the target user.
  • S106 may specifically include: in response to the third input, the terminal device displays N content including the first content.
  • one content may be the summary content of an unread message newly sent by one of the M preset users, and N is a positive integer less than or equal to M.
  • the terminal device receives the fourth input of the first content.
  • the foregoing fourth input may be a touch input to the first content, for example, a tap input, a double tap input, a long press input, or a circle selection input, etc.
  • the terminal device displays a message interface corresponding to the target user.
  • the terminal device may display the avatar of "Minister”, the avatar of "Group leader”, and the avatar 01 of "Zhang*" in the attachment position of "Application 11". If the user clicks on the avatar 01 of "Zhang*", as shown in (b) in FIG. 8, the terminal device can display "Where to consider going on weekends” 04 (ie the first content). If the user clicks on the first content, as shown in (c) in FIG. 8, the terminal device may display a dialog message interface with "Zhang*" in response to the received click input (ie, the fourth input).
  • the third input when the third input is the input of the target user’s identification, it can be displayed as the summary content of an unread message sent by the target user recently, so the user can follow the summary The content, whether to trigger the terminal to display the message interface corresponding to the target user, so as to avoid that the user is not interested in the message interface directly displayed by the terminal device.
  • the above S102 can be implemented by the following S102F; and, S104 can be implemented by S104A, and S105 can be implemented by S105B.
  • the terminal device displays the identities of N users among the M preset users on the first screen, and displays N contents on the second screen.
  • the N content is the summary content in the latest message sent by the N users among the M preset users.
  • M and N are positive integers, and N is a positive integer less than or equal to M.
  • the identities of the aforementioned N users may include the identities of the target users.
  • the terminal device may display the icon of the target application and the target user's identity on the first screen 05 of the terminal device, and display it on the second screen 06 of the terminal device.
  • the terminal device receives the third input of the first content among the N pieces of content.
  • the above-mentioned first content may be the summary content in the latest message sent by the target user.
  • the third input may be a touch input to the first content of the N content, such as a tap input, a double tap input, a long press input, or a circle selection input, etc.
  • the terminal device displays a message interface corresponding to the target user on the first screen or the second screen.
  • the first screen 05 of the terminal device may display icons of multiple applications, and the second screen 06 of the terminal device may display multiple summary contents.
  • the terminal device can respond to the received user's click input (that is, the third input), such as As shown in (b) in Figure 9, the message interface corresponding to Zhang* (the target user) is displayed on the first screen 05 of the terminal device, and the message "Night" from the minister is kept displayed on the second screen 06 of the terminal device.
  • this summary content the summary content from the team leader, "Pay attention to the progress of the project, to" this summary content, from Zhang*'s "Where to consider where to go on weekends".
  • the message interface corresponding to the target user and N summary content from N preset users can be displayed on the two screens respectively. Therefore, The user can continuously switch the message interface, thereby improving the user's operating experience.
  • the message prompting methods shown in each of the above figures are all exemplified in combination with one figure in the embodiment of the present disclosure.
  • the message prompting method shown in each of the above figures can also be implemented in combination with any other figures illustrated in the above embodiments that can be combined, and will not be repeated here.
  • an embodiment of the present disclosure provides a terminal device 1000.
  • the terminal device may include a receiving module 1001 and a display module 1002.
  • the receiving module 1001 can be used to receive a message sent by a target user through a target application.
  • the display module 1002 can be used to display the identification of the target user. Wherein, the display area of the target user's logo overlaps with the display area of the target application, or the distance between the display area of the target user's logo and the display area of the target application is less than or equal to a preset value.
  • the identification of the target user may include at least one of the following: the avatar of the target user, and the name of the target user.
  • the receiving module 1001 may also be used to receive the first input.
  • the display module 1002 may be specifically configured to respond to the first input received by the receiving module 1001 to display the target user's identity in the display area of the target application, or when the distance from the display area of the target application is less than or equal to a preset value
  • the display area displays the identification of the target user.
  • the display module 1002 may be specifically configured to update and display the user's identity every target time period when the message sent by at least two of the M preset users is received through the target application.
  • the identifier of one user may be used to indicate that the target application program receives a message sent by a preset user, the at least two users may include the target user, and M is an integer greater than or equal to 2.
  • the display module 1002 can also be used to display the identity of the first user among the M preset users before displaying the identity of the target user, and the identity of the first user can be used to indicate that the target application program recently received The message was sent by the first user.
  • the receiving module 1001 may also be used to receive a second input of the identification of the first user displayed on the display module 1002.
  • the display module 1002 may be specifically configured to display the identities of N users among the M preset users in response to the second input received by the receiving module 1001.
  • the identities of the N users may be used to indicate that the target application receives the message sent by the N users, and the N users may include the target user and the first user, M is an integer greater than or equal to 2, and N It is a positive integer less than or equal to M.
  • the receiving module 1001 can also be used to receive the third input after displaying the target user's identity.
  • the display module 1002 may also be configured to display a message interface corresponding to the target user in response to the third input received by the receiving module 1001, and the message interface includes the message sent by the target user.
  • the third input may be an input of the identification of the target user.
  • the display module 1002 may also be used to display the first content before displaying the message interface corresponding to the target user, and the first content may be the summary content in a message newly sent by the target user.
  • the receiving module 1001 may also be used to receive a fourth input to the first content displayed by the display module 1002.
  • the display module 1002 is specifically configured to display a message interface corresponding to the target user in response to the fourth input received by the receiving module 1001.
  • the terminal device may include a first screen and a second screen.
  • the display module 1002 can be specifically used to display the identities of N users among the M preset users on the first screen, and display N contents on the second screen.
  • the receiving module 1001 may be specifically configured to receive a third input of the first content among the N pieces of content, and the first content may be the summary content in the latest message sent by the target user.
  • the display module 1002 can be specifically used to display a message interface corresponding to the target user on the first screen or the second screen.
  • the N content may be the summary content in the latest message sent by the N users, M and N are both positive integers, and N is less than or equal to M.
  • the terminal device provided in the embodiment of the present disclosure can implement each process implemented by the terminal device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • the embodiment of the present disclosure provides a terminal device.
  • the terminal device In the case of receiving a message sent by a target user through a target application, the terminal device displays the target user's identity in the display area of the target application, or when the target application is at a distance from the target user.
  • the display area of the program whose display area is less than or equal to the preset value displays the identification of the target user, such as the avatar of the target user and the name of the target user, which can remind the user that the target application receives a message from the target user. That is, the embodiments of the present disclosure are more intelligent in prompting unread messages.
  • FIG. 11 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure.
  • the terminal device 200 includes but is not limited to: a radio frequency unit 201, a network module 202, an audio output unit 203, an input unit 204, a sensor 205, a display unit 206, a user input unit 207, an interface unit 208, and a memory 209 , The processor 210, and the power supply 211.
  • the terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. Layout.
  • terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal devices, wearable devices, and pedometers.
  • the processor 210 may be configured to receive a message sent by a target user through a target application.
  • the processor 210 may also be used to control the display unit 206 to display the identification of the target user.
  • the display area of the target user's logo overlaps with the display area of the target application, or the distance between the display area of the target user's logo and the display area of the target application is less than or equal to a preset value.
  • the identification of the target user may include at least one of the following: the avatar of the target user, and the name of the target user.
  • the embodiment of the present disclosure provides a terminal device.
  • the terminal device In the case of receiving a message sent by a target user through a target application, the terminal device displays the target user's identity in the display area of the target application, or when the target application is at a distance from the target user.
  • the display area of the program whose display area is less than or equal to the preset value displays the identification of the target user, such as the avatar of the target user and the name of the target user, which can remind the user that the target application receives a message from the target user. That is, the embodiments of the present disclosure are more intelligent in prompting unread messages.
  • the radio frequency unit 201 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 210; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 201 can also communicate with the network and other devices through a wireless communication system.
  • the terminal device 200 provides users with wireless broadband Internet access through the network module 202, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 203 can convert the audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into audio signals and output them as sounds. Moreover, the audio output unit 203 may also provide audio output related to a specific function performed by the terminal device 200 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 204 is used to receive audio or video signals.
  • the input unit 204 may include a graphics processing unit (GPU) 2041 and a microphone 2042, and the graphics processor 2041 is configured to monitor still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame may be displayed on the display unit 206.
  • the image frame processed by the graphics processor 2041 may be stored in the memory 209 (or other storage medium) or sent via the radio frequency unit 201 or the network module 202.
  • the microphone 2042 can receive sound and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 201 in the case of a telephone call mode for output.
  • the terminal device 200 also includes at least one sensor 205, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 2061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 2061 and the display panel 2061 when the terminal device 200 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 205 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 206 is used to display information input by the user or information provided to the user.
  • the display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 207 may be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the terminal device.
  • the user input unit 207 includes a touch panel 2071 and other input devices 2072.
  • the touch panel 2071 also known as a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 2071 or near the touch panel 2071. operating).
  • the touch panel 2071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 210, the command sent by the processor 210 is received and executed.
  • the touch panel 2071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 207 may also include other input devices 2072.
  • other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 2071 can be overlaid on the display panel 2061.
  • the touch panel 2071 detects a touch operation on or near it, it transmits it to the processor 210 to determine the type of the touch event, and then the processor 210 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 2061.
  • the touch panel 2071 and the display panel 2061 are used as two independent components to realize the input and output functions of the terminal device, in some embodiments, the touch panel 2071 and the display panel 2061 can be integrated
  • the implementation of the input and output functions of the terminal device is not specifically limited here.
  • the interface unit 208 is an interface for connecting an external device and the terminal device 200.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 208 may be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 200 or may be used to connect to the terminal device 200 and an external device. Transfer data between devices.
  • the memory 209 can be used to store software programs and various data.
  • the memory 209 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 209 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 210 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, by running or executing software programs and/or modules stored in the memory 209, and calling data stored in the memory 209 , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole.
  • the processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 210.
  • the terminal device 200 may also include a power source 211 (such as a battery) for supplying power to various components.
  • a power source 211 such as a battery
  • the power source 211 may be logically connected to the processor 210 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 200 includes some functional modules that are not shown, which will not be repeated here.
  • an embodiment of the present disclosure also provides a terminal device, including a processor 210 as shown in FIG. 11, a memory 209, a computer program stored in the memory 209 and running on the processor 210, and the computer program is
  • the processor 210 implements the various processes of the foregoing method embodiments when executing, and can achieve the same technical effect. To avoid repetition, details are not described herein again.
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program When the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here.
  • computer-readable storage media such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disks, or optical disks, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

本公开实施例公开了一种消息提示方法及终端设备,涉及通信技术领域,该方法包括:通过目标应用程序接收目标用户发送的消息;显示该目标用户的标识;其中,该目标用户的标识的显示区域与该目标应用程序的显示区域重合,或者,该目标用户的标识的显示区域与该目标应用程序的显示区域之间的距离小于或等于预设值;该目标用户的标识包括以下至少一项:该目标用户的头像、该目标用户的名称。

Description

消息提示方法及终端设备
相关申请的交叉引用
本申请主张在2019年09月26日在中国提交的中国专利申请号201910918681.2的优先权,其全部内容通过引用包含于此。
技术领域
本公开实施例涉及通信技术领域,尤其涉及一种消息提示方法及终端设备。
背景技术
随着通信技术的发展,终端设备的很多应用程序可以接收其他设备发送的消息。
目前,在终端设备的应用程序接收到消息之后,如果用户没有及时阅读消息,那么终端设备通常会在应用程序的图标的附近位置显示一个红色圆形标识,并在红色圆形标识上叠加显示一个数字。如此,用户可以根据数字确定应用程序的未读消息的数量。
然而,对于来自非重要联系人的消息、文章推送消息或者广告消息等未读消息,按照上述方法仍会通过数字进行标识,但这些未读消息对于用户来说可能并不重要,从而会影响用户正常使用终端设备,进而导致传统提示未读消息方式的智能化程度较低。
发明内容
本公开实施例提供一种消息提示方法及终端设备,以解决传统提示未读消息方式的智能化程度较低的问题。
为了解决上述技术问题,本公开实施例是这样实现的:
第一方面,本公开实施例提供了一种消息提示方法。该方法包括:通过目标应用程序接收目标用户发送的消息;显示该目标用户的标识;其中,该目标用户的标识的显示区域与该目标应用程序的显示区域重合,或者,该目标用户的标识的显示区域与该目标应用程序的显示区域之间的距离小于或等于预设值;该目标用户的标识包括以下至少一项:该目标用户的头像、该目标用户的名称。
第二方面,本公开实施例提供了一种终端设备。该终端设备包括接收模块和显示模块。接收模块,用于通过目标应用程序接收目标用户发送的消息;显示模块,用于 显示该目标用户的标识;其中,该目标用户的标识的显示区域与该目标应用程序的显示区域重合,或者,该目标用户的标识的显示区域与该目标应用程序的显示区域之间的距离小于或等于预设值;该目标用户的标识包括以下至少一项:该目标用户的头像、该目标用户的名称。
第三方面,本公开实施例提供了一种终端设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现第一方面提供的消息提示方法的步骤。
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现第一方面提供的消息提示方法的步骤。
在本公开实施例中,可以通过目标应用程序接收目标用户发送的消息;并显示该目标用户的标识;其中,该目标用户的标识的显示区域与该目标应用程序的显示区域重合,或者,该目标用户的标识的显示区域与该目标应用程序的显示区域之间的距离小于或等于预设值;该目标用户的标识包括以下至少一项:该目标用户的头像、该目标用户的名称。通过该方案,在通过目标应用程序接收到目标用户发送的消息的情况下,终端设备通过在该目标应用程序的显示区域显示该目标用户的标识,或在距离该目标应用程序的显示区域小于或等于预设值的显示区域显示该目标用户的标识,例如目标用户的头像和该目标用户的名称,可以提醒用户目标应用程序接收到来自目标用户的消息。即本公开实施例对未读消息进行提示的智能化程度较高。
附图说明
图1为本公开实施例提供的一种安卓操作系统的架构示意图;
图2为本公开实施例提供的一种消息提示方法的示意图之一;
图3为本公开实施例提供的终端设备显示目标用户的标识的示意图;
图4为本公开实施例提供的添加用户的标识的示意图;
图5为本公开实施例提供的终端设备翻滚显示用户的标识的示意图;
图6为本公开实施例提供的终端设备列表显示应用程序的标识的示意图;
图7为本公开实施例提供的终端设备显示聊天界面的示意图之一;
图8为本公开实施例提供的终端设备显示聊天界面的示意图之二;
图9为本公开实施例提供的终端设备显示聊天界面的示意图之三;
图10为本公开实施例提供的终端设备的结构示意图;
图11为本公开实施例提供的终端设备的硬件示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。
本公开的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。
在本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本公开实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。
本公开实施例提供一种消息提示方法及终端设备,可以通过目标应用程序接收目标用户发送的消息;并显示该目标用户的标识;其中,该目标用户的标识的显示区域与该目标应用程序的显示区域重合,或者,该目标用户的标识的显示区域与该目标应用程序的显示区域之间的距离小于或等于预设值;该目标用户的标识包括以下至少一项:该目标用户的头像、该目标用户的名称。通过该方案,在通过目标应用程序接收到目标用户发送的消息的情况下,终端设备通过在该目标应用程序的显示区域显示该目标用户的标识,或在距离该目标应用程序的显示区域小于或等于预设值的显示区域显示该目标用户的标识,例如目标用户的头像和该目标用户的名称,可以提醒用户目标应用程序接收到来自目标用户的消息。即本公开实施例对未读消息进行提示的智能化程度较高。
本公开实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本公开实施例不作具体限定。
以安卓操作系统为例,介绍一下本公开实施例提供的消息提示方法所应用的软件环境。
如图1所示,为本公开实施例提供的一种安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本公开实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本公开实施例提供的消息提示方法的软件程序,从而使得该消息提示方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本公开实施例提供的消息提示方法。
本公开实施例中的终端设备可以为移动终端设备,也可以为非移动终端设备。示例性的,移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本公开实施例不作具体限定。
本公开实施例提供的消息提示方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该消息提示方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本公开实施例不作限定。下面以终端设备为例,对本公开实施例提供的消息提示方法进行示例性的说明。
如图2所示,本公开实施例提供一种消息提示方法。该方法可以应用于终端设备。该方法可以包括下述的S101和S102。
S101、终端设备通过目标应用程序接收目标用户发送的消息。
需要说明的是,本公开实施例中,上述“通过目标应用程序接收目标用户发送的消息” 是指终端设备通过终端设备中的目标应用程序接收到来自目标用户的未读消息,且该消息仍处于未读状态,即用户尚未查看过该未读消息。
此外,本公开实施例是以目标应用程序为终端设备的任意一个应用程序为例进行示例性说明的。可以理解,若终端设备的多个应用程序分别接收到来自多个预设用户发送的未读消息,则终端设备可以在各个应用程序的预设区域内分别显示预设用户的标识。
可选地,上述目标应用程序可以为具备接收其他设备发送的消息的应用程序。例如,目标应用程序可以为社交类应用程序、短信应用程序、支付类应用程序或其他可能的应用程序等,本公开实施例不作限定。
可选地,上述目标用户发送的消息可以为聊天消息、短信消息、通知消息、推送消息、订阅消息或者其他可能的未读消息等,本公开实施例不作限定。
可选地,上述目标用户为M个预设用户中的用户。M为正整数。
可选地,对于M个预设用户中的每个预设用户均可以通过下述的方式一或方式二获取:
方式一、M个预设用户中的每个预设用户为使用终端设备的用户设置的。
示例性的,如图3所示为本公开实施例提供的用户添加用户的标识的示意图。在操作用户界面(user interface,UI)中,使用终端设备的用户可以在搜索框中输入待添加用户的名称,例如“部长”。如果终端设备搜索到“部长”,那么用户可以点击添加按钮00,从而终端设备可以将“部长”设置为预设用户。以此类推,用户可以设置的预设用户可以为“部长”02、“组长”03、“张*”01。
方式二、M个预设用户中的每个预设用户为终端设备根据用户历史数据设置的。
可选地,上述用户历史数据存储在终端设备中。
示例性的,下述表1为本公开实施例提供的一种时间阈值、数据量阈值和结论的对应关系表。其中,时间阈值用T表示,数据阈值用S表示,实际使用数据的时间用Tx表示,实际使用的数据量用Sx表示。
表1
与时间阈值的比较 与数据量阈值的比较 结论
Tx≥T Sx≤S
Tx≤T Sx≤S
Tx≥T Sx≥S
Tx≤T Sx≥S
由上述表1可知,在使用终端设备的用户与某个用户同时满足:实际使用数据的时间Tx小于或等于时间阈值T、实际使用的数据量Sx大于或等于数据阈值S的情况下,终端设备可以将该某个用户设置为预设用户。如果这两个条件中的至少一个条件不满足,则终端无法将该某个用户设置为预设用户。
需要说明的是,一种可选地实现方式为,M个预设用户可以均为使用终端设备的用户设置的;另一种可选地实现方式为,M个预设用户可以均为根据终端设备中的用户历史数据设置的;再一种可选地实现方式为,M个预设用户中的一部分预设用户为使用终端设备的用户设置的,M个预设用户中的另一部分预设用户为根据终端设备中的用户历史数据设置的。可以根据实际使用需求确定,本公开实施例不作限定。
S102、终端设备显示该目标用户的标识。
其中,目标用户的标识的显示区域与目标应用程序的显示区域重合,或者,目标用户的标识的显示区域与目标应用程序的显示区域之间的距离小于或等于预设值。目标用户的标识可以包括以下至少一项:目标用户的头像、目标用户的名称。
需要说明的是,上述“目标用户的标识的显示区域与目标应用程序的显示区域重合”可以是指目标用户的标识的显示区域与目标应用程序的图标的显示区域重合。上述“目标用户的标识的显示区域与目标应用程序的显示区域之间的距离小于或等于预设值”可以是指目标用户的标识的显示区域与目标应用程序的图标的显示区域之间的距离小于或等于预设值。
本公开实施例中,上述目标用户的标识可以用于指示通过目标应用程序接收到目标用户发送的未读消息。
可选地,上述目标用户的标识可以以预设透明度叠加显示在目标应用程序的图标的预设区域内。其中,该预设透明度具体可以为0%到100%之间的任意值。
可选地,目标用户的标识的显示区域具体可以为以下任一项:目标应用程序的图标的边框内、目标应用程序的图标的边缘位置、距离目标应用程序的图标预设距离处。
可选地,若目标用户的标识的显示区域为目标应用程序的图标的边缘位置,则该边缘位置可以为以下任一项:目标应用程序的图标中任意一个边框所在的位置,或目标应用程序的图标中相邻两个边框的交界位置。
示例性的,如图4中的(a)所示,在终端设备的屏幕处于锁屏状态的情况下,如果用户想要使用终端设备,那么用户可以在屏幕中的滑动手指。在终端设备接收到用户的滑动轨迹之后,若该滑动轨迹与预设滑动轨迹相同,则如图4中的(b)所示,终端设备可以解锁屏幕,并在桌面界面中显示“应用11”的图标,以及在“应用11”的图标的角标处 显示“张*”的头像01。
本公开实施例提供一种消息提示方法,在通过目标应用程序接收到目标用户发送的消息的情况下,终端设备通过在该目标应用程序的显示区域显示该目标用户的标识,或在距离该目标应用程序的显示区域小于或等于预设值的显示区域显示该目标用户的标识,例如目标用户的头像和该目标用户的名称,可以提醒用户目标应用程序接收到来自目标用户的消息。即本公开实施例对未读消息进行提示的智能化程度较高。
可选地,在上述S102之前,本公开实施例提供的消息提示方法还可以包括下述的S103。并且,上述S102具体可以通过下述的S102A实现。
S103、终端设备接收第一输入。
可选地,第一输入可以为触控输入、按键输入、语音输入、手势输入或重力输入等。
可选地,第一输入可以在下述的任意一种场景下获取:
场景一、在终端设备的屏幕处于锁屏状态的情况下,终端设备接收用户的第一输入。其中,第一输入可以用于触发终端设备解锁屏幕并显示目标界面。
可选地,目标界面可以为终端设备的桌面界面、应用程序的界面或其他可能的界面等。
示例性的,假设目标界面为终端设备的桌面界面。在终端设备的屏幕处于锁屏状态的情况下,如果用户想要使用终端设备,那么用户可以通过第一输入,触发终端设备解锁屏幕,并显示桌面界面。其中,该桌面界面可以包括多个应用程序的图标,且该多个应用程序的图标可以包括目标应用程序的图标。
场景二、在终端设备的屏幕处于解锁状态,且显示第一界面的情况下,终端设备接收用户的第一输入。其中,第一输入可以用于触发终端设备将第一界面切换为第二界面。
可选地,第一界面可以为终端设备的一个桌面界面,第二界面可以为终端设备的另一个桌面界面;或者,第一界面可以为终端设备的一个桌面界面,第二界面可以为一个应用程序的界面;或者,第一界面可以为一个应用程序的界面,第二界面可以为终端设备的一个桌面界面;或者,第一界面可以为一个应用程序的界面,第二界面可以为另一个应用程序的界面。可以根据实际使用需求确定,本公开实施例不作限定。
示例性的,假设第一界面可以为终端设备的一个桌面界面,第二界面可以为终端设备的另一个桌面界面。在终端设备的屏幕处于解锁状态,且显示桌面界面A的情况下,如果用户想要使用桌面界面B,那么用户可以通过第一输入,触发终端设备将桌面界面A切换为桌面界面B。其中,该桌面界面B可以包括多个应用程序的图标,且该多个应用程序的图标可以包括目标应用程序的图标。
S102A、终端设备响应于该第一输入,在目标应用程序的显示区域显示目标用户的标 识,或者,在距离目标应用程序的显示区域小于或等于预设值的显示区域显示目标用户的标识。
可选地,本公开实施例中,若在接收第一输入时,终端设备的屏幕中显示有目标应用程序的图标,则终端设备可以响应于该第一输入,直接显示目标用户的标识。若在接收第一输入时,终端设备的屏幕中未显示有目标应用程序的图标,则终端设备可以响应于该第一输入,显示目标应用程序的图标,并显示目标用户的标识。可以根据实际使用需求确定,本公开实施例不作具体限定。
本公开实施例提供的消息提示方法,在终端设备接收到目标用户发送的未读消息的情况下,通过用户的第一输入,可以触发终端设备显示目标用户的标识,从而可以使用户目标应用程序接收到来自重要用户的未读消息。
可选地,在终端设备接收到至少两个预设用户发送的未读消息,且M为大于或等于2的整数的情况下,终端设备可以按照下述的实施方式一或实施方式二,显示用户的标识。
实施方式一
上述S102具体可以通过下述的S102B实现。
S102B、在通过目标应用程序接收到M个预设用户中的至少两个预设用户发送的消息的情况下,终端设备每隔目标时长,对用户的标识进行更新显示。
其中,一个用户的标识可以用于指示目标应用程序接收到一个预设用户发送的未读消息。至少两个预设用户包括目标用户。M为大于或等于2的整数。
可选地,上述“终端设备每隔目标时长,对用户的标识进行更新显示”可以包括:终端设备每隔目标时长,对在目标应用程序的显示区域显示的用户的标识进行更新;或者,终端设备每隔目标时长,对在距离目标应用程序的显示区域小于或等于预设值的显示区域显示的用户的标识进行更新。
可选地,上述目标时长可以为用户设置的,或终端设备预设的。另外,本公开实施例对目标时长的取值不作限定,可以根据实际使用需求确定。
可选地,终端设备最先显示的用户的标识可以为以下任一项:目标应用程序最新接收到的消息来自的用户的标识,用户从M个预设用户中选择的一个用户的标识,终端设备按照预设条件从M个预设用户中筛选出的一个用户的标识。
可选地,终端设备可以按照以下任一顺序显示用户的标识:预设用户发送未读消息的顺序,用户设置的用户的标识的显示优先级,终端设备设置的用户的标识的显示优先级。
示例性的,以终端设备是按照用户设置的用户的标识的显示优先级进行显示为例进行说明。假设M个预设用户的优先级由高到低处依次为“部长”、“组长”、“张*”和“李 *”。如果终端设备先后依次接收到“张*”、“部长”和“组长”发送的未读消息,那么在终端设备接收到用户的第一输入的情况下,如图5中的(a)所示,终端设备可以响应于第一输入,在“应用11”的角标处显示“部长”的头像02。在显示“部长”的头像02的时间间隔T1之后,如图5中的(b)所示,终端设备可以将“部长”的头像02更新显示为“组长”的头像03。在显示“组长”的头像03的时间间隔T1之后,如图5中的(c)所示,终端设备可以将“组长”的头像03更新显示为“张*”的头像01。
示例性的,以终端设备是按照预设用户发送未读消息的顺序进行显示为例进行说明。如果终端设备先后依次接收到“张*”、“部长”和“组长”发送的未读消息,那么在终端设备接收到用户的第一输入的情况下,终端设备可以响应于第一输入,在“应用11”的角标处显示“张*”的头像。在显示“张*”的头像的时间间隔T1之后,终端设备可以将“张*”的头像更新显示为“部长”的头像。在显示“部长”的头像的时间间隔T1之后,终端设备可以将“部长”的头像更新显示为“组长”的头像。
需要说明的是,在目标应用程序仅接收到M个预设用户中的一个预设用户发送的未读消息的情况下,终端设备可以持续显示的目标用户的标识,即无需对用户的标识进行更新。可以根据实际使用需求确定,本公开实施例不作具体限定。
本公开实施例提供的消息提示方法,在目标应用程序接收到M个预设用户中的至少两个预设用户发送的未读消息的情况下,通过每隔目标时长,翻滚显示用户的标识,可以解决预设区域较小无法显示所有发送未读消息的用户的标识的问题,从而便于用户知道所有发送未读消息的用户。
实施方式二
在上述S102之前,本公开实施例提供的消息提示方法可以包括下述的S102C和S102D。并且,S102可以通过S102E实现。
S102C、终端设备显示M个预设用户中的第一用户的标识。
其中,上述第一用户的标识可以用于指示目标应用程序最新接收到的消息为第一用户发送的。第一用户可以为M个预设用户中的用户。
本公开实施例中,第一用户的标识可以用于指示目标应用程序接收到第一用户发送的未读消息,且第一用户发送的未读消息可以为目标应用程序最新接收到的消息。
可选地,上述第一用户的标识的显示区域与目标应用程序的显示区域重合,或者,第一用户的标识的显示区域与目标应用程序的显示区域之间的距离小于或等于预设值。
S102D、终端设备接收对该第一用户的标识的第二输入。
可选地,第二输入可以为对第一用户的标识的触控输入,例如点击输入、双击输入、 长按输入或圈选输入等。
S102E、终端设备响应于该第二输入,显示该M个预设用户中的N个用户的标识。
其中,上述N个用户的标识可以用于指示目标应用程序接收到N个用户发送的未读消息。N个用户包括目标用户和第一用户。M为大于或等于2的整数,N为小于或等于M的正整数。
需要说明的是,上述第一用户与目标用户可以为同一用户,也可以为不同用户。若第一用户与目标用户为同一用户,则N个用户的标识包括目标用户的标识;若第一用户与目标用户为不同用户,则N个用户的标识包括目标用户的标识和第一用户的标识。
可选地,上述N个用户的标识的显示区域与目标应用程序的显示区域重合,或者,N个用户的标识的显示区域与目标应用程序的显示区域之间的距离小于或等于预设值。
示例性的,如图6中的(a)所示,终端设备可以响应于接收到的第一输入,在“应用11”的角标处显示“部长”的头像02。如果用户点击“部长”的头像02,那么如图6中的(b)所示,终端设备可以响应于接收到的点击输入(即第二输入),在“应用11”的图标的预设区域内显示“部长”的头像02、“组长”的头像03、“张*”的头像01。
本公开实施例提供的消息提示方法,在目标应用程序接收到M个预设用户中的至少两个预设用户发送的未读消息的情况下,由于终端设备可以先显示第一用户的标识,再响应于用户的输入显示所有接收到未读消息的预设用户的标识,从而以解决区域较小无法显示所有发送未读消息的用户的标识的问题,从而方便用户知道所有发送未读消息的用户。
可选地,在上述S102之后,本公开实施例提供的消息提示方法还可以包括下述的S104和S105。
S104、终端设备接收第三输入。
可选地,第三输入可以为触控输入、按键输入、语音输入、手势输入或重力输入等。
可选地,第三输入可以为对目标用户的标识的输入;或者,第三输入可以为对第一内容的输入,其中,该第一内容可以为目标用户最新发送的一条未读消息中的概要内容。
示例性的,第三输入可以为对如图4中的(b)所示的“张*”的头像01的点击输入;或者,第三输入可以为对如图5中的(c)所示的“张*”的头像01的点击输入;或者,第三输入可以为对如图6中的(b)所示的“张*”的头像01的点击输入。
需要说明的是,对于第三输入为对第一内容的输入的相关描述,可以参照下述实施例中的具体描述,此处不再赘述。
S105、终端设备响应于该第三输入,显示与目标用户对应的消息界面。
其中,上述消息界面中可以包括目标用户发送的消息。
示例性的,如图7中的(a)所示,终端设备可以在“应用11”的角标处显示“张*”的头像01。如果用户点击“张*”的头像01,那么如图7中的(b)所示,终端设备可以响应于接收到的点击输入(即第三输入),显示与“张*”的对话消息界面。
本公开实施例提供的消息提示方法,与相关技术需要先查找到目标用户,在触发终端设备显示目标用户对应的消息界面有所不同,本公开实施例中的用户可以通过第三输入,触发终端设备直接显示目标用户对应的消息界面,从而可以简化用户的操作过程。
可选地,对于上述S105,终端设备可以通过下述的第一种可能的实现方式或第二种可能的实现方式,显示与目标用户对应的消息界面。
第一种可能的实现方式
在第三输入为对目标用户的标识的输入的情况下,上述S105中的“显示与目标用户对应的消息界面”之前,本公开实施例提供的消息提示方法还可以包括下述的S106和S107;并且,S105中的“显示与目标用户对应的消息界面”可以通过下述的S105A实现。即S105可以通过S106、S107和S105A实现。
S106、终端设备响应于第三输入,显示第一内容。
其中,上述第一内容可以为目标用户最新发送的一条消息中的概要内容。
可选地,S106具体可以包括:终端设备响应于第三输入,显示包括第一内容在内的N个内容。其中,一个内容可以为M个预设用户中的一个用户最新发送的一条未读消息中的概要内容,N为小于或等于M的正整数。
S107、终端设备接收对该第一内容的第四输入。
可选地,上述第四输入可以为对第一内容的触控输入等,例如点击输入、双击输入、长按输入或圈选输入等。
S105A、终端设备响应于该第四输入,显示与目标用户对应的消息界面。
示例性的,如图8中的(a)所示,终端设备可以在“应用11”的附件位置显示“部长”的头像、“组长”的头像、“张*”的头像01。如果用户点击“张*”的头像01,那么如图8中的(b)所示,终端设备可以显示“周末考虑去哪里”04(即第一内容)。如果用户点击该第一内容,那么如图8中的(c)所示,终端设备可以响应于接收到的点击输入(即第四输入),显示与“张*”的对话消息界面。
本公开实施例提供的消息提示方法,由于在第三输入为对目标用户的标识的输入的情况下,可以显示为目标用户最新发送的一条未读消息中的概要内容,因此用户可以根据该概要内容,确实是否触发终端显示与目标用户对应的消息界面,从而可以避免用户对终端设备直接显示的消息界面不感兴趣。
第二种可能的实现方式
在终端设备包括第一屏和第二屏的情况下,上述S102可以通过下述的S102F实现;并且,S104具体可以通过S104A实现,S105具体可以通过S105B实现。
S102F、终端设备在第一屏显示M个预设用户中的N个用户的标识,并在第二屏中显示N个内容。
其中,N个内容为M个预设用户中的N个用户最新发送的消息中的概要内容。M和N均为正整数,N为小于或等于M的正整数。
本公开实施中,上述N个用户的标识可以包括目标用户的标识。
示例性的,如图9中的(a)所示,终端设备可以在终端设备的第一屏05上显示目标应用程序的图标和目标用户的标识,并在终端设备的第二屏06上显示来自部长的“晚上开会,请…”这一概要内容、来自组长的“注意项目的进度,要…”这一概要内容、来自张*的“周末考虑去哪里…”这一概要内容。
S104A、终端设备接收对该N个内容中的第一内容的第三输入。
其中,上述第一内容可以为目标用户最新发送的一条消息中的概要内容。
可选地,第三输入可以为对N个内容中的第一内容的触控输入,例如点击输入、双击输入、长按输入或圈选输入等。
S105B、终端设备响应于第三输入,在第一屏或第二屏上,显示与目标用户对应的消息界面。
示例性的,如图9中的(a)所示,终端设备的第一屏05上可以显示有多个应用程序的图标,终端设备的第二屏06上可以显示有多个概要内容。如果用户点击终端设备的第二屏06中的来自张*的“周末考虑去哪里…”04这一概要内容,那么终端设备可以响应于接收到的用户的点击输入(即第三输入),如图9中的(b)所示,在终端设备的第一屏05上显示与张*(即目标用户)对应的消息界面,并在终端设备的第二屏06上保持显示来自部长的“晚上开会,请…”这一概要内容、来自组长的“注意项目的进度,要…”这一概要内容、来自张*的“周末考虑去哪里…”这三个内容。
本公开实施例提供的消息提示方法,在终端设备包括两个屏幕的情况下,可以分别在两个屏幕上显示与目标用户对应的消息界面、来自N个预设用户的N个概要内容,因此用户可以对消息界面进行不断切换,从而提高用户的操作体验。
需要说明的是,本公开实施例中,上述各个附图所示的消息提示方法均是以结合本公开实施例中的一个附图为例示例性的说明的。具体实现时,上述各个附图所示的消息提示方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。
如图10所示,本公开实施例提供一种终端设备1000。该终端设备可以包括接收模块1001和显示模块1002。接收模块1001,可以用于通过目标应用程序接收目标用户发送的消息。显示模块1002,可以用于显示该目标用户的标识。其中,该目标用户的标识的显示区域与该目标应用程序的显示区域重合,或者,该目标用户的标识的显示区域与该目标应用程序的显示区域之间的距离小于或等于预设值。该目标用户的标识可以包括以下至少一项:该目标用户的头像、该目标用户的名称。
可选地,接收模块1001,还可以用于接收第一输入。显示模块1002,具体可以用于响应于接收模块1001接收的该第一输入,在目标应用程序的显示区域显示目标用户的标识,或者,在距离目标应用程序的显示区域小于或等于预设值的显示区域显示目标用户的标识。
可选地,显示模块1002,具体可以用于在通过目标应用程序接收到M个预设用户中的至少两个用户发送的消息的情况下,每隔目标时长,对用户的标识进行更新显示。其中,一个用户的标识可以用于指示目标应用程序接收到一个预设用户发送的消息,该至少两个用户可以包括目标用户,M为大于或等于2的整数。
可选地,显示模块1002,还可以用于在显示目标用户的标识之前,显示M个预设用户中的第一用户的标识,该第一用户的标识可以用于指示目标应用程序最新接收到的消息为该第一用户发送的。接收模块1001,还可以用于接收对显示模块1002显示的该第一用户的标识的第二输入。显示模块1002,具体可以用于响应于接收模块1001接收的该第二输入,显示该M个预设用户中的N个用户的标识。其中,该N个用户的标识可以用于指示该目标应用程序接收到该N个用户发送的消息,该N个用户可以包括目标用户和该第一用户,M为大于或等于2的整数,N为小于或等于M的正整数。
可选地,接收模块1001,还可以用于在显示目标用户的标识之后,接收第三输入。显示模块1002,还可以用于响应于接收模块1001接收的该第三输入,显示与该目标用户对应的消息界面,该消息界面中包括目标用户发送的消息。
可选地,第三输入可以为对目标用户的标识的输入。显示模块1002,还可以用于在显示与目标用户对应的消息界面之前,显示第一内容,该第一内容可以为目标用户最新发送的一条消息中的概要内容。接收模块1001,还可以用于接收对显示模块1002显示的该第一内容的第四输入。显示模块1002,具体用于响应于接收模块1001接收的该第四输入,显示与该目标用户对应的消息界面。
可选地,终端设备可以包括第一屏和第二屏。显示模块1002,具体可以用于在第一屏显示M个预设用户中的N个用户的标识,并在第二屏中显示N个内容。接收模块1001, 具体可以用于接收对该N个内容中的第一内容的第三输入,该第一内容可以为目标用户最新发送的一条消息中的概要内容。显示模块1002,具体可以用于在第一屏或第二屏上,显示与该目标用户对应的消息界面。其中,该N个内容可以为该N个用户最新发送的消息中的概要内容,M和N均为正整数,且N小于或等于M。
本公开实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。
本公开实施例提供一种终端设备,在通过目标应用程序接收到目标用户发送的消息的情况下,终端设备通过在该目标应用程序的显示区域显示该目标用户的标识,或在距离该目标应用程序的显示区域小于或等于预设值的显示区域显示该目标用户的标识,例如目标用户的头像和该目标用户的名称,可以提醒用户目标应用程序接收到来自目标用户的消息。即本公开实施例对未读消息进行提示的智能化程度较高。
图11为实现本公开各个实施例的一种终端设备的硬件结构示意图。如图11所示,该终端设备200包括但不限于:射频单元201、网络模块202、音频输出单元203、输入单元204、传感器205、显示单元206、用户输入单元207、接口单元208、存储器209、处理器210、以及电源211等部件。本领域技术人员可以理解,图11中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。
处理器210,可以用于通过目标应用程序接收目标用户发送的消息。
处理器210,还可以用于控制显示单元206显示目标用户的标识。其中,该目标用户的标识的显示区域与目标应用程序的显示区域重合,或者,该目标用户的标识的显示区域与目标应用程序的显示区域之间的距离小于或等于预设值。该目标用户的标识可以包括以下至少一项:该目标用户的头像、该目标用户的名称。
本公开实施例提供一种终端设备,在通过目标应用程序接收到目标用户发送的消息的情况下,终端设备通过在该目标应用程序的显示区域显示该目标用户的标识,或在距离该目标应用程序的显示区域小于或等于预设值的显示区域显示该目标用户的标识,例如目标用户的头像和该目标用户的名称,可以提醒用户目标应用程序接收到来自目标用户的消息。即本公开实施例对未读消息进行提示的智能化程度较高。
应理解的是,本公开实施例中,射频单元201可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器210处理;另外,将上行的数据发送给基站。通常,射频单元201包括但不限于天线、至少一个放大器、收发信机、 耦合器、低噪声放大器、双工器等。此外,射频单元201还可以通过无线通信系统与网络和其他设备通信。
终端设备200通过网络模块202为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元203可以将射频单元201或网络模块202接收的或者在存储器209中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元203还可以提供与终端设备200执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元203包括扬声器、蜂鸣器以及受话器等。
输入单元204用于接收音频或视频信号。输入单元204可以包括图形处理器(Graphics Processing Unit,GPU)2041和麦克风2042,图形处理器2041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元206上。经图形处理器2041处理后的图像帧可以存储在存储器209(或其它存储介质)中或者经由射频单元201或网络模块202进行发送。麦克风2042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元201发送到移动通信基站的格式输出。
终端设备200还包括至少一种传感器205,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板2061的亮度,接近传感器可在终端设备200移动到耳边时,关闭显示面板2061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器205还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元206用于显示由用户输入的信息或提供给用户的信息。显示单元206可包括显示面板2061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板2061。
用户输入单元207可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元207包括触控面板2071以及其他输入设备2072。触控面板2071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板2071上或在触控面板2071附近的操作)。触控面板2071可包括触摸检测装置和触摸控制器两个部分。其中, 触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器210,接收处理器210发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板2071。除了触控面板2071,用户输入单元207还可以包括其他输入设备2072。具体地,其他输入设备2072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板2071可覆盖在显示面板2061上,当触控面板2071检测到在其上或附近的触摸操作后,传送给处理器210以确定触摸事件的类型,随后处理器210根据触摸事件的类型在显示面板2061上提供相应的视觉输出。虽然在图11中,触控面板2071与显示面板2061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板2071与显示面板2061集成而实现终端设备的输入和输出功能,具体此处不做限定。
接口单元208为外部装置与终端设备200连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元208可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备200内的一个或多个元件或者可以用于在终端设备200和外部装置之间传输数据。
存储器209可用于存储软件程序以及各种数据。存储器209可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器209可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器210是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器209内的软件程序和/或模块,以及调用存储在存储器209内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器210可包括一个或多个处理单元;可选地,处理器210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器210中。
终端设备200还可以包括给各个部件供电的电源211(比如电池),可选地,电源211可以通过电源管理系统与处理器210逻辑相连,从而通过电源管理系统实现管理充电、放 电、以及功耗管理等功能。
另外,终端设备200包括一些未示出的功能模块,在此不再赘述。
可选地,本公开实施例还提供一种终端设备,包括如图11所示的处理器210,存储器209,存储在存储器209上并可在处理器210上运行的计算机程序,该计算机程序被处理器210执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例描述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (16)

  1. 一种消息提示方法,应用于终端设备,所述方法包括:
    通过目标应用程序接收目标用户发送的消息;
    显示所述目标用户的标识;其中,所述目标用户的标识的显示区域与所述目标应用程序的显示区域重合,或者,所述目标用户的标识的显示区域与所述目标应用程序的显示区域之间的距离小于或等于预设值;所述目标用户的标识包括以下至少一项:所述目标用户的头像、所述目标用户的名称。
  2. 根据权利要求1所述的方法,其中,所述显示所述目标用户的标识之前,所述方法还包括:
    接收第一输入;
    所述显示所述目标用户的标识,包括:
    响应于所述第一输入,在所述目标应用程序的显示区域显示所述目标用户的标识,或者,在距离所述目标应用程序的显示区域小于或等于预设值的显示区域显示所述目标用户的标识。
  3. 根据权利要求1所述的方法,其中,所述显示所述目标用户的标识,包括:
    在通过所述目标应用程序接收到M个预设用户中的至少两个用户发送的消息的情况下,每隔目标时长,对用户的标识进行更新显示;
    其中,一个用户的标识用于指示所述目标应用程序接收到一个预设用户发送的消息,所述至少两个用户包括所述目标用户,M为大于或等于2的整数。
  4. 根据权利要求1所述的方法,其中,所述显示所述目标用户的标识之前,所述方法还包括:
    显示M个预设用户中的第一用户的标识,所述第一用户的标识用于指示所述目标应用程序最新接收到的消息为所述第一用户发送的;
    接收对所述第一用户的标识的第二输入;
    所述显示所述目标用户的标识,包括:
    响应于所述第二输入,显示所述M个预设用户中的N个用户的标识;
    其中,N个用户的标识用于指示所述目标应用程序接收到N个用户发送的消息,所述N个用户包括所述目标用户和所述第一用户,M为大于或等于2的整数,N为小于或等于M的正整数。
  5. 根据权利要求1至4中任一项所述的方法,其中,所述显示所述目标用户的标 识之后,所述方法还包括:
    接收第三输入;
    响应于所述第三输入,显示与所述目标用户对应的消息界面,所述消息界面中包括所述目标用户发送的消息。
  6. 根据权利要求5所述的方法,其中,所述第三输入为对所述目标用户的标识的输入;
    所述显示与所述目标用户对应的消息界面之前,所述方法还包括:
    显示第一内容,所述第一内容为所述目标用户最新发送的一条消息中的概要内容;
    接收对所述第一内容的第四输入;
    所述显示与所述目标用户对应的消息界面,包括:
    响应于所述第四输入,显示与所述目标用户对应的消息界面。
  7. 根据权利要求5所述的方法,其中,所述终端设备包括第一屏和第二屏;
    所述显示所述目标用户的标识,包括:
    在所述第一屏显示M个预设用户中的N个用户的标识,并在所述第二屏中显示N个内容,所述N个内容为所述N个用户最新发送的消息中的概要内容,M和N均为正整数,且N小于或等于M;
    所述接收第三输入,包括:
    接收对所述N个内容中的第一内容的第三输入,所述第一内容为所述目标用户最新发送的一条消息中的概要内容;
    所述显示与所述目标用户对应的消息界面,包括:
    在所述第一屏或所述第二屏上,显示与所述目标用户对应的消息界面。
  8. 一种终端设备,所述终端设备包括接收模块和显示模块;
    所述接收模块,用于通过目标应用程序接收目标用户发送的消息;
    所述显示模块,用于显示所述目标用户的标识;
    其中,所述目标用户的标识的显示区域与所述目标应用程序的显示区域重合,或者,所述目标用户的标识的显示区域与所述目标应用程序的显示区域之间的距离小于或等于预设值;所述目标用户的标识包括以下至少一项:所述目标用户的头像、所述目标用户的名称。
  9. 根据权利要求8所述的终端设备,其中,所述接收模块,还用于接收第一输入;
    所述显示模块,具体用于响应于所述接收模块接收的所述第一输入,在所述目标应用程序的显示区域显示所述目标用户的标识,或者,在距离所述目标应用程序的显 示区域小于或等于预设值的显示区域显示所述目标用户的标识。
  10. 根据权利要求8所述的终端设备,其中,所述显示模块,具体用于在通过所述目标应用程序接收到M个预设用户中的至少两个用户发送的消息的情况下,每隔目标时长,对用户的标识进行更新显示;
    其中,一个用户的标识用于指示所述目标应用程序接收到一个预设用户发送的消息,所述至少两个用户包括所述目标用户,M为大于或等于2的整数。
  11. 根据权利要求8所述的终端设备,其中,所述显示模块,还用于在显示所述目标用户的标识之前,显示M个预设用户中的第一用户的标识,所述第一用户的标识用于指示所述目标应用程序最新接收到的消息为所述第一用户发送的;
    所述接收模块,还用于接收对所述显示模块显示的所述第一用户的标识的第二输入;
    所述显示模块,具体用于响应于所述接收模块接收的所述第二输入,显示所述M个预设用户中的N个用户的标识;
    其中,N个用户的标识用于指示所述目标应用程序接收到N个用户发送的消息,所述N个用户包括所述目标用户和所述第一用户,M为大于或等于2的整数,N为小于或等于M的正整数。
  12. 根据权利要求8至11中任一项所述的终端设备,其中,所述接收模块,还用于在显示所述目标用户的标识之后,接收第三输入;
    所述显示模块,还用于响应于所述接收模块接收的所述第三输入,显示与所述目标用户对应的消息界面,所述消息界面中包括所述目标用户发送的消息。
  13. 根据权利要求12所述的终端设备,其中,所述第三输入为对所述目标用户的标识的输入;
    所述显示模块,还用于在显示与所述目标用户对应的所述消息界面之前,显示第一内容,所述第一内容为所述目标用户最新发送的一条消息中的概要内容;
    所述接收模块,还用于接收对所述显示模块显示的所述第一内容的第四输入;
    所述显示模块,具体用于响应于所述接收模块接收的所述第四输入,显示与所述目标用户对应的消息界面。
  14. 根据权利要求12所述的终端设备,其中,所述终端设备包括第一屏和第二屏;
    所述显示模块,具体用于在所述第一屏显示M个预设用户中的N个用户的标识,并在所述第二屏中显示N个内容;
    所述接收模块,具体用于接收对所述N个内容中的第一内容的第三输入,所述第 一内容为所述目标用户最新发送的一条消息中的概要内容;
    所述显示模块,具体用于在所述第一屏或所述第二屏上,显示与所述目标用户对应的消息界面;
    其中,所述N个内容为所述N个用户最新发送的消息中的概要内容,M和N均为正整数,且N小于或等于M。
  15. 一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项所述的消息提示方法的步骤。
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的消息提示方法的步骤。
PCT/CN2020/103824 2019-09-26 2020-07-23 消息提示方法及终端设备 WO2021057224A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910918681.2 2019-09-26
CN201910918681.2A CN110769118A (zh) 2019-09-26 2019-09-26 一种消息提示方法及终端设备

Publications (1)

Publication Number Publication Date
WO2021057224A1 true WO2021057224A1 (zh) 2021-04-01

Family

ID=69330467

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/103824 WO2021057224A1 (zh) 2019-09-26 2020-07-23 消息提示方法及终端设备

Country Status (2)

Country Link
CN (1) CN110769118A (zh)
WO (1) WO2021057224A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205413A (zh) * 2021-12-17 2022-03-18 中国建设银行股份有限公司 消息推送方法、电子设备、装置及程序产品

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769118A (zh) * 2019-09-26 2020-02-07 维沃移动通信有限公司 一种消息提示方法及终端设备
CN111885258B (zh) * 2020-07-22 2021-11-16 维沃移动通信有限公司 未读消息的显示方法、装置、电子设备及存储介质
CN112965778B (zh) * 2021-03-22 2023-08-04 北京五八信息技术有限公司 聊天页面展示方法、装置、电子设备和计算机可读介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369099A (zh) * 2012-03-26 2013-10-23 宇龙计算机通信科技(深圳)有限公司 移动终端和该移动终端未读消息显示方法
US20150200979A1 (en) * 2014-01-13 2015-07-16 Cisco Technology, Inc. Viewing different window content with different attendees in desktop sharing
CN105373387A (zh) * 2015-11-27 2016-03-02 努比亚技术有限公司 移动终端动态显示应用图标的方法及装置
CN106708524A (zh) * 2016-12-27 2017-05-24 宇龙计算机通信科技(深圳)有限公司 应用信息展示方法、应用信息展示装置及终端
CN107734179A (zh) * 2017-10-27 2018-02-23 维沃移动通信有限公司 一种消息提示方法、移动终端
CN107967127A (zh) * 2016-10-14 2018-04-27 中兴通讯股份有限公司 一种信息显示方法及终端
US20190272141A1 (en) * 2014-03-07 2019-09-05 Steelcase Inc. Method and system for facilitating collaboration sessions
CN110769118A (zh) * 2019-09-26 2020-02-07 维沃移动通信有限公司 一种消息提示方法及终端设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547628A (zh) * 2018-10-30 2019-03-29 努比亚技术有限公司 镜像显示方法、装置及计算机可读存储介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369099A (zh) * 2012-03-26 2013-10-23 宇龙计算机通信科技(深圳)有限公司 移动终端和该移动终端未读消息显示方法
US20150200979A1 (en) * 2014-01-13 2015-07-16 Cisco Technology, Inc. Viewing different window content with different attendees in desktop sharing
US20190272141A1 (en) * 2014-03-07 2019-09-05 Steelcase Inc. Method and system for facilitating collaboration sessions
CN105373387A (zh) * 2015-11-27 2016-03-02 努比亚技术有限公司 移动终端动态显示应用图标的方法及装置
CN107967127A (zh) * 2016-10-14 2018-04-27 中兴通讯股份有限公司 一种信息显示方法及终端
CN106708524A (zh) * 2016-12-27 2017-05-24 宇龙计算机通信科技(深圳)有限公司 应用信息展示方法、应用信息展示装置及终端
CN107734179A (zh) * 2017-10-27 2018-02-23 维沃移动通信有限公司 一种消息提示方法、移动终端
CN110769118A (zh) * 2019-09-26 2020-02-07 维沃移动通信有限公司 一种消息提示方法及终端设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205413A (zh) * 2021-12-17 2022-03-18 中国建设银行股份有限公司 消息推送方法、电子设备、装置及程序产品
CN114205413B (zh) * 2021-12-17 2024-04-09 中国建设银行股份有限公司 消息推送方法、电子设备、装置及程序产品

Also Published As

Publication number Publication date
CN110769118A (zh) 2020-02-07

Similar Documents

Publication Publication Date Title
WO2020199758A1 (zh) 消息显示方法及终端设备
CN111049663B (zh) 一种创建话题群的方法、电子设备及介质
WO2021093429A1 (zh) 群聊方法及电子设备
WO2021197263A1 (zh) 内容共享方法及电子设备
WO2021082741A1 (zh) 显示方法及电子设备
WO2021057224A1 (zh) 消息提示方法及终端设备
WO2021115359A1 (zh) 界面显示方法及电子设备
WO2020215932A1 (zh) 显示未读消息的方法及终端设备
WO2021083087A1 (zh) 截屏方法及终端设备
WO2021110053A1 (zh) 文件发送方法及终端设备
WO2020151525A1 (zh) 消息发送方法及终端设备
WO2021004327A1 (zh) 应用权限设置方法及终端设备
CN110888707A (zh) 一种消息发送方法及电子设备
WO2021093844A1 (zh) 共享控制方法及电子设备
WO2021057290A1 (zh) 信息控制方法及电子设备
WO2020192282A1 (zh) 通知消息显示方法及终端设备
WO2021093766A1 (zh) 消息显示方法及电子设备
WO2020057258A1 (zh) 信息处理方法及终端
WO2021083088A1 (zh) 消息显示方法及终端设备
WO2016116041A1 (zh) 一种信息推荐的管理方法、装置和系统
WO2020192299A1 (zh) 信息显示方法及终端设备
WO2020199783A1 (zh) 界面显示方法及终端设备
CN108681427B (zh) 一种访问权限控制的方法及终端设备
WO2020192323A1 (zh) Sim卡选择方法及终端设备
WO2020192324A1 (zh) 界面显示方法及终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20869806

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20869806

Country of ref document: EP

Kind code of ref document: A1