Notification display method and terminal device
Patent Information
- Application Number
- CN202311706611.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2042-08-31
AI Technical Summary
这样,导致对端设备上同一个应用程序的通知样式前后不一致,引起用户的困惑,使用户体验感较差
Smart Images

Figure CN117914992B_ABST
Abstract
Description
[0001] This application is a divisional application. The original application has the application number 202211060808.X and the original application date is August 31, 2022. The entire contents of the original application are incorporated herein by reference. Technical Field
[0002] This application relates to the field of terminal technology, and in particular to a notification display method and terminal device. Background Technology
[0003] With the development of terminal technology, terminal devices can install various applications. If users do not want certain applications to be opened at will, they can set application locks for these applications. For example, users can slide the application lock switch in the application list to choose to lock or unlock the application. When an application is in a locked state, if the application has a new message that needs to be notified, the terminal device will display a "Application Lock Protected" notification in the notification bar (referred to as "Application Lock Notification"). The user can click on the notification, and the terminal device will respond to the user's action by displaying a password input interface. Only after the user successfully unlocks the application by entering the password will the terminal device display the specific content of the new message.
[0004] In multi-device scenarios, terminal devices are divided into source devices and peer devices. The source device is the transmitting device (e.g., a mobile phone), and the peer device is the receiving device (e.g., a tablet, laptop, or watch). When a user logs into the same account on both the source and peer devices, and they are on the same local area network, the source device can forward application notifications to the peer device for the user to view. When an application is locked and has new messages to notify the user, the source device displays an application lock notification, i.e., "Application lock protected," and simultaneously forwards this notification to the peer device, which displays "Application lock protected, please return to your phone."
[0005] When notifications from an application have already been transferred from the source device to the peer device, if the user changes the application's lock state (locks or unlocks the application), the peer device will display subsequent notifications according to the style corresponding to the changed lock state. The display style of already displayed notifications will remain unchanged. For example, if the application's lock is on, the peer device will display the application lock notification. If the user unlocks the application, and subsequently receives notifications from the application, since the application lock is now unlocked, the peer device will display the specific content of the notification on top of the already displayed lock notification. This results in inconsistent notification styles for the same application on the peer device, causing user confusion and a poor user experience. Summary of the Invention
[0006] This application provides a notification display method and a terminal device, which ensures that the notification display style of the same application on the other end device remains consistent, avoiding user confusion when viewing messages and thus improving user experience.
[0007] In a first aspect, a notification display method is provided, applied to a system including a first terminal device and a second terminal device, wherein a user has logged into the same account on both the first terminal device and the second terminal device, and the first terminal device and the second terminal device are on the same local area network. The method includes: when a first application has a first message to be viewed, the first terminal device sends the first message to be viewed to the second terminal device, and the application lock of the first application is in an open state; the second terminal device receives the first message to be viewed and displays a first notification, wherein the first notification does not display the specific notification content of the first message to be viewed; in response to the user's operation, the first terminal device closes the application lock of the first application and sends a first instruction information to the second terminal device, wherein the first instruction information is used to indicate that the application lock of the first application is in a closed state; the second terminal device receives the first instruction information and deletes the first notification based on the first instruction information.
[0008] The notification display method provided in this application involves the first application's application lock being in an open state. A first terminal device (i.e., the source device) sends a first message to be viewed to a second terminal device (i.e., the peer device). The second terminal device displays an application lock notification but does not display the specific content of the message to be viewed. After the user closes the application lock of the first application, the second terminal device deletes the application lock notification. This avoids situations where the second terminal device still displays an application lock notification even when the first application's application lock is closed. Furthermore, it helps avoid inconsistencies between the displayed application lock notification and subsequent notifications of new messages to be viewed from the first application, preventing user confusion and improving the user experience.
[0009] It should be understood that "application" is short for application program. A first terminal device may have multiple applications installed, and the first application is any one of those multiple applications.
[0010] It should also be understood that the user has installed and launched the first application on both the first and second terminal devices. The user can configure settings to allow receiving push notifications from the first application and to allow these notifications to be forwarded to the other device. Furthermore, the aforementioned first message to be viewed refers to an unread notification message pushed by the first application when the application lock is enabled.
[0011] In conjunction with the first aspect, in some implementations of the first aspect, after deleting the first notification, the method further includes: when the first application has a second message to be viewed, the first terminal device sends the second message to be viewed to the second terminal device; the second terminal device receives the second message to be viewed and displays the second notification, which displays the specific notification content of the second message to be viewed.
[0012] The application lock for the first application has been turned off. After the first notification is deleted on the second terminal device, the second terminal device displays new messages to be viewed in the notification style (also known as the normal notification style) when the application lock is off, showing the specific content of the new message. In this way, the second terminal device only displays new messages to be viewed in the normal notification style that matches the application lock's off state, resolving the inconsistency in the display style of messages to be viewed for the same application before and after the application lock is turned off, avoiding user confusion, and improving the user experience.
[0013] In conjunction with the first aspect, in some implementations of the first aspect, the first terminal device responds to the user's operation by closing the application lock of the first application, including: the first terminal device responds to the user's operation by displaying a first interface, the first interface including the application name of each application in multiple applications and the application lock switch button corresponding to each application, the multiple applications including the first application, the application lock switch button of the first application being displayed in an open state; the first terminal device responds to the user's click or slide operation on the application lock switch button of the first application by closing the application lock of the first application, and displays the application lock switch button of the first application in a closed state on the first interface.
[0014] In conjunction with the first aspect, in some implementations of the first aspect, the first indication information includes the application identifier of the first application and information for indicating that the application lock of the first application is in a closed state.
[0015] By setting the on / off function of individual application locks, users can control the application lock status of applications more flexibly and with finer granularity. When adjusting the status of an individual application lock, the first terminal device only needs to send the application identifier and status information of the individual application lock to the second terminal device, thereby saving the signaling overhead of the aforementioned first indication information.
[0016] In conjunction with the first aspect, in certain implementations of the first aspect, the first terminal device responds to the user's operation by closing the application lock of the first application, including: the first terminal device responds to the user's operation by displaying a second interface, the second interface including an application lock master switch button for controlling the simultaneous opening or closing of application locks of multiple applications, the multiple applications including the first application, the application lock master switch button being displayed in an open state; the first terminal device responds to the user's click or slide operation on the application lock master switch button by closing the application locks of the multiple applications, and displays the application lock master switch button in a closed state on the second interface.
[0017] It should be understood that the "operation" here can be a user's click or swipe action.
[0018] In conjunction with the first aspect, in some implementations of the first aspect, the first indication information includes application identifiers of multiple applications and information indicating that the application locks of the multiple applications are in a closed state.
[0019] By setting a master switch for application locks, users can uniformly configure the application lock status. This way, when adjusting the application lock status of applications in batches, users do not need to adjust each application individually, thus saving related operational processes.
[0020] Secondly, a notification display method is provided, applied to a system including a first terminal device and a second terminal device, wherein a user has logged into the same account on both the first and second terminal devices, and the first and second terminal devices are on the same local area network. The method includes: when a first application has a third message to be viewed, the first terminal device sends the third message to the second terminal device, and the application lock of the first application is in a closed state; the second terminal device receives the third message to be viewed and displays a third notification, the third notification displaying the specific content of the third message to be viewed; in response to the user's operation, the first terminal device unlocks the application lock of the first application and sends a second instruction to the second terminal device, the second instruction indicating that the application lock of the first application is in an open state; the second terminal device receives the second instruction and, based on the second instruction, deletes the third notification and displays a fourth notification, the fourth notification not displaying the specific content of the third message to be viewed.
[0021] The notification display method provided in this application involves the following steps: When the application lock of a first application is in a closed state, a first terminal device (i.e., the source device) sends a third message to be viewed to a second terminal device (i.e., the peer device). The second terminal device displays the third notification, which shows the specific content of the message to be viewed. After the user unlocks the application lock of the first application, the second terminal device deletes the third notification and displays the application lock notification. This ensures that the second terminal device displays application notifications only in the style of the application lock notification that matches the application lock's open state. This solves the problem of inconsistent display styles for messages to be viewed from the same application before and after the application lock is opened, avoiding user confusion and improving the user experience.
[0022] In conjunction with the second aspect, in some implementations of the second aspect, the fourth notification displays the reception time of the third message to be viewed; after deleting the third notification and displaying the fourth notification, the method further includes: when the first application has a fourth message to be viewed, the first terminal device sends the fourth message to be viewed to the second terminal device; the second terminal device receives the fourth message to be viewed and updates the time information displayed in the fourth notification to the reception time of the fourth message to be viewed.
[0023] In this way, users can determine whether there are new notifications from the first application based on the time displayed on the second terminal device's screen, avoiding missing notification messages when the first application is in an unlocked state, thus improving the user experience.
[0024] In conjunction with the second aspect, in some implementations of the second aspect, the first terminal device responds to the user's operation by opening the application lock of the first application, including: the first terminal device responds to the user's operation by displaying a third interface, the third interface including the application name of each application in multiple applications and the application lock switch button corresponding to each application, the multiple applications including the first application, the application lock switch button of the first application being displayed in a closed state; the first terminal device responds to the user's click or slide operation on the application lock switch button of the first application by opening the application lock of the first application, and displays the application lock switch button of the first application in an open state on the third interface.
[0025] In conjunction with the second aspect, in some implementations of the second aspect, the second indication information includes the application identifier of the first application and information for indicating that the application lock of the first application is in an open state.
[0026] In conjunction with the second aspect, in some implementations of the second aspect, the first terminal device responds to the user's operation by opening the application lock of the first application, including: the first terminal device responds to the user's operation by displaying a fourth interface, the fourth interface including an application lock master switch button for controlling the simultaneous opening or closing of application locks of multiple applications, the multiple applications including the first application, the application lock master switch button being displayed in a closed state; the first terminal device responds to the user's click or slide operation on the application lock master switch button by opening the application locks of multiple applications, and displays the application lock master switch button in an open state on the fourth interface.
[0027] In conjunction with the second aspect, in some implementations of the second aspect, the second indication information includes application identifiers of multiple applications and information for indicating that the application locks of the multiple applications are in an open state.
[0028] Thirdly, a notification display method is provided, applied to a system including a first terminal device and a second terminal device, wherein a user has logged into the same account on both the first terminal device and the second terminal device, and the first terminal device and the second terminal device are on the same local area network, comprising: the first terminal device responding to a user's operation by launching a first application, the application lock of the first application being in an open state; when the first application has a first message to be viewed, the first terminal device sending the first message to be viewed to the second terminal device; the second terminal device receiving the first message to be viewed and displaying a first notification, the first notification not displaying the specific notification content of the first message to be viewed; the first terminal device responding to a user's operation by closing the application lock of the first application and sending a first instruction message to the second terminal device, the first instruction message indicating that the application lock of the first application is in a closed state; the second terminal device receiving the first instruction message and, based on the first instruction message, not displaying the first notification.
[0029] Fourthly, a notification display method is provided, applied to a system including a first terminal device and a second terminal device, wherein a user has logged into the same account on both the first terminal device and the second terminal device, and the first terminal device and the second terminal device are on the same local area network, comprising: the first terminal device responding to a user's operation by launching a first application, the application lock of the first application being in a closed state; when the first application has a second message to be viewed, the first terminal device sending the second message to be viewed to the second terminal device; the second terminal device receiving the second message to be viewed and displaying a second notification, the second notification displaying the specific notification content of the message to be viewed; the first terminal device responding to a user's operation by closing the application lock of the first application and sending a second instruction message to the second terminal device, the second instruction message indicating that the application lock of the first application is in an open state; the second terminal device receiving the second instruction message and, based on the second instruction message, not displaying the second notification but displaying a third notification, the third notification not displaying the specific notification content of the second message to be viewed.
[0030] Fifthly, a notification display method is provided, applied to a system including a first terminal device and a second terminal device, wherein a user has logged into the same account on both the first terminal device and the second terminal device, and the first terminal device and the second terminal device are on the same local area network, comprising: the second terminal device receiving a first message to be viewed from the first terminal device, the first message to be viewed belonging to a first application, and the application lock of the first application being in an open state; the second terminal device displaying a first notification, the first notification not displaying the specific notification content of the first message to be viewed; the second terminal device receiving first indication information from the first terminal device, the first indication information being used to indicate that the application lock of the first application is in a closed state; and the second terminal device not displaying the first notification based on the first indication information.
[0031] In conjunction with the fifth aspect, in some implementations of the fifth aspect, after the first notification is not displayed, the method further includes: the second terminal device receiving the second message to be viewed and displaying the second notification, which displays the specific notification content of the second message to be viewed.
[0032] In conjunction with the fifth aspect, in some implementations of the fifth aspect, the first indication information includes the application identifier of the first application and information indicating that the application lock of the first application is in a closed state.
[0033] In conjunction with the fifth aspect, in some implementations of the fifth aspect, the first indication information includes application identifiers of multiple applications and information indicating that the application locks of the multiple applications are in a closed state.
[0034] A sixth aspect provides a notification display method applied to a system including a first terminal device and a second terminal device, wherein a user has logged into the same account on both the first terminal device and the second terminal device, and the first terminal device and the second terminal device are on the same local area network, comprising: the second terminal device receiving a third message to be viewed from the first terminal device, the third message to be viewed belonging to a first application, and the application lock of the first application being in a closed state; the second terminal device displaying a third notification, the third notification displaying the specific notification content of the third message to be viewed; the second terminal device receiving second indication information from the first terminal device, the second indication information indicating that the application lock of the first application is in an open state; and the second terminal device deleting the third notification and displaying a fourth notification based on the second indication information, the fourth notification not displaying the specific notification content of the third message to be viewed.
[0035] In conjunction with the sixth aspect, in some implementations of the sixth aspect, the fourth notification displays the reception time of the third message to be viewed; after deleting the third notification and displaying the fourth notification, the method further includes: the second terminal device receiving the fourth message to be viewed and updating the time information displayed by the fourth notification to the reception time of the fourth message to be viewed.
[0036] In conjunction with the sixth aspect, in some implementations of the sixth aspect, the second indication information includes the application identifier of the first application and information indicating that the application lock of the first application is in an open state.
[0037] In conjunction with the sixth aspect, in some implementations of the sixth aspect, the second indication information includes application identifiers of multiple applications and information indicating that the application locks of the multiple applications are in an open state.
[0038] In a seventh aspect, a terminal device is provided, comprising: a transceiver module and a processing module. The transceiver module is configured to: receive a first message to be viewed from a first terminal device, the first message to be viewed belonging to a first application, the application lock of the first application being in an open state; and receive first indication information from the first terminal device, the first indication information indicating that the application lock of the first application is in a closed state. The processing module is configured to: display a first notification, the first notification not displaying the specific notification content of the first message to be viewed; and, based on the first indication information, not display the first notification.
[0039] In conjunction with aspect seven, in some implementations of aspect seven, the transceiver module is also used to: receive a second message to be viewed; the processing module is also used to: display a second notification, wherein the second notification displays the specific notification content of the second message to be viewed.
[0040] In conjunction with the seventh aspect, in some implementations of the seventh aspect, the first indication information includes the application identifier of the first application and information for indicating that the application lock of the first application is in a closed state.
[0041] In conjunction with the seventh aspect, in some implementations of the seventh aspect, the first indication information includes application identifiers of multiple applications and information for indicating that the application locks of the multiple applications are in a closed state.
[0042] Eighthly, a terminal device is provided, comprising: a transceiver module and a processing module, the transceiver module being configured to: receive a third message to be viewed from a first terminal device, the third message to be viewed belonging to a first application, the application lock of the first application being in a closed state; receive second indication information from the first terminal device, the second indication information being used to indicate that the application lock of the first application is in an open state; the processing module being configured to: display a third notification, the third notification displaying the specific notification content of the third message to be viewed; based on the second indication information, delete the third notification, and display a fourth notification, the fourth notification not displaying the specific notification content of the third message to be viewed.
[0043] In conjunction with the eighth aspect, in some implementations of the eighth aspect, the fourth notification displays the reception time of the third message to be viewed; the transceiver module is also used to: receive the fourth message to be viewed; the processing module is also used to: update the time information displayed by the fourth notification to the reception time of the fourth message to be viewed.
[0044] In conjunction with the eighth aspect, in some implementations of the eighth aspect, the second indication information includes the application identifier of the first application and information indicating that the application lock of the first application is in an open state.
[0045] In conjunction with the eighth aspect, in some implementations of the eighth aspect, the second indication information includes application identifiers of multiple applications and information indicating that the application locks of the multiple applications are in an open state.
[0046] A ninth aspect provides another terminal device, including a processor and a memory. The processor is used to read instructions stored in the memory and to receive signals via a receiver and transmit signals via a transmitter to execute the methods in any of the possible implementations of the fifth or sixth aspect described above.
[0047] Optionally, there may be one or more processors and one or more memories.
[0048] Alternatively, the memory can be integrated with the processor, or the memory can be set up separately from the processor.
[0049] In specific implementation, the memory can be a non-transitory memory, such as read-only memory (ROM), which can be integrated with the processor on the same chip or set on different chips. The embodiments of this application do not limit the type of memory or the way the memory and processor are set.
[0050] It should be understood that the relevant data interaction process, such as sending indication information, can be the process of outputting indication information from the processor, and receiving capability information can be the process of the processor receiving input capability information. Specifically, the processed output data can be output to the transmitter, and the input data received by the processor can come from the receiver. Here, the transmitter and receiver can be collectively referred to as a transceiver.
[0051] The terminal device in the ninth aspect above can be a chip. The processor can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, integrated circuit, etc. When implemented in software, the processor can be a general-purpose processor that reads software code stored in memory. The memory can be integrated into the processor or located outside the processor and exist independently.
[0052] In a tenth aspect, a computer program product is provided, comprising: a computer program (also referred to as code or instructions) that, when executed, causes a computer to perform the methods in any of the possible implementations of the fifth or sixth aspect described above.
[0053] Eleventhly, a computer-readable storage medium is provided that stores a computer program (also referred to as code or instructions) that, when run on a computer, causes the computer to perform the methods in any of the possible implementations of the fifth or sixth aspect described above. Attached Figure Description
[0054] Figure 1 This is a schematic diagram illustrating an application scenario of an embodiment of this application;
[0055] Figure 2 This is a schematic diagram of the structure of the terminal device according to an embodiment of this application;
[0056] Figure 3 This is a software structure block diagram of the terminal device according to an embodiment of this application;
[0057] Figure 4 This is a schematic diagram of the user interface of a source device;
[0058] Figure 5 This is a schematic diagram of a display interface on the other end device;
[0059] Figure 6 This is a schematic flowchart illustrating a notification display method provided in an embodiment of this application;
[0060] Figure 7 This is a schematic diagram of a display interface of the peer device in an embodiment of this application;
[0061] Figure 8 This is a schematic diagram of another display interface of the peer device in an embodiment of this application;
[0062] Figure 9 This is a schematic flowchart illustrating another notification display method provided in an embodiment of this application;
[0063] Figure 10 This is another schematic diagram of the display interface of the peer device in the embodiments of this application;
[0064] Figure 11 This is a module structure diagram of the first terminal device according to an embodiment of this application;
[0065] Figure 12 This is a schematic flowchart illustrating another notification display method provided in the embodiments of this application;
[0066] Figure 13 This is a schematic block diagram of a terminal device provided in an embodiment of this application;
[0067] Figure 14 This is a schematic block diagram of another terminal device provided in the embodiments of this application. Detailed Implementation
[0068] The technical solutions in this application will now be described with reference to the accompanying drawings.
[0069] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.
[0070] It should be noted that, in this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.
[0071] Furthermore, "at least one" refers to one or more, while "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b, and c, where a, b, and c can be single or multiple.
[0072] In the embodiments of this application, descriptions such as "when," "under the circumstances," "if," and "if" all refer to the device making corresponding processing under certain objective circumstances, and are not limited to a specific time. They do not require the device to make a judgment action during implementation, nor do they imply any other limitations.
[0073] In multi-device scenarios, terminal devices are divided into source devices and peer devices. The source device is the transmitting device (e.g., a mobile phone), and the peer device is the receiving device (e.g., a tablet, laptop, or watch). When a user logs into the same account on both the source and peer devices, and the source and peer devices are on the same local area network (e.g., WiFi, Bluetooth), the source device can forward application notification messages to the peer device for the user to view on the peer device. To facilitate understanding of this application, the following describes... Figure 1 The application scenarios involved in the embodiments of this application will be introduced.
[0074] Figure 1 A schematic diagram of application scenario 100 according to an embodiment of this application is shown. This application scenario includes a first terminal device 101 and a second terminal device 102. The first terminal device 101 can act as a source device, and the second terminal device 102 can act as a peer device. The user logs into the same account on both the first terminal device 101 and the second terminal device 102, and the first terminal device 101 and the second terminal device 102 are located on the same local area network. The first terminal device 101 can forward application notification messages to the second terminal device 102.
[0075] Optionally, the above application scenario 100 also includes a third terminal device 103, a fourth terminal device 104, and a fifth terminal device 105. Each of the third terminal device 103, fourth terminal device 104, and fifth terminal device 105 can act as a peer device, with the user logged into the same account on all these devices. Furthermore, the first terminal device 101, the third terminal device 103, the first terminal device 101, the fourth terminal device 104, and the first terminal device 101, and the fifth terminal device 105 are located on the same local area network. The first terminal device 101 can forward application notification messages to the third terminal device 103, the fourth terminal device 104, and the fifth terminal device 105.
[0076] It should be understood that in scenarios involving multi-device notification flow, the number of peer devices can be one or more, and this application embodiment does not limit this.
[0077] It should also be understood that this application does not require that all of the aforementioned peer devices be in the same local area network as the source device. For example, the first terminal device 101 and the second terminal device 102 may be in the same local area network (e.g., WiFi), and the first terminal device 101 and the third terminal device 103 may be in another local area network (e.g., Bluetooth). The first terminal device 101 may forward the application's notification messages to the second terminal device 102 and the third terminal device 103 respectively.
[0078] To better understand the terminal device in the embodiments of this application, the hardware structure of the terminal device in the embodiments of this application is described below.
[0079] Figure 2 A schematic diagram of the terminal device 200 is shown.
[0080] Terminal device 200 may include processor 210, external memory interface 220, internal memory 221, universal serial bus (USB) interface 230, charging management module 240, power management module 241, battery 242, antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone jack 270D, sensor module 280, button 290, motor 291, indicator 292, camera 293, display screen 294, and subscriber identification module (SIM) card interface 295, etc. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, a barometric pressure sensor 280C, a magnetic sensor 280D, an accelerometer sensor 280E, a distance sensor 280F, a proximity sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.
[0081] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal device 200. In other embodiments of this application, the terminal device 200 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0082] Processor 210 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0083] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0084] The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.
[0085] In some embodiments, the processor 210 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0086] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 210 may include multiple I2C buses. The processor 210 can couple to the touch sensor 280K, charger, flash, camera 293, etc., through different I2C bus interfaces. For example, the processor 210 can couple to the touch sensor 280K through the I2C interface, enabling the processor 210 and the touch sensor 280K to communicate through the I2C bus interface, thereby realizing the touch function of the terminal device 200.
[0087] The I2S interface can be used for audio communication. In some embodiments, the processor 210 may include multiple I2S buses. The processor 210 can be coupled to the audio module 270 via the I2S bus to enable communication between the processor 210 and the audio module 270. In some embodiments, the audio module 270 can transmit audio signals to the wireless communication module 260 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.
[0088] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 270 and the wireless communication module 260 can be coupled via the PCM bus interface. In some embodiments, the audio module 270 can also transmit audio signals to the wireless communication module 260 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0089] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 210 and the wireless communication module 260. For example, the processor 210 communicates with the Bluetooth module in the wireless communication module 260 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 270 can transmit audio signals to the wireless communication module 260 via the UART interface to enable music playback through Bluetooth headphones.
[0090] The MIPI interface can be used to connect the processor 210 to peripheral devices such as the display screen 294 and the camera 293. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 210 and the camera 293 communicate via the CSI interface to enable the shooting function of the terminal device 200. The processor 210 and the display screen 294 communicate via the DSI interface to enable the display function of the terminal device 200.
[0091] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 210 to a camera 293, a display screen 294, a wireless communication module 260, an audio module 270, a sensor module 280, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0092] USB port 230 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, or USB Type-C port. USB port 230 can be used to connect a charger to charge terminal device 200, and can also be used for data transfer between terminal device 200 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other terminal devices, such as AR devices.
[0093] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the terminal device 200. In other embodiments of this application, the terminal device 200 may also adopt different interface connection methods or a combination of multiple interface connection methods as described in the above embodiments.
[0094] The charging management module 240 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 receives charging input from the wired charger via a USB interface 230. In some wireless charging embodiments, the charging management module 240 receives wireless charging input via the wireless charging coil of the terminal device 200. While charging the battery 242, the charging management module 240 can also supply power to the terminal device via the power management module 241.
[0095] The power management module 241 connects the battery 242, the charging management module 240, and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, providing power to the processor 210, internal memory 221, display screen 294, camera 293, and wireless communication module 260, etc. The power management module 241 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 241 may also be located within the processor 210. In other embodiments, the power management module 241 and the charging management module 240 may be located in the same device.
[0096] The wireless communication function of the terminal device 200 can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor and baseband processor, etc.
[0097] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 200 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0098] The mobile communication module 250 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the terminal device 200. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 250 may be housed in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 and at least some modules of the processor 210 may be housed in the same device.
[0099] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 270A, receiver 270B, etc.) or displays images or videos through the display screen 294. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 210 and may be housed in the same device as the mobile communication module 250 or other functional modules.
[0100] The wireless communication module 260 can provide solutions for wireless communication applications on the terminal device 200, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 210. The wireless communication module 260 can also receive signals to be transmitted from processor 210, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0101] In some embodiments, antenna 1 of terminal device 200 is coupled to mobile communication module 250, and antenna 2 is coupled to wireless communication module 260, enabling terminal device 200 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include 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), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0102] The terminal device 200 implements display functions through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 294 and the application processor. The GPU performs mathematical and geometric calculations and is used for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0103] Display screen 294 is used to display images, videos, etc. Display screen 294 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 200 may include one or N displays 294, where N is a positive integer greater than 1.
[0104] The terminal device 200 can perform shooting functions through an ISP, camera 293, video codec, GPU, display screen 294, and application processor.
[0105] The ISP (Image Signal Processor) is used to process data fed back from the camera 293. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 293.
[0106] Camera 293 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then transmitted to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the terminal device 200 may include one or N cameras 293, where N is a positive integer greater than 1.
[0107] A digital signal processor (DSP) is used to process digital signals. Besides digital image signals, it can also process other digital signals. For example, when the terminal device 200 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0108] Video codecs are used to compress or decompress digital video. Terminal device 200 may support one or more video codecs. Thus, terminal device 200 can play or record video in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.
[0109] NPU stands for Neural Network (NN) Computing Processor. By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in terminal devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0110] The external storage interface 220 can be used to connect an external storage card, such as a Micro SD card, to expand the storage capacity of the terminal device 200. The external storage card communicates with the processor 210 through the external storage interface 220 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.
[0111] Internal memory 221 can be used to store computer executable program code, which includes instructions. Internal memory 221 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of terminal device 200 (such as audio data, phonebook, etc.). Furthermore, internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 210 executes various functional applications and data processing of terminal device 200 by running instructions stored in internal memory 221 and / or instructions stored in memory located in the processor.
[0112] Terminal device 200 can implement audio functions, such as music playback and recording, through audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone jack 270D, and application processor.
[0113] The audio module 270 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 270 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 270 may be located in the processor 210, or some functional modules of the audio module 270 may be located in the processor 210.
[0114] The speaker 270A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The terminal device 200 can listen to music or make hands-free calls through the speaker 270A.
[0115] The receiver 270B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the terminal device 200 receives a telephone call or voice message, the receiver 270B can be brought close to the listener's ear to receive the voice message.
[0116] Microphone 270C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 270C, inputting the sound signal into microphone 270C. Terminal device 200 may be equipped with at least one microphone 270C. In some embodiments, terminal device 200 may be equipped with two microphones 270C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, terminal device 200 may be equipped with three, four, or more microphones 270C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0117] The headphone jack 270D is used to connect wired headphones. The headphone jack 270D can be a USB 230 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.
[0118] Pressure sensor 280A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 280A can be disposed on display screen 294. There are many types of pressure sensors 280A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 280A, the capacitance between the electrodes changes. Terminal device 200 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 294, terminal device 200 detects the intensity of the touch operation based on pressure sensor 280A. Terminal device 200 can also calculate the touch position based on the detection signal from pressure sensor 280A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example: when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0119] The gyroscope sensor 280B can be used to determine the motion attitude of the terminal device 200. In some embodiments, the gyroscope sensor 280B can determine the angular velocity of the terminal device 200 about three axes (i.e., the x, y, and z axes). The gyroscope sensor 280B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 280B detects the angle of the terminal device 200's shake, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the terminal device 200 through reverse movement, thus achieving image stabilization. The gyroscope sensor 280B can also be used in navigation and motion-sensing game scenarios.
[0120] The barometric pressure sensor 280C is used to measure air pressure. In some embodiments, the terminal device 200 calculates altitude using the air pressure value measured by the barometric pressure sensor 280C to assist in positioning and navigation.
[0121] The magnetic sensor 280D includes a Hall sensor. The terminal device 200 can use the magnetic sensor 280D to detect the opening and closing of the flip cover. In some embodiments, when the terminal device 200 is a flip phone, the terminal device 200 can detect the opening and closing of the flip cover using the magnetic sensor 280D. Then, based on the detected opening and closing state of the cover or the flip cover, features such as automatic flip unlocking can be set.
[0122] The accelerometer 280E can detect the magnitude of acceleration of the terminal device 200 in various directions (generally three axes). When the terminal device 200 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the attitude of the terminal device and applied to applications such as landscape / portrait switching and pedometers.
[0123] A distance sensor 280F is used to measure distance. The terminal device 200 can measure distance via infrared or laser. In some embodiments, during a shooting scene, the terminal device 200 can utilize the distance sensor 280F to measure distance for rapid focusing.
[0124] The proximity sensor 280G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The terminal device 200 emits infrared light outward through the LED. The terminal device 200 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that an object is near the terminal device 200. When insufficient reflected light is detected, the terminal device 200 can determine that no object is near the terminal device 200. The terminal device 200 may use the proximity sensor 280G to detect when a user holds the terminal device 200 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 280G can also be used in holster mode and pocket mode for automatic unlocking and screen locking.
[0125] The ambient light sensor 280L is used to sense ambient light intensity. The terminal device 200 can adaptively adjust the brightness of the display screen 294 according to the sensed ambient light intensity. The ambient light sensor 280L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 280L can also work with the proximity sensor 280G to detect whether the terminal device 200 is in a pocket to prevent accidental touches.
[0126] The fingerprint sensor 280H is used to collect fingerprints. The terminal device 200 can use the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.
[0127] Temperature sensor 280J is used to detect temperature. In some embodiments, terminal device 200 uses the temperature detected by temperature sensor 280J to execute a temperature processing strategy. For example, when the temperature reported by temperature sensor 280J exceeds a threshold, terminal device 200 reduces the performance of the processor located near temperature sensor 280J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is below another threshold, terminal device 200 heats battery 242 to prevent abnormal shutdown of terminal device 200 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, terminal device 200 boosts the output voltage of battery 242 to prevent abnormal shutdown due to low temperature.
[0128] Touch sensor 280K, also known as a "touch device," can be located on display screen 294. The touch sensor 280K and display screen 294 together form a touchscreen, also known as a "touchscreen." Touch sensor 280K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 294. In other embodiments, touch sensor 280K may also be located on the surface of terminal device 200, in a different position than display screen 294.
[0129] The bone conduction sensor 280M can acquire vibration signals. In some embodiments, the bone conduction sensor 280M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 280M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 280M can also be incorporated into headphones to form bone conduction headphones. The audio module 270 can parse the voice signals from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 280M to realize voice functionality. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 280M to realize heart rate detection functionality.
[0130] Buttons 290 include a power button, volume buttons, etc. Buttons 290 can be mechanical buttons or touch-sensitive buttons. Terminal device 200 can receive button input and generate key signal inputs related to user settings and function control of terminal device 200.
[0131] Motor 291 can generate vibration alerts. Motor 291 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can be corresponding to touch operations applied to different applications (such as taking photos, playing audio, etc.). Motor 291 can also correspond to different vibration feedback effects for touch operations applied to different areas of the display screen 294. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.
[0132] Indicator 292 can be an indicator light, which can be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0133] The SIM card interface 295 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 295 to make contact with and separate from the terminal device 200. The terminal device 200 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 295 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 295 is also compatible with different types of SIM cards. The SIM card interface 295 is also compatible with external storage cards. The terminal device 200 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the terminal device 200 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 200 and cannot be separated from the terminal device 200. The software system of the terminal device 200 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application uses the layered architecture of the Android system as an example to illustrate the software structure of the terminal device 200.
[0134] Figure 3 This is a software structure block diagram of the terminal device 200 according to an embodiment of this application.
[0135] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0136] The application layer can include a series of application packages. For example... Figure 3 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.
[0137] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. For example... Figure 3 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0138] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.
[0139] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0140] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0141] The phone manager is used to provide communication functions for terminal device 200. For example, it manages call status (including connection and disconnection).
[0142] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0143] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating the device, and flashing indicator lights.
[0144] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
[0145] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0146] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0147] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0148] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0149] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0150] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0151] A 2D graphics engine is a graphics engine for 2D drawing.
[0152] The kernel layer is the layer between hardware and software. It drives the hardware, enabling it to function. The kernel layer includes at least a display driver, screen driver, graphics processing unit (GPU) driver, camera driver, and sensor driver, etc., though this application's embodiments do not limit this. For example, the screen driver can control whether the screen is on or off.
[0153] The hardware and software structures of the first terminal device 101, the second terminal device 102, the third terminal device 103, the fourth terminal device 104, and the fifth terminal device 105 in the above application scenario 100 can all be as described above. Figures 2 to 3 As shown, however, the embodiments of this application do not limit this.
[0154] The terminal devices involved in the embodiments of this application can be wearable terminal devices such as mobile phones, tablets, personal computers (PCs), smart screens, artificial intelligence (AI) speakers, headphones, in-vehicle systems, and smartwatches. They can also be various teaching aids (such as learning machines and early education machines), smart toys, portable robots, personal digital assistants (PDAs), augmented reality (AR) devices, virtual reality (VR) devices, etc., and can also be devices with mobile office functions, smart home functions, audio-visual entertainment functions, or devices supporting smart travel. It should be understood that the embodiments of this application do not limit the specific technologies or device forms used in the terminal devices.
[0155] This application uses a mobile phone as the first terminal device (i.e., the source device) and a tablet computer as the second terminal device (i.e., the peer device) as an example for illustration. This example does not constitute a limitation of this application.
[0156] Figure 4 This is a schematic diagram of the user interface of a source device, used to illustrate the interface changes of a mobile phone as a source device in response to user operations. Figure 4 Interface a includes the application name of each of the multiple applications and its corresponding application lock toggle button. Users can control the application lock's on / off state by clicking or sliding the toggle button. Specifically, the application lock for the "QQ" application is off. When a user clicks or slides the "QQ" application lock toggle button, the phone responds by turning the application lock on and displaying the corresponding information. Figure 4 Interface b is shown. Figure 4 In interface b, the application lock for the "QQ" application is displayed as open.
[0157] Figure 5 This is a schematic diagram of the display interface of the peer device, used to illustrate the interface changes of a tablet computer as a peer device. Figure 5 In interface a, the tablet computer displays the first notification 501 of the "QQ" application, which shows the specific notification content "Test it" (this application refers to this display style as "normal notification style"). After the user performs the above... Figure 4 The operation shown demonstrates that after unlocking the "QQ" application's application lock, when a new application notification from "QQ" is transferred to the tablet, the tablet moves the display position of the first notification 501 down and displays the second notification 502 above the first notification 501. The second notification 502 displays "Application lock protected, please use your mobile phone to view," meaning the specific content of the message to be viewed is not displayed (this display style is referred to as the "application lock notification style" in this application). Figure 5 The interface shown in b is shown.
[0158] exist Figure 5 In this case, the tablet displays application notifications for the same application, "QQ," in two different styles. This can confuse users when they view application notifications, resulting in a poor user experience.
[0159] To address the aforementioned technical issues, this application proposes a notification display method that resolves the inconsistency in notification styles displayed by the same application on the peer device, thereby avoiding user confusion and improving user experience.
[0160] The technical solution of this application and how it solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be implemented independently or in combination with each other. The same or similar concepts or processes may not be described again in some embodiments.
[0161] The following will combine Figures 6 to 12 The various embodiments provided in this application are described in detail.
[0162] Figure 6 This is a schematic flowchart illustrating a notification display method 600 provided in an embodiment of this application. Method 600 can be applied to the aforementioned application scenario 100, and the hardware structure of the terminal device involved in method 600 can be as follows: Figure 2 As shown, the software structure can be as follows: Figure 3 As shown. The method 600 includes the following steps:
[0163] S601, when the first application has a first message to be viewed, the first terminal device sends the first message to be viewed to the second terminal device, and the second terminal device receives the first message to be viewed, and the application lock of the first application is in the open state.
[0164] It should be understood that "application" is short for application program. A first terminal device may have multiple applications installed, and the first application is any one of those multiple applications.
[0165] It should also be understood that the user has installed and launched the first application on both the first and second terminal devices. The user can configure settings to allow receiving push notifications from the first application and to allow these notifications to be forwarded to the other device. Furthermore, the aforementioned first message to be viewed refers to an unread notification message pushed by the first application when the application lock is enabled.
[0166] S602, the second terminal device displays the first notification, but the first notification does not display the specific notification content of the first message to be viewed.
[0167] When the second terminal device receives the first message to be viewed, the second terminal device may be in a locked screen state, or it may be on the desktop or other application interface. Therefore, the first notification may be displayed in the middle of the lock screen interface of the second terminal device, or it may be displayed in the notification center of the second terminal device, or it may be displayed at the top of the desktop or other application interface. This application does not limit the display position of the first notification.
[0168] It should be understood that if the application lock of the first application is in the open state, the second terminal device is in a protected state for notification messages, so the specific notification content of the first message to be viewed is not displayed, only the application lock notification is displayed.
[0169] S603, the first terminal device responds to the user's operation and closes the application lock of the first application.
[0170] Alternatively, the "operation" here could be, for example, the user's actions as described above. Figure 4 The interface shown can be clicked or swiped.
[0171] S604, the first terminal device sends a first instruction information to the second terminal device, and the second terminal device receives the first instruction information accordingly. The first instruction information is used to indicate that the application lock of the first application is in a closed state.
[0172] Specifically, the first indication information may include the application identifier of the first application and the application lock status indication information of the first application. For example, the application identifier of the first application may be "0001" or the application name "QQ", and the application lock status indication information of the first application may be "off".
[0173] S605, the second terminal device deletes the first notification based on the first instruction information.
[0174] The term "delete" here can be understood as the second terminal device not displaying the first notification.
[0175] The notification display method provided in this application involves the first application's application lock being in an open state. A first terminal device (i.e., the source device) sends a first message to be viewed to a second terminal device (i.e., the peer device). The second terminal device displays an application lock notification but does not display the specific content of the message to be viewed. After the user closes the application lock of the first application, the second terminal device deletes the application lock notification. This avoids situations where the second terminal device still displays an application lock notification even when the first application's application lock is closed. Furthermore, it helps avoid inconsistencies between the displayed application lock notification and subsequent notifications of new messages to be viewed from the first application, preventing user confusion and improving the user experience.
[0176] Optionally, after step S605, the above method further includes:
[0177] S606, when the first application has a second message to be viewed, the first terminal device sends the second message to be viewed to the second terminal device, and the second terminal device receives the first message to be viewed accordingly.
[0178] Specifically, the second message to be viewed is an unread notification message pushed by the first application when the application lock state of the first application is closed.
[0179] S607, the second terminal device displays the second notification, and the second notification displays the specific notification content of the second message to be viewed.
[0180] It should be understood that since the application lock of the first application is in the closed state, the second terminal device no longer protects the notification message. Therefore, the specific notification content of the second message to be viewed is displayed, that is, the second message to be viewed is displayed in the style of a normal notification.
[0181] The application lock for the first application has been turned off. After the first notification is deleted on the second terminal device, the second terminal device displays new messages to be viewed in the notification style (also known as the normal notification style) when the application lock is off, showing the specific content of the new message. In this way, the second terminal device only displays new messages to be viewed in the normal notification style that matches the application lock's off state, resolving the inconsistency in the display style of messages to be viewed for the same application before and after the application lock is turned off, avoiding user confusion, and improving the user experience.
[0182] As an optional embodiment, the first terminal device responds to the user's operation by closing the application lock of the first application, including: the first terminal device responds to the user's operation by displaying a first interface, the first interface including the application name of each application in multiple applications and the application lock switch button corresponding to each application, the multiple applications including the first application, the application lock switch button of the first application is displayed in an open state; the first terminal device responds to the user's click or slide operation on the application lock switch button of the first application by closing the application lock of the first application, and displays the application lock switch button of the first application in a closed state on the first interface.
[0183] By setting the on / off function of individual application locks, users can control the application lock status of applications more flexibly and with finer granularity. When adjusting the status of an individual application lock, the first terminal device only needs to send the application identifier and status information of the individual application lock to the second terminal device, thereby saving the signaling overhead of the aforementioned first indication information.
[0184] It should be understood that the above operations can be user clicks or swipes. Users can enter the first interface by clicking the application lock button or by clicking the manager application. This application does not limit the user's operations or the method of entering the first interface. For example, the first interface can be... Figure 4 The interface shown.
[0185] The following example illustrates the use of a mobile phone as the first terminal device (i.e., the source device) and a tablet computer as the second terminal device (i.e., the peer device).
[0186] Users Figure 4 In interface b shown, the application lock status of the "QQ" application is changed from open to closed. Correspondingly, the interface on the other device will change. Figure 7 This is a schematic diagram of a display interface of a peer device according to an embodiment of this application, used to illustrate the interface changes of a tablet computer as a peer device. Figure 7In interface a shown, the tablet displays an app lock notification for the "QQ" app, which reads "App lock protected, please use your phone to view." When the phone responds to the user's action to disable the app lock for the "QQ" app, and disables the app lock, the tablet deletes the app lock notification and displays... Figure 7 Interface b is shown. Further, when a new message to be viewed appears in the "QQ" application, the phone sends the new message to the tablet. The tablet displays the message's content, "Test Second Time," in a normal notification style, such as... Figure 7 Interface c is shown.
[0187] As an optional embodiment, the first terminal device responds to the user's operation by closing the application lock of the first application, including: the first terminal device responds to the user's operation by displaying a second interface, the second interface including an application lock master switch button for controlling the simultaneous opening or closing of application locks of multiple applications, the multiple applications including the first application, the application lock master switch button being displayed in an open state; the first terminal device responds to the user's click or slide operation on the application lock master switch button by closing the application locks of multiple applications, and displays the application lock master switch button in a closed state on the second interface.
[0188] By setting a master switch for application locks, users can uniformly configure the application lock status. This way, when adjusting the application lock status of applications in batches, users do not need to adjust each application individually, thus saving related operational processes.
[0189] The second interface here can be the same as or different from the first interface mentioned above. If the second interface is the same as the first interface, the method of entering the second interface is the same as that of the first interface, and will not be repeated here. For example, the second interface can be... Figure 4 The interface shown has the main power switch button for the application lock. Figure 4 The button corresponding to "Application Lock" at the top of interface a or interface b. When the second interface differs from the first interface, the user can enter the second interface by clicking the button on the first interface, or by using the settings button. This application embodiment does not limit the method of entering or the display style of the second interface.
[0190] It should be understood that after the user turns off the master application lock switch on the first terminal device, the application lock status of all applications is off. In this case, the aforementioned first indication information includes application identifiers of multiple applications and information indicating that the application locks of multiple applications are off.
[0191] Users Figure 4In interface b shown, clicking or sliding the app lock master switch button changes the overall app lock status from on to off. The phone responds to the user's click or slide operation by disabling app locks for all apps. Correspondingly, the interface on the other device will change. Figure 8 This is a schematic diagram of another display interface of the peer device in an embodiment of this application, used to illustrate the interface changes of a tablet computer as a peer device. Figure 8 In the interface shown (a), the tablet displays application lock notification 801 for the "QQ" app and application lock notification 802 for the "58.com" app. Both application lock notifications 801 and 802 display "Application lock protection in progress, please use your phone to view." When the phone responds to the user's operation to turn off the application lock master switch, the tablet deletes application lock notifications 801 and 802, and displays... Figure 8 The display interface shown is b.
[0192] It should be understood that Figure 8 This explanation only uses QQ and 58.com as examples. In other possible implementations, the tablet's interface may also display application lock notifications from other applications. After the main application lock switch is turned off, the tablet will delete all displayed application lock notifications, which will not be elaborated on here.
[0193] The above combination Figures 6 to 8 This section introduces the notification display method when the user changes the application lock of the first application from open to closed. The following section will combine... Figure 9 and Figure 10 This section describes how to display notifications when a user turns the application lock on the first application from closed to open.
[0194] Figure 9 This is a schematic flowchart of another notification display method 900 provided in this application embodiment. Method 900 can be applied to the above-described scenario 100, and the hardware structure of the terminal device involved in method 900 can be as follows: Figure 2 As shown, the software structure of this terminal device can be as follows: Figure 3 As shown. The method 900 includes the following steps:
[0195] S901, when the first application has a third message to be viewed, the first terminal device sends the third message to be viewed to the second terminal device, and the second terminal device receives the third message to be viewed, and the application lock of the first application is in the closed state.
[0196] It should be understood that "application" and "first application" here have the same meaning as described above, and will not be repeated here. Furthermore, the third message to be viewed mentioned above refers to unread notification messages pushed by the first application while the application lock state of the first application remains closed.
[0197] S902, the second terminal device displays the third notification, which shows the specific notification content of the third message to be viewed.
[0198] Specifically, the third notice is similar to the first notice mentioned above, and will not be repeated here.
[0199] It should be understood that since the application lock of the first application is in the closed state, the second terminal device no longer protects the third message to be viewed. Therefore, the specific notification content of the third message to be viewed is displayed, that is, the third message to be viewed is displayed in the style of a normal notification.
[0200] S903, the first terminal device responds to the user's operation and unlocks the application lock of the first application.
[0201] Alternatively, the "operation" here could be, for example, the user's actions as described above. Figure 4 The interface shown can be clicked or swiped.
[0202] S904, the first terminal device sends a second instruction information to the second terminal device, and the second terminal device receives the second instruction information accordingly. The second instruction information is used to indicate that the application lock of the first application is in the open state.
[0203] Specifically, the second indication information may include the application identifier of the first application and the application lock status indication information of the first application. For example, the application identifier of the first application may be "0001" or the application name "QQ", and the application lock status indication information of the first application may be "on".
[0204] S905, the second terminal device deletes the third notification and displays the fourth notification based on the second instruction information. The fourth notification does not display the specific notification content of the third message to be viewed.
[0205] The term "delete" here can be understood as the second terminal device not displaying the third notification.
[0206] The notification display method provided in this application involves the following steps: When the application lock of a first application is in a closed state, a first terminal device (i.e., the source device) sends a third message to be viewed to a second terminal device (i.e., the peer device). The second terminal device displays the third notification, which shows the specific content of the message to be viewed. After the user unlocks the application lock of the first application, the second terminal device deletes the third notification and displays the application lock notification. This ensures that the second terminal device displays application notifications only in the style of the application lock notification that matches the application lock's open state. This solves the problem of inconsistent display styles for messages to be viewed from the same application before and after the application lock is opened, avoiding user confusion and improving the user experience.
[0207] Optionally, after step S905, the above method further includes:
[0208] S906, when the first application has a fourth message to be viewed, the first terminal device sends the fourth message to be viewed to the second terminal device, and the second terminal device receives the fourth message to be viewed.
[0209] Specifically, the fourth message to be viewed is an unread notification message pushed by the first application when the application lock state of the first application is closed.
[0210] S907, the fourth notification displays the reception time of the third message to be viewed, and the second terminal device updates the time information displayed in the fourth notification to the reception time of the fourth message to be viewed.
[0211] It should be understood that the message to be viewed carries time information. The reception time of the fourth message to be viewed can be the time when the first terminal receives the fourth message to be viewed, or the time when the second terminal receives the fourth message to be viewed.
[0212] It should also be understood that regardless of how many messages are pending in the first application, as long as the application lock state of the first application remains unchanged, the second terminal device will only display the fourth notification, and the time information on the fourth notification will be updated according to the reception time of the pending messages. In this way, users can determine whether there are new notifications from the first application based on the time on the display interface of the second terminal device, avoiding missing notification messages when the first application is in an open application lock state, thus improving the user experience.
[0213] As an optional embodiment, the first terminal device responds to the user's operation by opening the application lock of the first application, including: the first terminal device responds to the user's operation by displaying a third interface, the third interface including the application name of each application in multiple applications and the application lock switch button corresponding to each application, the multiple applications including the first application, the application lock switch button of the first application is displayed in a closed state; the first terminal device responds to the user's click or slide operation on the application lock switch button of the first application by closing the application lock of the first application and displaying the application lock switch button of the first application in an open state on the third interface.
[0214] By setting the on / off function of individual application locks, users can control the application lock status of applications more flexibly and with finer granularity. When adjusting the status of an individual application lock, the first terminal device only needs to send the application identifier and status information of the individual application lock to the second terminal device, thereby saving the signaling overhead of the aforementioned first indication information.
[0215] It should be understood that the above operations can be user clicks or swipes. Users can enter the third interface by clicking the application lock button or by clicking the manager application. This application does not limit the user's operations or the method of entering the third interface. For example, the third interface can be... Figure 4 The interface shown.
[0216] The following example illustrates the use of a mobile phone as the first terminal device (i.e., the source device) and a tablet computer as the second terminal device (i.e., the peer device).
[0217] Users Figure 4 In the interface shown (a), the application lock status of the "QQ" application is changed from closed to open. Correspondingly, the interface on the other device will change. Figure 10 This is another schematic diagram of the display interface of the peer device in this application embodiment, used to illustrate the interface changes of the tablet computer as a peer device. Figure 10 In the interface shown (a), the tablet displays a notification from the "QQ" application, which shows the message to be viewed: "Second Test" (this display style is referred to as "normal notification style" in this application). After the user performs the above... Figure 4 After the operation shown unlocks the "QQ" application's application lock, the tablet computer does not display the above-mentioned normal notification style. Instead, it displays the notification message "Application lock protected, please use your mobile phone to view" (referred to in this application as the "application lock notification style"). This application lock notification style notification displays a time of "3 minutes ago" at 08:08. Figure 8 As shown in interface b; at 08:10, there is a new message to be viewed in the "QQ" application. The phone sends this new message to the tablet. The tablet still displays the new message in the application lock notification style, and updates the time on the notification to "just now". Figure 8 Interface c is shown.
[0218] As an optional embodiment, the first terminal device responds to the user's operation by opening the application lock of the first application, including: the first terminal device responds to the user's operation by displaying a fourth interface, the second interface including an application lock master switch button for controlling the simultaneous opening or closing of application locks of multiple applications, the multiple applications including the first application, the application lock master switch button being displayed in a closed state; the first terminal device responds to the user's click or slide operation on the application lock master switch button by opening the application locks of multiple applications, and displays the application lock master switch button in an open state on the fourth interface.
[0219] By setting a master switch for application locks, users can uniformly configure the application lock status. This way, when adjusting the application lock status of applications in batches, users do not need to adjust each application individually, thus saving related operational processes.
[0220] The fourth interface here can be the same as or different from the third interface mentioned above. If the fourth interface is the same as the third interface, the method of entering the fourth interface is the same as that of the third interface, and will not be repeated here; for example, the fourth interface can be... Figure 4 The interface shown has the main power switch button for the application lock. Figure 4 The button corresponding to "Application Lock" at the top of interface a or interface b. When the fourth interface differs from the third interface, the user can enter the fourth interface by clicking the button in the third interface, or by using the settings button. This application embodiment does not limit the entry method or display style of the fourth interface.
[0221] It should be understood that after the user turns on the master application lock switch on the first terminal device, the application lock status of all applications is in the open state. In this case, the aforementioned second indication information includes the application identifiers of multiple applications and information indicating that the application locks of multiple applications are in the closed state.
[0222] Optionally, after a user turns on the master switch for the application lock on the first terminal device, they can also independently set the application lock settings for multiple applications in the future.
[0223] The notification display method for when the user turns the application lock master switch button from off to on is similar to the notification display method for when the user turns the application lock master switch button from on to off, and will not be repeated here.
[0224] The following is combined with Figure 11 This section introduces the internal modules of the terminal device.
[0225] Figure 11This is a schematic diagram of the modules of a first terminal device according to an embodiment of this application. The first terminal device includes: an application, a settings module, a database module, a system user interface (SystemUI) module, and a connection framework module. The application of the first terminal device is used to receive application notifications; the settings module of the first terminal device is used to turn the application lock on or off according to user operations; the database module of the first terminal device includes a first database and a second database, wherein the first database can be a manager database used to store the on / off state of the application lock of a single application, and the second database is a settings database used to store the on / off state of the master switch of the application lock; the SystemUI module of the first terminal device includes an application lock management module and a super notification module, wherein the application lock management module is used to obtain the latest state of the application lock from the database module, and the super notification module is used to encapsulate the information to be sent to the peer device according to the data protocol, and send the encapsulated data to the connection framework module of the first terminal device; the connection framework module of the first terminal device is used to interface with the source device and the peer device to synchronize application notifications between the source device and the peer device.
[0226] Below, with Figure 11 Taking the module shown as an example, combined with Figure 12 The notification display method of the embodiments of this application will be further described.
[0227] Figure 12 This is a schematic flowchart illustrating another notification display method 1200 according to an embodiment of this application. Method 1200 can be applied to the above-described scenario 100, and the hardware structure of the terminal device involved in method 1200 is as follows... Figure 2 As shown, the software structure is as follows Figure 3 As shown. The method 1200 includes the following steps:
[0228] S1201, the application module of the first terminal device starts the first application.
[0229] It should be understood that the application module of the first terminal device can launch the first application in response to the user's operation, or the application module of the first terminal device can automatically launch the first application when the first terminal device is powered on. The embodiments of this application do not limit the launch method of the first application.
[0230] S1202, when the first application has a message to be viewed, the application module of the first terminal device sends the message to be viewed to the super notification module of the first terminal device, and the super notification module of the first terminal device receives the message to be viewed.
[0231] S1203, the super notification module of the first terminal device encapsulates the message to be viewed according to the protocol format and sends the encapsulated data to the connection frame module of the first terminal device. Correspondingly, the connection frame module of the first terminal device receives the encapsulated data.
[0232] S1204, the connection frame module of the first terminal device sends the encapsulated data to the second terminal device, and correspondingly, the second terminal device receives the encapsulated data.
[0233] S1205, the second terminal device decapsulates the encapsulated data and displays the first notification, i.e., the application lock notification, based on the application lock status of the first application being in the open state, without displaying the specific content of the message to be viewed mentioned above.
[0234] It should be understood that the application lock state of the first application here is obtained by the second terminal device from the first terminal device in advance.
[0235] S1206, In response to the user's operation, the settings module of the first terminal device closes the application lock of the first application.
[0236] Specifically, the "operation" here can refer to the user clicking or sliding the on / off button of the application lock in the first application.
[0237] S1207, the setting module of the first terminal device sends the application lock status indication information of the first application to the database module of the first terminal device to indicate that the application lock of the first application is in a closed state. Correspondingly, the database module of the first terminal device receives the status indication information.
[0238] The aforementioned status indication information may include the application identifier of the first application and information indicating that the application lock of the first application is in a closed state.
[0239] For example, the application identifier of the first application can be "0001" or the application name "A", and the application lock state of the first application can be "off".
[0240] For example, the database module of the first terminal device can be a manager database, used to store the on / off state of a single application lock.
[0241] S1208, the database module of the first terminal device updates the application lock status of the first application to the closed state based on the status indication information.
[0242] S1209, the database module of the first terminal device sends the application lock status indication information of the first application to the application lock management module of the first terminal device, and the application lock management module of the first application receives the status indication information.
[0243] For example, the database module of the first application is a manager database. The manager database can be configured with a Uniform Resource Identifier (URI) listener. This URI listener is used to monitor the state changes of a single application lock. When the URI listener detects a change in the application lock state of the first application, the manager database sends the application lock state indication information of the first application to the application lock management module of the first terminal device.
[0244] S1210, the application lock management module of the first terminal device sends the aforementioned status indication information to the super notification module of the first terminal device, and correspondingly, the super notification module of the first terminal device receives the status indication information.
[0245] S1211, the super notification module of the first terminal device encapsulates the status indication information according to the protocol format to obtain the encapsulated data.
[0246] S1212, the super notification module of the first terminal device sends the encapsulated data to the connection frame module of the first terminal device, and correspondingly, the connection frame module of the first terminal device receives the encapsulated data.
[0247] S1213, the connection frame module of the first terminal device sends the encapsulated data to the second terminal device, and correspondingly, the second terminal device receives the encapsulated data.
[0248] S1214, the second terminal device decapsulates the encapsulated data, determines that the application lock of the first application is in the closed state, and deletes the first notification.
[0249] The notification display method of this application embodiment, on the one hand, avoids the situation where the application lock of the first application is in a closed state but the second terminal device still displays the application lock notification; on the other hand, it also helps to avoid the problem that the display style of the already displayed application lock notification is inconsistent with the notification display style of the new messages to be viewed by the first application, so as to avoid confusion for users when viewing messages, thereby improving the user experience.
[0250] The above method 1200 is only illustrated by taking the state of a single application lock changing from open to closed as an example. It should be understood that the situation of the state of a single application lock changing from closed to open is similar, and will not be described again here.
[0251] It should also be understood that when the user changes the application lock master switch from on to off, in method 1200 above, the database module of the first terminal device can be a settings database. The settings database can monitor the application lock master switch status. When the settings database detects a change in the application lock master switch status, it sends an application lock master switch status change notification message to the application lock management module of the first terminal device. Correspondingly, the application lock management module of the first terminal device receives this notification message. The application lock management module of the first terminal device queries the settings database for the latest status of the application lock master switch. Correspondingly, the settings database of the first terminal device performs a query and sends the latest status of the application lock master switch to the application lock management module of the first terminal device. After receiving the latest status of the application lock master switch, the application lock management module of the first terminal device, combined with the existing application lock statuses of various applications, selects a list of applications whose application lock status has changed, and sends this application list to the super notification module of the first terminal device. The super notification module of the first terminal device encapsulates the list data according to the protocol format and sends the encapsulated information to the connection framework module of the first terminal device. The subsequent procedures are the same as S1213 to S1214 of method 1200, and will not be repeated here. The situation where the user sets the master switch of the above application lock from open to closed is similar, and will not be repeated here.
[0252] The above text combined Figures 6 to 12 The notification display method of the embodiments of this application is described in detail below. Figure 13 and Figure 14 This application describes in detail the terminal device of the embodiments.
[0253] In one possible implementation, the terminal device 1300 is used to implement the steps corresponding to the second terminal device in the method 600 described above.
[0254] The transceiver module 1302 is further configured to: receive a first message to be viewed from a first terminal device, the first message to be viewed belonging to a first application, and the application lock of the first application being in an open state; receive a first indication information from the first terminal device, the first indication information being used to indicate that the application lock of the first application is in a closed state; the processing module 1301 is configured to: display a first notification, the first notification not displaying the specific notification content of the first message to be viewed; and not display the first notification based on the first indication information.
[0255] Optionally, the above-mentioned transceiver module 1302 is further configured to: receive a second message to be viewed; the above-mentioned processing module 1301 is further configured to: display a second notification, wherein the second notification displays the specific notification content of the second message to be viewed.
[0256] Optionally, the first indication information includes the application identifier of the first application and information indicating that the application lock of the first application is in a closed state.
[0257] Optionally, the first indication information includes application identifiers of multiple applications and information indicating that the application locks of the multiple applications are in a closed state.
[0258] In another possible implementation, the terminal device 1300 is used to implement the steps corresponding to the second terminal device in the method 900 described above.
[0259] The transceiver module 1302 is used to: receive a third message to be viewed from the first terminal device, the third message to be viewed belonging to the first application, and the application lock of the first application being in a closed state; receive a second indication information from the first terminal device, the second indication information being used to indicate that the application lock of the first application is in an open state; the processing module 1301 is used to: display a third notification, the third notification displaying the specific notification content of the third message to be viewed; based on the second indication information, delete the third notification, display a fourth notification, the fourth notification not displaying the specific notification content of the third message to be viewed.
[0260] Optionally, the fourth notification displays the reception time of the third message to be viewed; after deleting the third notification and displaying the fourth notification, the above-mentioned transceiver module 1302 is further configured to: receive the fourth message to be viewed; the above-mentioned processing module 1301 is further configured to: update the time information displayed by the fourth notification to the reception time of the fourth message to be viewed.
[0261] Optionally, the second indication information includes the application identifier of the first application and information indicating that the application lock of the first application is in the open state.
[0262] Optionally, the second indication information includes application identifiers for multiple applications and information indicating that the application locks for the multiple applications are in an open state.
[0263] It should be understood that the terminal device 1300 here is embodied in the form of a functional module. The term "module" here can refer to application-specific integrated circuits (ASICs), electronic circuits, processors (e.g., shared processors, proprietary processors, or group processors, etc.) and memories for executing one or more software or firmware programs, combined logic circuits, and / or other suitable components supporting the described functions. In an alternative example, those skilled in the art will understand that the terminal device 1300 can specifically be the second terminal device in the above embodiments. The terminal device 1300 can be used to execute the various processes and / or steps corresponding to the second terminal device in the above method embodiments; to avoid repetition, these will not be described again here.
[0264] The aforementioned terminal device 1300 has the function of implementing the corresponding steps performed by the second terminal device in the above method; the above function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above function. For example, the aforementioned transceiver module 1302 may include a sending module and a receiving module. The sending module can be used to implement the various steps and / or processes corresponding to the transceiver module for performing the sending action, and the receiving module can be used to implement the various steps and / or processes corresponding to the transceiver module for performing the receiving action. The sending module can be replaced by a transmitter, and the receiving module can be replaced by a receiver, respectively executing the transmission and reception operations and related processing operations in each method embodiment.
[0265] In the embodiments of this application, Figure 13 The terminal device 1300 can also be a chip or a chip system, such as a system on chip (SOC). Correspondingly, the transceiver module 1302 can be the transceiver circuit of the chip, which is not limited here.
[0266] Figure 14 Another terminal device 1400 provided in this application embodiment is illustrated. The terminal device 1400 includes a processor 1401, a transceiver 1402, and a memory 1403. The processor 1401, transceiver 1402, and memory 1403 communicate with each other via an internal connection path. The memory 1403 is used to store instructions, and the processor 1401 is used to execute the instructions stored in the memory 1403 to control the transceiver 1402 to transmit and / or receive signals.
[0267] It should be understood that the terminal device 1400 may specifically be the second terminal device in the above embodiments, and may be used to execute the various steps and / or processes corresponding to the second terminal device in the above method embodiments. Optionally, the memory 1403 may include read-only memory and random access memory, and provide instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store device type information. The processor 1401 may be used to execute instructions stored in the memory, and when the processor 1401 executes instructions stored in the memory, the processor 1401 is used to execute the various steps and / or processes of the above method embodiments corresponding to the second terminal device. The transceiver 1402 may include a transmitter and a receiver, the transmitter may be used to implement the various steps and / or processes corresponding to the transceiver for performing a sending action, and the receiver may be used to implement the various steps and / or processes corresponding to the transceiver for performing a receiving action.
[0268] It should be understood that, in the embodiments of this application, the processor may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0269] In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software. The steps of the method disclosed in the embodiments of this application can be directly manifested as execution by a hardware processor, or as a combination of hardware and software modules within the processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory, and the processor executes the instructions in the memory, combining them with its hardware to complete the steps of the above method. To avoid repetition, detailed descriptions are omitted here.
[0270] This application also provides a notification display system, including the aforementioned first terminal device and second terminal device, wherein the user logs in to the same account on the first terminal device and the second terminal device, and the first terminal device and the second terminal device are on the same local area network.
[0271] This application also provides a computer-readable storage medium for storing a computer program for implementing the method corresponding to the second terminal device in the above embodiments.
[0272] This application also provides a computer program product, which includes a computer program (also referred to as code or instructions), and when the computer program is run on a computer, the computer can execute the method corresponding to the second terminal device shown in the above embodiments.
[0273] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0274] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0275] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0276] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0277] In addition, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.
[0278] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0279] The above description is merely a specific embodiment of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.
Claims
1. A notification display method, characterized in that, A method applicable to a system including a first terminal device and a second terminal device, wherein a user logs in to the same account on both the first terminal device and the second terminal device, and the first terminal device and the second terminal device are on the same local area network, the method comprising: The first terminal device receives the first message from the first application; The first terminal device sends the first message to the second terminal device, and the second terminal device displays a first notification. The first notification includes the content of the first message. Before the first notification is displayed, the application lock of the first application is turned off. The first terminal device responds to the user's operation by unlocking the application lock of the first application; After unlocking the application lock of the first application, the first terminal device sends a first instruction message to the second terminal device; After receiving the first instruction information, the second terminal device deletes the first notification and displays a second notification, which does not include the content of the first message.
2. The method according to claim 1, characterized in that, After receiving the first instruction information, the second terminal device deletes the first notification, including: The second terminal device deletes the first notification based on the first instruction information.
3. The method according to claim 1 or 2, characterized in that, The second notification includes the time the first message was received; After deleting the first notification and displaying the second notification, the method further includes: After the first terminal device receives the second message from the first application, the first terminal device sends the second message to the second terminal device. After receiving the second message, the second terminal device updates the time information displayed in the second notification to the time of receiving the second message.
4. The method according to any one of claims 1 to 3, characterized in that, The first terminal device responds to the user's operation by unlocking the application lock of the first application, including: The first terminal device responds to the user's operation and displays a first interface. The first interface includes the application name of each application in a plurality of applications and the application lock switch button corresponding to each application. The plurality of applications include the first application. The application lock switch button of the first application is displayed as closed. The first terminal device responds to the user's click or slide operation on the application lock switch button of the first application, opens the application lock of the first application, and displays the application lock switch button of the first application as open on the first interface.
5. The method according to claim 4, characterized in that, The first indication information includes the application identifier of the first application and information indicating that the application lock of the first application is in an open state.
6. The method according to any one of claims 1 to 3, characterized in that, The first terminal device responds to the user's operation by unlocking the application lock of the first application, including: The first terminal device responds to the user's operation and displays a second interface. The second interface includes an application lock master switch button for controlling the application lock of multiple applications to be opened or closed simultaneously. The multiple applications include the first application. The application lock master switch button is displayed in the off state. The first terminal device responds to the user's click or slide operation on the application lock master switch button, opens the application lock of the multiple applications, and displays the application lock master switch button as open on the second interface.
7. The method according to claim 6, characterized in that, The first indication information includes the application identifiers of the plurality of applications and information indicating that the application locks of the plurality of applications are in an open state.
8. A notification display method, characterized in that, A method applicable to a system including a first terminal device and a second terminal device, wherein a user logs in to the same account on both the first terminal device and the second terminal device, and the first terminal device and the second terminal device are on the same local area network, the method comprising: The first terminal device receives a third message from the first application; The first terminal device sends the third message to the second terminal device, and the second terminal device displays a third notification. The third notification does not include the content of the third message. Before the third notification is displayed, the application lock of the first application is unlocked. The first terminal device responds to the user's operation by closing the application lock of the first application; After closing the application lock of the first application, the first terminal device sends a second instruction message to the second terminal device; After receiving the second instruction information, the second terminal device deletes the third notification.
9. The method according to claim 8, characterized in that, After receiving the second instruction information, the second terminal device deletes the third notification, including: The second terminal device deletes the third notification based on the second instruction information.
10. The method according to claim 8 or 9, characterized in that, After deleting the third notification, the method further includes: After the first terminal device receives the fourth message from the first application, the first terminal device sends the fourth message to the second terminal device. After the second terminal device receives the fourth message, it displays a fourth notification, which includes the content of the fourth message.
11. The method according to any one of claims 8 to 10, characterized in that, The first terminal device, in response to a user's operation, disables the application lock of the first application, including: The first terminal device responds to the user's operation and displays a third interface. The third interface includes the application name of each application in multiple applications and the application lock switch button corresponding to each application. The multiple applications include the first application, and the application lock switch button of the first application is displayed as open. The first terminal device responds to the user's click or slide operation on the application lock switch button of the first application, closes the application lock of the first application, and displays the application lock switch button of the first application as closed on the third interface.
12. The method according to claim 11, characterized in that, The second indication information includes the application identifier of the first application and information indicating that the application lock of the first application is in a closed state.
13. The method according to any one of claims 8 to 10, characterized in that, The first terminal device, in response to a user's operation, disables the application lock of the first application, including: The first terminal device responds to the user's operation and displays a fourth interface. The fourth interface includes an application lock master switch button for controlling the application lock of multiple applications to be opened or closed at the same time. The multiple applications include the first application. The application lock master switch button is displayed in the open state. The first terminal device responds to the user's click or slide operation on the application lock master switch button, closes the application lock of the multiple applications, and displays the application lock master switch button as closed on the fourth interface.
14. The method according to claim 13, characterized in that, The second indication information includes the application identifiers of the plurality of applications and information indicating that the application locks of the plurality of applications are in a closed state.
15. A notification display system, characterized in that, It includes a first terminal device and a second terminal device, where the user logs in to the same account on both the first terminal device and the second terminal device, and the first terminal device and the second terminal device are on the same local area network; The first terminal device is configured to receive a first message from the first application; The first terminal device is configured to send the first message to the second terminal device; The second terminal device is configured to display a first notification, the first notification including the content of the first message, and the application lock of the first application is turned off before the first notification is displayed; The first terminal device is configured to unlock the application lock of the first application in response to a user's operation; The first terminal device is configured to send a first instruction message to the second terminal device after unlocking the application lock of the first application; The second terminal device is configured to, upon receiving the first instruction information, delete the first notification and display a second notification, wherein the second notification does not include the content of the first message.
16. The system according to claim 15, characterized in that, The first terminal device is configured to receive a third message from the first application; The first terminal device is configured to send the third message to the second terminal device; The second terminal device is configured to display a third notification, which does not include the content of the third message. Before displaying the third notification, the application lock of the first application is unlocked. The first terminal device is configured to close the application lock of the first application in response to a user's operation; The first terminal device is configured to send a second instruction message to the second terminal device after closing the application lock of the first application; The second terminal device is configured to delete the third notification after receiving the second instruction information.
17. A terminal device, characterized in that, include: A processor coupled to a memory for storing a computer program, wherein when the processor invokes the computer program, the terminal device executes the notification display method as described in any one of claims 1 to 14.
18. A computer-readable storage medium, characterized in that, Used to store a computer program, the computer program including instructions for implementing the notification display method as described in any one of claims 1 to 14.
Citation Information
Patent Citations
Login method of intelligent terminal and electronic equipment
CN110276177A
Notification processing system and method and electronic device
CN111404802A