CN114647354A - Processing method of reading setting items, electronic equipment and computer storage medium - Google Patents

Processing method of reading setting items, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN114647354A
CN114647354A CN202210301235.9A CN202210301235A CN114647354A CN 114647354 A CN114647354 A CN 114647354A CN 202210301235 A CN202210301235 A CN 202210301235A CN 114647354 A CN114647354 A CN 114647354A
Authority
CN
China
Prior art keywords
color
setting item
reading setting
background
preset
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210301235.9A
Other languages
Chinese (zh)
Inventor
杨树彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhangyue Technology Co Ltd
Original Assignee
Zhangyue Technology Co Ltd
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 Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN202210301235.9A priority Critical patent/CN114647354A/en
Publication of CN114647354A publication Critical patent/CN114647354A/en
Pending legal-status Critical Current

Links

Images

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
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/025Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application
    • G06F15/0291Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators adapted to a specific application for reading, e.g. e-books
    • 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
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a reading setting item processing method, electronic equipment and a computer storage medium. The method comprises the following steps: identifying a first color of the first reading setting item in response to a setting operation for the first reading setting item; determining a second color with the contrast ratio of the first color in a preset contrast ratio range; displaying the recommended information of the second reading setting item in the second color; wherein, the first reading setting item is a background, and the second reading setting item is a font color; or the first reading setting item is font color, and the second reading setting item is background. The scheme can realize the linkage setting of the background and the font color, thereby simplifying the setting operation of a user and improving the setting efficiency; and the contrast between the background color and the font color recommended by the scheme is within the preset contrast range, so that the definition of the font displayed in the background is guaranteed, the display effect of the reading page is improved, and the user experience is improved.

Description

