CN113053322B - Display optimization method of electronic ink screen and related device - Google Patents
Display optimization method of electronic ink screen and related device Download PDFInfo
- Publication number
- CN113053322B CN113053322B CN202110269010.5A CN202110269010A CN113053322B CN 113053322 B CN113053322 B CN 113053322B CN 202110269010 A CN202110269010 A CN 202110269010A CN 113053322 B CN113053322 B CN 113053322B
- Authority
- CN
- China
- Prior art keywords
- content
- drawn
- gray value
- display
- electronic ink
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3433—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices
- G09G3/344—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using light modulating elements actuated by an electric field and being other than liquid crystal devices and electrochromic devices based on particles moving in a fluid or in a gas, e.g. electrophoretic devices
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a display optimization method and a related device of an electronic ink screen, wherein in the process of drawing display contents by the electronic ink screen, the contents to be drawn are monitored so as to determine the current contents to be drawn, different preset drawing actions are respectively adopted when the monitored contents to be drawn are foreground contents, background contents and text contents, and different color optimization drawing operations are respectively adopted for the electronic ink screen according to the attributes of each content to be drawn. By monitoring the content to be drawn in real time and drawing the content to be drawn according to the preset drawing action, the layer-by-layer processing is realized by adopting different drawing actions according to the attribute of the content to be drawn, so that the displayed content deviates from the original content impression as little as possible on the whole, the technical problem of poor display effect when the existing electronic ink screen processes the reading content which contains various colors and is not optimized is solved, and the content display effect is enhanced.
Description
Technical Field
The invention relates to the field of electronic ink screens, in particular to a display optimization method of an electronic ink screen and a related device.
Background
The electronic ink screen realizes display change under the driving change of voltage through the electronic ink capsule, liquid charges are usually arranged in the electronic capsule, wherein positive charges are white, negative charges are black, when positive and negative voltages are applied to the electronic ink screen, the liquid with the charges can be respectively attracted and repelled, and through the mode, each pixel point can display white or black, so that black and white display of contents is realized.
Due to the characteristics of electronic ink, most electronic ink screens only support 255-level gray scale display, and many current online reading contents contain text or picture contents with multiple colors, when a user reads the contents with multiple colors on the electronic ink screen, if the contents are not optimized in advance for display on the electronic ink screen, when the user reads the contents on the electronic ink screen, the electronic ink screen cannot render the reading contents well, so that the whole display effect of the contents displayed on the electronic ink screen is poor, the readability of the reading contents which are not optimized on the electronic ink screen is reduced, and the market application scenes of the electronic ink screen are limited.
Disclosure of Invention
The invention provides a display optimization method of an electronic ink screen, which is used for enhancing the display effect of the electronic ink screen and improving the technical problem of poor display effect when the existing electronic ink screen processes reading contents containing various colors.
The application provides an electronic ink screen display method, which is applied to a display device configured with an electronic ink screen, and is characterized by comprising the following steps:
responding to a display drawing instruction, and monitoring the current content to be drawn;
and according to the monitored current content to be drawn, drawing the content to be drawn according to the foreground content, the background content and the text content respectively according to preset drawing actions.
Preferably, when the monitored current content to be drawn is foreground content, the preset drawing action is a first drawing action, and the first drawing action specifically is:
judging the attribute of an object to be drawn in the foreground content;
when an object to be drawn in the foreground content is a vector graph, calculating a gray value of a source drawing color, drawing the drawing object to be pure black when the gray value is smaller than a first gray threshold value, and drawing the drawing object to be white when the gray value is larger than the first gray threshold value;
and when the object to be drawn in the foreground content is a non-icon or a traditional graph, drawing the object to be drawn after contrast enhancement.
Preferably, when the monitored current content to be drawn is background content, the preset drawing brake is used as a second drawing action, and the second drawing action specifically is as follows:
calculating a gray value of a drawing color of the background content source, and attaching pure black to the surface of the drawing object and covering the original color part when the gray value is smaller than a preset gray threshold; and when the gray value is larger than a preset first gray threshold value, attaching pure white to the surface of the drawing object and covering the original color part.
Preferably, when the monitored current content to be drawn is text content, the preset drawing action is a third drawing action, and the third drawing action specifically is:
calculating a gray value of a drawing color of a content source to be drawn as a first gray value; acquiring a gray value of a corresponding background of the image as a second gray value; judging the sizes of the first gray value and the second gray value, when the first gray value is larger than the second gray value, drawing the content to be drawn into white, and drawing a background area corresponding to the content to be drawn into black; and when the first gray value is smaller than the second gray value, drawing the content to be drawn into black and drawing a background area corresponding to the content to be drawn into white.
Preferably, when the monitored current content to be drawn is text content, the preset drawing action is a third drawing action, and the third drawing action specifically is:
calculating a gray value of a drawing color of a content source to be drawn, drawing the content to be drawn into black when the gray value of the drawing color of the content source to be drawn is smaller than a second gray threshold value, and drawing the content to be drawn into white when the gray value of the drawing color of the content source to be drawn is larger than the second gray threshold value;
obtaining the font size in the content to be drawn, calculating the font edge width according to the font size, and drawing the background area in the edge width into opposite color.
Preferably, the monitoring of the current content to be rendered further includes:
monitoring whether the drawn content is third-party software;
when the drawing content is third-party software, acquiring a data packet for optimizing the display of the third-party software, and optimizing the display of the third-party software, if the acquisition fails, acquiring a first data packet of the third-party software;
and establishing an optimization strategy for the third-party software according to the data packet, outputting a second data packet containing the optimization strategy for the third-party software, and storing the second data packet locally as a data packet for display optimization of the third-party software.
Preferably, the first data packet includes: version number, component of the third party software.
Preferably, the software optimization strategy in the second data packet comprises: and drawing action relations corresponding to the third-party software components, wherein the drawing actions comprise a first drawing action, a second drawing action and a third drawing action.
The application also provides a display optimization device of electronic ink screen, includes:
the monitoring module is used for responding to the display drawing instruction and monitoring the current content to be drawn;
the drawing module is used for determining the current content to be drawn and taking different drawing actions according to the content to be drawn, wherein the content to be drawn comprises: foreground content, background content, text content.
The application also provides a display terminal of electronic ink screen, includes:
a processor;
a memory coupled to the processor, one or more applications stored in the memory and configured to be executed by the processor, the one or more applications configured to perform the method of any of the above.
The embodiment of the application provides a display optimization method of an electronic ink screen, which monitors contents to be drawn in the process of drawing the display contents of the electronic ink screen, determines the current contents to be drawn, then according to preset drawing actions, respectively takes different drawing actions when the monitored contents to be drawn are foreground contents, background contents and text contents, respectively performs different color optimization drawing operations on the electronic ink screen according to the attributes of the contents to be drawn, respectively draws the contents to be drawn according to the preset drawing actions by monitoring the contents to be drawn in real time, realizes the optimized drawing of different color displays of the display contents according to the attributes of the contents to be drawn and the display characteristics of the electronic ink screen, sequentially processes the contents to be displayed layer by layer through different drawing actions as a whole, and ensures that the display contents deviate from the original contents as little as possible, the technical problem of poor display effect when the existing electronic ink screen processes reading content which contains multiple colors and is not optimized is solved, and the content display effect is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a display optimization method for an electronic ink screen according to an embodiment of the present invention
FIG. 2 is a flowchart of a display optimization method for an electronic ink screen according to another embodiment of the present invention
FIG. 3 is a flowchart of a display optimization method for an electronic ink screen according to another embodiment of the present invention
FIG. 4 is a flowchart of a display optimization method for an electronic ink screen according to another embodiment of the present invention
Detailed Description
The embodiment of the invention provides a display optimization method of an electronic ink screen, which is used for enhancing the display effect of the electronic ink screen and solving the technical problem of poor display effect when the existing electronic ink screen faces rich-color reading content.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, when the electronic ink screen faces rich-color reading content, the content display is easy to deviate, so that the readability of the electronic ink screen on part of the reading content is reduced under part of conditions, the color space conversion is tried to be used for the global content of the electronic ink screen, and the contrast of black and white can be enhanced by the method through carrying out contrast enhancement on the whole to-be-displayed content. When the color space conversion is performed on the global content, the global content is loaded, the self attribute of the content of each layer cannot be read, and the characteristic of the color space conversion is added, so that the whole content deviates, for example, the whole content is black, and finally, the processed content has too much difference from the original content in appearance and poor display effect, on the basis of the technical findings, the invention provides a display optimization method of an electronic ink screen on the whole, a monitor is added in a drawing display control of the electronic ink screen to monitor the display drawing content of the current control, when the contents of each part are read, the attributes (size/color, etc.) of each part of the content are analyzed, and the display control is performed according to the analysis result, therefore, the display effect is enhanced, and the technical problem of poor display effect when reading content with rich colors is solved.
Embodiment 1, as shown in fig. 1, this embodiment provides a display optimization method for an electronic ink screen, which is applied to an electronic ink screen content display terminal, and specifically includes:
s1: responding to a display drawing instruction, and monitoring the current content to be drawn;
and adding a monitor into the drawing display control of the electronic ink screen, and monitoring the drawing content of the current control through the monitor. And when a drawing display instruction is received, monitoring the read contents entering the to-be-drawn state according to the reading progress, wherein the current to-be-drawn contents are foreground contents, background contents and text contents respectively.
S2: according to the monitored current content to be drawn, drawing the content to be drawn according to the foreground content, the background content and the text content respectively according to preset drawing actions and drawing according to the preset drawing actions respectively;
monitoring current drawing content in real time through a monitor, and after determining the current content to be drawn, taking different drawing actions according to the determined content to be drawn, wherein the step of determining the current content to be drawn comprises the following steps: the foreground content, the background content and the text content distinguish different contents for subsequent drawing. Different drawing actions are preset in the terminal device or are built in the reading software according to different drawing contents, and can be called according to the setting selection of a user, the drawing actions of each part may have one or more selections, the user can set whether to enable or not, specifically, a display optimization strategy of the user can be preset, and the display optimization strategy preset in the terminal device or built in the reading software can also be directly used.
According to different contents to be drawn and preset optimization strategies, different optimization strategies are adopted for optimizing different currently read contents to be drawn, and the optimization strategies specifically comprise: and determining whether the content to be drawn is foreground content, background content and text content, and respectively performing display optimization aiming at different display contents read at different stages. The content to be displayed of the electronic ink screen is judged by monitoring the current content to be drawn in real time, and different optimization strategies are started aiming at different display contents, so that the content display effect is enhanced, and the integral impression of the original content is not deviated on the whole.
In another embodiment of the present invention, when the monitored current content to be drawn is foreground content, the preset drawing action is a first drawing action, and the foreground content is drawn by using the first drawing action, where the first drawing action is specifically;
s21: judging the attribute of an object to be drawn;
determining the type of an object to be drawn in the content to be drawn, such as whether the object is a vector graph, a non-icon or a traditional icon, and the color condition of foreground content;
s22: when an object to be drawn is a vector graph, calculating a gray value of a source drawing color, drawing the drawing object to be pure black when the gray value is smaller than a first gray threshold value, and drawing the drawing object to be white when the gray value is larger than the first gray threshold value;
when the object to be drawn in the foreground content is a non-icon or a traditional graph, drawing the object to be drawn after contrast enhancement;
when the object to be drawn in the foreground content is a vector graph, drawing by adopting a coloring enhancement scheme; when the object to be drawn is a non-icon or a traditional graph, a contrast enhancement scheme is adopted for drawing;
specifically, when the object to be drawn is confirmed to be a vector graph, calculating a gray value of a source drawing color, after the gray value of the source drawing color is obtained, judging whether to continue deepening according to a preset first gray threshold, when the gray value is smaller than the first gray threshold, attaching pure black to the surface of the drawing object and covering the original color part, otherwise, attaching pure white.
The first gray threshold may be set between 0 and 255 according to user needs, and a default value is preset to be 170 in the present solution.
Specifically, when the object to be drawn in the foreground content is a non-icon or a traditional graphic, a contrast enhancement scheme is used for drawing, a color space conversion mode is used for processing the icon or the graphic, the image contrast is enhanced, and the color space conversion is performed in the prior art.
In another embodiment of the present invention, when the monitored current content to be drawn is background content, the preset drawing brake is used as a second drawing action, and the background content is drawn by using the second drawing action, where the second drawing action is specifically;
s23: calculating the gray value of the drawing color of the content source to be drawn, judging whether to continue deepening according to a preset gray threshold, and attaching pure black to the surface of the drawing object and covering the original color part when the gray value is smaller than a second gray threshold; and when the gray value is larger than a preset second gray threshold, attaching pure white to the surface of the drawing object and covering the original color part.
The second grayscale threshold is set between 0 and 255 according to the user's needs, and a default value is preset to be 220 in this embodiment.
When the monitored current content to be drawn is text content, the preset drawing action is a third drawing action, the background content is drawn by adopting the third drawing action, and the third drawing action is specifically;
s24: calculating a gray value of a drawing color of a content source to be drawn, and taking the gray value as a first gray value; acquiring a gray value of a corresponding background of the image, and taking the gray value as a second gray value; judging the sizes of the first gray value and the second gray value, when the first gray value is larger than the second gray value, drawing the content to be drawn into white, and drawing a background area corresponding to the content to be drawn into black; when the first gray value is smaller than the second gray value, the content to be drawn is drawn to be black, and a background area corresponding to the content to be drawn is drawn to be white;
or
S25: calculating a gray value of a drawing color of a content source to be drawn, drawing the content to be drawn into black when the gray value of the drawing color of the content source to be drawn is smaller than a third gray threshold value, and drawing the content to be drawn into white when the gray value of the drawing color of the content source to be drawn is larger than the third gray threshold value;
s26: obtaining the font size in the content to be drawn, calculating the font edge width according to the font size, and drawing the background area in the edge width into opposite color;
the preset default value of the third grayscale threshold is set between 0 and 255 according to the user's needs, and is preferably 150 in this embodiment.
In the step S24, the gray value of the rendering color of the content source to be rendered is calculated and compared with the gray value of the corresponding background, and the color of the rendering content is adjusted according to the gray value, so that the contrast of the display content is improved when the content is displayed in combination with the background; the scheme formed in the steps S25 and S26 is that the gray level condition of the corresponding background is not considered, only the gray level of the rendering color of the content source to be rendered is considered, when the gray level is smaller than a third preset gray level threshold, the content is rendered as black, otherwise, the content is rendered as white, the width of the edge of the font is further calculated according to the size of the font of the rendering content, and the content in the edge width is rendered as the opposite color, so that the display of the font content is enhanced. It is understood that the color inversion operation may be performed by selecting S24 according to the attribute of the content, and the display enhancement operation may be performed by selecting the scheme formed by S25 and S6. When the display content needs to obtain high contrast, the embodiment adopts the technical solutions of S25 and S26 to perform enhanced display, and outputs a text with high contrast, and at the same time, does not affect the rendering and rendering of foreground and background content, so that the display effect of the text content is enhanced without deviating from the overall content impression.
As shown in fig. 2, in another embodiment of the present invention, the display optimization method of the electronic ink screen includes:
s1: responding to a display drawing instruction, and monitoring the current content to be drawn;
s2: according to the monitored current content to be drawn, drawing the content to be drawn by adopting a preset drawing action; sequentially and respectively drawing contents to be drawn by adopting preset drawing actions, wherein the drawing sequence is foreground contents, background contents and text contents;
the sequentially and respectively drawing specifically comprises the following steps:
s21: judging the attribute of an object to be drawn in the foreground content;
s22: when an object to be drawn in the foreground content is a vector graph, calculating a gray value of a source drawing color, drawing the drawing object to be pure black when the gray value is smaller than a first gray threshold value, and drawing the drawing object to be white when the gray value is larger than the first gray threshold value; when the object to be drawn in the foreground content is a non-icon or a traditional graph, drawing the object to be drawn after contrast enhancement;
s23: calculating a gray value of a drawing color of the background content source, and attaching pure black to the surface of the drawing object and covering the original color part when the gray value is smaller than a preset gray threshold; when the gray value is larger than a preset first gray threshold value, attaching pure white to the surface of the drawing object and covering the original color part;
s24: calculating a gray value of a drawing color of a content source to be drawn as a first gray value; acquiring a gray value of a corresponding background of the image as a second gray value; judging the sizes of the first gray value and the second gray value, when the first gray value is larger than the second gray value, drawing the content to be drawn into white, and drawing a background area corresponding to the content to be drawn into black; and when the first gray value is smaller than the second gray value, drawing the content to be drawn into black and drawing a background area corresponding to the content to be drawn into white.
As shown in fig. 3, in another embodiment of the present invention, the method for optimizing the display of the electronic ink screen includes:
s1: responding to a display drawing instruction, and monitoring the current content to be drawn;
s2: according to the monitored current content to be drawn, drawing the content to be drawn by adopting a preset drawing action; respectively drawing contents to be drawn in sequence by adopting preset drawing actions, wherein the optimized sequence comprises foreground contents, background contents and text contents,
the sequentially and respectively drawing specifically comprises the following steps:
s21: judging the attribute of an object to be drawn in the foreground content;
s22: when an object to be drawn in the foreground content is a vector graph, calculating a gray value of a source drawing color, drawing the drawing object to be pure black when the gray value is smaller than a first gray threshold value, and drawing the drawing object to be white when the gray value is larger than the first gray threshold value;
when the object to be drawn in the foreground content is a non-icon or a traditional graph, drawing the object to be drawn after contrast enhancement;
s23: calculating a gray value of a drawing color of the background content source, and attaching pure black to the surface of the drawing object and covering the original color part when the gray value is smaller than a preset gray threshold; when the gray value is larger than a preset first gray threshold value, attaching pure white to the surface of the drawing object and covering the original color part;
s25: calculating a gray value of a drawing color of a content source to be drawn, drawing the content to be drawn into black when the gray value of the drawing color of the content source to be drawn is smaller than a third gray threshold value, and drawing the content to be drawn into white when the gray value of the drawing color of the content source to be drawn is larger than the third gray threshold value;
s26: obtaining the font size in the content to be drawn, calculating the font edge width according to the font size, and drawing the background area in the edge width into opposite color.
In yet another embodiment of the present application, the drawing steps as the foreground in fig. 3 and 4 may be closed according to the setting of the user.
As shown in fig. 4, in another embodiment of the present invention, before the foregoing embodiment S1, the method for optimizing display of an electronic ink screen further includes:
s0: monitoring whether the drawn content is third-party software;
the electronic ink screen equipment may be provided with third-party software, the third-party software generally has respective display settings, and a better display effect can be obtained only by matching the display settings with the content of the electronic ink screen, so that the display of the third-party software is optimized in the embodiment, and the display effect of the third-party software applied to the electronic ink screen for displaying is further improved.
S01: when the drawing content is third-party software, acquiring a data packet for optimizing the display of the third-party software, and optimizing the display of the third-party software, if the acquisition fails, acquiring a first data packet of the third-party software;
when the drawing content is determined to be third-party software, acquiring a data packet of the third-party software, wherein the data packet usually comprises the following contents:
bag name: the main key is used for identifying corresponding software and is convenient to call in subsequent use after being established;
version number: when the software version number changes, an optimization strategy aiming at the third-party software needs to be reestablished so as to carry out adaptation optimization according to the change of the third-party software;
assembly of: acquiring components and a component list of third-party software, so as to adopt different optimization strategies when displaying different components subsequently, for example, various display components of electronic reading software, such as a picture display component, can adjust a preset called optimization strategy according to the size and content of a picture display size, and when the size of the picture display component is larger, whether the large-size display component is used for displaying a content picture can be identified, and then a contrast enhancement scheme is adopted for optimized drawing; when the size of the picture display component is smaller, whether the picture display component is used for displaying the icon content can be judged, if the user displays the icon content, a gray level distinguishing coloring strategy is used, the drawing action of the vector graph in the first drawing action is adopted for drawing, and the effect is better; for the image-text mixed display component, after corresponding gray level switching thresholds are configured according to color schemes of different software, three drawing actions are combined for drawing;
it can be understood that the data packet for performing display optimization by the third-party software may be a preset data packet, and the data packet may be stored on the cloud server and may be obtained from the cloud server when the user uses the third-party software; or the data can be synchronized to the terminal equipment through the cloud server in advance, and when the user uses third-party software on the terminal of the electronic ink screen, the data can be directly called from the local.
S02: establishing an optimization strategy for third-party software according to the data packet, outputting a second data packet containing the optimization strategy for the third-party software, and storing the second data packet locally as a data packet for display optimization of the third-party software;
the method comprises the steps of obtaining the setting of a user, establishing an optimization strategy of third-party software, and when the user uses the third-party software, switching and selecting the steps to obtain a display effect better matched with the habit of the user and improve the experience of the user.
The software optimization strategy is specifically a preset drawing action relation corresponding to third-party software and components thereof, and comprises the following steps: the drawing action corresponding to the third-party software component comprises drawing action settings of foreground content, background content and text content of the third-party software content, and the drawing action includes a first drawing action, a second drawing action and a third drawing action, for example, for a third-party software, wherein when the related software content is switched among software interfaces, the drawing action settings corresponding to the foreground content, the background content and the text content are performed.
Further, the software optimization strategy includes drawing actions corresponding to components in the third-party software, that is, when each component included in the third-party software is called in the interface display, a user may set a corresponding drawing action for each component. It will be appreciated that default rendering actions may also be set for third party software components, with the user invoking directly according to the default settings. When the user changes the setting in the using process, according to the changed setting in the using process of the user, the drawing action setting set by the user when each component is displayed is recorded and stored in a second data packet as the content of the third-party software optimization strategy.
In this step, whether foreground optimization, background optimization and content optimization are started or not is selected according to the process that a user uses third-party software, display setting parameters of the software under various display conditions (various display pages obtained by various components are enabled) are set according to a first data packet of the third-party software, the display setting parameters are input into the first data packet to obtain a second data packet containing a display strategy, the second data packet is stored in a local terminal of the user, and when the user terminal is networked, the second data packet can be further sent to a cloud server for backup so as to be recovered or synchronized later.
S03: and when the user uses the third-party software again, calling the second data packet, optimizing the display of the third-party software by adopting the second data packet, and updating the second data packet according to the setting change of the user.
When a user uses the third-party software at the same local terminal, the second data packet is called according to the main key when the third-party software is displayed, the version number is checked, the display content is optimized in the process of displaying the third-party software according to the display setting parameters in the second data packet, the setting is adjusted in the process of using the third-party software by the user, and if the third-party software calls specific components, the display parameters are modified by the user, the second data packet is recorded and updated.
In another embodiment of the present application, there is also provided a display optimization apparatus for an electronic ink screen, including:
the monitoring module is used for responding to the display drawing instruction and monitoring the current content to be drawn;
the drawing module is used for determining the current content to be drawn and taking different drawing actions according to the content to be drawn, wherein the content to be drawn comprises: foreground content, background content, text content.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (9)
1. A display optimization method of an electronic ink screen is characterized by comprising the following steps:
responding to a display drawing instruction, and monitoring the current content to be drawn;
according to the monitored current content to be drawn, drawing the content to be drawn according to the foreground content, the background content and the text content respectively according to preset drawing actions;
when the monitored current content to be drawn is foreground content, the preset drawing action is a first drawing action, and the first drawing action specifically comprises the following steps:
judging the attribute of an object to be drawn in the foreground content;
when an object to be drawn in the foreground content is a vector graph, calculating a gray value of a source drawing color, drawing the drawing object to be pure black when the gray value is smaller than a first gray threshold value, and drawing the drawing object to be white when the gray value is larger than the first gray threshold value;
and when the object to be drawn in the foreground content is a traditional graph, drawing the object to be drawn after contrast enhancement.
2. The method for optimizing display of an electronic ink screen according to claim 1, wherein when the monitored current content to be drawn is background content, the preset drawing brake is used as a second drawing action, and the second drawing action specifically is:
calculating a gray value of a drawing color of the background content source, and attaching pure black to the surface of the drawing object and covering the original color part when the gray value is smaller than a preset gray threshold; and when the gray value is larger than a preset first gray threshold value, attaching pure white to the surface of the drawing object and covering the original color part.
3. The method for optimizing display of an electronic ink screen according to claim 1, wherein when the monitored current content to be rendered is a text content, the preset rendering action is a third rendering action, and the third rendering action specifically is:
calculating a gray value of a drawing color of a content source to be drawn as a first gray value; acquiring a gray value of a corresponding background of the image as a second gray value; judging the sizes of the first gray value and the second gray value, when the first gray value is larger than the second gray value, drawing the content to be drawn into white, and drawing a background area corresponding to the content to be drawn into black; and when the first gray value is smaller than the second gray value, drawing the content to be drawn into black, and drawing a background area corresponding to the content to be drawn into white.
4. The method for optimizing display of an electronic ink screen according to claim 1, wherein when the monitored current content to be rendered is a text content, the preset rendering action is a third rendering action, and the third rendering action specifically is:
calculating a gray value of a drawing color of a content source to be drawn, drawing the content to be drawn into black when the gray value of the drawing color of the content source to be drawn is smaller than a second gray threshold value, and drawing the content to be drawn into white when the gray value of the drawing color of the content source to be drawn is larger than the second gray threshold value;
obtaining the font size in the content to be drawn, calculating the font edge width according to the font size, and drawing the background area in the edge width into opposite color.
5. The method for optimizing display of an electronic ink screen according to claim 1, wherein the monitoring of the current content to be rendered further comprises:
monitoring whether the drawn content is third-party software;
when the drawing content is third-party software, acquiring a data packet for optimizing the display of the third-party software, and optimizing the display of the third-party software, if the acquisition fails, acquiring a first data packet of the third-party software;
and establishing an optimization strategy for the third-party software according to the data packet, outputting a second data packet containing the optimization strategy for the third-party software, and storing the second data packet locally as a data packet for display optimization of the third-party software.
6. The method for optimizing display of an electronic ink screen according to claim 5, wherein the first data packet comprises: version number, component of the third party software.
7. The method for optimizing display of an electronic ink screen according to claim 6, wherein the software optimization strategy in the second data packet comprises: and the preset drawing action relationship corresponding to the third-party software and the component.
8. A display optimization device for an electronic ink screen, comprising:
the monitoring module is used for responding to the display drawing instruction and monitoring the current drawing content;
the drawing module is used for drawing the content to be drawn according to the foreground content, the background content and the text content according to preset drawing actions respectively according to the monitored current drawing content; when the monitored current content to be drawn is foreground content, the preset drawing action is a first drawing action, and the first drawing action specifically comprises the following steps: judging the attribute of an object to be drawn in the foreground content; when an object to be drawn in the foreground content is a vector graph, calculating a gray value of a source drawing color, drawing the drawing object to be pure black when the gray value is smaller than a first gray threshold value, and drawing the drawing object to be white when the gray value is larger than the first gray threshold value; and when the object to be drawn in the foreground content is a traditional graph, drawing the object to be drawn after contrast enhancement.
9. An electronic ink screen display terminal, comprising:
a processor;
a memory coupled to the processor, one or more applications stored in the memory and configured to be executed by the processor, the one or more applications configured to perform the method for display optimization of an electronic ink screen as recited in any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110269010.5A CN113053322B (en) | 2021-03-12 | 2021-03-12 | Display optimization method of electronic ink screen and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110269010.5A CN113053322B (en) | 2021-03-12 | 2021-03-12 | Display optimization method of electronic ink screen and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113053322A CN113053322A (en) | 2021-06-29 |
CN113053322B true CN113053322B (en) | 2022-08-02 |
Family
ID=76511932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110269010.5A Active CN113053322B (en) | 2021-03-12 | 2021-03-12 | Display optimization method of electronic ink screen and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113053322B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113589980A (en) * | 2021-07-06 | 2021-11-02 | 青岛海信移动通信技术股份有限公司 | Interface adjusting method of ink screen and terminal equipment |
CN114974148B (en) * | 2022-07-29 | 2022-11-18 | 广州文石信息科技有限公司 | Font display enhancement method, device, equipment and storage medium for ink screen |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107086027A (en) * | 2017-06-23 | 2017-08-22 | 青岛海信移动通信技术股份有限公司 | Character displaying method and device, mobile terminal and storage medium |
CN111596998A (en) * | 2020-05-13 | 2020-08-28 | 青岛海信移动通信技术股份有限公司 | Page processing method of ink screen and terminal |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4688031A (en) * | 1984-03-30 | 1987-08-18 | Wang Laboratories, Inc. | Monochromatic representation of color images |
US5898819A (en) * | 1996-06-05 | 1999-04-27 | Microsoft Corporation | System for black and white printing of colored pages |
US7372470B2 (en) * | 2001-11-29 | 2008-05-13 | Lg Electronics Inc. | System and method for transmitting and displaying messages in a mobile terminal |
EP1671308A1 (en) * | 2003-09-29 | 2006-06-21 | Koninklijke Philips Electronics N.V. | Method and apparatus for displaying a sub-picture over a background picture on a bi-stable display |
US20050078867A1 (en) * | 2003-10-14 | 2005-04-14 | Kabushiki Kaisha Toshiba | System and method for generating black and white reproductions of color documents |
US20120127198A1 (en) * | 2010-11-22 | 2012-05-24 | Microsoft Corporation | Selection of foreground characteristics based on background |
JP2013061592A (en) * | 2011-09-15 | 2013-04-04 | Seiko Epson Corp | Method for driving electrophoretic display device, electrophoretic display device, electronic equipment and electronic clock |
US8805068B2 (en) * | 2012-12-13 | 2014-08-12 | Microsoft Corporation | Automatic classification and color enhancement of a markable surface |
CN106204563B (en) * | 2016-07-04 | 2019-11-15 | 傲讯全通科技(深圳)有限公司 | A kind of image conversion method |
CN110347302B (en) * | 2018-04-04 | 2022-09-06 | 阿里巴巴(中国)有限公司 | Electronic book display method and device |
CN110609722B (en) * | 2019-08-09 | 2021-07-20 | 华为技术有限公司 | Dark mode display interface processing method, electronic equipment and storage medium |
CN111508039B (en) * | 2020-04-20 | 2023-11-28 | 青岛海信移动通信技术有限公司 | Word processing method of ink screen and communication terminal |
-
2021
- 2021-03-12 CN CN202110269010.5A patent/CN113053322B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107086027A (en) * | 2017-06-23 | 2017-08-22 | 青岛海信移动通信技术股份有限公司 | Character displaying method and device, mobile terminal and storage medium |
CN111596998A (en) * | 2020-05-13 | 2020-08-28 | 青岛海信移动通信技术股份有限公司 | Page processing method of ink screen and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN113053322A (en) | 2021-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113053322B (en) | Display optimization method of electronic ink screen and related device | |
CN103823620B (en) | Screen adaption method and device | |
CN112416346B (en) | Interface color scheme generation method, device, equipment and storage medium | |
CN113538271A (en) | Image display method, image display device, electronic equipment and computer readable storage medium | |
CN107799093A (en) | Adjust method, terminal and the computer-readable recording medium of screen luminance of terminal | |
CN111080595A (en) | Image processing method, image processing device, electronic equipment and computer readable medium | |
CN106990962B (en) | Dynamic screen locking wallpaper switching method and device and terminal | |
CN115831061B (en) | Ink screen display method, device, terminal equipment and storage medium | |
CN110996174A (en) | Video image quality enhancement method and related equipment thereof | |
CN113626129A (en) | Page color determination method and device and electronic equipment | |
CN110996026B (en) | OSD display method, device, equipment and storage medium | |
CN113409199A (en) | Image processing method, image processing device, electronic equipment and computer readable medium | |
CN114119778A (en) | Deep color mode generation method of user interface, electronic equipment and storage medium | |
CN109859328B (en) | Scene switching method, device, equipment and medium | |
CN111930461B (en) | Mobile terminal APP full page graying method and device based on Android | |
CN110941413B (en) | Display screen generation method and related device | |
CN114648442A (en) | Image style migration method and device | |
CN113393391A (en) | Image enhancement method, image enhancement device, electronic apparatus, and storage medium | |
CN111949353A (en) | iOS-based mobile terminal APP full page graying method and device | |
CN109637479B (en) | Image processing method and device and display | |
KR100639328B1 (en) | Display method of animation using mobile terminal | |
CN113656134B (en) | Color matching method, device, equipment and storage medium for interface element | |
CN112185312B (en) | Image data processing method and device | |
CN114170117A (en) | Image processing method and device | |
CN115640416A (en) | Object display method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |