WO2019071539A1 - Method and device for scrolling display of notification message - Google Patents

Method and device for scrolling display of notification message Download PDF

Info

Publication number
WO2019071539A1
WO2019071539A1 PCT/CN2017/105910 CN2017105910W WO2019071539A1 WO 2019071539 A1 WO2019071539 A1 WO 2019071539A1 CN 2017105910 W CN2017105910 W CN 2017105910W WO 2019071539 A1 WO2019071539 A1 WO 2019071539A1
Authority
WO
WIPO (PCT)
Prior art keywords
notification message
user interface
notification
area
display
Prior art date
Application number
PCT/CN2017/105910
Other languages
French (fr)
Chinese (zh)
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 华为技术有限公司
Priority to PCT/CN2017/105910 priority Critical patent/WO2019071539A1/en
Priority to CN201780095717.0A priority patent/CN111201512A/en
Publication of WO2019071539A1 publication Critical patent/WO2019071539A1/en

Links

Images

Classifications

    • 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]
    • 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/725Cordless telephones

Definitions

  • the present invention relates to a terminal device and a control method thereof, and in particular to an apparatus and method for displaying an interface.
  • Mobile terminals have become more and more multifunctional. Examples of such functions include data and voice communications, capturing images and video via a camera, recording audio, playing music files via a speaker system, and displaying images and video on a display. Some mobile terminals include additional functionality to support game play, while other terminals are configured as multimedia players. As these functions become more diverse, mobile terminals can support more complex functions such as taking images or videos, playing music or video files, playing games, receiving broadcast signals, and the like.
  • an embodiment of the present application provides a method for processing a notification message by a terminal device having a touch screen, the method comprising: the touch screen can display a first user interface, wherein the first user interface can include a first area; The device may obtain the first notification message, where the first notification message may be displayed in the first area of the first user interface, where the first notification message may have a first source; the terminal device may also obtain the first a second notification message, the second notification message may be displayed in the first area of the first user interface, wherein the second notification message may have a second source, and the second source may be different from The first source; wherein the first notification message and the second notification message may be displayed with different scrolling effects.
  • the terminal device obtains a notification message from a different program (eg, WeChat, facebook) or the same program (eg, a favorite contact or a stranger in the mobile phone contact), based on the different sources of the notification message being in the first area Show different scrolling effects.
  • a different program eg, WeChat, facebook
  • the same program eg, a favorite contact or a stranger in the mobile phone contact
  • the notification message sent by the favorite contact may be a blinking, slow scrolling
  • the notification message sent by the stranger may be a fast scrolling, so that the user can view the notification message more humanized and Identify the source of the notification message.
  • the first area of the first user interface is insufficient to display the content of the first notification message, the first notification message being scrolled within the first area.
  • the first notification message When the content of the first notification message is large and needs to be displayed in multiple lines, that is, when the first area is insufficient to display the notification message, the first notification message may be scrolled and displayed in the first area, and the effect of scrolling may be horizontal.
  • the direction scrolls or scrolls vertically so that the user can completely view the notification message content without opening the program corresponding to the notification message.
  • a portion of the content of the first notification message is highlighted.
  • the part of the first notification message may be information such as time, phone number, flight number, train number, verification code, address, and the like.
  • Highlighting can include highlighting, bolding, flickering, shifting, coloring, underlining, etc., so that the user can quickly identify portions of the content of the notification message.
  • the method further comprises changing a scrolling effect of the first notification message in a first region of the first user interface in response to a first operation on the terminal device.
  • the operations on the terminal device include double tapping, long press, pressure touch, voice control, different fingerprints, image capture, hardware buttons, etc., wherein changing the scrolling effect of the notification message includes changing the scroll direction, frequency, rate, time, and state, so that Users can implement multiple styles to view notification messages.
  • the method further includes: switching to a second user interface, wherein the second user interface is a lock screen interface, wherein the second user interface is different from the first user interface; acquiring a third notification a message, the third notification message being displayed in the first area of the second user interface;
  • the third notification message acquired on the lock screen interface may be hidden or encrypted based on security considerations.
  • the third notification message in response to the operation on the terminal device, is scrolled in the notification box.
  • a notification box can be displayed in the first area. Further, if the third notification message acquired on the lock screen interface is not hidden or encrypted, in response to the first operation on the terminal device, changing the scrolling effect of the third notification message to achieve security under the lock screen interface Efficiently view notification messages.
  • the first user interface is a notification bar interface
  • the notification bar interface includes the first area and the second area, wherein the second area includes a plurality of function buttons or display elements
  • the first area of the first user interface simultaneously scrolls the first notification message and the second notification message.
  • the above design can implement multiple notification message notification scrolling display, and the scrolling effect can be different according to the source of the message, so that multiple notification messages under the notification bar interface are scrolled and displayed.
  • the first area of the first user interface includes a first display element; the first notification message is displayed in an area of the first area of the first user interface other than the first display element;
  • the first display element may be a “return” or “contact” button of the WeChat application.
  • the notification message is scrolled and displayed in the notification box except for the area of the UI control area, so as to achieve no effect when viewing the notification message. User action.
  • the first notification message stops displaying before the second notification message is scrolled and displayed in the first area of the first user interface.
  • the time to stop the display can be customized to achieve the time when the user can customize the notification message.
  • the first notification message includes at least one of an application message and a system program message.
  • scroll display effects described in the above design include, but are not limited to, scrolling to the left, scrolling to the right, scrolling up, scrolling down, scrolling back and forth in different directions, starting scrolling, stopping after scrolling, blinking while scrolling, and the like.
  • an embodiment of the present invention provides a terminal device having a function for implementing the foregoing method, and the function may be implemented by using hardware or by executing corresponding software by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • an embodiment of the present invention provides a terminal device, including: a display unit, configured to display and display a first user interface, the first user interface includes a first area; and an acquiring unit, acquiring a first notification message The first notification message is displayed in the first area of the first user interface, where the first notification message has a first source; the obtaining unit further acquires a second notification message, the second notification message Displayed in the first area of the first user interface, wherein the second notification message has a second source, and the second source is different from the first source; wherein the first notification message Displayed with the second notification message in a different scrolling effect.
  • an embodiment of the present invention further provides a graphical user interface (GUI), the graphical user interface being stored in a terminal device, the terminal device comprising a touch screen, a memory, and one or more processors, One or A plurality of processors for executing one or more computer programs stored in the memory, wherein the graphical user interface comprises: a first user interface displayed on the touch screen, the first user interface comprising An icon of the first application, where the first user interface further includes a first area, where the first area displays a first notification message; in response to acquiring the first notification message, the first a notification message is displayed in the first area of the first user interface, wherein the first notification message has a first source; and in response to acquiring a second notification message, the second notification message is displayed in the first a first area of a user interface, wherein the second notification message has a second source, and the second source is different from the first source; wherein the first notification message and the second Notification messages are displayed with different scrolling effects.
  • GUI graphical user interface
  • the terminal device includes a touch screen including a touch-sensitive surface and a display, a memory, one or more processors, a plurality of applications, and one or more computer programs.
  • the processor is configured to implement a corresponding function of the above method, wherein the one or more programs are stored in the memory, the one or more computer programs comprising instructions when the instructions are When the electronic device is executed, the electronic device is caused to perform the above method.
  • embodiments of the present invention provide a computer readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the above method.
  • Another object of the present invention is to provide a method of displaying different scrolling effects based on identifying a portion of content in a notification message, enabling a user to quickly browse information in the content of the notification message.
  • Another object of the present invention is to provide a method for scrolling display of a notification message based on a gesture operation or fingerprint recognition, so that the user can customize the effect of setting the scroll display notification message.
  • the present embodiment further provides a mobile terminal, the mobile terminal comprising: a touch screen configured to display a user interface; and a notification module configured to When the notification message is acquired or detected, the content of the notification message is semantically identified, and the complete notification message content is scrolled within the first area of the first user interface.
  • the scroll display effect in the embodiment includes, but is not limited to, scrolling to the left, scrolling to the right, scrolling up, scrolling down, scrolling back and forth in different directions, starting scrolling, pausing scrolling while scrolling, blinking while scrolling, etc. .
  • the notification module includes: a notification processing module, a scene recognition module, a semantic recognition module, a gesture recognition module, and a notification display module.
  • the notification processing module is configured to analyze a relationship between the first notification message content and the first region when the first notification message is acquired or detected.
  • the scene module is configured to analyze the display interface of the current terminal device.
  • the semantic recognition module is configured to: identify partial information in the first notification message content, wherein the partial information may be a phone number, a date, a verification code, a flight number, etc., and may also identify a source of the notification message Such as asterisks or collection contacts, ordinary contacts, strangers, etc.
  • priority may be set for different first notification message sources, such as an asterisk or a favorite contact having a higher priority than a normal contact, the normal contact having a higher priority than a stranger.
  • first notification message sources such as an asterisk or a favorite contact having a higher priority than a normal contact, the normal contact having a higher priority than a stranger.
  • an important contact can be determined according to a query or matching of a contact database of a contact or an application (eg, a WeChat program)
  • Part of the information identification in a notification message can be performed using general-purpose technology for regular expression matching to implement the content of the notification notification message that can be humanized in different scenarios.
  • the gesture recognition module is configured to trigger the first notification message to scroll or change a scrolling effect in response to a first operation on the terminal device.
  • the notification display module is configured to: scroll display the content of the first notification message, and the time of scrolling may be preset: including scrolling all the time, scrolling after 5 seconds, etc., to implement in different scenarios.
  • the content of the notification message can be viewed humanized.
  • the notification display module is configured to perform a positional movement display of a portion of the first notification message. For example, some content moves forward. In some embodiments, the notification display module is configured to: highlight or highlight, or flash, a portion of the content in the notification message to enable the user to view the notification message content in different scenarios.
  • the notification display module is configured to display portions of the first notification message at different frequencies and rates. In some embodiments, the notification display module is configured to scroll display of different effects according to the priority of the message source. In some embodiments, the notification display module is configured to perform a scrolling display of different effects under different interfaces. In some embodiments, the notification display module is configured to set the time at which the first notification message is displayed. Specifically, in different user interfaces, the display time of the first notification message may be set to be different, so as to enable the user to view the notification message content in different scenarios.
  • the first user interface may be a main interface
  • the first notification message is scrolled and displayed in the first area of the main interface
  • the manner of scrolling may be a manner preset by the user: including horizontal, vertical, and Go back and forth.
  • the scrolling time is also preset by the user: it includes scrolling all the way, scrolling stops after 5 seconds, and so on.
  • part of the first pair of notification messages may be highlighted or bolded, blinked, shifted, and the like displayed to enable personalized viewing of the notification message content in different scenarios.
  • the first user interface may be an application interface, and the first notification message performs scroll display in the first area in addition to the area outside the display element.
  • the display element can be a button.
  • the first notification message may be scrolled and displayed in the adjusted first area to enable user-friendly viewing of the notification message content in different scenarios.
  • the touch screen displays a lock screen interface, the first notification message not displaying a message in the first area.
  • the touch screen displays a lock screen interface, and in response to the first operation on the terminal device, the first notification message is scrolled and displayed in the first area to enable humanized viewing in different scenarios. Notification message content.
  • the first notification message is scrolled through the pop-up notification message bar. In some embodiments, the first notification message may also not be scrolled in the pop-up notification message field. In some embodiments, the scroll display may be triggered when the touch screen surface receives the gesture operation, or the scrolling effect of the notification message may be changed to enable viewing of the notification message content that can be humanized in different scenarios.
  • the solution provided by the invention can humanize the notification message, thereby improving the user experience.
  • FIG. 1 shows a schematic diagram of a portable terminal device provided in accordance with one embodiment.
  • FIG. 2 shows a schematic diagram of a home interface display notification message provided in accordance with one embodiment.
  • FIG. 3A illustrates a first state diagram of a home interface display notification message provided in accordance with one embodiment.
  • FIG. 3B illustrates a second state diagram of a home interface display notification message provided in accordance with one embodiment.
  • FIG. 4A shows a third state diagram of a home interface display notification message provided in accordance with one embodiment.
  • 4B shows a fourth state diagram of a home interface display notification message provided in accordance with one embodiment.
  • FIG. 5A illustrates a first state diagram of an application interface display notification message provided in accordance with one embodiment.
  • FIG. 5B illustrates a second state diagram of an application interface display notification message provided in accordance with one embodiment.
  • 6A shows a first state diagram of a lock screen interface display notification message provided in accordance with one embodiment.
  • 6B shows a second state diagram of a lock screen interface display notification message provided in accordance with one embodiment.
  • 6C shows a third state diagram of a lock screen interface display notification message provided in accordance with one embodiment.
  • 6D shows a fourth state diagram of a lock screen interface display notification message provided in accordance with one embodiment.
  • Figure 6E illustrates a user settings box provided in accordance with one embodiment.
  • FIG. 7A illustrates a first state diagram of a notification bar interface display notification message provided in accordance with one embodiment.
  • FIG. 7B illustrates a second state diagram of a notification bar interface display notification message provided in accordance with one embodiment.
  • FIG. 8A shows a schematic diagram of a scrolling effect provided according to an embodiment.
  • FIG. 8B shows another scrolling effect diagram provided in accordance with one embodiment.
  • FIG. 9A shows a schematic diagram of changing a scrolling effect provided in accordance with an embodiment.
  • FIG. 9B shows a schematic diagram of a scrolling effect provided in accordance with one embodiment.
  • FIG. 9C illustrates another schematic diagram of changing the scrolling effect provided in accordance with one embodiment.
  • Figure 10 shows a schematic diagram of another scrolling effect provided in accordance with one embodiment.
  • Figure 11 shows a schematic diagram of another scrolling effect provided in accordance with one embodiment.
  • Figure 12A shows a schematic diagram of a notification module provided in accordance with one embodiment.
  • FIG. 12B shows another schematic diagram of a notification module according to an embodiment.
  • FIG. 13 is a schematic diagram showing the relationship between the content of the notification notification message and the notification box according to an embodiment.
  • FIG. 14 shows a schematic diagram of a method for scrolling display of a notification message based on a source of a notification message, according to an embodiment.
  • FIG. 15 is a schematic diagram of a method for determining whether to scroll display of a notification message according to an embodiment.
  • FIG. 16 is a schematic diagram of a method for recommending a scrolling direction of a notification message according to an embodiment.
  • FIG. 17A is a schematic diagram showing a first structure of a terminal device according to an embodiment.
  • FIG. 17B is a schematic diagram showing a second structure of a terminal device according to an embodiment.
  • the embodiment provides a terminal device 100 for displaying a notification message, including an operating system 001, a communication module 002, a GPS module 003, a notification module 004, a fingerprint recognition module 005, a text input module 006, and a contact and motion.
  • a notification message including an operating system 001, a communication module 002, a GPS module 003, a notification module 004, a fingerprint recognition module 005, a text input module 006, and a contact and motion.
  • the terminal device 100 may include a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, a TV, a wearable device, an AR, and a VR device. Wait.
  • a PDA Personal Digital Assistant
  • POS Point of Sales
  • the components of the terminal device 100 will be specifically described below with reference to FIG. 1 :
  • the RF circuit 016 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the processor 015 processes the data. In addition, the uplink data is designed to be sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
  • RF circuit 016 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • the memory 014 can be used to store software programs and modules, and the processor 015 executes various functional applications and data processing of the terminal device 100 by running software programs and modules stored in the memory 014.
  • the memory 014 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal device 100 (such as audio data, phone book, etc.) and the like.
  • memory 014 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • Other input devices 024 can be used to receive input digital or character information, as well as to generate key signal inputs related to user settings and function control of terminal device 100.
  • other input devices 024 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and light mice (the light mouse is not sensitive to display visual output) One or more of a surface, or an extension of a touch sensitive surface formed by a touch screen.
  • the other input devices 024 are coupled to other input device controllers 021 of the I/O subsystem 031 and are in signal communication with the processor 015 under the control of other device input controllers 021.
  • a touch display (also referred to as "touch screen”) 028 can be used to display information entered by the user or information provided to the user as well as various menus of the terminal device 100, and can also accept user input.
  • the touch screen 028 can include a display panel 029, and a touch panel 030.
  • the display panel 029 can be configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch panel 030 also referred to as a touch sensitive screen, can collect contact or non-contact operations on or near the user (eg, the user uses any suitable object or accessory such as a finger, a stylus, etc.
  • the operation in the vicinity of the touch panel 030 may also include a somatosensory operation; the operation includes a single-point control operation, a multi-point control operation, and the like, and the corresponding connection device is driven according to a preset program.
  • the touch panel 030 can include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation and posture of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts the signal into a processor. The processed information is sent to the processor 015 and can receive commands from the processor 015 and execute them.
  • the touch panel 030 can be implemented by using various types such as resistive, capacitive, infrared, and surface acoustic waves, and the touch panel 030 can be implemented by any technology developed in the future. Further, the touch panel 030 can cover the display panel 029, and the user can display according to the display panel 029.
  • the displayed content (including but not limited to, a soft keyboard, a virtual mouse, a virtual button, an icon, etc.) is operated on or near the touch panel 030 covered on the display panel 029, and the touch panel 030 detects that After the touch operation on or near it, it is transmitted to the processor 015 through the I/O subsystem 031 to determine the type of the touch event to determine the user input, and then the processor 015 is displayed by the I/O subsystem 031 according to the type of the touch event. A corresponding visual output is provided on panel 029.
  • the touch panel 030 and the display panel 029 are two independent components to implement the input and input functions of the electronic device 100, in some embodiments, the touch panel 030 and the display panel 029 may be Integration and implementation, input and output functions of the terminal device 100.
  • terminal device 100 also includes (or is in communication with) one or more fingerprint sensors 032.
  • Figure 1 shows a fingerprint sensor 032 spliced to a processor peripheral interface.
  • fingerprint sensor 032 can optionally be coupled to an input controller of I/O subsystem 031.
  • a fingerprint sensor is a sensor that is capable of distinguishing fingerprint features of the ridges and valleys of the skin (sometimes referred to as "detail features") such as those found on human fingers and toes. Fingerprint sensors can distinguish fingerprint features using any of a variety of techniques including, but not limited to, optical fingerprint imaging, ultrasonic fingerprint imaging, active capacitive fingerprint imaging, and passive capacitive fingerprint imaging.
  • fingerprint sensor 032 in addition to distinguishing fingerprint features in the fingerprint, fingerprint sensor 032 is also capable of tracking the movement of the fingerprint features over time to determine the movement of the fingerprint on the fingerprint sensor over time.
  • fingerprint recognition sensor 032 can be integrated on touch screen 028. Although fingerprint sensor 032 is illustrated in FIG. 1 as being separate from touch screen 028 having a touch-sensitive surface, it should be understood that in some implementations, the fingerprint sensor can be configured to overlap at least a portion of touch screen 028, at a different In an example, the fingerprint recognition sensor can be configured to be disposed within the touch screen 028, in which case the controller 015 can identify the user's finger (ie, the user's fingerprint) that touches the touch screen 028 through the touch screen 028. In some embodiments, the fingerprint recognition sensor can also be integrated on a physical button (eg, a home button).
  • a physical button eg, a home button
  • Terminal device 100 may also include at least one other sensor, such as optical sensor 025, motion sensor 026, biosensor 027, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 029 according to the brightness of the ambient light, and the proximity sensor may close the display panel 029 when the terminal device 100 moves to the ear. And / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal device 100 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
  • An audio circuit 017, a speaker 018, and a microphone 019 can provide an audio interface between the user and the terminal device 100.
  • the audio circuit 017 can transmit the received audio data converted signal to the speaker 018, and is converted into a sound signal output by the speaker 018; on the other hand, the microphone 019 converts the collected sound signal into a signal, which is received by the audio circuit 017.
  • the audio data is converted to audio data, which is then output to the RF circuit 016 for transmission to, for example, another terminal device, or the audio data is output to the memory 014 for further processing.
  • the I/O subsystem 031 is used to control external devices for input and output, and may include other device input controllers 021, sensor controllers 022, and display controllers 023.
  • one or more other input control device controllers 021 receive signals from other input devices 024 and/or send signals to other input devices 024, which may include physical buttons (press buttons, rocker buttons, etc.) , dial, slide switch, joystick, click wheel, light mouse (light mouse is a touch-sensitive surface that does not display visual output, or an extension of a touch-sensitive surface formed by a touch screen). It is worth noting that Other input control device controllers 021 can be coupled to any one or more of the above devices.
  • the touch display controller 023 in the I/O subsystem 031 receives signals from the touch screen 028 and/or transmits signals to the touch screen 028. After the touch screen 028 detects the user input, the touch screen controller 023 converts the detected user input into interaction with the user interface object displayed on the touch screen 028, that is, realizes human-computer interaction.
  • Sensor controller 022 can receive signals from one or more sensors and/or send signals to one or more sensors.
  • Processor 015 is the control center of terminal device 100, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 014, and recalling data stored in memory 014.
  • the various functions and processing data of the terminal device 100 are executed to perform overall monitoring of the mobile phone.
  • the processor 015 may include one or more processing units; preferably, the processor 015 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 015.
  • the terminal device 100 further includes a power source 020 (such as a battery) that supplies power to the various components.
  • a power source 020 such as a battery
  • the power source can be logically coupled to the processor 015 through the power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the terminal device 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the RF circuit 016, the touch screen 028, the display controller 023, the contact module 007, the text input module 006, and the instant message module 011 include a sequence of characters for inputting an instant message, modifying a previously input character, transmitting a corresponding instant message, An executable instruction that receives an instant message and views the received instant message.
  • the transmitted received instant message optionally includes graphics, photos, audio files, video files, MMS, other attachments supported in Enhanced Messaging Service (EMS).
  • EMS Enhanced Messaging Service
  • instant messaging refers to both phone-based messages (eg, messages sent using SMS or MMS) and Internet-based messages (eg, messages sent using XMPP, SIMPLE, or IMPS).
  • the contact module 009 is optionally used to manage the address book or the contact list, including: adding one or more names to the address book; Deleting one or more names from the address book; associating one or more phone numbers, one or more email addresses, one or more physical addresses, or other information with the name; causing the image to be associated with the name; Sort and sort names; provide phone numbers or email addresses to initiate and/or facilitate communication via phone, video conferencing, email, and more.
  • modules and applications identified above corresponds to one or more of the functions described above and the methods described in this patent application (eg, computer implemented methods and other information processing methods described herein) a set of executable instructions.
  • modules ie, sets of instructions
  • memory 014 optionally stores a subset of the modules and data structures described above. Additionally, memory 014 optionally stores additional modules and data structures not described above.
  • This embodiment provides a method of scrolling display of the content of a notification message.
  • the terminal device 100 receives notification messages from different programs (for example, WeChat or Facebook) or the same program in different scenarios (for example, the main interface 110 or the application interface 111), and displays different scrolling effects according to different sources thereof. .
  • the terminal device 100 has a main interface 110, an application interface 111, a lock screen interface 112, a notification bar interface 113, a horizontal screen interface 114, and a notification frame 115 on the touch screen 028.
  • the terminal device 100 is not limited to the user interface and controls described above, and in some embodiments, the first region may include a notification box 115.
  • the first notification message in response to the first notification message having the first source, is displayed in the notification box 115 in a first display manner, wherein the first display mode can be a scrolling display; a second notification message of the second source, the second notification message is scrolled and displayed in a second display manner, wherein the first notification message source is different from the second notification message source, and the second display mode may be static display or not Scroll display.
  • the "static display” described below may be when the notification message content exceeds the notification box 115, the notification content ends in a "" manner, and the complete content cannot be displayed. In some embodiments, the "static display” may also notify that the content of the message content does not exceed the notification box 115, and the notification message is completely displayed in the notification box.
  • the terminal device 100 is currently the main interface 110, and a notification message may be displayed in the notification box 115.
  • the notification message can be displayed in the notification box 115 under any interface of the application interface 111, the lock screen interface 112, the notification bar interface 113, and the horizontal screen interface 114.
  • the notification box 115 upon receipt of the notification message, can be popped up above the various interfaces or elsewhere, or displayed directly, and can disappear automatically after a period of time, or manually removed by the user.
  • the terminal device 100 is under any interface (for example, the main interface 110 or the application interface 111). If the first short message sent from the favorite contact is obtained, the first short message is notified. The scrolling is displayed in the horizontal direction in the frame 115. If the second short message sent from the stranger is acquired, the second short message is scrolled in the vertical direction in the notification box 115 or displayed statically or not. In some embodiments, the first short message and the second short message may also be from different applications (eg, WeChat and Facebook). In some embodiments, scrolling effects include, but are not limited to, scrolling to the left, scrolling to the right, scrolling up, scrolling down, scrolling back and forth in different directions, initiating scrolling, pausing scrolling, blinking, and the like.
  • the current interface of the terminal device 100 is the main interface 110, and the notification message scrolls horizontally to display the complete content in the notification box 115.
  • the terminal device 100 is currently the main interface 110, and the notification box 115 scrolls vertically to display the complete notification content or part of the content.
  • the scrolling effect is not limited to the horizontal direction, the vertical direction, and the like.
  • the scrolling mode may be scrolling up and down or scrolling left and right.
  • the user can customize the time for setting the scroll display, such as stopping scrolling after 5S or hiding the notification box.
  • the important information in the notification content may be time, phone number, verification code, flight number, verification code, etc.
  • the identified important information may be identified.
  • the manner of identification may be bold, highlighted, in some embodiments, to facilitate the user to identify the source of the notification message, may be a message from a contact, a stranger, or an application.
  • the priority of important information in the notification message can be identified, for example, the time priority is higher than the phone number, the flight number/time priority is higher than the verification code, and the like. In some embodiments, the priority may be set according to the source of the notification message.
  • the favorite or asterisk contact may be set to have a higher priority than the normal contact, and the ordinary contact has a higher priority than the stranger.
  • different scrolling effects eg, different frequencies or rates, blinks, etc. may be displayed depending on the source of the notification message.
  • the partial information identification in the notification content can be performed using a general technique for regular expression matching to achieve different
  • the content of the notification message can be humanized in the scene.
  • the current terminal device 100 is an application interface 111.
  • the Wecha program is used as an example.
  • the pop-up of the notification box 115 does not affect some of the application interface 111.
  • the information and important controls are displayed, and the "return" control and the "chat person information" control are not overwritten, and the notification content is scrolled in the adjusted notification box 115.
  • the embodiment is not limited to the WeChat program interface.
  • the notification box 115 may be set to not cover the control or display content settings, such as video playback and volume buttons. Such as the game's attack action buttons, vital values and other important parameters.
  • the scrolling mode may be scrolling up and down or scrolling left and right.
  • the user can customize the time for setting the scroll display, such as stopping scrolling after 5S or hiding the notification box.
  • the notification box 115 hides or encrypts the content of the notification message, for example, displaying "sms" : You received a message, please check.”
  • the user can also customize the lock screen interface according to requirements or display the notification message content.
  • the notification message may scroll display the notification content in the notification box 115.
  • the lock screen interface 112 is set to “do not display message content”, but it is cumbersome to view the notification message after unlocking.
  • the present embodiment provides a method for scrolling display notification messages based on fingerprint recognition. As shown in FIGS. 6B, 6C, and 6D, the fingerprint identification area collects a fingerprint pattern. If the stored fingerprint pattern can be matched, the notification message is scrolled and displayed in the notification box 115.
  • the fingerprint sensor can also be disposed at other locations of the terminal device 100.
  • a touch operation may also be allowed, and if the touch track matches the preset track, the notification message scrolls through the notification content in the notification bar under the lock screen interface 112.
  • the scrolling mode may be scrolling up and down or scrolling left and right.
  • the user can customize the time for setting the scroll display, such as stopping scrolling after 5S or hiding the notification box.
  • the terminal device 100 is currently in the notification bar interface 113, and the notification message is scrolled horizontally in the notification bar 113.
  • the notification bar interface 112 displays a plurality of notification messages, depending on the source of the notification message (such as a favorite contact, a stranger, etc.) or a different message type (such as a message from WeChat, a message from Facebook) ), set different scrolling effects, including but not limited to: scroll left, scroll right, scroll up, scroll back and forth in different directions, start scrolling, pause scrolling, blink, etc.
  • the user may also customize to display the scrolling message content under the notification bar interface 112.
  • the scrolling mode may be scrolling up and down or scrolling left and right.
  • the user can customize the time to set the scroll display, such as stopping scrolling after 5S or hiding the notification box 115.
  • a portion of the content of the notification message can be highlighted.
  • part of the content of the notification message may also be highlighted or displayed in a scrolling effect such as bold, blinking, or the like.
  • part of the content of the notification message may also be displayed in a positional shift, ie, re-formatted. For example, some content is moved forward, etc., as shown in FIG. 8B, the verification code is “88888”, and is moved to the forefront of the notification message, especially when the verification code is input in the application interface 111, and the program content can be viewed without switching the program. Quick input.
  • portions of the notification message may also be displayed at different frequencies and rates.
  • scrolling of different effects may also be performed according to the priority of the message source.
  • scrolling of different effects is performed under different interfaces.
  • the time at which the notification message is displayed may be set. In particular, in different user interfaces or scenarios, the display time of the notification message may be set to be different, such as the frequency and rate of scrolling in the case of the main page 110. Can be slower than the application interface 111.
  • the notification message content can be scrolled in a default manner (eg, scrolling horizontally to the right).
  • FIG. 9A can be double-clicked, long pressed, pressure touched, voice-activated, different fingerprints, image capture, hardware buttons
  • the different operation settings notify the content scroll direction to be vertical.
  • FIGS. 9B and 9C different gesture operations such as double tap, long press, pressure touch, voice control, different fingerprints, image capture, hardware buttons, etc. can be used to change the notification content scroll direction to a horizontal direction.
  • different gestures or operations such as double tap, long press, pressure touch, voice control, different fingerprints, image capture, hardware buttons, etc. can be set to trigger or stop the message scrolling.
  • the gesture may also be user-defined, and the terminal device 100 may provide an entry for the user-defined gesture.
  • the terminal device 100 is currently a landscape interface 114 and then does not scroll display.
  • the terminal device 100 is currently a horizontal screen interface 114, and the notification box 115 can scroll in the adjusted notification box 115 in order not to obscure the display elements such as controls of the current interface. display.
  • the scrolling mode may be scrolling up and down or scrolling left and right.
  • the user can customize the time to set the scroll display, such as stopping scrolling after 5S or hiding the notification box 115.
  • the area in which the terminal device 100 receives the gesture operation may be the notification box 115 area. In some embodiments, the area of the gesture operation (including the fingerprint) may also be a blank area of the user interface.
  • the notification module 004 includes at least one notification processing module 201, at least one scene recognition module 202, and at least one notification display module 203; in some embodiments, as shown in the figure 12B.
  • the notification module 004 includes at least one notification processing module 201, at least one scene recognition module 202, at least one notification display module 203, at least one semantic recognition module 204, and at least one gesture recognition module 205.
  • the structure of the notification module 004 is not limited to the above two types, and can be freely combined to achieve different scroll display effects.
  • the terminal device 100 before the notification message is scrolled in the notification box 115, the terminal device 100 first determines the relationship between the notification message content and the notification box 115, and detects whether the notification content exceeds the boundary of the notification frame 115.
  • the steps to judge are as follows:
  • Step 1 Obtain the height H1 and the width W1 of the notification layout display
  • Step 2 obtaining the text content of the notification, and the font size of the notification content display, and the margin value of the content from the layout, and calculating the length value L2 required for the complete display of the notification content;
  • Step 3 Calculate the maximum number of display lines according to the text font size and layout height (or the maximum number of display lines set by the system), divide the length value required for the complete content by the layout width W1, and get the number of lines required to display the complete content. ;
  • Step 4 Finally compare the number of lines required to display the complete content with the maximum number of lines allowed in the actual layout. If the maximum number of lines allowed in the layout is less than the number of lines required to display the complete content, the notification needs to be scrolled, otherwise scrolling is not required.
  • the specific calculation scheme is as follows: the width occupied by the single-line notification is (according to the left and right boundary parameters of the layout): w1-2*x1, and the height occupied by the single-line notification is calculated according to the font size and the upper and lower boundaries of the layout.
  • the maximum number of display lines in the layout is: the total height H1/the height occupied by the single-line notification (h+2*y1), and the required length of the notification content is displayed (according to the font size and the number of characters) Result): L2, the number of lines required for the complete display of the notification content is: L2/(w1-2*x1), if the notification content is completely displayed, the required number of lines L2/(w1-2*x1) is greater than the maximum number of display lines of the layout H1 /(h+2*y1), the notification needs to be scrolled, otherwise it is not needed.
  • N can take values 1, 2, 3
  • the notification content is scrolled using the vertical direction (reading the content more quickly) ); otherwise, use horizontal scrolling to display the notification content.
  • This embodiment also provides a schematic diagram of a method for displaying a notification message with different scrolling based on different sources of the notification message.
  • a first notification message having a first source and a second message having a second source are obtained, wherein the first source is different from the second source.
  • the first notification message and the second notification message are Different scrolling effects scroll display, wherein the first notification message stops displaying before the second notification message is scrolled; or the first notification message is displayed in the first area of the first user interface simultaneously with the second notification.
  • the embodiment further provides a method for determining whether to scroll display of a notification message. As shown in FIG. 15, in step S200, a notification message is obtained. In step S210, it is determined whether the content of the notification message exceeds the notification box. If it is exceeded, the step S230 is performed to scroll display, otherwise the process proceeds to step S240 for static display. S220 is used to determine the current display interface.
  • the embodiment further provides a method for recommending the notification message to scroll the display direction.
  • the notification module receives or detects a notification message of the incoming program.
  • the notification processing module determines whether the notification content exceeds the maximum display line number of the display layout box, and if not, displays the notification message statically (S340), otherwise proceeds to the next step S320.
  • step S320 it is further determined whether the content of the notification message is greater than the maximum display line number +N of the notification layout frame, and N may be 0, 1, 2, or the like. Finally, the above result is the horizontal direction (S350). If not, the display is scrolled in the vertical direction (S330).
  • the embodiment of the present invention provides a mobile terminal 100, as shown in FIG. 17A, comprising: a display module 102 for outputting screen information related to operation of the mobile terminal or inputting operation information such as fingerprints and touches; and the fingerprint identification module 103 is responsive to being stored in a fingerprint pattern in the memory; and a notification module 104, the notification module is configured to: after the notification message enters the notification module 004, the notification module 004 is analyzed and finally displayed in the notification box 115 under different interfaces, and is performed by the user. Interaction; and controller 015 for performing various instruction operations.
  • a mobile terminal 100 is provided.
  • the display unit 302 is configured to output screen information related to the operation of the mobile terminal or input operation information such as a fingerprint and a touch.
  • the acquiring unit 303 is configured to: Acquiring the first notification message; the response unit 304: configured to change a scrolling effect of the first notification message in a first area of the first user interface in response to a first operation on the terminal device; highlighting The unit 305 is configured to highlight a part of the content of the first notification message, where the part of the content includes a combination of any one or any of a time, a phone number, a flight, a train, a verification code, and an address; And the controller 015: used to perform various instruction operations.
  • the notification box 115 is configured to display a partial area of the area. In some embodiments, the size of the notification box 115 can be adjusted based on information of the user interface. In particular, under the application interface 111, the notification box 115 can identify and perform scaling adjustments for the display content, controls in the application, etc., and the notification message content can be scroll displayed in the resized notification frame 115.
  • the scene recognition module 202 is stored in the memory 014 and is responsible for identifying the current scene of the terminal device 100. In some embodiments, the scene recognition module 202 identifies whether the terminal device 100 is in the display screen interface 112. In some implementations, the scene recognition module 202 can also identify whether the lock screen display notification content function switch of the terminal device 100 is turned on. In some embodiments, the scene recognition module 202 can also identify whether the handset 100 is in the home interface 110. In some implementations, the scene recognition module 202 can also recognize that the terminal device 100 is in the application interface 111. In some embodiments, the scene recognition module 202 can also identify whether the terminal device 100 is in the landscape interface 114. In some embodiments, the scene recognition module 202 can also identify whether it is currently a DND scene, particularly, such as when the user is playing a game, video playing, or the like.
  • the semantic recognition module 204 is stored in the memory 014 and is primarily responsible for parsing the content in the notification content.
  • the semantic recognition module 204 identifies that the important information in the notification content can be time, phone number, verification code, flight number, and the like.
  • the semantic recognition module 204 can identify the source of the notification message, which can be a message from a contact, a stranger, or an application.
  • the semantic recognition module 204 can identify the priority of important information in the notification message, for example, the time is higher than the phone number, the flight number/time is higher than the verification code, and the like.
  • the notification semantic recognition module 204 can set a priority according to the source of the notification message. In the case of a contact, the priority of the favorite or asterisk contact can be set higher than that of the ordinary contact, and the priority of the ordinary contact. Higher than strangers.
  • the notification display module 203 is stored in the memory 203 and is primarily responsible for scrolling the processed notification content within the notification box 115. In some embodiments, the notification display module 203 can also statically display content if scrolling to display the notification message is not required. In some embodiments, the notification display module 203 can scroll display the notification message content according to a preset effect. In some embodiments, the notification display module 203 can also perform location move display on the highlight content in the notification message. For example, the key content moves forward. In some embodiments, the notification display module 203 may also highlight or highlight the highlighting content in the notification message. In some implementations, the notification display module 203 can also display the different content in the notification message at different frequencies and rates.
  • the notification display module 203 can also perform scroll display of different effects according to the priority of the message source. In some embodiments, the notification display module 203 performs a scrolling display of different effects under different interfaces. In some embodiments, the notification display module 203 can set the time at which the notification message is displayed, in particular, the display time of the notification message can be set to be different in different user interfaces or scenarios.
  • the gesture recognition module 205 is stored in the memory 014 for recognizing the user's operation gesture and recommending the notification content scrolling effect.
  • the scrolling direction of the notification content may be a vertical direction by double tap, long press, pressure touch, different fingerprint, etc.
  • different gesture operations such as single finger, double finger up, or sliding, may be used to notify that the content scroll direction is a vertical direction.
  • different gesture operations such as single finger, double finger up or down may be set to trigger the message scrolling condition.
  • the gesture may also be user-defined, and the terminal device 100 may provide an entry for the user-defined gesture.
  • the gesture operations of the present invention include, but are not limited to, gesture operations such as click, double tap, double finger up, or double finger down.
  • the area of the gesture operation may be a notification message layout area.
  • the area of the gesture operation may also be a blank area of the user interface.
  • the touch screen 028 can implement fingerprint recognition, that is, gesture touch operation and fingerprint recognition, to achieve safer input.
  • the embodiment also provides a method of scrolling display of the content of the notification message.
  • the notification module 004 acquires or detects the notification message, it identifies the content of the notification message, analyzes the current scene of the terminal device 100, and scrolls through the notification box 115 to display the complete notification message.
  • Embodiments of the present invention can be arbitrarily combined to achieve different technical effects.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • computer readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage device, or can be used for carrying or storing in the form of an instruction or data structure.
  • connection may suitably be a computer readable medium.
  • the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave
  • coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwave are included in the fixing of the associated media.
  • a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.