Processing method of reading setting items, electronic equipment and computer storage medium
Technical Field
The invention relates to the technical field of information display, in particular to a reading setting item processing method, electronic equipment and a computer storage medium.
Background
With the continuous development of science and technology and society, electronic books are favored by readers due to the characteristics of energy conservation, environmental protection, various forms, low price and the like. In order to improve user experience and meet reading requirements of users, many electronic book products provide reading setting items such as backgrounds and font colors for users.
However, the inventor finds that the following defects exist in the prior art in the implementation process: in the prior art, the setting processes of the background and the font color are mutually independent, and a user needs to select the background and the font color respectively. By adopting the mode, on one hand, the defects of complicated setting process and low setting efficiency of a user exist; on the other hand, the display effect of the reading page obtained based on the background and font color set by the user is poor, and the user experience is poor.
Disclosure of Invention
In view of the above, the present invention has been made to provide a reading setting item processing method, an electronic device, and a computer storage medium that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a reading setting item processing method including:
identifying a first color of the first reading setting item in response to a setting operation for the first reading setting item;
determining a second color with the contrast ratio of the first color in a preset contrast ratio range;
displaying the recommended information of the second reading setting item in the second color;
the first reading setting item is a background, and the second reading setting item is a font color; or the first reading setting item is font color, and the second reading setting item is background.
According to another aspect of the present invention, there is provided an electronic apparatus including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
identifying a first color of the first reading setting item in response to a setting operation for the first reading setting item;
determining a second color with the contrast of the first color in a preset contrast range;
displaying the recommended information of the second reading setting item in the second color;
the first reading setting item is a background, and the second reading setting item is a font color; or the first reading setting item is font color, and the second reading setting item is background.
According to still another aspect of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the processing method of reading the setting item.
In the invention, in response to a setting operation for a first reading setting item, a first color of the first reading setting item is identified; determining a second color with the contrast ratio of the first color in a preset contrast ratio range; displaying the recommended information of the second reading setting item in the second color; wherein, the first reading setting item is a background, and the second reading setting item is a font color; or the first reading setting item is font color, and the second reading setting item is background. Therefore, the invention can realize the linkage setting of the background and the font color, thereby simplifying the setting operation of a user and improving the setting efficiency; in addition, the contrast between the recommended background color and the font color is in the preset contrast range, so that the display definition of the font in the background is guaranteed, the display effect of the reading page is improved, and the user experience is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flow chart illustrating a processing method for reading setting items according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a processing method for reading setting items according to a second embodiment of the present invention;
FIG. 3 illustrates a preview provided by the second embodiment of the present invention;
fig. 4 is a flowchart illustrating a processing method for reading setting items according to a third embodiment of the present invention;
FIG. 5 is a preview provided by a third embodiment of the present invention;
fig. 6 is a flowchart illustrating a processing method for reading setting items according to a fourth embodiment of the present invention;
fig. 7 shows a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Example one
Fig. 1 is a flowchart illustrating a processing method for reading a setting item according to an embodiment of the present invention. The processing method of the reading setting item provided by the embodiment of the invention can be applied to electronic equipment with reading function, such as readers, mobile phones, computers, tablets, intelligent wearable equipment and the like.
In the embodiment of the invention, the linkage setting of the second reading setting item is realized by setting operation of a user aiming at the first reading setting item. When the first reading setting item is a background, the second reading setting item is a font color; and when the first reading setting item is the font color, the second reading setting item is the background.
As shown in fig. 1, the method comprises the steps of:
step S110, in response to the setting operation for the first reading setting item, identifies a first color of the first reading setting item.
The user can set the first reading setting item through corresponding operations, such as a click operation, a preset gesture operation or a voice control operation. After setting, the color of the first reading setting item set by the user is identified, and the color is the first color.
Step S120, determining a second color with a contrast ratio to the first color within a preset contrast ratio range.
After the first color of the first setting item is determined, a second color having a high contrast with the first color is determined. And the contrast of the first color and the second color is in a preset contrast range. The preset contrast range may be set by a developer, or may be determined in the following manner.
In an optional embodiment, a current ambient brightness parameter is obtained in advance, and a preset contrast range is determined according to the ambient brightness parameter. The starting value and/or the ending value of the preset contrast range are positively correlated to the ambient brightness parameters, namely the ambient brightness parameters are different, the preset contrast range is different, the higher the ambient brightness parameter is, the higher the starting value and/or the ending value of the preset contrast range is, and the contrast between the determined second color and the first color is high; conversely, the lower the ambient brightness parameter is, the lower the start value and/or the end value of the preset contrast range is, whereby the contrast of the second color with the first color is lower when the ambient brightness parameter is low than when the ambient brightness parameter is high. Further optionally, the current ambient brightness parameter may be determined in a manner including, but not limited to, one or more of the following manners:
the first determining method is to obtain brightness data acquired by a current system brightness sensor and determine a current environment brightness parameter according to the brightness data. In the determination mode, the ambient brightness parameter is determined by directly utilizing the brightness data of the system brightness sensor, so that the determined current ambient brightness parameter can be more matched with the current actual brightness.
And determining a second mode, namely acquiring the brightness setting parameter set by the current user, and determining the current environment brightness parameter according to the brightness setting parameter. In practical implementation, many electronic book products (e.g., electronic book applications, electronic book applets, etc.) are also provided with a brightness setting item for a user, and the user can set the brightness during reading in a user-defined manner through the brightness setting item, and can synchronize the brightness during reading with the system brightness. Therefore, in the determining mode, the current environment brightness parameter is determined through the brightness setting parameter set by the user, so that the determined current environment brightness parameter can be matched with the current user requirement, and the personalized requirement of the user is met.
And determining a mode III, namely acquiring the day and night mode parameters set by the current user, and determining the current environment brightness parameters according to the day and night mode parameters. In an actual implementation process, many electronic book products also provide a day and night mode setting item for a user, the user can set the current day mode or night mode, the day mode and the night mode respectively have corresponding environment brightness parameters, and the current environment brightness parameter can be determined according to the mapping relationship between the day and night mode parameter, the day mode and the night mode set by the current user and the environment brightness parameter. The ambient brightness parameter corresponding to the daytime mode is higher than the ambient brightness parameter corresponding to the nighttime mode. According to the determining mode, the current environment brightness parameter is determined through the day and night mode set by the user, on one hand, the determined environment brightness parameter can be matched with the current actual requirement of the user, on the other hand, the determining process of the environment brightness parameter is simplified, and the determining efficiency of the environment brightness parameter is improved.
In addition, the above determination methods may also be applied in combination. For example, the environmental brightness parameter corresponding to the day and night mode parameter set by the user may be determined by the third determination mode, and then the result of the third determination mode is finely adjusted by the second determination mode, so as to finally obtain the current environmental brightness parameter, so that the determined environmental brightness parameter better meets the current actual requirement.
After the preset contrast range is determined, a second color with the contrast of the first color in the preset contrast range is further determined. In the determination process, specifically, the contrast between each candidate color and the first color is calculated, and one or more candidate colors satisfying the preset contrast range are used as the second color, for example, a candidate color satisfying the preset contrast range and having the highest contrast with the first color may be used as the second color.
In an optional implementation mode, many electronic book products can provide eyeshield mode setting item for the user for promoting user experience, and after the eyeshield mode was opened, the blue light in the display page can be filtered to the color processing algorithm that the eyeshield mode corresponds to reach the effect of eyeshield. In the process of determining the second color, the embodiment of the invention specifically identifies whether the eye protection mode is started at present; if so, processing the first color by using a color processing algorithm corresponding to the eye protection mode to obtain a first eye protection color matched with the first color; processing any candidate color by using a color processing algorithm corresponding to the eye protection mode to obtain candidate eye protection colors matched with the candidate colors; screening target candidate eye protection colors with the contrast ratio of the target candidate eye protection colors to the first eye protection color within a preset contrast ratio range from the candidate eye protection colors; and taking the candidate color corresponding to the target candidate eye protection color as the second color. From this, first colour is first eyeshield colour under the eyeshield mode, and the second colour is target candidate eyeshield colour under the eyeshield mode, and the contrast of first eyeshield colour and target candidate eyeshield colour is in the preset contrast scope, therefore first colour and second colour have higher contrast under the eyeshield mode to page display effect under the guarantee eyeshield mode.
In yet another alternative embodiment, some electronic book products also provide different color system modes for the user, including but not limited to: dark mode, light mode, and molandy mode, etc. In the implementation process of the embodiment of the invention, the currently opened color system mode is specifically identified, and the color system mode is the target color system mode; further determining a color set corresponding to the target color system mode, wherein the color sets corresponding to different color system modes are different, and each color set comprises at least one color; finally, a second color with a contrast ratio with the first color in a preset contrast ratio range is determined from the color set. In this embodiment, the second color is obtained from the color set corresponding to the currently activated color system mode, so that on one hand, the obtaining efficiency of the second color is improved, and on the other hand, the page display effect is improved.
As a further alternative, the target color system mode includes, but is not limited to, the following:
and a first determination mode is that the currently started target color system mode is identified based on user setting operation. In the determination mode, the user sets the target color system mode by himself, so that the flexibility of operation of the user is improved.
And a second determination mode, acquiring user history data, determining the color system mode preferred by the user based on the user history data, and taking the color system mode preferred by the user as a target color system mode. The user history data is obtained under the condition of user authorization, and is limited to the user history data in the electronic book application and is only used for determining the color system mode of the user. In the determination mode, the target color system mode preferred by the user is automatically determined and started through analysis of the historical data of the user, so that the user operation is simplified, and the user experience is improved.
And step S130, displaying the second reading setting item as the recommendation information of the second color.
And after the second color is determined, recommending the second reading setting item to the user as recommendation information of the second color so that the user can set the second reading setting item directly based on the recommendation information, thereby simplifying the user setting operation.
In addition, in an optional implementation manner, historical usage records of the first reading setting item and the second reading setting item can be obtained, and user color combination preference is obtained according to the historical usage records; and acquiring a third color matched with the first color based on the color combination preference of the user, and displaying the recommendation information of the third color of the second reading setting item. For example, through the historical usage record analysis of the first reading setting item and the second reading setting item, if it is determined that the color combination of the first reading setting item and the second reading setting item is the longest usage time of black and white, it is determined that the user prefers the color combination of black and white, and then the mapping relationship between black and white is established. When the first color is determined to be black, the color mapped to the black is determined to be white based on the mapping relation, so that the color is used as the third color, and the recommendation information of the second reading setting item is displayed as the third color, so that the user experience is improved.
Therefore, the embodiment of the invention can realize the linkage setting of the background and the font color, thereby simplifying the setting operation of a user and improving the setting efficiency; in addition, the contrast between the background and the font color recommended by the embodiment of the invention is in the preset contrast range, so that the display definition of the font in the background is ensured, the display effect of the reading page is improved, and the user experience is improved.
Example two
Fig. 2 is a flowchart illustrating a processing method for reading setting items according to a second embodiment of the present invention. In the embodiment of the present invention, specifically, the linkage setting of the font color is realized based on the setting of the user for the background, that is, in the embodiment of the present invention, the first reading setting item is the background, and the second reading setting item is the font color.
As shown in fig. 2, the method comprises the steps of:
step S210, in response to a setting operation for setting a preset picture as a background, a preset picture is divided into a plurality of picture blocks based on color distribution in the preset picture, and a first color of a picture block is identified for any picture block.
In the embodiment of the invention, besides the pure color background, the user can set the preset picture as the background. Therefore, after the setting operation of setting the preset picture as the background is detected, the preset picture is obtained, the color distribution of the preset picture is analyzed, and finally the preset picture is divided into a plurality of picture blocks by adopting a preset division algorithm. The preset segmentation algorithm may be an edge detection algorithm, a color threshold segmentation algorithm, and/or a watershed segmentation algorithm, etc.
Further, for any divided picture block, the theme color of the picture block is extracted, and the theme color of the picture block is used as the first color of the picture block. The embodiment of the present invention does not limit the specific theme color extraction algorithm, and for example, a color quantization algorithm, a clustering algorithm, and/or a color model construction algorithm may be used to extract the theme color.
In step S220, for any picture block, a second color with a contrast ratio with the first color of the picture block in a preset contrast ratio range is determined.
Each picture block has a first color, and second colors corresponding to the first colors are determined respectively based on a preset contrast range, so that the second colors corresponding to the picture blocks are determined.
Step S230, displaying a preview image with the preset image as a background and fonts of the second colors as foregrounds; and aiming at any picture block in the background of the preview image, the font color displayed on the picture block is consistent with the second color corresponding to the picture block.
As shown in fig. 3, the default picture is divided into picture blocks 31 and 32, and the preview background includes the picture blocks 31 and 32. Wherein the first color of the picture block 31 is white, and the second color is black, so that the font color displayed on the picture block 31 is black; the first color of the picture section 32 is black and the second color is white, so that the font color displayed on the picture section 32 is white.
Therefore, the embodiment of the invention can realize the linkage setting of the font color based on the setting of the user for the background, thereby simplifying the setting operation of the user and improving the setting efficiency; in addition, the contrast between the background color and the font color recommended by the embodiment of the invention is in the preset contrast range, so that the display definition of the font in the background is ensured, the display effect of the reading page is improved, and the user experience is improved.
In addition, in the embodiment of the invention, under the condition that the user sets the preset picture as the background, the preset picture is divided to obtain a plurality of picture blocks, and the first color and the corresponding second color of each picture block are respectively determined, so that the font matched with the corresponding second color is displayed in each picture block of the preview picture background, and the page display effect is improved.
EXAMPLE III
Fig. 4 is a flowchart illustrating a processing method for reading setting items according to a third embodiment of the present invention. In the embodiment of the present invention, specifically, the linkage setting of the font color is realized based on the setting of the user for the background, that is, in the embodiment of the present invention, the first reading setting item is the background, and the second reading setting item is the font color.
As shown in fig. 4, the method includes the steps of:
step S410, in response to a setting operation for setting the preset picture as the background, identifying the theme color of the preset picture, and using the theme color of the preset picture as the first color of the preset picture.
In the embodiment of the invention, besides the pure color background, the user can set the preset picture as the background. Therefore, after the setting operation of setting the preset picture as the background is detected, the preset picture is obtained, the theme color of the preset picture is extracted by adopting a corresponding theme color extraction algorithm, and the theme color of the preset picture is used as the first color of the preset picture. The embodiment of the present invention does not limit the specific theme color extraction algorithm, and for example, a color quantization algorithm, a clustering algorithm, and/or a color model construction algorithm may be used to extract the theme color.
In step S420, a second color with a contrast ratio to the first color in a preset contrast ratio range is determined.
Step S430, displaying a font with the background being a preset picture and the foreground being a second color and a preview with the middle layer being a first color; wherein the intermediate layer is an intermediate layer located between the background and the foreground.
As shown in fig. 5, the preview includes a background 51, an intermediate layer 52, and a foreground font 53. The background 51 is specifically a preset image, the intermediate layer 52 is located above the background 51 and below the foreground font 53, the size of the intermediate layer 52 is larger than the foreground font 53 and smaller than the background 51, the color of the intermediate layer is a first color corresponding to the preset image, and the color of the foreground font 53 is a second color.
Therefore, the embodiment of the invention can realize the linkage setting of the font color based on the setting of the user for the background, thereby simplifying the setting operation of the user and improving the setting efficiency; in addition, the contrast between the background color and the font color recommended by the embodiment of the invention is in the preset contrast range, so that the definition of the font displayed in the background is ensured, the display effect of the reading page is improved, and the user experience is improved.
In addition, in the embodiment of the invention, under the condition that the user sets the preset picture as the background, the middle layer with the color of the first color is set, and the font with the second color is displayed on the middle layer, so that the generation process of the preview picture is simplified, the generation efficiency of the preview picture is improved, and the user experience is improved.
In addition, as an optional implementation manner of the present invention, the second embodiment and the third embodiment may be applied in combination, specifically, in response to a setting operation of setting a preset picture as a background, calculating a color complexity of the preset picture; if the color complexity is less than or equal to the preset threshold, executing the step in the second embodiment; if the color complexity is greater than the preset threshold, the steps in the third embodiment are executed. Therefore, the generation efficiency and the display effect of the recommended preview graph are guaranteed.
Example four
Fig. 6 is a flowchart illustrating a processing method for reading setting items according to a fourth embodiment of the present invention. In the embodiment of the present invention, specifically, the linkage setting of the background is realized based on the setting of the font color by the user, that is, in the embodiment of the present invention, the first reading setting item is the font color, and the second reading setting item is the background.
As shown in fig. 6, the method includes the steps of:
step S610, in response to the setting operation for the font color, identifies a first color of the font color.
And after the setting operation of the user for the font color is monitored, taking the font color set by the user as a first color.
Step S620, a target background with a contrast between the background color and the first color in a preset contrast range is screened from the background library.
The background library stores a plurality of backgrounds in advance, and records the background color of each background. When the background is a pure background, any color in the background is the background color of the background; when the background is a non-solid background, the theme color of the background is used as the background color of the background.
And performing contrast calculation on the background color and the first color of each background in the background library, and taking the background with the contrast between the background color and the first color in a preset contrast range as a target background. In a specific implementation process, a background with the contrast ratio of the background color and the first color in a preset contrast ratio range is screened from a background library in advance, and the background with the maximum contrast ratio of the background color and the first color is selected from the screened backgrounds as a target background.
Step S630, a preview including the target background is displayed.
Therefore, the embodiment of the invention can realize the linkage setting of the background based on the setting of the user aiming at the font color, thereby simplifying the setting operation of the user and improving the setting efficiency; in addition, the contrast between the background color and the font color recommended by the embodiment of the invention is in the preset contrast range, so that the display definition of the font in the background is ensured, the display effect of the reading page is improved, and the user experience is improved.
EXAMPLE five
An embodiment five of the present invention provides a non-volatile computer storage medium, where the computer storage medium stores at least one executable instruction, and the computer executable instruction may execute the method in any of the above method embodiments.
The executable instructions may be specifically configured to cause the processor to:
identifying a first color of the first reading setting item in response to a setting operation for the first reading setting item;
determining a second color with the contrast of the first color in a preset contrast range;
displaying the recommended information of the second reading setting item in the second color;
the first reading setting item is a background, and the second reading setting item is a font color; or the first reading setting item is font color, and the second reading setting item is background.
In an alternative embodiment, the executable instructions may be specifically configured to cause the processor to:
before the contrast of the first color and the second color in a preset contrast range is determined, acquiring a current environment brightness parameter, and determining the preset contrast range according to the environment brightness parameter; wherein the starting value and/or the ending value of the preset contrast range positively correlate to the ambient brightness parameter.
In an alternative embodiment, the executable instructions may be specifically configured to cause the processor to:
acquiring brightness data acquired by a current system brightness sensor, and determining a current environment brightness parameter according to the brightness data;
and/or acquiring a brightness setting parameter set by a current user, and determining a current environment brightness parameter according to the brightness setting parameter;
and/or acquiring a day and night mode parameter set by a current user, and determining a current environment brightness parameter according to the day and night mode parameter.
In an alternative embodiment, the executable instructions cause the processor to:
identifying whether an eye protection mode is started at present;
if yes, processing the first color by using a color processing algorithm corresponding to the eye protection mode to obtain a first eye protection color matched with the first color; and
processing any candidate color by using a color processing algorithm corresponding to the eye protection mode to obtain candidate eye protection colors matched with the candidate colors;
screening target candidate eye protection colors with the contrast ratio of the first eye protection color in a preset contrast ratio range from the candidate eye protection colors;
and taking the candidate color corresponding to the target candidate eye protection color as a second color.
In an alternative embodiment, the executable instructions cause the processor to:
identifying a currently opened target color system mode;
determining a color set corresponding to the target color system mode;
and determining a second color with the contrast ratio of the first color in a preset contrast ratio range from the color set.
In an alternative embodiment, the executable instructions cause the processor to:
identifying a currently started target color system mode based on user setting operation;
or acquiring user history data, determining a color system mode preferred by a user based on the user history data, and taking the color system mode preferred by the user as the target color system mode.
In an alternative embodiment, the executable instructions cause the processor to:
the first reading setting item is a background, and the second reading setting item is a font color;
in response to a setting operation for setting a preset picture as a background, dividing the preset picture into a plurality of picture blocks based on color distribution in the preset picture; for any picture block, identifying a first color of the picture block;
for any picture block, determining a second color with the contrast of the first color of the picture block in a preset contrast range;
displaying a preview image with the preset image as a background and fonts of the second colors as foregrounds; and aiming at any picture block in the preview image background, the font color displayed on the picture block is consistent with the second color corresponding to the picture block.
In an alternative embodiment, the executable instructions cause the processor to:
the first reading setting item is a background, and the second reading setting item is a font color;
in response to a setting operation for setting a preset picture as a background, identifying a theme color of the preset picture, and taking the theme color of the preset picture as a first color of the preset picture;
displaying a font with the background being the preset picture and the foreground being the second color and a preview with the middle layer being the first color; wherein the intermediate layer is an intermediate layer located between the background and the foreground.
In an alternative embodiment, the executable instructions cause the processor to:
the first reading setting item is font color, and the second reading setting item is background;
identifying a first color of the font colors in response to a setting operation for the font colors;
screening out a target background with the contrast ratio of the background color and the first color within a preset contrast ratio range from a background library;
a preview image is shown that includes the target background.
In an alternative embodiment, the executable instructions cause the processor to:
acquiring historical use records of a first reading setting item and a second reading setting item, and acquiring user color combination preference according to the historical use records;
and acquiring a third color matched with the first color based on the user color combination preference, and displaying recommendation information of a second reading setting item as the third color.
Therefore, the embodiment of the invention can realize the linkage setting of the background and the font color, thereby simplifying the setting operation of a user and improving the setting efficiency; in addition, the contrast between the background and the font color recommended by the embodiment of the invention is in the preset contrast range, so that the display definition of the font in the background is ensured, the display effect of the reading page is improved, and the user experience is improved.
EXAMPLE six
Fig. 7 shows a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention. The specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 7, the electronic device may include: a processor (processor)702, a Communications Interface 704, a memory 706, and a communication bus 708.
Wherein: the processor 702, communication interface 704, and memory 706 communicate with each other via a communication bus 708. A communication interface 704 for communicating with network elements of other devices, such as clients or other servers. The processor 702 is configured to execute the program 710, and may specifically execute the relevant steps in the foregoing method embodiments.
In particular, the program 710 may include program code that includes computer operating instructions.
The processor 702 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The electronic device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
The memory 706 stores a program 710. The memory 706 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 710 may specifically be used to cause the processor 702 to perform the following operations:
identifying a first color of the first reading setting item in response to a setting operation for the first reading setting item;
determining a second color with the contrast of the first color in a preset contrast range;
displaying the recommended information of the second reading setting item in the second color;
the first reading setting item is a background, and the second reading setting item is a font color; or the first reading setting item is font color, and the second reading setting item is background.
In an alternative embodiment, the program 710 may be specifically configured to cause the processor 702 to perform the following operations:
before the contrast of the first color and the second color in a preset contrast range is determined, acquiring a current environment brightness parameter, and determining the preset contrast range according to the environment brightness parameter; wherein the starting value and/or the ending value of the preset contrast range positively correlate to the ambient brightness parameter.
In an alternative embodiment, the program 710 may be specifically configured to cause the processor 702 to perform the following operations:
acquiring brightness data acquired by a current system brightness sensor, and determining a current environment brightness parameter according to the brightness data;
and/or acquiring a brightness setting parameter set by a current user, and determining a current environment brightness parameter according to the brightness setting parameter;
and/or acquiring a day and night mode parameter set by a current user, and determining a current environment brightness parameter according to the day and night mode parameter.
In an alternative embodiment, the program 710 may be specifically configured to cause the processor 702 to perform the following operations:
identifying whether an eye protection mode is started at present;
if yes, processing the first color by using a color processing algorithm corresponding to the eye protection mode to obtain a first eye protection color matched with the first color; and
processing any candidate color by using a color processing algorithm corresponding to the eye protection mode to obtain candidate eye protection colors matched with the candidate colors;
screening target candidate eye protection colors with the contrast ratio of the first eye protection color in a preset contrast ratio range from the candidate eye protection colors;
and taking the candidate color corresponding to the target candidate eye protection color as a second color.
In an alternative embodiment, the program 710 may be specifically configured to cause the processor 702 to perform the following operations:
identifying a currently opened target color system mode;
determining a color set corresponding to the target color system mode;
and determining a second color with the contrast ratio of the first color in a preset contrast ratio range from the color set.
In an alternative embodiment, the program 710 may be specifically configured to cause the processor 702 to perform the following operations:
identifying a currently started target color system mode based on user setting operation;
or acquiring user history data, determining a color system mode preferred by a user based on the user history data, and taking the color system mode preferred by the user as the target color system mode.
In an alternative embodiment, the program 710 may be specifically configured to cause the processor 702 to perform the following operations:
the first reading setting item is a background, and the second reading setting item is a font color;
in response to a setting operation for setting a preset picture as a background, dividing the preset picture into a plurality of picture blocks based on color distribution in the preset picture; for any picture block, identifying a first color of the picture block;
for any picture block, determining a second color of which the contrast with the first color of the picture block is in a preset contrast range;
displaying a preview image with the preset image as a background and fonts of the second colors as foregrounds; and aiming at any picture block in the preview image background, the font color displayed on the picture block is consistent with the second color corresponding to the picture block.
In an alternative embodiment, the program 710 may be specifically configured to cause the processor 702 to perform the following operations:
the first reading setting item is a background, and the second reading setting item is a font color;
in response to a setting operation for setting a preset picture as a background, identifying a theme color of the preset picture, and taking the theme color of the preset picture as a first color of the preset picture;
displaying a font with the background being the preset picture and the foreground being the second color and a preview with the middle layer being the first color; wherein the intermediate layer is an intermediate layer located between the background and the foreground.
In an alternative embodiment, the program 710 may be specifically configured to cause the processor 702 to perform the following operations:
the first reading setting item is font color, and the second reading setting item is background;
identifying a first color of the font colors in response to a setting operation for the font colors;
screening out a target background with the contrast ratio of the background color and the first color within a preset contrast ratio range from a background library;
a preview image is shown that includes the target background.
In an alternative embodiment, the program 710 may be specifically configured to cause the processor 702 to perform the following operations:
acquiring historical use records of a first reading setting item and a second reading setting item, and acquiring user color combination preference according to the historical use records;
and acquiring a third color matched with the first color based on the user color combination preference, and displaying recommendation information of a second reading setting item as the third color.
Therefore, the embodiment of the invention can realize the linkage setting of the background and the font color, thereby simplifying the setting operation of a user and improving the setting efficiency; in addition, the contrast between the background and the font color recommended by the embodiment of the invention is in the preset contrast range, so that the display definition of the font in the background is ensured, the display effect of the reading page is improved, and the user experience is improved.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: rather, the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Moreover, those of skill in the art will appreciate that while some embodiments herein include some features included in other embodiments, not others, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.
The invention discloses: A1. a reading setting item processing method, comprising:
identifying a first color of the first reading setting item in response to a setting operation for the first reading setting item;
determining a second color with the contrast of the first color in a preset contrast range;
displaying the recommended information of the second reading setting item in the second color;
the first reading setting item is a background, and the second reading setting item is a font color; or the first reading setting item is font color, and the second reading setting item is background.
A2. The method of a1, wherein, prior to the determining the second color with the contrast ratio to the first color in a preset contrast ratio range, the method further comprises:
acquiring a current environment brightness parameter, and determining the preset contrast range according to the environment brightness parameter; wherein the starting value and/or the ending value of the preset contrast range positively correlate to the ambient brightness parameter.
A3. The method of a2, wherein the obtaining the current ambient brightness parameter further comprises:
acquiring brightness data acquired by a current system brightness sensor, and determining a current environment brightness parameter according to the brightness data;
and/or acquiring a brightness setting parameter set by a current user, and determining a current environment brightness parameter according to the brightness setting parameter;
and/or acquiring day and night mode parameters set by a current user, and determining the current environment brightness parameters according to the day and night mode parameters.
A4. The method of any of a1-A3, wherein the determining a second color having a contrast with the first color in a preset contrast range further comprises:
identifying whether an eye protection mode is started at present;
if yes, processing the first color by using a color processing algorithm corresponding to the eye protection mode to obtain a first eye protection color matched with the first color; and
processing any candidate color by using a color processing algorithm corresponding to the eye protection mode to obtain candidate eye protection colors matched with each candidate color;
screening target candidate eye protection colors with the contrast ratio of the first eye protection color in a preset contrast ratio range from the candidate eye protection colors;
and taking the candidate color corresponding to the target candidate eye protection color as a second color.
A5. The method of any of a1-a4, wherein the determining a second color having a contrast with the first color in a preset contrast range further comprises:
identifying a currently opened target color system mode;
determining a color set corresponding to the target color system mode;
and determining a second color with the contrast ratio of the first color in a preset contrast ratio range from the color set.
A6. The method of a5, wherein the identifying a currently open target color family pattern further comprises:
identifying a currently started target color system mode based on user setting operation;
or acquiring user history data, determining a color system mode preferred by a user based on the user history data, and taking the color system mode preferred by the user as the target color system mode.
A7. The method of any of a1-a6, wherein the first reading setting is a background and the second reading setting is a font color;
the identifying the first color of the first reading setting item in response to the setting operation for the first reading setting item further comprises: in response to a setting operation for setting a preset picture as a background, dividing the preset picture into a plurality of picture blocks based on color distribution in the preset picture; for any picture block, identifying a first color of the picture block;
the determining a second color having a contrast with the first color in a preset contrast range further comprises: for any picture block, determining a second color with the contrast of the first color of the picture block in a preset contrast range;
the recommending information showing that the second reading setting item is in the second color further comprises: displaying a preview image with the preset image as a background and fonts of the second colors as foregrounds; and aiming at any picture block in the preview image background, the font color displayed on the picture block is consistent with the second color corresponding to the picture block.
A8. The method of any of a1-a6, wherein the first reading setting is a background and the second reading setting is a font color;
the identifying the first color of the first reading setting item in response to the setting operation for the first reading setting item further comprises: in response to a setting operation for setting a preset picture as a background, identifying a theme color of the preset picture, and taking the theme color of the preset picture as a first color of the preset picture;
the recommending information showing that the second reading setting item is in the second color further comprises: displaying a font with the background being the preset picture and the foreground being the second color and a preview with the middle layer being the first color; wherein the intermediate layer is an intermediate layer located between the background and the foreground.
A9. The method of any of a1-a6, wherein the first reading setting is font color and the second reading setting is background;
the identifying the first color of the first reading setting item in response to the setting operation for the first reading setting item further comprises: identifying a first color of the font colors in response to a setting operation for the font colors;
the determining a second color having a contrast with the first color in a preset contrast range further comprises: screening out a target background with the contrast ratio of the background color and the first color within a preset contrast ratio range from a background library;
the recommending information for showing the second reading setting item as the second color further comprises: a preview image is shown that includes the target background.
A10. The method of any one of a1-a9, wherein the method further comprises:
acquiring historical use records of a first reading setting item and a second reading setting item, and acquiring user color combination preference according to the historical use records;
and acquiring a third color matched with the first color based on the user color combination preference, and displaying recommendation information of a second reading setting item as the third color.
The invention also discloses: B11. an electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
identifying a first color of the first reading setting item in response to a setting operation for the first reading setting item;
determining a second color with the contrast of the first color in a preset contrast range;
displaying the recommended information of the second reading setting item in the second color;
the first reading setting item is a background, and the second reading setting item is a font color; or the first reading setting item is font color, and the second reading setting item is background.
B12. The electronic device of B11, wherein the executable instructions cause the processor to:
before the contrast of the first color and the second color in a preset contrast range is determined, acquiring a current environment brightness parameter, and determining the preset contrast range according to the environment brightness parameter; wherein the starting value and/or the ending value of the preset contrast range positively correlate to the ambient brightness parameter.
B13. The electronic device of B12, wherein the executable instructions cause the processor to:
acquiring brightness data acquired by a current system brightness sensor, and determining a current environment brightness parameter according to the brightness data;
and/or acquiring a brightness setting parameter set by a current user, and determining a current environment brightness parameter according to the brightness setting parameter;
and/or acquiring a day and night mode parameter set by a current user, and determining a current environment brightness parameter according to the day and night mode parameter.
B14. The electronic device of any one of B11-B13, wherein the executable instructions cause the processor to:
identifying whether an eye protection mode is started at present;
if yes, processing the first color by using a color processing algorithm corresponding to the eye protection mode to obtain a first eye protection color matched with the first color; and
processing any candidate color by using a color processing algorithm corresponding to the eye protection mode to obtain candidate eye protection colors matched with the candidate colors;
screening target candidate eye protection colors with the contrast ratio of the first eye protection color in a preset contrast ratio range from the candidate eye protection colors;
and taking the candidate color corresponding to the target candidate eye protection color as a second color.
B15. The electronic device of any one of B11-B14, wherein the executable instructions cause the processor to:
identifying a currently opened target color system mode;
determining a color set corresponding to the target color system mode;
and determining a second color with the contrast ratio of the first color in a preset contrast ratio range from the color set.
B16. The electronic device of B15, wherein the executable instructions cause the processor to:
identifying a currently started target color system mode based on user setting operation;
or acquiring user history data, determining a color system mode preferred by a user based on the user history data, and taking the color system mode preferred by the user as the target color system mode.
B17. The electronic device of any one of B11-B16, wherein the executable instructions cause the processor to:
the first reading setting item is a background, and the second reading setting item is a font color;
in response to a setting operation for setting a preset picture as a background, dividing the preset picture into a plurality of picture blocks based on color distribution in the preset picture; for any picture block, identifying a first color of the picture block;
for any picture block, determining a second color with the contrast of the first color of the picture block in a preset contrast range;
displaying a preview image with the preset image as a background and fonts of the second colors as foregrounds; and aiming at any picture block in the preview image background, the font color displayed on the picture block is consistent with the second color corresponding to the picture block.
B18. The electronic device of any one of B11-B16, wherein the executable instructions cause the processor to:
the first reading setting item is a background, and the second reading setting item is a font color;
in response to a setting operation for setting a preset picture as a background, identifying a theme color of the preset picture, and taking the theme color of the preset picture as a first color of the preset picture;
displaying a font with the background being the preset picture and the foreground being the second color and a preview with the middle layer being the first color; wherein the intermediate layer is an intermediate layer located between the background and the foreground.
B19. The electronic device of any one of B11-B16, wherein the executable instructions cause the processor to:
the first reading setting item is font color, and the second reading setting item is background;
identifying a first color of the font colors in response to a setting operation for the font colors;
screening out a target background with the contrast ratio of the background color and the first color within a preset contrast ratio range from a background library;
a preview image is shown that includes the target background.
B20. The electronic device of any one of B11-B19, wherein the executable instructions cause the processor to:
acquiring historical use records of a first reading setting item and a second reading setting item, and acquiring user color combination preference according to the historical use records;
and acquiring a third color matched with the first color based on the user color combination preference, and displaying recommendation information of a second reading setting item as the third color.
The invention also discloses: C21. a computer storage medium having stored therein at least one executable instruction causing a processor to perform operations corresponding to the method of processing reading setting items as described in any one of a1-a 10.

