WO2019037089A1 - Method for adjusting theme tone of application program, mobile terminal and readable storage medium - Google Patents

Method for adjusting theme tone of application program, mobile terminal and readable storage medium Download PDF

Info

Publication number
WO2019037089A1
WO2019037089A1 PCT/CN2017/099070 CN2017099070W WO2019037089A1 WO 2019037089 A1 WO2019037089 A1 WO 2019037089A1 CN 2017099070 W CN2017099070 W CN 2017099070W WO 2019037089 A1 WO2019037089 A1 WO 2019037089A1
Authority
WO
WIPO (PCT)
Prior art keywords
tone
theme
mobile terminal
desktop
adjustment
Prior art date
Application number
PCT/CN2017/099070
Other languages
French (fr)
Chinese (zh)
Inventor
赵尹芳
Original Assignee
深圳传音通讯有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/099070 priority Critical patent/WO2019037089A1/en
Publication of WO2019037089A1 publication Critical patent/WO2019037089A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a method for adjusting tone of an application theme, a mobile terminal, and a computer readable storage medium.
  • the main object of the present invention is to provide a method for adjusting the tone of an application theme, a mobile terminal, and a computer readable storage medium, which are intended to solve the problem that when the theme color tone of the application is close to or the same as the color tone of the desktop theme wallpaper of the mobile terminal, A technical issue that makes it easy for users to select the desired application icon.
  • the present invention provides a method for tone adjustment of an application theme, the method comprising:
  • the method further includes:
  • the method further includes:
  • Performing a block processing on the desktop of the mobile terminal dividing the desktop of the mobile terminal into a plurality of regions, and calculating a color difference between each region of the desktop of the mobile terminal and various tones on the palette;
  • the positions of the various tones on the palette are adjusted according to the calculated color difference, and the palette after the adjustment position is displayed on the tone adjustment interface.
  • the step of performing block processing on the mobile terminal desktop includes:
  • the mobile terminal desktop is divided into a plurality of regions according to pixel values of the mobile terminal desktop.
  • the method further includes:
  • the color tone of the application theme before replacement is saved to the storage location.
  • the present invention further provides a mobile terminal, where the mobile terminal includes a processor and a memory, where the program stores an application theme tone adjustment program; the processor is configured to execute the application.
  • the theme tone adjustment program to achieve the following steps:
  • the present invention also provides a computer readable storage medium having stored thereon a program for application theme tone adjustment, the application theme tone adjustment program being executed by a processor The steps of the method of implementing the theme theme tone adjustment as described above.
  • the method for adjusting the theme theme tone, the mobile terminal and the computer readable storage medium provided by the present invention display a tone adjustment interface on the display interface according to the received adjustment application theme tone command when receiving the adjustment application theme tone command;
  • the user can simultaneously browse the application after replacing the hue
  • the preview of the program theme and the color drop board when the user is dissatisfied with the currently selected hue, can be replaced in time, without having to replace the current operation, re-find the palette and other complicated steps;
  • the application theme color tone performs a replacement operation, and the color tone of the application theme is changed to the selected color tone, and the user can complete the color tone replacement of the application theme, thereby adjusting the theme color tone of the application according to the user's preference, while avoiding The theme tones in the app
  • the mobile terminal closer to the desktop wallpaper or the same color, the problem is not
  • FIG. 1 is a schematic flow chart of a first embodiment of a method for adjusting a theme color of an application according to the present invention
  • FIG. 2 is a schematic flow chart of a third embodiment of a method for adjusting color tone of an application theme according to the present invention
  • FIG. 3 is a schematic flowchart of a step of performing a block processing on a desktop of a mobile terminal in a fourth embodiment of the method for adjusting the tone of the application theme of the present invention
  • FIG. 4 is a schematic flow chart of a fifth embodiment of a method for adjusting a theme color of an application according to the present invention.
  • FIG. 5 is a schematic structural diagram of a device in a hardware operating environment according to an embodiment of the present invention.
  • the main solution of the embodiment of the present invention is: displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command when receiving the adjustment application theme tone command; when the selected tone adjustment interface receives the selected When the color tone command is to be replaced, a preview image of the application theme after changing the color tone and a palette for selecting the color tone are displayed on the display interface, and the user can simultaneously browse the preview image of the application theme after replacing the color tone and the color drop plate when the user If you are dissatisfied with the currently selected color tone, you can replace it in time, without having to replace it by exiting the current operation, re-finding the color palette, etc.; when receiving the save command, perform a replacement operation on the application theme color tone, The color of the application theme is changed to the selected color tone, and the user can complete the color tone replacement of the application theme, thereby adjusting the theme color tone of the application according to the user's preference, while avoiding the theme color tone and the mobile terminal desktop in the application.
  • Theme wallpapers are closer to or the
  • the embodiment of the present invention considers that, in the prior art, after the user sets the theme wallpaper to the desktop of the mobile terminal, if the theme color tone of the application is close to or the same as the color tone of the desktop theme wallpaper of the mobile terminal, the user cannot conveniently select the desired color.
  • the application icons while the theme color of the application is fixed, the user can't adjust, and it is inconvenient for the user to select the desired application icon.
  • an embodiment of the present invention provides a method for adjusting the theme theme tone, and when receiving the adjustment application theme tone command, displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command;
  • the color tone adjustment interface receives the selected color tone to be replaced command, the preview image of the application theme after changing the color tone and the color palette of the selected color tone are displayed on the display interface, and the user can simultaneously browse the application theme after the color tone is replaced.
  • Preview image and color swatch when the user is not satisfied with the currently selected color tone, it can be replaced in time, without having to replace the current operation, re-find the color palette and other complicated steps; when receiving the save command, the application
  • the program theme color tone performs a replacement operation, and the color tone of the application theme is changed to the selected color tone, and the user can complete the color tone replacement of the application theme, thereby adjusting the theme color tone of the application according to the user's preference, and avoiding the application in the application.
  • Program theme tone and mobile terminal desktop master The wallpaper or the same color tone closer, the problem is not easy to select a desired user application icon.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for adjusting a theme color of an application according to the present invention.
  • the method includes:
  • Step S10 displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command
  • the mobile terminal can adjust the color tone of the application theme.
  • the program can be:
  • View view findViewById(layouts[i]);
  • View color view.findViewById(R.id.motive_item_color);
  • View selected view.findViewById(R.id.motive_item_selected);
  • Class OnSkinColorClickListener implements OnClickListener ⁇
  • View view findViewById(layouts[i]);
  • View selected view.findViewById(R.id.motive_item_selected);
  • the program and software for adjusting the theme color tone of the application are not limited to the above-mentioned programs and software, and will not be enumerated here.
  • the program or installing the software upon receiving the adjustment application theme color tone instruction input by the user, displaying the tone adjustment interface on the display interface according to the received adjustment application theme tone command; specifically, the user triggers the adjustment application theme
  • the tone command can be done by long pressing the application's icon, or by looking up the application theme tone adjustment option on the interface that sets the application theme tone, and then tapping to trigger the adjustment of the application theme tone command.
  • Step S20 when receiving the selected to-be-changed hue command on the hue adjustment interface, displaying a preview image of the application theme after replacing the hue and a palette for selecting the hue on the display interface;
  • the user can select the tone to be changed in the tone adjustment interface of the display interface.
  • the specific method for the user to select the tone to be changed can be clicked on the tone to be changed, and monitored in the tone adjustment interface.
  • the corresponding color tone is selected, and a preview image of the application theme after changing the color tone and a palette for selecting the color tone are displayed on the display interface, so that the user can change the color tone of the application theme.
  • the effect is previewed, and when the color of the application theme after replacing the color tone is not satisfied, the button can be directly clicked on the color palette to be replaced, and the switch does not need to be switched to another interface for replacement, thereby reducing the operation steps and improving user experience.
  • Step S30 when receiving the save instruction, performing a replacement operation on the application theme color tone, and changing the color tone of the application theme to the selected color tone.
  • the application theme color tone replacement operation is performed by performing a replacement operation on the application theme color tone and replacing the color tone of the application theme with the selected color tone.
  • the effective time for receiving the save command may also be set, that is, if the save command is not received within the preset time, the user is deemed not to save the currently replaced hue.
  • the method for adjusting the theme theme tone when receiving the adjustment application theme tone command, displaying the tone adjustment interface on the display interface according to the received adjustment application theme tone command; when receiving on the tone adjustment interface
  • a preview image of the application theme after changing the hue and a palette for selecting the hue are displayed on the display interface, and the user can simultaneously browse the preview image of the application theme after replacing the hue and the color drop plate.
  • the user is dissatisfied with the currently selected hue, it can be replaced in time, without having to replace the current operation, re-find the palette and other complicated steps; when receiving the save command, the application theme color tone is replaced.
  • the user can complete the color tone replacement of the application theme, thereby adjusting the theme color tone of the application according to the user's preference, while avoiding the theme color tone in the application.
  • Tone of mobile terminal desktop theme wallpaper Close to or at the same time, the problem is not easy to select the desired user application icon.
  • the first embodiment of the method for adjusting the subject tone according to the present invention proposes a second embodiment of the method for adjusting the subject tone of the present invention.
  • the method further includes:
  • the user after displaying the preview image of the application theme after changing the color tone and selecting the color palette of the tone adjustment on the display interface, when the cancellation instruction is received, or the save instruction is not received within the preset time, the user is indicated.
  • the actual intent is that you do not want to save the currently replaced application theme tones, at which point the color of the application theme is not replaced.
  • a first embodiment of a method for adjusting tone of an application theme of the present invention is proposed based on the first embodiment of the method for adjusting the theme of the present invention.
  • the method further includes:
  • Step S40 performing block processing on the desktop of the mobile terminal, dividing the desktop of the mobile terminal into multiple regions, and calculating color differences of various regions of the desktop of the mobile terminal and various tones on the palette;
  • step S50 the positions of the various tones on the palette are adjusted according to the calculated color difference, and the palette after the adjustment position is displayed on the tone adjustment interface.
  • the desktop of the mobile terminal is divided into multiple regions
  • image segmentation in the image processing field refers to dividing the image into a plurality of specific regions with unique properties and proposing The technology and process of the target of interest.
  • the existing image segmentation methods are mainly divided into the following categories: segmentation methods based on thresholds, segmentation methods based on regions, segmentation methods based on edges, and segmentation methods based on specific theories.
  • the basis for performing block processing on the desktop of the mobile terminal is the pixel value of the desktop of the mobile terminal. The larger the pixel value of the desktop of the mobile terminal, the more the area of the desktop of the mobile terminal is divided. The pixel value indicates the size of the desktop of the mobile terminal, and the larger the pixel value, the larger the desktop of the mobile terminal.
  • calculating a color difference between each region of the desktop of the mobile terminal and various tones on the palette that is, calculating a variance of gray values of various shades on the desktop of the mobile terminal and the palette;
  • the variance is the sum of the squares of the differences between the individual data and the mean.
  • the variance is used to measure the degree of fluctuation of the data. The smaller the variance, the smaller the data fluctuation.
  • Calculating the variance of the gray value of the various shades on the desktop of the mobile terminal and the palette is to calculate the color similarity of the various shades on the desktop of the mobile terminal and the palette. The smaller the variance, the color and tone of the area.
  • the desktop of the mobile terminal and various tones on the palette may be further The variance of the gray value is sorted, and the sorting can be sorted in ascending order or descending order. After sorting, the color similarity of each area of the desktop of the mobile terminal and the corresponding hue in the palette can be obtained, that is, the desktop of the mobile terminal is obtained. The color difference between each area and various tones on the palette, and then adjust the position of various tones on the palette according to the calculated color difference.
  • the theme color tone of the application is close to the color of the desktop theme wallpaper of the mobile terminal. Or the same, the user can not conveniently select the desired application icon, so the mobile terminal desktop area and the palette Shades of color tones larger, the tone plate position closer to the center position, to facilitate the user to find and clicks; palette finally adjusted position adjustment screen displayed in color tone.
  • the method for adjusting the tone of the application theme proposed by the embodiment, by dividing the desktop of the mobile terminal into blocks, dividing the desktop of the mobile terminal into multiple regions, and calculating various regions of the desktop of the mobile terminal and various colors on the palette Color difference; then adjust the position of various tones on the palette according to the calculated color difference, and display the palette after the position adjustment in the tone adjustment interface, so that the user can find and click on various areas of the mobile terminal desktop and color
  • the greater the hue of the various tones on the board avoiding the selection of tones that are closer or the same to the color of the desktop theme wallpaper of the mobile terminal.
  • a third embodiment of the method for adjusting the theme color of the application of the present invention is proposed based on the third embodiment of the method for adjusting the theme color of the present invention.
  • step S40 includes:
  • Step S41 acquiring the desktop of the mobile terminal
  • Step S42 acquiring a pixel value of the desktop of the mobile terminal
  • Step S43 dividing the mobile terminal desktop into a plurality of regions according to pixel values of the mobile terminal desktop.
  • the processing of the mobile terminal desktop is performed by first obtaining the mobile terminal desktop, then acquiring the pixel value of the mobile terminal desktop, and then dividing the mobile terminal desktop into multiple regions according to the pixel value of the mobile terminal desktop.
  • the larger the pixel value of the desktop of the mobile terminal the more the area of the desktop of the mobile terminal is divided.
  • the pixel value indicates the size of the desktop of the mobile terminal, and the larger the pixel value, the larger the desktop of the mobile terminal.
  • the method for adjusting the tone of the application theme in the embodiment first performing block processing on the desktop of the mobile terminal, dividing the desktop of the mobile terminal into multiple regions; and then acquiring each pixel in the plurality of regions a gray value; that is, a variance of the gray values of the plurality of regions can be calculated; finally, various regions of the desktop of the mobile terminal and various tones on the palette can be calculated according to the variance of the gray values of the plurality of regions
  • the color difference makes the position of each color tone in the displayed tone board more reasonable, and the user can find and click the color tone of each area of the desktop of the mobile terminal and the color tone of the palette to increase the user experience.
  • a fifth embodiment of the method for adjusting the theme color of the application of the present invention is proposed based on any one of the first to fourth embodiments of the application theme tone adjustment of the present invention.
  • step after the step S30 further includes:
  • Step S60 acquiring a preset application theme historical tone storage location
  • Step S70 saving the color tone of the application theme before the replacement to the storage location.
  • the preset application theme historical color tone storage position may be preset, so that after the color tone is replaced, the application theme before the replacement is replaced.
  • the color tone is saved to the storage location, so that the user can find the application theme color tone of the historical setting.
  • the user may not set the application theme historical tone storage location.
  • the color of the application theme before the replacement is saved to the default location.
  • the method for adjusting the theme theme tone by acquiring a preset application theme historical tone storage location; after the replacement tone is completed, saving the color tone of the application theme before the replacement to the storage location, It is convenient for users to find the color tone of history replacement.
  • the invention further provides a mobile terminal.
  • the mobile terminal may include a processor 1001, such as a CPU, and a memory 1002. Connection communication between these components can be achieved via a communication bus.
  • the memory 1002 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage.
  • the memory 1002 can also optionally be a storage device independent of the aforementioned processor 1001.
  • the mobile terminal may further include a user interface, a network interface, a camera, and an RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more.
  • the user interface may include a display, an input unit such as a keyboard, and the optional user interface may also include a standard wired interface, a wireless interface.
  • the network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
  • the mobile terminal structure shown in FIG. 5 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
  • a memory 1002 as a computer storage medium may include an operating system and a program theme tone adjustment program.
  • the operating system is a program for managing hardware and software resources of the mobile terminal, and supports the operation of the application theme tone adjustment program and other software or programs.
  • the processor 1001 may be configured to execute a program for adjusting the theme theme tone stored in the memory 1002 to implement the following steps:
  • processor 1001 may further execute a program of application theme tone adjustment stored in the memory 1002 to implement the following steps:
  • processor 1001 may further execute a program of application theme tone adjustment stored in the memory 1002 to implement the following steps:
  • Performing a block processing on the desktop of the mobile terminal dividing the desktop of the mobile terminal into a plurality of regions, and calculating a color difference between each region of the desktop of the mobile terminal and various tones on the palette;
  • the positions of the various tones on the palette are adjusted according to the calculated color difference, and the palette after the adjustment position is displayed on the tone adjustment interface.
  • processor 1001 may further execute a program of application theme tone adjustment stored in the memory 1002 to implement the following steps:
  • the mobile terminal desktop is divided into a plurality of regions according to pixel values of the mobile terminal desktop.
  • processor 1001 may further execute a program of application theme tone adjustment stored in the memory 1002 to implement the following steps:
  • the color tone of the application theme before replacement is saved to the storage location.
  • the specific embodiment of the mobile terminal of the present invention is substantially the same as the embodiment of the method for adjusting the color tone of the application theme, and details are not described herein.
  • the invention further provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the following steps:
  • the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
  • the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
  • Performing a block processing on the desktop of the mobile terminal dividing the desktop of the mobile terminal into a plurality of regions, and calculating a color difference between each region of the desktop of the mobile terminal and various tones on the palette;
  • the positions of the various tones on the palette are adjusted according to the calculated color difference, and the palette after the adjustment position is displayed on the tone adjustment interface.
  • the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
  • the mobile terminal desktop is divided into a plurality of regions according to pixel values of the mobile terminal desktop.
  • the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
  • the color tone of the application theme before replacement is saved to the storage location.
  • the specific embodiment of the computer readable storage medium of the present invention is substantially the same as the method for adjusting the color tone of the application theme and the embodiment of the mobile terminal, and details are not described herein.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods of various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed in the present invention is a method for adjusting the theme tone of an application program, the method comprising the following steps: displaying, according to a received application program theme tone adjustment instruction, on a display interface, a tone adjustment interface; if an instruction of a selected tone to be changed is received on the tone adjustment interface, displaying, on the display interface, a preview of the application program theme with a changed tone and a color swatch for tone selection; when a saving instruction is received, performing a changing operation on the theme tone of the application program, and changing the theme tone of the application program into the selected tone. Further disclosed in the present invention are a mobile terminal and a computer readable storage medium. The present invention enables a user to adjust the theme tone of an application program according to his/her preference, improving user experience.

