Display color adjustment method, device, electronic device and storage medium
Through the color testing interface and color block arrangement order adjustment, the problem of the color display of electronic devices being unable to be personalized, and the user experience and color recognition capabilities are improved.
Patent Information
- Application Number
- CN202011450059.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-09
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2040-12-09
AI Technical Summary
Different users have different senses of the same color display for electronic devices, which leads to the fact that the unified display color cannot meet personalized needs and affects the user experience.
Provide a color testing interface to fill the controls to be filled with the target number of color blocks, and adjust the display color of the electronic device based on the arrangement order and preset order relationship of the color blocks, so that the colors of adjacent color blocks are the closest to achieve personalized display.
The color test interface is used to sort similar colors, adjust the display color according to the test results, improve user experience, meet personalized needs, and improve color recognition capabilities.
Smart Images

Figure CN114610219B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and more specifically, to a method and device for adjusting display color, an electronic device, and a storage medium. Background Art
[0002] With the rapid development of image display technology, more and more electronic devices are beginning to improve the color display effect to enhance the user experience. However, since different users have different recognition of specific colors, different users have different perceptions of the same color displayed by electronic devices. Currently, electronic devices use a unified display color for all users, which is not personalized and leads to poor user experience. Summary of the invention
[0003] In view of the above problems, the present application proposes a display color adjustment method, device, electronic device and storage medium to solve the above problems.
[0004] In a first aspect, an embodiment of the present application provides a method for adjusting display color, which is applied to an electronic device, and the method includes: displaying a color test interface, the color test interface including a first area and a second area, the first area displaying a target number of color blocks, and the second area displaying a target number of controls to be filled, each color block being used to fill a control to be filled; filling the color blocks into the controls to be filled in response to a selection operation acting on the color blocks; when it is detected that the target number of color blocks are all filled into the target number of controls to be filled, adjusting the display color of the electronic device based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and a preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are closest.
[0005] In a second aspect, an embodiment of the present application provides a display color adjustment device, which is applied to an electronic device, and the device includes: a color test interface display module, which is used to display a color test interface, the color test interface includes a first area and a second area, the first area displays a target number of color blocks, and the second area displays a target number of controls to be filled, each color block is used to fill a control to be filled; a color block moving module, which is used to respond to a selection operation on the color block and fill the color block into the control to be filled; a display color adjustment module, which is used to adjust the display color of the electronic device based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and a preset arrangement order when it is detected that the target number of color blocks are all filled into the target number of controls to be filled, wherein the colors of adjacent color blocks formed by the target number of color blocks under the preset arrangement order are closest.
[0006] In a third aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the above method.
[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which program code is stored, and the program code can be called by a processor to execute the above method.
[0008] The display color adjustment method, device, electronic device and storage medium provided in the embodiments of the present application display a color test interface, wherein the color test interface includes a first area and a second area, wherein the first area displays a target number of color blocks, and the second area displays a target number of controls to be filled, each color block is used to fill a control to be filled, and in response to a selection operation on the color block, the color block is filled into the control to be filled, and when it is detected that the target number of color blocks are all filled into the target number of controls to be filled, the display color of the electronic device is adjusted based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and a preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are the closest, thereby providing a color test interface to perform a sorting test of similar colors, and adjusting the display color of the electronic device according to the test results, so as to realize personalization of the display color and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0010] Figure 1 A schematic diagram showing a flow chart of a method for adjusting display color provided by an embodiment of the present application;
[0011] Figure 2 A first interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0012] Figure 3 A second interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0013] Figure 4 A schematic flow chart of a method for adjusting display color provided in yet another embodiment of the present application is shown;
[0014] Figure 5 A third interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0015] Figure 6 A schematic flow chart of a method for adjusting display color provided in yet another embodiment of the present application is shown;
[0016] Figure 7 This application shows Figure 6 The flowchart of step S330 of the method for adjusting the display color is shown;
[0017] Figure 8 A fourth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0018] Fig. 9 A fifth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0019] Fig.10 This application shows Figure 6 The flowchart of step S330 of the method for adjusting the display color is shown;
[0020] Fig.11 A schematic flow chart of a method for adjusting display color provided in another embodiment of the present application is shown;
[0021] Fig.12 A sixth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0022] Fig.13 A seventh interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0023] Fig.14 A schematic flow chart of a method for adjusting display color provided in yet another embodiment of the present application is shown;
[0024] Fig.15 An eighth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0025] Fig.16 A ninth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0026] Fig.17 A tenth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0027] Fig.18 An eleventh interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0028] Fig.19 A twelfth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0029] Fig. 20 The thirteenth interface schematic diagram of the electronic device provided in the embodiment of the present application is shown;
[0030] Fig.21 A fourteenth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0031] Fig. 22 A fifteenth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0032] Fig.23 A sixteenth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0033] Fig.24 A seventeenth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0034] Fig.25 An eighteenth interface schematic diagram of an electronic device provided in an embodiment of the present application is shown;
[0035] Fig.26 A module block diagram of a display color adjustment device provided in an embodiment of the present application is shown;
[0036] Fig. 27 A block diagram of an electronic device according to an embodiment of the present application for executing a display color adjustment method according to an embodiment of the present application is shown;
[0037] Fig.28 A storage unit for storing or carrying a program code for implementing a display color adjustment method according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0039] Color vision is an important part of human vision, which refers to the ability to distinguish and identify colors. Since the perception and reaction of color is a complex system full of infinite mysteries, if there is a problem in any link in the process of color discrimination, the ability of the human eye to distinguish colors will be impaired. For example, if the color vision is weak, it is called color deficiency, which usually includes red deficiency, green deficiency, etc. Since different users have different recognition of specific colors, different users have different perceptions of the same color displayed by electronic devices. At present, electronic devices use a unified display color for all users, which is not personalized, resulting in a poor user experience.
[0040] In view of the above problems, the inventors have discovered after long-term research and proposed the display color adjustment method, device, electronic device and storage medium provided in the embodiments of the present application, which provides a color test interface to perform a sorting test of similar colors and adjusts the display color of the electronic device according to the test results to achieve personalized display color and improve user experience. The specific display color adjustment method is described in detail in the subsequent embodiments.
[0041] See also Figure 1 , Figure 1 The flowchart of a method for adjusting display color provided by an embodiment of the present application is shown. The method for adjusting display color is used to perform a sorting test of similar colors by providing a color test interface, and adjust the display color of the electronic device according to the test result, so as to personalize the display color and improve the user experience. In a specific embodiment, the method for adjusting display color is applied to Fig.26 The display color adjustment device 200 and the electronic device 100 equipped with the display color adjustment device 200 are shown in FIG. Fig. 27 ). The following will take an electronic device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic device used in this embodiment can be a smart phone, a tablet computer, a wearable electronic device, etc., and no specific limitation is made here. Figure 1 The process shown is described in detail, and the method for adjusting the display color may specifically include the following steps:
[0042] Step S110: displaying a color test interface, the color test interface including a first area and a second area, the first area displays a target number of color blocks, the second area displays a target number of controls to be filled, and each color block is used to fill a control to be filled.
[0043] In this embodiment, when the user wants to enter the color test interface of the electronic device, firstly, it is necessary to send an instruction to the electronic device to instruct the electronic device to open and display the color test interface, wherein the instruction can be generated by the user touching the application icon corresponding to the color test interface set on the interface of the electronic device, or it can be generated by the user inputting a voice instruction to enter the color test interface in the electronic device, etc., which is not specifically limited here. As a method, the user can instruct the electronic device to enter and display the color test interface by clicking "Settings-Visual Enhancement" of the electronic device.
[0044] In some embodiments, the color test interface includes a first area and a second area, wherein the first area can be set above the second area, can be set below the second area, can be set to the left of the second area, can be set to the right of the second area, can be set around the second area to surround the second area, etc. Optionally, in this embodiment, the first area is set above the second area. Further, the size of the first area can be larger than the size of the second area, can be equal to the size of the second area, or can be smaller than the size of the second area. Optionally, in this embodiment, the size of the first area is larger than the size of the second area. Of course, there are other positional relationships and size relationships between the first area and the second area, which are not listed here.
[0045] In some embodiments, when the electronic device displays the color test interface, the touch screen can be calibrated to a uniform color, so that the brightness, color temperature, and color gamut of the touch screen are at the same level of capability to perform visual feature testing. For example, when the brightness, color temperature, and color gamut of the touch screen are at the same level of capability, the D15 test method (basic visual feature test method) or the Munsell test (professional visual feature test method) method with scientific theoretical support is selected to test the visual features of different users.
[0046] See also Figure 2 , Figure 2 FIG. 1 shows a first interface schematic diagram of an electronic device provided in an embodiment of the present application. Figure 2 As shown, in some embodiments, before the electronic device displays the color test interface, it can also display a color test transition interface, wherein the color test transition interface can include a "start" control, and when a touch operation acting on the "start" control is detected, the color test interface can be entered and displayed.
[0047] In some embodiments, the first area of the color test interface may display a target number of color blocks, and the second area may display a target number of controls to be filled, and each color block is used to fill a control to be filled. The shape of the color block and the shape of the control to be filled may be the same or different, which is not limited here.
[0048] Taking D15 as an example, the corresponding D15 detection scheme uses 16 color blocks for visual testing, which is the basic color chess test scheme. This part can qualitatively judge the user's visual ability, including visually impaired red blindness (or color weakness), green blindness (or color weakness), blue blindness (or color weakness), total color blindness, and normal users with medium vision. A scoring system is derived through weight analysis of the test results, and a set of exclusive color compensation schemes are given to users accordingly, giving people with disabilities the ability to distinguish colors and giving users with normal vision the ability to prefer colors. Therefore, when the D15 detection scheme is used, the first area can display 16 color blocks, and the second area can display 16 controls to be filled.
[0049] Taking Munsell as an example, a simplified version of the traditional 94-color Munsell test scheme is implemented, and 42 color chess pieces are selected to implement the test scheme on electronic equipment. This scheme is more professional than the D15 test scheme in terms of qualitative and quantitative capabilities, and the granularity of the test is more precise, so it is called a professional visual feature test. Therefore, when the Munsell test scheme is used, the first area can display 42 color blocks, and the second area can display 42 controls to be filled.
[0050] See also Figure 3 , Figure 3 FIG. 2 shows a second interface schematic diagram of an electronic device provided in an embodiment of the present application. Figure 3 As shown, taking the target number of color blocks as 16 color blocks and the target number of controls to be filled as 16 controls to be filled as an example, in some embodiments, the electronic device can display 16 color blocks A in the first area and 16 controls to be filled B in the second area, and one of the color blocks A1 among the 16 color blocks A has been filled into one of the controls B1 among the 16 controls B to be filled.
[0051] Step S120: In response to the selection operation on the color block, the color block is filled into the control to be filled.
[0052] In this embodiment, the electronic device can detect a selection operation on a color block during the process of displaying the color test interface, and fill the color block indicated by the selection operation into a corresponding control to be filled. In some embodiments, for a target number of color blocks, each time the electronic device detects a selection operation on any color block in the target number of color blocks, it can fill the color block indicated by the selection operation into a corresponding control to be filled. For example, the target number of color blocks may include a first color block, and the target number of controls to be filled may include a first control to be filled. In the process of displaying the color test interface, the electronic device can detect a selection operation on the first color block, and when the selection operation on the first color block is detected, the electronic device fills the first color block into the first control to be filled.
[0053] Wherein, assuming that the target number of color blocks includes color block 1, color block 2, color block 3 and color block 4, the target number of controls to be filled includes control 1 to be filled, control 2 to be filled, control 3 to be filled and control 4 to be filled, and the target number of controls to be filled are filled in the order of control 1 to be filled, control 2 to be filled, control 3 to be filled and control 4 to be filled, then, when the selection operation acting on color block 2 is first detected, color block 2 can be filled into control 1 to be filled, and then when the selection operation acting on color block 3 is detected, color block 3 can be filled into control 2 to be filled, and then when the selection operation acting on color block 1 is detected, color block 1 can be filled into control 3 to be filled, and finally when the selection operation acting on color block 4 is detected, color block 4 can be filled into control 4 to be filled. Thus, each time a selection operation acting on a color block is detected, a color block is filled into a control to be filled, and the above steps are repeated until the target number of color blocks are filled into the target number of controls to be filled.
[0054] As a method, in the process of filling the color block into the control to be filled, the current control to be filled can be determined from the target number of controls to be filled, and the current control to be filled can be highlighted so that the user knows the control to be filled corresponding to the currently selected color block. In some embodiments, in the process of filling the color block into the control to be filled, the current control to be filled can be determined from the target number of controls to be filled in sequence according to the arrangement order of the controls to be filled set by the electronic device, and the current control to be filled can be highlighted. In some embodiments, the unfilled control to be filled closest to the starting point among the target number of controls to be filled can be determined as the current control to be filled. As a method, the method of highlighting the current control to be filled can include: highlighting the current control to be filled, enlarging the display of the current control to be filled, flashing the display of the current control to be filled, etc., which is not limited here. For example, Figure 3 As shown, the current control to be filled B2 can be highlighted.
[0055] In some embodiments, the selection operation may include a click operation, a drag operation, etc., which are not limited here. Taking the selection operation as a click operation as an example, when the electronic device detects a click operation on the first color block, the first color block may be filled into the first control to be filled. Taking the selection operation as a drag operation as an example, when the electronic device detects a drag operation on the first color block, the first color block may be moved along the dragging track and filled into the first control to be filled.
[0056] In some embodiments, filling the color block into the control to be filled may include: moving the color block to the control to be filled and displaying it, and canceling the display of the color block in the first area; or, copying the color block to the control to be filled and displaying it, and keeping the color block displayed in the first area, etc., which is not limited here.
[0057] Step S130: When it is detected that the target number of color blocks are filled into the target number of controls to be filled, the display color of the electronic device is adjusted based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and the preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are closest.
[0058] In this embodiment, the electronic device can detect whether the target number of color blocks have all been filled into the target number of controls to be filled, wherein, if it is detected that the target number of color blocks have all been filled into the target number of controls to be filled, the arrangement order of the target number of color blocks on the target number of controls to be filled can be obtained. In some implementations, it can be detected whether the target number of controls to be filled have all been filled, and when it is detected that the target number of controls to be filled have all been filled, it can be determined that the target number of color blocks have all been filled into the target number of controls to be filled, otherwise, it can be determined that the target number of color blocks have not all been filled into the target number of controls to be filled.
[0059] As a way, when it is detected that some of the color blocks in the target number of color blocks are filled into some of the controls to be filled in the target number of controls to be filled, the arrangement order of the some of the color blocks on the some of the controls to be filled can be obtained. As another way, when it is detected that the target number of color blocks are all filled into the target number of controls to be filled, the arrangement order of the target number of color blocks on the target number of controls to be filled can be directly obtained. As a way, when it is detected that the target number of color blocks are all filled into the target number of controls to be filled, the "OK" control can be displayed, and when a touch operation acting on the "OK" control is detected, the arrangement order of the target number of color blocks on the target number of controls to be filled is obtained. Wherein, before the touch operation acting on the "OK" control is detected, the arrangement order of the target number of color blocks filled into the target number of controls to be filled can also be modified, for example, a touch operation acting on the first color block filled in the first control to be filled can also be received, and in response to the touch operation, the filling of the first color block on the first control to be filled is cancelled.
[0060] In some embodiments, in the process of filling a target number of color blocks into a target number of controls to be filled, if a cancel test operation acting on the color test interface is detected when filling part of the color blocks into part of the controls to be filled, the color test interface can be exited, which will not be repeated here.
[0061] In some embodiments, the electronic device may pre-set and store a preset arrangement order, which is used as a basis for determining the arrangement order of a target number of color blocks on a target number of controls to be filled. Therefore, in this embodiment, after obtaining the arrangement order, the arrangement order and the preset arrangement order may be compared to obtain the relationship between the arrangement order and the preset arrangement order, and based on the relationship between the arrangement order and the preset arrangement, the color of the electronic device may be adjusted.
[0062] In some embodiments, the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are closest. Therefore, when the colors of adjacent color blocks formed by the target number of color blocks in the arrangement order are closest, it can be considered that the arrangement order is consistent with the preset arrangement order, and the display color of the electronic device is adjusted in a manner corresponding to the consistency of the arrangement order and the preset arrangement order; when the colors of adjacent color blocks formed by the target number of color blocks in the arrangement order are not closest, it can be considered that the arrangement order is inconsistent with the preset arrangement order, and the display color of the electronic device is adjusted in a manner corresponding to the inconsistency of the arrangement order and the preset arrangement order.
[0063] For example, assuming that the target number of color blocks includes color block 1, color block 2, color block 3, color block 4 and color block 5, and the preset arrangement order is color block 1-color block 3-color block 5-color block 4-color block 1, that is, color block 3 is closest in color to color block 1 and color block 5, respectively, and color block 4 is closest in color to color block 5 and color block 1, respectively. When the arrangement order of color block 1, color block 2, color block 3, color block 4 and color block 5 is color block 1-color block 3-color block 5-color block 4-color block 1, it can be determined that the arrangement order is consistent with the preset arrangement order, otherwise, it can be determined that the arrangement order is inconsistent with the preset arrangement order.
[0064] An embodiment of the present application provides a method for adjusting display color, which displays a color test interface. The color test interface includes a first area and a second area. The first area displays a target number of color blocks, and the second area displays a target number of controls to be filled. Each color block is used to fill a control to be filled. In response to a selection operation on the color block, the color block is filled into the control to be filled. When it is detected that the target number of color blocks are all filled into the target number of controls to be filled, the display color of the electronic device is adjusted based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and a preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are the closest, so that a sorting test of similar colors is performed by providing a color test interface, and the display color of the electronic device is adjusted according to the test result to realize personalization of the display color and improve user experience.
[0065] See also Figure 4 , Figure 4 A flow chart of a method for adjusting display color provided by another embodiment of the present application is shown. The method is applied to the above electronic device. Figure 4 The process shown is described in detail. In this embodiment, the target number of color blocks includes a first color block, the target number of controls to be filled includes a first control to be filled, and the first control to be filled is filled with the first color block. The method for adjusting the display color may specifically include the following steps:
[0066] Step S210: displaying a color test interface, the color test interface including a first area and a second area, the first area displays a target number of color blocks, the second area displays a target number of controls to be filled, and each color block is used to fill a control to be filled.
[0067] Step S220: In response to the selection operation on the color block, the color block is filled into the control to be filled.
[0068] For the detailed description of step S210 to step S220, please refer to step S110 to step S120, which will not be repeated here.
[0069] Step S230: when a cancel operation on the first color block on the first to-be-filled control is detected, the first color block is canceled from being filled on the first to-be-filled control and the first to-be-filled control is kept in a filled-in state.
[0070] In some embodiments, after the first color block is filled into the first control to be filled, when a cancellation operation of the first color block on the first control to be filled is detected, the first color block can be cancelled on the first control to be filled, so as to provide the user with an opportunity to modify the filling of the color block. In some embodiments, the cancellation operation can include: a click operation, a drag operation, etc., which are not limited here.
[0071] In some embodiments, after the first color block is filled into the first control to be filled, when a cancel operation of the first color block acting on the first control to be filled is detected, the first color block is canceled from the first control to be filled, and the first control to be filled is kept in a display empty state. As a way, in the process of keeping the first control to be filled in a display empty state, the first control to be filled can be highlighted, for example, the first control to be filled can be highlighted, enlarged, or flashed, etc., which is not limited here.
[0072] See also Figure 5 , Figure 5 FIG. 2 shows a third interface schematic diagram of an electronic device provided in an embodiment of the present application. Figure 5 As shown, taking the target number of color blocks as 16 color blocks and the target number of controls to be filled as 16 controls to be filled as an example, in some embodiments, when the electronic device detects the cancellation operation of the first color block A3 acting on the first control to be filled B3, the filling is cancelled on the first control to be filled B3, and the first control to be filled B3 is kept in a display empty state. In addition, the first control to be filled B3 can also be highlighted.
[0073] Step S240: When it is detected that the target number of color blocks are filled into the target number of controls to be filled, the display color of the electronic device is adjusted based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and the preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are closest.
[0074] For the detailed description of step S240 to step S250, please refer to step S130 to step S140, which will not be repeated here.
[0075] Another embodiment of the present application provides a method for adjusting display color, which displays a color test interface. The color test interface includes a first area and a second area. The first area displays a target number of color blocks, and the second area displays a target number of controls to be filled. Each color block is used to fill a control to be filled. In response to a selection operation on the color block, the color block is filled into the control to be filled. When a cancel operation on the first color block on the first control to be filled is detected, the first color block is canceled from being filled in the first control to be filled and the first control to be filled is kept empty. When it is detected that the target number of color blocks are filled into the target number of controls to be filled, the display color of the electronic device is adjusted based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and a preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are closest. Compared to Figure 1 The display color adjustment method shown in the figure, when detecting a cancel operation on a color block on a control to be filled, this embodiment cancels the filling of the color block on the control to be filled and keeps the control to be filled in a filled state, so as to enhance the user's interactive experience.
[0076] See also Figure 6 , Figure 6 A flow chart of a method for adjusting display color provided by another embodiment of the present application is shown. The method is applied to the above electronic device. Figure 6 The process shown is described in detail. In this embodiment, the target number of color blocks includes a first color block, the target number of controls to be filled includes a first control to be filled, and the first control to be filled is filled with the first color block. The method for adjusting the display color may specifically include the following steps:
[0077] Step S310: displaying a color test interface, the color test interface including a first area and a second area, the first area displays a target number of color blocks, the second area displays a target number of controls to be filled, and each color block is used to fill a control to be filled.
[0078] Step S320: In response to the selection operation on the color block, the color block is filled into the control to be filled.
[0079] For the detailed description of step S310 to step S320, please refer to step S110 to step S120, which will not be repeated here.
[0080] Step S330: When a cancel operation on the first color block on the first control to be filled is detected, the first color block is moved from the first control to be filled to the first area, or the first color block is moved from the first control to be filled to the second control to be filled, wherein the second control to be filled is any other control to be filled among the target number of controls to be filled except the first control to be filled.
[0081] As one way, after the first color block is filled into the first control to be filled, when a cancel operation of the first color block acting on the first control to be filled is detected, the first color block can be moved from the first control to be filled to the first area. As another way, after the first color block is filled into the first control to be filled, when a cancel operation of the first color block acting on the first control to be filled is detected, the first color block can be moved from the first control to be filled to the second control to be filled, wherein the second control to be filled is any other control to be filled among the target number of controls to be filled except the first control to be filled.
[0082] In some embodiments, after the first color block is filled into the first control to be filled, when a click operation of the first color block on the first control to be filled is detected, the first color block can be moved from the first control to be filled to the first area. As a way, the first color block can be moved from the first control to be filled to the initial display position in the first area, or the first color block can be moved from the first control to be filled to any vacant position in the first area, etc., which is not specifically limited here.
[0083] See also Figure 7 , Figure 7 This application shows Figure 6 The flowchart of step S330 of the method for adjusting the display color is shown in FIG. Figure 7 The process shown is described in detail, and the method may specifically include the following steps:
[0084] Step S331: when a drag operation on a first color block on a first control to be filled is detected, a drag position corresponding to the drag operation is obtained.
[0085] In some embodiments, when a drag operation on the first color block on the first to-be-filled control is detected, a drag position corresponding to the drag operation may be obtained, wherein the drag position corresponding to the drag operation may be detected by a contact sensor or a pressure sensor provided on the touch screen.
[0086] In some embodiments, when a drag operation on a first color block on a first control to be filled is detected, the first color block may be highlighted, and when the drag operation on the first color block on the first control to be filled is detected to be ended, the first color block may be restored to normal display. For example, when a drag operation on a first color block on a first control to be filled is detected, the first color block may be highlighted, enlarged, or flashed, and when the drag operation on the first color block on the first control to be filled is detected to be ended, the highlighting, enlargement, or flashing of the first color block may be canceled, and this is not limited here.
[0087] See also Figure 8 , Figure 8 FIG. 4 shows a fourth interface schematic diagram of an electronic device provided in an embodiment of the present application. Figure 8 As shown, taking the target number of color blocks as 16 color blocks and the target number of controls to be filled as 16 controls to be filled as an example, when a drag operation of the first color block A3 acting on the first control to be filled B3 is detected, the first color block A3 can be enlarged and displayed.
[0088] See also Fig. 9 , Fig. 9 FIG. 5 shows a fifth interface schematic diagram of an electronic device provided in an embodiment of the present application. Fig. 9 As shown, taking the target number of color blocks as 16 color blocks and the target number of controls to be filled as 16 controls to be filled as an example, when it is detected that the drag operation of the first color block A3 acting on the first control to be filled B3 is ended, the first color block A3 can be restored to normal display.
[0089] Step S332: When the dragging position exceeds a preset range, the first color block is moved from the first control to be filled to the first area.
[0090] In some implementations, the electronic device may pre-set and store a preset range, which is used as a basis for determining the drag position. Therefore, in this embodiment, when obtaining the drag position corresponding to the drag operation, the drag position may be compared with the preset range to determine whether the drag position exceeds the preset range.
[0091] In some embodiments, when the drag position exceeds the preset range, the first color block can be moved from the first control to be filled to the first area. As a way, when the drag position exceeds the preset range and the drag operation ends, the first color block can be moved from the first control to be filled to the first area.
[0092] Step S333: When the dragging position does not exceed the preset range, the first color block is moved from the first control to be filled to the second control to be filled.
[0093] In some embodiments, when the drag position does not exceed a preset range, the first color block can be moved from the first control to be filled to the second control to be filled. As a way, when the drag position does not exceed a preset range and the drag operation ends, the first color block can be moved from the first control to be filled to the second control to be filled.
[0094] See also Fig.10 , Fig.10 This application shows Figure 6 The flowchart of step S333 of the method for adjusting the display color is shown in FIG. Fig.10 The process shown is described in detail, and the method may specifically include the following steps:
[0095] Step S3331: When the dragging position does not exceed a preset range, a control to be filled that is closest to the dragging position is determined from the target number of controls to be filled as the second control to be filled.
[0096] Step S3332: Move the first color block from the first control to be filled to the second control to be filled.
[0097] In this embodiment, when the drag position does not exceed the preset range, the control to be filled that is closest to the drag position can be determined from the target number of controls to be filled as the second control to be filled, and the first color block can be moved from the first control to be filled to the second control to be filled. In some embodiments, the position information of each control to be filled in the target number of controls to be filled can be obtained, and based on the position information of each control to be filled and the position information of the drag position, the control to be filled that is closest to the drag position can be determined from the target number of controls to be filled as the second control to be filled. For example, the position coordinates of each control to be filled in the target number of controls to be filled can be obtained, and based on the position coordinates of each control to be filled and the position coordinates of the drag position, the distance from the drag position to each control to be filled is calculated, and the control to be filled that is closest to the drag position can be determined from the target number of controls to be filled as the second control to be filled.
[0098] Step S340: When it is detected that the target number of color blocks are filled into the target number of controls to be filled, the display color of the electronic device is adjusted based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and the preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are closest.
[0099] For the detailed description of step S340, please refer to step S130, which will not be repeated here.
[0100] Yet another embodiment of the present application provides a method for adjusting display color, which displays a color test interface, wherein the color test interface includes a first area and a second area, wherein the first area displays a target number of color blocks, and the second area displays a target number of controls to be filled, wherein each color block is used to fill a control to be filled, and in response to a selection operation on a color block, the color block is filled into the control to be filled, and in the process of filling the target number of color blocks into the target number of controls to be filled, when a cancellation operation of the first color block acting on the first control to be filled is detected, the first color block is moved from the first control to be filled to the first area, or the first color block is moved from the first control to be filled to the second control to be filled, wherein the second control to be filled is any other control to be filled in the target number of controls to be filled except the first control to be filled, and when it is detected that the target number of color blocks are filled into the target number of controls to be filled, the display color of the electronic device is adjusted based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and the preset arrangement order, wherein the adjacent color blocks formed by the target number of color blocks in the preset arrangement order are the closest. Compared to Figure 1 The display color adjustment method shown in the figure, in this embodiment, when a cancellation operation of the color block acting on the control to be filled is detected, moves the color block to the first area or other controls to be filled, so as to enhance the user's interactive experience.
[0101] See also Fig.11 , Fig.11 A flow chart of a method for adjusting display color provided by another embodiment of the present application is shown. The method is applied to the above electronic device. Fig.11 The process shown is described in detail, and the method for adjusting the display color may specifically include the following steps:
[0102] Step S410: displaying a color test interface, the color test interface including a first area and a second area, the first area displays a target number of color blocks, the second area displays a target number of controls to be filled, and each color block is used to fill a control to be filled.
[0103] Step S420: In response to the selection operation on the color block, the color block is filled into the control to be filled.
[0104] For the detailed description of step S410 to step S420, please refer to step S110 to step S120, which will not be repeated here.
[0105] Step S430: When it is detected that the target number of color blocks are filled into the target number of controls to be filled, and when the arrangement order of the target number of color blocks on the target number of controls to be filled is consistent with the preset arrangement order, the attribute information of the user corresponding to the electronic device is obtained and the display color of the electronic device is adjusted based on the attribute information.
[0106] In some embodiments, when the arrangement order is consistent with the preset arrangement order, it indicates that the user has correctly arranged all the target number of color blocks, and the user has a strong ability to identify colors, and color preference compensation can be given to such users according to their preferences. Therefore, in this embodiment, when the arrangement order is consistent with the preset arrangement order, the attribute information of the user corresponding to the electronic device can be obtained, and the user's preferences can be determined based on the attribute information of the user, and the display color of the electronic device can be adjusted based on the user's preferences, so that the adjusted display color is more in line with the user's preferences.
[0107] In some implementations, the user's attribute information may include age, gender, region, activity range, etc., which are not limited here.
[0108] Step S440: When it is detected that the target number of color blocks are filled into the target number of controls to be filled, when the arrangement order of the target number of color blocks on the target number of controls to be filled is inconsistent with the preset arrangement order, a color block whose arrangement order is inconsistent with the preset arrangement order is determined from the target number of color blocks as the second color block, and the display color of the electronic device is adjusted based on the second color block.
[0109] In some embodiments, when the arrangement order is inconsistent with the preset arrangement order, it indicates that the user has not correctly arranged all the target number of color blocks, and the user's ability to recognize colors is weak. Color compensation can be given to such users based on their low vision. Therefore, in this embodiment, when the arrangement order is inconsistent with the preset arrangement order, a color block whose arrangement order is inconsistent with the preset arrangement order can be determined from the target number of color blocks as the second color block, and the display color of the electronic device can be adjusted based on the second color block. As a way, the second color block indicates that the user has made an error in sorting this color, and a weight analysis can be performed on the user's erroneous second color block and the number of second color blocks to obtain an analysis result, and the display color of the electronic device can be adjusted based on the analysis result.
[0110] Step S450: Displaying a target number of color blocks and highlighting the second color block.
[0111] In some embodiments, after the test result is obtained, the target number of color blocks may be displayed, and when there is a second color block in the target number of color blocks, the second color block may be highlighted. For example, the second color block may be highlighted, enlarged, or flashed, and the like are not limited here.
[0112] See also Fig.12 , Fig.12 FIG. 6 shows a sixth interface schematic diagram of an electronic device provided in an embodiment of the present application. Fig.12 As shown, taking the target number of color blocks being 16 color blocks and the target number of controls to be filled being 16 controls to be filled as an example, when the arrangement order is consistent with the preset arrangement order, the target number of color blocks A can be displayed normally after obtaining the test results.
[0113] See also Fig.13 , Fig.13 FIG. 7 shows a seventh interface schematic diagram of an electronic device provided in an embodiment of the present application. Fig.13 As shown, taking the target number of color blocks as 16 color blocks and the target number of controls to be filled as 16 controls to be filled as an example, when the arrangement order is inconsistent with the preset arrangement order, the target number of color blocks A can be displayed after obtaining the test results and the second color block A4 in the target number of color blocks A can be highlighted.
[0114] Another embodiment of the present application provides a method for adjusting display color, which displays a color test interface, wherein the color test interface includes a first area and a second area, wherein the first area displays a target number of color blocks, and the second area displays a target number of controls to be filled, wherein each color block is used to fill a control to be filled, and in response to a selection operation on a color block, the color block is filled into the control to be filled, and when it is detected that the target number of color blocks are all filled into the target number of controls to be filled, when the arrangement order of the target number of color blocks on the target number of controls to be filled is consistent with a preset arrangement order, the attribute information of the user corresponding to the electronic device is obtained and the display color of the electronic device is adjusted based on the attribute information, and when it is detected that the target number of color blocks are all filled into the target number of controls to be filled, when the arrangement order of the target number of color blocks on the target number of controls to be filled is inconsistent with the preset arrangement order, a color block whose arrangement order is inconsistent with the preset arrangement order is determined from the target number of color blocks as a second color block, and the display color of the electronic device is adjusted based on the second color block, and the target number of color blocks are displayed and the second color blocks are highlighted. Compared to Figure 1The method for adjusting the display color shown in the embodiment also performs different display color adjustments according to whether the arrangement order is consistent or inconsistent with the preset arrangement order to adapt to different users and enhance the user's sensory experience. In addition, the embodiment also highlights the color blocks with incorrect arrangement so that the user can intuitively see the color blocks with incorrect arrangement, thereby enhancing the user's interactive experience.
[0115] See also Fig.14 , Fig.14 A flow chart of a method for adjusting display color provided by yet another embodiment of the present application is shown. The method is applied to the above electronic device. Fig.14 The process shown is described in detail, and the method for adjusting the display color may specifically include the following steps:
[0116] Step S510: Display a color test selection interface, the color test selection interface including a first test selection control and a second test selection control, wherein the target number of color blocks corresponding to the test mode to which the first test selection control belongs is smaller than the target number of color blocks corresponding to the test mode to which the second test selection control belongs.
[0117] In this embodiment, the electronic device can display a color test selection interface, and the color test selection interface includes a first test selection control and a second test selection control, wherein the target number of color blocks corresponding to the test method to which the first selection test control belongs is smaller than the target number of color blocks corresponding to the test method to which the second test selection control belongs, so that the user can choose whether to perform color testing through the test method to which the first selection test control belongs or to perform color testing through the test method to which the second selection test control belongs.
[0118] In some embodiments, the test mode to which the first test selection control belongs may be a D15 test mode, in which case the test mode to which the first test selection control belongs corresponds to 16 color blocks; the test mode to which the second test selection control belongs may be a simplified version of the Munsell test mode, in which case the test mode to which the second test selection control belongs corresponds to 42 color blocks.
[0119] See also Fig.15 , Fig.15 FIG. 8 is a schematic diagram showing an eighth interface of an electronic device provided in an embodiment of the present application. Fig.15 As shown, the electronic device can display a color test selection interface, and the color test selection interface includes a first test selection control (basic visual feature test) and a second test selection control (professional visual feature test).
[0120] See also Fig.16 , Fig.16 FIG. 9 is a ninth interface diagram of an electronic device provided in an embodiment of the present application. Fig.16As shown, in some embodiments, before the electronic device displays the color test selection interface, it can also display a test selection transition interface, wherein the color selection transition interface can include a "visual enhancement" control, and when a touch operation acting on the "visual enhancement" control is detected, the color test selection interface can be entered and displayed.
[0121] Step S520: When a touch operation on the first test selection control is detected, a first color test interface is displayed.
[0122] In the process of displaying the color test selection interface, the electronic device can detect the touch operation on the first test selection control and the touch operation on the second test selection control. In this embodiment, when the touch operation on the first test selection control is detected, the first color test interface can be displayed. As a way, when the electronic device displays the first color test interface, since the target number of color blocks is small, the target number of color blocks can be displayed through the current interface corresponding to the first area, for example, 16 color blocks are displayed in the current interface of the first area.
[0123] Step S530: When a touch operation on the second test selection control is detected, a second color test interface is displayed.
[0124] In this embodiment, when a touch operation acting on the second test selection control is detected, a second color test interface can be displayed. As a method, when the electronic device displays the second color test interface, due to the large number of color blocks, the target number of color blocks can be displayed through multiple consecutive interfaces corresponding to the first area. At this time, each of the multiple consecutive interfaces displays a partial number of color blocks in the target number. For example, 42 color blocks are divided into 4 groups and displayed on 4 consecutive interfaces corresponding to the first area, and the operation method of each of the 4 groups is the same as the test method corresponding to the first test selection control.
[0125] See also Figure 17-Figure 23 , Fig.17 The tenth interface schematic diagram of the electronic device provided in the embodiment of the present application is shown. Fig.18 The eleventh interface schematic diagram of the electronic device provided in the embodiment of the present application is shown. Fig.19 The twelfth interface schematic diagram of the electronic device provided in the embodiment of the present application is shown. Fig. 20 The thirteenth interface schematic diagram of the electronic device provided in the embodiment of the present application is shown. Fig.21 The fourteenth interface schematic diagram of the electronic device provided in the embodiment of the present application is shown. Fig. 22 The fifteenth interface schematic diagram of the electronic device provided in the embodiment of the present application is shown. Fig.23A sixteenth interface schematic diagram of the electronic device provided in an embodiment of the present application is shown.
[0126] like Figure 17-Figure 23 As shown, taking the target number of color blocks as 42 color blocks and the target number of controls to be filled as 42 controls to be filled as an example, the 42 color blocks A are divided into 4 groups and the 42 controls to be filled are divided into 4 groups, and the 4 consecutive interfaces corresponding to the first area display 4 groups of color blocks and the 4 consecutive interfaces corresponding to the second area display 4 groups of controls to be filled. Figure 17-Figure 19 They are the first interface among 4 consecutive interfaces. Figure 20-21 They are the second interface among 4 consecutive interfaces. Fig. 22 This is the third interface among four consecutive interfaces. Fig.23 It is the fourth interface among four consecutive interfaces.
[0127] like Fig.17 As shown, in some embodiments, the electronic device can display part of the 42 color blocks A in the first interface, and display part of the 42 controls B to be filled in the second area, and can highlight the current control B2 to be filled.
[0128] like Fig.18 As shown, when a drag operation acting on the first color block A3 on the first to-be-filled control B3 is detected, the first color block A3 can be enlarged and displayed.
[0129] like Fig.19 As shown, when it is detected that the dragging operation of the first color block A3 acting on the first to-be-filled control B3 ends, the first color block A3 can be restored to normal display.
[0130] like Fig. 20 and Fig.21 As shown, in some embodiments, the electronic device can display part of the 42 color blocks A in the second interface, and display part of the 42 controls B to be filled in the second area, and can highlight the current control B2 to be filled.
[0131] like Fig. 22 As shown, in some embodiments, the electronic device can display part of the 42 color blocks A in the third interface, and display part of the to-be-filled controls B in the second area.
[0132] like Fig.23 As shown, in some embodiments, the electronic device can display part of the 42 color blocks A in the third interface, and display part of the to-be-filled controls B in the second area.
[0133] See also Fig.24 , Fig.24 FIG. 17 shows a schematic diagram of the seventeenth interface of the electronic device provided in the embodiment of the present application. Fig.24 As shown, taking the target number of color blocks being 42 color blocks and the target number of controls to be filled being 42 controls to be filled as an example, after all four groups are tested, when the arrangement order is consistent with the preset arrangement order, the target number of color blocks A can be displayed normally after obtaining the test results.
[0134] See also Fig.25 , Fig.25 FIG. 18 shows an eighteenth interface diagram of an electronic device provided in an embodiment of the present application. Fig.25 As shown, taking the target number of color blocks being 42 color blocks and the target number of controls to be filled being 42 controls to be filled as an example, after all 4 groups are tested, when the arrangement order is inconsistent with the preset arrangement order, the target number of color blocks A can be displayed after obtaining the test results and the second color block A4 in the target number of color blocks A can be highlighted.
[0135] Step S540: In response to the selection operation on the color block, fill the color block into the control to be filled.
[0136] Step S550: When it is detected that the target number of color blocks are filled into the target number of controls to be filled, the display color of the electronic device is adjusted based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and the preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are closest.
[0137] For the detailed description of step S540 to step S550, please refer to step S120 to step S130, which will not be repeated here.
[0138] Yet another embodiment of the present application provides a method for adjusting display colors, which displays a color test selection interface, wherein the color test selection interface includes a first test selection control and a second test selection control, wherein the target number of color blocks corresponding to the test mode to which the first test selection control belongs is smaller than the target number of color blocks corresponding to the test mode to which the second test selection control belongs, and when a touch operation on the first test selection control is detected, the first color test interface is displayed, and when a touch operation on the second test selection control is detected, the second color test interface is displayed, and in response to the selection operation on the color block, the color block is filled into the control to be filled, and when it is detected that the target number of color blocks are all filled into the target number of controls to be filled, the display color of the electronic device is adjusted based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and the preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks under the preset arrangement order are the closest. Compared to Figure 1 The display color adjustment method shown in the embodiment also provides a test method of different color blocks for users to select and test, so as to cover a wider range of people and improve the application scope of display color adjustment.
[0139] See also Fig.26 , Fig.26 The module block diagram of the display color adjustment device provided in the embodiment of the present application is shown. The display color adjustment device 200 is applied to the above electronic device. Fig.26 The block diagram shown in FIG. 2 is used to illustrate that the display color adjustment device 200 includes: a color test interface display module 210, a color block moving module 220 and a display color adjustment module 230, wherein:
[0140] The color test interface display module 210 is used to display the color test interface, which includes a first area and a second area. The first area displays a target number of color blocks, and the second area displays a target number of controls to be filled. Each color block is used to fill a control to be filled.
[0141] Furthermore, the color test interface display module 210 includes: a color test selection interface display submodule, a first color test interface display submodule and a second color test interface display submodule, wherein:
[0142] The color test selection interface display submodule is used to display the color test selection interface, the color test selection interface includes a first test selection control and a second test selection control, wherein the target number of color blocks corresponding to the test mode to which the first test selection control belongs is less than the target number of color blocks corresponding to the test mode to which the second test selection control belongs.
[0143] The first color test interface display submodule is used to display the first color test interface when a touch operation acting on the first test selection control is detected.
[0144] The second color test interface display submodule is used to display the second color test interface when a touch operation acting on the second test selection control is detected.
[0145] The color block moving module 220 is used to fill the color block into the to-be-filled control in response to a selection operation on the color block.
[0146] The display color adjustment module 230 is used to adjust the display color of the electronic device based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and a preset arrangement order when it is detected that the target number of color blocks are filled into the target number of controls to be filled, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are most similar.
[0147] Furthermore, the display color adjustment module 230 includes: a first display color adjustment submodule and a second display color adjustment submodule, wherein:
[0148] The first display color adjustment submodule is used to obtain attribute information of a user corresponding to the electronic device and adjust the display color of the electronic device based on the attribute information when the arrangement order is consistent with the preset arrangement order.
[0149] The second display color adjustment submodule is used to determine a color block whose arrangement order is inconsistent with the preset arrangement order from the target number of color blocks as a second color block when the arrangement order is inconsistent with the preset arrangement order, and adjust the display color of the electronic device based on the second color block.
[0150] Furthermore, the display color adjustment module 230 includes: a highlight display submodule, wherein:
[0151] The highlighting submodule is used to display a target number of color blocks and highlight the second color block.
[0152] Furthermore, the display color adjustment device 200 further includes:
[0153] The display cancellation module is used to cancel the filling of the first color block on the first control to be filled and keep the first control to be filled in a filled vacancy state when a cancellation operation acting on the first color block on the first control to be filled is detected.
[0154] Further, the display cancellation module includes: a color block moving submodule, wherein:
[0155] The color block moving submodule is used to move the first color block from the first control to be filled to the first area when a cancel operation of the first color block acting on the first control to be filled is detected, or to move the first color block from the first control to be filled to the second control to be filled, wherein the second control to be filled is any other control to be filled among the target number of controls to be filled except the first control to be filled.
[0156] Further, the color block moving submodule includes: a first color block moving unit, wherein:
[0157] The first color block moving unit is used to move the first color block from the first control to be filled to the first area when a click operation on the first color block on the first control to be filled is detected.
[0158] Furthermore, the color block moving submodule includes: a drag position acquisition unit, a second color block moving unit and a third color block moving unit, wherein:
[0159] The drag position acquisition unit is used to acquire the drag position corresponding to the drag operation when a drag operation acting on the first color block on the first control to be filled is detected.
[0160] The second color block moving unit is used to move the first color block from the first control to be filled to the first area when the dragging position exceeds a preset range.
[0161] The third color block moving unit is used to move the first color block from the first control to be filled to the second control to be filled when the dragging position does not exceed a preset range.
[0162] Further, the third color block moving unit includes: a to-be-filled control determining subunit and a third color block moving subunit, wherein:
[0163] The to-be-filled control determining subunit is used to determine, when the dragging position does not exceed a preset range, from the target number of to-be-filled controls the to-be-filled control closest to the dragging position as the second to-be-filled control.
[0164] The third color block moving subunit is used to move the first color block from the first control to be filled to the second control to be filled.
[0165] Furthermore, the color block moving submodule includes: a highlighting display unit and a restoring display unit, wherein:
[0166] The highlighting unit is used to highlight the first color block when a drag operation acting on the first color block on the first control to be filled is detected.
[0167] The display recovery unit is used to recover the normal display of the first color block when it is detected that the dragging operation of the first color block on the first control to be filled is ended.
[0168] Furthermore, the display color jump device 200 further includes: a current to-be-filled control determination module and a highlighting module, wherein:
[0169] The current to-be-filled control determination module is used to determine the current to-be-filled control from the target number of to-be-filled controls during the process of filling the target number of color blocks into the target number of to-be-filled controls.
[0170] The highlight module is used to highlight the current control to be filled.
[0171] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0172] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0173] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0174] See also Fig. 27 , which shows a structural block diagram of an electronic device 100 provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a touch screen 130, and one or more applications, wherein one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0175] Among them, the processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 110 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0176] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.
[0177] The touch screen 130 is used to display information input by the user, information provided to the user, and various graphical user interfaces of the electronic device 100. These graphical user interfaces can be composed of graphics, text, icons, numbers, videos, and any combination thereof. In one example, the touch screen 130 can be a liquid crystal display (LCD) or an organic light-emitting diode (OLED), which is not limited here.
[0178] See also Fig.28, which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 300 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0179] The computer readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 300 includes a non-transitory computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 310 can be compressed, for example, in an appropriate form.
[0180] In summary, the display color adjustment method, device, electronic device and storage medium provided in the embodiments of the present application display a color test interface, wherein the color test interface includes a first area and a second area, the first area displays a target number of color blocks, and the second area displays a target number of controls to be filled, each color block is used to fill a control to be filled, and in response to a selection operation on the color block, the color block is filled into the control to be filled, and when it is detected that the target number of color blocks are all filled into the target number of controls to be filled, the display color of the electronic device is adjusted based on the relationship between the arrangement order of the target number of color blocks on the target number of controls to be filled and a preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are the closest, so that a sorting test of similar colors is performed by providing a color test interface, and the display color of the electronic device is adjusted according to the test results to achieve personalization of the display color and improve user experience.
[0181] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for adjusting display color, characterized in that: Applied to electronic equipment, the method comprises: Display a color test interface, the color test interface comprising a first area and a second area, the first area displays a target number of color blocks, the second area displays the target number of controls to be filled, and each color block is used to fill one of the controls to be filled; In response to a selection operation on the color block, filling the control to be filled with the color block; In the case where it is detected that the target number of color blocks are all filled into the target number of controls to be filled, obtaining an arrangement order of the target number of color blocks on the target number of controls to be filled, and comparing the arrangement order with a preset arrangement order to obtain a relationship between the arrangement order and the preset arrangement order, and adjusting the display color of the electronic device based on the relationship between the arrangement order and the preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are most similar; Wherein, adjusting the display color of the electronic device based on the relationship between the arrangement order and the preset arrangement order includes: When the arrangement order is consistent with the preset arrangement order, acquiring attribute information of a user corresponding to the electronic device and adjusting the display color of the electronic device based on the attribute information; or When the arrangement order is inconsistent with the preset arrangement order, a color block whose arrangement order is inconsistent with the preset arrangement order is determined from the target number of color blocks as a second color block, and the display color of the electronic device is adjusted based on the second color block.
2. The method according to claim 1, characterized in that The target number of color blocks includes a first color block, the target number of controls to be filled includes a first control to be filled, the first control to be filled is filled with the first color block, and the response to the selection operation on the color block, after filling the control to be filled with the color block, further includes: When a cancel operation on the first color block on the first control to be filled is detected, the first color block is canceled on the first control to be filled and the first control to be filled is kept in a filled-vacancy state.
3. The method according to claim 2, characterized in that When a cancel operation on the first color block on the first to-be-filled control is detected, canceling the filling of the first color block on the first to-be-filled control and keeping the first to-be-filled control in a filled-vacancy state includes: When a cancel operation on the first color block on the first control to be filled is detected, the first color block is moved from the first control to be filled to the first area, or the first color block is moved from the first control to be filled to a second control to be filled, wherein the second control to be filled is any other control to be filled among the target number of controls to be filled except the first control to be filled.
4. The method according to claim 3, characterized in that When a cancel operation of the first color block on the first to-be-filled control is detected, moving the first color block from the first to-be-filled control to the first area includes: When a click operation on the first color block on the first control to be filled is detected, the first color block is moved from the first control to be filled to the first area.
5. The method according to claim 3, characterized in that: When a cancel operation of the first color block acting on the first control to be filled is detected, the first color block is moved from the first control to be filled to the first area, or the first color block is moved from the first control to be filled to the second control to be filled, including: When a drag operation on the first color block on the first to-be-filled control is detected, obtaining a drag position corresponding to the drag operation; When the dragging position exceeds a preset range, moving the first color block from the first to-be-filled control to the first area; or When the dragging position does not exceed the preset range, the first color block is moved from the first control to be filled to the second control to be filled.
6. The method according to claim 5, characterized in that When the dragging position does not exceed the preset range, moving the first color block from the first control to be filled to the second control to be filled includes: When the dragging position does not exceed the preset range, determining a control to be filled that is closest to the dragging position from the target number of controls to be filled as the second control to be filled; Move the first color block from the first control to be filled to the second control to be filled.
7. The method according to claim 5, characterized in that The method further comprises: When a drag operation on the first color block on the first to-be-filled control is detected, highlighting the first color block; When it is detected that the dragging operation on the first color block on the first to-be-filled control ends, the first color block is restored to normal display.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: The target number of color blocks are displayed and the second color block is highlighted.
9. The method according to any one of claims 1 to 7, characterized in that: The display color test interface includes: Displaying a color test selection interface, the color test selection interface including a first test selection control and a second test selection control, wherein the target number of color blocks corresponding to the test mode to which the first test selection control belongs is smaller than the target number of color blocks corresponding to the test mode to which the second test selection control belongs; When a touch operation on the first test selection control is detected, displaying a first color test interface; When a touch operation on the second test selection control is detected, a second color test interface is displayed.
10. The method according to claim 9, characterized in that When the first color test interface is displayed, the target number of color blocks are displayed through the current interface corresponding to the first area. When the second color test interface is displayed, the target number of color blocks are displayed through multiple consecutive interfaces corresponding to the first area.
11. The method according to claim 10, characterized in that The test mode to which the first test selection control belongs corresponds to 16 color blocks, and the test mode to which the second test selection control belongs corresponds to 42 color blocks.
12. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: In the process of filling the target number of color blocks into the target number of controls to be filled, determining a current control to be filled from the target number of controls to be filled; The current control to be filled is highlighted.
13. A display color adjustment device, characterized in that: Applied to electronic equipment, the device comprises: A color test interface display module, used to display a color test interface, the color test interface comprising a first area and a second area, the first area displays a target number of color blocks, the second area displays the target number of controls to be filled, each of the color blocks is used to fill one of the controls to be filled; A color block moving module, used for responding to a selection operation on the color block and filling the color block into the to-be-filled control; A display color adjustment module is used to obtain an arrangement order of the target number of color blocks on the target number of controls to be filled, compare the arrangement order with a preset arrangement order to obtain a relationship between the arrangement order and the preset arrangement order, and adjust the display color of the electronic device based on the relationship between the arrangement order and the preset arrangement order, wherein the colors of adjacent color blocks formed by the target number of color blocks in the preset arrangement order are most similar; Wherein, the display color adjustment module includes: a first display color adjustment submodule, configured to, when the arrangement order is consistent with the preset arrangement order, obtain attribute information of a user corresponding to the electronic device and adjust the display color of the electronic device based on the attribute information; or The second display color adjustment submodule is used to determine, from the target number of color blocks, a color block whose arrangement order is inconsistent with the preset arrangement order as a second color block when the arrangement order is inconsistent with the preset arrangement order, and adjust the display color of the electronic device based on the second color block.
14. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the method according to any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, and the program codes can be called by a processor to execute the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Electronic glasses and method for correcting color blindness
US20150192776A1