Claims (10)

1. A reading setting item processing method, comprising:
identifying a first color of the first reading setting item in response to a setting operation for the first reading setting item;
determining a second color with the contrast of the first color in a preset contrast range;
displaying the recommended information of the second reading setting item in the second color;
the first reading setting item is a background, and the second reading setting item is a font color; or the first reading setting item is font color, and the second reading setting item is background.
2. The method of claim 1, wherein prior to the determining a second color having a contrast with the first color in a preset contrast range, the method further comprises:
acquiring a current environment brightness parameter, and determining the preset contrast range according to the environment brightness parameter; wherein the starting value and/or the ending value of the preset contrast range positively correlate to the ambient brightness parameter.
3. The method of claim 2, wherein the obtaining the current ambient brightness parameter further comprises:
acquiring brightness data acquired by a current system brightness sensor, and determining a current environment brightness parameter according to the brightness data;
and/or acquiring a brightness setting parameter set by a current user, and determining a current environment brightness parameter according to the brightness setting parameter;
and/or acquiring a day and night mode parameter set by a current user, and determining a current environment brightness parameter according to the day and night mode parameter.
4. The method of any of claims 1-3, wherein the determining a second color having a contrast with the first color in a preset contrast range further comprises:
identifying whether an eye protection mode is started at present;
if yes, processing the first color by using a color processing algorithm corresponding to the eye protection mode to obtain a first eye protection color matched with the first color; and
processing any candidate color by using a color processing algorithm corresponding to the eye protection mode to obtain candidate eye protection colors matched with the candidate colors;
screening target candidate eye protection colors with the contrast ratio of the first eye protection color in a preset contrast ratio range from the candidate eye protection colors;
and taking the candidate color corresponding to the target candidate eye protection color as a second color.
5. The method of any of claims 1-4, wherein the determining a second color having a contrast with the first color in a preset contrast range further comprises:
identifying a currently opened target color system mode;
determining a color set corresponding to the target color system mode;
and determining a second color with the contrast ratio of the first color in a preset contrast ratio range from the color set.
6. The method of claim 5, wherein the identifying a currently active target color family mode further comprises:
identifying a currently started target color system mode based on user setting operation;
or acquiring user history data, determining a color system mode preferred by a user based on the user history data, and taking the color system mode preferred by the user as the target color system mode.
7. The method of any of claims 1-6, wherein the first reading setting is a background and the second reading setting is a font color;
the identifying the first color of the first reading setting item in response to the setting operation for the first reading setting item further comprises: in response to a setting operation for setting a preset picture as a background, dividing the preset picture into a plurality of picture blocks based on color distribution in the preset picture; for any picture block, identifying a first color of the picture block;
the determining a second color having a contrast with the first color in a preset contrast range further comprises: for any picture block, determining a second color with the contrast of the first color of the picture block in a preset contrast range;
the recommending information showing that the second reading setting item is in the second color further comprises: displaying a preview image with the preset image as a background and fonts of the second colors as foregrounds; and aiming at any picture block in the preview image background, the font color displayed on the picture block is consistent with the second color corresponding to the picture block.
8. The method of any of claims 1-6, wherein the first reading setting is a background and the second reading setting is a font color;
the identifying the first color of the first reading setting item in response to the setting operation for the first reading setting item further comprises: in response to a setting operation for setting a preset picture as a background, identifying a theme color of the preset picture, and taking the theme color of the preset picture as a first color of the preset picture;
the recommending information showing that the second reading setting item is in the second color further comprises: displaying a font with the background being the preset picture and the foreground being the second color and a preview with the middle layer being the first color; wherein the intermediate layer is an intermediate layer located between the background and the foreground.
9. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
identifying a first color of the first reading setting item in response to a setting operation for the first reading setting item;
determining a second color with the contrast of the first color in a preset contrast range;
displaying the recommended information of the second reading setting item in the second color;
the first reading setting item is a background, and the second reading setting item is a font color; or the first reading setting item is font color, and the second reading setting item is background.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the processing method of the reading setting item according to any one of claims 1 to 8.
CN202210301235.9A 2022-03-25 2022-03-25 Processing method of reading setting items, electronic equipment and computer storage medium Pending CN114647354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210301235.9A CN114647354A (en) 2022-03-25 2022-03-25 Processing method of reading setting items, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210301235.9A CN114647354A (en) 2022-03-25 2022-03-25 Processing method of reading setting items, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN114647354A true CN114647354A (en) 2022-06-21

