Color-blind color interface display method, device and storage medium
Abstract
Disclosed are an interface display method, a device and a storage medium. The method includes: obtaining a color-blind color of a current user and a current color replacement mode; determining a target color corresponding to the color-blind color when the current color replacement mode is a user-defined mode; and replacing the color-blind color displayed on a display interface of a smart device with the target color when the display interface is activated, and displaying the target color on the display interface. The present application determines the color-blind color of the current user and replaces the color-blind color with the target color which is determined in a specific color replacement mode, and finally no color-blind colors are displayed on the display interface, the viewing experience of the achromate is improved.
Claims
exact text as granted — not AI-modifiedThe invention claimed is:
1. An interface display method, comprising:
obtaining a color-blind color of a current user and a current color replacement mode;
determining a target color corresponding to the color-blind color when the current color replacement mode is a user-defined mode; and
replacing the color-blind color displayed on a display interface of a smart device with the target color when the display interface is activated, and displaying the target color on the display interface,
wherein the replacing the color-blind color displayed on the display interface of the smart device with the target color when the display interface is activated, and displaying the target color on the display interface comprises:
obtaining an initial picture quality parameter value corresponding to the color-blind color and a target picture quality parameter value corresponding to the target color; and
replacing the initial picture quality parameter value with the target picture quality parameter value when the display interface of the smart device is activated, and displaying the target color on the display interface,
wherein both the initial picture quality parameter value and the target picture quality parameter value comprise a preset parameter value of each color, the preset parameter value of each color is set within 0 to 100, and after the obtaining the color-blind color of the current user and the current color replacement mode, the method further comprises:
obtaining a preset color-blind color mapping relationship table when the current color replacement mode is a system-defined mode; and
querying the target color corresponding to the color-blind color according to the preset color-blind color mapping relationship table.
2. The interface display method according to claim 1 , wherein before the obtaining the color-blind color of the current user and the current color replacement mode, the method further comprises:
obtaining color-blind color input instructions; and
sending the color-blind color input instructions to a terminal device of the current user, and the terminal device determining the color-blind color of the current user based on the color-blind color input instructions and providing feedback.
3. The interface display method according to claim 2 , wherein the determining the target color corresponding to the color-blind color when the current color replacement mode is the user-defined mode comprises:
generating color-blind color adjustment instructions when the current color replacement mode is the user-defined mode;
sending the color-blind color adjustment instructions to a terminal device of the current user, and the terminal device determining a color-blind adjustment color of the current user based on the color-blind color adjustment instructions; and
determining the target color corresponding to the color-blind color based on the color-blind adjustment color.
4. The interface display method according to claim 1 , wherein before the obtaining the color-blind color of the current user and the current color replacement mode, the method further comprises:
obtaining color-blind color detection instructions;
sending the color-blind color detection instructions to a detection device of the current user, and the detection device performing a color-blind detection on the current user based on the color-blind color detection instructions to obtain a color-blind detection result; and
determining the color-blind color of the current user based on the color-blind detection result and providing feedback.
5. The interface display method according to claim 4 , wherein the determining the target color corresponding to the color-blind color when the current color replacement mode is the user-defined mode comprises:
generating color-blind color adjustment instructions when the current color replacement mode is the user-defined mode;
sending the color-blind color adjustment instructions to a terminal device of the current user, and the terminal device determining a color-blind adjustment color of the current user based on the color-blind color adjustment instructions; and
determining the target color corresponding to the color-blind color based on the color-blind adjustment color.
6. The interface display method according to claim 1 , wherein the determining the target color corresponding to the color-blind color when the current color replacement mode is the user-defined mode comprises:
generating color-blind color adjustment instructions when the current color replacement mode is the user-defined mode;
sending the color-blind color adjustment instructions to a terminal device of the current user, and the terminal device determining a color-blind adjustment color of the current user based on the color-blind color adjustment instructions; and
determining the target color corresponding to the color-blind color based on the color-blind adjustment color.
7. The interface display method according to claim 1 , wherein before the obtaining the preset color-blind color mapping relationship table when the current color replacement mode is the system-defined mode, the method further comprises:
obtaining historical color replacement data and historical users' color-blind colors; and
establishing the preset color-blind color mapping relationship table based on the historical color replacement data and the historical users' color-blind colors.
8. An interface display device, comprising: a memory, a processor and an interface display program stored on the memory and operable on the processor, wherein the interface display program is configured to implement the interface display method according to claim 1 .
9. A non-transitory storage medium storing an interface display program, wherein the interface display program, when executed by the processor, implements the interface display method according to claim 1 .Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.