Application inverse color dynamic configuration method and device and computer readable storage medium

A technology of dynamic configuration and application startup, applied in the direction of calculation, digital output to display device, user interface execution, etc., can solve the problem of color inversion failure, user experience needs to be improved, etc., to enhance user experience, avoid color inversion processing failure, The effect of improving integrity and stability

Pending Publication Date: 2021-07-23
NUBIA TECHNOLOGY CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above-mentioned solution cannot perform color inversion control with 100% accuracy, and occasionally there will be scenes where inversion fails, and the user experience needs to be improved

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Application inverse color dynamic configuration method and device and computer readable storage medium
  • Application inverse color dynamic configuration method and device and computer readable storage medium
  • Application inverse color dynamic configuration method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0071] image 3 It is a flow chart of the first embodiment of the dynamic configuration method using inverse color in the present invention. A method for dynamic configuration of application reversed colors, the method comprising:

[0072] S1. Monitor the setting database through the system service to obtain the name of the application package with the forced inversion switch enabled, and add the name of the application package to the preset custom list.

[0073] S2. When any application is started, read the custom list by loading interaction configuration attributes, and determine whether the application is included in the custom list.

[0074] S3. If the application is not included in the custom list, perform a normal rendering process for the application, and if the application is included in the custom list, judge whether the application is based on the system service in the background.

[0075] S4. If the application is not in the background, perform an inverse color r...

Embodiment 2

[0082] Figure 4 It is a flow chart of the second embodiment of the application reverse color dynamic configuration method of the present invention. Based on the above embodiment, the system service is used to monitor and set the database to obtain the application package name for enabling the forced reverse color switch, and the application package name Added to the preset custom list, including:

[0083] S11. Create a data table in the setting database for storing the application package name of the currently enabled mandatory inversion switch, and add an inversion helper class in the system service, and create a helper class in the helper class The custom list.

[0084] S12. Monitor the setting database through the system service, so as to keep the content of the custom list consistent with the content in the data table.

[0085] Optionally, in this embodiment, a data table is created in the setting database for saving the application package name of the currently enabled...

Embodiment 3

[0089] Figure 5 It is a flow chart of the third embodiment of the application reverse color dynamic configuration method of the present invention. Based on the above embodiment, the system service is used to monitor and set the database to obtain the application package name for enabling the forced inverse color switch, and the application package name Added to the preset list of customizations, also includes:

[0090] S13. Create a first communication interface for communication between the reverse color helper class and the activity management service.

[0091] S14. When the content of the custom list changes, notify the activity management service of the changed content through the first communication interface.

[0092] Optionally, in this embodiment, a first communication interface used for communication between the reverse color helper class and the activity management service is created. Among them, as described in the above example, add an aidl interface (AIDL: Andr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an application inverse color dynamic configuration method and device and a computer readable storage medium, and the method comprises the steps: when any application is started, reading a user-defined list through loading an interaction configuration attribute, and judging whether the application is contained in the user-defined list; if the application is contained in the user-defined list, judging whether the application is in a background or not through the system service; and if the application is not in the background, executing an inverse color rendering process for the application through a native interaction control, and if the application is in the background, refreshing the inverse color rendering process of the application through preset update configuration, so that inverse color configuration is completed when the application is switched to the foreground. According to the method, a humanized application inverse color dynamic configuration scheme is realized, the problem of inverse color processing failure possibly occurring in an original inverse color scheme is avoided, the functional integrity and stability are improved, and the user experience is enhanced.

Description

technical field [0001] The invention relates to the field of mobile communication, in particular to a dynamic configuration method, device and computer-readable storage medium for applying inverse color. Background technique [0002] In the prior art, with the continuous development of smart terminal equipment, the frequency and duration of use of the equipment by users are gradually increasing. In order to alleviate the impact of the equipment screen on the health of the user's eyes, the existing equipment system provides an anti-color based Dark mode. In order to realize the above display mode, Android Android natively provides a set of schemes to forcibly invert the colors of interactive controls, which can automatically forcibly invert the colors of applications that are not adapted to the dark mode. However, the above solution cannot perform color inversion control with 100% accuracy. Occasionally there will be scenes where inversion fails, and the user experience need...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/451G06F3/14
CPCG06F3/1407G06F9/451
Inventor 马群
Owner NUBIA TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products