Family

ID=81996046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210301235.9A Pending CN114647354A (en) 2022-03-25 2022-03-25 Processing method of reading setting items, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN114647354A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103137103A (en) * 2011-12-05 2013-06-05 中兴通讯股份有限公司 Character display method and device
US20150269133A1 (en) * 2014-03-19 2015-09-24 International Business Machines Corporation Electronic book reading incorporating added environmental feel factors
CN110009712A (en) * 2019-03-01 2019-07-12 华为技术有限公司 A kind of picture and text composition method and its relevant apparatus
CN110286989A (en) * 2019-06-28 2019-09-27 掌阅科技股份有限公司 Reading tip method, electronic equipment and computer storage medium
CN111191424A (en) * 2019-12-31 2020-05-22 北京华为数字技术有限公司 Page color matching method and device, storage medium and chip

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103137103A (en) * 2011-12-05 2013-06-05 中兴通讯股份有限公司 Character display method and device
US20150269133A1 (en) * 2014-03-19 2015-09-24 International Business Machines Corporation Electronic book reading incorporating added environmental feel factors
CN110009712A (en) * 2019-03-01 2019-07-12 华为技术有限公司 A kind of picture and text composition method and its relevant apparatus
CN110286989A (en) * 2019-06-28 2019-09-27 掌阅科技股份有限公司 Reading tip method, electronic equipment and computer storage medium
CN111191424A (en) * 2019-12-31 2020-05-22 北京华为数字技术有限公司 Page color matching method and device, storage medium and chip