Abstract

A terminal device acquires different notification messages of different programs or the same program, and displays, on the basis of different sources of the notification messages, different scrolling effects in a notification box. For example, a notification message from a favorite contact may be indicated by flickering and slow scrolling, while a notification message from a stranger may be indicated by quick scrolling. The present invention enables a user to view a notification message more conveniently.

Description

滚动显示通知消息的方法及设备Method and device for scrolling display notification message 技术领域Technical field
本发明涉及一种终端设备及控制方法,具体地讲,涉及一种显示界面的设备和方法。The present invention relates to a terminal device and a control method thereof, and in particular to an apparatus and method for displaying an interface.
背景技术Background technique
移动终端已经变得越来越多功能化。这些功能的示例包括数据和语音通信、经由相机拍摄图像和视频、记录音频、经由扬声器系统播放音乐文件以及在显示器上显示图像和视频。一些移动终端包括支持玩游戏的附加功能,而其它终端被配置成多媒体播放器。随着这些功能变得更多样化,移动终端可支持更复杂的功能,例如拍摄图像或视频、播放音乐或视频文件、玩游戏、接收广播信号等。Mobile terminals have become more and more multifunctional. Examples of such functions include data and voice communications, capturing images and video via a camera, recording audio, playing music files via a speaker system, and displaying images and video on a display. Some mobile terminals include additional functionality to support game play, while other terminals are configured as multimedia players. As these functions become more diverse, mobile terminals can support more complex functions such as taking images or videos, playing music or video files, playing games, receiving broadcast signals, and the like.
通常,用户在不同的场景下会收到来自不同程序或者同一程序不同的通知消息,然而当前终端设备查看通知消息内容的方式较为单一,且非常繁琐、低效,用户体验较差。Generally, users receive different notification messages from different programs or the same program in different scenarios. However, the current terminal device views the content of the notification message in a single manner, which is very cumbersome, inefficient, and has a poor user experience.
发明内容Summary of the invention
基于上述原因,本发明的一个目的在于提供一种具有触摸屏的终端设备处理通知消息的方法、装置及程序,以实现更加便利的查看通知消息。Based on the above reasons, it is an object of the present invention to provide a method, apparatus, and program for processing a notification message by a terminal device having a touch screen to implement a more convenient viewing notification message.
一方面,本申请的一个实施例提供了一种具有触摸屏的终端设备处理通知消息的方法,方法包括:触摸屏可以显示第一用户界面,其中,所述第一用户界面可以包括第一区域;终端设备可以获取第一通知消息,所述第一通知消息可以显示于所述第一用户界面的所述第一区域,其中,所述第一通知消息可以具有第一来源;终端设备还可以获取第二通知消息,所述第二通知消息可以显示于所述第一用户界面的所述第一区域,其中,所述第二通知消息可以具有第二来源,且所述第二来源可以不同于所述第一来源;其中,所述第一通知消息与所述第二通知消息可以以不同的滚动效果显示。In one aspect, an embodiment of the present application provides a method for processing a notification message by a terminal device having a touch screen, the method comprising: the touch screen can display a first user interface, wherein the first user interface can include a first area; The device may obtain the first notification message, where the first notification message may be displayed in the first area of the first user interface, where the first notification message may have a first source; the terminal device may also obtain the first a second notification message, the second notification message may be displayed in the first area of the first user interface, wherein the second notification message may have a second source, and the second source may be different from The first source; wherein the first notification message and the second notification message may be displayed with different scrolling effects.
终端设备获取到来自不同程序(例如,微信、facebook)或者同一程序(例如,手机联系人中的收藏联系人或者陌生人)的通知消息,基于通知消息的不同来源在在所述第一区域中显示不同的滚动效果。例如,收到收藏联系人的发来的通知消息可以是闪烁的、缓慢的滚动,而收到陌生人发来的通知消息可以是快速的滚动,以实现用户能够更加人性化的查看通知消息和识别通知消息来源。The terminal device obtains a notification message from a different program (eg, WeChat, facebook) or the same program (eg, a favorite contact or a stranger in the mobile phone contact), based on the different sources of the notification message being in the first area Show different scrolling effects. For example, the notification message sent by the favorite contact may be a blinking, slow scrolling, and the notification message sent by the stranger may be a fast scrolling, so that the user can view the notification message more humanized and Identify the source of the notification message.
在一个可能的设计中,所述第一用户界面的所述第一区域不足以显示所述第一通知消息的内容,所述第一通知消息在所述第一区域内滚动显示。In one possible design, the first area of the first user interface is insufficient to display the content of the first notification message, the first notification message being scrolled within the first area.
当第一通知消息内容较多,需要进行多行显示时,即所述第一区域不足以显示通知消息时,所述第一通知消息可以在第一区域中滚动显示,滚动的效果可以是水平方向滚动或者垂直方向滚动,以便用户能够在不打开与通知消息对应的程序的前提下完整的查看通知消息内容。When the content of the first notification message is large and needs to be displayed in multiple lines, that is, when the first area is insufficient to display the notification message, the first notification message may be scrolled and displayed in the first area, and the effect of scrolling may be horizontal. The direction scrolls or scrolls vertically so that the user can completely view the notification message content without opening the program corresponding to the notification message.
在一个可能的设计中,针对所述第一通知消息的部分内容进行突出显示。其中,所述第一通知消息的部分内容可以为时间、电话号码、航班号、车次、验证码、地址等信息。In one possible design, a portion of the content of the first notification message is highlighted. The part of the first notification message may be information such as time, phone number, flight number, train number, verification code, address, and the like.
突出显示可以包括高亮、加粗、闪烁、位移、上色、下划线等效果,以便用户能够快速识别通知消息内容中的部分内容。Highlighting can include highlighting, bolding, flickering, shifting, coloring, underlining, etc., so that the user can quickly identify portions of the content of the notification message.
在一个可能的设计中,方法进一步包括:响应于对所述终端设备的第一操作,改变所述第一通知消息在所述第一用户界面的第一区域的滚动效果。 In one possible design, the method further comprises changing a scrolling effect of the first notification message in a first region of the first user interface in response to a first operation on the terminal device.
所述对终端设备的操作包括双击、长按、压力触摸、声控、不同指纹、图像捕捉、硬件按钮等,其中,改变通知消息的滚动效果包括改变滚动方向、频率、速率、时间、状态,以便用户能够实现多种样式查看通知消息。The operations on the terminal device include double tapping, long press, pressure touch, voice control, different fingerprints, image capture, hardware buttons, etc., wherein changing the scrolling effect of the notification message includes changing the scroll direction, frequency, rate, time, and state, so that Users can implement multiple styles to view notification messages.
在一个可能的设计中,方法进一步包括:切换至第二用户界面,所述第二用户界面为锁屏界面,其中,所述第二用户界面区别于所述第一用户界面;获取第三通知消息,所述第三通知消息显示于所述第二用户界面的所述第一区域;In a possible design, the method further includes: switching to a second user interface, wherein the second user interface is a lock screen interface, wherein the second user interface is different from the first user interface; acquiring a third notification a message, the third notification message being displayed in the first area of the second user interface;
在锁屏界面获取的第三通知消息,基于安全考虑可能是隐藏或者加密的,在此种情况下,响应于对终端设备的操作,所述第三通知消息在通知框中滚动显示。通知框可以显示在所述第一区域。进一步地,如果在锁屏界面获取的第三通知消息没有隐藏或者加密,响应于对终端设备的第一操作,改变所述第三通知消息的滚动效果,以实现锁屏界面下也能够安全、高效的查看通知消息。The third notification message acquired on the lock screen interface may be hidden or encrypted based on security considerations. In this case, in response to the operation on the terminal device, the third notification message is scrolled in the notification box. A notification box can be displayed in the first area. Further, if the third notification message acquired on the lock screen interface is not hidden or encrypted, in response to the first operation on the terminal device, changing the scrolling effect of the third notification message to achieve security under the lock screen interface Efficiently view notification messages.
在一个可能的设计中,所述第一用户界面为通知栏界面,所述通知栏界面包括所述第一区域与第二区域,其中所述第二区域包括多个功能按钮或显示元素;In a possible design, the first user interface is a notification bar interface, and the notification bar interface includes the first area and the second area, wherein the second area includes a plurality of function buttons or display elements;
在一个可能的设计中,所述第一用户界面的第一区域同时滚动显示所述第一通知消息与所述第二通知消息。In a possible design, the first area of the first user interface simultaneously scrolls the first notification message and the second notification message.
上述设计可以实现多条通知消息通知滚动显示,滚动效果可以根据消息的来源不同而有所不同,以实现通知栏界面下多条通知消息滚动显示。The above design can implement multiple notification message notification scrolling display, and the scrolling effect can be different according to the source of the message, so that multiple notification messages under the notification bar interface are scrolled and displayed.
在一个可能的设计中,所述第一用户界面的第一区域包括第一显示元素;所述第一通知消息显示于所述第一用户界面的第一区域除第一显示元素以外的区域;例如,第一显示元素可以是微信应用程序的“返回”或者“联系人”按钮,此时,通知消息在通知框中除该UI控件区域以外的区域滚动显示,以实现查看通知消息时不影响用户操作。In a possible design, the first area of the first user interface includes a first display element; the first notification message is displayed in an area of the first area of the first user interface other than the first display element; For example, the first display element may be a “return” or “contact” button of the WeChat application. At this time, the notification message is scrolled and displayed in the notification box except for the area of the UI control area, so as to achieve no effect when viewing the notification message. User action.
在一个可能的设计中,所述第二通知消息在所述第一用户界面的所述第一区域滚动显示之前,所述第一通知消息停止显示。其中,停止显示的时间可以自定义设置,以实现用户可以自定义查看通知消息的时间。In one possible design, the first notification message stops displaying before the second notification message is scrolled and displayed in the first area of the first user interface. Among them, the time to stop the display can be customized to achieve the time when the user can customize the notification message.
在一个可能的设计中,所述第一通知消息,包括应用程序消息和系统程序消息其中至少一项。In one possible design, the first notification message includes at least one of an application message and a system program message.
上述设计中所述的滚动显示效果,包括但不限于:向左滚动、向右滚动、向上滚动、向下滚动、不同方向来回滚动、启动滚动、滚动后停止、边滚动边闪烁等。The scroll display effects described in the above design include, but are not limited to, scrolling to the left, scrolling to the right, scrolling up, scrolling down, scrolling back and forth in different directions, starting scrolling, stopping after scrolling, blinking while scrolling, and the like.
另一方面,本发明的一个实施例提供了一种终端设备,该终端设备具有实现上述方法的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。On the other hand, an embodiment of the present invention provides a terminal device having a function for implementing the foregoing method, and the function may be implemented by using hardware or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
另一方面,本发明的一个实施例提供了一种终端设备,包括:显示单元,用于显示显示第一用户界面,所述第一用户界面包括第一区域;获取单元,获取第一通知消息,所述第一通知消息显示于所述第一用户界面的所述第一区域,其中,所述第一通知消息具有第一来源;获取单元还获取第二通知消息,所述第二通知消息显示于所述第一用户界面的所述第一区域,其中,所述第二通知消息具有第二来源,且所述第二来源不同于所述第一来源;其中,所述第一通知消息与所述第二通知消息以不同的滚动效果显示。On the other hand, an embodiment of the present invention provides a terminal device, including: a display unit, configured to display and display a first user interface, the first user interface includes a first area; and an acquiring unit, acquiring a first notification message The first notification message is displayed in the first area of the first user interface, where the first notification message has a first source; the obtaining unit further acquires a second notification message, the second notification message Displayed in the first area of the first user interface, wherein the second notification message has a second source, and the second source is different from the first source; wherein the first notification message Displayed with the second notification message in a different scrolling effect.
另一方面,本发明的一个实施例还提供一种图形用户界面(GUI),所述图形用户界面存储在终端设备中,所述终端设备包括触摸屏、存储器、一个或多个处理器,所述一个或 多个处理器用于执行存储在所述存储器中的一个或多个计算机程序,其特征在于,所述图形用户界面包括:显示在所述触摸屏上的第一用户界面,所述第一用户界面包括第一应用的图标,用于访问第一应用,所述第一用户界面还包括第一区域,所述第一区域显示第一通知消息;响应于获取到所述第一通知消息,所述第一通知消息显示于所述第一用户界面的所述第一区域,其中,所述第一通知消息具有第一来源;响应于获取第二通知消息,所述第二通知消息显示于所述第一用户界面的所述第一区域,其中,所述第二通知消息具有第二来源,且所述第二来源不同于所述第一来源;其中,所述第一通知消息与所述第二通知消息以不同的滚动效果显示。In another aspect, an embodiment of the present invention further provides a graphical user interface (GUI), the graphical user interface being stored in a terminal device, the terminal device comprising a touch screen, a memory, and one or more processors, One or A plurality of processors for executing one or more computer programs stored in the memory, wherein the graphical user interface comprises: a first user interface displayed on the touch screen, the first user interface comprising An icon of the first application, where the first user interface further includes a first area, where the first area displays a first notification message; in response to acquiring the first notification message, the first a notification message is displayed in the first area of the first user interface, wherein the first notification message has a first source; and in response to acquiring a second notification message, the second notification message is displayed in the first a first area of a user interface, wherein the second notification message has a second source, and the second source is different from the first source; wherein the first notification message and the second Notification messages are displayed with different scrolling effects.
在一个可能的设计中,终端设备包括:触摸屏,所述触摸屏包括触敏表面和显示器;存储器;一个或多个处理器;多个应用程序,以及一个或多个计算机程序。其中,所述处理器被配置为实现上述方法中相应的功能,其中所述一个或多个程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述电子设备执行时,使得所述电子设备执行上述的方法。In one possible design, the terminal device includes a touch screen including a touch-sensitive surface and a display, a memory, one or more processors, a plurality of applications, and one or more computer programs. Wherein the processor is configured to implement a corresponding function of the above method, wherein the one or more programs are stored in the memory, the one or more computer programs comprising instructions when the instructions are When the electronic device is executed, the electronic device is caused to perform the above method.
另一方面,本发明实施例提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述方法。In another aspect, embodiments of the present invention provide a computer readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the above method.
另一方面,本发明的一个目的在于提供一种基于不同的用户界面下滚动显示通知消息的方法,使得用户在不用的用户界面下能够以直观且便利的方式查看通知消息内容。In another aspect, it is an object of the present invention to provide a method for scrolling display notification messages based on different user interfaces, such that the user can view the notification message content in an intuitive and convenient manner under an unused user interface.
本发明的另一个目的在于提供一种基于识别通知消息中的部分内容而显示不同的滚动效果的方法,使得用户能够快速的浏览到通知消息内容中的信息。Another object of the present invention is to provide a method of displaying different scrolling effects based on identifying a portion of content in a notification message, enabling a user to quickly browse information in the content of the notification message.
本发明的另一个目的在于提供一种基于手势操作或指纹识别而滚动显示通知消息的方法,使得用户可以自定义设置滚动显示通知消息的效果。Another object of the present invention is to provide a method for scrolling display of a notification message based on a gesture operation or fingerprint recognition, so that the user can customize the effect of setting the scroll display notification message.
为了实现这些优点以及其它优点并且根据本发明的目的,本实施例还提供了一种移动终端,该移动终端包括:触摸屏,该触摸屏被配置为显示用户界面;以及通知模块,通知模块被配置为当获取或者检测到通知消息时,对通知消息的内容进行语义识别,并在所述第一用户界面的所述第一区域内滚动显示完整的通知消息内容。In order to achieve these and other advantages and in accordance with the purpose of the present invention, the present embodiment further provides a mobile terminal, the mobile terminal comprising: a touch screen configured to display a user interface; and a notification module configured to When the notification message is acquired or detected, the content of the notification message is semantically identified, and the complete notification message content is scrolled within the first area of the first user interface.
本实施例中的所述的滚动显示效果,包括但不限于:向左滚动、向右滚动、向上滚动、向下滚动、不同方向来回滚动、启动滚动、滚动时暂停滚动、边滚动边闪烁等。The scroll display effect in the embodiment includes, but is not limited to, scrolling to the left, scrolling to the right, scrolling up, scrolling down, scrolling back and forth in different directions, starting scrolling, pausing scrolling while scrolling, blinking while scrolling, etc. .
在一些实施例中,通知模块包括:通知处理模块、场景识别模块、语义识别模块、手势识别模块、通知显示模块。In some embodiments, the notification module includes: a notification processing module, a scene recognition module, a semantic recognition module, a gesture recognition module, and a notification display module.
在一些实施例中,通知处理模块被配置为:当获取或者检测到第一通知消息时,分析第一通知消息内容与所述第一区域之间的关系。In some embodiments, the notification processing module is configured to analyze a relationship between the first notification message content and the first region when the first notification message is acquired or detected.
在一些实施例中,场景模块被配置为:分析当前终端设备的显示界面。In some embodiments, the scene module is configured to analyze the display interface of the current terminal device.
在一些实施例中,语义识别模块被配置为:识别所述第一通知消息内容中的部分信息,其中部分信息可以是电话号码、日期、验证码、航班次等,还可以识别通知消息的来源,比如星号或者收藏联系人、普通联系人、陌生人等。In some embodiments, the semantic recognition module is configured to: identify partial information in the first notification message content, wherein the partial information may be a phone number, a date, a verification code, a flight number, etc., and may also identify a source of the notification message Such as asterisks or collection contacts, ordinary contacts, strangers, etc.
在一些实施例中,针对不同的第一通知消息来源可以设置优先级,比如星号或者收藏联系人优先级高于普通联系人,普通联系人的优先级高于陌生人。具体地,是否为重要联系人可以根据联系人或者应用程序(例如,微信程序)联系人数据库的查询与匹配来确定,第 一通知消息中的部分信息识别可以使用通用技术进行正则表达式匹配来进行,以实现在不同的场景下能够人性化的查看通知消息内容。In some embodiments, priority may be set for different first notification message sources, such as an asterisk or a favorite contact having a higher priority than a normal contact, the normal contact having a higher priority than a stranger. Specifically, whether an important contact can be determined according to a query or matching of a contact database of a contact or an application (eg, a WeChat program), Part of the information identification in a notification message can be performed using general-purpose technology for regular expression matching to implement the content of the notification notification message that can be humanized in different scenarios.
在一些实施例中,手势识别模块被配置为:响应于对终端设备的第一操作,触发所述第一通知消息滚动或者改变滚动效果。In some embodiments, the gesture recognition module is configured to trigger the first notification message to scroll or change a scrolling effect in response to a first operation on the terminal device.
在一些实施例中,通知显示模块被配置为:对所述第一通知消息的内容进行滚动显示,滚动的时间可以预设:包括一直滚动,5秒后滚动停止等,以实现在不同的场景下能够人性化的查看通知消息内容。In some embodiments, the notification display module is configured to: scroll display the content of the first notification message, and the time of scrolling may be preset: including scrolling all the time, scrolling after 5 seconds, etc., to implement in different scenarios. The content of the notification message can be viewed humanized.
在一些实施例中,通知显示模块被配置为:可以对所述第一通知消息中的部分内容进行位置移动显示。比如部分内容前移等。在一些实施例中,通知显示模块被配置为:也可以对通知消息中的部分内容进行高亮或者加粗、闪烁等效果显示,以实现在不同的场景下能够人性化的查看通知消息内容。In some embodiments, the notification display module is configured to perform a positional movement display of a portion of the first notification message. For example, some content moves forward. In some embodiments, the notification display module is configured to: highlight or highlight, or flash, a portion of the content in the notification message to enable the user to view the notification message content in different scenarios.
在一些实施中,通知显示模块被配置为:可以对所述第一通知消息中的部分内容进行不同频率、速率的显示。在一些实施例中,通知显示模块被配置为:可以根据消息来源的优先级进行不同效果的滚动显示。在一些实施例中,通知显示模块被配置为:在不同的界面下进行不同效果的滚动显示。在一些实施例中,通知显示模块被配置为:可以对所述第一通知消息显示的时间进行设定。具体地,在不同的用户界面,所述第一通知消息的显示时间可以设定为不同,以实现在不同的场景下能够人性化的查看通知消息内容。In some implementations, the notification display module is configured to display portions of the first notification message at different frequencies and rates. In some embodiments, the notification display module is configured to scroll display of different effects according to the priority of the message source. In some embodiments, the notification display module is configured to perform a scrolling display of different effects under different interfaces. In some embodiments, the notification display module is configured to set the time at which the first notification message is displayed. Specifically, in different user interfaces, the display time of the first notification message may be set to be different, so as to enable the user to view the notification message content in different scenarios.
在一些实施例中,第一用户界面可以为主界面,所述第一通知消息在所述主界面第一区域中进行滚动显示,滚动的方式可以是用户预设的方式:包括横向、纵向、来回等方式。滚动的时间也是用户可以预设的:包括一直滚动,5秒后滚动停止等。在一些实施例中,可以所述第一对通知消息中的部分内容进行高亮或者加粗、闪烁、位移等效果显示,以实现在不同的场景下能够人性化的查看通知消息内容。In some embodiments, the first user interface may be a main interface, and the first notification message is scrolled and displayed in the first area of the main interface, and the manner of scrolling may be a manner preset by the user: including horizontal, vertical, and Go back and forth. The scrolling time is also preset by the user: it includes scrolling all the way, scrolling stops after 5 seconds, and so on. In some embodiments, part of the first pair of notification messages may be highlighted or bolded, blinked, shifted, and the like displayed to enable personalized viewing of the notification message content in different scenarios.
在一些实施例中,所述第一用户界面可以是应用程序界面,所述第一通知消息在所述第一区域中除显示元素外区域进行滚动显示。在一些实施例中,所述显示元素可以是按钮。在一些实施例中,所述第一通知消息可以在经过调整的第一区域进行滚动显示,以实现在不同的场景下能够人性化的查看通知消息内容。In some embodiments, the first user interface may be an application interface, and the first notification message performs scroll display in the first area in addition to the area outside the display element. In some embodiments, the display element can be a button. In some embodiments, the first notification message may be scrolled and displayed in the adjusted first area to enable user-friendly viewing of the notification message content in different scenarios.
在一些实施例中,触摸屏显示锁屏界面,所述第一通知消息在第一区域中不显示消息。在一些实施例中,触摸屏显示锁屏界面,响应于对终端设备的第一操作,所述第一通知消息在所述第一区域里滚动显示,以实现在不同的场景下能够人性化的查看通知消息内容。In some embodiments, the touch screen displays a lock screen interface, the first notification message not displaying a message in the first area. In some embodiments, the touch screen displays a lock screen interface, and in response to the first operation on the terminal device, the first notification message is scrolled and displayed in the first area to enable humanized viewing in different scenarios. Notification message content.
在一些实施例中,所述第一通知消息在弹出的通知消息栏中滚动显示。在一些实施例中,所述第一通知消息在弹出的通知消息栏中也可以不滚动显示。在一些实施例中,当触摸屏表面接收到手势操作时可以触发滚动显示,或者改变通知消息的滚动效果,以实现在不同的场景下能够人性化的查看通知消息内容。In some embodiments, the first notification message is scrolled through the pop-up notification message bar. In some embodiments, the first notification message may also not be scrolled in the pop-up notification message field. In some embodiments, the scroll display may be triggered when the touch screen surface receives the gesture operation, or the scrolling effect of the notification message may be changed to enable viewing of the notification message content that can be humanized in different scenarios.
本发明提供的方案能够人性化的查看通知消息,从而提高用户体验。The solution provided by the invention can humanize the notification message, thereby improving the user experience.
附图说明DRAWINGS
图1示出了根据一个实施例提供的便携式终端设备的示意图。FIG. 1 shows a schematic diagram of a portable terminal device provided in accordance with one embodiment.
图2示出了根据一个实施例提供的主界面显示通知消息的示意图。2 shows a schematic diagram of a home interface display notification message provided in accordance with one embodiment.
图3A示出了根据一个实施例提供的主界面显示通知消息的第一状态图。FIG. 3A illustrates a first state diagram of a home interface display notification message provided in accordance with one embodiment.
图3B示出了根据一个实施例提供的主界面显示通知消息的第二状态图。 FIG. 3B illustrates a second state diagram of a home interface display notification message provided in accordance with one embodiment.
图4A示出了根据一个实施例提供的主界面显示通知消息的第三状态图。4A shows a third state diagram of a home interface display notification message provided in accordance with one embodiment.
图4B示出了根据一个实施例提供的主界面显示通知消息的第四状态图。4B shows a fourth state diagram of a home interface display notification message provided in accordance with one embodiment.
图5A示出了根据一个实施例提供的应用程序界面显示通知消息的第一状态图。FIG. 5A illustrates a first state diagram of an application interface display notification message provided in accordance with one embodiment.
图5B示出了根据一个实施例提供的应用程序界面显示通知消息的第二状态图。FIG. 5B illustrates a second state diagram of an application interface display notification message provided in accordance with one embodiment.
图6A示出了根据一个实施例提供的锁屏界面显示通知消息的第一状态图。6A shows a first state diagram of a lock screen interface display notification message provided in accordance with one embodiment.
图6B示出了根据一个实施例提供的锁屏界面显示通知消息的第二状态图。6B shows a second state diagram of a lock screen interface display notification message provided in accordance with one embodiment.
图6C示出了根据一个实施例提供的锁屏界面显示通知消息的第三状态图。6C shows a third state diagram of a lock screen interface display notification message provided in accordance with one embodiment.
图6D示出了根据一个实施例提供的锁屏界面显示通知消息的第四状态图。6D shows a fourth state diagram of a lock screen interface display notification message provided in accordance with one embodiment.
图6E示出了根据一个实施例提供的用户设置框。Figure 6E illustrates a user settings box provided in accordance with one embodiment.
图7A示出了根据一个实施例提供的通知栏界面显示通知消息的第一状态图。FIG. 7A illustrates a first state diagram of a notification bar interface display notification message provided in accordance with one embodiment.
图7B示出了根据一个实施例提供的通知栏界面显示通知消息的第二状态图。FIG. 7B illustrates a second state diagram of a notification bar interface display notification message provided in accordance with one embodiment.
图8A示出了根据一个实施例提供的一种滚动效果示意图。FIG. 8A shows a schematic diagram of a scrolling effect provided according to an embodiment.
图8B示出了根据一个实施例提供的另一种滚动效果示意图。FIG. 8B shows another scrolling effect diagram provided in accordance with one embodiment.
图9A示出了根据一个实施例提供的一种改变滚动效果的示意图。FIG. 9A shows a schematic diagram of changing a scrolling effect provided in accordance with an embodiment.
图9B示出了根据一个实施例提供的一种滚动效果的示意图。FIG. 9B shows a schematic diagram of a scrolling effect provided in accordance with one embodiment.
图9C示出了根据一个实施例提供的另一种改变滚动效果的示意图。FIG. 9C illustrates another schematic diagram of changing the scrolling effect provided in accordance with one embodiment.
图10示出了根据一个实施例提供的另一种滚动效果的示意图。Figure 10 shows a schematic diagram of another scrolling effect provided in accordance with one embodiment.
图11示出了根据一个实施例提供的另一种滚动效果的示意图。Figure 11 shows a schematic diagram of another scrolling effect provided in accordance with one embodiment.
图12A示出了根据一个实施例提供的通知模块示意图。Figure 12A shows a schematic diagram of a notification module provided in accordance with one embodiment.
图12B示出了根据一个实施例提供的另一种通知模块示意图。FIG. 12B shows another schematic diagram of a notification module according to an embodiment.
图13示出了根据一个实施例提供的判断通知消息内容与通知框之间的关系示意图。FIG. 13 is a schematic diagram showing the relationship between the content of the notification notification message and the notification box according to an embodiment.
图14示出了根据一个实施例提供的一种基于通知消息的来源而滚动显示通知消息的方法示意图。FIG. 14 shows a schematic diagram of a method for scrolling display of a notification message based on a source of a notification message, according to an embodiment.
图15示出了根据一个实施例提供的一种判断是否滚动显示通知消息的方法示意图。FIG. 15 is a schematic diagram of a method for determining whether to scroll display of a notification message according to an embodiment.
图16示出了根据一个实施例提供的一种推荐通知消息滚动方向的方法示意图。FIG. 16 is a schematic diagram of a method for recommending a scrolling direction of a notification message according to an embodiment.
图17A示出了根据一个实施例提供的终端设备的第一结构示意图。FIG. 17A is a schematic diagram showing a first structure of a terminal device according to an embodiment.
图17B示出了根据一个实施例提供的终端设备的第二结构示意图。FIG. 17B is a schematic diagram showing a second structure of a terminal device according to an embodiment.
具体实施方式Detailed ways
如图1,本实施例提供了一种滚动显示通知消息的终端设备100,包括操作系统001、通信模块002、GPS模块003、通知模块004、指纹识别模块005、文本输入模块006、接触与运动模块007、触觉反馈模块008、联系人模块009、电话模块010、即时消息模块011、日历模块012、存储器014、处理器015、RF电路016、音频电路017、扬声器018、麦克风019、其他输入设备控制器021、传感器控制器022、触摸显示屏控制器023、其他输入设备024、光学传感器025、运动传感器026、生物传感器027、触摸屏028、显示面板029、触控面板030、I/O子系统031、指纹传感器032等部件,本领域技术人员可以理解,图1中示出的结构并不构成对终端设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。 As shown in FIG. 1 , the embodiment provides a terminal device 100 for displaying a notification message, including an operating system 001, a communication module 002, a GPS module 003, a notification module 004, a fingerprint recognition module 005, a text input module 006, and a contact and motion. Module 007, haptic feedback module 008, contact module 009, telephone module 010, instant message module 011, calendar module 012, memory 014, processor 015, RF circuit 016, audio circuit 017, speaker 018, microphone 019, other input devices Controller 021, sensor controller 022, touch screen display controller 023, other input device 024, optical sensor 025, motion sensor 026, biosensor 027, touch screen 028, display panel 029, touch panel 030, I/O subsystem 031, fingerprint sensor 032 and the like, those skilled in the art can understand that the structure shown in FIG. 1 does not constitute a limitation on the terminal device, and may include more or less components than those illustrated, or combine some components. Or split some parts, or different parts.
本发明实施例涉及的终端设备100可以包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、TV、可穿戴设备、AR、VR设备等。The terminal device 100 according to the embodiment of the present invention may include a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, a TV, a wearable device, an AR, and a VR device. Wait.
下面结合图1对终端设备100的各个构成部件进行具体的介绍:The components of the terminal device 100 will be specifically described below with reference to FIG. 1 :
RF电路016可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器015处理;另外,将设计上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路016还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。The RF circuit 016 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the processor 015 processes the data. In addition, the uplink data is designed to be sent to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, RF circuit 016 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
存储器014可用于存储软件程序以及模块,处理器015通过运行存储在存储器014的软件程序以及模块,从而执行终端设备100的各种功能应用以及数据处理。存储器014可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端设备100的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器014可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 014 can be used to store software programs and modules, and the processor 015 executes various functional applications and data processing of the terminal device 100 by running software programs and modules stored in the memory 014. The memory 014 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal device 100 (such as audio data, phone book, etc.) and the like. Moreover, memory 014 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
其他输入设备024可用于接收输入的数字或字符信息,以及产生与终端设备100的用户设置以及功能控制有关的键信号输入。具体地,其他输入设备024可包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)等中的一种或多种。其他输入设备024与I/O子系统031的其他输入设备控制器021相连接,在其他设备输入控制器021的控制下与处理器015进行信号交互。Other input devices 024 can be used to receive input digital or character information, as well as to generate key signal inputs related to user settings and function control of terminal device 100. Specifically, other input devices 024 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and light mice (the light mouse is not sensitive to display visual output) One or more of a surface, or an extension of a touch sensitive surface formed by a touch screen. The other input devices 024 are coupled to other input device controllers 021 of the I/O subsystem 031 and are in signal communication with the processor 015 under the control of other device input controllers 021.
触摸显示屏(也称“触摸屏”)028可用于显示由用户输入的信息或提供给用户的信息以及终端设备100的各种菜单,还可以接受用户输入。触摸屏028可包括显示面板029,以及触控面板030。其中显示面板029可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板029。触控面板030,也称为触敏屏等,可收集用户在其上或附近的接触或者非接触操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板030上或在触控面板030附近的操作,也可以包括体感操作;该操作包括单点控制操作、多点控制操作等操作类型),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板030可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位、姿势,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成处理器能够处理的信息,再送给处理器015,并能接收处理器015发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板030,也可以采用未来发展的任何技术实现触控面板030。进一步的,触控面板030可覆盖显示面板029,用户可以根据显示面板029显 示的内容(该显示内容包括但不限于,软键盘、虚拟鼠标、虚拟按键、图标等等),在显示面板029上覆盖的触控面板030上或者附近进行操作,触控面板030检测到在其上或附近的触摸操作后,通过I/O子系统031传送给处理器015以确定触摸事件的类型以确定用户输入,随后处理器015根据触摸事件的类型通过I/O子系统031在显示面板029上提供相应的视觉输出。虽然在图1中,触控面板030与显示面板029是作为两个独立的部件来实现电子设备100的输入和输入功能,但是在某些实施例中,可以将触控面板030与显示面板029集成而实现,终端设备100的输入和输出功能。A touch display (also referred to as "touch screen") 028 can be used to display information entered by the user or information provided to the user as well as various menus of the terminal device 100, and can also accept user input. The touch screen 028 can include a display panel 029, and a touch panel 030. The display panel 029 can be configured by using an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. The touch panel 030, also referred to as a touch sensitive screen, can collect contact or non-contact operations on or near the user (eg, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch panel 030 or The operation in the vicinity of the touch panel 030 may also include a somatosensory operation; the operation includes a single-point control operation, a multi-point control operation, and the like, and the corresponding connection device is driven according to a preset program. Optionally, the touch panel 030 can include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation and posture of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts the signal into a processor. The processed information is sent to the processor 015 and can receive commands from the processor 015 and execute them. In addition, the touch panel 030 can be implemented by using various types such as resistive, capacitive, infrared, and surface acoustic waves, and the touch panel 030 can be implemented by any technology developed in the future. Further, the touch panel 030 can cover the display panel 029, and the user can display according to the display panel 029. The displayed content (including but not limited to, a soft keyboard, a virtual mouse, a virtual button, an icon, etc.) is operated on or near the touch panel 030 covered on the display panel 029, and the touch panel 030 detects that After the touch operation on or near it, it is transmitted to the processor 015 through the I/O subsystem 031 to determine the type of the touch event to determine the user input, and then the processor 015 is displayed by the I/O subsystem 031 according to the type of the touch event. A corresponding visual output is provided on panel 029. Although in FIG. 1 , the touch panel 030 and the display panel 029 are two independent components to implement the input and input functions of the electronic device 100, in some embodiments, the touch panel 030 and the display panel 029 may be Integration and implementation, input and output functions of the terminal device 100.
在一些实施例中,终端设备100还包括一个或者多个指纹传感器032(或与其通信)。图1示出了藕接至处理器外围设备接口的指纹传感器032。可选地,指纹传感器032可以任选地藕接至I/O子系统031的输入控制器。如本文所用,指纹传感器是能够区分皮肤的脊和谷的指纹特征(有时被称为"细节特征")的传感器,该指纹特征诸如在人类的手指和脚趾上发现的那些指纹特征。指纹传感器能够使用多种技术中的任一种技术来区分指纹特征,包括但不限于:光学指纹成像、超声波指纹成像、有源电容指纹成像和无源电容指纹成像。在一些实施例中,除了区分指纹中的指纹特征外,指纹传感器032还能够追踪指纹特征随时间的移动,从而确定表征指纹随时间在指纹传感器上的移动。In some embodiments, terminal device 100 also includes (or is in communication with) one or more fingerprint sensors 032. Figure 1 shows a fingerprint sensor 032 spliced to a processor peripheral interface. Alternatively, fingerprint sensor 032 can optionally be coupled to an input controller of I/O subsystem 031. As used herein, a fingerprint sensor is a sensor that is capable of distinguishing fingerprint features of the ridges and valleys of the skin (sometimes referred to as "detail features") such as those found on human fingers and toes. Fingerprint sensors can distinguish fingerprint features using any of a variety of techniques including, but not limited to, optical fingerprint imaging, ultrasonic fingerprint imaging, active capacitive fingerprint imaging, and passive capacitive fingerprint imaging. In some embodiments, in addition to distinguishing fingerprint features in the fingerprint, fingerprint sensor 032 is also capable of tracking the movement of the fingerprint features over time to determine the movement of the fingerprint on the fingerprint sensor over time.
在一些实施例中,指纹识别传感器032能够集成在触摸屏028上。虽然在图1中将指纹传感器032示出为与具有触敏表面的触摸屏028分开,但是应当理解,在一些具体实施中,指纹传感器能够被配置为与触摸屏028的至少一部分交叠,在不同的示例中,指纹识别传感器能够被配置设置在触摸屏028内,在该种情况下,控制器015能够通过触摸屏028来识别对触摸屏028进行触摸的用户的手指(即用户的指纹)。在一些实施例中,指纹识别传感器还可以集成在物理按键(例如home键)上。In some embodiments, fingerprint recognition sensor 032 can be integrated on touch screen 028. Although fingerprint sensor 032 is illustrated in FIG. 1 as being separate from touch screen 028 having a touch-sensitive surface, it should be understood that in some implementations, the fingerprint sensor can be configured to overlap at least a portion of touch screen 028, at a different In an example, the fingerprint recognition sensor can be configured to be disposed within the touch screen 028, in which case the controller 015 can identify the user's finger (ie, the user's fingerprint) that touches the touch screen 028 through the touch screen 028. In some embodiments, the fingerprint recognition sensor can also be integrated on a physical button (eg, a home button).
终端设备100还可包括至少一种其他传感器,比如光学传感器025、运动传感器026、生物传感器027以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板029的亮度,接近传感器可在终端设备100移动到耳边时,关闭显示面板029和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端设备100还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。 Terminal device 100 may also include at least one other sensor, such as optical sensor 025, motion sensor 026, biosensor 027, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 029 according to the brightness of the ambient light, and the proximity sensor may close the display panel 029 when the terminal device 100 moves to the ear. And / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the terminal device 100 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here No longer.
音频电路017、扬声器018,麦克风019可提供用户与终端设备100之间的音频接口。音频电路017可将接收到的音频数据转换后的信号,传输到扬声器018,由扬声器018转换为声音信号输出;另一方面,麦克风019将收集的声音信号转换为信号,由音频电路017接收后转换为音频数据,再将音频数据输出至RF电路016以发送给比如另一终端设备,或者将音频数据输出至存储器014以便进一步处理。An audio circuit 017, a speaker 018, and a microphone 019 can provide an audio interface between the user and the terminal device 100. The audio circuit 017 can transmit the received audio data converted signal to the speaker 018, and is converted into a sound signal output by the speaker 018; on the other hand, the microphone 019 converts the collected sound signal into a signal, which is received by the audio circuit 017. The audio data is converted to audio data, which is then output to the RF circuit 016 for transmission to, for example, another terminal device, or the audio data is output to the memory 014 for further processing.
I/O子系统031用来控制输入输出的外部设备,可以包括其他设备输入控制器021、传感器控制器022、显示控制器023。可选的,一个或多个其他输入控制设备控制器021从其他输入设备024接收信号和/或者向其他输入设备024发送信号,其他输入设备024可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮、光鼠(光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸)。值得说明的是, 其他输入控制设备控制器021可以与任一个或者多个上述设备连接。所述I/O子系统031中的触控显示屏控制器023从触控屏028接收信号和/或者向触控屏028发送信号。触控屏028检测到用户输入后,触控屏控制器023将检测到的用户输入转换为与显示在触控屏028上的用户界面对象的交互,即实现人机交互。传感器控制器022可以从一个或者多个传感器接收信号和/或者向一个或者多个传感器发送信号。The I/O subsystem 031 is used to control external devices for input and output, and may include other device input controllers 021, sensor controllers 022, and display controllers 023. Optionally, one or more other input control device controllers 021 receive signals from other input devices 024 and/or send signals to other input devices 024, which may include physical buttons (press buttons, rocker buttons, etc.) , dial, slide switch, joystick, click wheel, light mouse (light mouse is a touch-sensitive surface that does not display visual output, or an extension of a touch-sensitive surface formed by a touch screen). It is worth noting that Other input control device controllers 021 can be coupled to any one or more of the above devices. The touch display controller 023 in the I/O subsystem 031 receives signals from the touch screen 028 and/or transmits signals to the touch screen 028. After the touch screen 028 detects the user input, the touch screen controller 023 converts the detected user input into interaction with the user interface object displayed on the touch screen 028, that is, realizes human-computer interaction. Sensor controller 022 can receive signals from one or more sensors and/or send signals to one or more sensors.
处理器015是终端设备100的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器014内的软件程序和/或模块,以及调用存储在存储器014内的数据,执行终端设备100的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器015可包括一个或多个处理单元;优选的,处理器015可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器015中。 Processor 015 is the control center of terminal device 100, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 014, and recalling data stored in memory 014. The various functions and processing data of the terminal device 100 are executed to perform overall monitoring of the mobile phone. Optionally, the processor 015 may include one or more processing units; preferably, the processor 015 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 015.
终端设备100还包括给各个部件供电的电源020(比如电池),优选的,电源可以通过电源管理系统与处理器015逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。The terminal device 100 further includes a power source 020 (such as a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the processor 015 through the power management system to manage functions such as charging, discharging, and power consumption through the power management system.
尽管未示出,终端设备100还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the terminal device 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
结合RF电路016、触摸屏028、显示屏控制器023、接触模块007、文本输入模块006、即时消息模块011包括用于输入与即时消息对应的字符序列、修改先前输入的字符、传输相应即时消息、接收即时消息及查看所接收的即时消息的可执行指令。在一些实施例中,所传输接收的即时消息任选地包括图形、照片、音频文件、视频文件、MMS、在增强消息服务(EMS)中所支持的其他附件。如本文所用,“即时消息”是指基于电话的消息(例如,使用SMS或MMS发送的消息)和基于互联网的消息(例如,使用XMPP、SIMPLE、或IMPS发送的消息)两者。The RF circuit 016, the touch screen 028, the display controller 023, the contact module 007, the text input module 006, and the instant message module 011 include a sequence of characters for inputting an instant message, modifying a previously input character, transmitting a corresponding instant message, An executable instruction that receives an instant message and views the received instant message. In some embodiments, the transmitted received instant message optionally includes graphics, photos, audio files, video files, MMS, other attachments supported in Enhanced Messaging Service (EMS). As used herein, "instant messaging" refers to both phone-based messages (eg, messages sent using SMS or MMS) and Internet-based messages (eg, messages sent using XMPP, SIMPLE, or IMPS).
结合触摸屏028、显示屏控制器023、接触模块007、及文本输入模块006,联系人模块009任选地用于管理通讯录或联系人列表,包括:将一个或多个姓名添加至通讯录;从通讯录中删除一个或多个姓名;使使一个或多个电话号码、一个或多个电子邮件地址、一个或多个物理地址或其他信息与姓名相关联;使使图像与姓名相关联;对姓名进行分类和排序;提供电话号码或电子邮件地址发起和/或促进通过电话、视频会议、电子邮件进行的通信等等。The contact module 009 is optionally used to manage the address book or the contact list, including: adding one or more names to the address book; Deleting one or more names from the address book; associating one or more phone numbers, one or more email addresses, one or more physical addresses, or other information with the name; causing the image to be associated with the name; Sort and sort names; provide phone numbers or email addresses to initiate and/or facilitate communication via phone, video conferencing, email, and more.
上述所识别的每个模块和应用程序对应于用于执行上述一种或多种功能及在本专利申请中所描述的方法(例如,本文中所描述的计算机实现的方法和其他信息处理方法)的一组可执行指令。这些模块(即指令集)不必被实现为独立软件程序、过程或模块,这些模块的各种子集任选地在各种实施例中被组合或其他方式重新布置。在一些实施例中,存储器014任选地存储上述模块和数据结构的子集。此外,存储器014任选地存储上面未描述的附加模块和数据结构。Each of the modules and applications identified above corresponds to one or more of the functions described above and the methods described in this patent application (eg, computer implemented methods and other information processing methods described herein) a set of executable instructions. These modules (ie, sets of instructions) need not be implemented as separate software programs, processes, or modules, various subsets of which are optionally combined or otherwise re-arranged in various embodiments. In some embodiments, memory 014 optionally stores a subset of the modules and data structures described above. Additionally, memory 014 optionally stores additional modules and data structures not described above.
本实施例提供一种滚动显示通知消息内容的方法。终端设备100在不同的场景下(例如,主界面110或者应用程序界面111)接收到来自不同的程序(例如,微信或者Facebook)或者同一程序的通知消息,根据其来源的不同显示不同的滚动效果。This embodiment provides a method of scrolling display of the content of a notification message. The terminal device 100 receives notification messages from different programs (for example, WeChat or Facebook) or the same program in different scenarios (for example, the main interface 110 or the application interface 111), and displays different scrolling effects according to different sources thereof. .
为了更好地描述本发明,以终端设备100为例,其在触摸屏028上具有主界面110、应用程序界面111、锁屏界面112、通知栏界面113、横屏界面114、通知框115。特别地,终端设备100不仅限于上述用户界面与控件,在一些实施例中,所述第一区域可以包括通知框115。 To better describe the present invention, the terminal device 100 has a main interface 110, an application interface 111, a lock screen interface 112, a notification bar interface 113, a horizontal screen interface 114, and a notification frame 115 on the touch screen 028. In particular, the terminal device 100 is not limited to the user interface and controls described above, and in some embodiments, the first region may include a notification box 115.
在一些实施例中,响应于具有第一来源的第一通知消息,所述第一通知消息以第一显示方式在通知框115中显示,其中,第一显示方式可以是滚动显示;响应于具有第二来源的第二通知消息,所述第二通知消息以第二显示方式滚动显示,其中,所述第一通知消息来源区别与第二通知消息来源,第二显示方式可以是静态显示或者不滚动显示。In some embodiments, in response to the first notification message having the first source, the first notification message is displayed in the notification box 115 in a first display manner, wherein the first display mode can be a scrolling display; a second notification message of the second source, the second notification message is scrolled and displayed in a second display manner, wherein the first notification message source is different from the second notification message source, and the second display mode may be static display or not Scroll display.
在一些实施例中,下文所述“静态显示”可以是当通知消息内容超过通知框115时,通知内容以“……”的方式结束,不能显示完整内容。在一些实施例中,所述的“静态显示”还可以通知消息内容的内容没有超出通知框115,通知消息完整的在通知框中显示。In some embodiments, the "static display" described below may be when the notification message content exceeds the notification box 115, the notification content ends in a "..." manner, and the complete content cannot be displayed. In some embodiments, the "static display" may also notify that the content of the message content does not exceed the notification box 115, and the notification message is completely displayed in the notification box.
在一些实施例中,如图2,终端设备100当前为主界面110,通知消息可以显示在通知框115中。在一些实施例中,通知消息可以被显示在应用程序界面111、锁屏界面112、通知栏界面113、横屏界面114任意界面下的通知框115之中。In some embodiments, as shown in FIG. 2, the terminal device 100 is currently the main interface 110, and a notification message may be displayed in the notification box 115. In some embodiments, the notification message can be displayed in the notification box 115 under any interface of the application interface 111, the lock screen interface 112, the notification bar interface 113, and the horizontal screen interface 114.
在一些实施例中,收到通知消息时,通知框115可以在各个界面上方或其它位置弹出,或直接显示出来,并可以在一段时间后自动消失,或者被用户手动移除。In some embodiments, upon receipt of the notification message, the notification box 115 can be popped up above the various interfaces or elsewhere, or displayed directly, and can disappear automatically after a period of time, or manually removed by the user.
在一些实施例中,终端设备100在任意一界面下(例如,主界面110或者应用程序界面111),如果获取到来自收藏联系人发来的第一短信息,所述第一短信息在通知框115中水平方向滚动显示,如果获取到来自陌生人发来的第二短信息,所述第二短信息在通知框115中垂直方向滚动显示或者静态显示、不滚动显示。在一些实施例中,第一短信息和第二短信息也可是来自不同的应用程序(例如,微信和Facebook)。在一些实施例中,滚动效果包括但不限于:向左滚动、向右滚动、向上滚动、向下滚动、不同方向来回滚动、启动滚动、暂停滚动、闪烁等。In some embodiments, the terminal device 100 is under any interface (for example, the main interface 110 or the application interface 111). If the first short message sent from the favorite contact is obtained, the first short message is notified. The scrolling is displayed in the horizontal direction in the frame 115. If the second short message sent from the stranger is acquired, the second short message is scrolled in the vertical direction in the notification box 115 or displayed statically or not. In some embodiments, the first short message and the second short message may also be from different applications (eg, WeChat and Facebook). In some embodiments, scrolling effects include, but are not limited to, scrolling to the left, scrolling to the right, scrolling up, scrolling down, scrolling back and forth in different directions, initiating scrolling, pausing scrolling, blinking, and the like.
在一些实施例中,如图3A、3B,终端设备100当前界面为主界面110,通知消息在通知框115中横向滚动显示完整内容。In some embodiments, as shown in FIGS. 3A and 3B, the current interface of the terminal device 100 is the main interface 110, and the notification message scrolls horizontally to display the complete content in the notification box 115.
在一些实施例中,如图4A、4B,终端设备100当前为主界面110,通知框115中纵向滚动显示完整的通知内容或部分内容。In some embodiments, as shown in FIGS. 4A and 4B, the terminal device 100 is currently the main interface 110, and the notification box 115 scrolls vertically to display the complete notification content or part of the content.
特别地,滚动效果不仅限于横向、纵向等。在一些实施例中,滚动方式可以为上下来回滚动显示或者左右来回滚动。在一些实施例中,用户可以自定义设置滚动显示的时间,如5S后停止滚动或者隐藏通知框。In particular, the scrolling effect is not limited to the horizontal direction, the vertical direction, and the like. In some embodiments, the scrolling mode may be scrolling up and down or scrolling left and right. In some embodiments, the user can customize the time for setting the scroll display, such as stopping scrolling after 5S or hiding the notification box.
在一些实施例中,通知内容中的重要信息可以是时间、电话号码、验证码、航班次、验证码等,识别出来的重要信息可以进行标识。例如,标识的方式可以是加粗、高亮、在一些实施例中,以方便用户识别通知消息的来源,可以是来自联系人、陌生人,也可以是应用程序的消息。在一些实施例中,可以识别通知消息中重要信息的优先级,例如,时间优先级高于电话号码,航班次/车次优先级高于验证码等。在一些实施例中,可以根据来通知消息的来源设置优先级,以联系人为例,可以设置收藏或星号联系人的优先级高于普通联系人,普通联系人的优先级高于陌生人。在一些实施例中,可以根据通知消息的来源的不同,以不同的滚动效果(例如不同的频率或速率、闪烁等)显示。In some embodiments, the important information in the notification content may be time, phone number, verification code, flight number, verification code, etc., and the identified important information may be identified. For example, the manner of identification may be bold, highlighted, in some embodiments, to facilitate the user to identify the source of the notification message, may be a message from a contact, a stranger, or an application. In some embodiments, the priority of important information in the notification message can be identified, for example, the time priority is higher than the phone number, the flight number/time priority is higher than the verification code, and the like. In some embodiments, the priority may be set according to the source of the notification message. In the case of a contact, the favorite or asterisk contact may be set to have a higher priority than the normal contact, and the ordinary contact has a higher priority than the stranger. In some embodiments, different scrolling effects (eg, different frequencies or rates, blinks, etc.) may be displayed depending on the source of the notification message.
在一些实施例中,是否为重要联系人可以根据联系人或者微信联系人数据库的查询与匹配来确定,通知内容中的部分信息识别可以使用通用技术进行正则表达式匹配来进行,以实现在不同的场景下能够人性化的查看通知消息内容。In some embodiments, whether an important contact can be determined according to a query or a match of a contact or WeChat contact database, the partial information identification in the notification content can be performed using a general technique for regular expression matching to achieve different The content of the notification message can be humanized in the scene.
在一些实施例中,当前终端设备100为应用程序界面111。如图5A、5B,以微信(We Chat)程序为例,为了不影响用户体验,通知框115的弹出并不影响应用程序界面111的一些 显示信息与重要控件,并没有覆盖“返回”控件与“聊天人信息”控件,在经过调整后的通知框115内滚动显示通知内容。特别地,本实施例不局限于微信程序界面,在一些实施例中,比如游戏界面下、视频播放等界面下,可以设置通知框115不覆盖控件或者显示内容的设置,如视频播放、音量按钮,如游戏的攻击操作按钮、生命值等重要参数等。在一些实施例中,还可以设置在应用程序界面111下不显示通知内容,即免打扰模式,提高用户体验。在一些实施例中,滚动方式可以为上下来回滚动显示或者左右来回滚动。在一些实施例中,用户可以自定义设置滚动显示的时间,如5S后停止滚动或者隐藏通知框。In some embodiments, the current terminal device 100 is an application interface 111. As shown in FIG. 5A and FIG. 5B, the Wecha program is used as an example. In order not to affect the user experience, the pop-up of the notification box 115 does not affect some of the application interface 111. The information and important controls are displayed, and the "return" control and the "chat person information" control are not overwritten, and the notification content is scrolled in the adjusted notification box 115. In particular, the embodiment is not limited to the WeChat program interface. In some embodiments, such as the game interface, video playback, etc., the notification box 115 may be set to not cover the control or display content settings, such as video playback and volume buttons. Such as the game's attack action buttons, vital values and other important parameters. In some embodiments, it is also possible to set not to display the notification content under the application interface 111, that is, the do not disturb mode, to improve the user experience. In some embodiments, the scrolling mode may be scrolling up and down or scrolling left and right. In some embodiments, the user can customize the time for setting the scroll display, such as stopping scrolling after 5S or hiding the notification box.
在一些实施例中,如图6A,终端设备100当前为锁屏界面112且被配置为锁屏时“完全不显示内容”,通知框115中便隐藏或者加密通知消息内容,例如,显示“短信:你收到一条消息,请查收”。在一些实施例中,如图6E用户也可以根据需求自定义锁屏界面也可以显示通知消息内容。此时,终端设备100当前为锁屏界面112且被设置为锁屏时“显示所有内容”,则通知消息可以在通知框115内滚动显示通知内容。In some embodiments, as shown in FIG. 6A, when the terminal device 100 is currently the lock screen interface 112 and configured to lock the screen, "the content is not displayed at all", the notification box 115 hides or encrypts the content of the notification message, for example, displaying "sms" : You received a message, please check." In some embodiments, as shown in FIG. 6E, the user can also customize the lock screen interface according to requirements or display the notification message content. At this time, when the terminal device 100 is currently the lock screen interface 112 and is set to "display all content" when the screen is locked, the notification message may scroll display the notification content in the notification box 115.
在一些实施例中,基于安全考量,设置为锁屏界面112“不显示消息内容”,但解锁后查看通知消息又比较繁琐,本实施提供基于指纹识别的滚动显示通知消息的方法。如图6B、6C、6D,屏幕指纹识别区域采集指纹图案,若能匹配存储的指纹图案,则通知消息在通知框115内滚动显示。指纹传感器也可以设置在终端设备100的其它位置。特别地,也可以允许触摸操作,如果所述触摸轨迹与预设轨迹相匹配,则通知消息在锁屏界面112下的通知栏中滚动显示通知内容。在一些实施例中,滚动方式可以为上下来回滚动显示或者左右来回滚动。在一些实施例中,用户可以自定义设置滚动显示的时间,如5S后停止滚动或者隐藏通知框。In some embodiments, based on security considerations, the lock screen interface 112 is set to “do not display message content”, but it is cumbersome to view the notification message after unlocking. The present embodiment provides a method for scrolling display notification messages based on fingerprint recognition. As shown in FIGS. 6B, 6C, and 6D, the fingerprint identification area collects a fingerprint pattern. If the stored fingerprint pattern can be matched, the notification message is scrolled and displayed in the notification box 115. The fingerprint sensor can also be disposed at other locations of the terminal device 100. In particular, a touch operation may also be allowed, and if the touch track matches the preset track, the notification message scrolls through the notification content in the notification bar under the lock screen interface 112. In some embodiments, the scrolling mode may be scrolling up and down or scrolling left and right. In some embodiments, the user can customize the time for setting the scroll display, such as stopping scrolling after 5S or hiding the notification box.
在一些实施例中,如图7A、7B,终端设备100当前处于通知栏界面113,通知消息在通知栏113中水平滚动显示。在一些实施例中,当通知栏界面112显示多条通知消息,可以根据通知消息的来源不同(比如收藏联系人、陌生人等)或者消息类型的不同(比如来自微信的消息、来自Facebook的消息),设置不同的滚动效果,滚动效果包括但不限于:向左滚动、向右滚动、向上滚动、向下滚动、不同方向来回滚动、启动滚动、暂停滚动、闪烁等。In some embodiments, as shown in Figures 7A, 7B, the terminal device 100 is currently in the notification bar interface 113, and the notification message is scrolled horizontally in the notification bar 113. In some embodiments, when the notification bar interface 112 displays a plurality of notification messages, depending on the source of the notification message (such as a favorite contact, a stranger, etc.) or a different message type (such as a message from WeChat, a message from Facebook) ), set different scrolling effects, including but not limited to: scroll left, scroll right, scroll up, scroll back and forth in different directions, start scrolling, pause scrolling, blink, etc.
在一些实施例中,用户也可以自定义在通知栏界面112下显示滚动消息内容。在一些实施例中,滚动方式可以为上下来回滚动显示或者左右来回滚动。在一些实施例中,用户可以自定义设置滚动显示的时间,如5S后停止滚动或者隐藏通知框115。In some embodiments, the user may also customize to display the scrolling message content under the notification bar interface 112. In some embodiments, the scrolling mode may be scrolling up and down or scrolling left and right. In some embodiments, the user can customize the time to set the scroll display, such as stopping scrolling after 5S or hiding the notification box 115.
在一些实施例中,可以对通知消息的部分内容进行突出显示。在一些实施例中,如图8A,也可以对通知消息中的部分内容进行高亮或者加粗、闪烁等滚动效果显示。在一些实施例中,也可以对通知消息中的部分内容进行位置移动显示,即重新排版。比如部分内容前移等,如图8B,验证码为“88888”,被移动到通知消息的最前部,尤其是在应用程序界面111输入验证码时,无需切换程序去查看消息内容,即可实现快速输入。In some embodiments, a portion of the content of the notification message can be highlighted. In some embodiments, as shown in FIG. 8A, part of the content of the notification message may also be highlighted or displayed in a scrolling effect such as bold, blinking, or the like. In some embodiments, part of the content of the notification message may also be displayed in a positional shift, ie, re-formatted. For example, some content is moved forward, etc., as shown in FIG. 8B, the verification code is “88888”, and is moved to the forefront of the notification message, especially when the verification code is input in the application interface 111, and the program content can be viewed without switching the program. Quick input.
在一些实施中,也可以对通知消息中的部分内容进行不同频率、速率的显示。在一些实施例中,也可以根据消息来源的优先级进行不同效果的滚动显示。在一些实施例中,在不同的界面下进行不同效果的滚动显示。在一些实施例中,可以对通知消息显示的时间进行设定,特别地,在不同的用户界面或者场景,通知消息的显示时间可以设定为不同,例如主页面110情况下滚动的频率和速率可以慢于应用程序界面111。In some implementations, portions of the notification message may also be displayed at different frequencies and rates. In some embodiments, scrolling of different effects may also be performed according to the priority of the message source. In some embodiments, scrolling of different effects is performed under different interfaces. In some embodiments, the time at which the notification message is displayed may be set. In particular, in different user interfaces or scenarios, the display time of the notification message may be set to be different, such as the frequency and rate of scrolling in the case of the main page 110. Can be slower than the application interface 111.
在一些实施例中,通知消息内容可以按照默认的方式(如横向向右滚动)。在一些实施例中,如图9A,可以通过双击、长按、压力触摸、声控、不同指纹、图像捕捉、硬件按钮 等不同的操作设置通知内容滚动方向为垂直方向。在一些实施例中,如图9B、9C,可以双击、长按、压力触摸、声控、不同指纹、图像捕捉、硬件按钮等不同的手势操作改变通知内容滚动方向为水平方向。在一些实施例中,可以设置双击、长按、压力触摸、声控、不同指纹、图像捕捉、硬件按钮等不同的手势或操作为通知消息滚动的触发或者停止条件。在一些实施例中,手势也可以是用户自定义的,终端设备100提供用户自定义手势的入口即可。In some embodiments, the notification message content can be scrolled in a default manner (eg, scrolling horizontally to the right). In some embodiments, as shown in FIG. 9A, can be double-clicked, long pressed, pressure touched, voice-activated, different fingerprints, image capture, hardware buttons The different operation settings notify the content scroll direction to be vertical. In some embodiments, as shown in FIGS. 9B and 9C, different gesture operations such as double tap, long press, pressure touch, voice control, different fingerprints, image capture, hardware buttons, etc. can be used to change the notification content scroll direction to a horizontal direction. In some embodiments, different gestures or operations such as double tap, long press, pressure touch, voice control, different fingerprints, image capture, hardware buttons, etc. can be set to trigger or stop the message scrolling. In some embodiments, the gesture may also be user-defined, and the terminal device 100 may provide an entry for the user-defined gesture.
在一些实施例中,终端设备100当前为横屏界面114,则不滚动显示。在一些实施例中,如图10、11,终端设备100当前为横屏界面114,通知框115为了不遮挡当前界面的控件等显示元素,通知消息内容可以在调整后的通知框115内进行滚动显示。在一些实施例中,滚动方式可以为上下来回滚动显示或者左右来回滚动。在一些实施例中,用户可以自定义设置滚动显示的时间,如5S后停止滚动或者隐藏通知框115。In some embodiments, the terminal device 100 is currently a landscape interface 114 and then does not scroll display. In some embodiments, as shown in FIGS. 10 and 11, the terminal device 100 is currently a horizontal screen interface 114, and the notification box 115 can scroll in the adjusted notification box 115 in order not to obscure the display elements such as controls of the current interface. display. In some embodiments, the scrolling mode may be scrolling up and down or scrolling left and right. In some embodiments, the user can customize the time to set the scroll display, such as stopping scrolling after 5S or hiding the notification box 115.
在一些实施例中,终端设备100接收手势操作(包括指纹)的区域可以是通知框115区域。在一些实施例中,手势操作(包括指纹)的区域也可以是用户界面的空白区域。In some embodiments, the area in which the terminal device 100 receives the gesture operation (including the fingerprint) may be the notification box 115 area. In some embodiments, the area of the gesture operation (including the fingerprint) may also be a blank area of the user interface.
在移动终端中,在一些实施例中,如图12A,通知模块004至少包括:至少一个通知处理模块201、至少一个场景识别模块202、至少一个通知显示模块203;在一些实施例中,如图12B,通知模块004至少包括:至少一个通知处理模块201、至少一个场景识别模块202、至少一个通知显示模块203、至少一个语义识别模块204、至少一个手势识别模块205。特别地,所述的通知模块004的结构不仅限于上述两种,可以自由组合以实现不同的滚动显示效果。In some embodiments, in some embodiments, as shown in FIG. 12A, the notification module 004 includes at least one notification processing module 201, at least one scene recognition module 202, and at least one notification display module 203; in some embodiments, as shown in the figure 12B. The notification module 004 includes at least one notification processing module 201, at least one scene recognition module 202, at least one notification display module 203, at least one semantic recognition module 204, and at least one gesture recognition module 205. In particular, the structure of the notification module 004 is not limited to the above two types, and can be freely combined to achieve different scroll display effects.
在一些实施例中,如图13,通知消息在通知框115中滚动显示之前,终端设备100首先判断通知消息内容与通知框115之间的关系,检测通知内容是否超出通知框115的边界。判断的步骤如下:In some embodiments, as shown in FIG. 13, before the notification message is scrolled in the notification box 115, the terminal device 100 first determines the relationship between the notification message content and the notification box 115, and detects whether the notification content exceeds the boundary of the notification frame 115. The steps to judge are as follows:
步骤一:获取通知布局显示的高度H1和宽度W1;Step 1: Obtain the height H1 and the width W1 of the notification layout display;
步骤二:获取通知的文本内容,以及通知内容显示的字体大小,以及内容离布局的边距值,计算通知内容完整显示所需要的长度值L2;Step 2: obtaining the text content of the notification, and the font size of the notification content display, and the margin value of the content from the layout, and calculating the length value L2 required for the complete display of the notification content;
步骤三:根据文本字体大小和布局高度,计算通知最大显示行数(或者系统设置最大显示行数),使用完整内容所需的长度值除以布局宽度W1,得到显示完整内容所需的行数;Step 3: Calculate the maximum number of display lines according to the text font size and layout height (or the maximum number of display lines set by the system), divide the length value required for the complete content by the layout width W1, and get the number of lines required to display the complete content. ;
步骤四:最后比较显示完整内容所需行数与实际布局允许的最大行数,如果布局允许的最大行数小于显示完整内容所需的行数,则通知需要滚动显示,否则不需要滚动显示。Step 4: Finally compare the number of lines required to display the complete content with the maximum number of lines allowed in the actual layout. If the maximum number of lines allowed in the layout is less than the number of lines required to display the complete content, the notification needs to be scrolled, otherwise scrolling is not required.
在一些实施例中,具体计算方案如下:单行通知所占用的宽度为(根据布局左右边界参数得到):w1-2*x1,单行通知所占用的高度为(根据字体大小和布局上下边界计算得到):h+2*y1,布局最大显示行数为:总高度H1/单行通知所占用的高度(h+2*y1),通知内容完整显示所需长度为(根据字体大小和字符个数计算所得):L2,通知内容完整显示所需行数为:L2/(w1-2*x1),如果通知内容完整显示所需行数L2/(w1-2*x1)大于布局最大显示行数H1/(h+2*y1),通知需要滚动显示,否则不需要。同时,如果通知内容完整显示所需行数与布局最大显示行数的差值大于阈值N(N可以取值1、2、3…),则使用垂直方向滚动显示通知内容(更快速阅读完内容);否则,使用水平滚动显示通知内容。In some embodiments, the specific calculation scheme is as follows: the width occupied by the single-line notification is (according to the left and right boundary parameters of the layout): w1-2*x1, and the height occupied by the single-line notification is calculated according to the font size and the upper and lower boundaries of the layout. ): h+2*y1, the maximum number of display lines in the layout is: the total height H1/the height occupied by the single-line notification (h+2*y1), and the required length of the notification content is displayed (according to the font size and the number of characters) Result): L2, the number of lines required for the complete display of the notification content is: L2/(w1-2*x1), if the notification content is completely displayed, the required number of lines L2/(w1-2*x1) is greater than the maximum number of display lines of the layout H1 /(h+2*y1), the notification needs to be scrolled, otherwise it is not needed. At the same time, if the difference between the number of lines required for the complete display of the notification content and the maximum number of display lines of the layout is greater than the threshold N (N can take values 1, 2, 3...), the notification content is scrolled using the vertical direction (reading the content more quickly) ); otherwise, use horizontal scrolling to display the notification content.
本实施例还提供一种基于通知消息的不同来源而以不同的滚动显示通知消息的方法示意图。如图14,在S100步骤中,获取到具有第一来源的第一通知消息和具有第二来源的第二消息,其中,第一来源区别于第二来源。在S110步骤中,第一通知消息与第二通知消息以 不同的滚动效果滚动显示,其中,第二通知消息滚动显示之前,第一通知消息停止显示;或者第一通知消息与第二通知同时显示于第一用户界面的第一区域。This embodiment also provides a schematic diagram of a method for displaying a notification message with different scrolling based on different sources of the notification message. As shown in FIG. 14, in step S100, a first notification message having a first source and a second message having a second source are obtained, wherein the first source is different from the second source. In step S110, the first notification message and the second notification message are Different scrolling effects scroll display, wherein the first notification message stops displaying before the second notification message is scrolled; or the first notification message is displayed in the first area of the first user interface simultaneously with the second notification.
本实施例还提供一种判断是否滚动显示通知消息的方法。如图15,S200步骤中,获取到通知消息。在S210步骤,判断通知消息内容是否超出通知框,如果超过,进行S230步骤滚动显示,否则进入步骤S240静态显示。其中S220为确定当前的显示界面。The embodiment further provides a method for determining whether to scroll display of a notification message. As shown in FIG. 15, in step S200, a notification message is obtained. In step S210, it is determined whether the content of the notification message exceeds the notification box. If it is exceeded, the step S230 is performed to scroll display, otherwise the process proceeds to step S240 for static display. S220 is used to determine the current display interface.
本实施例还提供一种推荐通知消息滚动显示方向的方法。如图16,在S300步骤中,当通知模块收到或者检测到来程序的通知消息。在S310步骤中,通知处理模块判断通知内容是否超过显示布局框最大显示行数,如果没有,则静态显示通知消息(S340),反之进入下一步S320。在S320步骤中,进一步判断通知消息的内容是否大于通知布局框最大显示行数+N,N可以为0、1、2等。最后上述结果为水平方向(S350)。如果否,则垂直方向滚动显示(S330)。The embodiment further provides a method for recommending the notification message to scroll the display direction. As shown in FIG. 16, in step S300, the notification module receives or detects a notification message of the incoming program. In step S310, the notification processing module determines whether the notification content exceeds the maximum display line number of the display layout box, and if not, displays the notification message statically (S340), otherwise proceeds to the next step S320. In step S320, it is further determined whether the content of the notification message is greater than the maximum display line number +N of the notification layout frame, and N may be 0, 1, 2, or the like. Finally, the above result is the horizontal direction (S350). If not, the display is scrolled in the vertical direction (S330).
本实施例提供一种移动终端100,如图17A,包括:显示模块102,用来输出与移动终端的操作有关的屏幕信息或者输入指纹、触摸等操作信息;指纹识别模块103,响应于存储于存储器中的指纹图案;以及通知模块104,通知模块被配置为:通知消息进入到通知模块004后,通知模块004经过分析处理,最终完整地显示在不同界面下的通知框115内,与用户进行交互;以及控制器015,用来执行各项指令操作。The embodiment of the present invention provides a mobile terminal 100, as shown in FIG. 17A, comprising: a display module 102 for outputting screen information related to operation of the mobile terminal or inputting operation information such as fingerprints and touches; and the fingerprint identification module 103 is responsive to being stored in a fingerprint pattern in the memory; and a notification module 104, the notification module is configured to: after the notification message enters the notification module 004, the notification module 004 is analyzed and finally displayed in the notification box 115 under different interfaces, and is performed by the user. Interaction; and controller 015 for performing various instruction operations.
在一些实施例中还提供一种移动终端100,如图17B,包括,显示单元302:用来输出与移动终端的操作有关的屏幕信息或者输入指纹、触摸等操作信息;获取单元303:用来获取所述第一通知消息;响应单元304:用于响应于对所述终端设备的第一操作,改变所述第一通知消息在所述第一用户界面的第一区域的滚动效果;突出显示单元305,用于针对所述第一通知消息的部分内容进行突出显示,其中,所述部分内容包括时间、电话号码、航班、车次、验证码和地址其中任一项或任几项的组合;以及控制器015:用来执行各项指令操作。In some embodiments, a mobile terminal 100 is provided. As shown in FIG. 17B, the display unit 302 is configured to output screen information related to the operation of the mobile terminal or input operation information such as a fingerprint and a touch. The acquiring unit 303 is configured to: Acquiring the first notification message; the response unit 304: configured to change a scrolling effect of the first notification message in a first area of the first user interface in response to a first operation on the terminal device; highlighting The unit 305 is configured to highlight a part of the content of the first notification message, where the part of the content includes a combination of any one or any of a time, a phone number, a flight, a train, a verification code, and an address; And the controller 015: used to perform various instruction operations.
在一些实施例中,通知框115被配置为显示区域的部分区域。在一些实施例中,通知框115的大小可根据用户界面的信息进行调整。特别地,在应用程序界面111下,通知框115可针对显示内容、应用程序中的控件等识别并进行伸缩调整,通知消息内容可以在调整大小后的通知框115里进行滚动显示。In some embodiments, the notification box 115 is configured to display a partial area of the area. In some embodiments, the size of the notification box 115 can be adjusted based on information of the user interface. In particular, under the application interface 111, the notification box 115 can identify and perform scaling adjustments for the display content, controls in the application, etc., and the notification message content can be scroll displayed in the resized notification frame 115.
场景识别模块202存储于存储器014之中,负责识别终端设备100当前的场景。在一些实施例中,场景识别模块202识别终端设备100是否显示屏界面112。在一些实施中,场景识别模块202还可以识别终端设备100的锁屏显示通知内容功能开关是否开启。在一些实施例中,场景识别模块202还可以识别手机100是否处于主界面110。在一些实施中,场景识别模块202还可以识别终端设备100处于应用程序界面111。在一些实施例中,场景识别模块202还可以识别终端设备100的是否处于横屏界面114。在一些实施例中,场景识别模块202还可以识别当前是否为免打扰场景,特别地,比如用户在打游戏、视频播放等应用下。The scene recognition module 202 is stored in the memory 014 and is responsible for identifying the current scene of the terminal device 100. In some embodiments, the scene recognition module 202 identifies whether the terminal device 100 is in the display screen interface 112. In some implementations, the scene recognition module 202 can also identify whether the lock screen display notification content function switch of the terminal device 100 is turned on. In some embodiments, the scene recognition module 202 can also identify whether the handset 100 is in the home interface 110. In some implementations, the scene recognition module 202 can also recognize that the terminal device 100 is in the application interface 111. In some embodiments, the scene recognition module 202 can also identify whether the terminal device 100 is in the landscape interface 114. In some embodiments, the scene recognition module 202 can also identify whether it is currently a DND scene, particularly, such as when the user is playing a game, video playing, or the like.
语义识别模块204是存储于存储器014之中,主要负责解析通知内容中的内容。在一些实施例中,语义识别模块204识别通知内容中的重要信息可以是时间、电话号码、验证码、航班次等。在一些实施中,语义识别模块204可以识别通知消息的来源,可以是来自联系人、陌生人,也可以是应用程序的消息。在一些实施例中,语义识别模块204可以识别通知消息中重要信息的优先级,例如,时间高于电话号码,航班次/车次高于验证码等。在一些实施例中,通知语义识别模块204可以根据来通知消息的来源设置优先级,以联系人为例,可以设置收藏或星号联系人的优先级高于普通联系人,普通联系人的优先级高于陌生人。 The semantic recognition module 204 is stored in the memory 014 and is primarily responsible for parsing the content in the notification content. In some embodiments, the semantic recognition module 204 identifies that the important information in the notification content can be time, phone number, verification code, flight number, and the like. In some implementations, the semantic recognition module 204 can identify the source of the notification message, which can be a message from a contact, a stranger, or an application. In some embodiments, the semantic recognition module 204 can identify the priority of important information in the notification message, for example, the time is higher than the phone number, the flight number/time is higher than the verification code, and the like. In some embodiments, the notification semantic recognition module 204 can set a priority according to the source of the notification message. In the case of a contact, the priority of the favorite or asterisk contact can be set higher than that of the ordinary contact, and the priority of the ordinary contact. Higher than strangers.
通知显示模块203存储于存储器203之中,主要负责将经过处理的通知内容在通知框115内滚动显示。在一些实施例中,如果不需要滚动显示通知消息,通知显示模块203也可以静态显示内容。在一些实施例中,通知显示模块203可以对通知消息内容按照预设的效果进行滚动显示。在一些实施例中,通知显示模块203也可以对通知消息中的重点内容进行位置移动显示。比如重点内容前移等。在一些实施例中,通知显示模块203也可以对通知消息中的重点内容进行高亮或者加粗、闪烁等滚动效果显示。在一些实施中,通知显示模块203也可以对通知消息中的重点内容进行不同频率、速率的显示。在一些实施例中,通知显示模块203也可以根据消息来源的优先级进行不同效果的滚动显示。在一些实施例中,通知显示模块203在不同的界面下进行不同效果的滚动显示。在一些实施例中,通知显示模块203可以对通知消息显示的时间进行设定,特别地,在不同的用户界面或者场景,通知消息的显示时间可以设定为不同。The notification display module 203 is stored in the memory 203 and is primarily responsible for scrolling the processed notification content within the notification box 115. In some embodiments, the notification display module 203 can also statically display content if scrolling to display the notification message is not required. In some embodiments, the notification display module 203 can scroll display the notification message content according to a preset effect. In some embodiments, the notification display module 203 can also perform location move display on the highlight content in the notification message. For example, the key content moves forward. In some embodiments, the notification display module 203 may also highlight or highlight the highlighting content in the notification message. In some implementations, the notification display module 203 can also display the different content in the notification message at different frequencies and rates. In some embodiments, the notification display module 203 can also perform scroll display of different effects according to the priority of the message source. In some embodiments, the notification display module 203 performs a scrolling display of different effects under different interfaces. In some embodiments, the notification display module 203 can set the time at which the notification message is displayed, in particular, the display time of the notification message can be set to be different in different user interfaces or scenarios.
手势识别模块205存储于存储器014之中,用来识别用户的操作手势,推荐通知内容滚动效果。在一些实施例中,可以双击、长按、压力触摸、不同指纹、等手势操作标识通知内容滚动方向为垂直方向。在一些实施例中,可以单指、双指上滑或者下滑等不同的手势操作标识通知内容滚动方向为垂直方向。在一些实施例中,可以设置单指、双指上滑或者下滑等不同的手势操作为通知消息滚动的触发条件。在一些实施例中,手势也可以是用户自定义的,终端设备100提供用户自定义手势的入口即可。本发明的手势操作包括但不限于单击、双击、双指上滑或者双指下滑等手势操作。在一些实施例中,手势操作的区域可以是通知消息布局区域。在一些实施例中,手势操作的区域也可以是用户界面的空白区域。特别地,在一些实施例中,触摸屏028可以实现指纹识别,即手势触控操作与指纹识别融合,实现更安全的输入。The gesture recognition module 205 is stored in the memory 014 for recognizing the user's operation gesture and recommending the notification content scrolling effect. In some embodiments, the scrolling direction of the notification content may be a vertical direction by double tap, long press, pressure touch, different fingerprint, etc. In some embodiments, different gesture operations, such as single finger, double finger up, or sliding, may be used to notify that the content scroll direction is a vertical direction. In some embodiments, different gesture operations such as single finger, double finger up or down may be set to trigger the message scrolling condition. In some embodiments, the gesture may also be user-defined, and the terminal device 100 may provide an entry for the user-defined gesture. The gesture operations of the present invention include, but are not limited to, gesture operations such as click, double tap, double finger up, or double finger down. In some embodiments, the area of the gesture operation may be a notification message layout area. In some embodiments, the area of the gesture operation may also be a blank area of the user interface. In particular, in some embodiments, the touch screen 028 can implement fingerprint recognition, that is, gesture touch operation and fingerprint recognition, to achieve safer input.
本实施例还提供一种滚动显示通知消息内容的方法。通知模块004获取或者检测到通知消息后,对通知消息的内容进行识别,分析终端设备100的当前场景,并在通知框115内中滚动显示完整的通知消息。The embodiment also provides a method of scrolling display of the content of the notification message. After the notification module 004 acquires or detects the notification message, it identifies the content of the notification message, analyzes the current scene of the terminal device 100, and scrolls through the notification box 115 to display the complete notification message.
本发明的各实施方式可以任意进行组合,以实现不同的技术效果。Embodiments of the present invention can be arbitrarily combined to achieve different technical effects.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented in hardware, firmware implementation, or a combination thereof. When implemented in software, the functions described above may be stored in or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a computer. By way of example and not limitation, computer readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage device, or can be used for carrying or storing in the form of an instruction or data structure. The desired program code and any other medium that can be accessed by the computer. Also. Any connection may suitably be a computer readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwave are included in the fixing of the associated media. As used in the present invention, a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
总之,以上所述仅为本发明技术方案的实施例而已,并非用于限定本发明的保护范围。凡根据本发明的揭露,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 In summary, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc., made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims (20)

  1. 一种具有触摸屏的终端设备处理通知消息的方法,包括:A method for processing a notification message by a terminal device with a touch screen, comprising:
    显示第一用户界面,所述第一用户界面包括第一区域;Displaying a first user interface, the first user interface including a first area;
    获取第一通知消息,所述第一通知消息显示于所述第一用户界面的所述第一区域,其中,所述第一通知消息具有第一来源;Obtaining a first notification message, where the first notification message is displayed in the first area of the first user interface, where the first notification message has a first source;
    获取第二通知消息,所述第二通知消息显示于所述第一用户界面的所述第一区域,其中,所述第二通知消息具有第二来源,且所述第二来源不同于所述第一来源;Obtaining a second notification message, the second notification message being displayed in the first area of the first user interface, wherein the second notification message has a second source, and the second source is different from the First source;
    其中,所述第一通知消息与所述第二通知消息以不同的滚动效果显示。The first notification message and the second notification message are displayed with different scrolling effects.
  2. 根据权利要求1所述的方法,其特征在于:The method of claim 1 wherein:
    所述第一用户界面的所述第一区域不足以显示所述第一通知消息的内容;The first area of the first user interface is insufficient to display content of the first notification message;
  3. 根据权利要求1-2中任一项所述的方法,其特征在于,进一步包括:The method of any of claims 1-2, further comprising:
    针对所述第一通知消息的部分内容进行突出显示,其中,所述部分内容包括时间、电话号码、航班、车次、验证码和地址其中任一项或任几项的组合。Highlighting a portion of the content of the first notification message, wherein the portion of content includes a combination of any one or any of a time, a phone number, a flight, a trip, a verification code, and an address.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,进一步包括:The method of any of claims 1-3, further comprising:
    响应于对所述终端设备的第一操作,改变所述第一通知消息在所述第一用户界面的第一区域的滚动效果。Changing a scrolling effect of the first notification message in a first region of the first user interface in response to a first operation on the terminal device.
  5. 根据权利要求1所述的方法,其特征在于,进一步包括:The method of claim 1 further comprising:
    切换至第二用户界面,所述第二用户界面为锁屏界面,其中,所述第二用户界面区别于所述第一用户界面;Switching to the second user interface, where the second user interface is a lock screen interface, wherein the second user interface is different from the first user interface;
    获取第三通知消息,所述第三通知消息显示于所述第二用户界面的所述第一区域;Obtaining a third notification message, where the third notification message is displayed in the first area of the second user interface;
  6. 根据权利要求5所述的方法,其特征在于,进一步包括:The method of claim 5, further comprising:
    响应于对终端设备的第一操作,改变所述第三通知消息在所述第二用户界面的所述第一区域的滚动效果,其中,显示所述第三通知的第一内容。And in response to the first operation on the terminal device, changing a scrolling effect of the third notification message in the first area of the second user interface, wherein the first content of the third notification is displayed.
  7. 根据权利要求5所述的方法,其特征在于,进一步包括:The method of claim 5, further comprising:
    响应于对终端设备的第一操作,所述第三通知消息在所述第二用户界面的所述第一区域滚动显示,其中,显示所述第三通知消息的第二内容。In response to the first operation on the terminal device, the third notification message is scrolled for display in the first region of the second user interface, wherein the second content of the third notification message is displayed.
  8. 根据权利要求1的所述的方法,其特征在于:The method of claim 1 wherein:
    所述第一用户界面为通知栏界面,所述通知栏界面包括所述第一区域与第二区域,其中所述第二区域包括多个功能按钮;The first user interface is a notification bar interface, and the notification bar interface includes the first area and the second area, where the second area includes a plurality of function buttons;
  9. 根据权利要求1-8中任一项中所述的方法,其特征在于:A method according to any one of claims 1-8, characterized in that:
    所述第一用户界面的第一区域同时滚动显示所述第一通知消息与所述第二通知消息。The first area of the first user interface simultaneously scrolls to display the first notification message and the second notification message.
  10. 根据权利要求1所述的方法,其特征在于:The method of claim 1 wherein:
    所述第一用户界面的第一区域包括第一显示元素;The first area of the first user interface includes a first display element;
    所述第一通知消息显示于所述第一用户界面的第一区域除第一显示元素以外的区域;The first notification message is displayed on an area of the first area of the first user interface other than the first display element;
  11. 根据权利要求1-10中任一项所述的方法,其特征在于:A method according to any one of claims 1 to 10, characterized in that:
    所述第一通知消息,包括应用程序消息和系统程序消息其中任意一项。The first notification message includes any one of an application message and a system program message.
  12. 根据权利要求1-11中任一项所述的方法,其特征在于:A method according to any one of claims 1-11, wherein:
    所述第一通知消息的所述第一来源,包括同一程序的通知消息和不同程序的通知消息其中任意一项。The first source of the first notification message includes any one of a notification message of the same program and a notification message of a different program.
  13. 根据权利要求1-12中任一项所述的方法,其特征在于: A method according to any one of claims 1 to 12, characterized in that:
    所述第一通知消息滚动显示的时间以及所述第一用户界面的第一区域的显示时间由用户自定义。The time when the first notification message is scrolled and the display time of the first area of the first user interface are customized by the user.
  14. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1至13任意一项所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 13.
  15. 一种终端设备,包括:A terminal device comprising:
    触摸屏,所述触摸屏包括触敏表面和显示器;a touch screen including a touch sensitive surface and a display;
    存储器;Memory
    一个或多个处理器;One or more processors;
    多个应用程序;Multiple applications;
    以及一个或多个计算机程序,其中所述一个或多个程序被存储在所述存储器中,所述一个或多个计算机程序包括指令,当所述指令被所述终端设备执行时,使得所述终端设备执行权利要求1至13任意一项所述的方法。And one or more computer programs, wherein the one or more programs are stored in the memory, the one or more computer programs including instructions that, when executed by the terminal device, cause the The terminal device performs the method of any one of claims 1 to 13.
  16. 一种处理通知消息的终端设备,包括:A terminal device for processing a notification message, comprising:
    显示单元,用于显示显示第一用户界面,所述第一用户界面包括第一区域;a display unit, configured to display a first user interface, where the first user interface includes a first area;
    获取单元,获取第一通知消息,所述第一通知消息显示于所述第一用户界面的所述第一区域,其中,所述第一通知消息具有第一来源;An acquiring unit, where the first notification message is displayed, where the first notification message is displayed in the first area of the first user interface, where the first notification message has a first source;
    获取单元还获取第二通知消息,所述第二通知消息显示于所述第一用户界面的所述第一区域,其中,所述第二通知消息具有第二来源,且所述第二来源不同于所述第一来源;The obtaining unit further acquires a second notification message, the second notification message being displayed in the first area of the first user interface, wherein the second notification message has a second source, and the second source is different At the first source;
    其中,所述第一通知消息与所述第二通知消息以不同的滚动效果显示。The first notification message and the second notification message are displayed with different scrolling effects.
  17. 根据权利要求16所述的终端设备,进一步包括:The terminal device according to claim 16, further comprising:
    响应单元,用于响应于对所述终端设备的第一操作,改变所述第一通知消息在所述第一用户界面的第一区域的滚动效果。And a response unit, configured to change a scrolling effect of the first notification message in the first area of the first user interface in response to the first operation on the terminal device.
  18. 根据权利要求16所述的终端设备,进一步包括:The terminal device according to claim 16, further comprising:
    突出显示单元,用于针对所述第一通知消息的部分内容进行突出显示,其中,所述部分内容包括时间、电话号码、航班、车次、验证码和地址其中任一项或任几项的组合。a highlighting unit, configured to highlight a portion of the content of the first notification message, wherein the partial content includes a combination of any one or any of a time, a phone number, a flight, a train, a verification code, and an address .
  19. 一种计算机程序产品,其特征在于,所述计算机程序产品包括软件代码,所述软件代码用于执行如权利要求1至13任意一项所述的方法。A computer program product, characterized in that the computer program product comprises software code for performing the method of any one of claims 1 to 13.
  20. 一种图形用户界面(GUI),所述图形用户界面存储在终端设备中,所述终端设备包括触摸屏、存储器、一个或多个处理器,所述一个或多个处理器用于执行存储在所述存储器中的一个或多个计算机程序,其特征在于,所述图形用户界面包括:A graphical user interface (GUI), the graphical user interface being stored in a terminal device, the terminal device comprising a touch screen, a memory, one or more processors, the one or more processors for performing storage in the One or more computer programs in the memory, wherein the graphical user interface comprises:
    显示在所述触摸屏上的第一用户界面,所述第一用户界面包括第一应用的图标,所述第一应用的图标用于访问第一应用,所述第一用户界面还包括第一区域,所述第一区域显示第一通知消息;a first user interface displayed on the touch screen, the first user interface includes an icon of a first application, the icon of the first application is used to access a first application, and the first user interface further includes a first area The first area displays a first notification message;
    响应于获取到所述第一通知消息,所述第一通知消息显示于所述第一用户界面的所述第一区域,其中,所述第一通知消息具有第一来源;In response to obtaining the first notification message, the first notification message is displayed in the first area of the first user interface, wherein the first notification message has a first source;
    响应于获取第二通知消息,所述第二通知消息显示于所述第一用户界面的所述第一区域,其中,所述第二通知消息具有第二来源,且所述第二来源不同于所述第一来源;In response to obtaining the second notification message, the second notification message is displayed in the first area of the first user interface, wherein the second notification message has a second source, and the second source is different from The first source;
    其中,所述第一通知消息与所述第二通知消息以不同的滚动效果显示。 The first notification message and the second notification message are displayed with different scrolling effects.
