WO2021218764A1 - Message processing method for terminal, terminal, medium, and electronic device - Google Patents

Message processing method for terminal, terminal, medium, and electronic device Download PDF

Info

Publication number
WO2021218764A1
WO2021218764A1 PCT/CN2021/088922 CN2021088922W WO2021218764A1 WO 2021218764 A1 WO2021218764 A1 WO 2021218764A1 CN 2021088922 W CN2021088922 W CN 2021088922W WO 2021218764 A1 WO2021218764 A1 WO 2021218764A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
terminal
user
display mode
progress
Prior art date
Application number
PCT/CN2021/088922
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 华为技术有限公司
Publication of WO2021218764A1 publication Critical patent/WO2021218764A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • 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

  • This application relates to the field of information processing, and in particular to a terminal message processing method, terminal, medium, and electronic equipment.
  • smart terminals such as smart phones, tablet computers, etc.
  • Notification messages of various applications are continuously pushed out to remind users to check.
  • the embodiments of the present application provide a message processing method, terminal, medium, and electronic equipment of a terminal.
  • the technical solution of this application uses eye tracking technology to track the user's viewing of the messages that appear on the screen of the electronic device, and displays the viewed messages and unviewed messages on the screen according to the user's progress in viewing these notification messages, thereby facilitating the user Quickly distinguish which messages have been read and which messages have not been read and need to pay attention to avoid the problem of users missing important messages due to too many notification messages.
  • an embodiment of the present application provides a message processing method for a terminal, including:
  • the terminal determines the position where the user of the terminal is gazing at the terminal screen, where the message displayed on the terminal screen is displayed on the terminal screen; the terminal determines that the position of the user gazing at the terminal screen falls within the message range of one of the messages displayed on the terminal screen In this case, the progress of the user browsing the message is determined; according to the progress of the user browsing the message, the display mode of at least a part of the display elements within the message range of the message on the terminal screen is changed from the first display mode to the second display mode.
  • the display mode of the message browsed by the terminal user is the first display mode.
  • the foregoing method further includes: the message range of the message is the area occupied by the message box of the message on the screen of the terminal.
  • the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to
  • the second display mode includes: changing the background color of the message within the message range from the first color to the second color when the user has finished browsing the message, wherein the color of the message that has not been browsed by the terminal user is the first color.
  • the different display mode here means that the background color of the message is different. This allows the user to easily distinguish which messages have been viewed and which have not been viewed based on the background color.
  • the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to
  • the second display mode includes: according to the progress of the user browsing the message, changing the background color of the area corresponding to the part of the message within the message range of the message from the first color to the second color (for example, the message is browsed) When half of the time, the color of the background area of the half-viewed message is changed), wherein the background color of the part of the message that is not viewed by the terminal user is the first color.
  • the background color of the corresponding area within the message range of the message can be changed according to the percentage of the user's progress in browsing the message.
  • the above-mentioned method further includes: in the case that the terminal determines that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen, determining that the user browses
  • the progress of the message includes:
  • the terminal calculates the time the user gazes at the terminal screen within the message box; according to the calculated time and settings
  • the ratio of the time threshold is determined to determine the progress of the user browsing the message; or, the calculated time is compared with the set time threshold, and the progress of the user browsing the message is determined according to the comparison result.
  • the foregoing method further includes: setting the value of the time threshold to be related to at least one of the number of words and the number of lines of the message, and the cumulative display length of the message.
  • the number of lines of a message is the number of lines corresponding to the content displayed on the terminal screen of the message. For example, if all the content of the message occupies 5 lines on the screen of the terminal, but the terminal is locked, and the message only displays 2 lines of content on the terminal screen, it can be considered that the number of lines of the message is 2 lines .
  • the cumulative display length of the message can be the cumulative number of lines corresponding to the case where a part of the message is displayed. For example, the message display has a total of 5 lines, and only displays the complete first line and half of the second line, then the cumulative display length of the message is 1.5 lines.
  • the above-mentioned method further includes: in the case that the terminal determines that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen, determining that the user browses
  • the progress of the message includes:
  • the terminal calculates the cumulative distance of the user browsing the message box based on the position of the user gazing at the terminal screen; according to the calculated The ratio of the accumulated distance to the set distance threshold determines the user's progress in browsing the message; or, the calculated accumulated distance is compared with the set distance threshold, and the user's progress in browsing the message is determined according to the comparison result.
  • the foregoing method further includes: setting the value of the distance threshold to be related to at least one of the number of words and lines of the message, and the cumulative display length of the message.
  • the foregoing method further includes: the message range includes the area occupied by the message itself on the screen of the terminal.
  • the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to
  • the second display mode includes: according to the progress of the user browsing the message, the color of the part of the message that has been viewed on the terminal screen is changed from the first color to the second color (for example, half of the message is viewed, the message itself is The background color of the half of the browsed part is changed), wherein the color of the message that is not browsed by the terminal user among the messages displayed on the terminal screen is the first color.
  • the background color of the corresponding area within the message range of the message can be changed according to the percentage of the user's progress in browsing the message.
  • the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to
  • the second display mode includes: in the case of judging that the message has been viewed, folding and displaying the message on the terminal screen. In this way, by folding and displaying the messages that have been viewed (for example, only the number of messages recently viewed by the user is displayed, and the specific content of the messages that have been viewed is not displayed), the user can more easily notice the unviewed messages information.
  • the foregoing method further includes: according to the progress of the user browsing the message, changing the classification of at least a part of the display elements within the message range of the message on the terminal screen from the first classification to The second classification, for example, classify browsed messages as read messages and display them on the top of the terminal screen, and classify messages that have not been browsed as unread messages and display them one by one in the middle of the terminal screen.
  • the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to The second display mode includes:
  • the display mode of at least a part of the display elements within the message range of the message on the terminal screen is changed from the first display mode to the second display mode via an intermediate transition state, wherein the intermediate transition state includes at least one A display method different from the first display method and the second display method. For example, if the message is browsed by the user, the background color of the message is changed from red to orange to gray.
  • the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to
  • the second display mode includes: in the case of judging that the message has been viewed, an icon representing that the message has been viewed is displayed within the message range of the message on the terminal screen, so that the user can determine whether the message has been viewed according to the icon.
  • an embodiment of the present application provides a terminal, including:
  • the eye tracking module is used to determine the position where the user of the terminal gazes at the terminal screen, where at least one message is displayed on the terminal screen;
  • the progress calculation module is used to determine the progress of the user browsing messages when the terminal determines that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen;
  • the message management module is used to change the display mode of at least part of the display elements within the message range of the message on the terminal screen from the first display mode to the second display mode according to the progress of the user browsing the message, wherein the display mode is not browsed by the terminal user
  • the display mode of the message is the first display mode.
  • the embodiments of the present application provide a computer-readable medium with instructions stored on the computer-readable medium.
  • the instructions When executed on a computer, the computer executes the first aspect and various possible implementations of the first aspect. Any kind of terminal message processing method.
  • an electronic device including:
  • Memory used to store instructions executed by one or more processors of the system
  • the processor is one of the processors of the system, and is used to execute the first aspect and any one of the terminal message processing methods in the various possible implementations of the first aspect.
  • Figure 1(a) shows a display interface diagram of a mobile phone receiving multiple notification messages in a locked screen state according to some embodiments of the present application
  • Figure 1(b) shows a display interface diagram with different background colors of the notification boxes of read messages and unread messages displayed on the screen of the mobile phone according to some embodiments of the present application;
  • Figure 2 shows a block diagram of the hardware structure of a mobile phone according to some embodiments of the present application
  • Fig. 3 shows a scene diagram of eye tracking using a mobile phone according to some embodiments of the present application
  • Fig. 4 shows a hardware and software structure diagram related to the message processing technology of the present application in a mobile phone according to some embodiments of the present application;
  • Fig. 5 shows a message processing flowchart of the software system shown in Fig. 4 according to some embodiments of the present application;
  • Fig. 6(a) shows a display interface in which messages on the main screen of the mobile phone are not viewed when the mobile phone is in a locked state according to some embodiments of the present application;
  • Fig. 6(b) shows a display interface in which some messages on the main screen of the mobile phone have been viewed when the mobile phone is in a locked state according to some embodiments of the present application;
  • Fig. 7 shows a flow chart of a method for processing a message in a mobile phone according to some embodiments of the present application
  • FIG. 8(a) shows a display interface with different background colors for the messages that have been viewed and that have not been viewed on the main screen of the mobile phone in a locked state according to some embodiments of the present application;
  • FIG. 8(b) shows a display interface in which messages that have been viewed and that have not been viewed on the main screen of the mobile phone are categorized and displayed according to some embodiments of the present application;
  • FIG. 8(c) shows a display interface with icons displayed on messages that have been viewed on the main screen of the mobile phone in a locked state according to some embodiments of the present application
  • Fig. 9 shows a structural block diagram of a message processing apparatus according to some embodiments of the present application.
  • Fig. 10 shows a block diagram of a system according to some embodiments of the present application.
  • FIG. 11 shows a block diagram of a system on chip (SoC) according to some embodiments of the present application.
  • SoC system on chip
  • the illustrative embodiments of the present application include, but are not limited to, a terminal message processing method, device, medium, and electronic equipment.
  • the embodiment of the present application discloses a message processing method for an electronic device, which can track a user's viewing of messages that appear on the screen of the electronic device through eye tracking technology, and compare the viewed messages on the screen according to the progress of the user viewing these notification messages. Unviewed messages are displayed separately, so that users can quickly distinguish which messages have been read, which messages have not been read and need to be focused on, so as to avoid the problem of users missing important messages due to too many notification messages, such as important notifications, phone calls , To-do or reminders, etc.
  • the electronic devices provided in this application can be various electronic devices whose display screens can display message notifications and can detect eye movement, including but not limited to tablet computers, smart phones, laptop computers, desktop computers, Wearable electronic devices, head-mounted displays, mobile email devices, portable game consoles, portable music players, reader devices, etc., where wearable electronic devices include but are not limited to smart watches, smart bracelets or smart glasses, smart helmets , Smart headband, etc.
  • wearable electronic devices include but are not limited to smart watches, smart bracelets or smart glasses, smart helmets , Smart headband, etc.
  • the following takes the mobile phone 10 as an example to illustrate the technical solution of the present application.
  • FIG. 1(a) shows a display interface diagram of the mobile phone 10 receiving multiple notification messages when the screen is locked.
  • the main screen of the mobile phone 10 is in a locked state, and the display interface of the main screen displays four notification messages, which are two SMS messages (one billing information from 10086 and one from customer Zhang). SMS), a missed call from Li Lei and a WeChat message.
  • the mobile phone 10 tracks the position of the user's eyes (hereinafter referred to as human eyes) gazing at the home screen to determine whether the human eyes have seen the notification message. , And distinguish the background color of the notification box of the read and unread messages.
  • the technical solution of the present application solves the above-mentioned problems.
  • the user can learn the status of the message being viewed through the background change of the message without special operation, and the above-mentioned problem can be solved, and the operation process is simple and fast.
  • the notification messages displayed on the screen of the mobile phone 10 may include call records, short messages, third-party application notifications, and so on.
  • the message displayed on the screen of the mobile phone 10 is not necessarily the latest push notification message, and multiple notification messages may be accumulated in history.
  • the background color is used to distinguish between read and unread notification messages
  • the background color of the notification frame of the message can be distinguished, or the background color of the message itself can be distinguished.
  • other methods can also be used, such as bolding the font of the read message, and dividing the read message with the unread message.
  • Read messages in different fonts add an icon that characterizes the message that has been read, and categorize and display the read messages and unread messages in groups (for example, fold the read messages and display them in groups). Unread messages are expanded and displayed one by one) and so on.
  • FIG. 2 shows a schematic structural diagram of a mobile phone 10.
  • the mobile phone 10 can execute the message processing method disclosed in the embodiment of the present application.
  • similar parts have the same reference numerals.
  • the mobile phone 10 may include a processor 110, a power module 140, a memory 180, a mobile communication module 130, a wireless communication module 120, an infrared light emitting module 101, a sensor module 190, an audio module 150, an infrared camera 170, and an interface Module 160 and display screen 102 and so on.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 10.
  • the mobile phone 10 may include more or fewer components than shown, or combine certain components, or disassemble certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, may include a central processing unit (CPU), an image processor GPU (Graphics Processing Unit), a digital signal processor DSP, and a microprocessor MCU (Micro-programmed Control Unit), AI (Artificial Intelligence) processor, or programmable logic device FPGA (Field Programmable Gate Array) and other processing modules or processing circuits. Among them, the different processing units may be independent devices or integrated in one or more processors.
  • the processor 110 may be used to process the video or image containing human eyes collected by the infrared camera 170 to obtain the position where the human eye is looking at the screen of the mobile phone 10.
  • a storage unit may be provided in the processor 110 for storing instructions and data.
  • the storage unit in the processor 110 is a cache memory 180.
  • the memory 180 may store an operating system and at least one application program (such as an application program for shooting video) required by the function.
  • the memory 180 may also store a video or image containing human eyes collected by the infrared camera 170, and the processor 110 can monitor the infrared
  • the video or image collected by the camera 170 includes human eyes position information, etc., obtained by processing the human eyes looking at the screen of the mobile phone 10.
  • the power supply module 140 may include a power supply, a power management component, and the like.
  • the power source can be a battery.
  • the power management component is used to manage the charging of the power supply and the power supply to other modules.
  • the charging management module is used to receive charging input from the charger; the power management module is used to connect to a power source, and the charging management module is connected to the processor 110.
  • the mobile communication module 130 may include, but is not limited to, an antenna, a power amplifier, a filter, a low noise amplifier (LNA), and the like.
  • the mobile communication module 130 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied on the mobile phone 10.
  • the mobile communication module 130 may receive electromagnetic waves by an antenna, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 130 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation by the antenna.
  • at least part of the functional modules of the mobile communication module 130 may be provided in the processor 110.
  • Wireless communication technologies can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), and broadband code division. Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), Bluetooth (blue tooth, BT), global Navigation satellite system (global navigation satellite system, GNSS), wireless local area network (wireless local area networks, WLAN), near field communication (NFC), frequency modulation (FM) and/or field communication, NFC ), infrared technology (infrared, IR) technology, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • CDMA code division multiple access
  • CDMA broadband code division.
  • Multiple access wideband code division multiple access
  • TD-SCDMA time-division code division multiple access
  • LTE long term evolution
  • Bluetooth blue tooth, BT
  • global Navigation satellite system global navigation satellite system
  • GNSS global navigation satellite system
  • wireless local area network wireless local area
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system ( Quasi-zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the wireless communication module 120 may include an antenna, and transmit and receive electromagnetic waves via the antenna.
  • the wireless communication module 120 can provide applications on the mobile phone 10, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the mobile phone 10 can communicate with the network and other devices through wireless communication technology.
  • the mobile communication module 130 and the wireless communication module 120 of the mobile phone 10 may also be located in the same module.
  • the display screen 102 includes a display panel.
  • the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oled, quantum dot light-emitting diode (QLED), etc.
  • the display screen 102 is used to display notification messages of various applications of the mobile phone 10 (such as missed calls, unread messages, memos and reminders of other matters, etc.).
  • the infrared light emitting module 101 includes an infrared light emitter, which can emit infrared light to the human eye, so as to determine the position of the human eye gazing at the display screen 102 by the position of the infrared light on the human eye's cornea.
  • Infrared light emitters include but are not limited to infrared light emitting diodes and so on.
  • the sensor module 190 may include a proximity light sensor, a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
  • the audio module 150 may convert digital audio information into an analog audio signal for output, or convert an analog audio input into a digital audio signal.
  • the audio module 150 can also be used to encode and decode audio signals.
  • the audio module 150 may be disposed in the processor 110, or part of the functional modules of the audio module 150 may be disposed in the processor 110.
  • the audio module 150 may include a speaker, a receiver, a microphone, and a headphone interface.
  • the infrared camera 170 may collect a video or image containing human eyes to obtain the position of the infrared light emitted by the infrared light emitting module 101 in the cornea of the user's eye by processing the video or image containing the human eye. , And then determine the position where the user's eyes are gazing at the display screen 102 of the mobile phone 10. It can be understood that the mobile phone 10 may also include a common camera (not shown) for shooting color images or videos.
  • the interface module 160 includes an external memory interface, a universal serial bus (USB) interface, a subscriber identification module (SIM) card interface, and the like.
  • the external memory interface can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 10.
  • the external memory card communicates with the processor 110 through an external memory interface to realize the data storage function.
  • the universal serial bus interface is used for communication between the mobile phone 10 and other mobile phones.
  • the user identification module card interface is used to communicate with the SIM card installed in the mobile phone 10, for example, to read the phone number stored in the SIM card, or to write the phone number into the SIM card.
  • the mobile phone 10 further includes buttons, motors, indicators, and the like.
  • the keys may include a volume key, an on/off key, and so on.
  • the motor is used to cause the mobile phone 10 to generate a vibration effect, for example, when the user's mobile phone 10 is called, it generates vibration to prompt the user to answer the incoming call of the mobile phone 10.
  • the indicator can include a laser indicator, a radio frequency indicator, an LED indicator, and so on.
  • FIG. 3 shows a scene diagram of eye tracking using the mobile phone 10 according to some embodiments of the present application.
  • the infrared light emitting module 101 has three infrared light emitters for illustration.
  • the infrared emitters can be used to emit infrared light to the human eye.
  • the human eye is receiving After the infrared light emitted by the three infrared light emitters, three infrared light reflection points (reflection point A, reflection point B, and reflection point C as shown in FIG. 3) are formed in the cornea of the human eye.
  • the infrared camera 170 is used to take a video or image of the human eye, and obtain the position of the reflection point formed in the cornea of the human eye and the center position of the pupil of the human eye from the captured video or image to determine the position where the human eye looks at the screen of the mobile phone 10 (That is, the line of sight of the human eye on the screen of the mobile phone 10).
  • the position where the human eye is gazing at the mobile phone 10 can be determined in the following manner:
  • the position of the human eye looking at the screen of the mobile phone 10 (that is, the human Eyes on the screen of the mobile phone 10).
  • the infrared light emitting module 101 may also include more than three infrared light emitters arranged in a predetermined manner, such as a square shape, a line shape, and the like.
  • the number of infrared cameras 170 may also be two or more, which is not limited here.
  • Fig. 4 shows hardware and software related to the message processing technology of the present application in the mobile phone 10 shown in Fig. 3 according to some embodiments of the present application.
  • the mobile phone 10 includes a hardware system 103 and a software system 104.
  • the hardware system 103 includes an infrared camera 170, an infrared light emitting module 101, and a processor 110;
  • the software system 104 includes an operating system 107, and the operating system 107 includes a message management module 105 and an eye tracking module 106.
  • the infrared light emitting module 101 includes three infrared light emitters, which are used as infrared light sources to emit infrared light.
  • the infrared camera 170 is used to capture a video or image of the human eye and send it to the processor 110 so that the processor 110 obtains the position of the reflection point formed in the cornea of the human eye and the center position of the pupil of the human eye from the captured video or image of the human eye Then, according to the position of the reflection point in the cornea and the center position of the pupil of the human eye, the position where the human eye looks at the screen of the mobile phone 10 is determined. For the specific process, refer to the description of FIG. 3.
  • the eye tracking module 106 continuously obtains the movement of the human eye to feed back the position of the human eye gazing at the screen of the mobile phone 10 in real time.
  • the message management module 105 is a module that is set in the mobile phone 10 and dynamically changes the status display characteristics of the notification message of the mobile phone 10. For example, the message management module 105 can change the color of the message notification bar and the font size of the text. In the embodiment provided in this application, the message management module 105 is also used to determine whether the human eye has seen the notification message according to the position where the human eye is gazing at the screen of the mobile phone 10 determined by the eye tracking module 106, and determine whether the human eye has seen the notification message, and compare the read and unread
  • the background color of the messages is distinguished, which is convenient for users to quickly distinguish which messages have been read and which messages have not been read and need to be focused. The user only needs eye movements. The operation process is simple and fast, and the user experience is improved.
  • the message management module 105 and the eye tracking module 106 provided in the embodiments of the present application are modules divided according to functions. In other embodiments, the message management module 105 and the eye tracking module 106 can also be combined into one module. , Or be divided into more modules.
  • the hardware and software system architecture of the mobile phone 10 illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 10. In other embodiments of the present application, the mobile phone 10 may include more or fewer components than shown, or combine certain components, or disassemble certain components, or arrange different components.
  • Fig. 5 shows a message processing flow of the mobile phone 10 shown in Fig. 4 according to some embodiments of the present application. Specifically, as shown in Figure 5, it includes:
  • the message management module 105 and the eye tracking module 106 establish a connection (500).
  • the message management module 105 triggers the eye tracking module 106 to activate the eye tracking function when a new notification message is received (for example, when the home screen of the mobile phone 10 is in a locked state at this time).
  • the eye tracking module 106 is triggered to enable the eye tracking function.
  • the message management module 105 receives a notification from an application of the mobile phone 10, etc. (for example, when the user browses a web page using a search engine, a tip from the chat software pops up on the display interface of the mobile phone 10) , Trigger the eye tracking module 106 to start the eye tracking function.
  • the eye tracking module 106 After the eye tracking module 106 receives the registration of the message management module 105, the message management module 105 and the eye tracking module 106 establish a connection.
  • the eye tracking module 106 sends to the message management module 105 the coordinates of the position where the human eye is looking at the screen of the mobile phone 10 every preset time (502). For example, in some embodiments, the eye tracking module 106 sends to the message management module 105 the coordinates of the position where the human eye is gazing at the screen of the mobile phone 10 every 10 ms.
  • the position of the human eye looking at the screen of the mobile phone 10 can be determined by an optical recording method, where the optical recording method is to record the movement of the human eye with a camera or video camera, that is, to obtain an eye image reflecting the movement of the human eye. And extract eye features from the acquired eye images to build a model of gaze/gaze point estimation.
  • the eye features may include: the position of the center of the pupil, the shape of the pupil, the position of the iris, the shape of the iris, the position of the eyelid, the position of the corner of the eye, the position of the light spot (also referred to as the Purkin spot), and the like.
  • the principle of the eye tracking module 106 in the embodiment of the present application for determining the position where the human eye is gazing at the screen of the mobile phone 10 may be: the infrared light emitting module 101 emits infrared light to the human eye, and the infrared camera 170 captures a video of human eye movement, and at the same time can shoot
  • the reflection point of the infrared light on the cornea is the light spot (also called the Purkin spot), through which the eye image with the light spot is obtained.
  • the eye tracking module 106 analyzes the eye image with light spots to obtain the center position of the pupil of the human eye and the position of the reflection point on the cornea, and then determine the position where the human eye looks at the screen of the mobile phone 10.
  • the relative positional relationship between the center of the pupil and the corneal reflection point changes accordingly.
  • Several eye images with light spots collected by the infrared camera 170 reflect this positional relationship, and the eye tracking module 106 According to the position change relationship, the position where the human eye looks at the screen of the mobile phone 10 as the human eye rotates is determined.
  • the message management module 105 determines whether the position of the human eye gazing at the screen of the mobile phone 10 falls into the message notification frame according to the received position coordinates of the human eye gazing at the screen of the mobile phone 10 and the layout information of the message notification frame of the mobile phone 10 (504). In some embodiments, when the mobile phone 10 receives a new message, the message management module 105 can obtain the layout information of the message box corresponding to the message on the screen of the mobile phone 10 (that is, the coordinate range of the message box on the screen of the mobile phone 10).
  • the message management module 105 calculates the progress of the human eye viewing the message according to the length of the human eye gazing at the message or the continuously received position information of the human eye gazing at the screen of the mobile phone 10 (506).
  • the progress of the human eye browsing the messages can be calculated by calculating the length of time that the position of the human eye gazing at the screen of the mobile phone 10 falls into the corresponding message notification frame.
  • the progress of the human eye browsing the message may be the calculated ratio of the time that the position of the human eye gazing at the screen of the mobile phone 10 falls into the corresponding message notification frame and the set time threshold.
  • the timing should start from determining that the position where the human eye is gazing at the screen of the mobile phone 10 falls within the message notification frame. For example, starting from determining that the position where the human eye is looking at the screen of the mobile phone 10 falls within the message notification frame, the eye tracking module 106 sends the position of the eye looking at the screen of the mobile phone 10 to the message management module 105 every 10 ms, and the human eye is looking at the screen for a continuous period of 100 ms. The position of the screen of the mobile phone 10 is always in the message notification frame. It is not difficult to understand that it can be considered that the duration of the human eye browsing the message in the message notification frame is at least 100 ms.
  • the browsing progress when the human eye browses the message reaches 100ms is 50%; if the human eye completely browses the message, it takes 120ms (That is, the set time threshold of the message is 120ms), then when the human eye browses the message for 100ms, the browsing progress is 83.33%.
  • the set time threshold of the message may be related to at least one of the number of words and lines of the message, and the cumulative display length of the message. That is, when the font size of the message is the same, the greater the number of words, the greater the number of lines, or the longer the cumulative display length, the greater the set time threshold corresponding to the message.
  • the progress of the human eye browsing message can also be determined according to the relationship between the time when the human eye browses the message and the set time threshold. For example, for one or more messages displayed on the screen of the mobile phone 10, set The set time threshold is 80ms. If the time for human eyes to browse the message is greater than or equal to 80ms by calculation, then the message can be considered to have been viewed; if the time for human eyes to browse the message is less than 80ms, then the message can be considered Haven't seen it.
  • the progress of the human eye browsing the messages can be calculated by the human eye gazing at the position information of the screen of the mobile phone 10. In one embodiment, the progress can be calculated by calculating the cumulative distance of the human eye browsing the messages in the message notification box. Specifically, the progress of the human eye browsing the message may be a calculated ratio of the cumulative distance of the human eye browsing the message in the message notification frame to the set distance threshold. For example, the message in the message notification box has a total of two lines. The message length of the first line is 5cm, and the message length of the second line is 3cm. The progress of viewing the message is 80%. In one embodiment, the progress can be calculated by calculating the height of the message in the message notification box that has been viewed by the human eye.
  • the message in the message notification box has a total of five lines, and the average height of each line is 0.5 cm. If the human eye has browsed through the four lines, the progress of the human eye is 80%. If it is determined that the human eye has browsed the three lines, the progress of the human eye of the message is 60%.
  • the set distance threshold of the message may be related to at least one of the number of words and lines of the message, and the cumulative display length of the message. That is, when the font size of the message is the same, the greater the number of words, the greater the number of lines, or the longer the cumulative display length, the greater the set distance threshold corresponding to the message.
  • the progress of the human eye to browse the message can also be determined according to the relationship between the distance of the human eye to browse the message and the set distance threshold. For example, for one or more messages displayed on the screen of the mobile phone 10, set The predetermined distance threshold is 3 lines. If the distance of the human eye browsing the message is greater than or equal to 3 lines by calculation, then the message can be considered to have been seen; if the human eye browsing the message is less than 3 lines, it can be considered The message has not been read.
  • each message notification frame may be the same.
  • the size of each message notification box can also be different. For example, there are two lines of text in the message notification box 1 and ten lines of text in the message notification box 2. If each line of text is the same height, it is not It is difficult to understand that the more lines the message content occupies, the greater the height of the message notification box.
  • the calculation of the human eye browsing message progress is interrupted, and the current progress is performed. Save, so that the next time it is judged that the position where the human eye is looking at the screen of the mobile phone 10 falls within the message notification frame, the progress will continue to be calculated.
  • the message displayed on the screen of the mobile phone 10 has no message notification box (that is, only the message content is displayed).
  • the progress of the human eye browsing the message can be started by judging that the human eye falls within the area occupied by the message itself on the screen of the mobile phone 10.
  • the message management module 105 judges whether the human eye has read the message according to the progress of the human eye browsing the message (508). In some embodiments, it can be judged whether human eyes have seen the message according to a preset progress threshold. For example, in one embodiment, the preset progress threshold is 70%. If it takes 200ms for the human eye to completely browse the message, and the browsing progress when the human eye browses the message for 100ms reaches 50%, it is considered that the human eye has not seen it. After passing this message, and if the browsing progress of the human eye reaches 80% when it reaches 160ms, it is considered that the human eye has read the message. For another example, in one embodiment, the message in the message notification box has a total of two lines.
  • the message length of the first line is 5cm, and the message length of the second line is 3cm. If it is determined that the total length of the message viewed by the human eye is 6.4cm, If the progress of the human eye viewing the message is 80%, it is considered that the human eye has seen the message. It can be understood that the value of the aforementioned progress threshold is only exemplary and not restrictive. In a specific application, the value of the threshold may be set as required.
  • the current browsing progress can be recorded, so as to build on this basis. Continue to accumulate the progress of attention to the message, or recalculate the progress next time.
  • the message management module 105 changes the color of the message box of the message (510). In some embodiments, if it is determined that the human eye has seen the message in the message notification box, the message management module 105 distinguishes the background color of the message box (for example, the background color of the message box is white when the message box has not been seen. After judging that the message has been viewed, the message management module 105 changes the background color of the message box to rose red to indicate that the message has been viewed. In some embodiments, the message management module 105 can also change the color of the message box being viewed by the human eye according to the progress of the human eye browsing the message.
  • the home screen of the mobile phone 10 is in a locked state, and four messages are displayed on the home screen of the mobile phone 10, two messages from "Guo” and two messages from Mr. Zhang.
  • the missed call message and one WeChat message were not viewed by the user.
  • the missed call message from Mr. Zhang has been checked, and the background color of the corresponding message box is completely changed (that is, the background color of the message that has not been checked is different );
  • a message from "Guo" about a problem discussed in a meeting was viewed 70%, and the background color of the 70% part of the message was changed.
  • Fig. 7 shows a message processing method of an electronic device according to some embodiments of the present application.
  • the following takes the mobile phone 10 shown in FIG. 3 as an example to introduce the message processing method provided in the embodiment of the present application in detail. Specifically, as shown in Figure 7, it includes:
  • the mobile phone 10 uses the eye tracking module 106 to determine where the human eye is looking at the screen of the mobile phone 10.
  • the infrared light emitting module 101 emits infrared light to the human eye
  • the infrared camera 170 captures a video of human eye movement, and at the same time, the reflection point of the infrared light on the cornea can be captured, thereby obtaining an eye image with the reflection point.
  • the eye tracking module 106 analyzes the eye image with reflection points to obtain the center position of the pupil of the human eye and the position of the reflection point on the cornea, and determines that the human eye is looking at the mobile phone 10 according to the center position of the pupil of the human eye and the position of the reflection point on the cornea. The position of the screen. Moreover, as the human eye rotates, the relative positional relationship between the pupil center and the corneal reflection point changes accordingly. Several eye images with reflection points collected by the infrared camera 170 reflect this positional change relationship. The eye tracking module 106 According to the position change relationship, the position where the human eye looks at the screen of the mobile phone 10 as the human eye rotates is determined.
  • the message management module 105 can obtain the layout information of the message box corresponding to the message on the screen of the mobile phone 10 (that is, the coordinate range of the message box on the screen of the mobile phone 10), and determine whether the position coordinates of the human eye watching the screen of the mobile phone 10 fall into the message.
  • the coordinate range of the frame on the screen of the mobile phone 10 is used to determine whether the position where the human eye is looking at the screen of the mobile phone 10 falls within the message notification frame.
  • the progress of the human eye browsing the messages can be calculated by calculating the length of time that the position of the human eye gazing at the screen of the mobile phone 10 falls into the corresponding message notification frame. In some embodiments, the progress of the human eye browsing the messages can be calculated by the human eye gazing at the position information of the screen of the mobile phone 10.
  • the specific calculation method is similar to the calculation method shown in FIG. 5, please refer to the above for detailed description, and will not be repeated here.
  • the preset progress threshold is 80%. If the progress of the human eye browsing the message in the message box is greater than or equal to 80%, it is judged that the human eye has seen the message in the message box, otherwise, it is judged that the human eye has not seen the message in the message box. News.
  • the color of the part that has been seen and the part that has not been seen in the message can be distinguished, for example, the unseen part.
  • Part of the content of the message is displayed in white, and part of the content of the message that has been read is displayed in green.
  • the unseen messages are displayed on the top of the screen of the mobile phone 10, and the messages that have been seen are displayed on the screen of the mobile phone 10. Show below. You can also display the unseen messages on the screen of the mobile phone 10 one by one, fold the messages that have been read, and only display the number of read messages, or only display the unseen messages on the main screen of the mobile phone 10. To display. For example, in the embodiment shown in FIG. 8(b), the main screen of the mobile phone 10 has 1 total missed call and 1 WeChat notification that has not been viewed, and there are 20 read notifications that are superimposed and displayed. This makes it easier for users to pay attention to notification messages that have not been viewed, so as to reduce the possibility of missing important notification messages.
  • an icon indicating that the message has been checked may be displayed on the screen.
  • the main screen of the mobile phone 10 displays four messages, including two short messages from the mobile phone, one from Mr. Zhang's missed call and one message from WeChat.
  • the message management module 105 displays an icon of an eye on the upper right of the message box of the two messages, which symbolizes this Both messages have been viewed. The user can distinguish which messages have been watched and which have not been watched by seeing whether the eye icon is displayed on the message box, which is convenient for the user to quickly distinguish the messages that have been watched from those that have not been watched.
  • the eye icon in FIG. 8(c) that indicates that the message has been viewed can be any icon, and this solution does not limit the shape, size, color, etc. of the icon that indicates that the message has been viewed. In addition, this solution does not limit the position of the icon that indicates that a certain message has been viewed in the message box.
  • an icon indicating that the message has not been seen may also be displayed on the screen.
  • Fig. 9 provides a message processing apparatus 900 according to some embodiments of the present application, specifically, including:
  • the eye tracking module 902 is used to determine where the user of the terminal is gazing at the terminal screen, and at least one message is displayed on the terminal screen;
  • the progress calculation module 904 is configured to determine the progress of the user browsing messages when the terminal determines that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen;
  • the message management module 906 is configured to change the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to the second display mode according to the progress of the user browsing the message, wherein The display mode of the browsed message is the first display mode.
  • the message processing apparatus 900 shown in FIG. 9 corresponds to the message processing method provided in this application, and the technical details in the specific description of the message processing method provided in this application still apply to the message processing shown in FIG. 9
  • the device 900 please refer to the above for a specific description, and will not be repeated here.
  • the system 100 may include one or more processors 1004, a system control logic 1008 connected to at least one of the processors 1004, a system memory 1012 connected to the system control logic 1008, and a system control logic 1008 connected to the system control logic 1008.
  • NVM Non-volatile memory
  • the system 100 further includes an infrared light emitting module (not shown), an infrared camera (not shown), and so on.
  • the infrared light emitting module includes an infrared light emitter, which can emit infrared light to human eyes.
  • Infrared light emitters include, but are not limited to, infrared light-emitting diodes, infrared lasers, and so on.
  • Infrared cameras can capture video or images containing human eyes.
  • the processor 1004 may include one or more single-core or multi-core processors. In some embodiments, the processor 1004 may include any combination of a general-purpose processor and a special-purpose processor (for example, a graphics processor, an application processor, a baseband processor, etc.). In an embodiment in which the system 100 adopts an eNB (Evolved Node B, enhanced base station) 101 or a RAN (Radio Access Network, radio access network) controller, the processor 1004 may be configured to execute various conforming embodiments, for example In the embodiment shown in FIGS.
  • eNB evolved Node B, enhanced base station
  • RAN Radio Access Network, radio access network
  • the processor 1004 processes the video or image containing the human eye collected by the infrared camera to obtain the position of the infrared light emitted by the infrared light emitting module in the cornea of the user’s eye, Then determine the position of the user's eyes gazing at the display screen of the mobile phone.
  • system control logic 1008 may include any suitable interface controller to provide any suitable interface to at least one of the processors 1004 and/or any suitable device or component in communication with the system control logic 1008.
  • the system control logic 1008 may include one or more memory controllers to provide an interface to the system memory 1012.
  • the system memory 1012 can be used to load and store data and/or instructions. For example, loading the application program corresponding to the camera function of the infrared camera, storing the video or image containing the human eye collected by the infrared camera, and the processor processing the video or image containing the human eye collected by the infrared camera. Screen location information, etc.
  • the memory 1012 of the system 100 may include any suitable volatile memory, such as a suitable dynamic random access memory (DRAM).
  • DRAM dynamic random access memory
  • the NVM/memory 1016 may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions.
  • the NVM/memory 1016 may include any suitable non-volatile memory such as flash memory and/or any suitable non-volatile storage device, such as HDD (Hard Disk Drive, hard disk drive), CD (Compact Disc) , At least one of an optical disc drive and a DVD (Digital Versatile Disc, Digital Versatile Disc) drive.
  • the NVM/memory 1016 may include a part of the storage resources on the device where the system 100 is installed, or it may be accessed by the device, but not necessarily a part of the device.
  • the NVM/storage 1016 can be accessed through the network via the network interface 1020.
  • system memory 1012 and the NVM/memory 1016 may respectively include: a temporary copy and a permanent copy of the instruction 1024.
  • the instructions 1024 may include instructions that, when executed by at least one of the processors 1004, cause the system 100 to implement the methods shown in FIGS. 5 and 7.
  • the instructions 1024, hardware, firmware, and/or software components thereof may additionally/alternatively be placed in the system control logic 1008, the network interface 1020, and/or the processor 1004.
  • the network interface 1020 may include a transceiver to provide a radio interface for the system 100, and then communicate with any other suitable devices (such as a front-end module, an antenna, etc.) through one or more networks.
  • the network interface 1020 may be integrated with other components of the system 100.
  • the network interface 1020 may be integrated with at least one of the processor 1004, the system memory 1012, the NVM/storage 1016, and the firmware device with instructions (not shown), when at least one of the processor 1004 executes the When instructed, the system 100 implements the methods shown in FIGS. 5 and 7.
  • the network interface 1020 may further include any suitable hardware and/or firmware to provide a multiple input multiple output radio interface.
  • the network interface 1020 may be a network adapter, a wireless network adapter, a telephone modem and/or a wireless modem.
  • At least one of the processors 1004 may be packaged with the logic of one or more controllers for the system control logic 1008 to form a system in package (SiP). In one embodiment, at least one of the processors 1004 may be integrated with the logic of one or more controllers used for the system control logic 1008 on the same die to form a system on chip (System on Chip, SoC).
  • SiP system in package
  • SoC system on chip
  • the system 100 may further include: an input/output (I/O) device 1032.
  • the I/O device 1032 may include a user interface to enable a user to interact with the system 100; the design of the peripheral component interface enables the peripheral component to also interact with the system 100.
  • the system 100 further includes a sensor for determining at least one of environmental conditions and location information related to the system 100.
  • the user interface may include, but is not limited to, a display (e.g., liquid crystal display, touch screen display, etc.), speakers, microphones, one or more cameras (e.g., still image cameras and/or video cameras), flashlights (e.g., LED flash) and keyboard.
  • a display e.g., liquid crystal display, touch screen display, etc.
  • speakers e.g., speakers, microphones, one or more cameras (e.g., still image cameras and/or video cameras), flashlights (e.g., LED flash) and keyboard.
  • the peripheral component interface may include, but is not limited to, a non-volatile memory port, an audio jack, and a power interface.
  • the senor may include, but is not limited to, a gyroscope sensor, an accelerometer, a proximity sensor, an ambient light sensor, and a positioning unit.
  • the positioning unit may also be part of or interact with the network interface 1020 to communicate with components of the positioning network (eg, global positioning system (GPS) satellites).
  • GPS global positioning system
  • FIG. 11 shows a block diagram of a system on chip (System on Chip, SoC) 110.
  • SoC System on Chip
  • the SoC110 includes: an interconnection unit 1150; a system agent unit 1180; a bus controller unit 1190; an integrated memory controller unit 1140; a group or one or more coprocessors 1120, which may include integrated graphics logic, Image processor, audio processor and video processor; static random access memory (SRAM) unit 1130; direct memory access (DMA) unit 1160.
  • an interconnection unit 1150 a system agent unit 1180; a bus controller unit 1190; an integrated memory controller unit 1140; a group or one or more coprocessors 1120, which may include integrated graphics logic, Image processor, audio processor and video processor; static random access memory (SRAM) unit 1130; direct memory access (DMA) unit 1160.
  • SRAM static random access memory
  • DMA direct memory access
  • the coprocessor 1120 includes a dedicated processor, such as, for example, a network or communication processor, a compression engine, a graphics processor General Purpose Computing (General Purpose Computing on GPU, GPGPU), a high-throughput MIC processor, or embedded Type processor and so on.
  • a dedicated processor such as, for example, a network or communication processor, a compression engine, a graphics processor General Purpose Computing (General Purpose Computing on GPU, GPGPU), a high-throughput MIC processor, or embedded Type processor and so on.
  • the various embodiments of the mechanism disclosed in this application may be implemented in hardware, software, firmware, or a combination of these implementation methods.
  • the embodiments of the present application can be implemented as a computer program or program code executed on a programmable system.
  • the programmable system includes at least one processor and a storage system (including volatile and non-volatile memory and/or storage elements) , At least one input device and at least one output device.
  • Program codes can be applied to input instructions to perform the functions described in this application and generate output information.
  • the output information can be applied to one or more output devices in a known manner.
  • the processing system includes any processor having a processor such as, for example, a digital signal processor (Digital Signal Processing, DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor. system.
  • DSP Digital Signal Processing
  • ASIC application specific integrated circuit
  • the program code can be implemented in a high-level programming language or an object-oriented programming language to communicate with the processing system.
  • assembly language or machine language can also be used to implement the program code.
  • the mechanism described in this application is not limited to the scope of any particular programming language. In either case, the language can be a compiled language or an interpreted language.
  • the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof.
  • the disclosed embodiments can also be implemented as instructions carried by or stored on one or more transient or non-transitory machine-readable (eg, computer-readable) storage media, which can be executed by one or more processors Read and execute.
  • the instructions can be distributed through a network or through other computer-readable media.
  • a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (for example, a computer), including, but not limited to, floppy disks, optical disks, optical disks, read-only memories (CD-ROMs), magnetic CD, Read Only Memory (ROM), Random Access Memory (RAM), Erasable Programmable Read Only Memory (EPROM), Electrically Erasable and Programmable Electronically Erasable Programmable Read-Only Memory (EEPROM), magnetic or optical card, flash memory, or used to transmit information by using the Internet to transmit information in electrical, optical, acoustic or other forms (for example, carrier waves, infrared signals, digital signals) Etc.) tangible machine-readable memory. Therefore, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (for example, a computer).
  • each unit/module mentioned in each device embodiment of this application is a logical unit/module.
  • a logical unit/module can be a physical unit/module or a physical unit/ A part of the module can also be realized by a combination of multiple physical units/modules.
  • the physical realization of these logical units/modules is not the most important.
  • the combination of the functions implemented by these logical units/modules is the solution to this application.
  • the above-mentioned device embodiments of this application do not introduce units/modules that are not closely related to solving the technical problems proposed by this application. This does not mean that the above-mentioned device embodiments do not exist. Other units/modules.

Abstract

The present application relates to a message processing method for a terminal, a terminal, a medium, and an electronic device. The method comprises: a terminal determining a position, on a terminal screen, at which a user of the terminal's gaze lands, wherein at least one message is displayed on the terminal screen; when it is determined that the position at which the user's gaze lands on the terminal screen falls within a message range of a message displayed on the screen, the terminal determining the progress of the user browsing the message; and changing a display mode, on the terminal screen, of at least some of the display elements within the message range of the message from a first display mode to a second display mode according to the progress of the user browsing the message, wherein a display mode of a message which has not been browsed by the user of the terminal is the first display mode. In the present application, the viewing of a message appearing on a terminal screen by a user is tracked by means of eyeball tracking technology, and a viewed message and a non-viewed message are distinguished and displayed on the screen according to the progress of the user viewing messages, such that the user can quickly distinguish between the viewed message and the non-viewed message, and is prevented from missing an important message.

Description

终端的消息处理方法、终端、介质和电子设备Terminal message processing method, terminal, medium and electronic equipment
本申请要求于2020年4月27日提交中国专利局、申请号为202010343422.4、申请名称为“终端的消息处理方法、终端、介质和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on April 27, 2020, the application number is 202010343422.4, and the application name is "terminal message processing method, terminal, medium and electronic equipment", the entire content of which is incorporated by reference Incorporated in this application.
技术领域Technical field
本申请涉及信息处理领域,特别涉及一种终端的消息处理方法、终端、介质和电子设备。This application relates to the field of information processing, and in particular to a terminal message processing method, terminal, medium, and electronic equipment.
背景技术Background technique
随着通信技术和智能终端技术的发展,智能终端(例如智能手机、平板电脑等)在人们日常的工作、生活中起到越来越重要的作用,终端设备的应用程序也越来越多,各个应用程序的通知消息(例如未接来电、未读信息、备忘录以及其他事项提醒等)不断地推送出来提醒用户查看。With the development of communication technology and smart terminal technology, smart terminals (such as smart phones, tablet computers, etc.) play an increasingly important role in people’s daily work and life, and there are more and more terminal device applications. Notification messages of various applications (such as missed calls, unread messages, memos, and other reminders, etc.) are continuously pushed out to remind users to check.
当用户来不及对通知消息进行逐条查看时,通常一堆消息未处理完,新的消息又不断弹出,未读的消息中重要的消息容易被不断出现的消息淹没,使得用户容易忽略掉重要的通知消息或待办事项,给用户的工作、生活带来困扰。When the user is too late to view the notification messages one by one, usually a bunch of messages are not processed, and new messages pop up constantly. Important messages in the unread messages are easily overwhelmed by the messages that appear constantly, making it easy for users to ignore important notifications. Messages or to-do items bring troubles to users' work and life.
发明内容Summary of the invention
本申请实施例提供了一种终端的消息处理方法、终端、介质和电子设备。本申请的技术方案通过眼球追踪技术追踪用户对电子设备屏幕上出现的消息的查看,并根据用户查看这些通知消息的进展在屏幕上将已查看的消息和未查看的消息区分展示,从而便于用户快速区分哪些消息已看过,哪些消息未看过进而需要重点关注,以避免由于通知消息太多,用户漏掉重要消息的问题。The embodiments of the present application provide a message processing method, terminal, medium, and electronic equipment of a terminal. The technical solution of this application uses eye tracking technology to track the user's viewing of the messages that appear on the screen of the electronic device, and displays the viewed messages and unviewed messages on the screen according to the user's progress in viewing these notification messages, thereby facilitating the user Quickly distinguish which messages have been read and which messages have not been read and need to pay attention to avoid the problem of users missing important messages due to too many notification messages.
第一方面,本申请实施例提供了一种终端的消息处理方法,包括:In the first aspect, an embodiment of the present application provides a message processing method for a terminal, including:
终端确定终端的用户注视终端屏幕的位置,其中终端屏幕上显示有终端屏幕上显示的消息;终端在确定用户注视终端屏幕的位置落入终端屏幕上显示的消息中的一条消息的消息范围内的情况下,确定用户浏览消息的进度;根据用户浏览消息的进度,将消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式,其中,未被终端用户浏览的消息的显示方式为第一显示方式。从而便于用户快速区分哪些消息已看过,哪些消息未看过进而需要重点关注,以避免由于通知消息太多,用户漏掉重要消息的问题,如重要的通知、电话、待办或提醒事项等等。The terminal determines the position where the user of the terminal is gazing at the terminal screen, where the message displayed on the terminal screen is displayed on the terminal screen; the terminal determines that the position of the user gazing at the terminal screen falls within the message range of one of the messages displayed on the terminal screen In this case, the progress of the user browsing the message is determined; according to the progress of the user browsing the message, the display mode of at least a part of the display elements within the message range of the message on the terminal screen is changed from the first display mode to the second display mode. The display mode of the message browsed by the terminal user is the first display mode. This makes it easy for users to quickly distinguish which messages have been read, which messages have not been read and need to be focused on, so as to avoid the problem of users missing important messages due to too many notification messages, such as important notifications, calls, to-do or reminders, etc. Wait.
在上述第一方面的一种可能的实现中,上述方法还包括:消息的消息范围为消息的消息框在终端的屏幕上所占的区域。In a possible implementation of the foregoing first aspect, the foregoing method further includes: the message range of the message is the area occupied by the message box of the message on the screen of the terminal.
在上述第一方面的一种可能的实现中,上述方法还包括:根据用户浏览消息的进度,将消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:在用户浏览完消息的情况下,将消息在消息范围内的背景颜色从第一颜色改变为第二颜色,其中,未被终端用户浏览的消息的颜色为第一颜色。此处显示方式不同即消息的背景颜色不同。从而使得用户可以方便 地根据背景颜色区分哪些消息已看哪些消息未看。In a possible implementation of the foregoing first aspect, the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to The second display mode includes: changing the background color of the message within the message range from the first color to the second color when the user has finished browsing the message, wherein the color of the message that has not been browsed by the terminal user is the first color. The different display mode here means that the background color of the message is different. This allows the user to easily distinguish which messages have been viewed and which have not been viewed based on the background color.
在上述第一方面的一种可能的实现中,上述方法还包括:根据用户浏览消息的进度,将消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:根据用户浏览消息的进度,将消息中已被浏览的部分在该消息的消息范围内所对应的区域的背景颜色从第一颜色改变为第二颜色(例如,消息被浏览了一半,则这一半被浏览的消息的背景区域的颜色被改变),其中,该消息中未被终端用户浏览的部分的背景颜色为第一颜色。或者,在一些实施例中,可以根据用户浏览消息的进度百分比去改变该消息的消息范围内所对应的区域的背景颜色。In a possible implementation of the foregoing first aspect, the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to The second display mode includes: according to the progress of the user browsing the message, changing the background color of the area corresponding to the part of the message within the message range of the message from the first color to the second color (for example, the message is browsed) When half of the time, the color of the background area of the half-viewed message is changed), wherein the background color of the part of the message that is not viewed by the terminal user is the first color. Alternatively, in some embodiments, the background color of the corresponding area within the message range of the message can be changed according to the percentage of the user's progress in browsing the message.
在上述第一方面的一种可能的实现中,上述方法还包括:终端在确定用户注视终端屏幕的位置落入终端屏幕上显示的消息中的一条消息的消息范围内的情况下,确定用户浏览消息的进度包括:In a possible implementation of the above-mentioned first aspect, the above-mentioned method further includes: in the case that the terminal determines that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen, determining that the user browses The progress of the message includes:
终端在确定用户注视终端屏幕的位置落入终端屏幕上显示的消息中的一条消息的消息框的情况下,计算用户注视终端屏幕的位置落在消息框内的时间;根据计算出的时间与设定时间阈值的比值,确定用户浏览消息的进度;或者,将计算出的时间与设定时间阈值进行比较,根据比较结果,确定用户浏览消息的进度。When the terminal determines that the user's gazing position on the terminal screen falls within the message box of one of the messages displayed on the terminal screen, the terminal calculates the time the user gazes at the terminal screen within the message box; according to the calculated time and settings The ratio of the time threshold is determined to determine the progress of the user browsing the message; or, the calculated time is compared with the set time threshold, and the progress of the user browsing the message is determined according to the comparison result.
在上述第一方面的一种可能的实现中,上述方法还包括:设定时间阈值的数值与消息的字数、行数以及消息的累计显示长度中的至少一种相关。可以理解,消息的行数为该消息在终端屏幕上显示出来的内容所对应的行数。例如,若消息的所有内容在终端的屏幕上占用5行,但是终端在锁屏的状态下,该条消息在终端屏幕上只显示了2行内容,可以认为该条消息的行数为2行。消息的累计显示长度可以为该消息的一部分被显示出来的情况下所对应的累加的行数。例如,消息显示总共有5行,只显示了完整的第一行及第二行的一半内容,则该消息的累计显示长度即为1.5行。In a possible implementation of the foregoing first aspect, the foregoing method further includes: setting the value of the time threshold to be related to at least one of the number of words and the number of lines of the message, and the cumulative display length of the message. It can be understood that the number of lines of a message is the number of lines corresponding to the content displayed on the terminal screen of the message. For example, if all the content of the message occupies 5 lines on the screen of the terminal, but the terminal is locked, and the message only displays 2 lines of content on the terminal screen, it can be considered that the number of lines of the message is 2 lines . The cumulative display length of the message can be the cumulative number of lines corresponding to the case where a part of the message is displayed. For example, the message display has a total of 5 lines, and only displays the complete first line and half of the second line, then the cumulative display length of the message is 1.5 lines.
在上述第一方面的一种可能的实现中,上述方法还包括:终端在确定用户注视终端屏幕的位置落入终端屏幕上显示的消息中的一条消息的消息范围内的情况下,确定用户浏览消息的进度包括:In a possible implementation of the above-mentioned first aspect, the above-mentioned method further includes: in the case that the terminal determines that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen, determining that the user browses The progress of the message includes:
终端在确定用户注视终端屏幕的位置落入终端屏幕上显示的消息中的一条消息的消息框内的情况下,基于用户注视终端屏幕的位置,计算用户浏览消息框的累计距离;根据计算出的累计距离与设定距离阈值的比值,确定用户浏览消息的进度;或者,将计算出的累计距离与设定距离阈值进行比较,根据比较结果,确定用户浏览消息的进度。When the terminal determines that the user's gazing position on the terminal screen falls within the message box of one of the messages displayed on the terminal screen, the terminal calculates the cumulative distance of the user browsing the message box based on the position of the user gazing at the terminal screen; according to the calculated The ratio of the accumulated distance to the set distance threshold determines the user's progress in browsing the message; or, the calculated accumulated distance is compared with the set distance threshold, and the user's progress in browsing the message is determined according to the comparison result.
在上述第一方面的一种可能的实现中,上述方法还包括:设定距离阈值的数值与消息的字数、行数以及消息的累计显示长度中的至少一种相关。In a possible implementation of the foregoing first aspect, the foregoing method further includes: setting the value of the distance threshold to be related to at least one of the number of words and lines of the message, and the cumulative display length of the message.
在上述第一方面的一种可能的实现中,上述方法还包括:消息范围包括消息本身在终端的屏幕上所占的区域。In a possible implementation of the foregoing first aspect, the foregoing method further includes: the message range includes the area occupied by the message itself on the screen of the terminal.
在上述第一方面的一种可能的实现中,上述方法还包括:根据用户浏览消息的进度,将消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:根据用户浏览消息的进度,将消息已被浏览的部分在终端屏幕上显示的颜色从第一颜色改变为第二颜色(例如,消息被浏览的一半,则该消息本身被浏览过的一半的部分的背景颜色被改变),其中,终端屏幕上显示的消息中未被终端用户浏览的消息的颜色为第一颜色。在一些实施例中,可以根据用户浏览消息的进度百分比去改变该消息的消息范围内所对应的区域的背景颜色。In a possible implementation of the foregoing first aspect, the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to The second display mode includes: according to the progress of the user browsing the message, the color of the part of the message that has been viewed on the terminal screen is changed from the first color to the second color (for example, half of the message is viewed, the message itself is The background color of the half of the browsed part is changed), wherein the color of the message that is not browsed by the terminal user among the messages displayed on the terminal screen is the first color. In some embodiments, the background color of the corresponding area within the message range of the message can be changed according to the percentage of the user's progress in browsing the message.
在上述第一方面的一种可能的实现中,上述方法还包括:根据用户浏览消息的进度,将消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:在判断消息被看过的情况下,将消息在终端屏幕上进行折叠显示。如此,通过将被看过的消息进行折叠展示(例如,只显示用户最近查看过的消息的数量,不显示被查看过的消息的具体内容),可以使用户更容 易注意到未被查看过的消息。In a possible implementation of the foregoing first aspect, the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to The second display mode includes: in the case of judging that the message has been viewed, folding and displaying the message on the terminal screen. In this way, by folding and displaying the messages that have been viewed (for example, only the number of messages recently viewed by the user is displayed, and the specific content of the messages that have been viewed is not displayed), the user can more easily notice the unviewed messages information.
在上述第一方面的一种可能的实现中,上述方法还包括:根据用户浏览消息的进度,将消息的消息范围内的至少一部分显示元素在终端屏幕上的归类从第一归类改变为第二归类,例如,将被浏览过的消息归类为已读消息,在终端屏幕的上方进行显示,而未被浏览过的消息归类为未读消息,在终端屏幕的中间逐条显示。In a possible implementation of the foregoing first aspect, the foregoing method further includes: according to the progress of the user browsing the message, changing the classification of at least a part of the display elements within the message range of the message on the terminal screen from the first classification to The second classification, for example, classify browsed messages as read messages and display them on the top of the terminal screen, and classify messages that have not been browsed as unread messages and display them one by one in the middle of the terminal screen.
在上述第一方面的一种可能的实现中,上述方法还包括:根据用户浏览消息的进度,将消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:In a possible implementation of the foregoing first aspect, the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to The second display mode includes:
根据用户浏览消息的进度,将消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式经由中间过渡状态改变为第二显示方式,其中,中间过渡状态至少包括一种与第一显示方式和第二显示方法不同的显示方式。例如,消息被用户浏览完毕,将消息的背景颜色从红色经过橙色过渡到灰色。According to the progress of the user browsing the message, the display mode of at least a part of the display elements within the message range of the message on the terminal screen is changed from the first display mode to the second display mode via an intermediate transition state, wherein the intermediate transition state includes at least one A display method different from the first display method and the second display method. For example, if the message is browsed by the user, the background color of the message is changed from red to orange to gray.
在上述第一方面的一种可能的实现中,上述方法还包括:根据用户浏览消息的进度,将消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:在判断消息被看过的情况下,在终端屏幕上消息的消息范围内显示出表征该消息已被看过的图标,从而使用户根据图标判断消息是否被查看过。In a possible implementation of the foregoing first aspect, the foregoing method further includes: according to the progress of the user browsing the message, changing the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to The second display mode includes: in the case of judging that the message has been viewed, an icon representing that the message has been viewed is displayed within the message range of the message on the terminal screen, so that the user can determine whether the message has been viewed according to the icon.
第二方面,本申请实施例提供了一种终端,包括:In the second aspect, an embodiment of the present application provides a terminal, including:
眼球追踪模块,用于确定终端的用户注视终端屏幕的位置,其中终端屏幕上显示有至少一条消息;The eye tracking module is used to determine the position where the user of the terminal gazes at the terminal screen, where at least one message is displayed on the terminal screen;
进度计算模块,用于在终端在确定用户注视终端屏幕的位置落入终端屏幕上显示的消息中的一条消息的消息范围内的情况下,确定用户浏览消息的进度;The progress calculation module is used to determine the progress of the user browsing messages when the terminal determines that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen;
消息管理模块,用于根据用户浏览消息的进度,将消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式,其中,未被终端用户浏览的消息的显示方式为第一显示方式。The message management module is used to change the display mode of at least part of the display elements within the message range of the message on the terminal screen from the first display mode to the second display mode according to the progress of the user browsing the message, wherein the display mode is not browsed by the terminal user The display mode of the message is the first display mode.
第三方面,本申请实施例提供了一种计算机可读介质,计算机可读介质上存储有指令,该指令在计算机上执行时使计算机执行上述第一方面以及第一方面的各种可能实现中的任意一种终端的消息处理方法。In the third aspect, the embodiments of the present application provide a computer-readable medium with instructions stored on the computer-readable medium. When the instructions are executed on a computer, the computer executes the first aspect and various possible implementations of the first aspect. Any kind of terminal message processing method.
第四方面,本申请实施例提供了一种电子设备,包括:In a fourth aspect, an embodiment of the present application provides an electronic device, including:
存储器,用于存储由系统的一个或多个处理器执行的指令,以及Memory, used to store instructions executed by one or more processors of the system, and
处理器,是系统的处理器之一,用于执行上述第一方面以及第一方面的各种可能实现中的任意一种终端的消息处理方法。The processor is one of the processors of the system, and is used to execute the first aspect and any one of the terminal message processing methods in the various possible implementations of the first aspect.
附图说明Description of the drawings
图1(a)根据本申请的一些实施例,示出了手机在锁屏状态下接收到多个通知消息的显示界面图;Figure 1(a) shows a display interface diagram of a mobile phone receiving multiple notification messages in a locked screen state according to some embodiments of the present application;
图1(b)根据本申请的一些实施例,示出了手机屏幕上显示的已读消息和未读消息通知框背景颜色不同的显示界面图;Figure 1(b) shows a display interface diagram with different background colors of the notification boxes of read messages and unread messages displayed on the screen of the mobile phone according to some embodiments of the present application;
图2根据本申请的一些实施例,示出了一种手机的硬件结构框图;Figure 2 shows a block diagram of the hardware structure of a mobile phone according to some embodiments of the present application;
图3根据本申请的一些实施例,示出了一种使用手机进行眼球追踪的场景图;Fig. 3 shows a scene diagram of eye tracking using a mobile phone according to some embodiments of the present application;
图4根据本申请的一些实施例,示出了手机中与本申请的消息处理技术相关的硬件和软件结构图;Fig. 4 shows a hardware and software structure diagram related to the message processing technology of the present application in a mobile phone according to some embodiments of the present application;
图5根据本申请的一些实施例,示出了图4所示的软件系统的消息处理流程图;Fig. 5 shows a message processing flowchart of the software system shown in Fig. 4 according to some embodiments of the present application;
图6(a)根据本申请的一些实施例,示出了一种手机处于锁屏状态下主屏幕上的消息未被查看的 显示界面;Fig. 6(a) shows a display interface in which messages on the main screen of the mobile phone are not viewed when the mobile phone is in a locked state according to some embodiments of the present application;
图6(b)根据本申请的一些实施例,示出了一种手机处于锁屏状态下主屏幕上的部分消息已被查看的显示界面;Fig. 6(b) shows a display interface in which some messages on the main screen of the mobile phone have been viewed when the mobile phone is in a locked state according to some embodiments of the present application;
图7根据本申请的一些实施例,示出了一种手机的消息处理方法流程图;Fig. 7 shows a flow chart of a method for processing a message in a mobile phone according to some embodiments of the present application;
图8(a)根据本申请的一些实施例,示出了一种手机处于锁屏状态下主屏幕上已被查看和未被查看的消息的背景颜色不同的显示界面;FIG. 8(a) shows a display interface with different background colors for the messages that have been viewed and that have not been viewed on the main screen of the mobile phone in a locked state according to some embodiments of the present application;
图8(b)根据本申请的一些实施例,示出了一种手机处于锁屏状态下主屏幕上已被查看和未被查看的消息被归类显示的显示界面;FIG. 8(b) shows a display interface in which messages that have been viewed and that have not been viewed on the main screen of the mobile phone are categorized and displayed according to some embodiments of the present application;
图8(c)根据本申请的一些实施例,示出了一种手机处于锁屏状态下主屏幕上已被查看的消息显示有图标的显示界面;FIG. 8(c) shows a display interface with icons displayed on messages that have been viewed on the main screen of the mobile phone in a locked state according to some embodiments of the present application;
图9根据本申请的一些实施例,示出了一种消息处理装置的结构框图;Fig. 9 shows a structural block diagram of a message processing apparatus according to some embodiments of the present application;
图10根据本申请的一些实施例,示出了一种系统的框图;Fig. 10 shows a block diagram of a system according to some embodiments of the present application;
图11根据本申请的一些实施例,示出了一种片上系统(SoC)的框图。FIG. 11 shows a block diagram of a system on chip (SoC) according to some embodiments of the present application.
具体实施方式Detailed ways
本申请的说明性实施例包括但不限于一种终端消息处理方法、装置、介质和电子设备。The illustrative embodiments of the present application include, but are not limited to, a terminal message processing method, device, medium, and electronic equipment.
下面结合附图对本申请的实施例作进一步地详细描述。The embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
本申请实施例公开一种电子设备的消息处理方法,能够通过眼球追踪技术追踪用户对电子设备屏幕上出现的消息的查看,并根据用户查看这些通知消息的进展在屏幕上将已查看的消息和未查看的消息区分展示,从而便于用户快速区分哪些消息已看过,哪些消息未看过进而需要重点关注,以避免由于通知消息太多,用户漏掉重要消息的问题,如重要的通知、电话、待办或提醒事项等等。可以理解,本申请提供的电子设备可以是其显示屏能够显示消息通知并且能够进行人眼眼球移动检测的各种电子设备,包括但不限于平板电脑、智能手机、膝上型计算机、台式计算机、可穿戴电子设备、头戴式显示器、移动电子邮件设备、便携式游戏机、便携式音乐播放器、阅读器设备等,其中可穿戴电子设备包括但不限于智能手表、智能手环或者智能眼镜、智能头盔、智能头带等等。为了便于说明,下面以手机10为例,说明本申请的技术方案。The embodiment of the present application discloses a message processing method for an electronic device, which can track a user's viewing of messages that appear on the screen of the electronic device through eye tracking technology, and compare the viewed messages on the screen according to the progress of the user viewing these notification messages. Unviewed messages are displayed separately, so that users can quickly distinguish which messages have been read, which messages have not been read and need to be focused on, so as to avoid the problem of users missing important messages due to too many notification messages, such as important notifications, phone calls , To-do or reminders, etc. It can be understood that the electronic devices provided in this application can be various electronic devices whose display screens can display message notifications and can detect eye movement, including but not limited to tablet computers, smart phones, laptop computers, desktop computers, Wearable electronic devices, head-mounted displays, mobile email devices, portable game consoles, portable music players, reader devices, etc., where wearable electronic devices include but are not limited to smart watches, smart bracelets or smart glasses, smart helmets , Smart headband, etc. For ease of description, the following takes the mobile phone 10 as an example to illustrate the technical solution of the present application.
具体地,图1(a)示出了手机10在锁屏状态下接收到多个通知消息的显示界面图。如图1(a)所示,手机10的主屏幕处于锁屏状态,并且主屏幕的显示界面显示出四条通知消息,分别为两条短信消息(一条来自10086的账单信息、一条来自客户张的短信)、一个来自李磊的未接来电和一条微信消息。如图1(b)所示,当用户查看处于锁屏状态的主屏幕时,手机10通过追踪用户的眼睛(以下简称人眼)注视主屏幕的位置,对人眼是否看过通知消息进行判断,并将已读和未读的消息的通知框背景颜色进行区分,例如,在图1(b)中,检测到用户查看了来自客户张的短信和来自李磊的未接来电消息,故自客户张的短信通知框和来自李磊的未接来电消息通知框的背景颜色发生了改变,与未被查看的消息的通知框的背景颜色不同。该方案也适用于手机10的显示界面展示通知消息的其他场景,例如,用户下拉屏幕后出现的消息列表。在现有技术,当用户未手动解锁主屏幕并逐条查看通知中心的各个通知消息、或者只查看了其中一部分通知消息时,随着新的通知消息的不断出现,通常会难以区分哪些消息已看,哪些消息未看,很有可能漏掉重要的通知、电话、待办或提醒事项等等。如若漏掉查看这些重要讯息,有可能给用户的工作生活带来极大负面影响。而如上所述,本申请的技术方案解决了上述问题,用户无 需特殊操作,便可通过消息的背景变化得知消息被查看的情况,便可解决上述问题,操作过程简单、快捷。Specifically, FIG. 1(a) shows a display interface diagram of the mobile phone 10 receiving multiple notification messages when the screen is locked. As shown in Figure 1(a), the main screen of the mobile phone 10 is in a locked state, and the display interface of the main screen displays four notification messages, which are two SMS messages (one billing information from 10086 and one from customer Zhang). SMS), a missed call from Li Lei and a WeChat message. As shown in Figure 1(b), when the user views the home screen in the locked state, the mobile phone 10 tracks the position of the user's eyes (hereinafter referred to as human eyes) gazing at the home screen to determine whether the human eyes have seen the notification message. , And distinguish the background color of the notification box of the read and unread messages. For example, in Figure 1(b), it is detected that the user has viewed the short message from the customer Zhang and the missed call message from Li Lei. The background color of Zhang's SMS notification box and the missed call message notification box from Li Lei have changed, which is different from the background color of the notification box of unchecked messages. This solution is also applicable to other scenarios where the display interface of the mobile phone 10 displays notification messages, for example, a message list that appears after the user pulls down the screen. In the prior art, when the user does not manually unlock the home screen and view each notification message in the notification center one by one, or only view some of the notification messages, as new notification messages continue to appear, it is usually difficult to distinguish which messages have been viewed. , Which messages have not been read, it is possible to miss important notifications, calls, to-do or reminders, etc. If you omit to view these important information, it may have a great negative impact on the user's work and life. As described above, the technical solution of the present application solves the above-mentioned problems. The user can learn the status of the message being viewed through the background change of the message without special operation, and the above-mentioned problem can be solved, and the operation process is simple and fast.
可以理解,手机10屏幕显示的通知消息可以包括通话记录、短信、第三方应用通知等等。另外,手机10屏幕显示的消息不一定是最新推送的通知消息,可以为历史累积多条通知消息。并且,在采用背景颜色对已读和未读的通知消息进行区分时,可以是对消息的通知框的背景颜色进行区分,还可以是对消息本身的背景颜色进行区分。此外,在将已读和未读的通知消息进行区分时,除了采用改变消息框背景色的方式,还可以采用其他的方式,例如将已读消息的字体加粗、将已读消息以和未读消息不同的字体进行显示、将已读消息增加表征该消息被看过的图标,以及将已读消息和未读消息进行归类、分组显示(例如,将已读的消息折叠起来显示、将未读的消息逐条展开显示)等。It can be understood that the notification messages displayed on the screen of the mobile phone 10 may include call records, short messages, third-party application notifications, and so on. In addition, the message displayed on the screen of the mobile phone 10 is not necessarily the latest push notification message, and multiple notification messages may be accumulated in history. In addition, when the background color is used to distinguish between read and unread notification messages, the background color of the notification frame of the message can be distinguished, or the background color of the message itself can be distinguished. In addition, when distinguishing between read and unread notification messages, in addition to changing the background color of the message box, other methods can also be used, such as bolding the font of the read message, and dividing the read message with the unread message. Read messages in different fonts, add an icon that characterizes the message that has been read, and categorize and display the read messages and unread messages in groups (for example, fold the read messages and display them in groups). Unread messages are expanded and displayed one by one) and so on.
根据本申请的实施例,图2示出了一种手机10的结构示意图。该手机10能够执行本申请实施例公开的消息处理方法。在图2中,相似的部件具有同样的附图标记。如图2所示,手机10可以包括处理器110、电源模块140、存储器180,移动通信模块130、无线通信模块120、红外光发射模块101、传感器模块190、音频模块150、红外摄像头170、接口模块160以及显示屏102等。According to an embodiment of the present application, FIG. 2 shows a schematic structural diagram of a mobile phone 10. The mobile phone 10 can execute the message processing method disclosed in the embodiment of the present application. In Figure 2, similar parts have the same reference numerals. As shown in FIG. 2, the mobile phone 10 may include a processor 110, a power module 140, a memory 180, a mobile communication module 130, a wireless communication module 120, an infrared light emitting module 101, a sensor module 190, an audio module 150, an infrared camera 170, and an interface Module 160 and display screen 102 and so on.
可以理解的是,本发明实施例示意的结构并不构成对手机10的具体限定。在本申请另一些实施例中,手机10可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is understandable that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 10. In other embodiments of the present application, the mobile phone 10 may include more or fewer components than shown, or combine certain components, or disassemble certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如,可以包括中央处理器CPU(Central Processing Unit)、图像处理器GPU(Graphics Processing Unit)、数字信号处理器DSP、微处理器MCU(Micro-programmed Control Unit)、AI(Artificial Intelligence,人工智能)处理器或可编程逻辑器件FPGA(Field Programmable Gate Array)等的处理模块或处理电路。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。处理器110可以用来对红外摄像头170采集的包含人眼的视频或图像进行处理,获得人眼注视手机10的屏幕的位置。处理器110中可以设置存储单元,用于存储指令和数据。在一些实施例中,处理器110中的存储单元为高速缓冲存储器180。存储器180可存储操作系统以及至少一个功能所需的应用程序(比如拍摄视频的应用程序),存储器180中还可以存储通过红外摄像头170采集的包含人眼的视频或图像,以及处理器110对红外摄像头170采集的包含人眼的视频或图像进行处理获得的人眼注视手机10的屏幕的位置信息等。The processor 110 may include one or more processing units, for example, may include a central processing unit (CPU), an image processor GPU (Graphics Processing Unit), a digital signal processor DSP, and a microprocessor MCU (Micro-programmed Control Unit), AI (Artificial Intelligence) processor, or programmable logic device FPGA (Field Programmable Gate Array) and other processing modules or processing circuits. Among them, the different processing units may be independent devices or integrated in one or more processors. The processor 110 may be used to process the video or image containing human eyes collected by the infrared camera 170 to obtain the position where the human eye is looking at the screen of the mobile phone 10. A storage unit may be provided in the processor 110 for storing instructions and data. In some embodiments, the storage unit in the processor 110 is a cache memory 180. The memory 180 may store an operating system and at least one application program (such as an application program for shooting video) required by the function. The memory 180 may also store a video or image containing human eyes collected by the infrared camera 170, and the processor 110 can monitor the infrared The video or image collected by the camera 170 includes human eyes position information, etc., obtained by processing the human eyes looking at the screen of the mobile phone 10.
电源模块140可以包括电源、电源管理部件等。电源可以为电池。电源管理部件用于管理电源的充电和电源向其他模块的供电。充电管理模块用于从充电器接收充电输入;电源管理模块用于连接电源,充电管理模块与处理器110。The power supply module 140 may include a power supply, a power management component, and the like. The power source can be a battery. The power management component is used to manage the charging of the power supply and the power supply to other modules. The charging management module is used to receive charging input from the charger; the power management module is used to connect to a power source, and the charging management module is connected to the processor 110.
移动通信模块130可以包括但不限于天线、功率放大器、滤波器、低噪声放大器(Low noise amplify,LNA)等。移动通信模块130可以提供应用在手机10上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块130可以由天线接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块130还可以对经调制解调处理器调制后的信号放大,经天线转为电磁波辐射出去。在一些实施例中,移动通信模块130的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块130至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),蓝牙(blue tooth,BT),全 球导航卫星系统(global navigation satellite system,GNSS),无线局域网(wireless local area networks,WLAN),近距离无线通信技术(near field communication,NFC),调频(frequency modulation,FM)和/或field communication,NFC),红外技术(infrared,IR)技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(bei dou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。The mobile communication module 130 may include, but is not limited to, an antenna, a power amplifier, a filter, a low noise amplifier (LNA), and the like. The mobile communication module 130 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied on the mobile phone 10. The mobile communication module 130 may receive electromagnetic waves by an antenna, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 130 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation by the antenna. In some embodiments, at least part of the functional modules of the mobile communication module 130 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 130 and at least part of the modules of the processor 110 may be provided in the same device. Wireless communication technologies can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), and broadband code division. Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), Bluetooth (blue tooth, BT), global Navigation satellite system (global navigation satellite system, GNSS), wireless local area network (wireless local area networks, WLAN), near field communication (NFC), frequency modulation (FM) and/or field communication, NFC ), infrared technology (infrared, IR) technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system ( Quasi-zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
无线通信模块120可以包括天线,并经由天线实现对电磁波的收发。无线通信模块120可以提供应用在手机10上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(blue tooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。手机10可以通过无线通信技术与网络以及其他设备进行通信。The wireless communication module 120 may include an antenna, and transmit and receive electromagnetic waves via the antenna. The wireless communication module 120 can provide applications on the mobile phone 10, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The mobile phone 10 can communicate with the network and other devices through wireless communication technology.
在一些实施例中,手机10的移动通信模块130和无线通信模块120也可以位于同一模块中。In some embodiments, the mobile communication module 130 and the wireless communication module 120 of the mobile phone 10 may also be located in the same module.
显示屏102包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oled,量子点发光二极管(quantum dot light emitting diodes,QLED)等。例如,显示屏102用于显示手机10的各个应用程序的通知消息(例如未接来电、未读信息、备忘录以及其他事项提醒等)。The display screen 102 includes a display panel. The display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oled, quantum dot light-emitting diode (QLED), etc. For example, the display screen 102 is used to display notification messages of various applications of the mobile phone 10 (such as missed calls, unread messages, memos and reminders of other matters, etc.).
红外光发射模块101包括红外光发射器,可以向人眼发出红外光,以通过红外光在人眼角膜的位置确定人眼注视显示屏102的位置。红外光发射器包括但不限于红外发光二极管等等。The infrared light emitting module 101 includes an infrared light emitter, which can emit infrared light to the human eye, so as to determine the position of the human eye gazing at the display screen 102 by the position of the infrared light on the human eye's cornea. Infrared light emitters include but are not limited to infrared light emitting diodes and so on.
传感器模块190可以包括接近光传感器、压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。The sensor module 190 may include a proximity light sensor, a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.
音频模块150可以将数字音频信息转换成模拟音频信号输出,或者将模拟音频输入转换为数字音频信号。音频模块150还可以用于对音频信号编码和解码。在一些实施例中,音频模块150可以设置于处理器110中,或将音频模块150的部分功能模块设置于处理器110中。在一些实施例中,音频模块150可以包括扬声器、听筒、麦克风以及耳机接口。The audio module 150 may convert digital audio information into an analog audio signal for output, or convert an analog audio input into a digital audio signal. The audio module 150 can also be used to encode and decode audio signals. In some embodiments, the audio module 150 may be disposed in the processor 110, or part of the functional modules of the audio module 150 may be disposed in the processor 110. In some embodiments, the audio module 150 may include a speaker, a receiver, a microphone, and a headphone interface.
在一些实施例中,红外摄像头170可以采集包含人眼的视频或图像,以通过对包含人眼的视频或图像进行处理,获得红外光发射模块101发出的红外光在用户眼睛的角膜中的位置,进而确定用户眼睛注视手机10的显示屏102的位置。可以理解,手机10还可以包括普通摄像头(未图示),用于拍摄彩色图像或视频。In some embodiments, the infrared camera 170 may collect a video or image containing human eyes to obtain the position of the infrared light emitted by the infrared light emitting module 101 in the cornea of the user's eye by processing the video or image containing the human eye. , And then determine the position where the user's eyes are gazing at the display screen 102 of the mobile phone 10. It can be understood that the mobile phone 10 may also include a common camera (not shown) for shooting color images or videos.
接口模块160包括外部存储器接口、通用串行总线(universal serial bus,USB)接口及用户标识模块(subscriber identification module,SIM)卡接口等。其中外部存储器接口可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机10的存储能力。外部存储卡通过外部存储器接口与处理器110通信,实现数据存储功能。通用串行总线接口用于手机10和其他手机进行通信。用户标识模块卡接口用于与安装至手机10的SIM卡进行通信,例如读取SIM卡中存储的电话号码,或将电话号码写入SIM卡中。The interface module 160 includes an external memory interface, a universal serial bus (USB) interface, a subscriber identification module (SIM) card interface, and the like. The external memory interface can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 10. The external memory card communicates with the processor 110 through an external memory interface to realize the data storage function. The universal serial bus interface is used for communication between the mobile phone 10 and other mobile phones. The user identification module card interface is used to communicate with the SIM card installed in the mobile phone 10, for example, to read the phone number stored in the SIM card, or to write the phone number into the SIM card.
在一些实施例中,手机10还包括按键、马达以及指示器等。其中,按键可以包括音量键、开/关机键等。马达用于使手机10产生振动效果,例如在用户的手机10被呼叫的时候产生振动,以提示用户接听手机10来电。指示器可以包括激光指示器、射频指示器、LED指示器等。In some embodiments, the mobile phone 10 further includes buttons, motors, indicators, and the like. Among them, the keys may include a volume key, an on/off key, and so on. The motor is used to cause the mobile phone 10 to generate a vibration effect, for example, when the user's mobile phone 10 is called, it generates vibration to prompt the user to answer the incoming call of the mobile phone 10. The indicator can include a laser indicator, a radio frequency indicator, an LED indicator, and so on.
图3根据本申请的一些实施例,示出了一种使用手机10进行眼球追踪的场景图。在图3所示的实 施例中,以红外光发射模块101具有三个红外光发射器进行说明,其中,红外发射器可以被用于向人眼发射红外光,对应地,人眼在接收到这三个红外光发射器发出的红外光后,在人眼的角膜中形成三个红外光反射点(如图3所示的反射点A、反射点B和反射点C)。红外摄像头170用于拍摄人眼的视频或图像,并从拍摄的视频或图像中获取人眼的角膜中形成的反射点位置,以及人眼瞳孔中心位置,以确定人眼注视手机10屏幕的位置(即人眼落在手机10屏幕上的视线)。具体地,在一些实施例中,可以通过以下方式确定人眼注视手机10的位置:FIG. 3 shows a scene diagram of eye tracking using the mobile phone 10 according to some embodiments of the present application. In the embodiment shown in FIG. 3, the infrared light emitting module 101 has three infrared light emitters for illustration. The infrared emitters can be used to emit infrared light to the human eye. Correspondingly, the human eye is receiving After the infrared light emitted by the three infrared light emitters, three infrared light reflection points (reflection point A, reflection point B, and reflection point C as shown in FIG. 3) are formed in the cornea of the human eye. The infrared camera 170 is used to take a video or image of the human eye, and obtain the position of the reflection point formed in the cornea of the human eye and the center position of the pupil of the human eye from the captured video or image to determine the position where the human eye looks at the screen of the mobile phone 10 (That is, the line of sight of the human eye on the screen of the mobile phone 10). Specifically, in some embodiments, the position where the human eye is gazing at the mobile phone 10 can be determined in the following manner:
对人眼图像进行处理得到在设定方向上的灰度的梯度值,将该灰度的梯度最大值所处位置确定为该人眼图像的瞳孔边缘特征,然后可以对瞳孔边缘特征进行拟合,确定出拟合图像的中心位置,并将该中心位置确定为人眼图像中瞳孔中心位置,并且可以对人眼图像进行处理之后得到的灰度图像基于斑点识别算法获取灰度值较高的区域为普尔钦斑,该普尔钦斑的所处的位置即为光斑(或者称为“反射点”)位置。根据反射点位置和角膜曲率半径,得到角膜曲率中心,根据瞳孔中心位置、角膜曲率中心和预设的眼部光轴与视轴的夹角,确定出人眼注视手机10屏幕的位置(即人眼落在手机10屏幕上的视线)。Process the human eye image to obtain the gradient value of the gray in the set direction, determine the position of the maximum value of the gray gradient as the pupil edge feature of the human eye image, and then fit the pupil edge feature , Determine the center position of the fitted image, and determine the center position as the center position of the pupil in the human eye image, and the gray image obtained after processing the human eye image can obtain the area with higher gray value based on the spot recognition algorithm It is a Purkin spot, and the position of the Purkin spot is the spot (or called the "reflection point") position. According to the position of the reflection point and the radius of curvature of the cornea, the center of curvature of the cornea is obtained. According to the position of the center of the pupil, the center of corneal curvature and the preset angle between the optical axis of the eye and the visual axis, the position of the human eye looking at the screen of the mobile phone 10 (that is, the human Eyes on the screen of the mobile phone 10).
可以理解,在其他实施例中,也可以采用其他方式确认人眼注视手机10屏幕的的位置,不限于上述方法。It can be understood that, in other embodiments, other methods may also be used to confirm the position where the human eye is looking at the screen of the mobile phone 10, which is not limited to the above method.
此外,可以理解,在其他实施例中,红外光发射模块101还可以包括三个以上数量的红外光发射器,以预定的方式排列,例如品字形、一字形等。并且,在其他实施例中,红外摄像头170的数量也可以为两个或两个以上,此处不做限定。In addition, it can be understood that, in other embodiments, the infrared light emitting module 101 may also include more than three infrared light emitters arranged in a predetermined manner, such as a square shape, a line shape, and the like. Moreover, in other embodiments, the number of infrared cameras 170 may also be two or more, which is not limited here.
图4根据本申请的一些实施例,示出了图3所示的手机10中与本申请的消息处理技术相关的硬件和软件。如图4所示,手机10包括硬件系统103和软件系统104。其中,硬件系统103包括红外摄像头170、红外光发射模块101及处理器110;软件系统104包括操作系统107,操作系统107包括消息管理模块105和眼球追踪模块106。其中,红外光发射模块101包括三个红外光发射器,用于作为红外光源发射红外光。红外摄像头170用于拍摄人眼的视频或图像,发送给处理器110,以使得处理器110从拍摄的人眼视频或图像中获取人眼的角膜中形成的反射点位置以及人眼瞳孔中心位置,进而根据角膜中的反射点位置及人眼瞳孔中心位置,确定人眼注视手机10屏幕的位置,具体过程可以参考图3的描述。眼球追踪模块106通过不断获取人眼的运动情况来实时反馈人眼注视手机10屏幕的位置。消息管理模块105为手机10中设置并动态改变手机10的通知消息的状态显示特性的模块,例如通过消息管理模块105可以改变消息通知栏的颜色、文本的字体大小等。在本申请提供的实施例中,消息管理模块105还用于根据眼球追踪模块106确定的人眼注视手机10屏幕的位置,对人眼是否看过通知消息进行判断,并将已读和未读的消息进行背景颜色区分,便于用户快速区分哪些消息已看过,哪些消息未看过进而需要重点关注,用户只需要眼球运动即可,操作过程简单、快捷,提高用户使用体验。Fig. 4 shows hardware and software related to the message processing technology of the present application in the mobile phone 10 shown in Fig. 3 according to some embodiments of the present application. As shown in FIG. 4, the mobile phone 10 includes a hardware system 103 and a software system 104. Among them, the hardware system 103 includes an infrared camera 170, an infrared light emitting module 101, and a processor 110; the software system 104 includes an operating system 107, and the operating system 107 includes a message management module 105 and an eye tracking module 106. Among them, the infrared light emitting module 101 includes three infrared light emitters, which are used as infrared light sources to emit infrared light. The infrared camera 170 is used to capture a video or image of the human eye and send it to the processor 110 so that the processor 110 obtains the position of the reflection point formed in the cornea of the human eye and the center position of the pupil of the human eye from the captured video or image of the human eye Then, according to the position of the reflection point in the cornea and the center position of the pupil of the human eye, the position where the human eye looks at the screen of the mobile phone 10 is determined. For the specific process, refer to the description of FIG. 3. The eye tracking module 106 continuously obtains the movement of the human eye to feed back the position of the human eye gazing at the screen of the mobile phone 10 in real time. The message management module 105 is a module that is set in the mobile phone 10 and dynamically changes the status display characteristics of the notification message of the mobile phone 10. For example, the message management module 105 can change the color of the message notification bar and the font size of the text. In the embodiment provided in this application, the message management module 105 is also used to determine whether the human eye has seen the notification message according to the position where the human eye is gazing at the screen of the mobile phone 10 determined by the eye tracking module 106, and determine whether the human eye has seen the notification message, and compare the read and unread The background color of the messages is distinguished, which is convenient for users to quickly distinguish which messages have been read and which messages have not been read and need to be focused. The user only needs eye movements. The operation process is simple and fast, and the user experience is improved.
可以理解的是,本申请实施例提供的消息管理模块105和眼球追踪模块106是根据功能划分出的模块,在其他实施例中,消息管理模块105和眼球追踪模块106也可以被合并为一个模块,或者被划分为更多个模块。本申请实施例示意的手机10的硬件和软件系统架构并不构成对手机10的具体限定。在本申请另一些实施例中,手机10可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。It is understandable that the message management module 105 and the eye tracking module 106 provided in the embodiments of the present application are modules divided according to functions. In other embodiments, the message management module 105 and the eye tracking module 106 can also be combined into one module. , Or be divided into more modules. The hardware and software system architecture of the mobile phone 10 illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 10. In other embodiments of the present application, the mobile phone 10 may include more or fewer components than shown, or combine certain components, or disassemble certain components, or arrange different components.
图5根据本申请的一些实施例,示出了图4所示的手机10的消息处理流程。具体地,如图5所示,包括:Fig. 5 shows a message processing flow of the mobile phone 10 shown in Fig. 4 according to some embodiments of the present application. Specifically, as shown in Figure 5, it includes:
1)消息管理模块105和眼球追踪模块106建立连接(500)。在一些实施例中,消息管理模块105在接收到新的通知消息时(例如,此时手机10的主屏幕处于锁屏状态),触发眼球追踪模块106开启眼 球追踪功能。在一些实施例中,当消息管理模块105接收到用户下拉通知栏的操作时(例如,此时手机屏幕已被解锁),触发眼球追踪模块106开启眼球追踪功能。在一些实施例中,当消息管理模块105接收到来自手机10的应用程序等发出的通知提醒(例如用户在使用搜索引擎浏览网页时,手机10的显示界面上方弹出一条来自聊天软件的Tips)时,触发眼球追踪模块106开启眼球追踪功能。1) The message management module 105 and the eye tracking module 106 establish a connection (500). In some embodiments, the message management module 105 triggers the eye tracking module 106 to activate the eye tracking function when a new notification message is received (for example, when the home screen of the mobile phone 10 is in a locked state at this time). In some embodiments, when the message management module 105 receives the user's operation of pulling down the notification bar (for example, the mobile phone screen has been unlocked at this time), the eye tracking module 106 is triggered to enable the eye tracking function. In some embodiments, when the message management module 105 receives a notification from an application of the mobile phone 10, etc. (for example, when the user browses a web page using a search engine, a tip from the chat software pops up on the display interface of the mobile phone 10) , Trigger the eye tracking module 106 to start the eye tracking function.
当眼球追踪模块106接收到消息管理模块105的注册后,消息管理模块105和眼球追踪模块106建立连接。After the eye tracking module 106 receives the registration of the message management module 105, the message management module 105 and the eye tracking module 106 establish a connection.
2)眼球追踪模块106每隔预设时间向消息管理模块105发送人眼注视手机10屏幕的位置坐标(502)。例如,在一些实施例中,眼球追踪模块106每隔10ms向消息管理模块105发送人眼注视手机10屏幕的位置坐标。2) The eye tracking module 106 sends to the message management module 105 the coordinates of the position where the human eye is looking at the screen of the mobile phone 10 every preset time (502). For example, in some embodiments, the eye tracking module 106 sends to the message management module 105 the coordinates of the position where the human eye is gazing at the screen of the mobile phone 10 every 10 ms.
在一些实施例中,可以通过光学记录法来确定人眼注视手机10屏幕的位置,其中光学记录法即:用照相机或摄像机记录人眼的运动情况,即获取反映人眼运动的眼部图像,以及从获取到的眼部图像中提取眼部特征用于建立视线/注视点估计的模型。其中,眼部特征可以包括:瞳孔中心位置、瞳孔形状、虹膜位置、虹膜形状、眼皮位置、眼角位置、光斑(也称为普尔钦斑)位置等。In some embodiments, the position of the human eye looking at the screen of the mobile phone 10 can be determined by an optical recording method, where the optical recording method is to record the movement of the human eye with a camera or video camera, that is, to obtain an eye image reflecting the movement of the human eye. And extract eye features from the acquired eye images to build a model of gaze/gaze point estimation. Among them, the eye features may include: the position of the center of the pupil, the shape of the pupil, the position of the iris, the shape of the iris, the position of the eyelid, the position of the corner of the eye, the position of the light spot (also referred to as the Purkin spot), and the like.
具体地,本申请实施例眼球追踪模块106确定人眼注视手机10屏幕的位置的原理可以是:红外光发射模块101发出红外光照向人眼,由红外摄像头170拍摄人眼运动视频,同时能够拍摄红外光在角膜上的反射点即光斑(也称为普尔钦斑),通过由此获取带有光斑的眼部图像。眼球追踪模块106通过对带有光斑的眼部图像进行分析,获得人眼瞳孔中心位置与角膜上反射点的位置,进而确定人眼注视手机10屏幕的位置。可以理解,随着人眼转动,瞳孔中心与角膜反射点的相对位置关系随之发生变化,红外摄像头170采集到的带有光斑的若干眼部图像反映出这样的位置变化关系,眼球追踪模块106根据所述位置变化关系进而确定出随着人眼转动人眼注视手机10屏幕的位置。Specifically, the principle of the eye tracking module 106 in the embodiment of the present application for determining the position where the human eye is gazing at the screen of the mobile phone 10 may be: the infrared light emitting module 101 emits infrared light to the human eye, and the infrared camera 170 captures a video of human eye movement, and at the same time can shoot The reflection point of the infrared light on the cornea is the light spot (also called the Purkin spot), through which the eye image with the light spot is obtained. The eye tracking module 106 analyzes the eye image with light spots to obtain the center position of the pupil of the human eye and the position of the reflection point on the cornea, and then determine the position where the human eye looks at the screen of the mobile phone 10. It can be understood that as the human eye rotates, the relative positional relationship between the center of the pupil and the corneal reflection point changes accordingly. Several eye images with light spots collected by the infrared camera 170 reflect this positional relationship, and the eye tracking module 106 According to the position change relationship, the position where the human eye looks at the screen of the mobile phone 10 as the human eye rotates is determined.
可以理解,在其他实施例中,也可以采用其他方式确认人眼注视手机10的位置,不限于上述方法。It can be understood that, in other embodiments, other methods may also be used to confirm the position where the human eye is looking at the mobile phone 10, which is not limited to the above method.
3)消息管理模块105根据接收到的人眼注视手机10屏幕的位置坐标,以及手机10消息通知框的布局信息,判断人眼注视手机10屏幕的位置是否落入消息通知框(504)。在一些实施例中,当手机10接收到新的消息时,消息管理模块105可以获取到该消息在手机10屏幕上对应的消息框的布局信息(即该消息框在手机10屏幕上的坐标范围),通过判断人眼注视手机10屏幕的位置坐标是否落入消息框在手机10屏幕上的坐标范围,判断人眼注视手机10屏幕的位置是否落入消息通知框内。可以理解,当人眼在浏览一通知消息时,人眼注视手机10屏幕的位置必定在该消息对应的消息框内。3) The message management module 105 determines whether the position of the human eye gazing at the screen of the mobile phone 10 falls into the message notification frame according to the received position coordinates of the human eye gazing at the screen of the mobile phone 10 and the layout information of the message notification frame of the mobile phone 10 (504). In some embodiments, when the mobile phone 10 receives a new message, the message management module 105 can obtain the layout information of the message box corresponding to the message on the screen of the mobile phone 10 (that is, the coordinate range of the message box on the screen of the mobile phone 10). ), by judging whether the position coordinates of the human eyes looking at the screen of the mobile phone 10 fall within the coordinate range of the message box on the screen of the mobile phone 10, and determining whether the position of the human eyes looking at the screen of the mobile phone 10 falls within the message notification box. It can be understood that when the human eye is browsing a notification message, the position where the human eye looks at the screen of the mobile phone 10 must be in the message box corresponding to the message.
4)若落入消息通知框,则消息管理模块105根据人眼注视消息的时长或持续接收到的人眼注视手机10屏幕的位置信息,计算人眼浏览消息的进度(506)。在一些实施例中,人眼浏览消息的进度可以通过计算人眼注视手机10屏幕的位置落入对应消息通知框的时长来计算。具体地,人眼浏览消息的进度可以为计算得到的人眼注视手机10屏幕的位置落入对应消息通知框的时长和设定时间阈值的比值。可以理解,计时应当从确定人眼注视手机10屏幕的位置落入消息通知框内开始。例如,从确定人眼注视手机10屏幕的位置落入消息通知框内开始,眼球追踪模块106每隔10ms向消息管理模块105发送一次眼注视手机10屏幕的位置,连续100ms时间段内人眼注视手机10屏幕的位置一直在该消息通知框内,不难理解,可以认为人眼浏览该消息通知框内的消息时长至少达到100ms。若人眼完全浏览该条消息需要200ms(即该消息的设定时间阈值为200ms),则当人眼浏览该条达到100ms时的浏览进度为50%;若人眼完全浏览该条消息需要120ms(即该消息的设定时间阈值为120ms),则当人眼浏览该条消息达到100ms时的浏览进度为83.33%。可以理解,消息的设定时间阈值可以与消息的字数、行数以及消息的累计显示长度中的至少一种相关。即当消息的字体大小相同的情况下,字数越多、行数越多或 者累计显示的长度越长,则对应该消息的设定时间阈值越大。4) If it falls into the message notification box, the message management module 105 calculates the progress of the human eye viewing the message according to the length of the human eye gazing at the message or the continuously received position information of the human eye gazing at the screen of the mobile phone 10 (506). In some embodiments, the progress of the human eye browsing the messages can be calculated by calculating the length of time that the position of the human eye gazing at the screen of the mobile phone 10 falls into the corresponding message notification frame. Specifically, the progress of the human eye browsing the message may be the calculated ratio of the time that the position of the human eye gazing at the screen of the mobile phone 10 falls into the corresponding message notification frame and the set time threshold. It can be understood that the timing should start from determining that the position where the human eye is gazing at the screen of the mobile phone 10 falls within the message notification frame. For example, starting from determining that the position where the human eye is looking at the screen of the mobile phone 10 falls within the message notification frame, the eye tracking module 106 sends the position of the eye looking at the screen of the mobile phone 10 to the message management module 105 every 10 ms, and the human eye is looking at the screen for a continuous period of 100 ms. The position of the screen of the mobile phone 10 is always in the message notification frame. It is not difficult to understand that it can be considered that the duration of the human eye browsing the message in the message notification frame is at least 100 ms. If it takes 200ms for the human eye to completely browse the message (that is, the set time threshold of the message is 200ms), the browsing progress when the human eye browses the message reaches 100ms is 50%; if the human eye completely browses the message, it takes 120ms (That is, the set time threshold of the message is 120ms), then when the human eye browses the message for 100ms, the browsing progress is 83.33%. It can be understood that the set time threshold of the message may be related to at least one of the number of words and lines of the message, and the cumulative display length of the message. That is, when the font size of the message is the same, the greater the number of words, the greater the number of lines, or the longer the cumulative display length, the greater the set time threshold corresponding to the message.
可以理解,在一些实施例中,还可以根据人眼浏览消息的时间和设定时间阈值的大小关系确定人眼浏览消息的进度,例如,针对手机10屏幕上显示的一条或多条消息,设定时间阈值为80ms,若通过计算获得人眼浏览消息的时间大于或等于80ms,则可以认为该条消息被看过;若通过计算获得人眼浏览消息的时间小于80ms,则可以认为该条消息未被看过。It can be understood that, in some embodiments, the progress of the human eye browsing message can also be determined according to the relationship between the time when the human eye browses the message and the set time threshold. For example, for one or more messages displayed on the screen of the mobile phone 10, set The set time threshold is 80ms. If the time for human eyes to browse the message is greater than or equal to 80ms by calculation, then the message can be considered to have been viewed; if the time for human eyes to browse the message is less than 80ms, then the message can be considered Haven't seen it.
在一些实施例中,人眼浏览消息的进度可以通过人眼注视手机10屏幕的位置信息来计算。在一个实施例中,可以通过计算人眼浏览消息通知框内的消息的累计距离来计算进度。具体地,人眼浏览消息的进度可以为计算得到的人眼浏览消息通知框内的消息的累计距离和设定距离阈值的比值。例如,消息通知框内的消息总共有两行,第一行消息长度为5cm,第二行消息长度为3cm,若确定人眼浏览过的消息总长度(即累计距离)为6.4cm,则人眼浏览该消息的进度为80%。在一个实施例中,可以通过计算人眼浏览过的消息通知框内的消息的高度来计算进度,例如,消息通知框内的消息总共有五行,平均每行的高度为0.5cm,若确定人眼浏览了其中四行,则人眼浏览该消息的进度为80%,若确定人眼浏览了其中三行,则人眼浏览该消息的进度为60%。可以理解,消息的设定距离阈值可以与消息的字数、行数以及消息的累计显示长度中的至少一种相关。即当消息的字体大小相同的情况下,字数越多、行数越多或者累计显示的长度越长,则对应该消息的设定距离阈值越大。In some embodiments, the progress of the human eye browsing the messages can be calculated by the human eye gazing at the position information of the screen of the mobile phone 10. In one embodiment, the progress can be calculated by calculating the cumulative distance of the human eye browsing the messages in the message notification box. Specifically, the progress of the human eye browsing the message may be a calculated ratio of the cumulative distance of the human eye browsing the message in the message notification frame to the set distance threshold. For example, the message in the message notification box has a total of two lines. The message length of the first line is 5cm, and the message length of the second line is 3cm. The progress of viewing the message is 80%. In one embodiment, the progress can be calculated by calculating the height of the message in the message notification box that has been viewed by the human eye. For example, the message in the message notification box has a total of five lines, and the average height of each line is 0.5 cm. If the human eye has browsed through the four lines, the progress of the human eye is 80%. If it is determined that the human eye has browsed the three lines, the progress of the human eye of the message is 60%. It can be understood that the set distance threshold of the message may be related to at least one of the number of words and lines of the message, and the cumulative display length of the message. That is, when the font size of the message is the same, the greater the number of words, the greater the number of lines, or the longer the cumulative display length, the greater the set distance threshold corresponding to the message.
可以理解,在一些实施例中,还可以根据人眼浏览消息的距离和设定距离阈值的大小关系确定人眼浏览消息的进度,例如,针对手机10屏幕上显示的一条或多条消息,设定距离阈值为3行,若通过计算获得人眼浏览消息的距离大于或等于3行,则可以认为该条消息被看过;若通过计算获得人眼浏览消息的距离小于3行,则可以认为该条消息未被看过。It can be understood that, in some embodiments, the progress of the human eye to browse the message can also be determined according to the relationship between the distance of the human eye to browse the message and the set distance threshold. For example, for one or more messages displayed on the screen of the mobile phone 10, set The predetermined distance threshold is 3 lines. If the distance of the human eye browsing the message is greater than or equal to 3 lines by calculation, then the message can be considered to have been seen; if the human eye browsing the message is less than 3 lines, it can be considered The message has not been read.
可以理解,在一些实施例中,每个消息通知框的尺寸大小(例如,消息通知框的长度和高度)可以相同。在另一些实施例中,每个消息通知框的尺寸大小也可以不同,例如,消息通知框1中有两行文字,消息通知框2中有十行文字,若每行文字均等高,则不难理解,消息内容占用的行数越多的消息通知框的高度就越大。It can be understood that, in some embodiments, the size of each message notification frame (for example, the length and height of the message notification frame) may be the same. In other embodiments, the size of each message notification box can also be different. For example, there are two lines of text in the message notification box 1 and ten lines of text in the message notification box 2. If each line of text is the same height, it is not It is difficult to understand that the more lines the message content occupies, the greater the height of the message notification box.
可以理解,在一些实施例中,在计算人眼浏览消息的进度过程中,若判断人眼注视手机10屏幕的位置不在消息通知框内,则中断计算人眼浏览消息的进度,将当前进度进行保存,以便在下一次判断人眼注视手机10屏幕的位置落在消息通知框内时,继续计算进度。It can be understood that in some embodiments, in the process of calculating the progress of human eye browsing messages, if it is determined that the position where the human eye is looking at the screen of the mobile phone 10 is not in the message notification frame, the calculation of the human eye browsing message progress is interrupted, and the current progress is performed. Save, so that the next time it is judged that the position where the human eye is looking at the screen of the mobile phone 10 falls within the message notification frame, the progress will continue to be calculated.
在一些实施例中,除了从人眼落入消息通知框开始计算人眼浏览消息的进度外,在手机10的屏幕上显示的消息无消息通知框(即只显示消息内容)的情况下,还可以从判断人眼落入消息本身在手机10的屏幕上所占的区域范围内开始人眼浏览消息的进度。In some embodiments, in addition to calculating the progress of human eyes browsing messages from the moment the human eye falls into the message notification box, the message displayed on the screen of the mobile phone 10 has no message notification box (that is, only the message content is displayed). The progress of the human eye browsing the message can be started by judging that the human eye falls within the area occupied by the message itself on the screen of the mobile phone 10.
5)消息管理模块105根据人眼浏览消息的进度,判断人眼是否看过此消息(508)。在一些实施例中,可以根据预设的进度阈值判断人眼是否看过此消息。例如,在一个实施例中,预设的进度阈值为70%,若人眼完全浏览该条消息需要200ms,人眼浏览该条消息达到100ms时的浏览进度为50%,则认为人眼未看过此消息,而如果人眼浏览该条消息达到160ms时的浏览进度为80%,则认为人眼看过了此消息。又例如,在一个实施例中,消息通知框内的消息总共有两行,第一行消息长度为5cm,第二行消息长度为3cm,若确定人眼浏览过的消息总长度为6.4cm,人眼浏览该消息的进度为80%,则认为人眼看过此消息。可以理解,前述进度阈值的取值仅仅是示例性的,并非限制性的,在具体应用中,可以根据需要设定阈值的取值。5) The message management module 105 judges whether the human eye has read the message according to the progress of the human eye browsing the message (508). In some embodiments, it can be judged whether human eyes have seen the message according to a preset progress threshold. For example, in one embodiment, the preset progress threshold is 70%. If it takes 200ms for the human eye to completely browse the message, and the browsing progress when the human eye browses the message for 100ms reaches 50%, it is considered that the human eye has not seen it. After passing this message, and if the browsing progress of the human eye reaches 80% when it reaches 160ms, it is considered that the human eye has read the message. For another example, in one embodiment, the message in the message notification box has a total of two lines. The message length of the first line is 5cm, and the message length of the second line is 3cm. If it is determined that the total length of the message viewed by the human eye is 6.4cm, If the progress of the human eye viewing the message is 80%, it is considered that the human eye has seen the message. It can be understood that the value of the aforementioned progress threshold is only exemplary and not restrictive. In a specific application, the value of the threshold may be set as required.
可以理解,在一些实施例中,对看了一部分但是未看完的消息(即根据眼浏览消息的进度,判断人眼未看过此消息),可以记录当前浏览的进度,以便在此基础上继续累加对该消息的关注进度,也可以 下次重新计算进度。It can be understood that, in some embodiments, for a part of the message that has not been read (that is, according to the progress of the eye browsing the message, it is judged that the human eye has not read the message), the current browsing progress can be recorded, so as to build on this basis. Continue to accumulate the progress of attention to the message, or recalculate the progress next time.
6)若人眼看过此消息,则消息管理模块105将此消息的消息框颜色改变(510)。在一些实施例中,若判断人眼看过消息通知框内的消息,则消息管理模块105将该消息框的背景颜色进行区分(例如,该条消息框未被看过时的背景颜色为白色,在判断该条消息被看过后,消息管理模块105将该消息框的背景颜色改变为玫红色),以表征该条消息已被看过。在一些实施例中,消息管理模块105根据人眼浏览消息的进度,还可以随着人眼浏览的进度改变正在被人眼查看的消息框的颜色。例如,在图6(a)所示的实施例中,手机10的主屏幕处于锁屏状态,手机10的主屏幕上显示四条消息,分别为来自“Guo”的两条信息、来自张总的未接来电消息和一条微信消息,这四条消息用户均未查看。而在图6(b)所示的实施例中,来自张总的未接来电消息已被查看完毕,对应该消息框的背景颜色完全被改变(即与未被查看过的消息的背景颜色不同);来自“Guo”的一条关于开会讨论的问题的消息,被查看了70%,对应该条消息被查看过的70%的部分的背景颜色被改变。6) If people have seen the message, the message management module 105 changes the color of the message box of the message (510). In some embodiments, if it is determined that the human eye has seen the message in the message notification box, the message management module 105 distinguishes the background color of the message box (for example, the background color of the message box is white when the message box has not been seen. After judging that the message has been viewed, the message management module 105 changes the background color of the message box to rose red to indicate that the message has been viewed. In some embodiments, the message management module 105 can also change the color of the message box being viewed by the human eye according to the progress of the human eye browsing the message. For example, in the embodiment shown in Figure 6(a), the home screen of the mobile phone 10 is in a locked state, and four messages are displayed on the home screen of the mobile phone 10, two messages from "Guo" and two messages from Mr. Zhang. The missed call message and one WeChat message were not viewed by the user. In the embodiment shown in Figure 6(b), the missed call message from Mr. Zhang has been checked, and the background color of the corresponding message box is completely changed (that is, the background color of the message that has not been checked is different ); A message from "Guo" about a problem discussed in a meeting was viewed 70%, and the background color of the 70% part of the message was changed.
可以理解,在一些实施例中,还可以采用其他的方式,对人眼看过的消息和未看的消息进行区分,例如将已读消息的字体加粗、将已读消息以和未读消息不同的字体进行显示等。It can be understood that in some embodiments, other ways can be used to distinguish between messages that have been seen by the human eye and messages that have not been seen, such as bolding the font of read messages, and making read messages different from unread messages. Fonts for display and so on.
图7根据本申请的一些实施例,示出了一种电子设备的消息处理方法。下面以图3所示的手机10为例,对本申请实施例提供的消息处理方法进行详细介绍。具体地,如图7所示,包括:Fig. 7 shows a message processing method of an electronic device according to some embodiments of the present application. The following takes the mobile phone 10 shown in FIG. 3 as an example to introduce the message processing method provided in the embodiment of the present application in detail. Specifically, as shown in Figure 7, it includes:
1)确定人眼注视手机屏幕的位置(702)。例如,手机10通过眼球追踪模块106确定人眼注视手机10屏幕的位置。具体地,通过红外光发射模块101发出红外光照向人眼,由红外摄像头170拍摄人眼运动视频,同时能够拍摄红外光在角膜上的反射点,由此获取带有反射点的眼部图像。眼球追踪模块106通过对带有反射点的眼部图像进行分析,获得人眼瞳孔中心位置与角膜上反射点的位置,根据人眼瞳孔中心位置与角膜上反射点的位置确定人眼注视手机10屏幕的位置。并且,随着人眼转动,瞳孔中心与角膜反射点的相对位置关系随之发生变化,红外摄像头170采集到的带有反射点的若干眼部图像反映出这样的位置变化关系,眼球追踪模块106根据所述位置变化关系进而确定出随着人眼转动人眼注视手机10屏幕的位置。1) Determine the position where the human eye is gazing at the screen of the mobile phone (702). For example, the mobile phone 10 uses the eye tracking module 106 to determine where the human eye is looking at the screen of the mobile phone 10. Specifically, the infrared light emitting module 101 emits infrared light to the human eye, and the infrared camera 170 captures a video of human eye movement, and at the same time, the reflection point of the infrared light on the cornea can be captured, thereby obtaining an eye image with the reflection point. The eye tracking module 106 analyzes the eye image with reflection points to obtain the center position of the pupil of the human eye and the position of the reflection point on the cornea, and determines that the human eye is looking at the mobile phone 10 according to the center position of the pupil of the human eye and the position of the reflection point on the cornea. The position of the screen. Moreover, as the human eye rotates, the relative positional relationship between the pupil center and the corneal reflection point changes accordingly. Several eye images with reflection points collected by the infrared camera 170 reflect this positional change relationship. The eye tracking module 106 According to the position change relationship, the position where the human eye looks at the screen of the mobile phone 10 as the human eye rotates is determined.
2)根据人眼注视手机屏幕的位置和手机屏幕显示的消息框的布局信息,判断人眼注视手机屏幕的位置是否落入消息框内(704)。消息管理模块105可以获取到消息在手机10屏幕上对应的消息框的布局信息(即该消息框在手机10屏幕上的坐标范围),通过判断人眼注视手机10屏幕的位置坐标是否落入消息框在手机10屏幕上的坐标范围,判断人眼注视手机10屏幕的位置是否落入消息通知框内。即:若人眼注视手机10屏幕的位置坐标落入消息框在手机10屏幕上的坐标范围,则判断人眼注视手机10屏幕的位置落入消息通知框内;若人眼注视手机10屏幕的位置坐标超出消息框在手机10屏幕上的坐标范围,则判断人眼注视手机10屏幕的位置未落入消息通知框内。2) According to the position of the human eye gazing at the mobile phone screen and the layout information of the message box displayed on the mobile phone screen, it is judged whether the position of the human eye gazing at the mobile phone screen falls within the message box (704). The message management module 105 can obtain the layout information of the message box corresponding to the message on the screen of the mobile phone 10 (that is, the coordinate range of the message box on the screen of the mobile phone 10), and determine whether the position coordinates of the human eye watching the screen of the mobile phone 10 fall into the message The coordinate range of the frame on the screen of the mobile phone 10 is used to determine whether the position where the human eye is looking at the screen of the mobile phone 10 falls within the message notification frame. That is: if the coordinates of the position where the human eye is looking at the screen of the mobile phone 10 fall within the coordinate range of the message box on the screen of the mobile phone 10, it is determined that the position where the human eye is looking at the screen of the mobile phone 10 falls within the message notification frame; if the human eye is looking at the screen of the mobile phone 10 If the position coordinate exceeds the coordinate range of the message box on the screen of the mobile phone 10, it is determined that the position where the human eye is looking at the screen of the mobile phone 10 does not fall into the message notification box.
3)在人眼注视手机屏幕的位置落入消息框内的情况下,计算人眼浏览消息框内的消息的进度(706)。在一些实施例中,人眼浏览消息的进度可以通过计算人眼注视手机10屏幕的位置落入对应消息通知框的时长来计算。在一些实施例中,人眼浏览消息的进度可以通过人眼注视手机10屏幕的位置信息来计算。具体计算方法与图5所示的计算方法类似,详细描述请参见上文,在此不再赘述。3) In the case where the position where the human eye is gazing at the screen of the mobile phone falls within the message box, calculate the progress of the human eye browsing the messages in the message box (706). In some embodiments, the progress of the human eye browsing the messages can be calculated by calculating the length of time that the position of the human eye gazing at the screen of the mobile phone 10 falls into the corresponding message notification frame. In some embodiments, the progress of the human eye browsing the messages can be calculated by the human eye gazing at the position information of the screen of the mobile phone 10. The specific calculation method is similar to the calculation method shown in FIG. 5, please refer to the above for detailed description, and will not be repeated here.
4)根据人眼浏览消息框内的消息的进度判断人眼是否看过消息框内的消息(708)。4) Judging whether the human eye has seen the message in the message box according to the progress of the human eye browsing the message in the message box (708).
在一些实施例中,可以根据预设的进度阈值判断人眼是否看过此消息。例如预设的进度阈值为80%,若人眼浏览消息框内的消息的进度大于或等于80%,则判断人眼看过消息框内的消息,反之,则判断人眼未看过消息框内的消息。In some embodiments, it can be judged whether human eyes have seen the message according to a preset progress threshold. For example, the preset progress threshold is 80%. If the progress of the human eye browsing the message in the message box is greater than or equal to 80%, it is judged that the human eye has seen the message in the message box, otherwise, it is judged that the human eye has not seen the message in the message box. News.
5)在人眼看过消息框内的消息的情况下,将消息框的颜色从第一颜色改变成第二颜色(710)。例 如,在图8(a)所示的实施例中,手机10主屏幕上显示了四条消息,其中有两条手机短信,一个来自张总的未接来电和一条来自微信的消息。当手机用户在看过来自张总的未接来电通知消息之后,消息管理模块105将包含该条来电通知消息的消息框的背景颜色以不同于未读消息框的背景颜色进行区分,如此用户对于哪些消息已看哪些消息未看,能够进行快速区分,用户只需要眼球运动即可,操作过程简单、快捷,提高用户使用体验。5) When human eyes have seen the message in the message box, change the color of the message box from the first color to the second color (710). For example, in the embodiment shown in Figure 8(a), four messages are displayed on the main screen of the mobile phone 10, including two short messages from the mobile phone, one from Mr. Zhang's missed call and one message from WeChat. After the mobile phone user has seen the missed call notification message from Mr. Zhang, the message management module 105 distinguishes the background color of the message box containing the incoming call notification message from the background color of the unread message box. Which messages have been watched and which messages have not been watched can be quickly distinguished. The user only needs eye movements. The operation process is simple and fast, and the user experience is improved.
在一些实施例中,还可以根据人眼浏览消息的进度,随着人眼继续浏览消息,将该条消息中已看过的部分和未看过的部分进行颜色区分,例如,未看过的消息的部分内容显示为白色,已看过的消息的部分内容显示为绿色。In some embodiments, according to the progress of the human eye browsing the message, as the human eye continues to browse the message, the color of the part that has been seen and the part that has not been seen in the message can be distinguished, for example, the unseen part. Part of the content of the message is displayed in white, and part of the content of the message that has been read is displayed in green.
在一些实施例中,还可以将已看过的消息和未看过的消息进行归类,将未看过的消息在手机10的屏幕上方进行展示,将已看过的消息在手机10的屏幕下方进行展示。还可以将未看过的消息逐条显示在手机10的屏幕上,将已看过的消息进行折叠展示,只显示已读消息的条数,或者只将未看过的消息在手机10的主屏幕上进行显示。例如,在图8(b)所示的实施例中,手机10的主屏幕有1个张总的未接来电和一条微信通知未被查看,有20条叠加显示的已读通知。如此可以使用户更加容易关注到未被查看的通知消息,以减少漏看重要通知消息的可能性。In some embodiments, it is also possible to categorize the messages that have been seen and the messages that have not been seen, the unseen messages are displayed on the top of the screen of the mobile phone 10, and the messages that have been seen are displayed on the screen of the mobile phone 10. Show below. You can also display the unseen messages on the screen of the mobile phone 10 one by one, fold the messages that have been read, and only display the number of read messages, or only display the unseen messages on the main screen of the mobile phone 10. To display. For example, in the embodiment shown in FIG. 8(b), the main screen of the mobile phone 10 has 1 total missed call and 1 WeChat notification that has not been viewed, and there are 20 read notifications that are superimposed and displayed. This makes it easier for users to pay attention to notification messages that have not been viewed, so as to reduce the possibility of missing important notification messages.
在另一些实施例中,对于已看过的消息,可以在屏幕上显示出表征该消息已被查过的图标。例如,在图8(c)所示的实施例中,手机10的主屏幕显示了四条消息,其中有两条手机短信,一个来自张总的未接来电和一条来自微信的消息。当用户在看过来自“Guo”的短信消息和来自张总的未接来电通知消息之后,消息管理模块105在这两条消息的消息框的右上方显示出图示眼睛图标,该图标表征这两条消息已被查看过。用户通过看消息框上有没有显示该眼睛图标即可区分哪些消息已看哪些消息未看,方便用户快速区分已看和未看的消息。In other embodiments, for a message that has been viewed, an icon indicating that the message has been checked may be displayed on the screen. For example, in the embodiment shown in FIG. 8(c), the main screen of the mobile phone 10 displays four messages, including two short messages from the mobile phone, one from Mr. Zhang's missed call and one message from WeChat. After the user has seen the SMS message from "Guo" and the missed call notification message from Mr. Zhang, the message management module 105 displays an icon of an eye on the upper right of the message box of the two messages, which symbolizes this Both messages have been viewed. The user can distinguish which messages have been watched and which have not been watched by seeing whether the eye icon is displayed on the message box, which is convenient for the user to quickly distinguish the messages that have been watched from those that have not been watched.
可以理解,图8(c)所示的表征消息已被查看过的眼睛图标可以为任何图标,本方案对表征消息已被查看过的图标中的形状、大小、颜色等不做限定。并且,本方案对表征某条消息已被查看过的图标在该条消息框内的位置也不做限定。It can be understood that the eye icon in FIG. 8(c) that indicates that the message has been viewed can be any icon, and this solution does not limit the shape, size, color, etc. of the icon that indicates that the message has been viewed. In addition, this solution does not limit the position of the icon that indicates that a certain message has been viewed in the message box.
可以理解,在另外一些实施例中,对于未看过的消息,还可以在屏幕上显示出表征该消息未被看过的图标。It can be understood that, in some other embodiments, for an unseen message, an icon indicating that the message has not been seen may also be displayed on the screen.
图9根据本申请的一些实施例,提供了一种消息处理装置900,具体地,包括:Fig. 9 provides a message processing apparatus 900 according to some embodiments of the present application, specifically, including:
眼球追踪模块902,用于确定终端的用户注视终端屏幕的位置,终端屏幕上至少显示有一条消息;The eye tracking module 902 is used to determine where the user of the terminal is gazing at the terminal screen, and at least one message is displayed on the terminal screen;
进度计算模块904,用于在终端在确定用户注视终端屏幕的位置落入终端屏幕上显示的消息中的一条消息的消息范围内的情况下,确定用户浏览消息的进度;The progress calculation module 904 is configured to determine the progress of the user browsing messages when the terminal determines that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen;
消息管理模块906,用于根据用户浏览消息的进度,将消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式,其中,未被终端用户浏览的消息的显示方式为第一显示方式。The message management module 906 is configured to change the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to the second display mode according to the progress of the user browsing the message, wherein The display mode of the browsed message is the first display mode.
可以理解,图9所示的消息处理装置900与本申请提供的消息处理方法相对应,以上关于本申请的提供的消息处理方法的具体描述中的技术细节依然适用于图9所示的消息处理装置900,具体描述请参见上文,在此不再赘述。It can be understood that the message processing apparatus 900 shown in FIG. 9 corresponds to the message processing method provided in this application, and the technical details in the specific description of the message processing method provided in this application still apply to the message processing shown in FIG. 9 For the device 900, please refer to the above for a specific description, and will not be repeated here.
现在参考图10,所示为根据本申请的一个实施例的系统100的框图。图10示意性地示出了根据多个实施例的示例系统100。在一个实施例中,系统100可以包括一个或多个处理器1004,与处理器1004中的至少一个连接的系统控制逻辑1008,与系统控制逻辑1008连接的系统内存1012,与系统控制逻辑1008连接的非易失性存储器(NVM)1016,以及与系统控制逻辑1008连接的网络接口1020。在一些 实施例中,系统100还包括红外光发射模块(未图示)、红外摄像头(未图示)等等。红外光发射模块包括红外光发射器,可以向人眼发出红外光。红外光发射器包括但不限于红外发光二极管、红外激光器等等。红外摄像头可以采集包含人眼的视频或图像。Referring now to FIG. 10, shown is a block diagram of a system 100 according to an embodiment of the present application. Figure 10 schematically illustrates an example system 100 according to various embodiments. In one embodiment, the system 100 may include one or more processors 1004, a system control logic 1008 connected to at least one of the processors 1004, a system memory 1012 connected to the system control logic 1008, and a system control logic 1008 connected to the system control logic 1008. Non-volatile memory (NVM) 1016, and a network interface 1020 connected to the system control logic 1008. In some embodiments, the system 100 further includes an infrared light emitting module (not shown), an infrared camera (not shown), and so on. The infrared light emitting module includes an infrared light emitter, which can emit infrared light to human eyes. Infrared light emitters include, but are not limited to, infrared light-emitting diodes, infrared lasers, and so on. Infrared cameras can capture video or images containing human eyes.
在一些实施例中,处理器1004可以包括一个或多个单核或多核处理器。在一些实施例中,处理器1004可以包括通用处理器和专用处理器(例如,图形处理器,应用处理器,基带处理器等)的任意组合。在系统100采用eNB(Evolved Node B,增强型基站)101或RAN(Radio Access Network,无线接入网)控制器的实施例中,处理器1004可以被配置为执行各种符合的实施例,例如,如图5和图7所示的实施例中,处理器1004对红外摄像头采集的包含人眼的视频或图像进行处理,获得红外光发射模块发出的红外光在用户眼睛的角膜中的位置,进而确定用户眼睛注视手机的显示屏的位置。In some embodiments, the processor 1004 may include one or more single-core or multi-core processors. In some embodiments, the processor 1004 may include any combination of a general-purpose processor and a special-purpose processor (for example, a graphics processor, an application processor, a baseband processor, etc.). In an embodiment in which the system 100 adopts an eNB (Evolved Node B, enhanced base station) 101 or a RAN (Radio Access Network, radio access network) controller, the processor 1004 may be configured to execute various conforming embodiments, for example In the embodiment shown in FIGS. 5 and 7, the processor 1004 processes the video or image containing the human eye collected by the infrared camera to obtain the position of the infrared light emitted by the infrared light emitting module in the cornea of the user’s eye, Then determine the position of the user's eyes gazing at the display screen of the mobile phone.
在一些实施例中,系统控制逻辑1008可以包括任意合适的接口控制器,以向处理器1004中的至少一个和/或与系统控制逻辑1008通信的任意合适的设备或组件提供任意合适的接口。In some embodiments, the system control logic 1008 may include any suitable interface controller to provide any suitable interface to at least one of the processors 1004 and/or any suitable device or component in communication with the system control logic 1008.
在一些实施例中,系统控制逻辑1008可以包括一个或多个存储器控制器,以提供连接到系统内存1012的接口。系统内存1012可以用于加载以及存储数据和/或指令。例如加载红外摄像头的拍照功能对应的应用程序、存储通过红外摄像头采集的包含人眼的视频或图像,以及处理器对红外摄像头采集的包含人眼的视频或图像进行处理获得的人眼注视手机的屏幕的位置信息等。在一些实施例中系统100的内存1012可以包括任意合适的易失性存储器,例如合适的动态随机存取存储器(DRAM)。In some embodiments, the system control logic 1008 may include one or more memory controllers to provide an interface to the system memory 1012. The system memory 1012 can be used to load and store data and/or instructions. For example, loading the application program corresponding to the camera function of the infrared camera, storing the video or image containing the human eye collected by the infrared camera, and the processor processing the video or image containing the human eye collected by the infrared camera. Screen location information, etc. In some embodiments, the memory 1012 of the system 100 may include any suitable volatile memory, such as a suitable dynamic random access memory (DRAM).
NVM/存储器1016可以包括用于存储数据和/或指令的一个或多个有形的、非暂时性的计算机可读介质。在一些实施例中,NVM/存储器1016可以包括闪存等任意合适的非易失性存储器和/或任意合适的非易失性存储设备,例如HDD(Hard Disk Drive,硬盘驱动器),CD(Compact Disc,光盘)驱动器,DVD(Digital Versatile Disc,数字通用光盘)驱动器中的至少一个。The NVM/memory 1016 may include one or more tangible, non-transitory computer-readable media for storing data and/or instructions. In some embodiments, the NVM/memory 1016 may include any suitable non-volatile memory such as flash memory and/or any suitable non-volatile storage device, such as HDD (Hard Disk Drive, hard disk drive), CD (Compact Disc) , At least one of an optical disc drive and a DVD (Digital Versatile Disc, Digital Versatile Disc) drive.
NVM/存储器1016可以包括安装系统100的装置上的一部分存储资源,或者它可以由设备访问,但不一定是设备的一部分。例如,可以经由网络接口1020通过网络访问NVM/存储1016。The NVM/memory 1016 may include a part of the storage resources on the device where the system 100 is installed, or it may be accessed by the device, but not necessarily a part of the device. For example, the NVM/storage 1016 can be accessed through the network via the network interface 1020.
特别地,系统内存1012和NVM/存储器1016可以分别包括:指令1024的暂时副本和永久副本。指令1024可以包括:由处理器1004中的至少一个执行时导致系统100实施如图5和图7所示的方法的指令。在一些实施例中,指令1024、硬件、固件和/或其软件组件可另外地/替代地置于系统控制逻辑1008,网络接口1020和/或处理器1004中。In particular, the system memory 1012 and the NVM/memory 1016 may respectively include: a temporary copy and a permanent copy of the instruction 1024. The instructions 1024 may include instructions that, when executed by at least one of the processors 1004, cause the system 100 to implement the methods shown in FIGS. 5 and 7. In some embodiments, the instructions 1024, hardware, firmware, and/or software components thereof may additionally/alternatively be placed in the system control logic 1008, the network interface 1020, and/or the processor 1004.
网络接口1020可以包括收发器,用于为系统100提供无线电接口,进而通过一个或多个网络与任意其他合适的设备(如前端模块,天线等)进行通信。在一些实施例中,网络接口1020可以集成于系统100的其他组件。例如,网络接口1020可以集成于处理器1004的,系统内存1012,NVM/存储器1016,和具有指令的固件设备(未示出)中的至少一种,当处理器1004中的至少一个执行所述指令时,系统100实现如图5和图7所示的方法。The network interface 1020 may include a transceiver to provide a radio interface for the system 100, and then communicate with any other suitable devices (such as a front-end module, an antenna, etc.) through one or more networks. In some embodiments, the network interface 1020 may be integrated with other components of the system 100. For example, the network interface 1020 may be integrated with at least one of the processor 1004, the system memory 1012, the NVM/storage 1016, and the firmware device with instructions (not shown), when at least one of the processor 1004 executes the When instructed, the system 100 implements the methods shown in FIGS. 5 and 7.
网络接口1020可以进一步包括任意合适的硬件和/或固件,以提供多输入多输出无线电接口。例如,网络接口1020可以是网络适配器,无线网络适配器,电话调制解调器和/或无线调制解调器。The network interface 1020 may further include any suitable hardware and/or firmware to provide a multiple input multiple output radio interface. For example, the network interface 1020 may be a network adapter, a wireless network adapter, a telephone modem and/or a wireless modem.
在一个实施例中,处理器1004中的至少一个可以与用于系统控制逻辑1008的一个或多个控制器的逻辑封装在一起,以形成系统封装(SiP)。在一个实施例中,处理器1004中的至少一个可以与用于系统控制逻辑1008的一个或多个控制器的逻辑集成在同一管芯上,以形成片上系统(System on Chip,SoC)。In one embodiment, at least one of the processors 1004 may be packaged with the logic of one or more controllers for the system control logic 1008 to form a system in package (SiP). In one embodiment, at least one of the processors 1004 may be integrated with the logic of one or more controllers used for the system control logic 1008 on the same die to form a system on chip (System on Chip, SoC).
系统100可以进一步包括:输入/输出(I/O)设备1032。I/O设备1032可以包括用户界面,使得用户能够与系统100进行交互;外围组件接口的设计使得外围组件也能够与系统100交互。在一些实施例中,系统100还包括传感器,用于确定与系统100相关的环境条件和位置信息的至少一种。The system 100 may further include: an input/output (I/O) device 1032. The I/O device 1032 may include a user interface to enable a user to interact with the system 100; the design of the peripheral component interface enables the peripheral component to also interact with the system 100. In some embodiments, the system 100 further includes a sensor for determining at least one of environmental conditions and location information related to the system 100.
在一些实施例中,用户界面可包括但不限于显示器(例如,液晶显示器,触摸屏显示器等),扬声器,麦克风,一个或多个相机(例如,静止图像照相机和/或摄像机),手电筒(例如,发光二极管闪光灯)和键盘。In some embodiments, the user interface may include, but is not limited to, a display (e.g., liquid crystal display, touch screen display, etc.), speakers, microphones, one or more cameras (e.g., still image cameras and/or video cameras), flashlights (e.g., LED flash) and keyboard.
在一些实施例中,外围组件接口可以包括但不限于非易失性存储器端口、音频插孔和电源接口。In some embodiments, the peripheral component interface may include, but is not limited to, a non-volatile memory port, an audio jack, and a power interface.
在一些实施例中,传感器可包括但不限于陀螺仪传感器,加速度计,近程传感器,环境光线传感器和定位单元。定位单元还可以是网络接口1020的一部分或与网络接口1020交互,以与定位网络的组件(例如,全球定位系统(GPS)卫星)进行通信。In some embodiments, the sensor may include, but is not limited to, a gyroscope sensor, an accelerometer, a proximity sensor, an ambient light sensor, and a positioning unit. The positioning unit may also be part of or interact with the network interface 1020 to communicate with components of the positioning network (eg, global positioning system (GPS) satellites).
根据本申请的实施例,图11示出了一种片上系统(System on Chip,SoC)110的框图。在图11中,相似的部件具有同样的附图标记。另外,虚线框是更先进的SoC的可选特征。在图11中,SoC110包括:互连单元1150;系统代理单元1180;总线控制器单元1190;集成存储器控制器单元1140;一组或一个或多个协处理器1120,其可包括集成图形逻辑、图像处理器、音频处理器和视频处理器;静态随机存取存储器(SRAM)单元1130;直接存储器存取(Direct Memory Access,DMA)单元1160。在一个实施例中,协处理器1120包括专用处理器,诸如例如网络或通信处理器、压缩引擎、图形处理器通用计算(General Purpose Computing on GPU,GPGPU)、高吞吐量MIC处理器、或嵌入式处理器等等。According to an embodiment of the present application, FIG. 11 shows a block diagram of a system on chip (System on Chip, SoC) 110. In Fig. 11, similar parts have the same reference numerals. In addition, the dashed box is an optional feature of the more advanced SoC. In FIG. 11, the SoC110 includes: an interconnection unit 1150; a system agent unit 1180; a bus controller unit 1190; an integrated memory controller unit 1140; a group or one or more coprocessors 1120, which may include integrated graphics logic, Image processor, audio processor and video processor; static random access memory (SRAM) unit 1130; direct memory access (DMA) unit 1160. In one embodiment, the coprocessor 1120 includes a dedicated processor, such as, for example, a network or communication processor, a compression engine, a graphics processor General Purpose Computing (General Purpose Computing on GPU, GPGPU), a high-throughput MIC processor, or embedded Type processor and so on.
本申请公开的机制的各实施例可以被实现在硬件、软件、固件或这些实现方法的组合中。本申请的实施例可实现为在可编程系统上执行的计算机程序或程序代码,该可编程系统包括至少一个处理器、存储系统(包括易失性和非易失性存储器和/或存储元件)、至少一个输入设备以及至少一个输出设备。The various embodiments of the mechanism disclosed in this application may be implemented in hardware, software, firmware, or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system. The programmable system includes at least one processor and a storage system (including volatile and non-volatile memory and/or storage elements) , At least one input device and at least one output device.
可将程序代码应用于输入指令,以执行本申请描述的各功能并生成输出信息。可以按已知方式将输出信息应用于一个或多个输出设备。为了本申请的目的,处理系统包括具有诸如例如数字信号处理器(Digital Signal Processing,DSP)、微控制器、专用集成电路(Application Specific Integrated Circuit,ASIC)或微处理器之类的处理器的任何系统。Program codes can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purpose of this application, the processing system includes any processor having a processor such as, for example, a digital signal processor (Digital Signal Processing, DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor. system.
程序代码可以用高级程序化语言或面向对象的编程语言来实现,以便与处理系统通信。在需要时,也可用汇编语言或机器语言来实现程序代码。事实上,本申请中描述的机制不限于任何特定编程语言的范围。在任一情形下,该语言可以是编译语言或解释语言。The program code can be implemented in a high-level programming language or an object-oriented programming language to communicate with the processing system. When needed, assembly language or machine language can also be used to implement the program code. In fact, the mechanism described in this application is not limited to the scope of any particular programming language. In either case, the language can be a compiled language or an interpreted language.
在一些情况下,所公开的实施例可以以硬件、固件、软件或其任何组合来实现。所公开的实施例还可以被实现为由一个或多个暂时或非暂时性机器可读(例如,计算机可读)存储介质承载或存储在其上的指令,其可以由一个或多个处理器读取和执行。例如,指令可以通过网络或通过其他计算机可读介质分发。因此,机器可读介质可以包括用于以机器(例如,计算机)可读的形式存储或传输信息的任何机制,包括但不限于,软盘、光盘、光碟、只读存储器(CD-ROMs)、磁光盘、只读存储器(Read Only Memory,ROM)、随机存取存储器(Random access memory,RAM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁卡或光卡、闪存、或用于利用因特网以电、光、声或其他形式的传播信号来传输信息(例如,载波、红外信号数字信号等)的有形的机器可读存储器。因此,机器可读介质包括适合于以机器(例如计算机)可读的形式存储或传输电子指令或信息的任何类型的机器可读介质。In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments can also be implemented as instructions carried by or stored on one or more transient or non-transitory machine-readable (eg, computer-readable) storage media, which can be executed by one or more processors Read and execute. For example, the instructions can be distributed through a network or through other computer-readable media. Therefore, a machine-readable medium may include any mechanism for storing or transmitting information in a form readable by a machine (for example, a computer), including, but not limited to, floppy disks, optical disks, optical disks, read-only memories (CD-ROMs), magnetic CD, Read Only Memory (ROM), Random Access Memory (RAM), Erasable Programmable Read Only Memory (EPROM), Electrically Erasable and Programmable Electronically Erasable Programmable Read-Only Memory (EEPROM), magnetic or optical card, flash memory, or used to transmit information by using the Internet to transmit information in electrical, optical, acoustic or other forms (for example, carrier waves, infrared signals, digital signals) Etc.) tangible machine-readable memory. Therefore, a machine-readable medium includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a form readable by a machine (for example, a computer).
在附图中,可以以特定布置和/或顺序示出一些结构或方法特征。然而,应该理解,可能不需要这样的特定布置和/或排序。而是,在一些实施例中,这些特征可以以不同于说明性附图中所示的方式和/或顺序来布置。另外,在特定图中包括结构或方法特征并不意味着暗示在所有实施例中都需要这样的特征,并且在一些实施例中,可以不包括这些特征或者可以与其他特征组合。In the drawings, some structural or method features may be shown in a specific arrangement and/or order. However, it should be understood that such a specific arrangement and/or ordering may not be required. Rather, in some embodiments, these features may be arranged in a different manner and/or order than shown in the illustrative drawings. In addition, the inclusion of structural or method features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.
需要说明的是,本申请各设备实施例中提到的各单元/模块都是逻辑单元/模块,在物理上,一个逻辑单元/模块可以是一个物理单元/模块,也可以是一个物理单元/模块的一部分,还可以以多个物理单元/模块的组合实现,这些逻辑单元/模块本身的物理实现方式并不是最重要的,这些逻辑单元/模块所实现的功能的组合才是解决本申请所提出的技术问题的关键。此外,为了突出本申请的创新部分,本申请上述各设备实施例并没有将与解决本申请所提出的技术问题关系不太密切的单元/模块引入,这并不表明上述设备实施例并不存在其它的单元/模块。It should be noted that each unit/module mentioned in each device embodiment of this application is a logical unit/module. Physically, a logical unit/module can be a physical unit/module or a physical unit/ A part of the module can also be realized by a combination of multiple physical units/modules. The physical realization of these logical units/modules is not the most important. The combination of the functions implemented by these logical units/modules is the solution to this application. The key to the technical question raised. In addition, in order to highlight the innovative part of this application, the above-mentioned device embodiments of this application do not introduce units/modules that are not closely related to solving the technical problems proposed by this application. This does not mean that the above-mentioned device embodiments do not exist. Other units/modules.
需要说明的是,在本专利的示例和说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in the examples and specification of this patent, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply There is any such actual relationship or sequence between these entities or operations. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes those that are not explicitly listed Other elements of, or also include elements inherent to this process, method, article or equipment. If there are no more restrictions, the element defined by the phrase "including one" does not exclude the existence of other same elements in the process, method, article, or equipment that includes the element.
虽然通过参照本申请的某些优选实施例,已经对本申请进行了图示和描述,但本领域的普通技术人员应该明白,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Although the present application has been illustrated and described by referring to certain preferred embodiments of the present application, those of ordinary skill in the art should understand that various changes can be made in form and details without departing from the present application. The spirit and scope of the application.

Claims (17)

  1. 一种终端的消息处理方法,其特征在于,包括:A message processing method for a terminal, which is characterized in that it comprises:
    所述终端确定终端的用户注视终端屏幕的位置,其中所述终端屏幕上至少显示有一条消息;The terminal determines where the user of the terminal gazes at the terminal screen, where at least one message is displayed on the terminal screen;
    所述终端在确定所述用户注视终端屏幕的位置落入所述终端屏幕上显示的所述消息中的一条消息的消息范围内的情况下,确定所述用户浏览所述消息的进度;Determining, by the terminal, the progress of the user browsing the message in a case where it is determined that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen;
    根据所述用户浏览所述消息的进度,将所述消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式,其中,未被终端用户浏览的消息的显示方式为所述第一显示方式。According to the progress of the user browsing the message, the display mode of at least part of the display elements within the message range of the message on the terminal screen is changed from the first display mode to the second display mode, wherein the display mode is not browsed by the terminal user The display mode of the message is the first display mode.
  2. 根据权利要求1所述的方法,其特征在于,所述消息的消息范围为所述消息的消息框在所述终端的屏幕上所占的区域。The method according to claim 1, wherein the message range of the message is the area occupied by the message box of the message on the screen of the terminal.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述用户浏览所述消息的进度,将所述消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:The method according to claim 2, wherein the display mode of at least a part of the display elements within the message range of the message on the terminal screen is changed from the first display according to the progress of the user browsing the message. The mode change to the second display mode includes:
    在所述用户浏览完所述消息的情况下,将所述消息在所述消息范围内的背景颜色从第一颜色改变为第二颜色,其中,未被终端用户浏览的消息的颜色为所述第一颜色。When the user has finished browsing the message, change the background color of the message within the message range from the first color to the second color, wherein the color of the message that has not been browsed by the terminal user is the The first color.
  4. 根据权利要求2所述的方法,其特征在于,所述根据所述用户浏览所述消息的进度,将所述消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:The method according to claim 2, wherein the display mode of at least a part of the display elements within the message range of the message on the terminal screen is changed from the first display according to the progress of the user browsing the message. The mode change to the second display mode includes:
    根据所述用户浏览所述消息的进度,将所述消息中已被浏览的部分在该消息的消息范围内所对应的区域的背景颜色从第一颜色改变为第二颜色,其中,所述消息中未被终端用户浏览的部分的背景颜色为所述第一颜色。According to the progress of the user browsing the message, the background color of the area corresponding to the part of the message that has been browsed within the message range of the message is changed from the first color to the second color, wherein the message The background color of the part that is not browsed by the terminal user is the first color.
  5. 根据权利要求2所述的方法,其特征在于,所述终端在确定所述用户注视终端屏幕的位置落入所述终端屏幕上显示的所述消息中的一条消息的消息范围内的情况下,确定所述用户浏览所述消息的进度包括:The method according to claim 2, wherein when the terminal determines that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen, Determining the progress of the user browsing the message includes:
    所述终端在确定所述用户注视终端屏幕的位置落入所述终端屏幕上显示的所述消息中的一条消息的消息框的情况下,计算所述用户注视终端屏幕的位置落在所述消息框内的时间;The terminal calculates that the position of the user's gaze on the terminal screen falls within the message box of one of the messages displayed on the terminal screen in the case of determining that the position where the user gazes on the terminal screen falls within the message The time in the box;
    根据计算出的所述时间与设定时间阈值的比值,确定所述用户浏览所述消息的进度;或者,Determine the progress of the user browsing the message according to the calculated ratio of the time to the set time threshold; or,
    将计算出的所述时间与设定时间阈值进行比较,根据比较结果,确定所述用户浏览所述消息的进度。The calculated time is compared with a set time threshold, and the progress of the user browsing the message is determined according to the comparison result.
  6. 根据权利要求5所述的方法,其特征在于,所述设定时间阈值的数值与所述消息的消息字数、行数以及所述消息的累计显示长度中的至少一种相关。The method according to claim 5, wherein the value of the set time threshold is related to at least one of the number of message words and the number of lines of the message, and the cumulative display length of the message.
  7. 根据权利要求2所述的方法,其特征在于,所述终端在确定所述用户注视终端屏幕的位置落入所述终端屏幕上显示的所述消息中的一条消息的消息范围内的情况下,确定所述用户浏览所述消息的进度包括:The method according to claim 2, wherein when the terminal determines that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen, Determining the progress of the user browsing the message includes:
    所述终端在确定所述用户注视终端屏幕的位置落入所述终端屏幕上显示的所述消息中的一条消息的消息框内的情况下,基于所述用户注视终端屏幕的位置,计算所述用户浏览所述消息框的累计距离;In the case that the terminal determines that the position where the user gazes at the terminal screen falls within the message box of one of the messages displayed on the terminal screen, the terminal calculates the position based on the position where the user gazes at the terminal screen The cumulative distance of the user browsing the message box;
    根据计算出的所述累计距离与设定距离阈值的比值,确定所述用户浏览所述消息的进度;或者,Determine the progress of the user browsing the message according to the calculated ratio of the cumulative distance to the set distance threshold; or,
    将计算出的所述累计距离与设定距离阈值进行比较,根据比较结果,确定所述用户浏览所述消息的进度。The calculated cumulative distance is compared with a set distance threshold, and the progress of the user browsing the message is determined according to the comparison result.
  8. 根据权利要7所述的方法,其特征在于,所述设定距离阈值的数值与所述消息的消息字数、行数以及所述消息的累计显示长度中的至少一种相关。8. The method according to claim 7, wherein the value of the set distance threshold is related to at least one of the number of message words and the number of lines of the message, and the cumulative display length of the message.
  9. 根据权利要求1所述的方法,其特征在于,所述消息范围包括所述消息本身在所述终端的屏幕上所占的区域。The method according to claim 1, wherein the message range includes an area occupied by the message itself on the screen of the terminal.
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述用户浏览所述消息的进度,将所述消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:The method according to claim 9, wherein the display mode of at least a part of the display elements within the message range of the message on the terminal screen is changed from the first display according to the progress of the user browsing the message. The mode change to the second display mode includes:
    根据所述用户浏览所述消息的进度,将所述消息已被浏览的部分在终端屏幕上显示的颜色从第一颜色改变为第二颜色,其中,所述终端屏幕上显示的所述消息中未被终端用户浏览的消息的颜色为所述第一颜色。According to the progress of the user browsing the message, the color displayed on the terminal screen of the part of the message that has been viewed is changed from the first color to the second color, wherein among the messages displayed on the terminal screen The color of the message that is not browsed by the terminal user is the first color.
  11. 根据权利要求1所述的方法,其特征在于,所述根据所述用户浏览所述消息的进度,将所述消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:The method according to claim 1, wherein the display mode of at least a part of the display elements within the message range of the message on the terminal screen is changed from the first display according to the progress of the user browsing the message. The mode change to the second display mode includes:
    在判断所述消息被看过的情况下,将所述消息在所述终端屏幕上进行折叠显示。In the case of determining that the message has been viewed, the message is folded and displayed on the terminal screen.
  12. 根据权利要求1所述的方法,其特征在于,所述根据所述用户浏览所述消息的进度,将所述消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:The method according to claim 1, wherein the display mode of at least a part of the display elements within the message range of the message on the terminal screen is changed from the first display according to the progress of the user browsing the message. The mode change to the second display mode includes:
    在判断所述消息被看过的情况下,在所述终端屏幕上所述消息的消息范围内显示出表征该消息已被看过的图标。In the case of determining that the message has been viewed, an icon indicating that the message has been viewed is displayed within the message range of the message on the terminal screen.
  13. 根据权利要求1所述的方法,其特征在于,所述方法还包括:根据所述用户浏览所述消息的进度,将所述消息的消息范围内的至少一部分显示元素在终端屏幕上的归类从第一归类改变为第二归类。The method according to claim 1, wherein the method further comprises: categorizing at least a part of the display elements within the message range of the message on the terminal screen according to the progress of the user browsing the message Change from the first classification to the second classification.
  14. 根据权利要求1所述的方法,其特征在于,所述根据所述用户浏览所述消息的进度,将所述消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式包括:The method according to claim 1, wherein the display mode of at least a part of the display elements within the message range of the message on the terminal screen is changed from the first display according to the progress of the user browsing the message. The mode change to the second display mode includes:
    根据所述用户浏览所述消息的进度,将所述消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式经由中间过渡状态改变为第二显示方式,其中,所述中间过渡状态至少包括一种与所述第一显示方式和所述第二显示方式不同的显示方式。According to the progress of the user browsing the message, the display mode of at least a part of the display elements within the message range of the message on the terminal screen is changed from the first display mode to the second display mode via an intermediate transition state, wherein The intermediate transition state includes at least one display mode different from the first display mode and the second display mode.
  15. 一种终端,其特征在于,包括:A terminal, characterized in that it comprises:
    眼球追踪模块,用于确定所述终端的用户注视终端屏幕的位置,所述终端屏幕上至少显示有一条消息;An eye tracking module, configured to determine the position where the user of the terminal gazes at the terminal screen, and at least one message is displayed on the terminal screen;
    进度计算模块,用于在所述终端在确定所述用户注视终端屏幕的位置落入所述终端屏幕上显示的所述消息中的一条消息的消息范围内的情况下,确定用户浏览所述消息的进度;The progress calculation module is configured to determine that the user browses the message when the terminal determines that the position where the user gazes at the terminal screen falls within the message range of one of the messages displayed on the terminal screen Progress
    消息管理模块,用于根据所述用户浏览所述消息的进度,将所述消息的消息范围内的至少一部分显示元素在终端屏幕上的显示方式从第一显示方式改变为第二显示方式,其中,未被终端用户浏览的消息的显示方式为所述第一显示方式。The message management module is configured to change the display mode of at least a part of the display elements within the message range of the message on the terminal screen from the first display mode to the second display mode according to the progress of the user browsing the message, wherein , The display mode of the message that is not browsed by the terminal user is the first display mode.
  16. 一种计算机可读介质,其特征在于,所述计算机可读介质上存储有指令,该指令在计算机上执行时使计算机执行权利要求1-14中任一项所述的方法。A computer-readable medium, characterized in that instructions are stored on the computer-readable medium, and when the instructions are executed on a computer, the computer executes the method according to any one of claims 1-14.
  17. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    存储器,用于存储由系统的一个或多个处理器执行的指令,以及Memory, used to store instructions executed by one or more processors of the system, and
    处理器,是系统的处理器之一,用于执行权利要求1-14中任一项所述的方法。The processor is one of the processors of the system and is used to execute the method described in any one of claims 1-14.
PCT/CN2021/088922 2020-04-27 2021-04-22 Message processing method for terminal, terminal, medium, and electronic device WO2021218764A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010343422.4A CN113645349B (en) 2020-04-27 2020-04-27 Message processing method of terminal, medium and electronic device
CN202010343422.4 2020-04-27

Publications (1)

Publication Number Publication Date
WO2021218764A1 true WO2021218764A1 (en) 2021-11-04

Family

ID=78332130

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/088922 WO2021218764A1 (en) 2020-04-27 2021-04-22 Message processing method for terminal, terminal, medium, and electronic device

Country Status (2)

Country Link
CN (1) CN113645349B (en)
WO (1) WO2021218764A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114154958A (en) * 2021-12-03 2022-03-08 北京字跳网络技术有限公司 Information processing method, device, electronic equipment and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553805A (en) * 2022-02-18 2022-05-27 维沃移动通信有限公司 Message display method and device
CN116700477A (en) * 2022-05-20 2023-09-05 荣耀终端有限公司 Display method and electronic equipment
CN114900803A (en) * 2022-05-31 2022-08-12 深圳市智信科技有限公司 Distributed short message verification message sending method based on computer cloud platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140198032A1 (en) * 2013-01-11 2014-07-17 Samsung Electronics Co., Ltd. Method and apparatus for displaying screen with eye tracking in portable terminal
CN105824403A (en) * 2015-09-21 2016-08-03 维沃移动通信有限公司 Method and terminal for operating terminal
CN106791034A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of message display method and device
CN110554768A (en) * 2018-05-31 2019-12-10 努比亚技术有限公司 intelligent wearable device control method and device and computer readable storage medium
CN110825226A (en) * 2019-10-30 2020-02-21 维沃移动通信有限公司 Message viewing method and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5785015B2 (en) * 2011-07-25 2015-09-24 京セラ株式会社 Electronic device, electronic document control program, and electronic document control method
JP2015153195A (en) * 2014-02-14 2015-08-24 オムロン株式会社 Gesture recognition device and control method therefor
US20160094705A1 (en) * 2014-09-30 2016-03-31 Ringcentral, Inc. Message Read Confirmation Using Eye Tracking
CN106354380A (en) * 2015-07-17 2017-01-25 阿里巴巴集团控股有限公司 Reading prompting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140198032A1 (en) * 2013-01-11 2014-07-17 Samsung Electronics Co., Ltd. Method and apparatus for displaying screen with eye tracking in portable terminal
CN105824403A (en) * 2015-09-21 2016-08-03 维沃移动通信有限公司 Method and terminal for operating terminal
CN106791034A (en) * 2016-11-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of message display method and device
CN110554768A (en) * 2018-05-31 2019-12-10 努比亚技术有限公司 intelligent wearable device control method and device and computer readable storage medium
CN110825226A (en) * 2019-10-30 2020-02-21 维沃移动通信有限公司 Message viewing method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114154958A (en) * 2021-12-03 2022-03-08 北京字跳网络技术有限公司 Information processing method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113645349A (en) 2021-11-12
CN113645349B (en) 2023-01-13

Similar Documents

Publication Publication Date Title
WO2021218764A1 (en) Message processing method for terminal, terminal, medium, and electronic device
CN113542485B (en) Notification processing method, electronic equipment and computer readable storage medium
US11722449B2 (en) Notification message preview method and electronic device
CN114467297B (en) Video call display method and related device applied to electronic equipment
WO2021013134A1 (en) Method for controlling lifting of camera and electronic device
CN111543042B (en) Notification message processing method and electronic equipment
CN112506386B (en) Folding screen display method and electronic equipment
CN106534562B (en) File deletion method and device
CN103414814A (en) Picture processing method and device and terminal device
CN115297199A (en) Touch method of equipment with folding screen and folding screen equipment
US11272116B2 (en) Photographing method and electronic device
KR20160035859A (en) Method for executing user authentication and electronic device thereof
CN112615947B (en) Method for rapidly entering application and folding screen electronic equipment
WO2022042766A1 (en) Information display method, terminal device, and computer readable storage medium
EP4325338A1 (en) Display control method, electronic device, and computer storage medium
US20230041690A1 (en) Intelligent reminding method and device
WO2023222130A9 (en) Display method and electronic device
CN111049968B (en) Control method and electronic equipment
CN113970965A (en) Message display method and electronic equipment
EP3855358A1 (en) Object recognition method and terminal device
CN114205318B (en) Head portrait display method and electronic equipment
EP4180918A1 (en) Method for moving control and electronic device
CN116048831B (en) Target signal processing method and electronic equipment
CN116048236B (en) Communication method and related device
WO2022217969A1 (en) Method and apparatus for enabling function in application

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

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

Country of ref document: EP

Kind code of ref document: A1