Description

应用程序主题色调调节的方法、移动终端及可读存储介质  Application theme tone adjustment method, mobile terminal and readable storage medium
技术领域Technical field
本发明涉及移动终端技术领域,尤其涉及一种应用程序主题色调调节的方法、移动终端及计算机可读存储介质。The present invention relates to the field of mobile terminal technologies, and in particular, to a method for adjusting tone of an application theme, a mobile terminal, and a computer readable storage medium.
背景技术Background technique
目前,移动终端(手机、IPAD 或者平板电脑)成了人们形影不离的伙伴,很多人喜欢追求个性,会给移动终端桌面换上不同色彩的主题壁纸等来彰显自己的个性。Currently, mobile terminals (mobile phones, IPAD) Or tablet PCs have become inseparable partners. Many people like to pursue individuality, and will change the personality of the mobile terminal desktop with different color theme wallpapers.
现有技术中,用户在给移动终端桌面设置主题壁纸之后,如果应用程序的主题色调与移动终端桌面主题壁纸的色调较接近或相同的话,用户无法便利地选取所需的应用程序图标,而应用程序的主题色调都是固定的,用户不能进行调节,给用户选取所需的应用程序图标带来了不便。In the prior art, after the user sets the theme wallpaper to the mobile terminal desktop, if the theme color tone of the application is close to or the same as the color tone of the desktop theme wallpaper of the mobile terminal, the user cannot conveniently select the desired application icon, and the application The theme color of the program is fixed, and the user cannot adjust it, which brings inconvenience to the user to select the desired application icon.
发明内容Summary of the invention
本发明的主要目的在于提出一种应用程序主题色调调节的方法、移动终端及计算机可读存储介质,旨在解决在应用程序的主题色调与移动终端桌面主题壁纸的色调较接近或相同时,不便于用户选取所需的应用程序图标的技术问题。The main object of the present invention is to provide a method for adjusting the tone of an application theme, a mobile terminal, and a computer readable storage medium, which are intended to solve the problem that when the theme color tone of the application is close to or the same as the color tone of the desktop theme wallpaper of the mobile terminal, A technical issue that makes it easy for users to select the desired application icon.
为实现上述目的,本发明提供一种应用程序主题色调调节的方法,所述方法包括:To achieve the above object, the present invention provides a method for tone adjustment of an application theme, the method comprising:
根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;Displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command;
当在所述色调调节界面接收到选中的待更换色调指令时,在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板;When receiving the selected to-be-changed hue command on the hue adjustment interface, displaying a preview image of the application theme after changing the hue and a palette for selecting the hue on the display interface;
当接收到保存指令时,对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调。When the save instruction is received, a replacement operation is performed on the application theme color tone, and the color tone of the application theme is replaced with the selected color tone.
可选地,所述在所述显示界面显示更换色调后的应用程序主题的预览图及选择调色调的色板的步骤之后,还包括:Optionally, after the step of displaying the preview of the application theme after replacing the color tone and the step of selecting the color grading swatch in the display interface, the method further includes:
当接收到取消指令,或在预设时间内,没有接收到保存指令,则不更换所述应用程序主题的色调。When a cancel command is received, or a save command is not received within a preset time, the hue of the application theme is not replaced.
可选地,所述根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面的步骤之后,还包括:Optionally, after the step of displaying the tone adjustment interface on the display interface according to the received adjustment application theme tone command, the method further includes:
对移动终端桌面进行分块处理,将所述移动终端桌面划分为多个区域,并计算移动终端桌面各个区域与调色板上各种色调的色差;Performing a block processing on the desktop of the mobile terminal, dividing the desktop of the mobile terminal into a plurality of regions, and calculating a color difference between each region of the desktop of the mobile terminal and various tones on the palette;
根据计算得到的色差调整调色板上各种色调的位置,并将调整位置后的调色板在色调调节界面进行显示。The positions of the various tones on the palette are adjusted according to the calculated color difference, and the palette after the adjustment position is displayed on the tone adjustment interface.
可选地,所述对移动终端桌面进行分块处理的步骤包括:Optionally, the step of performing block processing on the mobile terminal desktop includes:
获取所述移动终端桌面;Obtaining the mobile terminal desktop;
获取所述移动终端桌面的像素值; Obtaining a pixel value of the desktop of the mobile terminal;
根据所述移动终端桌面的像素值将所述移动终端桌面划分为多个区域。The mobile terminal desktop is divided into a plurality of regions according to pixel values of the mobile terminal desktop.
可选地,所述将所述应用程序主题的色调更换为选中的色调的步骤之后,还包括:Optionally, after the step of replacing the color tone of the application theme with the selected color tone, the method further includes:
获取预设的应用程序主题历史色调存放位置;Get the preset application theme history color storage location;
将更换前的所述应用程序主题的色调保存至所述存放位置。The color tone of the application theme before replacement is saved to the storage location.
此外,为实现上述目的,本发明还提供一种移动终端,所述移动终端包括处理器及存储器,所述存储器中存储有应用程序主题色调调节的程序;所述处理器用于执行所述应用程序主题色调调节的程序,以实现以下步骤:In addition, in order to achieve the above object, the present invention further provides a mobile terminal, where the mobile terminal includes a processor and a memory, where the program stores an application theme tone adjustment program; the processor is configured to execute the application. The theme tone adjustment program to achieve the following steps:
根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;Displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command;
当在所述色调调节界面接收到选中的待更换色调指令时,在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板;When receiving the selected to-be-changed hue command on the hue adjustment interface, displaying a preview image of the application theme after changing the hue and a palette for selecting the hue on the display interface;
当接收到保存指令时,对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调。When the save instruction is received, a replacement operation is performed on the application theme color tone, and the color tone of the application theme is replaced with the selected color tone.
此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有应用程序主题色调调节的程序,所述应用程序主题色调调节的程序被处理器执行时实现如上所述的应用程序主题色调调节的方法的步骤。Furthermore, in order to achieve the above object, the present invention also provides a computer readable storage medium having stored thereon a program for application theme tone adjustment, the application theme tone adjustment program being executed by a processor The steps of the method of implementing the theme theme tone adjustment as described above.
本发明提出的应用程序主题色调调节的方法、移动终端及计算机可读存储介质,在接收到调节应用程序主题色调指令时,根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;当在所述色调调节界面接收到选中的待更换色调指令时,在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板,用户可以同时浏览更换色调后的应用程序主题的预览图及掉色板,当用户对当前选择的色调不满意时,可以及时进行更换,不必通过退出当前操作、重新查找调色板等繁杂步骤进行更换;当接收到保存指令时,对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调,用户即可以完成应用程序主题的色调更换,从而实现根据用户的喜好调节应用程序的主题色调,同时避免了在应用程序的主题色调与移动终端桌面主题壁纸的色调较接近或相同时,不便于用户选取所需的应用程序图标的问题。The method for adjusting the theme theme tone, the mobile terminal and the computer readable storage medium provided by the present invention display a tone adjustment interface on the display interface according to the received adjustment application theme tone command when receiving the adjustment application theme tone command; When receiving the selected to-be-changed hue command on the hue adjustment interface, displaying a preview image of the application theme after changing the hue and a palette for selecting the hue on the display interface, the user can simultaneously browse the application after replacing the hue The preview of the program theme and the color drop board, when the user is dissatisfied with the currently selected hue, can be replaced in time, without having to replace the current operation, re-find the palette and other complicated steps; when receiving the save command, The application theme color tone performs a replacement operation, and the color tone of the application theme is changed to the selected color tone, and the user can complete the color tone replacement of the application theme, thereby adjusting the theme color tone of the application according to the user's preference, while avoiding The theme tones in the app The mobile terminal closer to the desktop wallpaper or the same color, the problem is not easy to select a desired user application icon.
附图说明DRAWINGS
图1为本发明应用程序主题色调调节的方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a method for adjusting a theme color of an application according to the present invention;
图2为本发明应用程序主题色调调节的方法第三实施例的流程示意图;2 is a schematic flow chart of a third embodiment of a method for adjusting color tone of an application theme according to the present invention;
图3为本发明应用程序主题色调调节的方法第四实施例中对移动终端桌面进行分块处理的步骤的细化流程示意图;3 is a schematic flowchart of a step of performing a block processing on a desktop of a mobile terminal in a fourth embodiment of the method for adjusting the tone of the application theme of the present invention;
图4为本发明应用程序主题色调调节的方法第五实施例的流程示意图;4 is a schematic flow chart of a fifth embodiment of a method for adjusting a theme color of an application according to the present invention;
图5为本发明实施例方案涉及的硬件运行环境的设备结构示意图。FIG. 5 is a schematic structural diagram of a device in a hardware operating environment according to an embodiment of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明实施例的主要解决方案是:在接收到调节应用程序主题色调指令时,根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;当在所述色调调节界面接收到选中的待更换色调指令时,在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板,用户可以同时浏览更换色调后的应用程序主题的预览图及掉色板,当用户对当前选择的色调不满意时,可以及时进行更换,不必通过退出当前操作、重新查找调色板等繁杂步骤进行更换;当接收到保存指令时,对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调,用户即可以完成应用程序主题的色调更换,从而实现根据用户的喜好调节应用程序的主题色调,同时避免了在应用程序的主题色调与移动终端桌面主题壁纸的色调较接近或相同时,不便于用户选取所需的应用程序图标的问题。The main solution of the embodiment of the present invention is: displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command when receiving the adjustment application theme tone command; when the selected tone adjustment interface receives the selected When the color tone command is to be replaced, a preview image of the application theme after changing the color tone and a palette for selecting the color tone are displayed on the display interface, and the user can simultaneously browse the preview image of the application theme after replacing the color tone and the color drop plate when the user If you are dissatisfied with the currently selected color tone, you can replace it in time, without having to replace it by exiting the current operation, re-finding the color palette, etc.; when receiving the save command, perform a replacement operation on the application theme color tone, The color of the application theme is changed to the selected color tone, and the user can complete the color tone replacement of the application theme, thereby adjusting the theme color tone of the application according to the user's preference, while avoiding the theme color tone and the mobile terminal desktop in the application. Theme wallpapers are closer to or the same Not easy for users to select the desired application icon problem.
本发明实施例考虑到,现有技术中,用户在给移动终端桌面设置主题壁纸之后,如果应用程序的主题色调与移动终端桌面主题壁纸的色调较接近或相同的话,用户无法便利地选取所需的应用程序图标,而应用程序的主题色调都是固定的,用户不能进行调节,给用户选取所需的应用程序图标带来了不便。The embodiment of the present invention considers that, in the prior art, after the user sets the theme wallpaper to the desktop of the mobile terminal, if the theme color tone of the application is close to or the same as the color tone of the desktop theme wallpaper of the mobile terminal, the user cannot conveniently select the desired color. The application icons, while the theme color of the application is fixed, the user can't adjust, and it is inconvenient for the user to select the desired application icon.
为此,本发明实施例提出一种应用程序主题色调调节的方法,在接收到调节应用程序主题色调指令时,根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;当在所述色调调节界面接收到选中的待更换色调指令时,在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板,用户可以同时浏览更换色调后的应用程序主题的预览图及掉色板,当用户对当前选择的色调不满意时,可以及时进行更换,不必通过退出当前操作、重新查找调色板等繁杂步骤进行更换;当接收到保存指令时,对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调,用户即可以完成应用程序主题的色调更换,从而实现根据用户的喜好调节应用程序的主题色调,同时避免了在应用程序的主题色调与移动终端桌面主题壁纸的色调较接近或相同时,不便于用户选取所需的应用程序图标的问题。To this end, an embodiment of the present invention provides a method for adjusting the theme theme tone, and when receiving the adjustment application theme tone command, displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command; When the color tone adjustment interface receives the selected color tone to be replaced command, the preview image of the application theme after changing the color tone and the color palette of the selected color tone are displayed on the display interface, and the user can simultaneously browse the application theme after the color tone is replaced. Preview image and color swatch, when the user is not satisfied with the currently selected color tone, it can be replaced in time, without having to replace the current operation, re-find the color palette and other complicated steps; when receiving the save command, the application The program theme color tone performs a replacement operation, and the color tone of the application theme is changed to the selected color tone, and the user can complete the color tone replacement of the application theme, thereby adjusting the theme color tone of the application according to the user's preference, and avoiding the application in the application. Program theme tone and mobile terminal desktop master The wallpaper or the same color tone closer, the problem is not easy to select a desired user application icon.
参照图1,图1为本发明应用程序主题色调调节的方法第一实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for adjusting a theme color of an application according to the present invention.
在本实施例中,该方法包括:In this embodiment, the method includes:
步骤S10,根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;Step S10, displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command;
在本实施例中,在实施本实施例之前,需要预先构建调节应用程序主题色调的程序框架,并将调节应用程序主题色调的程序写入程序框架中,通过写入调节应用程序主题色调程序,移动终端即可实现调节应用程序主题色调,具体地,所述程序可以为:In this embodiment, before implementing the embodiment, it is necessary to pre-build a program framework for adjusting the theme color tone of the application, and write a program for adjusting the theme color tone of the application into the program frame, and adjust the application theme color tone program by writing, The mobile terminal can adjust the color tone of the application theme. Specifically, the program can be:
import android.app.Activity; Import android.app.Activity;
import android.os.Bundle; Import android.os.Bundle;
import android.view.View; Import android.view.View;
import android.view.View.OnClickListener; Import android.view.View.OnClickListener;
import com.qiulong.changedmotivecolortest.R; Import com.qiulong.changedmotivecolortest.R;
import com.qiulong.changedmotivecolortest.mode.ColorManager; Import com.qiulong.changedmotivecolortest.mode.ColorManager;
public class MotiveActivity extends Activity {  Public class MotiveActivity extends Activity {
private final int[] layouts = { R.id.skin_01, R.id.skin_02, R.id.skin_03,  Private final int[] layouts = { R.id.skin_01, R.id.skin_02, R.id.skin_03,
R.id.skin_04, R.id.skin_05 };  R.id.skin_04, R.id.skin_05 };
@Override  @Override
protected void onCreate(Bundle savedInstanceState) {  Protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);  super.onCreate(savedInstanceState);
setContentView(R.layout.activity_motive);  setContentView(R.layout.activity_motive);
initView();  initView();
}  }
private void initView() {  Private void initView() {
findViewById(R.id.motive_back).setOnClickListener(  findViewById(R.id.motive_back).setOnClickListener(
new OnClickListener() {  New OnClickListener() {
@Override  @Override
public void onClick(View v) {  Public void onClick(View v) {
finish();  Finish();
}  }
} }
int colorArr[] = ColorManager.getInstance().getSkinColor(this);  Int colorArr[] = ColorManager.getInstance().getSkinColor(this);
for (int i = 0; i < layouts.length; i++) {  For (int i = 0; i < layouts.length; i++) {
View view = findViewById(layouts[i]);  View view = findViewById(layouts[i]);
View color = view.findViewById(R.id.motive_item_color);  View color = view.findViewById(R.id.motive_item_color);
View selected = view.findViewById(R.id.motive_item_selected);  View selected = view.findViewById(R.id.motive_item_selected);
color.setBackgroundColor(colorArr[i]);  color.setBackgroundColor(colorArr[i]);
if (colorArr[i] == MyApplication.mPreference.getSkinColorValue()) {  If (colorArr[i] == MyApplication.mPreference.getSkinColorValue()) {
selected.setVisibility(View.VISIBLE);  selected.setVisibility(View.VISIBLE);
}  }
color.setOnClickListener(new OnSkinColorClickListener(i));  color.setOnClickListener(new OnSkinColorClickListener(i));
}  }
}  }
class OnSkinColorClickListener implements OnClickListener {  Class OnSkinColorClickListener implements OnClickListener {
private int position;  Private int position;
public OnSkinColorClickListener(int position) {  Public OnSkinColorClickListener(int position) {
this.position = position;  This.position = position;
}  }
@Override  @Override
public void onClick(View v) {  Public void onClick(View v) {
for (int i = 0; i < layouts.length; i++) {  For (int i = 0; i < layouts.length; i++) {
View view = findViewById(layouts[i]);  View view = findViewById(layouts[i]);
View selected = view.findViewById(R.id.motive_item_selected);  View selected = view.findViewById(R.id.motive_item_selected);
selected.setVisibility(i == position ? View.VISIBLE : View.GONE;  selected.setVisibility(i == position ? View.VISIBLE : View.GONE;
ColorManager.getInstance().setSkinColor(MotiveActivity.this, ColorManager.getInstance().setSkinColor(MotiveActivity.this,
position); Position);
或者通过安装实现调节应用程序主题色调的软件,如主题控制软件等,实现调节应用程序主题色调。可以理解的是,所述调节应用程序主题色调的程序及软件并不局限于上述举例的程序及软件,在此不再一一列举。在写入程序或安装软件之后,在接收到用户输入的调节应用程序主题色调指令时,根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;具体地,用户触发调节应用程序主题色调指令的方法可以为长按应用程序的图标,或在设置应用程序主题色调的接口查找应用程序主题色调调节选项,然后点击,即可触发调节应用程序主题色调指令。Or adjust the theme color of the application by installing software that adjusts the color of the application theme, such as theme control software. It can be understood that the program and software for adjusting the theme color tone of the application are not limited to the above-mentioned programs and software, and will not be enumerated here. After writing the program or installing the software, upon receiving the adjustment application theme color tone instruction input by the user, displaying the tone adjustment interface on the display interface according to the received adjustment application theme tone command; specifically, the user triggers the adjustment application theme The tone command can be done by long pressing the application's icon, or by looking up the application theme tone adjustment option on the interface that sets the application theme tone, and then tapping to trigger the adjustment of the application theme tone command.
步骤S20,当在所述色调调节界面接收到选中的待更换色调指令时,在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板;Step S20, when receiving the selected to-be-changed hue command on the hue adjustment interface, displaying a preview image of the application theme after replacing the hue and a palette for selecting the hue on the display interface;
在显示界面显示色调调节界面之后,用户即可在显示界面显示色调调节界面中选择需要更改的色调,用户选择需要更改的色调的具体方法可以为点击需要更改的色调,当在色调调节界面中监测到用户选中的待更换色调指令后,选中对应的色调,并在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板,以便用户对更换色调后的应用程序主题的效果进行预览,并在对更换色调后的应用程序主题色调不满意时直接在选择色调的调色板进行点击操作即可进行更换,不需要切换到其他界面进行更换,减少了操作步骤,提升用户体验。After the tone adjustment interface is displayed on the display interface, the user can select the tone to be changed in the tone adjustment interface of the display interface. The specific method for the user to select the tone to be changed can be clicked on the tone to be changed, and monitored in the tone adjustment interface. After the color tone command to be replaced selected by the user, the corresponding color tone is selected, and a preview image of the application theme after changing the color tone and a palette for selecting the color tone are displayed on the display interface, so that the user can change the color tone of the application theme. The effect is previewed, and when the color of the application theme after replacing the color tone is not satisfied, the button can be directly clicked on the color palette to be replaced, and the switch does not need to be switched to another interface for replacement, thereby reducing the operation steps and improving user experience.
步骤S30,当接收到保存指令时,对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调。Step S30, when receiving the save instruction, performing a replacement operation on the application theme color tone, and changing the color tone of the application theme to the selected color tone.
在显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板之后,若接收到保存指令,说明用户的实际意图是想保存当前更换的应用程序主题色调,因此,此时需要对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调,即可完成应用程序主题色调更换操作。具体实施过程中,还可以设置接收保存指令的有效时间,即若在预设时间内没有接收到保存指令,即可认为用户不想对当前更换的色调进行保存。After displaying the preview of the application theme after changing the color tone and selecting the palette of the color tone on the display interface, if the save command is received, the actual intention of the user is to save the color of the currently replaced application theme, so The application theme color tone replacement operation is performed by performing a replacement operation on the application theme color tone and replacing the color tone of the application theme with the selected color tone. During the specific implementation process, the effective time for receiving the save command may also be set, that is, if the save command is not received within the preset time, the user is deemed not to save the currently replaced hue.
本实施例提出的应用程序主题色调调节的方法,在接收到调节应用程序主题色调指令时,根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;当在所述色调调节界面接收到选中的待更换色调指令时,在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板,用户可以同时浏览更换色调后的应用程序主题的预览图及掉色板,当用户对当前选择的色调不满意时,可以及时进行更换,不必通过退出当前操作、重新查找调色板等繁杂步骤进行更换;当接收到保存指令时,对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调,用户即可以完成应用程序主题的色调更换,从而实现根据用户的喜好调节应用程序的主题色调,同时避免了在应用程序的主题色调与移动终端桌面主题壁纸的色调较接近或相同时,不便于用户选取所需的应用程序图标的问题。The method for adjusting the theme theme tone according to the embodiment, when receiving the adjustment application theme tone command, displaying the tone adjustment interface on the display interface according to the received adjustment application theme tone command; when receiving on the tone adjustment interface When the selected hue command to be replaced is selected, a preview image of the application theme after changing the hue and a palette for selecting the hue are displayed on the display interface, and the user can simultaneously browse the preview image of the application theme after replacing the hue and the color drop plate. When the user is dissatisfied with the currently selected hue, it can be replaced in time, without having to replace the current operation, re-find the palette and other complicated steps; when receiving the save command, the application theme color tone is replaced. Operation, changing the color tone of the application theme to the selected color tone, the user can complete the color tone replacement of the application theme, thereby adjusting the theme color tone of the application according to the user's preference, while avoiding the theme color tone in the application. Tone of mobile terminal desktop theme wallpaper Close to or at the same time, the problem is not easy to select the desired user application icon.
进一步地,基于本发明应用程序主题色调调节的方法第一实施例提出本发明应用程序主题色调调节的方法第二实施例。Further, the first embodiment of the method for adjusting the subject tone according to the present invention proposes a second embodiment of the method for adjusting the subject tone of the present invention.
在本实施例中,所述步骤S20的步骤之后,还包括:In this embodiment, after the step of step S20, the method further includes:
当接收到取消指令,或在预设时间内,没有接收到保存指令,则不更换所述应用程序主题的色调。When a cancel command is received, or a save command is not received within a preset time, the hue of the application theme is not replaced.
在本实施例中,在显示界面显示更换色调后的应用程序主题的预览图及选择调色调的色板之后,当接收到取消指令,或在预设时间内,没有接收到保存指令,说明用户的实际意图是不想保存当前更换的应用程序主题色调,此时,则不更换所述应用程序主题的色调。In this embodiment, after displaying the preview image of the application theme after changing the color tone and selecting the color palette of the tone adjustment on the display interface, when the cancellation instruction is received, or the save instruction is not received within the preset time, the user is indicated. The actual intent is that you do not want to save the currently replaced application theme tones, at which point the color of the application theme is not replaced.
进一步地,参照图2,基于本发明应用程序主题色调调节的方法第一实施例提出本发明应用程序主题色调调节的方法第三实施例。Further, referring to FIG. 2, a first embodiment of a method for adjusting tone of an application theme of the present invention is proposed based on the first embodiment of the method for adjusting the theme of the present invention.
在本实施例中,所述步骤S10的步骤之后,还包括:In this embodiment, after the step of step S10, the method further includes:
步骤S40,对移动终端桌面进行分块处理,将所述移动终端桌面划分为多个区域,并计算移动终端桌面各个区域与调色板上各种色调的色差;Step S40, performing block processing on the desktop of the mobile terminal, dividing the desktop of the mobile terminal into multiple regions, and calculating color differences of various regions of the desktop of the mobile terminal and various tones on the palette;
步骤S50,根据计算得到的色差调整调色板上各种色调的位置,并将调整位置后的调色板在色调调节界面进行显示。In step S50, the positions of the various tones on the palette are adjusted according to the calculated color difference, and the palette after the adjustment position is displayed on the tone adjustment interface.
在本实施例中,通过采用对移动终端桌面进行分块处理,将移动终端桌面划分为多个区域,图像处理领域中图像分割是指把图像分成若干个特定的、具有独特性质的区域并提出感兴趣目标的技术和过程。现有的图像分割方法主要分以下几类:基于阔值的分割方法、基于区域的分割方法、基于边缘的分割方法以及基于特定理论的分割方法等。具体地,将移动终端桌面进行分块处理的依据是移动终端桌面的像素值,移动终端桌面的像素值越大,将移动终端桌面划分的区域越多。像素值表示移动终端桌面的大小,像素值越大,表示移动终端桌面越大。In this embodiment, by dividing the desktop of the mobile terminal into blocks, the desktop of the mobile terminal is divided into multiple regions, and image segmentation in the image processing field refers to dividing the image into a plurality of specific regions with unique properties and proposing The technology and process of the target of interest. The existing image segmentation methods are mainly divided into the following categories: segmentation methods based on thresholds, segmentation methods based on regions, segmentation methods based on edges, and segmentation methods based on specific theories. Specifically, the basis for performing block processing on the desktop of the mobile terminal is the pixel value of the desktop of the mobile terminal. The larger the pixel value of the desktop of the mobile terminal, the more the area of the desktop of the mobile terminal is divided. The pixel value indicates the size of the desktop of the mobile terminal, and the larger the pixel value, the larger the desktop of the mobile terminal.
在将移动终端桌面划分为多个区域之后,计算移动终端桌面各个区域与调色板上各种色调的色差,即计算移动终端桌面与调色板上各种色调的灰度值的方差;其中方差是各个数据与平均数之差的平方的和。方差用来衡量数据的波动程度,方差越小,数据波动程度越小。计算移动终端桌面与调色板上各种色调的灰度值的方差是为了计算移动终端桌面与调色板上各种色调的颜色相似度,方差越小的区域,表明该区域的颜色与调色板上对应色调的相似度越高,在计算得到移动终端桌面与调色板上各种色调的灰度值的方差之后,可以进一步将所述移动终端桌面与调色板上各种色调的灰度值的方差进行排序,排序可以为升序排序或降序排序等方式进行排序,在排序之后,即可获得移动终端桌面各个区域与调色板中对应色调的颜色相似度,即获得移动终端桌面各个区域与调色板上各种色调的色差,然后根据计算得到的色差调整调色板上各种色调的位置,一般情况下,由于应用程序的主题色调与移动终端桌面主题壁纸的色调较接近或相同的话,用户无法便利地选取所需的应用程序图标,因此移动终端桌面各个区域与调色板上各种色调的色差越大的色调,在色调板中的位置越靠近中心位置,便于用户进行查找和点击;最后将调整位置后的调色板在色调调节界面进行显示。After dividing the desktop of the mobile terminal into a plurality of regions, calculating a color difference between each region of the desktop of the mobile terminal and various tones on the palette, that is, calculating a variance of gray values of various shades on the desktop of the mobile terminal and the palette; The variance is the sum of the squares of the differences between the individual data and the mean. The variance is used to measure the degree of fluctuation of the data. The smaller the variance, the smaller the data fluctuation. Calculating the variance of the gray value of the various shades on the desktop of the mobile terminal and the palette is to calculate the color similarity of the various shades on the desktop of the mobile terminal and the palette. The smaller the variance, the color and tone of the area. The higher the similarity of the corresponding hue on the swatch, after calculating the variance of the gray value of the various shades on the desktop of the mobile terminal and the palette, the desktop of the mobile terminal and various tones on the palette may be further The variance of the gray value is sorted, and the sorting can be sorted in ascending order or descending order. After sorting, the color similarity of each area of the desktop of the mobile terminal and the corresponding hue in the palette can be obtained, that is, the desktop of the mobile terminal is obtained. The color difference between each area and various tones on the palette, and then adjust the position of various tones on the palette according to the calculated color difference. In general, the theme color tone of the application is close to the color of the desktop theme wallpaper of the mobile terminal. Or the same, the user can not conveniently select the desired application icon, so the mobile terminal desktop area and the palette Shades of color tones larger, the tone plate position closer to the center position, to facilitate the user to find and clicks; palette finally adjusted position adjustment screen displayed in color tone.
本实施例提出的应用程序主题色调调节的方法,通过对移动终端桌面进行分块处理,将所述移动终端桌面划分为多个区域,并计算移动终端桌面各个区域与调色板上各种色调的色差;然后根据计算得到的色差调整调色板上各种色调的位置,并将调整位置后的调色板在色调调节界面进行显示,便于用户进行查找和点击移动终端桌面各个区域与调色板上各种色调的色差越大的色调,避免选择到与移动终端桌面主题壁纸色调较接近或相同的色调。The method for adjusting the tone of the application theme proposed by the embodiment, by dividing the desktop of the mobile terminal into blocks, dividing the desktop of the mobile terminal into multiple regions, and calculating various regions of the desktop of the mobile terminal and various colors on the palette Color difference; then adjust the position of various tones on the palette according to the calculated color difference, and display the palette after the position adjustment in the tone adjustment interface, so that the user can find and click on various areas of the mobile terminal desktop and color The greater the hue of the various tones on the board, avoiding the selection of tones that are closer or the same to the color of the desktop theme wallpaper of the mobile terminal.
进一步地,参照图3,基于本发明应用程序主题色调调节的方法第三实施例提出本发明应用程序主题色调调节的方法第四实施例。Further, referring to FIG. 3, a third embodiment of the method for adjusting the theme color of the application of the present invention is proposed based on the third embodiment of the method for adjusting the theme color of the present invention.
在本实施例中,所述步骤S40包括:In this embodiment, the step S40 includes:
步骤S41,获取所述移动终端桌面;Step S41, acquiring the desktop of the mobile terminal;
步骤S42,获取所述移动终端桌面的像素值; Step S42, acquiring a pixel value of the desktop of the mobile terminal;
步骤S43,根据所述移动终端桌面的像素值将所述移动终端桌面划分为多个区域。Step S43, dividing the mobile terminal desktop into a plurality of regions according to pixel values of the mobile terminal desktop.
在本实施例中,对移动终端桌面进行分块处理,首先需要获取移动终端桌面,然后获取移动终端桌面的像素值,然后根据移动终端桌面的像素值将所述移动终端桌面划分为多个区域,其中,移动终端桌面的像素值越大,将目移动终端桌面划分的区域越多。像素值表示移动终端桌面的大小,像素值越大,表示移动终端桌面越大。In this embodiment, the processing of the mobile terminal desktop is performed by first obtaining the mobile terminal desktop, then acquiring the pixel value of the mobile terminal desktop, and then dividing the mobile terminal desktop into multiple regions according to the pixel value of the mobile terminal desktop. The larger the pixel value of the desktop of the mobile terminal, the more the area of the desktop of the mobile terminal is divided. The pixel value indicates the size of the desktop of the mobile terminal, and the larger the pixel value, the larger the desktop of the mobile terminal.
本实施例提出的应用程序主题色调调节的方法,首先对所述移动终端桌面进行分块处理,将所述移动终端桌面划分为多个区域;然后获取所述多个区域中每个像素点的灰度值;即可计算所述多个区域的灰度值的方差;最后,根据所述多个区域的灰度值的方差即可计算移动终端桌面各个区域与调色板上各种色调的色差,从而使得显示的色调板中各个色调的位置更合理,便于用户查找和点击移动终端桌面各个区域与调色板上各种色调的色差越大的色调,提高了用户体验。The method for adjusting the tone of the application theme in the embodiment, first performing block processing on the desktop of the mobile terminal, dividing the desktop of the mobile terminal into multiple regions; and then acquiring each pixel in the plurality of regions a gray value; that is, a variance of the gray values of the plurality of regions can be calculated; finally, various regions of the desktop of the mobile terminal and various tones on the palette can be calculated according to the variance of the gray values of the plurality of regions The color difference makes the position of each color tone in the displayed tone board more reasonable, and the user can find and click the color tone of each area of the desktop of the mobile terminal and the color tone of the palette to increase the user experience.
进一步地,参照图4,基于本发明应用程序主题色调调节的方法第一至第四任一实施例提出本发明应用程序主题色调调节的方法第五实施例。Further, referring to FIG. 4, a fifth embodiment of the method for adjusting the theme color of the application of the present invention is proposed based on any one of the first to fourth embodiments of the application theme tone adjustment of the present invention.
在本实施例中,所述步骤S30之后的步骤,还包括:In this embodiment, the step after the step S30 further includes:
步骤S60,获取预设的应用程序主题历史色调存放位置;Step S60, acquiring a preset application theme historical tone storage location;
步骤S70,将更换前的所述应用程序主题的色调保存至所述存放位置。Step S70, saving the color tone of the application theme before the replacement to the storage location.
在本实施例中,在将所述应用程序主题的色调更换为选中的色调之后,可以预设的应用程序主题历史色调存放位置,以便在更换色调之后,将更换前的所述应用程序主题的色调保存至所述存放位置,便于用户查找历史设置的应用主题色调。当然用户也可以不进行设置应用程序主题历史色调存放位置,当用户没有设置应用程序主题历史色调存放位置时,在更换色调之后,将更换前的所述应用程序主题的色调保存至默认位置。In this embodiment, after the color tone of the application theme is changed to the selected color tone, the preset application theme historical color tone storage position may be preset, so that after the color tone is replaced, the application theme before the replacement is replaced. The color tone is saved to the storage location, so that the user can find the application theme color tone of the historical setting. Of course, the user may not set the application theme historical tone storage location. When the user does not set the application theme historical tone storage location, after the tone is changed, the color of the application theme before the replacement is saved to the default location.
本实施例提出的应用程序主题色调调节的方法,通过获取预设的应用程序主题历史色调存放位置;在更换色调完成之后,将更换前的所述应用程序主题的色调保存至所述存放位置,便于用户查找历史更换的色调。The method for adjusting the theme theme tone according to the embodiment, by acquiring a preset application theme historical tone storage location; after the replacement tone is completed, saving the color tone of the application theme before the replacement to the storage location, It is convenient for users to find the color tone of history replacement.
本发明进一步提供一种移动终端。The invention further provides a mobile terminal.
如图5所示,移动终端可以包括:处理器1001,例如CPU,以及存储器1002。这些组件之间的连接通信可以通过通信总线实现。存储器1002可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1002可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 5, the mobile terminal may include a processor 1001, such as a CPU, and a memory 1002. Connection communication between these components can be achieved via a communication bus. The memory 1002 may be a high speed RAM memory or a stable memory (non-volatile) Memory), such as disk storage. The memory 1002 can also optionally be a storage device independent of the aforementioned processor 1001.
可选地,移动终端还可以包括用户接口、网络接口、摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。用户接口可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口还可以包括标准的有线接口、无线接口。网络接口可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Optionally, the mobile terminal may further include a user interface, a network interface, a camera, and an RF (Radio) Frequency, RF) circuits, sensors, audio circuits, WiFi modules, and more. The user interface may include a display, an input unit such as a keyboard, and the optional user interface may also include a standard wired interface, a wireless interface. The network interface can optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
本领域技术人员可以理解,图5中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 5 does not constitute a limitation of the mobile terminal, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
如图5所示,作为一种计算机存储介质的存储器1002中可以包括操作系统以及应用程序主题色调调节的程序。其中,操作系统是管理和移动终端的硬件与软件资源的程序,支持应用程序主题色调调节的程序及其他软件或程序的运行。As shown in FIG. 5, a memory 1002 as a computer storage medium may include an operating system and a program theme tone adjustment program. Among them, the operating system is a program for managing hardware and software resources of the mobile terminal, and supports the operation of the application theme tone adjustment program and other software or programs.
在图5所示的移动终端中,处理器1001可以用于执行存储器1002中存储的应用程序主题色调调节的程序,以实现以下步骤:In the mobile terminal shown in FIG. 5, the processor 1001 may be configured to execute a program for adjusting the theme theme tone stored in the memory 1002 to implement the following steps:
根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;Displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command;
当在所述色调调节界面接收到选中的待更换色调指令时,在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板;When receiving the selected to-be-changed hue command on the hue adjustment interface, displaying a preview image of the application theme after changing the hue and a palette for selecting the hue on the display interface;
当接收到保存指令时,对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调。When the save instruction is received, a replacement operation is performed on the application theme color tone, and the color tone of the application theme is replaced with the selected color tone.
进一步地,处理器1001还可以执行存储器1002中存储的应用程序主题色调调节的程序,以实现以下步骤:Further, the processor 1001 may further execute a program of application theme tone adjustment stored in the memory 1002 to implement the following steps:
当接收到取消指令,或在预设时间内,没有接收到保存指令,则不更换所述应用程序主题的色调。When a cancel command is received, or a save command is not received within a preset time, the hue of the application theme is not replaced.
进一步地,处理器1001还可以执行存储器1002中存储的应用程序主题色调调节的程序,以实现以下步骤:Further, the processor 1001 may further execute a program of application theme tone adjustment stored in the memory 1002 to implement the following steps:
对移动终端桌面进行分块处理,将所述移动终端桌面划分为多个区域,并计算移动终端桌面各个区域与调色板上各种色调的色差;Performing a block processing on the desktop of the mobile terminal, dividing the desktop of the mobile terminal into a plurality of regions, and calculating a color difference between each region of the desktop of the mobile terminal and various tones on the palette;
根据计算得到的色差调整调色板上各种色调的位置,并将调整位置后的调色板在色调调节界面进行显示。The positions of the various tones on the palette are adjusted according to the calculated color difference, and the palette after the adjustment position is displayed on the tone adjustment interface.
进一步地,处理器1001还可以执行存储器1002中存储的应用程序主题色调调节的程序,以实现以下步骤:Further, the processor 1001 may further execute a program of application theme tone adjustment stored in the memory 1002 to implement the following steps:
获取所述移动终端桌面;Obtaining the mobile terminal desktop;
获取所述移动终端桌面的像素值; Obtaining a pixel value of the desktop of the mobile terminal;
根据所述移动终端桌面的像素值将所述移动终端桌面划分为多个区域。The mobile terminal desktop is divided into a plurality of regions according to pixel values of the mobile terminal desktop.
进一步地,处理器1001还可以执行存储器1002中存储的应用程序主题色调调节的程序,以实现以下步骤:Further, the processor 1001 may further execute a program of application theme tone adjustment stored in the memory 1002 to implement the following steps:
获取预设的应用程序主题历史色调存放位置;Get the preset application theme history color storage location;
将更换前的所述应用程序主题的色调保存至所述存放位置。The color tone of the application theme before replacement is saved to the storage location.
本发明移动终端的具体实施例与上述应用程序主题色调调节的方法各实施例基本相同,在此不作赘述。The specific embodiment of the mobile terminal of the present invention is substantially the same as the embodiment of the method for adjusting the color tone of the application theme, and details are not described herein.
本发明进一步提供一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现以下步骤:The invention further provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the following steps:
根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;Displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command;
当在所述色调调节界面接收到选中的待更换色调指令时,在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板;When receiving the selected to-be-changed hue command on the hue adjustment interface, displaying a preview image of the application theme after changing the hue and a palette for selecting the hue on the display interface;
当接收到保存指令时,对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调。When the save instruction is received, a replacement operation is performed on the application theme color tone, and the color tone of the application theme is replaced with the selected color tone.
进一步地,所述一个或者多个程序可被所述一个或者多个处理器执行,还实现以下步骤:Further, the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
当接收到取消指令,或在预设时间内,没有接收到保存指令,则不更换所述应用程序主题的色调。When a cancel command is received, or a save command is not received within a preset time, the hue of the application theme is not replaced.
进一步地,所述一个或者多个程序可被所述一个或者多个处理器执行,还实现以下步骤:Further, the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
对移动终端桌面进行分块处理,将所述移动终端桌面划分为多个区域,并计算移动终端桌面各个区域与调色板上各种色调的色差;Performing a block processing on the desktop of the mobile terminal, dividing the desktop of the mobile terminal into a plurality of regions, and calculating a color difference between each region of the desktop of the mobile terminal and various tones on the palette;
根据计算得到的色差调整调色板上各种色调的位置,并将调整位置后的调色板在色调调节界面进行显示。The positions of the various tones on the palette are adjusted according to the calculated color difference, and the palette after the adjustment position is displayed on the tone adjustment interface.
进一步地,所述一个或者多个程序可被所述一个或者多个处理器执行,还实现以下步骤:Further, the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
获取所述移动终端桌面;Obtaining the mobile terminal desktop;
获取所述移动终端桌面的像素值; Obtaining a pixel value of the desktop of the mobile terminal;
根据所述移动终端桌面的像素值将所述移动终端桌面划分为多个区域。The mobile terminal desktop is divided into a plurality of regions according to pixel values of the mobile terminal desktop.
进一步地,所述一个或者多个程序可被所述一个或者多个处理器执行,还实现以下步骤:Further, the one or more programs may be executed by the one or more processors, and the following steps are also implemented:
获取预设的应用程序主题历史色调存放位置;Get the preset application theme history color storage location;
将更换前的所述应用程序主题的色调保存至所述存放位置。The color tone of the application theme before replacement is saved to the storage location.
本发明计算机可读存储介质的具体实施例与上述应用程序主题色调调节的方法和移动终端各实施例基本相同,在此不作赘述。The specific embodiment of the computer readable storage medium of the present invention is substantially the same as the method for adjusting the color tone of the application theme and the embodiment of the mobile terminal, and details are not described herein.
还需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is also to be understood that the term "comprises", "comprising", or any other variants thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a And also includes other elements not explicitly listed, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods of various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种应用程序主题色调调节的方法,应用于移动终端,其特征在于,所述方法包括以下步骤: A method for applying theme tone adjustment to a mobile terminal, characterized in that the method comprises the following steps:
    根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;Displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command;
    当在所述色调调节界面接收到选中的待更换色调指令时,在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板;When receiving the selected to-be-changed hue command on the hue adjustment interface, displaying a preview image of the application theme after changing the hue and a palette for selecting the hue on the display interface;
    当接收到保存指令时,对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调。When the save instruction is received, a replacement operation is performed on the application theme color tone, and the color tone of the application theme is replaced with the selected color tone.
  2. 如权利要求1所述的应用程序主题色调调节的方法,其特征在于,所述在所述显示界面显示更换色调后的应用程序主题的预览图及选择调色调的色板的步骤之后,还包括:The method for adjusting the color of an application theme according to claim 1, wherein after the step of displaying the preview of the application theme after the color tone is replaced and the step of selecting the color grading palette, the display interface further includes :
    当接收到取消指令,或在预设时间内,没有接收到保存指令,则不更换所述应用程序主题的色调。When a cancel command is received, or a save command is not received within a preset time, the hue of the application theme is not replaced.
  3. 如权利要求1所述的应用程序主题色调调节的方法,其特征在于,所述根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面的步骤之后,还包括:The method according to claim 1, wherein the step of displaying the tone adjustment interface on the display interface according to the received adjustment application theme tone command further comprises:
    对移动终端桌面进行分块处理,将所述移动终端桌面划分为多个区域,并计算移动终端桌面各个区域与调色板上各种色调的色差;Performing a block processing on the desktop of the mobile terminal, dividing the desktop of the mobile terminal into a plurality of regions, and calculating a color difference between each region of the desktop of the mobile terminal and various tones on the palette;
    根据计算得到的色差调整调色板上各种色调的位置,并将调整位置后的调色板在色调调节界面进行显示。The positions of the various tones on the palette are adjusted according to the calculated color difference, and the palette after the adjustment position is displayed on the tone adjustment interface.
  4. 如权利要求3所述的应用程序主题色调调节的方法,其特征在于,所述对移动终端桌面进行分块处理的步骤包括:The method of claim color tone adjustment according to claim 3, wherein the step of performing block processing on the mobile terminal desktop comprises:
    获取所述移动终端桌面;Obtaining the mobile terminal desktop;
    获取所述移动终端桌面的像素值; Obtaining a pixel value of the desktop of the mobile terminal;
    根据所述移动终端桌面的像素值将所述移动终端桌面划分为多个区域。The mobile terminal desktop is divided into a plurality of regions according to pixel values of the mobile terminal desktop.
  5. 如权利要求1-4任一项所述的应用程序主题色调调节的方法,其特征在于,所述将所述应用程序主题的色调更换为选中的色调的步骤之后,还包括:The method for adjusting the tone of the application theme according to any one of claims 1 to 4, wherein after the step of replacing the color tone of the application theme with the selected color tone, the method further comprises:
    获取预设的应用程序主题历史色调存放位置;Get the preset application theme history color storage location;
    将更换前的所述应用程序主题的色调保存至所述存放位置。The color tone of the application theme before replacement is saved to the storage location.
  6. 一种移动终端,其特征在于,所述移动终端包括处理器及存储器,所述存储器中存储有应用程序主题色调调节的程序;所述处理器用于执行所述应用程序主题色调调节的程序,以实现以下步骤:A mobile terminal, comprising: a processor and a memory, wherein the memory stores a program for tone adjustment of an application theme; and the processor is configured to execute a program for tone adjustment of the theme of the application, Implement the following steps:
    根据接收到的调节应用程序主题色调指令在显示界面显示色调调节界面;Displaying a tone adjustment interface on the display interface according to the received adjustment application theme tone command;
    当在所述色调调节界面接收到选中的待更换色调指令时,在所述显示界面显示更换色调后的应用程序主题的预览图及选择色调的调色板;When receiving the selected to-be-changed hue command on the hue adjustment interface, displaying a preview image of the application theme after changing the hue and a palette for selecting the hue on the display interface;
    当接收到保存指令时,对所述应用程序主题色调执行更换操作,将所述应用程序主题的色调更换为选中的色调。When the save instruction is received, a replacement operation is performed on the application theme color tone, and the color tone of the application theme is replaced with the selected color tone.
  7. 如权利要求6所述的移动终端,其特征在于,所述处理器还用于执行所述应用程序主题色调调节的程序,以实现以下步骤:The mobile terminal of claim 6, wherein the processor is further configured to execute the program theme tone adjustment program to implement the following steps:
    当接收到取消指令,或在预设时间内,没有接收到保存指令,则不更换所述应用程序主题的色调。When a cancel command is received, or a save command is not received within a preset time, the hue of the application theme is not replaced.
  8. 如权利要求7所述的移动终端,其特征在于,所述处理器还用于执行所述应用程序主题色调调节的程序,以实现以下步骤:The mobile terminal of claim 7, wherein the processor is further configured to execute the program theme tone adjustment program to implement the following steps:
    对移动终端桌面进行分块处理,将所述移动终端桌面划分为多个区域,并计算移动终端桌面各个区域与调色板上各种色调的色差;Performing a block processing on the desktop of the mobile terminal, dividing the desktop of the mobile terminal into a plurality of regions, and calculating a color difference between each region of the desktop of the mobile terminal and various tones on the palette;
    根据计算得到的色差调整调色板上各种色调的位置,并将调整位置后的调色板在色调调节界面进行显示。The positions of the various tones on the palette are adjusted according to the calculated color difference, and the palette after the adjustment position is displayed on the tone adjustment interface.
  9. 如权利要求8所述的移动终端,其特征在于,所述处理器还用于执行所述应用程序主题色调调节的程序,以实现以下步骤:The mobile terminal of claim 8, wherein the processor is further configured to execute the program theme tone adjustment program to implement the following steps:
    获取所述移动终端桌面;Obtaining the mobile terminal desktop;
    获取所述移动终端桌面的像素值; Obtaining a pixel value of the desktop of the mobile terminal;
    根据所述移动终端桌面的像素值将所述移动终端桌面划分为多个区域。The mobile terminal desktop is divided into a plurality of regions according to pixel values of the mobile terminal desktop.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有应用程序主题色调调节的程序,所述应用程序主题色调调节的程序被处理器执行时实现如权利要求1至5中任一项所述的应用程序主题色调调节的方法的步骤。 A computer readable storage medium, wherein the computer readable storage medium stores a program for applying theme color tone adjustment, and the application theme color tone adjustment program is executed by the processor to implement the claim 1 The method of the method of applying theme tone adjustment according to any of the preceding claims.
PCT/CN2017/099070 2017-08-25 2017-08-25 Method for adjusting theme tone of application program, mobile terminal and readable storage medium WO2019037089A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/099070 WO2019037089A1 (en) 2017-08-25 2017-08-25 Method for adjusting theme tone of application program, mobile terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/099070 WO2019037089A1 (en) 2017-08-25 2017-08-25 Method for adjusting theme tone of application program, mobile terminal and readable storage medium

Publications (1)

Publication Number Publication Date
WO2019037089A1 true WO2019037089A1 (en) 2019-02-28

Family

ID=65439762

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099070 WO2019037089A1 (en) 2017-08-25 2017-08-25 Method for adjusting theme tone of application program, mobile terminal and readable storage medium

Country Status (1)

Country Link
WO (1) WO2019037089A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158832A (en) * 2019-12-31 2020-05-15 中国银行股份有限公司 Theme skin changing method and device for mobile banking application

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110145742A1 (en) * 2004-06-22 2011-06-16 Imran Chaudhri Color labeling in a graphical user interface
WO2012055762A1 (en) * 2010-10-27 2012-05-03 International Business Machines Corporation A method, computer program and system for multi-desktop management
CN103870155A (en) * 2014-02-21 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104598102A (en) * 2014-12-30 2015-05-06 西安乾易企业管理咨询有限公司 Method for distinguishing application use priority
CN104978189A (en) * 2015-06-19 2015-10-14 深圳天珑无线科技有限公司 Method, device and mobile terminal for changing text color of application description
CN105117098A (en) * 2015-08-07 2015-12-02 深圳市金立通信设备有限公司 Icon management method and terminal
CN106201216A (en) * 2016-07-26 2016-12-07 惠州Tcl移动通信有限公司 The display packing of a kind of self-defined desktop icons and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110145742A1 (en) * 2004-06-22 2011-06-16 Imran Chaudhri Color labeling in a graphical user interface
WO2012055762A1 (en) * 2010-10-27 2012-05-03 International Business Machines Corporation A method, computer program and system for multi-desktop management
CN103870155A (en) * 2014-02-21 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN104598102A (en) * 2014-12-30 2015-05-06 西安乾易企业管理咨询有限公司 Method for distinguishing application use priority
CN104978189A (en) * 2015-06-19 2015-10-14 深圳天珑无线科技有限公司 Method, device and mobile terminal for changing text color of application description
CN105117098A (en) * 2015-08-07 2015-12-02 深圳市金立通信设备有限公司 Icon management method and terminal
CN106201216A (en) * 2016-07-26 2016-12-07 惠州Tcl移动通信有限公司 The display packing of a kind of self-defined desktop icons and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158832A (en) * 2019-12-31 2020-05-15 中国银行股份有限公司 Theme skin changing method and device for mobile banking application
CN111158832B (en) * 2019-12-31 2024-05-24 中国银行股份有限公司 Theme skin changing method and device for mobile phone banking application

Similar Documents

Publication Publication Date Title
WO2016080733A1 (en) Electronic device for identifying peripheral apparatus and method thereof
WO2015041438A1 (en) Method for screen mirroring and source device thereof
WO2013081303A1 (en) Method and system for providing user interface for device control
WO2018201773A1 (en) Cell page rendering method, apparatus, server, and readable storage medium
WO2019114553A1 (en) Air conditioner, control method and device therefor, and storage medium
EP3304922A1 (en) Image displaying apparatus and method of operating the same
WO2017057960A1 (en) Electronic device and method for controlling the same
WO2018166199A1 (en) Method for adjusting precision level of positioning, device, storage medium and electronic device
WO2015041436A1 (en) Method of managing control right, client device therefor, and master device therefor
WO2018076865A1 (en) Data sharing method, device, storage medium, and electronic device
WO2014089970A1 (en) Method and device for arranging display terminal icons
WO2020062616A1 (en) Method and apparatus for regulating gamma value of display panel, and display device
WO2016159654A1 (en) System and method for providing widget
WO2017078423A1 (en) Electronic device and method for controlling display thereof
WO2017131348A1 (en) Electronic apparatus and controlling method thereof
WO2019051898A1 (en) Device control method and apparatus, and computer readable storage medium
WO2018201774A1 (en) Data approval method, apparatus, device, and computer readable storage medium
WO2017069551A1 (en) Image displaying apparatus and method of operating the same
WO2016167610A1 (en) Portable terminal capable of controlling brightness thereof, and brightness control method for same
WO2020052247A1 (en) Network-resource batch loading method, smart tv, storage medium, and device
WO2018161601A1 (en) Screen backlight adjusting method, device, storage medium and electronic device
WO2020062615A1 (en) Gamma value adjustment method and apparatus for display panel, and display device
WO2019156408A1 (en) Electronic device and operation method thereof
EP3329660A1 (en) Network apparatus, server, and control methods thereof
WO2019114565A1 (en) Air conditioner adjusting method and device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17922346

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17922346

Country of ref document: EP

Kind code of ref document: A1