PCT/CN2017/105910 2017-10-12 2017-10-12 Method and device for scrolling display of notification message WO2019071539A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2017/105910 WO2019071539A1 (en) 2017-10-12 2017-10-12 Method and device for scrolling display of notification message
CN201780095717.0A CN111201512A (en) 2017-10-12 2017-10-12 Method and equipment for scrolling and displaying notification message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/105910 WO2019071539A1 (en) 2017-10-12 2017-10-12 Method and device for scrolling display of notification message

Publications (1)

Publication Number Publication Date
WO2019071539A1 true WO2019071539A1 (en) 2019-04-18

Family

ID=66101087

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/105910 WO2019071539A1 (en) 2017-10-12 2017-10-12 Method and device for scrolling display of notification message

Country Status (2)

Country Link
CN (1) CN111201512A (en)
WO (1) WO2019071539A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162810A (en) * 2020-09-25 2021-01-01 维沃移动通信有限公司 Message display method and device and electronic equipment
CN113259525A (en) * 2021-05-11 2021-08-13 苏州工业园区服务外包职业学院 Verification code shift display device and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009199152A (en) * 2008-02-19 2009-09-03 Nec Corp Earthquake notifying mail prompt distribution system
CN106156300A (en) * 2016-06-30 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of notification message display packing and device
CN106201310A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 The display packing of notification message, device and terminal
CN106527861A (en) * 2016-11-10 2017-03-22 珠海市魅族科技有限公司 Electronic device and message reminding method thereof
CN107179906A (en) * 2017-04-11 2017-09-19 山东大学 A kind of method of Android system TickerView controls optimization

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094501B (en) * 2014-04-30 2020-06-23 腾讯科技(深圳)有限公司 Method, device and system for displaying messages in mobile terminal
CN105677167A (en) * 2016-01-05 2016-06-15 青岛海信移动通信技术股份有限公司 Notification message display method and device used for intelligent terminal
CN106649209A (en) * 2016-12-30 2017-05-10 深圳天珑无线科技有限公司 Text display method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009199152A (en) * 2008-02-19 2009-09-03 Nec Corp Earthquake notifying mail prompt distribution system
CN106156300A (en) * 2016-06-30 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of notification message display packing and device
CN106201310A (en) * 2016-06-30 2016-12-07 北京小米移动软件有限公司 The display packing of notification message, device and terminal
CN106527861A (en) * 2016-11-10 2017-03-22 珠海市魅族科技有限公司 Electronic device and message reminding method thereof
CN107179906A (en) * 2017-04-11 2017-09-19 山东大学 A kind of method of Android system TickerView controls optimization

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112162810A (en) * 2020-09-25 2021-01-01 维沃移动通信有限公司 Message display method and device and electronic equipment
CN113259525A (en) * 2021-05-11 2021-08-13 苏州工业园区服务外包职业学院 Verification code shift display device and method

