Television program reminding method and device, smart television and storage medium
By deploying a memo application as a system application on a smart TV, receiving and processing user voice data, generating and executing reminder tasks, the problem of cumbersome operation for users to set TV program reminders is solved, achieving timely and reliable TV program reminders and improving the user interaction experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-02-04
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, setting TV program reminders is a cumbersome process for users, which affects their immersive experience in front of the TV.
By deploying a memo application as a system application on a smart TV, the system receives the user's voice data, performs recognition and semantic analysis, generates and executes reminder tasks, and utilizes system application permissions to ensure the reliable execution of reminder tasks.
It enables timely TV program reminders on smart TVs, enhancing the user interaction experience, reducing the risk of system shutdown due to resource reclamation, and improving the reliability and immersiveness of reminders.
Smart Images

Figure CN121842464A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart TV technology, and in particular to a method, apparatus, smart TV, and storage medium for reminding users of TV programs. Background Technology
[0002] With the increasing popularity of smart TVs, users have access to a wider variety of television programs. Users often want to remember the scheduled broadcast time of a particular TV program so they can watch it on time.
[0003] Typically, users can manually consult the Electronic Program Guide (EPG) and may need to use a mobile phone or third-party calendar app to set reminders. However, this method is cumbersome and affects the user's immersive experience in front of the television. Summary of the Invention
[0004] In view of the above, this application provides a television program reminder method, apparatus, smart TV, and storage medium to solve at least one problem existing in the background art.
[0005] In a first aspect, embodiments of this application provide a method for reminding users of television programs, applied to a smart TV, wherein the smart TV has a memo application configured as a system application deployed thereon, and the method includes: The memo application receives voice data input by the user. The speech data is then subjected to recognition and semantic analysis to obtain speech recognition results; When the speech recognition result contains reminder settings for watching TV programs by the user, the target TV program information and the corresponding target playback time are determined. Based on the target TV program information and the target playback time, a first type of reminder task is generated; Based on the system application permissions of the memo application, the system service is invoked to execute the first type of reminder task, so as to trigger a reminder notification corresponding to the target TV program information at the target playback time.
[0006] In conjunction with the first aspect, in an optional implementation, the step of recognizing and semantically analyzing the speech data to obtain a speech recognition result includes: Based on the current network connection status of the smart TV, the voice data is routed to either a local voice recognition service or a cloud-based online voice recognition service. The speech data is processed by the selected speech recognition service to obtain the speech recognition result.
[0007] In conjunction with the first aspect, in an optional implementation, the step of invoking system services to execute the first type of reminder task based on the system application permissions of the memo application includes: Based on the system application permissions of the memo application, the system-level timer interface is invoked to execute the first type of reminder task.
[0008] In conjunction with the first aspect, in an alternative embodiment, the method further includes: When the speech recognition result includes a program auxiliary management instruction, a second type of reminder task is generated based on the program auxiliary management instruction. The second type of reminder task is a background task that allows delay or needs to be triggered under preset conditions. The second type of reminder task is executed by calling the system-level background task scheduler.
[0009] In conjunction with the first aspect, in an alternative embodiment, the method further includes: Based on the network connection status of the smart TV, system load, and / or whether the second type of reminder task is a repetitive event, optimize the scheduling timing of the second type of reminder task.
[0010] In conjunction with the first aspect, in an alternative implementation, the memo application is configured in its configuration manifest to share the same user identifier with the operating system of the smart TV and has system signing permissions.
[0011] In conjunction with the first aspect, in an alternative implementation, the memo application uses the same key as the operating system of the smart TV for signature verification.
[0012] In conjunction with the first aspect, in an optional implementation, triggering a reminder notification corresponding to the target TV program information at the target playback time includes: Depending on whether the smart TV is currently in full-screen playback mode, the reminder notification will be presented in the corresponding user interface format.
[0013] Secondly, embodiments of this application provide a television program reminder device for use on a smart TV, wherein the smart TV has a memo application configured as a system application deployed thereon, and the device includes: A voice acquisition module is used to receive voice data input by the user through the memo application; The recognition processing module is used to recognize and semantically analyze the speech data to obtain speech recognition results; The task generation module is used to determine the target TV program information and the corresponding target playback time when the speech recognition result contains reminder settings information for watching TV programs by the user, and to generate a first type of reminder task based on the target TV program information and the target playback time; The program reminder module is used to invoke system services to execute the first type of reminder task based on the system application permissions of the memo application, so as to trigger a reminder notification corresponding to the target TV program information at the target playback time.
[0014] Thirdly, embodiments of this application provide a smart TV, including a processor, the processor being configured to invoke instructions to cause the smart TV to execute the steps of the TV program reminder method as described in any optional embodiment of the first aspect.
[0015] Fourthly, embodiments of this application provide a storage medium having an executable program stored thereon, wherein the executable program, when executed by a processor, implements the steps of the television program reminder method as described in any optional embodiment of the first aspect.
[0016] This application provides a TV program reminder method, apparatus, smart TV, and storage medium. The TV program reminder method is applied to a smart TV, which has a memo application configured as a system application. The memo application receives voice data input by the user and processes it to obtain voice recognition results. When the voice recognition results contain reminder settings for watching TV programs, the target TV program information and the corresponding target playback time are determined. Based on the target TV program information and its target playback time, a first type of reminder task is generated. Then, based on the system application permissions of the memo application, a high-priority system service is invoked to execute the first type of reminder task. Because the memo application is configured as a system application, it can obtain a higher level of permissions, which reduces the risk of it being terminated by the system due to resource reclamation (such as process cleanup when system memory is insufficient). This improves the system scheduling priority and activity retention of the memo application, thereby ensuring that the reminder tasks it sets can be more reliably retained and executed by system services to trigger reminders on time. This achieves reliable reminders and helps improve the interactive experience of the smart TV. Attached Figure Description
[0017] Figure 1 This is one of the flowcharts illustrating a television program reminder method according to an embodiment; Figure 2 yes Figure 1 The flowchart of step S102 is shown below; Figure 3 This is a second flowchart illustrating a television program reminder method according to one embodiment; Figure 4 This is a third flowchart illustrating a television program reminder method according to one embodiment; Figure 5 This is a fourth flowchart illustrating a television program reminder method according to one embodiment; Figure 6 This is a schematic diagram of the structure of an electronic device according to one embodiment. Detailed Implementation
[0018] To make the technical solution and beneficial effects of this application more apparent and understandable, a detailed description is provided below by listing specific embodiments. The accompanying drawings are not necessarily drawn to scale, and local features may be enlarged or reduced to more clearly show the details of the local features; unless otherwise defined, the technical and scientific terms used herein have the same meanings as those in the technical field to which this application pertains.
[0019] The embodiments in this application are not exhaustive, but merely illustrative of some embodiments, and are not intended to limit the scope of protection of this disclosure. Unless otherwise specified, each step in a particular embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a particular embodiment can also be implemented as an independent embodiment, and the order of the steps in a particular embodiment can be arbitrarily interchanged. Furthermore, the optional implementation methods in a particular embodiment can be arbitrarily combined; moreover, the embodiments can be arbitrarily combined, for example, some or all steps of different embodiments can be arbitrarily combined, and a particular embodiment can be arbitrarily combined with the optional implementation methods of other embodiments.
[0020] In each embodiment of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions of the embodiments are consistent and can be referenced by each other. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.
[0021] In the description of the embodiments of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0022] It should be noted that the information (including but not limited to user device information) and data (including but not limited to data used for analysis, stored data, and displayed data) collected in this public disclosure are information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of this data all comply with the relevant laws, regulations, and standards of the relevant regions, and necessary confidentiality measures have been taken. This does not violate public order and good morals, and corresponding operation entry points are provided for users to choose to authorize or refuse. For example, this system has interfaces with relevant users or organizations. Before obtaining relevant information, a request to obtain the information must be sent to the aforementioned user or organization through the interface, and the relevant information will be obtained only after the aforementioned user or organization has provided their consent.
[0023] Figure 1 This is a flowchart illustrating a television program reminder method according to one embodiment. Figure 1 As shown, the method includes the following steps: S101: Receives voice data input by the user via a memo application; S102: Perform speech data recognition and semantic analysis to obtain speech recognition results; S103: When the voice recognition result contains reminder settings for watching TV programs by the user, determine the target TV program information and the corresponding target playback time; S104: Generate a first-type reminder task based on the target TV program information and the target playback time; S105: Based on the system application permission of the memo application, call the system service to execute the first type of reminder task, so as to trigger a reminder notification corresponding to the target TV program information at the target playback time.
[0024] In this embodiment, the TV program reminder method is applied to a smart TV (e.g., a TV device with an Android TV or similar system), which has a memo application configured as a system application deployed on it.
[0025] Because the memo application is configured as a system application for the smart TV, it is granted a higher level of privileges. This reduces the risk of the application being terminated by the system due to resource reclamation (such as when the system needs to clean up processes due to insufficient memory). It also increases the system scheduling priority and activity of the memo application, thereby ensuring that the first-class reminder tasks it sets can be more reliably retained and executed by the system service to trigger reminders on time.
[0026] In some examples, the memo application is configured in its application configuration manifest file to share the same user ID with the operating system and have system signing permissions. This allows the memo application to access protected system-level APIs, gaining a higher level of privileges, thereby interacting directly with core system services and improving the application's background persistence capabilities. This makes the process less likely to be terminated by the system due to resource reclamation, providing a stable operating environment for subsequent first-type reminder tasks that require long waiting times or precise triggering.
[0027] For example, the memo application can be configured in its application configuration manifest file (e.g., AndroidManifest.xml). <manifest>In the root tag, the attribute `android:sharedUserId="android.uid.system"` is declared. This attribute ensures that after installation, the Notes application's process user ID (UID) is assigned the same "system" UID as the core services of the Android operating system, rather than the isolated UID defaulted to by ordinary applications. This makes the running instance of the Notes application a trusted system component at the system level, capable of accessing API interfaces and system resources protected by the `android:uid.system` UID. For example, it can use the AlarmManager's precise wake-up (`setExactAndAllowWhileIdle`) interface without restriction, and its background services are not easily forcibly stopped by the system.
[0028] In some examples, the Notes application undergoes system signature verification that matches the smart TV's operating system. Specifically, before deploying the Notes application's installation package (APK file) to the smart TV, it is signed using the same platform signing key used when building the smart TV's system image. When the smart TV installs or updates the Notes application, the system's PackageManager verifies that its signing certificate matches the pre-installed platform certificate in the system. If the signature verification passes, the configuration `android:sharedUserId="android.uid.system"` takes effect. This signature verification mechanism prevents unauthorized third-party applications from impersonating system applications, ensures the trustworthiness of the Notes application with this permission, and improves system security.
[0029] In step S101 above, the memo application receives raw input from the microphone built into the smart TV. For example, the user can activate the voice monitoring function of the memo application by long-pressing a dedicated voice button on the remote control, speaking a preset wake-up word, or through the voice input interface of the memo application.
[0030] In some examples, the voice data may include voice commands indicating the user's viewing intention, such as "Remind me to watch the basketball game on CCTV5 tomorrow night at 8 pm." Alternatively, it may include semantically similar but differently worded commands, such as "Don't forget there's a basketball game on CCTV5 tomorrow night." It may also contain commands with incomplete information, such as "Remind me to watch the game on Saturday night," in which case the system needs to supplement the specific channel and time information using the electronic program guide.
[0031] In other examples, the voice data may include non-real-time program management instructions, such as "update the program schedule," "clear all reminders from last month," or "check what sports are happening this week." These instructions do not require triggering viewing reminders at a specific time, but rather instruct the system to perform delayed or periodic auxiliary tasks.
[0032] The smart TV's audio acquisition module converts the user's voice data into a continuous digital audio signal and outputs it as voice data to be processed to the memo application.
[0033] In some examples, to enable voice capture, the Memos app declares the RECORD_AUDIO and INTERNET permissions in its configuration file AndroidManifest.xml.
[0034] In some examples, considering the changing privacy permission policies across different Android versions, for smart TVs running Android 10 and above, the Notes app can proactively request and obtain the RECORD_AUDIO permission by calling methods such as ActivityCompat.requestPermissions() before its first attempt to access the microphone. This allows the app to proactively display an authorization dialog box to the user. Voice recording will only proceed after the user explicitly grants this permission.
[0035] In step S102 above, the memo application can call the speech recognition service to perform speech data recognition and semantic analysis. To achieve low-latency real-time processing and meet the smoothness requirements of television voice interaction, a streaming processing architecture can be adopted. Specifically, the speech acquisition module acts as a producer, continuously dividing the acquired audio data into frames of fixed duration (e.g., 20 milliseconds) and storing them in a buffer queue (e.g., LinkedBlockingQueue). Simultaneously, an independent audio processing thread created by HandlerThread acts as a consumer, continuously retrieving audio frames from this queue for processing. This producer-consumer model effectively decouples the data acquisition and processing processes, ensuring that audio acquisition is not blocked even during complex analysis, thus providing a stable data stream for subsequent real-time speech recognition and intelligent routing. The audio processing thread can perform preprocessing on the frame data, such as endpoint detection, to filter valid speech segments, and then submit them to the subsequent recognition engine for recognition and semantic analysis to obtain speech recognition results, including target television program information and the corresponding target playback time. The speech recognition results can be stored through data persistence (e.g., a Room database).
[0036] Here, recognition and semantic analysis can be implemented based on natural language processing (NLP). For example, regular expression matching based on rule templates, keyword triggering, or integrating open-source named entity recognition (NER) toolkits (such as Jieba word segmentation for Chinese combined with a custom dictionary) can be used to extract entities from text converted from sound to obtain program information, and the time expressions in the text can be parsed and converted into an absolute timestamp to obtain time information.
[0037] In step S103 above, when the user's reminder settings for watching TV programs are identified from the voice recognition results, the target TV program information and the corresponding target playback time can be further determined.
[0038] In some examples, the reminder settings may directly contain the complete information needed to determine the reminder, including both target TV program information (such as channel and program name) and target broadcast time (such as specific time). The target TV program information and target broadcast time can be directly determined from this.
[0039] In other examples, the reminder settings may be incomplete. For instance, if a user's voice data is "Remind me to watch the game on Saturday night," the reminder settings in the voice recognition result might only include the incomplete time "Saturday night" and the vague program type "game," lacking the specific channel and precise time. In such cases, the memo application needs to supplement the incomplete reminder settings. For example, it can query the smart TV's electronic program guide database based on the parsed partial information (such as time range and program type), or obtain program guide information through a network interface, and then match and complete the information to obtain the target TV program information and the corresponding target playback time.
[0040] Furthermore, to ensure the accuracy of reminder settings and their alignment with the user's true intentions, and to further enhance the interactive experience, the memo app can initiate a confirmation interaction with the user. For example, it can generate a prompt message containing multiple candidate programs (e.g., displaying an option list on the screen or providing voice prompts) for the user to choose from. After the user provides feedback via remote control or voice, the memo app ultimately determines a unique target TV program and target playback time based on the user's selection, thus accurately completing the reminder settings.
[0041] In step S104 above, a structured first-type reminder task can be generated based on the target TV program information and the target playback time. The first-type reminder task includes a task ID, a trigger time, and task content. The task ID is used to uniquely identify the task; the trigger time is the timestamp corresponding to the target playback time; and the task content includes the target TV program information and associated memo content.
[0042] The first type of reminder task is a timed reminder task that is required to be triggered precisely at the target playback time.
[0043] In step S105 above, the memo application, using its system application identity, executes the first type of reminder task by calling the system-level service interface to trigger the reminder notification corresponding to the target TV program information at the target playback time. This reduces the problem of the first type of reminder task failing due to system resource reclamation, ensuring that the reminder notification can be triggered stably and reliably at the preset target playback time.
[0044] Specifically, the memo application submits the first type of reminder task it generates directly to the underlying task scheduling service (such as the AlarmManager or WorkManager service interface) through a dedicated API provided by the operating system. The operating system verifies the memo application's system signature and other identity information. Since the memo application is configured as a system application, its identity is automatically verified. Therefore, the submitted first type of reminder task is recognized by the task scheduling service as a trusted system-level task and is thus allowed to be placed in the system-managed task queue to await scheduling. This ensures the reliability of subsequent reminder triggering.
[0045] In some examples, triggering a reminder notification corresponding to the target TV program information at the target playback time may include: Depending on whether the smart TV is currently in full-screen playback mode, a suitable reminder notification interface will be triggered and displayed at the target playback time to present the reminder notification.
[0046] For example, when the smart TV is in full-screen playback mode, a non-intrusive notification interface can be triggered and displayed (such as a brief banner notification at the top of the screen, or a picture-in-picture window in the corner of the screen) to remind the user without interrupting their current viewing experience. When the smart TV is not in full-screen playback mode (such as on the home screen, in the app list, or in standby mode), a more explicit notification interface can be triggered and displayed (such as turning on the screen and displaying a full-screen or large window notification) to ensure that the information is effectively communicated to the user.
[0047] In some examples, the method may further include: in the reminder notification interface, the memo application responds to the user's interactive selection and determines the subsequent process. For example, if the user selects "View Details", the memo application jumps from the current interface to the details viewing interface of the corresponding memo; if the user selects "Turn Off Notification", the memo application terminates the current reminder process and closes the notification interface. Simultaneously, the status of the first type of reminder task associated with the reminder is updated to canceled or invalid, so as to release the system scheduling resources occupied by the first type of reminder task.
[0048] It is understood that the memo application described in this application may also be replaced by other applications with the same or similar functions, such as note-taking applications.
[0049] In the TV program reminder method provided in the above embodiments, voice data input by the user is received through a memo application, and the voice recognition result is obtained. When the voice recognition result contains reminder settings information for watching TV programs, the target TV program information and the corresponding target playback time are determined, and a first type of reminder task is generated. Then, based on the system application permissions of the memo application, a high-priority system service is called to execute the first type of reminder task. Since the memo application is configured as a system application, it can obtain a higher level of permissions, which reduces the risk of it being terminated by the system due to resource reclamation (such as process cleanup when system memory is insufficient). This improves the system scheduling priority and activity retention of the memo application, thereby ensuring that the reminder tasks it sets can be more reliably retained and executed by the system service to trigger reminders on time. This achieves reliable reminders and helps to improve the interactive experience of smart TVs.
[0050] In some embodiments, such as Figure 2 As shown, in step S102 above, the speech data is recognized and semantically analyzed to obtain the speech recognition result, which may include: S1021: Based on the current network connection status of the smart TV, select to route voice data to the local voice recognition service or the cloud-based online voice recognition service; S1022: Process the speech data using the selected speech recognition service to obtain the speech recognition result.
[0051] In step S1021, the memo application first detects the current network connection status of the smart TV (such as Wi-Fi or mobile data). Based on the network connection status, it dynamically selects the processing path for the voice data. For example, if the network connection status indicates that the smart TV is currently offline or the network quality is poor, the memo application will select the local speech recognition engine for processing. This can leverage the speech recognition capabilities built into the smart TV's operating system (e.g., through SpeechRecognizer API calls), thus ensuring the availability of the memo function in offline environments. If the network connection status indicates that the smart TV is currently connected to a stable network, the memo application can encrypt the voice data and route it to a cloud-based online speech recognition service. Leveraging the powerful computing resources and continuously updated speech recognition models of the cloud server cluster, higher recognition accuracy can be achieved for speech data recognition scenarios such as complex program names, colloquial expressions, or specific accents.
[0052] In step S1022, the voice data is processed by the selected speech recognition service to convert it into text. Key information is extracted from the recognized text to obtain the target TV program information and target broadcast time, which are then provided to the memo application. The target TV program information may include the program name (e.g., NBA Finals), broadcast channel (e.g., CCTV5), etc. The target broadcast time includes the specific date and target broadcast timestamp.
[0053] In this embodiment, the memo application can integrate with the system's native speech recognition API (such as the SpeechRecognizer interface of Android TV) to achieve speech data recognition and semantic analysis, or it can access a third-party cloud speech recognition SDK to achieve speech data recognition and semantic analysis. Based on the actual network conditions of the smart TV, the application intelligently calls the speech recognition service. When the network is unavailable, it automatically uses the local service; when the network is available again, it uses the cloud service to improve the accuracy of speech recognition, thus enhancing the service's intelligence.
[0054] In some embodiments, based on Figure 1 ,like Figure 3 As shown, in step S105 above, based on the system application permissions of the memo application, the system service is invoked to execute the first type of reminder task, so as to trigger a reminder notification corresponding to the target TV program information at the target playback time, including: S1051: Based on the system application permissions of the memo application, call the system-level timer interface to execute the first type of reminder task, so as to trigger a reminder notification corresponding to the target TV program information at the target playback time.
[0055] The first type of reminder task needs to be triggered precisely at the target playback time. In other words, the first type of reminder task is considered a relatively urgent reminder task and needs to be triggered accurately.
[0056] For the first type of reminder task that needs to be triggered on time, to ensure reliable execution, the memo application uses its system application privileges to call the AlarmManager service provided by the operating system. AlarmManager is a system-level timer interface that can set precise alarms that continue to function even after the device enters a low-power sleep state.
[0057] In practice, the memo application can create a timed request containing a precise trigger time (i.e., the number of milliseconds corresponding to the target playback time) and the operation to be performed, and submit it to the operating system via methods such as `AlarmManager.setExactAndAllowWhileIdle()`. Because the memo application has system application privileges, this call is permitted. The system kernel receives the timed request and maintains it independently of the memo application process. When the system clock reaches the target playback time, the system will proactively generate the corresponding trigger event, thus providing a precise timed reminder.
[0058] In some embodiments, based on Figure 1 ,like Figure 4 As shown, the method may further include: S106: When the speech recognition result includes program auxiliary management instructions, a second type of reminder task is generated based on the program auxiliary management instructions. The second type of reminder task is a background task that allows delay or needs to be triggered by meeting preset conditions. S107: Invoke the system-level background task scheduler to execute the second type of reminder task.
[0059] Program auxiliary management instructions include auxiliary management or maintenance intentions related to the program reminder function. They do not require immediate or second-level response, but are allowed to be executed asynchronously in the background. These instructions may include, but are not limited to: program guide update instructions (such as "update the program list"), usage data reporting instructions (such as "report usage status"), or history maintenance instructions (such as "clear expired reminders").
[0060] For the second type of reminder task, the memo application can call a system-level background task scheduler such as WorkManager provided by the operating system. WorkManager is suitable for managing background tasks that require intelligent scheduling. It allows setting preset conditions for the second type of reminder task that are consistent with the TV's operating environment, and the system can execute this type of task when the preset conditions are met.
[0061] Preset conditions may include: the smart TV being connected to the network and / or the smart TV being idle.
[0062] In practice, the memo application can encapsulate the second type of reminder task as a WorkRequest (e.g., OneTimeWorkRequest), add execution constraints to it, and then submit it to the WorkManager. The system will manage the execution of the task, triggering it when the conditions are met and the user experience is not affected.
[0063] In this embodiment, when the voice recognition result includes a program auxiliary management instruction, a second type of reminder task is generated based on the program auxiliary management instruction. The second type of reminder task is a background task that allows for delay or needs to be triggered under preset conditions. The system-level background task scheduler is invoked to execute the second type of reminder task, which is suitable for non-real-time reminders, can effectively reduce interference with the user experience of the foreground, and reduce device power consumption.
[0064] In some embodiments, the method may further include: Based on the network connection status of the smart TV, system load, and / or whether the second type of reminder task is a repetitive event, optimize the scheduling timing of the second type of reminder task.
[0065] In this embodiment, the task scheduler can dynamically determine the optimal triggering time based on the smart TV's current network connection status, system load, and the task's own attributes (such as whether it is a recurring event). For example, for reminder tasks that require network access, the system will wait until the set network conditions (such as connecting to Wi-Fi) are met before triggering execution. For recurring events (such as daily automatic program schedule updates), the task scheduler can batch process multiple background jobs and schedule them to be executed in the system's expected idle window, thereby effectively reducing the number of system wake-ups and realizing intelligent scheduling of background tasks.
[0066] For recurring events (such as daily program schedule updates), WorkManager or the underlying JobScheduler can perform batch processing optimizations to reduce the number of system wake-ups.
[0067] Next, combined Figure 5 The present application provides an exemplary description of the television program reminder method provided in its embodiments.
[0068] This application provides a method for reminding users of television programs, applied to a smart TV. The smart TV has a memo application configured as a system application. As a system application, the memo application has high-priority background persistence capabilities and permissions to call system services, thereby ensuring the reliable triggering of the timed reminder function. Figure 4 As shown, the method includes the following steps: Step S201: Provide an interactive interface and receive voice input.
[0069] For example, in response to a user action, the memo application launches and displays its main interface. When a trigger action on the voice input control in the main interface is detected, the memo application displays a voice input interface. In the voice input interface, the memo application launches the audio acquisition module to begin receiving the user's voice input, such as "Remind me to watch the basketball game on CCTV5 tomorrow night at 8 pm," and simultaneously displays a recording status indicator and a real-time audio waveform on the interface.
[0070] Step S202: Convert the speech and generate the memo content.
[0071] For example, in response to a user's command to stop recording, the memo application stops audio acquisition and invokes a speech recognition service to convert the acquired speech data into text. The memo application automatically generates a new memo and fills the converted text into the memo's editing / viewing interface.
[0072] Step S203: Edit content and set reminders.
[0073] In response to the user's setting of a reminder time (which can be automatically parsed and filled in directly from the voice text, or set manually by the user), the memo application stores the memo containing the complete content and reminder time in the local database and simultaneously generates a structured reminder task.
[0074] As a system application, the Memo app registers reminder tasks with the operating system's unified task scheduling center via the system API and uses system application permissions to persistently save task information to ensure that tasks are not lost after the device restarts.
[0075] Optionally, the reminder task can be a first-type reminder task, which includes at least: a unique task identifier, an associated memo ID, a preset reminder timestamp, and a task status.
[0076] Step S204: Monitor the time and trigger an alert.
[0077] The Notes app's background service runs continuously, monitoring the current system time. When the current time matches the preset reminder time of any saved note, the Notes app triggers the reminder process, creating and displaying the reminder notification interface.
[0078] Step S205: Process user feedback on the reminder.
[0079] In the notification interface, the memo application responds to the user's selection and determines the subsequent process. For example, if the user selects "View Details", the memo application will jump from the current interface to the details viewing interface of the corresponding memo; if the user selects "Turn Off Notification", the memo application will terminate the current notification process and close the notification interface. Simultaneously, the status of the first type of reminder task associated with the reminder will be updated to canceled or invalid, so as to release the system scheduling resources occupied by the first type of reminder task.
[0080] The TV program reminder solution provided in this application, by means of a memo application configured as a system application on a smart TV, can meet the reminder needs of users in TV scenarios through intelligent reminder services, bring TV users a more immersive and personalized interactive experience, and improve the friendliness of human-computer interaction.
[0081] The various embodiments or implementation methods described in this specification are presented in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
[0082] This application also provides a TV program reminder device for use on a smart TV, wherein the smart TV has a memo application configured as a system application, such as... Figure 6 As shown, the TV program reminder device 100 includes: The voice acquisition module 101 is used to receive voice data input by the user through the memo application; The recognition processing module 102 is used to recognize and semantically analyze the speech data to obtain speech recognition results; The task generation module 103 is used to determine the target TV program information and the corresponding target playback time when the speech recognition result contains reminder settings information for watching TV programs by the user, and to generate a first type of reminder task based on the target TV program information and the target playback time. The program reminder module 104 is used to call system services to execute the first type of reminder task based on the system application permissions of the memo application, so as to trigger a reminder notification corresponding to the target TV program information at the target playback time.
[0083] In some embodiments, the identification processing module 102 is configured to: Based on the current network connection status of the smart TV, the voice data is routed to either a local voice recognition service or a cloud-based online voice recognition service. The speech data is processed by the selected speech recognition service to obtain the speech recognition result.
[0084] In some embodiments, the program reminder module 104 is configured to: Based on the system application permissions of the memo application, the system-level timer interface is invoked to execute the first type of reminder task.
[0085] In some embodiments, the task generation module 103 is further configured to: When the speech recognition result includes a program auxiliary management instruction, a second type of reminder task is generated based on the program auxiliary management instruction. The second type of reminder task is a background task that allows delay or needs to be triggered under preset conditions. The program reminder module 104 is also used for: The second type of reminder task is executed by calling the system-level background task scheduler.
[0086] In some embodiments, the program reminder module 104 is further configured to: Based on the network connection status of the smart TV, system load, and / or whether the second type of reminder task is a repetitive event, optimize the scheduling timing of the second type of reminder task.
[0087] In some embodiments, the memo application is configured in its configuration manifest to share the same user ID with the operating system of the smart TV and has system signing permissions.
[0088] In some embodiments, the memo application uses the same key as the smart TV's operating system for signature verification.
[0089] The TV program reminder device provided in this application belongs to the same concept as the TV program reminder method provided in the above-mentioned embodiments of this application. It can execute the TV program reminder method provided in any of the above-mentioned embodiments of this application and has the corresponding functional modules and beneficial effects for executing the TV program reminder method. Technical details not described in detail in this embodiment can be found in the specific implementation of the TV program reminder method provided in the above-mentioned embodiments of this application, and will not be repeated here.
[0090] This application also provides a smart TV, including a processor, which is configured to invoke instructions to cause the smart TV to implement the steps of the TV program reminder method provided in any of the foregoing embodiments.
[0091] This application also provides a computer-readable storage medium storing an executable program thereon, which, when executed by a processor, implements the steps of the TV program reminder method provided in any of the foregoing embodiments.
[0092] For ease of understanding, the following focuses on explaining the terminology used in this embodiment: In this application embodiment, the processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction read and execute capabilities, such as a Central Processing Unit (CPU), a microprocessor, a Graphics Processing Unit (GPU) (which can be understood as a type of microprocessor), or a Digital Signal Processor (DSP). In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. The logical relationships of the aforementioned hardware circuits are fixed or reconfigurable. For example, the processor is a hardware circuit implemented using an Application-Specific Integrated Circuit (ASIC) or a Programmable Logic Device (PLD), such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units or modules. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a Neural Network Processing Unit (NPU), a Tensor Processing Unit (TPU), a Deep Learning Processing Unit (DPU), etc.
[0093] The computer-readable storage medium provided in this embodiment can execute the TV program reminder method of the above embodiment. Its implementation principle and technical effect are similar to those of the above embodiment, and will not be repeated here.
[0094] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0095] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in an electronic device or a host device.
[0096] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0097] The various embodiments or implementation methods described in this specification are presented in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
[0098] In the description of this specification, references to "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0099] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.< / manifest>
Claims
1. A method for reminding users of television programs, characterized in that, Applied to a smart TV, the smart TV having a memo application configured as a system application, the method includes: The memo application receives voice data input by the user. The speech data is then subjected to recognition and semantic analysis to obtain speech recognition results; When the speech recognition result contains reminder settings for watching TV programs by the user, the target TV program information and the corresponding target playback time are determined. Based on the target TV program information and the target playback time, a first type of reminder task is generated; Based on the system application permissions of the memo application, the system service is invoked to execute the first type of reminder task, so as to trigger a reminder notification corresponding to the target TV program information at the target playback time.
2. The television program reminder method according to claim 1, characterized in that, The process of recognizing and semantically analyzing the speech data to obtain speech recognition results includes: Based on the current network connection status of the smart TV, the voice data is routed to either a local voice recognition service or a cloud-based online voice recognition service. The speech data is processed by the selected speech recognition service to obtain the speech recognition result.
3. The television program reminder method according to claim 1, characterized in that, The system application permissions based on the memo application, calling system services to execute the first type of reminder task, include: Based on the system application permissions of the memo application, the system-level timer interface is invoked to execute the first type of reminder task.
4. The television program reminder method according to claim 1, characterized in that, The method further includes: When the speech recognition result includes a program auxiliary management instruction, a second type of reminder task is generated based on the program auxiliary management instruction. The second type of reminder task is a background task that allows delay or needs to be triggered under preset conditions. The second type of reminder task is executed by calling the system-level background task scheduler.
5. The television program reminder method according to claim 4, characterized in that, The method further includes: Based on the network connection status of the smart TV, system load, and / or whether the second type of reminder task is a repetitive event, optimize the scheduling timing of the second type of reminder task.
6. The television program reminder method according to any one of claims 1 to 5, characterized in that, The memo application is configured in its configuration manifest to share the same user ID with the operating system of the smart TV and has system signing permissions.
7. The television program reminder method according to claim 6, characterized in that, The memo application uses the same key as the smart TV's operating system for signature verification.
8. A television program reminder device, characterized in that, For use in smart TVs, the smart TVs having a memo application configured as a system application, the device includes: A voice acquisition module is used to receive voice data input by the user through the memo application; The recognition processing module is used to recognize and semantically analyze the speech data to obtain speech recognition results; The task generation module is used to determine the target TV program information and the corresponding target playback time when the speech recognition result contains reminder settings information for watching TV programs by the user, and to generate a first type of reminder task based on the target TV program information and the target playback time; The program reminder module is used to invoke system services to execute the first type of reminder task based on the system application permissions of the memo application, so as to trigger a reminder notification corresponding to the target TV program information at the target playback time.
9. A smart TV, characterized in that, Includes a processor, the processor being configured to invoke instructions to cause the smart TV to execute the steps of the TV program reminder method as described in any one of claims 1 to 7.
10. A storage medium, characterized in that, It stores an executable program that, when executed by a processor, implements the steps of the television program reminder method as described in any one of claims 1 to 7.