Similar Documents

Publication Publication Date Title
EP3713212B1 (en) Image capture method, terminal, and storage medium
CN109951627B (en) Image processing method, image processing device, storage medium and electronic equipment
CN111178183A (en) Face detection method and related device
CN107547803B (en) Video segmentation result edge optimization processing method and device and computing equipment
US20210304796A1 (en) Data processing method and system, storage medium, and computing device
CN111127307A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN111090384B (en) Soft keyboard display method and device
CN106228165A (en) A kind of method of photo classification and mobile terminal
CN113064687A (en) Color adaptation processing method, device and equipment for user interface component
CN109445569A (en) Information processing method, device, equipment and readable storage medium storing program for executing based on AR
US11232616B2 (en) Methods and systems for performing editing operations on media
CN111914850B (en) Picture feature extraction method, device, server and medium
CN114647354A (en) Processing method of reading setting items, electronic equipment and computer storage medium
US12020400B2 (en) Upsampling and refining segmentation masks
CN110390919A (en) Show equipment and color processing method, device
CN112988810B (en) Information searching method, device and equipment
WO2022226744A1 (en) Texture completion
CN113391779B (en) Parameter adjusting method, device and equipment for paper-like screen
CN115082345A (en) Image shadow removing method and device, computer equipment and storage medium
CN115082496A (en) Image segmentation method and device
CN114691004A (en) Handwritten note display method of ink screen device, ink screen device and storage medium
CN111563956A (en) Three-dimensional display method, device, equipment and medium for two-dimensional picture
CN110795096A (en) Slice layer special effect realization method based on openlayers
CN114967998A (en) Operation bar display method, electronic equipment and storage medium
CN114565506B (en) Image color migration method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination