CN118016005A - Method for previewing display content and related product - Google Patents

Method for previewing display content and related product Download PDF

Info

Publication number
CN118016005A
CN118016005A CN202410175167.5A CN202410175167A CN118016005A CN 118016005 A CN118016005 A CN 118016005A CN 202410175167 A CN202410175167 A CN 202410175167A CN 118016005 A CN118016005 A CN 118016005A
Authority
CN
China
Prior art keywords
data
image data
display data
color
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.)
Pending
Application number
CN202410175167.5A
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.)
Chutian Dragon Co ltd
Original Assignee
Chutian Dragon 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 Chutian Dragon Co ltd filed Critical Chutian Dragon Co ltd
Priority to CN202410175167.5A priority Critical patent/CN118016005A/en
Publication of CN118016005A publication Critical patent/CN118016005A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)

Abstract

The present disclosure discloses a method for previewing display content and related products. The method comprises the following steps: displaying data to be displayed of the electronic ink screen on the interactive equipment, wherein the equipment with the electronic ink screen is in interactive connection with the interactive equipment; determining selected display data from the data to be displayed in response to a selected instruction fed back by a user through the interactive device; and performing color processing on the selected display data to display preview content corresponding to the selected display data on the interactive device. According to the scheme of the embodiment of the disclosure, the display content selected by the user can be converted in the color space, so that the color development performance of the electronic ink screen is matched, the preview of the display content of the electronic ink screen is realized on the interactive equipment, and the preview effect is more attached to the actual display effect.

Description

