A color display method, device, terminal equipment and storage medium

By acquiring and recognizing color values ​​in the displayed image, the display colors of the first operating system are configured to be consistent with those of the second operating system, thus solving the problem of display color deviation caused by different operating systems and improving the user experience.

CN115809038BActive Publication Date: 2026-05-08BEIJING HITEVISION AIXUE EDUCATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING HITEVISION AIXUE EDUCATION TECH CO LTD
Filing Date
2022-12-02
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Different operating systems have different algorithms for processing the same color configuration, which can cause color discrepancies on the display screen and affect the user experience.

Method used

By acquiring the display image on the screen, the color value of the first content generated by the second operating system is identified, and the display color of the second content of the first operating system is configured according to the identification result so that it is consistent with the display color of the second operating system.

Benefits of technology

It eliminates the display color deviation problem caused by the deviation of the operating system processing algorithm, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115809038B_ABST
    Figure CN115809038B_ABST
Patent Text Reader

Abstract

The application is suitable for the technical field of data display, and provides a color display method and device, a terminal equipment and a storage medium. The method is applied to a first operating system of a terminal equipment, the terminal equipment further comprises a second operating system configured in a pluggable equipment, and the method comprises the following steps: acquiring a display image of a display screen, the display image comprising first content generated by the second operating system based on a first color value; performing color identification on the first content in the display image to obtain a second color value; and configuring the display color of second content in the first operating system according to the second color value, so that the display color of the second content in the display screen is the same as that of third content configured as the first color value in the second operating system; wherein the third content comprises the first content or is different from the first content. The application can solve the problem of display color deviation of different operating systems for the same configuration color.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of data display technology, and in particular relates to a color display method, apparatus, terminal equipment and storage medium. Background Technology

[0002] Interactive flat panels, touch screen all-in-one machines, and other dual-system display devices consist of devices and displays with different operating systems. For example, the main device may have an Android system, while the pluggable device may have a Windows system. The content output by both devices is displayed on the same screen.

[0003] Different operating systems contain different processing algorithms. Therefore, the color values ​​obtained by different operating systems after processing the same color configuration using their built-in processing algorithms will vary. This results in different color display results for the same configuration color on the screen, which is a color display deviation problem and leads to a poor user experience. Summary of the Invention

[0004] This application provides a color display method, apparatus, terminal device, and storage medium, which can solve the problem of color display deviations for the same configuration colors on different operating systems.

[0005] In a first aspect, embodiments of this application provide a color display method applied to a first operating system of a terminal device, wherein the terminal device further includes a second operating system configured in a pluggable device, the method comprising:

[0006] Acquire a display image of the display screen, the display image containing first content generated by the second operating system based on a first color value;

[0007] Color recognition is performed on the first content in the displayed image to obtain a second color value;

[0008] Based on the second color value, the display color of the second content in the first operating system is configured so that the display color of the second content on the display screen is the same as the display color of the third content configured with the first color value in the second operating system on the display screen; wherein the third content includes the first content or is different from the first content.

[0009] Secondly, embodiments of this application provide a color display device applied to a first operating system of a terminal device, wherein the terminal device further includes a second operating system configured in a pluggable device, and the device includes:

[0010] An image acquisition module is used to acquire a display image on the screen, wherein the display image contains first content generated by the second operating system based on a first color value;

[0011] A color recognition module is used to perform color recognition on the first content in the displayed image to obtain a second color value;

[0012] A configuration module is configured to configure the display color of second content in the first operating system according to the second color value, so that the display color of the second content on the display screen is the same as the display color of third content configured with the first color value in the second operating system on the display screen; wherein the third content includes the first content or is different from the first content.

[0013] Thirdly, embodiments of this application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a color display method as described in the first aspect above.

[0014] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements a color display method as described in the first aspect above.

[0015] Fifthly, embodiments of this application provide a computer program product that, when run on a terminal device, causes the terminal device to execute a color display method described in the first aspect above.

[0016] The beneficial effects of this application embodiment compared with the prior art are as follows: This application acquires a display image of a display screen, the display image containing first content generated by a second operating system based on a first color value; based on the display image, it acquires a second color value corresponding to the display color of the first content on the display screen; and configures the color of the second content in the first operating system according to the second color value. This application can make the display color of the second content on the display screen the same as the display color of the third content configured with the first color value in the second operating system on the display screen, eliminating the display color deviation problem caused by the deviation of color value values ​​obtained by different operating systems after processing the same configured color using built-in processing algorithms. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1This is a schematic flowchart of a color display method provided in an embodiment of this application;

[0019] Figure 2 This is a flowchart illustrating a color display method according to another embodiment of this application;

[0020] Figure 3 This is a schematic block diagram of the structure of a color display device provided in one embodiment of this application;

[0021] Figure 4 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Detailed Implementation

[0022] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0023] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0024] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0025] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0026] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0027] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0028] By way of example and not limitation, this application can be applied to terminal devices, such as interactive whiteboards, touch screen all-in-one computers, and other dual-system display devices. A dual-system display device refers to a device running two operating systems, such as interactive whiteboards, touch screen all-in-one computers, etc. The dual-system display device includes a pluggable device, such as an OPS computer. The dual-system display device itself is configured with a first operating system, and the pluggable device is configured with a second operating system. The first and second operating systems are two independent operating systems. By way of example and not limitation, the first operating system can be an Android system, and the second operating system can be a Windows system. Furthermore, this method can be applied to the first operating system in the dual-system display device.

[0029] This application applies to scenarios where a display screen simultaneously shows content from both a first operating system and a second operating system, and the content from both operating systems needs to maintain consistent colors. For example, the second operating system's interface displays content from the first operating system, and the colors of the first operating system's content can change with the second operating system's theme color—a color-following scenario. As an example and not a limitation, the second operating system's interface can also display touch-sensitive controls / sidebars from the first operating system. These touch-sensitive controls can also be referred to as a "smart compass," as detailed in patent application number 202011628470.4.

[0030] This application can also be applied to writing scenarios where the writing display delay is compensated by the first operating system when writing is performed using a writing application based on a second operating system.

[0031] Example 1:

[0032] Please see Figure 1 , Figure 1The illustration shows a schematic flow of a color display method provided in this application, which is an example and not a limitation, and can be applied to a first operating system of a terminal device, wherein the terminal device further includes a second operating system configured in a pluggable device.

[0033] This embodiment uses a color-following scenario as an example to illustrate the implementation process of a color display method provided in this application.

[0034] Step 101: Obtain the display image of the display screen, which contains first content generated by the second operating system based on the first color value.

[0035] In one possible implementation, if the second operating system configured in the pluggable device contains content that changes color with the theme, this content can be designated as the first content, such as the bottom taskbar on the operating page. Taking the bottom taskbar as the first content as an example, the displayed image can include a portion of the bottom taskbar or the entire bottom taskbar.

[0036] In the second operating system's interface, the colors of content that change with the theme color may be obscured or affected by the colors of other application interfaces, resulting in the displayed image not including the color of that content or the color of that content changing.

[0037] Therefore, to ensure that the displayed image contains content with a color value configured as the first color value, in another possible implementation, the first content can be displayed at a specific display location on the screen. In this case, the first content is different from the content in the operation page of the second operating system that changes with the theme color. The specific display location can be a corner position, such as the upper left corner.

[0038] The first content can be content that sets the shape and size. Optionally, the first content can be a rectangular pixel block with a size of 3*3 whose pixel color value is configured as the first color value, or the first content can be a triangular pixel block with a side length of 3 whose pixel color value is configured as the first color value.

[0039] Optionally, a screenshot can be taken of the content displayed on the screen to obtain the displayed image. This screenshot can refer to a full-screen screenshot or a partial screenshot.

[0040] It should be noted that, in order to improve the user experience, the screenshot result will not be displayed on the screen after taking a screenshot, meaning the user will not see the screenshot operation.

[0041] Optionally, acquiring the display image of the screen includes: receiving color configuration information sent by a pluggable device, wherein the color configuration information is sent by the pluggable device after configuring the color of the first content based on a first color value; and acquiring the display image of the screen in response to the color configuration information. In this embodiment, the color configuration information is only used to trigger the first operating system to acquire the display image; therefore, it may not contain information related to the first color value. This step allows the application to acquire the display image only after the pluggable device has configured the color of the first content, avoiding the waste of computing resources caused by real-time acquisition of the display image.

[0042] Step 102: Perform color recognition on the first content in the displayed image to obtain the second color value.

[0043] The color value of the first content displayed in the image can be identified and extracted using the color recognition algorithm built into the first operating system, which is the second color value.

[0044] Step 103: Configure the display color of the second content in the first operating system according to the second color value, so that the display color of the second content on the display screen is the same as the display color of the third content configured with the first color value in the second operating system on the display screen; wherein the third content includes the first content or is different from the first content.

[0045] The second content can be touch-sensitive controls and / or a sidebar. It should be noted that when configuring the display color of the second content, the second content may or may not be displayed on the screen; if the second content is displayed on the screen, its display color will change after the display color configuration is completed; if the second content is not displayed on the screen, it will be displayed on the screen according to the configured display color in response to the user's display instructions after the display color configuration is completed.

[0046] The third type of content could be content that changes with the theme color in the operation page of the aforementioned second operating system, such as the bottom taskbar.

[0047] Regardless of the configured color corresponding to the first color value, this application can maintain consistent display colors for the second and third content displayed on the screen using the aforementioned method, thereby improving user experience. Furthermore, in dual-system display devices, even after hardware replacements such as the display screen or motherboard, the color values ​​obtained by the same operating system using its built-in processing algorithm for the same configured color may deviate, leading to color discrepancies. However, this application obtains the second color value based on the displayed image on the screen. Therefore, regardless of whether there are discrepancies in the display color of the same configured color before and after hardware replacement, this application can achieve color uniformity for the second and third content displayed on the screen.

[0048] In one optional embodiment, the first content is displayed at a specific display position on the display screen, and the first content is used to indicate the display color of the third content; after acquiring the display image of the display screen, the method further includes: sending a deletion instruction to a pluggable device, the deletion instruction being used to cause the pluggable device to instruct the display screen to delete the first content.

[0049] When the first content is displayed at a specific location on the screen, the first content differs from the third content. The first content can be content with a defined shape and size, such as a rectangular pixel block or a triangular pixel block. In this case, the function of the first content is only to indicate the display color of the third content, and therefore, it does not need to be displayed on the screen continuously.

[0050] As an example and not a limitation, a cancellation command may be sent to a pluggable device after the display image of the display screen is acquired; wherein, "after the display image of the display screen is acquired" may mean after the display image is obtained, or after the second color value is obtained based on the display image, or after the configuration of the second content display color is completed according to the second color value.

[0051] This application obtains a second color value corresponding to the display color of a first content configured with a first color value on the display screen based on the display image of the display screen. According to the second color value, the second content is color configured so that the display color of the second content is consistent with the display color of the third content output to the display screen after the pluggable device is color configured according to the first color value. This eliminates the display color deviation problem caused by the deviation of color value values ​​obtained by different operating systems after processing the same configured color using built-in processing algorithms.

[0052] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0053] Example 2:

[0054] Please see Figure 2 , Figure 2 This illustration shows a schematic flow of a color display method provided in this application.

[0055] The above content mentions that this application is also applicable to writing scenarios. This embodiment takes a writing scenario as an example to illustrate the implementation process of another color display method provided by this application.

[0056] Step 201: Receive color configuration information sent by the second operating system after configuring the color of the first content based on the first color value.

[0057] In this embodiment, the color configuration information is used to indicate the first color value, and the color configuration information can also be called color description information. Optionally, the color configuration information can be a red-green-blue (RGB) channel value, or the hexadecimal representation of the RGB value, or a color value identifier, or the configuration color corresponding to the first color value, or the configuration color identifier corresponding to the first color value. The configuration color identifier is used to identify the configuration color.

[0058] The first operating system corresponds to the first layer, and the second operating system corresponds to the second layer, with the first layer located above the second layer. Optionally, the first content can be the written content output to the second layer by the second operating system according to the first color value; it can also be the content output to a specific display position in the second layer by the second operating system according to the first color value, such as a rectangular pixel color block or a triangular pixel color block.

[0059] The first layer can be a transparent layer, in which case the specific display position mentioned above can be any position in the second layer; the first layer can also be an opaque layer, in which case the area of ​​the first layer needs to be smaller than the area of ​​the second layer, and the specific display position mentioned above can be any position in the target area of ​​the second layer, the target area being the area in the second layer that is not covered by the first layer.

[0060] It should be noted that in the writing scenario, the color configuration information can also include the width information of the writing strokes. The first operating system configures the width of the pen in the first layer according to the width information, so that the width of the writing content in the first layer and the second layer is the same.

[0061] Step 202: In response to the color configuration information, determine whether the color information correspondence table contains first color description information that matches the color configuration information.

[0062] The color information mapping table may contain the correspondence between the color description information of the configured color values ​​under the first operating system and the color description information of the displayed color values.

[0063] Optionally, it can be determined whether the color information correspondence table contains first color description information that matches the color configuration information by checking whether the color information correspondence table contains color configuration information. If the color information correspondence table contains color configuration information, then the color information correspondence table contains first color description information that matches the color configuration information; otherwise, it does not contain first color description information.

[0064] The writing scenario corresponds to writing software. The first operating system can allocate a cache area for the writing software after it is started. Optionally, the color information mapping table can be located in the cache area, and the color information mapping table can be deleted after the writing software is closed.

[0065] Optionally, the color information mapping table can also be located in a designated local storage area.

[0066] Step 203: If the color information correspondence table does not contain the first color description information, obtain the display image of the display screen.

[0067] Step 204: Perform color recognition on the first content in the displayed image to obtain the second color value; configure the display color of the second content in the first operating system according to the second color value.

[0068] For details regarding steps 203 and 204, please refer to the relevant descriptions in steps 101-103.

[0069] Optionally, after performing color recognition on the first content in the displayed image to obtain the second color value, the method further includes: generating second color description information based on the second color value; establishing a correspondence between the second color description information and the color configuration information; and storing the correspondence in a color information correspondence table.

[0070] After storing the correspondence in the color information correspondence table, the second color value can be directly obtained from the color information correspondence table when the color value of the third content is configured as the first color value again in the second operating system, without needing to obtain the display image again. The second color value is obtained based on the display image, which improves the speed of obtaining the second color value.

[0071] It should be noted that when the color display method provided in this application is executed for the first time, the color information correspondence table is empty.

[0072] Step 205: If the color information correspondence table contains first color description information, determine the third color value based on the first color description information; configure the display color of the second content according to the third color value; wherein, the display color of the second content configured as the third color value on the display screen is the same as the display color of the third content configured as the first color value on the display screen.

[0073] Optionally, determining the third color value based on the first color description information includes: obtaining the third color value from the first color description information, or obtaining the corresponding third color value based on the first color description information.

[0074] If the color configuration information is a color value, the color information mapping table contains the correspondence between the configured color values ​​and the display color values ​​under the first operating system. At this time, the third color value that matches the first color value can be obtained from the first color description information.

[0075] If the color configuration information is the hexadecimal representation of the color value, then the color information mapping table contains the correspondence between the hexadecimal representation of the configured color value under the first operating system and the hexadecimal representation of the displayed color value. In this case, the hexadecimal representation of the third color value is obtained from the first color description information. The third color value needs to be obtained based on the conversion relationship when the color value is converted to hexadecimal.

[0076] The second and third contents are written content, with the second content displayed on the first layer of the display screen and the third content displayed on the second layer. Both the first and second operating systems respond simultaneously to the user's writing operation, displaying the written content in the first and second layers respectively, with the written content in the first layer appearing on the display screen before the content in the second layer.

[0077] The first and second layers can display either all or part of the written content, but the content displayed in the first and second layers must constitute the entire written content. It should be noted that if all the written content is displayed in both layers, the content in the two layers will completely overlap.

[0078] For example, if the user writes "Display content", the word "content" will be displayed in the first layer and the word "display" will be displayed in the second layer. If the user writes "one", the right half of "one" will be displayed in the first layer and the left half of "one" will be displayed in the second layer.

[0079] It should be noted that after configuring the second content based on the third color value, the first operating system needs to write based on the third color value.

[0080] Upon receiving color configuration information, this application, in response to the color configuration information, determines whether a color information mapping table contains first color description information matching the color configuration information. If the color information mapping table does not contain the first color description information, it acquires a display image on the screen and obtains a second color value based on the display image. If the color information mapping table contains the first color description information, it determines a third color value based on the first color description information. Based on the third color value, it configures the display color of the second content so that its display color on the screen is the same as the display color of the third content configured with the first color value on the screen. This application eliminates the display color deviation problem and, by searching for the first color description information matching the color configuration information in the color information mapping table before acquiring the display image, improves the speed of obtaining the configuration color value for the second content.

[0081] Example 3:

[0082] Please see Figure 3 , Figure 3 The figure illustrates a schematic structure of a color display device provided in this application. This device can be applied to a first operating system of a terminal device, which also includes a second operating system configured in a pluggable device. For ease of explanation, only the parts relevant to the embodiments of this application are shown in the figure.

[0083] Reference Figure 3 The device includes an image acquisition module 31, a color recognition module 32, and a configuration module 33; the specific functions of each module are as follows:

[0084] Image acquisition module 31 is used to acquire the display image of the display screen, the display image containing first content generated by the second operating system based on the first color value;

[0085] Color recognition module 32 is used to perform color recognition on the first content in the displayed image to obtain a second color value;

[0086] The configuration module 33 is configured to configure the display color of the second content in the first operating system according to the second color value, so that the display color of the second content on the display screen is the same as the display color of the third content configured with the first color value in the second operating system on the display screen; wherein the third content includes the first content or is different from the first content.

[0087] Optionally, the image acquisition module 31 is specifically configured to: receive color configuration information sent by the pluggable device after configuring the color of the first content based on the first color value; and acquire the display image of the display screen in response to the color configuration information.

[0088] The color configuration information is used to indicate the first color value. Optionally, the image acquisition module 31 is specifically used to: in response to the color configuration information, determine whether the color information correspondence table contains first color description information that matches the color configuration information; and if the color information correspondence table does not contain first color description information, acquire the display image of the display screen.

[0089] Optionally, the image acquisition module 31 is specifically used to: determine a third color value based on the first color description information when the color information correspondence table contains first color description information; and configure the display color of the second content according to the third color value, wherein the display color of the second content configured as the third color value on the display screen is the same as the display color of the third content configured as the first color value on the display screen.

[0090] Optionally, the device further includes a storage module for: generating second color description information based on the second color value; establishing a correspondence between the second color description information and color configuration information; and storing the correspondence in a color information correspondence table.

[0091] The first content is displayed at a specific display position on the display screen, and the first content is used to indicate the display color of the third content; optionally, the device further includes an instruction sending module, used to: after acquiring the display image of the display screen, send a deletion instruction to the pluggable device, the deletion instruction being used to instruct the pluggable device to delete the first content.

[0092] Optionally, the image acquisition module 31 is specifically used to: take a screenshot of the content displayed on the screen to obtain a display image.

[0093] The color display device provided in this application embodiment can be applied in the aforementioned method embodiment one and embodiment two. For details, please refer to the description of the aforementioned method embodiment one and embodiment two, which will not be repeated here.

[0094] Example 4:

[0095] Please see Figure 4 , Figure 4 A schematic structure of a terminal device according to an embodiment of this application is shown. The terminal device 4 of this embodiment includes: at least one processor 40 ( Figure 4 Only one is shown in the diagram), memory 41, and computer program 42 stored in the memory 41 and executable on the at least one processor 40, wherein the processor 40 executes the computer program 42 to implement the steps of a color display method in Embodiment 1 and Embodiment 2 described above.