Also Published As

Publication number Publication date
CN111201512A (en) 2020-05-26

Similar Documents

Publication Publication Date Title
US20210109924A1 (en) User interface for searching
US10616416B2 (en) User interface for phone call routing among devices
US20200257415A1 (en) Identifying applications on which content is available
US11632591B2 (en) Recording and broadcasting application visual output
US10042513B2 (en) Multifunction device with integrated search and application selection
US8624935B2 (en) Smart keyboard management for a multifunction device with a touch screen display
US8839155B2 (en) Accelerated scrolling for a multifunction device
AU2010327453B2 (en) Method and apparatus for providing user interface of portable device
US8341557B2 (en) Portable touch screen device, method, and graphical user interface for providing workout support
US8631357B2 (en) Dual function scroll wheel input
WO2019062910A1 (en) Copy and pasting method, data processing apparatus, and user device
US20110175826A1 (en) Automatically Displaying and Hiding an On-screen Keyboard
US20110179372A1 (en) Automatic Keyboard Layout Determination
US20110074694A1 (en) Device and Method for Jitter Reduction on Touch-Sensitive Surfaces and Displays
WO2019014859A1 (en) Multi-task operation method and electronic device
CN110933511B (en) Video sharing method, electronic device and medium
WO2018027551A1 (en) Message display method, user terminal and graphic user interface
US10788981B2 (en) Method and apparatus for processing new message associated with application
WO2017193496A1 (en) Application data processing method and apparatus, and terminal device
US11657614B2 (en) Camera and visitor user interfaces
WO2019071539A1 (en) Method and device for scrolling display of notification message
US20150236991A1 (en) Electronic device and method for extracting and using sematic entity in text message of electronic device
CN109614174B (en) Display method, mobile terminal and graphical user interface
US11960615B2 (en) Methods and user interfaces for voice-based user profile management
US20220391520A1 (en) Methods and user interfaces for voice-based user profile management

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: 17928310

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: 17928310

Country of ref document: EP

Kind code of ref document: A1