Method for previewing display content and related product
Technical Field
The present disclosure relates generally to the field of screen display technology. More particularly, the present disclosure relates to a method, an interactive apparatus, and a storage medium for previewing display content.
Background
The electronic ink screen is composed of two substrates, electronic ink composed of countless tiny transparent particles is coated on the substrates, the particles are formed by sealing particles with different colors and positive and negative electricity in an internal liquid microcapsule, the charged particles with different colors can move in different directions due to different applied electric fields, and finally different patterns are displayed on the surface of the screen.
The display principle of a conventional LCD screen is that the backlight emits light that needs to pass all the way through the display screen. Based on the display principle of the electronic ink screen, the electronic ink screen is irradiated on the display screen by using ambient light and then refracted to eyes. Compared with an LCD screen, the electronic ink screen has lower refreshing rate, is not easy to feel tired when being read for a long time, and greatly reduces the power consumption.
However, based on the characteristics of low refresh rate and the like brought by the display principle, the electronic ink screen has the following limitations in the function of real-time preview of the screen brushing effect: the electronic ink screen has limited color support display, and when the content to be displayed is different from the color space of the electronic ink screen, a user can hardly know the screen brushing effect directly according to the content to be displayed. Secondly, because the refresh rate of the electronic ink screen is lower, the screen brushing effect is displayed in a mode of refreshing the electronic ink screen, and the timeliness requirement of real-time preview cannot be well matched in speed. Therefore, the existing electronic ink screen display scheme is not configured with a preview function.
In view of this, it is desirable to provide a preview scheme for an electronic ink screen so as to adapt the color space of the electronic ink screen and complete a real-time preview of the content to be displayed in the color space of the electronic ink screen without refreshing the electronic ink screen.
Disclosure of Invention
To address at least one or more of the technical problems mentioned above, the present disclosure proposes, in various aspects, a preview scheme for an electronic ink screen.
In a first aspect, the present disclosure provides a method for previewing display content comprising: displaying data to be displayed of an electronic ink screen on the interactive equipment, wherein the electronic ink screen is in interactive connection with the interactive equipment; determining selected display data from the data to be displayed in response to a selected instruction fed back by a user through the interactive device; and performing color processing on the selected display data to display preview content corresponding to the selected display data on the interactive device.
In some embodiments, wherein color processing the selected display data to display preview content corresponding to the selected display data on the interactive device includes: generating first and second bi-color image data, respectively, based on the selected display data; performing exclusive OR operation on two pixel values positioned at the same pixel position in the first bicolor image data and the second bicolor image data to obtain a pixel value positioned at the pixel position in the target display data; and displaying preview content corresponding to the selected display data on the interactive device of the electronic ink screen according to the pixel value of each pixel position in the target display data.
In some embodiments, wherein xoring two pixel values at the same pixel location in the first bi-color image data and the second bi-color image data comprises: judging whether the first pixel value is the same as the second pixel value, wherein the first pixel value is the pixel value positioned at the first pixel position in the first bicolor image data, and the second pixel value is the pixel value positioned at the first pixel position in the second bicolor image data; updating the pixel value at the first pixel position in the target display data to the same pixel value in response to the same; and updating the pixel value at the first pixel position in the target display data to be a conditional filtering value in response to the difference, wherein the conditional filtering value is one of the first pixel value and the second pixel value.
In some embodiments, wherein the first bi-color image data is black and white image data and the second bi-color image data is red and white image data, the conditional filter value is a pixel value of a non-white pixel.
In some embodiments, wherein selecting the display data comprises: a template is selected or a picture is selected.
In some embodiments, responding to the selected display data as the selected template, wherein generating the first bi-color image data and the second bi-color image data based on the selected display data comprises: drawing a selected template on the blank bitmap to obtain a selected display bitmap; and binarizing the selected display bitmap to obtain first and second bi-color image data, respectively.
In some embodiments, wherein prior to drawing the selected template on the blank bitmap, the method further comprises: a blank bitmap of the same resolution as the electronic ink screen is created.
In some embodiments, responding to the selected display data as the selected picture, wherein generating the first bi-color image data and the second bi-color image data based on the selected display data, respectively, comprises: converting the selected picture into a target multicolor picture through image processing; and performing binarization processing on the target multicolor picture to obtain first bicolor image data and second bicolor image data respectively.
In some embodiments, wherein converting the selected picture to the target multi-color picture by image processing comprises: converting the selected picture into a selected bitmap with the same resolution as the resolution of the electronic ink screen through image preprocessing; and converting the selected bitmap into a target multicolor picture through an image color conversion process.
In some embodiments, the selected display data is stored in a local storage unit, and the method further comprises, prior to generating the first and second bi-color image data based on the selected display data, respectively: acquiring a selected instruction fed back by a user through an electronic ink screen or interaction equipment; and retrieving and loading the selected display data offline from the local storage unit according to the selected instruction.
In some embodiments, wherein the selected template includes a customized region, the method further comprises, prior to generating the first and second bi-color image data based on the selected display data, respectively: loading a selected template; positioning a customized area of the selected template; and editing the information in a text information editing box of the customized area to form customized selected display data.
In some embodiments, after generating the first bi-color image data and the second bi-color image data, respectively, based on the selected display data, the method further comprises: performing modulo computation on the first and second bi-color image data to obtain target data; and sending the target data to a storage area of the electronic ink screen in a wired communication mode or a wireless communication mode so that the electronic ink screen finishes screen brushing according to the target data after receiving a screen brushing instruction.
In a second aspect, the present disclosure provides a method for previewing display content comprising: displaying data to be displayed of a target device on an interactive device, wherein the target device is interactively connected with the interactive device; determining selected display data from the data to be displayed in response to a selected instruction fed back by a user; and processing the selected display data to display preview content corresponding to the selected display data on the interactive equipment.
In some embodiments, the method for previewing display content may be for an electronic ink screen or other type of display screen.
In some embodiments, the initial data may also be processed (e.g., color processed or otherwise processed) to process the initial data into content to be previewed before the interactive device previews the data to be displayed by the target device.
In some embodiments, after the interactive device previews the data to be displayed of the target device, the processed data with the preview effect meeting the user requirements can also be transmitted to the target device for display through the interactive connection between the interactive device and the target device.
In a third aspect, the present disclosure provides an interactive device in wired or wireless communication with an electronic ink screen, comprising: a processor; and a memory storing executable program instructions that, when executed by the processor, cause the interactive device to implement a method according to any one of the first aspects.
In a fourth aspect, the present disclosure provides a computer-readable storage medium having stored thereon computer-readable instructions which, when executed by one or more processors, implement the method of any one of the first aspects.
Through the method for previewing the display content, the content to be displayed on the electronic ink screen can be displayed by using the interactive equipment which is interactively connected with the electronic ink screen, and after the user finishes content selection, color processing is performed on the selected display content so as to finish conversion on a color space, so that the color rendering performance of the electronic ink screen is matched, and the previewing effect is more matched with the actual display effect. And under the condition that the electronic ink screen does not need to be refreshed, the interaction equipment is utilized to finish the preview of the display content of the electronic ink screen, so that the timeliness of the preview function is improved.
Drawings
The above, as well as additional purposes, features, and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description when read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar or corresponding parts and in which:
FIG. 1 illustrates an exemplary flow chart of a method for previewing electronic ink screen display content according to some embodiments of the present disclosure;
FIG. 2 illustrates an exemplary flow chart of a color processing method of some embodiments of the present disclosure;
FIG. 3 illustrates an exemplary flow chart of an exclusive OR method of some embodiments of the present disclosure;
FIG. 4 illustrates an exemplary process diagram of a preview method in template mode in accordance with some embodiments of the present disclosure;
FIG. 5 illustrates an exemplary flow chart of a method of customizing an update text message according to some embodiments of the present disclosure;
FIG. 6 illustrates an exemplary process diagram of a preview method in picture mode in accordance with some embodiments of the present disclosure;
FIG. 7 illustrates an exemplary flow chart of a method for previewing electronic ink screen display according to further embodiments of the present disclosure;
fig. 8 shows an exemplary block diagram of the structure of an interactive device of an embodiment of the present disclosure.
Detailed Description
The following description of the embodiments of the present disclosure will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the disclosure. Based on the embodiments in this disclosure, all other embodiments that may be made by those skilled in the art without the inventive effort are within the scope of the present disclosure.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present disclosure is for the purpose of describing particular embodiments only, and is not intended to be limiting of the disclosure. As used in the specification and claims of this disclosure, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in the present disclosure and claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
Exemplary application scenarios
The electronic ink screen is composed of two substrates, electronic ink composed of countless tiny transparent particles is coated on the substrates, the particles are formed by sealing particles with different colors and positive and negative electricity in an internal liquid microcapsule, the charged particles with different colors can move in different directions due to different applied electric fields, and finally different patterns are displayed on the surface of the screen.
Because of the difference between the display principle and the traditional LCD screen, the electronic ink screen brings better reading experience and also has a certain limitation on the function of real-time preview.
Because the electronic ink screen has limited color supported for display, when the content to be displayed is different from the color space of the electronic ink screen, the user cannot easily predict the screen brushing effect directly according to the content to be displayed. In addition, because the refresh rate of the electronic ink screen is lower, the screen brushing effect is displayed in a mode of refreshing the electronic ink screen, and the timeliness requirement of real-time preview cannot be well matched in speed. Therefore, the existing electronic ink screen display scheme is not configured with a preview function.
Exemplary application scenario
In view of this, the embodiments of the present disclosure provide a preview scheme for an electronic ink screen, which uses an interactive device that is interactively connected with the electronic ink screen to perform color processing on a selected display content, so as to complete conversion on a color space, thereby matching the color rendering performance of the electronic ink screen, and enabling the preview effect to be more consistent with the actual display effect. . And displaying preview content by means of the interaction equipment, and realizing a high-timeliness preview function under the condition that the electronic ink screen does not need to be refreshed.
Fig. 1 illustrates an exemplary flowchart of a method 100 for previewing electronic ink screen display content according to some embodiments of the present disclosure, as shown in fig. 1, in step S101, displaying data to be displayed of an electronic ink screen on an interactive device. In this embodiment, the electronic ink screen is interactively connected to the interactive device, where the electronic ink screen may be mounted on a smart device such as a video card. Through the interactive connection, the interactive device can read the data to be displayed of the electronic ink screen, and further, the electronic ink screen can also receive the data and the instructions from the interactive device.
In step S102, in response to a selection instruction fed back by the user, selected display data is determined from the data to be displayed. Taking the interactive device with the touch screen as an example, the interactive device can display the data to be displayed of the electronic ink screen to a user in the form of a picture tiling or numbering list and the like, the user operates on the touch screen, and the touch screen forms a selected instruction in the interactive device by sensing the operation of the user, so that the selected display data is determined.
In step S103, color processing is performed on the selected display data to display preview content corresponding to the selected display data on the interactive device. The color space of an electronic ink screen depends on the color of the particles of the liquid microcapsules within it. Conventional electronic ink screens are typically black and white ink screens, and with the development of electronic ink screens, color ink screens have been capable of displaying three or more colors of content, such as black and white and red color ink screens.
The electronic ink screen color space is limited, and color processing is needed to be performed on the selected display data so as to complete conversion of the color space, so that the display data can be more attached to the actual display effect of the electronic ink screen.
Through color processing, a user can preview the display effect of the selected display data on the electronic ink screen through the interaction equipment, namely, the user can acquire preview content corresponding to the selected display data through the interaction equipment, so that the function of previewing the display effect of the electronic ink screen is realized.
To more accurately accomplish the conversion of color space, some embodiments of the present disclosure provide a color processing method as shown in fig. 2, fig. 2 shows an exemplary flowchart of a color processing method 200 of some embodiments of the present disclosure.
In step S201, first and second two-color image data are generated based on the selected display data, respectively. In some embodiments, the selected display data includes a selected template or a selected picture. In practical application, a user can select a template or a picture to display on the interactive device of the electronic ink screen, and before the electronic ink screen is swiped to display the display data selected by the user, the content can be previewed by the method described in the embodiment.
In order to more precisely complete the conversion of the color space, in step S201, the embodiment first converts the selected display data into a plurality of two-color spaces.
Taking a black-white-red color ink screen as an example, step S201 may convert the selected display data into black-white image data and red-white image data, respectively, through binarization processing, that is, the first dual-color image data and the second dual-color image data described in this embodiment, and then combine the black-white image data and the red-white image data to generate black-white-red image data, thereby completing the conversion of the color space of the selected display data.
In step S202, an exclusive or operation is performed on two pixel values located at the same pixel position in the first bi-color image data and the second bi-color image data, to obtain a pixel value located at the pixel position in the target display data. In the present embodiment, the purpose of step S202 is to merge the data obtained in the two bi-color spaces in step S201 into a color space with a wider color gamut.
Since the first and second bi-color image data are in different color spaces, they may appear in different colors at the same pixel location, e.g., pixels that appear black in black-and-white image data appear white in red-and-white image data. In order to prevent color collision during the merging process, step S202 of the present embodiment performs an exclusive or operation on two pixel values located at the same pixel position in the first bi-color image data and the second bi-color image data, so as to determine a pixel value of each pixel point of the selected display data in the merged color space, that is, a pixel value located at a pixel position in the target display data.
To facilitate understanding of the merging process of color spaces by those skilled in the art, the exclusive-or operation method adopted in some embodiments of the present disclosure is described below with reference to fig. 3, fig. 3 shows an exemplary flowchart of an exclusive-or operation method 300 of some embodiments of the present disclosure, and in step S301, it is determined whether the first pixel value is the same as the second pixel value, as shown in fig. 3. If yes, step S302 is executed, and if no, step S303 is executed. In this embodiment, determining whether the first pixel value is the same as the second pixel value may be understood as determining whether the color that the first pixel position exhibits in the color space of the first two-color image data is the same as the color that it exhibits in the color space of the second two-color image data.
In step S302, the pixel value at the first pixel position in the target display data is updated to the same pixel value. If the color of the first pixel location in the color space of the first bi-color image data is the same as the color it is in the color space of the second bi-color image data, e.g. the pixel location appears white in both black and white image data and red packet image data, it can be unambiguously determined that the first pixel location still appears white in the combined color space. Thus, the pixel value at the first pixel position in the target display data may directly take the original pixel value, i.e. the same pixel value, e.g. (255 ).
In step S303, the pixel value at the first pixel position in the target display data is updated to the conditional filtering value. The condition filtering value is one of a first pixel value and a second pixel value. That is, in the case where the color represented in the color space of the first two-color image data at the first pixel position is different from the color represented in the color space of the second two-color image data, the pixel value of the target display data at the first pixel position needs to be selected from the first pixel value and the second pixel value as the update value.
For example, the first two-color image data is image data having a first color and a second color, the second two-color image data is image data having a first color and a third color, and the condition-filtered value is a pixel value of a pixel point of a non-first color.
Taking black-and-white image data and red-and-white image data as an example, assuming that the first pixel position appears black in the color space of the black-and-white image data and white in the color space of the red-and-white image data, the first pixel position appears black in the color space of the target display data. Assuming that the first pixel position appears white in the color space of black-and-white image data and red in the color space of red-and-white image data, the first pixel position appears red in the color space of the target display data.
Based on this, the conditional screening value of some embodiments of the present disclosure is the pixel value of the non-white pixel point. At this time, the first two-color image data is black-and-white image data, and the second two-color image data is red-and-white image data.
Based on the above description, the exclusive or operation expression for black-and-white image data and red-and-white image data in some embodiments of the present disclosure may be expressed as follows: black +.white=black, red +.white=red, white +.white=white.
It will be appreciated that the above description of the exclusive or operation is directed to one example of a color ink screen displaying three colors, black and white and red. In practical application, the method of combining color spaces through exclusive or operation is also applicable to electronic ink screens of other color spaces, and will not be described in detail here.
According to the method described in connection with fig. 3, the calculation of the pixel value at the first pixel position in the target display data can be completed, so that each pixel position is facilitated, and the exclusive-or operation method is performed for each pixel position, so that the pixel value of each pixel position in the target display data can be obtained.
Returning to fig. 2, in step S203, preview content corresponding to the selected display data is displayed on the interactive device of the electronic ink screen according to the pixel value of each pixel position in the target display data. Because the refresh rate of the electronic ink screen is low, the electronic ink screen is used for displaying the timeliness requirement that the preview function is difficult to match, and based on the consideration, the embodiment uses the interaction equipment of the electronic ink screen for displaying the preview content corresponding to the selected display data.
The interactive device can adopt a display screen with higher refresh rate, such as an LCD display screen, an OLED display screen and the like, and after the color space conversion and merging operations of step S201 and step S202, the color space of the preview content displayed on the interactive device is matched with the color space of the electronic ink screen, so that the display effect on the interactive device can be more fit with the actual display effect of the electronic ink screen.
Some embodiments of the present disclosure divide two different preview modes, e.g., a template mode corresponding to a selected template and a picture mode corresponding to a selected picture, depending on the type of display data selected. The different preview modes differ in the operation of the color conversion, and the two preview modes are described below in connection with fig. 4 to 6, respectively.
First, referring to fig. 4 for a description of the stencil mode, fig. 4 shows an exemplary process diagram of a preview method 400 in the stencil mode according to some embodiments of the present disclosure, as shown in fig. 4, in step S401, a blank bitmap is created with the same resolution as the electronic ink screen. In this embodiment, a blank bitmap with the same resolution as that of the electronic ink screen is created, so that the size of the preview content of the subsequent interactive device can be ensured to adapt to the size of the electronic ink screen, and the problems of deformation and the like can not occur, thereby influencing the preview effect.
In step S402, the selected template is drawn on the blank bitmap to obtain a selected display bitmap. In this embodiment, the selection module may be a template in a template library selected by the user on the interactive device, and the background draws the template content on the blank bitmap according to the template selected by the user, so as to form a selected display bitmap, that is, the selected display data in the bitmap format.
Further, in order to allow customized updating of text information in templates according to scenes and people, some embodiments of the present disclosure provide a method of customized updating of text information.
The method may be applied to a template mode, which is performed prior to step S201, to form customized selected display data. Fig. 5 illustrates an exemplary flowchart of a method 500 of customizing update text information in accordance with some embodiments of the present disclosure, in step S501, loading a selected template. Illustratively, in some embodiments, the template library may be stored in a local storage area, and the selected template is retrieved and loaded offline from the local template library as the selected template is loaded.
In step S502, a custom region of a selected template is located. In this embodiment, the templates in the template library provide text information editing frames, so that text information can be customized according to different scenes or personnel information. In some embodiments, the location information of the customized area of the selected template may be stored in the template library in advance in the form of a tag or the like and associated with the selected template, and after the selected template is loaded in step S501, the customized area of the selected template may be located directly according to the location information of the customized area. In other embodiments, the location of the text message editing box may also be found by a location recognition algorithm, thereby locating the customized area of the selected template.
In step S503, information is edited in the text information edit box of the customizing region to form customized selected display data. In the picture template of the traditional UI design, the text information is fixed, and a great deal of workload is generated if the text information is updated at any time. In this embodiment, the customized updating of the text information can be completed only by editing the information in the text information editing frame of the customized area, so as to form customized selected display data.
Returning again to fig. 4, in step S403, binarization processing is performed on the selected display bitmap to obtain first and second two-color image data, respectively. Taking a color ink screen displaying three colors of black and white as an example, binarization processing is performed on the selected display bitmap to obtain black and white image data and red and white image data. Further, as the color gamut of the color space of the electronic ink screen increases, the number of obtained binarized data correspondingly increases to form more image data in two-color space, and detailed description thereof will not be expanded.
In step S404, an exclusive or operation is performed on two pixel values located at the same pixel position in the first bi-color image data and the second bi-color image data, to obtain a pixel value located at the pixel position in the target display data.
In step S405, according to the pixel value of each pixel position in the target display data, preview content corresponding to the selected display data is displayed on the interactive device of the electronic ink screen.
It should be noted that the content of the steps S404 to S405 is identical to the content of the steps S202 to S203 in the previous embodiment, and will not be described here again.
The preview method in the template mode is described above in connection with fig. 4 and 5, and the preview method in the picture mode is described next in connection with fig. 6.
Fig. 6 illustrates an exemplary process diagram of a preview method 600 in a picture mode in accordance with some embodiments of the present disclosure, as shown in fig. 6, in step S601, a selected picture is converted into a target multi-color picture, such as a three-color picture or a four-color picture, by image processing. In some embodiments, in order to ensure that the preview content matches the size of the electronic ink screen, and avoid the problems of deformation of the preview screen, size mismatch, and the like, in step S601, the selected image may be converted into a selected bitmap with the same resolution as the electronic ink screen through image preprocessing, and then the selected bitmap may be converted into the target multicolor image through image color conversion processing. Image preprocessing illustratively includes image processing such as scaling and/or cropping.
In step S602, binarization processing is performed on the target multicolor picture to obtain first and second two-color image data, respectively. In this embodiment, the implementation manner and purpose of step S602 may refer to the embodiment of fig. 4, which is not described herein.
In step S603, an exclusive or operation is performed on two pixel values located at the same pixel position in the first bi-color image data and the second bi-color image data, to obtain a pixel value located at the pixel position in the target display data.
In step S604, according to the pixel value of each pixel position in the target display data, displaying the preview content corresponding to the selected display data on the interactive device of the electronic ink screen.
It should be noted that the content of the steps S603 to S604 is identical to the content of the steps S202 to S203 in the previous embodiment, and will not be repeated here.
Further, in order to solve the problem that the preview content cannot be loaded in the network-free scenario, the disclosure provides a method for offline loading of data based on the preview method described in any of the foregoing embodiments. In the method, selected display data is stored in a local storage unit.
Based on the above-described method of offline loading of data, in some embodiments of the present disclosure, a method for previewing electronic ink screen display is provided as shown in fig. 7, and fig. 7 shows an exemplary flowchart of a method 700 for previewing electronic ink screen display of other embodiments of the present disclosure.
As shown in fig. 7, in step S701, a selected instruction fed back by a user through an electronic ink screen or an interactive device is acquired. In some embodiments, the manner in which the user feeds back the selection instruction may be as follows, selecting one from a picture list or a template list as the selected display data. In other embodiments, the user may also enter the number of the selected picture or selected template to complete feedback of the selected instruction. In still other embodiments, the user may also import the desired selected display data directly. The feedback mode of the selected instruction is not limited too much in this embodiment.
In addition, the user can feed back the selected instruction through the electronic ink screen, and the electronic ink screen forwards the selected instruction to the interaction equipment in a wired communication mode or a wireless communication mode, or can feed back the selected instruction to the interaction equipment directly.
In step S702, the selected display data is fetched and loaded offline from the local storage unit according to the selected instruction. Since the selected display data is stored in the local storage unit, loading of the selected display data can be completed even in a network-free environment.
In step S703, first and second two-color image data are generated based on the selected display data, respectively.
In step S704, an exclusive or operation is performed on two pixel values located at the same pixel position in the first bi-color image data and the second bi-color image data, to obtain a pixel value located at the pixel position in the target display data.
In step S705, according to the pixel value of each pixel position in the target display data, displaying the preview content corresponding to the selected display data on the interactive device of the electronic ink screen.
It should be noted that, the above steps S703 to S705 are identical to the contents of steps S201 to S203 in the previous embodiment, and are not described herein again.
It should be further noted that the method of offline loading of data can be equally applied to the preview method in the two preview modes described in connection with fig. 4 and 6. For example, the selected templates may be stored in a local template library of the local storage unit, the templates and the rendering content information may be stored offline and loaded offline, and a list of templates may be provided in a software interface of the interactive apparatus, so that the user may not rely on the network environment when selecting the templates. The selected pictures can be stored in a local picture library of the local storage unit, the pictures and the drawing content information are stored offline and loaded offline, and a picture list is provided in a software interface of the interactive device, so that the user can select the pictures independently of the network environment.
In the prior art, when the selected display data is stored in the server, the data is required to be loaded through a network, and the data cannot be acquired in a network-free scene, so that the electronic ink screen cannot be updated. By the scheme described in the embodiment, the problem that the selected display data cannot be loaded when no network exists is solved, and the updating of the electronic ink screen is ensured not to be influenced by the network environment.
Further, in the preview method described in any of the foregoing embodiments, after the first bi-color image data and the second bi-color image data are generated, modulus calculation may be performed on the first bi-color image data and the second bi-color image data, so that binary image data are converted into hexadecimal target data, and then the target data are sent to the storage area of the electronic ink screen through a wired communication manner or a wireless communication manner, so that after receiving a screen brushing instruction, the electronic ink screen finishes screen brushing according to the target data.
Illustratively, the wireless communication manner includes, but is not limited to, NFC communication technology, for example, wireless communication technologies such as ZigBee communication technology, wireless local area network communication technology, and bluetooth communication technology may also be used to implement communication.
In summary, the present disclosure provides a method for previewing display content, the method comprising: displaying data to be displayed of the target device on the interaction device, wherein the target device is in interactive connection with the interaction device; determining selected display data from the data to be displayed in response to a selected instruction fed back by a user; and processing the selected display data to display preview content corresponding to the selected display data on the interactive device.
The method for previewing display content may be for an electronic ink screen or other type of display screen. For example, when the electronic ink screen is used for the electronic ink screen, the color space of the electronic ink screen can be adapted, and the real-time effect preview of the content to be displayed under the color space of the electronic ink screen can be completed without refreshing the electronic ink screen; for example, in a case where a target display device for displaying data to be displayed is powered off or a transmission speed between an interactive device and the target device is slow, or other cases, previewing the data to be displayed of the target device using the interactive device may also be achieved by the method provided by the present disclosure.
In some embodiments, the initial data (e.g., templates or pictures) in the interactive device may also be processed (e.g., color processed or otherwise processed) to process the initial data into content to be previewed before the interactive device previews the data to be displayed by the target device.
In some embodiments, after the interactive device previews the data to be displayed of the target device, the processed data with the preview effect meeting the user requirements can also be transmitted to the target device for display through the interactive connection between the interactive device and the target device.
The disclosure provides a method for previewing display content of an electronic ink screen, which is used for displaying the content to be displayed of the electronic ink screen by means of interaction equipment and performing color processing on the display content selected by a user so as to match the color rendering performance of the electronic ink screen, and further realizing the previewing of the display content of the electronic ink screen by means of the interaction equipment, so that the previewing effect is more fit with the actual display effect.
Further, the disclosure provides a color processing method, which forms two-color image data under a two-color space, and synthesizes the two-color image data into image data of a color space with a wider color gamut by exclusive or operation, so as to form target display data required by preview to match the color display performance of the electronic ink screen. And further completing the display of the preview content by utilizing the interaction device, thereby completing the rapid preview of the selected display data without refreshing the electronic ink screen.
Further, the method for previewing the display content of the electronic ink screen may be divided into two preview methods, wherein one is a preview method in a template mode and the other is a preview method in a picture mode. The preview method in the two modes can load the selected display data offline, so that the electronic ink screen can finish updating the display content under the network-free environment, and the preview function can be normally realized.
Furthermore, in the preview method under the template mode, the text information in the template can be customized and updated according to the scene and personnel. The selected template provides a text information editing frame, the template can be customized according to different scenes or personnel information, and the problem that the template cannot edit information is solved, so that the electronic ink screen can realize customized updating independent of a design drawing, and design pressure is reduced.
In order to implement the method steps of the disclosure described above in connection with the accompanying drawings at the software and hardware level, the embodiment of the disclosure further provides an interaction device as shown in fig. 8. In particular, FIG. 8 illustrates an exemplary block diagram of an interactive device 800 of an embodiment of the present disclosure.
As shown in fig. 8, an interactive device 800 of the present disclosure may include a processor 810 and a memory 820. Specifically, the memory 820 has stored thereon executable program instructions. The program instructions, when executed by the processor 810, cause the interaction device to implement the method steps as described hereinbefore in connection with fig. 1-7.
It will be appreciated that to clearly illustrate aspects of the present disclosure and avoid obscuring the prior art, the interactive apparatus 800 of fig. 8 only shows constituent elements relevant to embodiments of the present disclosure, while omitting those constituent elements that may be necessary to practice embodiments of the present disclosure but fall within the prior art scope. Accordingly, based on the present disclosure, one of ordinary skill in the art will clearly appreciate that the interactive apparatus 800 of the present disclosure may also include common constituent elements that are different from those illustrated in fig. 8.
In an exemplary implementation scenario, the processor 810 described above may control the overall operation of the interactive device 800. For example, the processor 810 may control the operation of the interactive device 800 by executing programs stored in the memory 820. In terms of implementation, the processor 810 of the present disclosure may be implemented as a Central Processing Unit (CPU), an application processor (Application Processor, AP), an artificial intelligence processor chip (INTELLIGENT PROCESSING UNIT, IPU), or the like provided in the interactive device 800. Further, the processor 810 of the present disclosure may also be implemented in any suitable manner. For example, the processor 810 may take the form of, for example, a microprocessor or processor, and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, application SPECIFIC INTEGRATED Circuits (ASICs), programmable logic controllers, and embedded microcontrollers, among others.
In terms of storage, the memory 820 may be used to store hardware for various data, instructions processed in the interactive device 800. For example, the memory 820 may store processed data and data to be processed in the interactive device 800. Memory 820 may store data sets that have been processed or to be processed by processor 810. Further, the memory 820 may store applications, drivers, etc. to be driven by the interactive device 800. For example: the memory 820 may store various programs related to model construction, constraint setting to be executed by the processor 810. The memory 820 may be a DRAM, but the present disclosure is not limited thereto. By type, the memory 820 may include at least one of volatile memory or non-volatile memory. The nonvolatile memory may include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), flash memory, phase change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), ferroelectric RAM (FRAM), and the like. Volatile memory can include Dynamic RAM (DRAM), static RAM (SRAM), synchronous DRAM (SDRAM), PRAM, MRAM, RRAM, ferroelectric RAM (FeRAM), and the like. In an embodiment, the memory 820 may include at least one of a Hard Disk Drive (HDD), a Solid State Drive (SSD), a high density flash memory (CF), a Secure Digital (SD) card, a Micro-secure digital (Micro-SD) card, a Mini-secure digital (Mini-SD) card, an extreme digital (xD) card, a cache (caches), or a memory stick.
In summary, specific functions implemented by the memory 820 and the processor 810 of the interaction device 800 provided in the embodiments of the present disclosure may be explained in comparison with the foregoing embodiments in the present disclosure, and may achieve the technical effects of the foregoing embodiments, which will not be repeated herein.
Additionally or alternatively, the disclosure may also be embodied as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) having stored thereon computer program instructions (or computer programs, or computer instruction code) which, when executed by a processor of an interactive device (or interactive device, server, etc.), cause the processor to perform part or all of the steps of the above-described methods according to the disclosure.
While various embodiments of the present disclosure have been shown and described herein, it will be obvious to those skilled in the art that such embodiments are provided by way of example only. Numerous modifications, changes, and substitutions will occur to those skilled in the art without departing from the spirit and scope of the present disclosure. It should be understood that various alternatives to the embodiments of the disclosure described herein may be employed in practicing the disclosure. The appended claims are intended to define the scope of the disclosure and are therefore to cover all equivalents or alternatives falling within the scope of these claims.