[0096] The terminal device 4 can be a dual-system display device such as an interactive flat panel or a touch screen all-in-one machine. The terminal device 4 may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will understand that... Figure 4 This is merely an example of terminal device 4 and does not constitute a limitation on terminal device 4. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, it may also include input / output devices, network access devices, etc.

[0097] The processor 40 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0098] In some embodiments, the memory 41 may be an internal storage unit of the terminal device 4, such as a hard disk or memory of the terminal device 4. In other embodiments, the memory 41 may be an external storage device of the terminal device 4, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the terminal device 4. Furthermore, the memory 41 may include both internal and external storage units of the terminal device 4. The memory 41 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 41 can also be used to temporarily store data that has been output or will be output.

[0099] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0100] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0101] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.

[0102] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a terminal device, a recording medium, a computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0103] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0104] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0105] In the embodiments provided in this application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0106] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0107] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A color display method, characterized in that, A first operating system applied to a terminal device, the terminal device further comprising a second operating system configured in a pluggable device, the method comprising: Acquiring a display image from a screen, the display image containing first content generated by the second operating system based on a first color value, the acquisition of the display image from the screen includes: receiving color configuration information sent by the pluggable device after configuring the first content with color based on the first color value, the color configuration information indicating the first color value; responding to the color configuration information, determining whether a color information correspondence table contains first color description information matching the color configuration information; and if the color information correspondence table does not contain the first color description information, acquiring the display image from the screen. Color recognition is performed on the first content in the displayed image to obtain a second color value; Based on the second color value, the display color of the second content in the first operating system is configured so that the display color of the second content on the display screen is the same as the display color of the third content configured with the first color value in the second operating system on the display screen; wherein the third content includes the first content or is different from the first content.

2. The method as described in claim 1, characterized in that, After determining whether the color information correspondence table contains first color description information that matches the color configuration information, the method further includes: If the color information correspondence table contains the first color description information, the third color value is determined based on the first color description information. The display color of the second content is configured according to the third color value, wherein the display color of the second content configured with the third color value on the display screen is the same as the display color of the third content configured with the first color value on the display screen.

3. The method as described in claim 1, characterized in that, After performing color recognition on the first content in the displayed image to obtain the second color value, the process includes: Based on the second color value, generate second color description information; Establish a correspondence between the second color description information and the color configuration information; The correspondence is stored in the color information correspondence table.

4. The method as described in claim 1, characterized in that, The first content is displayed at a specific location on the display screen, and the first content is used to indicate the display color of the third content; after acquiring the display image of the display screen, the method further includes: Send a deletion command to the pluggable device, the deletion command being used to instruct the pluggable device to delete the first content from the display screen.

5. The method according to any one of claims 1-4, characterized in that, The process of acquiring the display image on the screen includes: Take a screenshot of the content displayed on the screen to obtain the displayed image.

6. A color display device, characterized in that, A first operating system applied to a terminal device, the terminal device further comprising a second operating system configured in a pluggable device, the apparatus comprising: An image acquisition module is used to acquire a display image of a display screen, wherein the display image contains first content generated by the second operating system based on a first color value. Acquiring the display image of the display screen includes: receiving color configuration information sent by the pluggable device after configuring the first content with color based on the first color value, wherein the color configuration information indicates the first color value; responding to the color configuration information, determining whether a color information correspondence table contains first color description information matching the color configuration information; and if the color information correspondence table does not contain the first color description information, acquiring the display image of the display screen. A color recognition module is used to perform color recognition on the first content in the displayed image to obtain a second color value; A configuration module is configured to configure the display color of second content in the first operating system according to the second color value, so that the display color of the second content on the display screen is the same as the display color of third content configured with the first color value in the second operating system on the display screen; wherein the third content includes the first content or is different from the first content.

7. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 5.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Display method and display device of touch function controls, and electronic equipment

    CN112631501A

  • Dual-system display method, notebook computer with assistant screen, and assistant display device

    CN101515226A