Display interface adjustment method, device, equipment and computer readable storage medium
By obtaining the shell color information of the terminal device and adjusting the display interface according to the pre-stored association relationship, the user experience problem caused by the color difference between the terminal device display interface and the shell is solved, and a coordinated visual effect is achieved.
Patent Information
- Application Number
- CN201811531482.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-14
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2038-12-14
AI Technical Summary
There is a big difference between the display interface and the shell color of the existing terminal equipment, resulting in poor user experience.
By obtaining the shell color information of the terminal device, and based on the pre-stored association information between the shell color and the display element, the display element matching the shell color is determined, and then the background color or background image of the display interface is adjusted to achieve coordination with the shell color. visual effects.
It achieves a coordinated visual experience between the display interface and shell color of the terminal device, improving the user experience.
Smart Images

Figure CN109634704B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of display technology, and in particular to a display interface adjustment method, device, equipment and computer-readable storage medium. Background Art
[0002] In order to cater to people's personalized requirements, many portable terminal devices provide multiple replaceable shells, or there are various terminal protective shells on the market for users to choose from to meet their personalized requirements. However, regardless of whether the shell is provided by the terminal manufacturer or purchased by the user, the colors vary greatly, and the default display color of the terminal display may be quite different, which may bring an awkward color visual experience to the user. Summary of the invention
[0003] The main purpose of the present invention is to provide a display interface adjustment method, device, equipment and computer-readable storage medium, aiming to make the display interface and shell color of the terminal device produce a coordinated visual experience.
[0004] To achieve the above object, the present invention provides a display interface adjustment method, the display interface adjustment method comprising the following steps:
[0005] Get the shell color information of the terminal device;
[0006] Determining one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information;
[0007] The display interface is adjusted according to the first matching display element, wherein the adjustment object of the display interface at least includes a background color or a background image of the display interface.
[0008] Optionally, the display element includes a background color, and the step of determining one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information includes:
[0009] Determine a matching background color that matches the shell color information according to a pre-stored mapping table of shell colors and display interface background colors;
[0010] The step of adjusting the display interface according to the first matching display element comprises:
[0011] The background color of the display interface is adjusted according to the matching background color.
[0012] Optionally, the display element includes a background image, and the step of determining one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information includes:
[0013] Determine a matching background image that matches the shell color information according to a pre-stored mapping table of shell colors and display interface background images;
[0014] The step of adjusting the display interface according to the first matching display element comprises:
[0015] The background image of the display interface is adjusted according to the matching background image.
[0016] Optionally, the step of adjusting the display interface according to the first matching display element includes:
[0017] Determining a target display element for adjusting the display interface from the first matching display elements according to a preset determination rule;
[0018] The display interface is adjusted according to the target display element.
[0019] Optionally, the step of adjusting the display interface according to the first matching display element includes:
[0020] Displaying prompt information on whether to adjust the display interface according to the first matching display information;
[0021] When the instruction information for accepting adjustment triggered by the user is received, the display interface is adjusted based on the second matching display element selected by the user in the instruction information.
[0022] Optionally, the step of determining one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information further includes:
[0023] Determine the color classification corresponding to the shell color information according to a preset color classification table;
[0024] A first matching display element matching the color classification is determined according to a pre-stored mapping table of color classifications and display elements.
[0025] Optionally, before the step of determining one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information, the display interface adjustment method further includes:
[0026] When receiving a mapping table editing instruction triggered by a user, displaying a mapping table editing interface;
[0027] Acquiring association information between the shell color and the display element edited by the user based on the editing operation of the user in the mapping table editing interface;
[0028] A personalized mapping table of the user is generated based on the association information edited by the user, and the personalized mapping table is used as the association relationship information between the shell color and the display element.
[0029] In addition, to achieve the above-mentioned purpose, the present invention further provides a display interface adjustment device, the display interface adjustment device comprising:
[0030] An acquisition module is used to obtain shell color information of a terminal device;
[0031] a determination module, configured to determine one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information;
[0032] An adjustment module is used to adjust the display interface according to the first matching display element, wherein the adjustment object of the display interface includes at least the background color or background image of the display interface.
[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a display interface adjustment device, which includes a processor, a memory, and a display interface adjustment program stored in the memory and executable by the processor, wherein when the display interface adjustment program is executed by the processor, the steps of the display interface adjustment method as described above are implemented.
[0034] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a display interface adjustment program is stored, wherein when the display interface adjustment program is executed by a processor, the steps of the display interface adjustment method as described above are implemented.
[0035] The present invention provides a display interface adjustment method, device, equipment and computer-readable storage medium, the display interface adjustment method comprising: obtaining shell color information of a terminal device; determining one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information; adjusting the display interface according to the first matching display element, wherein the adjustment object for adjusting the display interface at least includes the background color or background image of the display interface. In the above manner, when the shell color information collected by the color recognition sensor is received, the display element matching the shell color can be determined based on the pre-stored association relationship between the shell color and the display element, wherein the pre-stored association relationship information can be determined based on the display coordination principle or user habits, so that the shell color that can achieve a coordinated display effect is associated and matched with the display element of the display interface in the association relationship information, so that when the display interface is adjusted according to the matching element determined based on the association relationship information, the display interface and the terminal shell achieve a coordinated visual effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A schematic diagram of the hardware structure of a display interface adjustment device involved in an embodiment of the present invention;
[0037] Figure 2 It is a flow chart of the first embodiment of the display interface adjustment method of the present invention;
[0038] Figure 3 It is a flow chart of the second embodiment of the display interface adjustment method of the present invention;
[0039] Figure 4 It is a flow chart of a third embodiment of the display interface adjustment method of the present invention;
[0040] Figure 5 It is a flowchart of a fourth embodiment of the display interface adjustment method of the present invention;
[0041] Figure 6 It is a flowchart of a fifth embodiment of the display interface adjustment method of the present invention;
[0042] Figure 7 It is a flowchart of a sixth embodiment of the display interface adjustment method of the present invention;
[0043] Figure 8 It is a flowchart of a seventh embodiment of the display interface adjustment method of the present invention;
[0044] Fig. 9 It is a schematic diagram of the functional modules of the display interface adjustment device of the present invention.
[0045] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0046] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0047] The display interface adjustment method involved in the embodiment of the present invention is mainly applied to a display interface adjustment device, which may be a device with data processing function such as a personal computer (PC), a portable computer, or a mobile terminal.
[0048] Reference Figure 1 , Figure 1 The hardware structure diagram of the display interface adjustment device involved in the embodiment of the present invention. In the embodiment of the present invention, the display interface adjustment device may include a processor 1001 (e.g., a central processing unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components; the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a wireless fidelity WIreless-FIdelity, WI-FI interface); the memory 1005 may be a high-speed random access memory (random access memory, RAM), or a stable memory (non-volatile memory), such as a disk storage, and the memory 1005 may optionally be a storage device independent of the aforementioned processor 1001. Those skilled in the art will understand that Figure 1 The hardware structure shown in the figure does not constitute a limitation of the present invention, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.
[0049] Continue to refer to Figure 1 , Figure 1 The memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, and a display interface adjustment program. Figure 1 In the embodiment, the network communication module can be used to connect to the server and perform data communication with the server; and the processor 1001 can call the display interface adjustment program stored in the memory 1005 and execute the display interface adjustment method provided in the embodiment of the present invention.
[0050] An embodiment of the present invention provides a display interface adjustment method.
[0051] Reference Figure 2 , Figure 2 It is a flowchart diagram of the first embodiment of the display interface adjustment method of the present invention.
[0052] In this embodiment, the display interface adjustment method includes the following steps:
[0053] Step S10, obtaining shell color information of the terminal device;
[0054] This embodiment is applied to the field of display technology of terminals with display functions, such as mobile phones or tablet computers. In order to cater to people's personalized requirements, many portable terminal devices will provide multiple replaceable shells, or there will be a variety of terminal protective shells on the market for users to choose from to meet the personalized requirements of users. However, whether it is the shell provided by the terminal manufacturer or the protective shell purchased by the user, the colors vary greatly, and the default display color of the terminal display may be greatly different, which may bring an awkward color visual experience to the user.
[0055] In this embodiment, the method for the processor to obtain the shell color information of the terminal device may include using a color recognition sensor to collect the shell color information and inputting the shell color information by the user or selecting the shell color information in a preset shell color selection interface. In this embodiment, the color recognition sensor refers to a sensor for collecting the color information of the terminal shell, including a light-to-photocurrent converter, a light-to-analog voltage converter, and a light-to-digital converter. Taking the light-to-analog voltage converter as an example, the light-to-analog voltage converter is composed of a photodiode array with a color filter and an integrated transimpedance amplifier. An external circuit is required to convert the analog voltage into a digital output before it can be transmitted to a digital signal processor. The light-to-analog voltage color sensor is composed of a photodiode array behind the color filter and an integrated current-to-voltage conversion circuit (usually a transimpedance amplifier). The light falling on each photodiode is converted into a photocurrent, the amplitude of which depends on the brightness and the wavelength of the incident light (due to the color filter). Without a color filter, a typical silicon photodiode will respond to wavelengths from the ultra-violet region to the visible region, and the peak response region is between 800nm and 950nm in the part of the spectrum close to infrared. Red, green and blue transmission color filters will reshape and optimize the spectral response of the photodiode. A properly designed filter will provide a spectral response to the filtered photodiode array that mimics the human eye. The photocurrent of each of the three photodiodes will use a current-to-voltage converter to convert the red, green, and blue response currents into corresponding response voltages VRout, VCout, and VBout, respectively. The user can place the color sensor at a sensing position near the terminal shell to obtain the shell color data and obtain the color information such as VRout, VCout, and VBout of the shell terminal. In addition, a function button for the user to enter the shell color information can be preset in the user terminal. The user can trigger the instruction to enter the shell color information through the function button. When the user terminal receives the instruction to enter the shell color information, a color editing box or a color selection interface containing various colors is displayed. The user can edit the description information of the shell color in the color editing section, such as the color name (names such as red, pink, green, or cyan) or the RGB parameters of the color, or select a color that is the same or similar to the shell color in the color selection interface. After the editing is completed, the confirmation instruction is triggered by the preset confirmation function button, and the user terminal obtains the shell color information entered by the user.
[0056] In this embodiment, a data line communication module can be configured in the color recognition sensor, and the data line communication module of the color recognition sensor and the data line communication module of the terminal device can be connected by a data line, so that the color recognition sensor can send the shell color information of the terminal device obtained to the data line communication module of the terminal device through the data line, and then the data line communication module of the terminal device sends the information to the processor of the terminal device for processing. Specifically, the data line communication module in this embodiment can be a USB universal serial bus communication module. In addition, the communication module of this embodiment can also be a wireless fidelity WIreless-FIdelity, WI-FI communication module, and other communication modules.
[0057] Step S20, determining one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information;
[0058] Display elements refer to related elements or variables that affect the display effect of the terminal device. Display elements may include controllable variables that affect the display effect, such as the background color of the main interface, the background image of the main interface, or the text color of the application name of the main interface. The pre-stored association relationship between the shell color and the display element refers to the association determination relationship between the shell color of the terminal device and the display element set in advance by the developer according to the display coordination principle or the association determination relationship between the shell color and the display element set by the user according to his own visual habits. In this embodiment, the role of the association relationship between the shell color and the display element is to determine the shell color based on the pre-stored association relationship when determining the shell color. The display element that conforms to the visual principle or the user's visual habits can be determined, for example, the shell color is determined to correspond to the background image or background color. In this embodiment, the association relationship information between the shell color and the display element can be a mapping table between the shell color and the display element, specifically, it can be a mapping table between color parameters such as VRout, VCout and VBout and the display element, in which the specific VRout, VCout and VBout ranges are associated with one or more display elements, for example, the specific VRout, VCout and VBout parameter ranges can be associated with the corresponding specific cartoon background image. Of course, in this embodiment, different color information identifiers can also be configured for different numerical ranges of VRout, VCout and VBout, such as red and green, etc., or more subdivided color identifiers, such as dark red and pink, etc., and then the association relationship between the color identifier and the display and the display element is established and the corresponding association relationship information is generated. Specifically, in the mapping table of color identifiers and display elements, the red color identifier of the shell can be associated with the display element of the red background color, or the red color identifier can be associated with the picture 1 whose main color is red. When the color information such as VRout, VCout and VBout is obtained, the corresponding color identifier is first determined according to the numerical range of VRout, VCout and VBout, and then the display element corresponding to the current color identifier is determined according to the mapping table corresponding to the color identifier and the display element, that is, the first matching display element with the color information. In this embodiment, in the mapping table, the color identifier or color parameter can be associated with one or more display elements. Specifically, the green color identifier can be associated with the display element of the green or light green background color, and then one or more matching display elements can be determined in the mapping table based on the shell color information obtained in step S10.
[0059] Step S30: adjusting the display interface according to the first matching display element, wherein the adjustment object of the display interface at least includes the background color or background image of the display interface.
[0060] Based on step S20, when determining the matching display element associated with the shell color information, the display interface can be adjusted directly based on the matching display element. The adjustment object for adjusting the display interface can be the background color or background picture of the display interface. Specifically, if the number of matching display elements is one, the display element of the display interface is directly set to the matching display element. For example, when the matching display element based on the red shell is background picture 2, the background picture of the display interface of the terminal device is directly set to background picture 2. If there are multiple matching display elements, one can be determined as the final target display element from the multiple display elements based on a random algorithm, and the display element of the current display interface is set to the target display element. Specifically, if the matching display element of the red shell is background picture 2, background picture 3, and background picture 5, a target background picture is determined from these three background pictures through a random algorithm. If the determined target background picture is background picture 5, the background picture of the display interface of the terminal device is set to background picture 5.
[0061] Furthermore, when determining the matching display elements, it is also possible to first determine whether the current display elements of the display interface match the shell color information of the terminal device. If they do not match, a prompt message is displayed on whether to adjust the display interface, and a matching display element selection option and a selection option for not adjusting the display interface are displayed in the prompt message. When the user clicks on the option for not adjusting the display interface, an instruction for not adjusting the display interface is triggered, and the display interface maintains its original state. If the user clicks on one of the display element selection options, an instruction for setting the display element of the display interface to the matching display element selected by the user is triggered. The terminal device sets the display element corresponding to the display interface to the matching display element selected by the user based on the instruction triggered by the user. Specifically, the prompt message includes display element selection options such as background picture 2, background picture 3, and background picture 5. If the user clicks on background picture 2, the device terminal receives the instruction triggered by the user to set the background picture of the display interface to background picture 2, and sets the background picture of the current display interface to background picture 2.
[0062] In this embodiment, the shell color information of the terminal device is obtained; one or more first matching display elements matching the shell color information are determined according to the pre-stored association relationship information between the shell color and the display element and the shell color information; the display interface is adjusted according to the first matching display element, wherein the adjustment object for adjusting the display interface at least includes the background color or background image of the display interface. In the above manner, when the shell color information collected by the color recognition sensor is received, the display element matching the shell color can be determined based on the pre-stored association relationship between the shell color and the display element, wherein the pre-stored association relationship information can be determined based on the display coordination principle or user habits, so that the shell color that can achieve a coordinated display effect is associated and matched with the display element of the display interface in the association relationship information, so that when the display interface is adjusted according to the matching element determined based on the association relationship information, the display interface and the terminal shell achieve a coordinated visual effect.
[0063] Reference Figure 3 , Figure 3 It is a flow chart of the second embodiment of the display interface adjustment method of the present invention.
[0064] Based on the above embodiment, in this embodiment, the display element includes a display interface background color, and step S20 includes:
[0065] Step S40, determining a matching background color that matches the shell color information according to a pre-stored mapping table of shell colors and display interface background colors;
[0066] Based on the above embodiment, in this embodiment, the display element includes the background color of the display interface, and a mapping table between color parameters such as VRout, VCout and VBout and the background color can be pre-established. In the mapping table, a specific range of VRout, VCout and VBout is associated with one or more background colors, and each background color corresponds to a specific three-primary color parameter. Of course, in this embodiment, different color information identifiers can be configured for different numerical ranges of VRout, VCout and VBout, such as red and green, etc., or more subdivided color identifiers, such as crimson and pink, etc., and then a mapping table between the color identifier and the background color RGB three-primary color parameters is established. Specifically, in the mapping table of the color identifier and the background color RGB three-primary color parameters, the red color identifier of the shell can be associated with the red background color RGB parameters. When the color is the color information of VRout, VCout and VBout sent by the sensor, the corresponding color identifier is first determined according to the numerical range of VRout, VCout and VBout, and then the background color corresponding to the current color identifier is determined according to the mapping table corresponding to the color identifier and the background color, that is, the matching background color with the color information. In this embodiment, in the mapping table, a color identifier or a color parameter may be associated with one or more background colors. Specifically, a green color identifier may be associated with a green or light green background color.
[0067] Step S30 includes:
[0068] Step S50: adjusting the background color of the display interface according to the matching background color.
[0069] Based on the above embodiment, if it is determined that there is only one matching background color, the RGB three primary color parameters of the background color of the display interface are directly set to the RGB parameters of the matching background color. If there are multiple matching background color parameters, the RGB three primary color parameters of the matching background color are adjusted based on the random algorithm or the user's choice.
[0070] In this embodiment, the display element includes a display interface background color, and a matching background color matching the shell color information is determined according to a pre-stored mapping table of the shell color and the display interface background color; and the background color of the display interface is adjusted according to the matching background color. In the above manner, the matching background color is determined based on the mapping table of the shell color and the background color, and the background color of the display interface is set to the matching background color, so that the background color of the display interface and the shell color achieve a coordinated visual effect.
[0071] Further, Figure 4 It is a flowchart diagram of a third embodiment of a display interface adjustment method of the present invention.
[0072] Based on the above embodiment, in this embodiment, the display element includes a display interface background image, and step S20 includes:
[0073] Step S60, determining a matching background image that matches the shell color information according to a pre-stored mapping table of shell colors and display interface background images;
[0074] Based on the above embodiment, in this embodiment, the display element includes the background color of the display interface, and a mapping table between color parameters such as VRout, VCout and VBout and background pictures can be pre-established. In the mapping table, specific ranges of VRout, VCout and VBout are associated with one or more background pictures. Of course, in this embodiment, different color information identifiers can be configured for different numerical ranges of VRout, VCout and VBout, such as red and green, etc., or more subdivided color identifiers, such as crimson and pink, etc., and then a mapping table of color identifiers and background pictures is established. Specifically, in the mapping table of color identifiers and background pictures, the red color identifier of the shell can be associated with the picture 8 whose main color is red. When obtaining the color information such as VRout, VCout and VBout sent by the sensor, the corresponding color identifier is first determined according to the numerical range of VRout, VCout and VBout, and then the background picture corresponding to the current color identifier is determined according to the mapping table corresponding to the color identifier and the background picture, that is, the matching background picture with the color information. In this embodiment, in the mapping table, a color identifier or a color parameter can be associated with one or more background images. Specifically, a green color identifier can be associated with an image 9 whose main color is green or an image 10 whose main color is light green.
[0075] Step S30 includes:
[0076] Step S70: adjusting the background image of the display interface according to the matching background image.
[0077] Based on the above embodiment, in this embodiment, if it is determined that there is only one matching background image, the background image of the display interface is directly set to the matching background image. If there are multiple matching background images, the matching background image is determined based on a random algorithm or user selection and adjusted.
[0078] In this embodiment, a matching background image that matches the shell color information is determined according to a pre-stored mapping table of the shell color and the background image of the display interface; the background image of the display interface is adjusted according to the matching background image; through the above method, the matching background image is determined based on the mapping table of the shell color and the background image of the display interface, and the background image of the display interface is set to the matching background image, thereby achieving a coordinated visual effect.
[0079] Further, Figure 5 FIG. 4 is a flow chart of a fourth embodiment of a display interface adjustment method according to the present invention.
[0080] Based on the above embodiment, in this embodiment, step S30 includes:
[0081] Step S80, determining a target display element for adjusting the display interface from the first matching display elements according to a preset determination rule;
[0082] Based on the above embodiment, in this embodiment, when obtaining a matching display element associated with the shell color, the target display element for adjusting the display interface can be directly determined from the matching display elements according to a preset determination rule. The preset determination rule may include: 1) if there is only one matching display element, the display element is directly used as the target display element; 2) if there are multiple matching display elements, the target display element can be randomly selected from the multiple matching display elements using a random algorithm; 3) if there are multiple matching elements, the matching display elements can be used to adjust the display interface in a preset order, and the duration of the display interface obtained by adjusting each matching display element is a preset time length.
[0083] Step S90: adjusting the display interface according to the target display element.
[0084] Based on step S80, when the target display element is determined, the current display interface is adjusted according to the target display element. Specifically, if the display element is a background color, the background color of the display interface is set to the corresponding target background color; if the display element is a background image, the background image of the display interface is set to the corresponding target background image.
[0085] In this embodiment, a target display element for adjusting the display interface is determined from the first matching display element according to a preset determination rule; and the display interface is adjusted according to the target display element. In the above manner, the target display element for adjusting the display interface is determined from the matching display elements according to the preset determination rule, and the display interface is adjusted based on the target display element, so that the display interface and the shell color form a coordinated visual effect.
[0086] Further, Figure 6 FIG. 5 is a flow chart of a fifth embodiment of a display interface adjustment method according to the present invention.
[0087] Based on the above embodiment, in this embodiment, step S30 includes:
[0088] Step S100, displaying prompt information on whether to adjust the display interface according to the first matching display information;
[0089] Based on the above embodiment, in this embodiment, when determining the matching display element of the shell color, a prompt message of whether to adjust the display interface can be displayed first, and a matching display element selection option and a selection option of not adjusting the display interface can be displayed in the prompt message.
[0090] Step S110: When receiving instruction information triggered by the user to accept adjustment, the display interface is adjusted based on the second matching display element selected by the user in the instruction information.
[0091] The second matching display element of this embodiment refers to the matching display element selected by the user from the first matching display element to adjust the display interface. When the user clicks on the option not to adjust the display interface, the instruction not to adjust the display interface is triggered, and the display interface maintains its original state. If the user clicks on the selection option of one of the display elements, the instruction to set the display element of the display interface to the matching display element selected by the user is triggered. The terminal device sets the display element corresponding to the display interface to the matching display element selected by the user based on the instruction triggered by the user. Specifically, the prompt information includes display element selection options such as background picture 2, background picture 3 and background picture 5. If the user clicks on background picture 2, the device terminal receives the instruction triggered by the user to set the background picture of the display interface to background picture 2, and sets the background picture of the current display interface to background picture 2.
[0092] In this embodiment, a prompt message indicating whether to adjust the display interface is displayed according to the first matching display information; when the instruction information for accepting the adjustment is received, the display interface is adjusted based on the second matching display element selected by the user in the instruction information. In the above manner, it is possible to determine the matching display element for adjusting the display interface based on the user's selection operation, and adjust the display interface based on the matching display element selected by the user, so that the display interface and the shell color form a coordinated display effect, which conforms to the user's visual habits and improves the user experience.
[0093] Further, Figure 7 The sixth embodiment of the display interface adjustment method of the present invention is a flow chart. The application information includes the identity information of the applicant, and step S20 includes:
[0094] Step S120, determining the color classification corresponding to the shell color information according to a preset color classification table;
[0095] Based on the above embodiments, in this embodiment, colors can be classified in advance to obtain cold color system, warm color system and neutral color system. Among them, cold color system includes colors such as cyan and blue; warm color system includes colors such as red, orange and yellow; neutral color system includes colors such as purple, green and yellow. The numerical ranges of each conversion voltage parameter VRout, VCout and VBout for each classification can be set in advance, and a mapping table between color classification and display elements can be established. When creating a mapping table between color classification and display elements, a mapping table can be created for the color classification of display elements and shell colors according to the color classification to which the main color of the display element belongs, for example, display elements with a green background color and display elements with a purple background color are associated with the color classification of the neutral color system in the mapping table.
[0096] Step S130: determining a first matching display element that matches the color classification according to a pre-stored mapping table of color classifications and display elements.
[0097] When obtaining color information such as VRout, VCout, and VBout, the value range of each conversion voltage parameter VRout, VCout, and VBout is determined, so as to determine the color category to which the shell color belongs, and determine the display element associated with the color category in the mapping table, that is, the matching display element. After determining the matching display element, the display interface can be adjusted based on the method for adjusting the display interface based on the display element in the above embodiment.
[0098] In this embodiment, the color classification corresponding to the shell color information is determined according to a preset color classification table; and the first matching display element matching the color classification is determined according to a pre-stored mapping table of color classifications and display elements. In this way, it is possible to determine the display element matching the color classification to which the shell color belongs.
[0099] Further, Figure 8 The flowchart of the seventh embodiment of the display interface adjustment method of the present invention is shown in FIG.
[0100] Step S140, when receiving a mapping table editing instruction triggered by a user, displaying a mapping table editing interface;
[0101] Based on the above embodiments, this embodiment provides a method for generating a user's personalized mapping table based on the user's operation of editing the mapping table, so as to adjust the display interface based on the personalized mapping table. In this embodiment, the user can trigger the mapping table editing instruction through a preset editing function button. When the mapping table editing instruction triggered by the user is received, the editing interface of the mapping table is displayed. In the editing interface of the mapping table, a function button for importing an existing mapping table is preset. The user can trigger the import of the existing mapping table through the button to change the association between the shell color information and the display element in the mapping table. For example, if the display element corresponding to the shell color information 1 in the existing mapping table is background color 2, the user can cancel the association between the shell color information 1 and the background color 2, and establish the association between the shell color information 2 and the background color 2. In addition, it can also provide importing or editing new display elements or shell colors, such as importing pictures downloaded from the Internet or setting the RGB parameters of a new background color, and then establishing an association between the new display element and the shell color. In this embodiment, step S140 can be executed before step S20, after step S10, or before step S10.
[0102] Step S150, obtaining the association information between the shell color and the display element edited by the user based on the editing operation of the user in the mapping table editing interface;
[0103] Based on the above steps, in the editing interface, a display box or display list of display elements associated with each shell color can be configured. The user can convert the state of the display box to an editable state through a preset function button. When the user needs to cancel the display element associated with the shell color, the preset function button is used to trigger the instruction to delete the identification information of the display element in the display box. When the deletion instruction triggered by the user is received, the identification information of the corresponding display element in the display box is deleted, and the association relationship between the shell color and the display element is canceled. When the user needs to create a new association relationship, the preset function button is used to trigger the instruction to add the identification information of the corresponding display element to the display box of the corresponding shell color. When the instruction triggered by the user is received, the identification information of the corresponding display element is added to the display box of the corresponding shell color, and the association relationship between the two is established. Of course, in this embodiment, the shell color is set to establish an association relationship with the display box by setting a display box for the shell color. It is also possible to set a specific association identifier for the display element and the shell color, and establish an association relationship between the display element and the shell color with the same association identifier. The user triggers the instruction to modify the association identifier of the display element through the preset function button. When the modification instruction triggered by the user is received, the display element with the same association identifier and the shell color are associated based on the association identifier modified by the user. It is also possible to import or edit new display elements or shell colors, such as importing pictures downloaded from the Internet or setting RGB parameters of a new background color, and then establishing an association between the new display element and the shell color. The association information edited by the user is obtained based on the established association.
[0104] Step S160: Generate a personalized mapping table for the user based on the association information edited by the user, and use the personalized mapping table as association relationship information between the shell color and the display element.
[0105] When the association information edited by the user is obtained, the user's personalized mapping table can be generated based on the association information edited by the user. If the user changes the existing mapping table, the existing mapping table can be updated based on the association information edited by the user, and the obtained new mapping table can be used as the user's personalized mapping table. The existing mapping table can be replaced with the user's personalized mapping table, or the existing mapping table and the personalized mapping table can be retained at the same time, and one of the existing mapping table or the personalized mapping table can be set to an enabled state and the other to a disabled state based on the user's settings. If the user does not import the existing mapping table, but imports the association relationship information edited by the new display element and shell color information, a new mapping table is generated based on the association relationship information to obtain the user's personalized mapping table.
[0106] In this embodiment, when a mapping table editing instruction triggered by a user is received, a mapping table editing interface is displayed; based on the user's editing operation in the mapping table editing interface, the association information between the shell color and the display element edited by the user is obtained; based on the association information edited by the user, a personalized mapping table of the user is generated, and the personalized mapping table is used as the association relationship information between the shell color and the display element. Through the above method, the user can edit the mapping table and obtain the personalized mapping table of the user. Adjusting the display interface based on the personalized mapping table can make the shell color and the display interface meet the user's visual habits while obtaining a coordinated display effect.
[0107] In addition, an embodiment of the present invention further provides a display interface adjustment device.
[0108] Reference Figure 8 , Figure 8 It is a schematic diagram of functional modules of the first embodiment of the display interface adjustment device of the present invention.
[0109] In this embodiment, the display interface adjustment device includes:
[0110] An acquisition module 10 is used to acquire shell color information of a terminal device;
[0111] A determination module 20, configured to determine one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information;
[0112] The adjustment module 30 is used to adjust the display interface according to the first matching display element, wherein the adjustment object of the display interface at least includes the background color or background image of the display interface.
[0113] Among them, each virtual function module of the above display interface adjustment device is stored in Figure 1 The memory 1005 of the display interface adjustment device shown is used to implement all functions of the display interface adjustment program; when each module is executed by the processor 1001, the display interface can be adjusted to produce a coordinated visual experience with the color of the display interface and the shell.
[0114] Furthermore, the determining module is also used for:
[0115] Determine a matching background image that matches the shell color information according to a pre-stored mapping table of shell colors and display interface background images;
[0116] The adjustment module is also used to:
[0117] The background color of the display interface is adjusted according to the matching background color.
[0118] Furthermore, the determination module is also used to:
[0119] Determine a matching background image that matches the shell color information according to a pre-stored mapping table of shell colors and display interface background images;
[0120] The adjustment module is also used to:
[0121] The background image of the display interface is adjusted according to the matching background image.
[0122] Furthermore, the adjustment module is also used to:
[0123] Determining a target display element for adjusting the display interface from the first matching display elements according to a preset determination rule;
[0124] The display interface is adjusted according to the target display element.
[0125] Furthermore, the adjustment module is also used to:
[0126] Displaying prompt information on whether to adjust the display interface according to the first matching display information;
[0127] When the instruction information for accepting adjustment triggered by the user is received, the display interface is adjusted based on the second matching display element selected by the user in the instruction information.
[0128] Furthermore, the determination module is also used to:
[0129] Determine the color classification corresponding to the shell color information according to a preset color classification table;
[0130] A first matching display element matching the color classification is determined according to a pre-stored mapping table of color classifications and display elements.
[0131] Furthermore, the display interface adjustment device also includes:
[0132] A display module, used to display a mapping table editing interface when receiving a mapping table editing instruction triggered by a user;
[0133] An acquisition module, used for acquiring the association information between the shell color and the display element edited by the user based on the editing operation of the user in the mapping table editing interface;
[0134] The generating module is used to generate a personalized mapping table of the user based on the association information edited by the user, and use the personalized mapping table as the association relationship information between the shell color and the display element.
[0135] In addition, an embodiment of the present invention further provides a computer-readable storage medium.
[0136] The computer-readable storage medium of the present invention stores a display interface adjustment program, wherein when the display interface adjustment program is executed by a processor, the steps of the display interface adjustment method described above are implemented.
[0137] Among them, the method implemented when the display interface adjustment program is executed can refer to the various embodiments of the display interface adjustment method of the present invention, and will not be repeated here.
[0138] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0139] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0140] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0141] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A display interface adjustment method, characterized in that: The display interface adjustment method comprises: Get the shell color information of the terminal device; Determining one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information, wherein the pre-stored association relationship information is determined based on a display coordination principle or based on a pre-acquired user visual habit, and the first matching display elements include one or more matching background colors or matching background images; Adjusting the display interface according to the first matching display element, wherein the adjustment object of adjusting the display interface includes at least the background color or background image of the display interface; The determining, according to the pre-stored association relationship information between the shell color and the display element and the shell color information, one or more first matching display elements matching the shell color information comprises: Acquire color parameters corresponding to the shell color sent by the color sensor, wherein the color parameters include VRout, VCout and VBout; Determine the current color identifier corresponding to the color parameter according to the numerical ranges corresponding to the color parameters respectively; Determine one or more matching background colors that match the current color identifier according to a pre-stored color mapping table, wherein the pre-stored color mapping table is a mapping table between the color identifier corresponding to the shell color and the RGB three primary color parameters corresponding to the background color of the display interface; Determine one or more matching background images that match the current color identifier according to a pre-stored image mapping table, wherein the pre-stored image mapping table is a mapping table between the color identifier corresponding to the shell color and the background image of the display interface; Determine one or more matching background images that match the current color identifier according to a pre-stored image mapping table, wherein the pre-stored image mapping table is a mapping table between the color identifier corresponding to the shell color and the background image of the display interface; The step of adjusting the display interface according to the first matching display element comprises: If the first matching display element includes only one of a matching background color and a matching background image, determining the first matching display element as a target display element for adjusting the display interface; If the display elements in the first matching display elements include multiple matching background colors or matching background images, the display elements in the first matching display elements are determined as target display elements for adjusting the display interface in a preset order, and the duration of adjusting the corresponding display interface of each display element is a preset time length; The display interface is adjusted according to the target display element.
2. The display interface adjustment method according to claim 1, characterized in that: The step of adjusting the display interface according to the first matching display element comprises: Displaying prompt information on whether to adjust the display interface according to the first matching display element; When the instruction information for accepting adjustment triggered by the user is received, the display interface is adjusted based on the second matching display element selected by the user in the instruction information.
3. The display interface adjustment method according to claim 1, characterized in that: The step of determining one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information further includes: Determine the color classification corresponding to the shell color information according to a preset color classification table; A first matching display element matching the color classification is determined according to a pre-stored mapping table of color classifications and display elements.
4. The display interface adjustment method according to claim 1, characterized in that: Before the step of determining one or more first matching display elements matching the shell color information according to the pre-stored association relationship information between the shell color and the display element and the shell color information, the display interface adjustment method further includes: When receiving a mapping table editing instruction triggered by a user, displaying a mapping table editing interface; Acquiring association information between the shell color and the display element edited by the user based on the editing operation of the user in the mapping table editing interface; A personalized mapping table of the user is generated based on the association information edited by the user, and the personalized mapping table is used as the association relationship information between the shell color and the display element.
5. A display interface adjustment device, characterized in that: The display interface adjustment device comprises: An acquisition module is used to obtain shell color information of a terminal device; a determination module, configured to determine one or more first matching display elements matching the shell color information according to pre-stored association relationship information between the shell color and the display element and the shell color information, wherein the pre-stored association relationship information is determined based on a display coordination principle or based on pre-acquired user visual habits, and the first matching display elements include one or more matching background colors or matching background images; an adjustment module, configured to adjust the display interface according to the first matching display element, wherein the adjustment object of the display interface includes at least a background color or a background image of the display interface; The determination module is further used to obtain color parameters corresponding to the shell color sent by the color sensor, the color parameters including VRout, VCout and VBout; determine the current color identifier corresponding to the color parameters according to the numerical ranges respectively corresponding to the color parameters; determine one or more matching background colors matching the current color identifier according to a pre-stored color mapping table, the pre-stored color mapping table is a mapping table between the color identifier corresponding to the shell color and the RGB three primary color parameters corresponding to the background color of the display interface; determine one or more matching background images matching the current color identifier according to a pre-stored image mapping table, the pre-stored image mapping table is a mapping table between the color identifier corresponding to the shell color and the background image of the display interface; The adjustment module is also used to determine the first matching display element as a target display element for adjusting the display interface if the first matching display element only includes one of a matching background color or a matching background image; if the display elements in the first matching display elements include multiple matching background colors or matching background images, determine the display elements in the first matching display elements as target display elements for adjusting the display interface in a preset order, and the duration of adjusting the corresponding display interface of each display element is a preset time length; and adjust the display interface according to the target display elements.
6. A display interface adjustment device, characterized in that: The display interface adjustment device includes a processor, a memory, and a display interface adjustment program stored in the memory and executable by the processor, wherein when the display interface adjustment program is executed by the processor, the steps of the display interface adjustment method as described in any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a display interface adjustment program, wherein when the display interface adjustment program is executed by a processor, the steps of the display interface adjustment method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Electronic device and method for changing theme interface thereof
CN107291434A
Mobile terminal theme setting method and mobile terminal
CN107888783A