Claims (15)

1. A method for previewing display content, comprising:
Displaying data to be displayed of an electronic ink screen on interactive equipment, wherein equipment with the electronic ink screen is interactively connected with the interactive equipment;
Determining selected display data from the data to be displayed in response to a selected instruction fed back by a user; and
And performing color processing on the selected display data to display preview content corresponding to the selected display data on the interactive equipment.
2. The method of claim 1, wherein color processing the selected display data to display preview content corresponding to the selected display data on the interactive device comprises:
Generating first and second bi-color image data, respectively, based on the selected display data;
Performing exclusive OR operation on two pixel values positioned at the same pixel position in the first bicolor image data and the second bicolor image data to obtain a pixel value positioned at the pixel position in target display data; and
And displaying preview content corresponding to the selected display data on the interactive equipment of the electronic ink screen according to the pixel value of each pixel position in the target display data.
3. The method of claim 2, wherein xoring two pixel values located at a same pixel location in the first bi-color image data and the second bi-color image data comprises:
Judging whether a first pixel value is the same as a second pixel value, wherein the first pixel value is a pixel value positioned at a first pixel position in the first bicolor image data, and the second pixel value is a pixel value positioned at the first pixel position in the second bicolor image data;
updating a pixel value at a first pixel position in the target display data to the same pixel value in response to the same; and
And in response to the difference, updating a pixel value at a first pixel position in the target display data to be a conditional filtering value, wherein the conditional filtering value is one of the first pixel value and the second pixel value.
4. A method according to claim 3, wherein the first bi-color image data is image data having a first color and a second color, the second bi-color image data is image data having a first color and a third color, and the conditional screening value is a pixel value of a non-first color pixel.
5. The method of claim 2, wherein the selected display data comprises: a template is selected or a picture is selected.
6. The method of claim 5, wherein responding to the selected display data as a selected template, wherein generating the first bi-color image data and the second bi-color image data, respectively, based on the selected display data comprises:
drawing the selected template on the blank bitmap to obtain a selected display bitmap; and
Binarizing the selected display bitmap to obtain first and second bi-color image data, respectively.
7. The method of claim 6, wherein prior to drawing the selected template on a blank bitmap, the method further comprises:
Creating a blank bitmap with the same resolution as the electronic ink screen.
8. The method of claim 5, wherein responding to the selected display data as a selected picture, wherein generating the first bi-color image data and the second bi-color image data, respectively, based on the selected display data comprises:
Converting the selected picture into a target multicolor picture through image processing; and
And performing binarization processing on the target multicolor picture to obtain first double-color image data and second double-color image data respectively.
9. The method of claim 8, wherein converting the selected picture to a target multi-color picture by image processing comprises:
converting the selected picture into a selected bitmap with the same resolution as the electronic ink screen through image preprocessing; and
The selected bitmap is converted to the target multicolor picture by an image color conversion process.
10. The method of any of claims 1-9, wherein the selected display data is stored in a local storage unit, the method further comprising, prior to generating the first and second bi-color image data based on the selected display data, respectively:
Acquiring a selected instruction fed back by a user through the electronic ink screen or the interactive equipment; and
And offline retrieving and loading the selected display data from the local storage unit according to the selected instruction.
11. The method of any of claims 5-7, wherein the selected template includes a custom region, the method further comprising, prior to generating the first and second bi-color image data based on the selected display data, respectively:
loading the selected template;
locating a customized region of the selected template; and
And editing information in a text information editing frame of the customized area to form customized selected display data.
12. The method of any of claims 1-9, wherein after generating the first and second bi-color image data, respectively, based on the selected display data, the method further comprises:
performing modulo computation on the first two-color image data and the second two-color image data to obtain target data; and
And sending the target data to a storage area of the electronic ink screen in a wired communication mode or a wireless communication mode so that the electronic ink screen finishes screen brushing according to the target data after receiving a screen brushing instruction.
13. A method for previewing display content, comprising:
Displaying data to be displayed of a target device on an interactive device, wherein the target device is interactively connected with the interactive device;
Determining selected display data from the data to be displayed in response to a selected instruction fed back by a user; and
And processing the selected display data to display preview content corresponding to the selected display data on the interactive equipment.
14. An interactive device in wired or wireless communication with a device having an electronic ink screen, comprising:
a processor; and
A memory storing executable program instructions that, when executed by the processor, cause the interaction device to implement the method of any of claims 1-13.
15. A computer readable storage medium having stored thereon computer readable instructions which, when executed by one or more processors, implement the method of any of claims 1-13.
CN202410175167.5A 2024-02-07 2024-02-07 Method for previewing display content and related product Pending CN118016005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410175167.5A CN118016005A (en) 2024-02-07 2024-02-07 Method for previewing display content and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410175167.5A CN118016005A (en) 2024-02-07 2024-02-07 Method for previewing display content and related product

Publications (1)

Publication Number Publication Date
CN118016005A true CN118016005A (en) 2024-05-10

Family

ID=90942856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410175167.5A Pending CN118016005A (en) 2024-02-07 2024-02-07 Method for previewing display content and related product

Country Status (1)

Country Link
CN (1) CN118016005A (en)

Similar Documents

Publication Publication Date Title
KR100989010B1 (en) Systems and methods for generating visual representations of graphical data and digital document processing
CN101930337B (en) Method for processing on-screen display and associated embedded system
CN109344352B (en) Page loading method and device and electronic equipment
US11003680B2 (en) Method for providing e-book service and computer program therefor
CN102799571B (en) Word document image generating method and system
CN107943363B (en) Background image configuration method and device, interactive intelligent panel and storage medium
WO2018126594A1 (en) Display switching method for terminal, and terminal
US20170329502A1 (en) Method and device for processing image
CN112651475B (en) Two-dimensional code display method, device, equipment and medium
JP2011146799A (en) Device and program for processing image
CN112215171A (en) Target detection method, device, equipment and computer readable storage medium
JP2021034009A (en) Electronic apparatus and control method thereof
CN111459501A (en) SVG-based Web configuration picture storage and display system, method and medium
CN110110831A (en) A kind of compound two dimensional code and its generation, display methods, electronic equipment
CN112686939A (en) Depth image rendering method, device and equipment and computer readable storage medium
CN118016005A (en) Method for previewing display content and related product
CN113934340B (en) Terminal equipment and progress bar display method
CN115576513A (en) Target image display method, display device, electronic device, and storage medium
CN102263924B (en) Image processing method based on bicubic interpolation and image display method
JP2015158640A (en) Display device and control method of the same
WO2023272495A1 (en) Badging method and apparatus, badge detection model update method and system, and storage medium
CN111652787B (en) Processing method and device for adding watermark text into picture and computer equipment
US11017505B2 (en) System and method for applying antialiasing to images
KR101525409B1 (en) Augmented method of contents using image-cognition modules
JP4936524B2 (en) Image processing system and image processing method

Legal Events

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