A Smart Indicator Control Method and System Based on Spreadtrum Android 15 Platform
By adopting a layered architecture and intelligent lighting control method on the Android 15 platform, the multi-module conflicts and compatibility issues of indicator light control were resolved, achieving stable and personalized lighting management, and improving user experience and device efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 四川易景智能终端有限公司
- Filing Date
- 2026-04-23
- Publication Date
- 2026-06-30
AI Technical Summary
In existing technologies based on the Spreadtrum platform in Android 15, the indicator light control lacks unified scheduling and management, resulting in conflicts between multiple modules, chaotic display logic, poor consistency in user interaction experience, and an inability to adaptively adjust according to real usage scenarios, affecting user comfort and device power consumption. At the same time, it lacks compatibility with the new mechanisms of Android 15.
It adopts a layered architecture of driver layer, service layer and interface layer, centrally manages indicator light control logic, standardizes scene effects, and dynamically adjusts parameters based on ambient light and user habits to achieve intelligent lighting control. It also supports user customization and preemption and recovery of high-priority events.
It achieves unified scheduling of indicator light control, improves control stability and compatibility, meets users' personalized needs, reduces development and maintenance costs, optimizes device power consumption and interactive experience, and ensures that important reminders are not overridden.
Smart Images

Figure CN122318052A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of indicator light control technology, and more specifically, to a smart indicator light control method and system based on the Spreadtrum Android 15 platform. Background Technology
[0002] In Android smart terminals based on the Spreadtrum platform, indicator lights serve as crucial components for visualizing device status and providing human-computer interaction feedback, and are widely used in scenarios such as charging reminders, message notifications, and system alarms. With the official release of Android 15, it has undergone significant upgrades in background process management, dynamic permission management, privacy protection, and new interaction methods.
[0003] Most existing technologies employ a distributed control architecture, with indicator light driving logic and display strategies distributed across multiple modules such as the Framework, SystemUI, and third-party applications. This lack of unified scheduling and management easily leads to problems such as multi-module control conflicts and chaotic display logic. Furthermore, it results in high maintenance costs and significant expansion difficulties. Regarding scene adaptation, existing solutions only provide fixed lighting effects. There is a lack of standardized indicator light colors and flashing patterns for different applications and system states, preventing users from customizing parameters according to their usage habits and resulting in a poorly consistent user experience.
[0004] In terms of scene intelligence recognition, existing control strategies cannot adaptively adjust according to real-world usage scenarios such as sleep, reading, and device operation. They either remain constantly lit, consuming excessive power, or frequently trigger false alarms, affecting user rest and visual comfort, and increasing device power consumption. Furthermore, for high-priority events such as alarms and low battery warnings, existing solutions lack reliable priority preemption and automatic recovery mechanisms. Important notifications are easily obscured by ordinary lighting effects, posing security and usability risks. Simultaneously, existing solutions suffer from insufficient compatibility with Android 15's new mechanisms, exhibiting poor adaptability in areas such as process persistence, permission calls, and interactive linkages, making it difficult to achieve stable, efficient, and intelligent indicator light control on Spreadtrum platform hardware.
[0005] To address the aforementioned problems, a technical solution is provided. Summary of the Invention
[0006] In order to overcome the above-mentioned defects of the prior art, embodiments of the present invention provide a smart indicator light control method and system based on the Spreadtrum platform Android 15 to solve the problems mentioned in the background art.
[0007] To achieve the above objectives, the present invention provides the following technical solution:
[0008] The smart indicator light control method based on the Spreadtrum Android 15 platform includes the following steps:
[0009] Step S1: Design a layered architecture consisting of the driver layer, service layer, and interface layer, and centrally manage and control the logic.
[0010] Step S2: Standardize the scene effects for charging, notifications, and system status, and customize RGB, brightness, and flashing frequency;
[0011] Step S3: Dynamically adjust parameters based on ambient light and user habits;
[0012] Step S4: Determine the target scenario mode based on dynamically adjusted parameters and preset scenario priorities.
[0013] In a preferred embodiment, step S1 includes the following specific contents:
[0014] A three-layer control architecture was built, with the bottom layer based on the Spreadtrum platform GPIO driver framework to implement hardware-level switching, brightness and color control of indicator lights;
[0015] The middle layer consists of core services running in the SystemUI process, which uniformly receive and schedule all control requests;
[0016] The upper layer consists of standardized API interfaces, providing a unified entry point for the system and third-party applications, enabling centralized management of control logic.
[0017] By adopting the above technical solutions, unified scheduling of indicator light control logic can be achieved, avoiding conflicts between multiple modules, while reducing development and maintenance costs and improving control stability and hardware compatibility.
[0018] In a preferred embodiment, step S2 includes the following specific contents:
[0019] In the charging scenario, the preset lighting effects correspond to charging in progress, charging complete, and charging abnormality, respectively.
[0020] In notification scenarios, different types of notifications correspond to different colored flashing lights, and the flashing frequency is linked to the notification priority;
[0021] In system status scenarios, low battery, network abnormality, and other states correspond to preset lighting effects; users can also adjust the color, brightness, and flashing frequency of the indicator lights through system settings.
[0022] By adopting the above technical solutions, the status of the equipment can be intuitively identified, improving the efficiency of information transmission, while meeting the personalized needs of users and enhancing the flexibility of scenario adaptation.
[0023] In a preferred embodiment, when the indicator light is in the target working mode, if an alarm control command is received, the current mode of light performance will be interrupted and the alarm light strategy will be responded to first.
[0024] After the alarm command is executed, the system receives a confirmation signal, automatically restores the target working mode before the switch, and the lighting performance returns to its original state. The alarm mode has a higher priority than the target working mode.
[0025] By adopting the above technical solutions, high-priority alarm events are highlighted in a timely manner, preventing important reminders from being covered up, while maintaining the original user experience and achieving a balance between security and user experience.
[0026] In a preferred embodiment, step S3 includes the following specific contents:
[0027] If the target usage scenario is a sleep scenario, then determine whether the duration of the user's low interaction state is not less than the first preset duration in the indicator light control strategy;
[0028] If the duration is not less than the first preset duration, it is determined that the current scene meets the indicator light control conditions, and the sleep mode lighting strategy is triggered.
[0029] If the duration is less than the first preset duration, then determine whether the current scenario mode is sleep mode;
[0030] If in sleep mode, it will switch to the default scene mode and control the indicator lights according to the default lighting parameters.
[0031] By adopting the above technical solutions, the user's sleep state can be accurately identified, and a low-interference lighting strategy can be automatically adapted to avoid accidental triggering, thereby improving the comfort of nighttime use and reducing power consumption.
[0032] In a preferred embodiment, if the target usage scenario is a reading scenario, it is determined whether the duration of the stable user interaction state is not less than the second preset duration in the indicator light control strategy.
[0033] If the duration is not less than the second preset duration, it is determined that the current scene meets the indicator light control conditions, and the reading mode lighting strategy is triggered.
[0034] By adopting the above technical solutions, the system intelligently matches the user's deep reading state, provides soft and stable light feedback, reduces visual interference, and improves comfort during long-term use.
[0035] In a preferred embodiment, step S4 includes the following specific details:
[0036] If the target usage scenario is an operation scenario, then determine whether the position difference of the user's action state is not less than the difference threshold in the indicator light control strategy. The difference is the difference between the initial center position and the real-time center position of the action.
[0037] If the difference is not less than the difference threshold, it is determined that the current scene meets the indicator light control conditions, and the lighting strategy of the corresponding interactive scene is triggered.
[0038] By adopting the above technical solutions, accidental touches and valid operations can be effectively distinguished, frequent light switching can be avoided, and the indicator light feedback can be accurately linked with the user's actions, thereby improving the smoothness of interaction and the accuracy of response.
[0039] A smart indicator light control method based on the Spreadtrum Android 15 platform is used to implement any of the control methods described above, including a hierarchical management module, a scene effect module, a dynamic adjustment module, and a scene determination module; the modules are connected by signals.
[0040] The layered management module is used to design a layered architecture consisting of a driver layer, service layer, and interface layer, and to centrally manage and control the logic.
[0041] The scene effects module is used to standardize scene effects for charging, notifications, and system status, and allows for customization of RGB, brightness, and blink frequency;
[0042] The dynamic adjustment module is used to dynamically adjust parameters based on ambient light and user habits;
[0043] The scenario determination module is used to determine the target scenario mode based on dynamically adjusted parameters and preset scenario priorities.
[0044] The technical effects and advantages of the intelligent indicator light control method and system based on the Spreadtrum Android 15 platform of this invention are as follows:
[0045] 1. A three-layer architecture of driver layer, service layer and interface layer is adopted to realize unified management of indicator light control logic. It relies on Spreadtrum GPIO driver to realize precise hardware control, SystemUI core service unified scheduling to avoid conflicts between multiple modules, and standardized API to reduce development and maintenance costs, while improving control consistency, stability and system compatibility;
[0046] 2. Standardize the lighting configuration for charging, notifications, and system status, and support user-defined RGB, brightness, and flashing frequency. Combined with alarm mode priority preemption and automatic recovery mechanism after execution, it ensures timely reminders of important events without disrupting the original user experience, balancing visual uniformity and personalized needs.
[0047] 3. By determining the duration threshold of sleep and reading scenarios, the system accurately identifies the user's usage status and adaptively switches the lighting strategy to avoid accidental triggering and invalid light interference, thereby improving eye protection and user comfort, while also optimizing device power consumption and extending battery life.
[0048] 4. In the operation scenario, the difference in action position is used as the triggering basis to effectively distinguish between accidental touch and effective interaction, realize the precise linkage between indicator lights and user operation, improve the immediacy and smoothness of interactive feedback, and avoid the experience fragmentation caused by frequent switching.
[0049] 5. The overall solution is deeply adapted to the new features of Android 15 and the hardware characteristics of the Spreadtrum platform, and performs better in terms of process stability, permission compliance and interactive linkage. It has stronger scenario adaptability, scalability and engineering implementation value. Attached Figure Description
[0050] Figure 1 This is a flowchart illustrating the intelligent indicator light control method and system based on the Spreadtrum platform Android 15 of the present invention.
[0051] Figure 2 This is a schematic diagram of the intelligent indicator light control method and system based on the Spreadtrum Android 15 platform of the present invention. Detailed Implementation
[0052] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0053] Example 1
[0054] This invention relates to a smart indicator light control method and system based on the Spreadtrum Android 15 platform.
[0055] Figure 1 The present invention provides a smart indicator light control method based on the Spreadtrum Android 15 platform, which includes the following steps:
[0056] Step S1: Design a layered architecture consisting of the driver layer, service layer, and interface layer, and centrally manage and control the logic.
[0057] Step S2: Standardize the scene effects for charging, notifications, and system status, and customize RGB, brightness, and flashing frequency;
[0058] Step S3: Dynamically adjust parameters based on ambient light and user habits;
[0059] Step S4: Determine the target scenario mode based on dynamically adjusted parameters and preset scenario priorities.
[0060] Step S1 includes the following specific contents:
[0061] A three-layer control architecture was built, with the bottom layer based on the Spreadtrum platform GPIO driver framework to implement hardware-level switching, brightness and color control of indicator lights;
[0062] The middle layer consists of core services running in the SystemUI process, which uniformly receive and schedule all control requests;
[0063] The upper layer consists of standardized API interfaces, providing a unified entry point for the system and third-party applications, enabling centralized management of control logic.
[0064] By constructing a three-layer control architecture consisting of a bottom-level driver layer, a middle-level service layer, and an upper-level interface layer, centralized management of indicator light control logic is achieved. The bottom layer relies on the Spreadtrum platform's GPIO driver framework to directly interact with the hardware, enabling precise control of indicator light on / off, PWM brightness adjustment, and RGB color switching. The middle layer, as a core service running within the SystemUI process, uniformly receives and schedules all control requests from system modules and third-party applications, preventing indicator light display chaos caused by multiple modules controlling simultaneously and ensuring the orderly execution of control commands. The upper layer provides standardized API interfaces, offering a unified and concise calling entry point for system applications and third-party applications, shielding them from underlying hardware differences and control details, lowering the application development threshold, and ensuring control security through interface permission management. This overall architecture simplifies the system control process, reduces maintenance costs, separates control logic from business logic, and ensures consistent indicator light control across different scenarios.
[0065] Step S2 includes the following specific contents:
[0066] In the charging scenario, the preset lighting effects correspond to charging in progress, charging complete, and charging abnormality, respectively.
[0067] In notification scenarios, different types of notifications correspond to different colored flashing lights, and the flashing frequency is linked to the notification priority;
[0068] In system status scenarios, low battery, network abnormality, and other states correspond to preset lighting effects; users can also adjust the color, brightness, and flashing frequency of the indicator lights through system settings.
[0069] When the indicator light is in the target working mode, if an alarm control command is received, the current lighting performance will be interrupted and the alarm lighting strategy will be responded to first.
[0070] After the alarm command is executed, the system receives a confirmation signal, automatically restores the target working mode before the switch, and the lighting performance returns to its original state. The alarm mode has a higher priority than the target working mode.
[0071] By pre-setting differentiated lighting effects for three core scenarios—charging, notifications, and system status—and linking notification flashing frequency with priority, users can intuitively and quickly identify device status, avoiding cognitive confusion caused by inconsistent lighting effects in different applications / scenarios. The introduction of alarm mode priority and interruption recovery control methods ensures that high-priority events such as low battery and abnormal alarms are promptly perceived by users, preventing them from missing important reminders due to being overshadowed by other lighting effects. Meanwhile, the open custom configuration function provides users with flexible adjustment space, meeting the personalized needs of different users for light brightness and color, and adapting to special usage scenarios such as nighttime and low light, further improving the adaptability of indicator light control.
[0072] Step S3 includes the following specific contents:
[0073] If the target usage scenario is a sleep scenario, then determine whether the duration of the user's low interaction state is not less than the first preset duration in the indicator light control strategy;
[0074] If the duration is not less than the first preset duration, it is determined that the current scene meets the indicator light control conditions, and the sleep mode lighting strategy is triggered.
[0075] If the duration is less than the first preset duration, then determine whether the current scenario mode is sleep mode;
[0076] If in sleep mode, it will switch to the default scene mode and control the indicator lights according to the default lighting parameters.
[0077] If the target usage scenario is a reading scenario, then determine whether the duration of the stable user interaction state is not less than the second preset duration in the indicator light control strategy;
[0078] If the duration is not less than the second preset duration, it is determined that the current scene meets the indicator light control conditions, and the reading mode lighting strategy is triggered.
[0079] By employing a duration threshold judgment and adaptive mode switching control method for sleep and reading scenarios, the system can accurately identify the user's low-interaction and stable interaction states, avoiding accidental triggering of lighting strategies due to brief periods of inactivity or temporary browsing. When the user enters a deep usage state, the system can automatically adapt the lighting parameters to sleep and reading modes, achieving interference-free visual feedback. At the same time, through mode rollback verification in sleep scenarios, it prevents abnormal lighting performance due to scene misjudgment. This ensures that the indicator light control meets the user's usage scenario needs while avoiding unnecessary lighting interference, thus improving the overall smoothness of the user experience.
[0080] Step S4 includes the following specific contents:
[0081] If the target usage scenario is an operation scenario, then determine whether the position difference of the user's action state is not less than the difference threshold in the indicator light control strategy. The difference is the difference between the initial center position and the real-time center position of the action.
[0082] If the difference is not less than the difference threshold, it is determined that the current scene meets the indicator light control conditions, and the lighting strategy of the corresponding interactive scene is triggered.
[0083] Using the difference between the initial center position and the real-time center position of the action as the basis for judgment, it effectively distinguishes between minor accidental touches and valid interactive actions by the user, avoiding frequent switching of lighting strategies caused by accidental triggering; when the difference reaches a preset threshold, it automatically triggers the lighting strategy corresponding to the interactive scenario, improving the immediacy of interactive feedback, and can dynamically adjust the indicator light performance according to the user's operation status, so that the lighting feedback is deeply adapted to the user behavior, enhancing the interactive experience during operation, avoiding control interference caused by invalid actions, and realizing precise and efficient linkage between indicator light control and user operation scenarios.
[0084] Example 2
[0085] Figure 2 This invention provides a smart indicator light control method based on the Spreadtrum Android 15 platform, used to implement the control method described above, including a hierarchical management module, a scene effect module, a dynamic adjustment module, and a scene determination module; the modules are connected by signals.
[0086] The layered management module is used to design a layered architecture consisting of a driver layer, service layer, and interface layer, and to centrally manage and control the logic.
[0087] The scene effects module is used to standardize scene effects for charging, notifications, and system status, and allows for customization of RGB, brightness, and blink frequency;
[0088] The dynamic adjustment module is used to dynamically adjust parameters based on ambient light and user habits;
[0089] The scenario determination module is used to determine the target scenario mode based on dynamically adjusted parameters and preset scenario priorities.
[0090] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0091] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A smart indicator light control method based on the Spreadtrum Android 15 platform, characterized in that, Includes the following steps: Step S1: Design a layered architecture consisting of the driver layer, service layer, and interface layer, and centrally manage and control the logic. Step S2: Standardize the scene effects for charging, notifications, and system status, and customize RGB, brightness, and flashing frequency; Step S3: Dynamically adjust parameters based on ambient light and user habits; Step S4: Determine the target scenario mode based on dynamically adjusted parameters and preset scenario priorities.
2. The intelligent indicator light control method based on the Spreadtrum Android 15 platform according to claim 1, characterized in that: Step S1 includes the following specific contents: A three-layer control architecture was built, with the bottom layer based on the Spreadtrum platform GPIO driver framework to implement hardware-level switching, brightness and color control of indicator lights; The middle layer consists of core services running in the SystemUI process, which uniformly receive and schedule all control requests; The upper layer consists of standardized API interfaces, providing a unified entry point for the system and third-party applications, enabling centralized management of control logic.
3. The intelligent indicator light control method based on the Spreadtrum platform Android 15 according to claim 2, characterized in that: Step S2 includes the following specific contents: In the charging scenario, the preset lighting effects correspond to charging in progress, charging complete, and charging abnormality, respectively. In notification scenarios, different types of notifications correspond to different colored flashing lights, and the flashing frequency is linked to the notification priority; In system status scenarios, low battery, network abnormality, and other states correspond to preset lighting effects; users can also adjust the color, brightness, and flashing frequency of the indicator lights through system settings.
4. The intelligent indicator light control method based on the Spreadtrum platform Android 15 according to claim 3, characterized in that: When the indicator light is in the target working mode, if an alarm control command is received, the current lighting performance will be interrupted and the alarm lighting strategy will be responded to first. After the alarm command is executed, the system receives a confirmation signal, automatically restores the target working mode before the switch, and the lighting performance returns to its original state. The alarm mode has a higher priority than the target working mode.
5. The intelligent indicator light control method based on the Spreadtrum platform Android 15 according to claim 4, characterized in that: Step S3 includes the following specific contents: If the target usage scenario is a sleep scenario, then determine whether the duration of the user's low interaction state is not less than the first preset duration in the indicator light control strategy; If the duration is not less than the first preset duration, it is determined that the current scene meets the indicator light control conditions, and the sleep mode lighting strategy is triggered. If the duration is less than the first preset duration, then determine whether the current scenario mode is sleep mode; If in sleep mode, it will switch to the default scene mode and control the indicator lights according to the default lighting parameters.
6. The intelligent indicator light control method based on the Spreadtrum platform Android 15 according to claim 5, characterized in that: If the target usage scenario is a reading scenario, then determine whether the duration of the stable user interaction state is not less than the second preset duration in the indicator light control strategy; If the duration is not less than the second preset duration, it is determined that the current scene meets the indicator light control conditions, and the reading mode lighting strategy is triggered.
7. The intelligent indicator light control method based on the Spreadtrum platform Android 15 according to claim 6, characterized in that: Step S4 includes the following specific contents: If the target usage scenario is an operation scenario, then determine whether the position difference of the user's action state is not less than the difference threshold in the indicator light control strategy. The difference is the difference between the initial center position and the real-time center position of the action. If the difference is not less than the difference threshold, it is determined that the current scene meets the indicator light control conditions, and the lighting strategy of the corresponding interactive scene is triggered.
8. A smart indicator light control system based on the Spreadtrum Android 15 platform, used to implement the control method according to any one of claims 1-7, comprising a hierarchical management module, a scene effect module, a dynamic adjustment module, and a scene determination module; the modules are connected by signals. The layered management module is used to design a layered architecture consisting of a driver layer, service layer, and interface layer, and to centrally manage and control the logic. The scene effects module is used to standardize scene effects for charging, notifications, and system status, and allows for customization of RGB, brightness, and blink frequency; The dynamic adjustment module is used to dynamically adjust parameters based on ambient light and user habits; The scenario determination module is used to determine the target scenario mode based on dynamically adjusted parameters and preset scenario priorities.