Search

CN-115809038-B - Color display method and device, terminal equipment and storage medium

CN115809038BCN 115809038 BCN115809038 BCN 115809038BCN-115809038-B

Abstract

The application is applicable to the technical field of data display, and provides a color display method, a device, a terminal device and a storage medium, wherein the method is applied to a first operating system of the terminal device, the terminal device also comprises a second operating system configured in pluggable equipment; and configuring the display color of the second content in the first operation system according to the second color value so that the display color of the second content is the same as the display color of third content configured as the first color value in the second operation system in a display screen, wherein the third content comprises the first content or is different from the first content. The application can solve the problem that different operating systems have display color deviation aiming at the same configuration color.

Inventors

  • JIA KELI

Assignees

  • 北京鸿合爱学教育科技有限公司

Dates

Publication Date
20260508
Application Date
20221202

Claims (8)

  1. 1. A color display method, characterized by being applied to a first operating system of a terminal device, the terminal device further comprising a second operating system configured in a pluggable device, the method comprising: The method comprises the steps of receiving color configuration information sent by pluggable equipment after performing color configuration on first content based on a first color value, wherein the color configuration information is used for indicating the first color value; judging whether a color information corresponding table contains first color description information matched with the color configuration information or not in response to the color configuration information; acquiring a display image of the display screen under the condition that the color information corresponding table does not contain the first color description information; Performing color recognition on the first content in the display image to obtain a second color value; And configuring 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 in the display screen is the same as the display color of the third content configured as the first color value in the second operating system in the display screen, wherein the third content comprises the first content or is different from the first content.
  2. 2. The method of claim 1, wherein after determining whether the first color description information matching the color configuration information is included in the color information correspondence table, the method further comprises: Determining a third color value based on the first color description information, in a case where the color information correspondence table contains the first color description information; And configuring the display color of the second content according to the third color value, wherein the display color of the second content configured to the third color value in the display screen is the same as the display color of the third content configured to the first color value in the display screen.
  3. 3. The method of claim 1, wherein after said color identifying said first content in said displayed image to obtain a second color value, comprising: generating second color description information based on the second color value; Establishing a corresponding relation between the second color description information and the color configuration information; and storing the corresponding relation to the color information corresponding table.
  4. 4. The method of claim 1, wherein the first content is displayed at a particular display location in the display screen, the first content being used to indicate a display color of the third content, the method further comprising, after the obtaining the display image of the display screen: And sending a cancellation instruction to the pluggable device, wherein the cancellation instruction is used for enabling the pluggable device to instruct the display screen to cancel the first content.
  5. 5. The method of any of claims 1-4, wherein the acquiring a display image of a display screen comprises: And capturing the content displayed in the display screen to obtain the display image.
  6. 6. A color display apparatus, characterized by 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: The image acquisition module is used for acquiring a display image of a display screen, wherein the display image comprises first content generated by the second operation system based on a first color value, and the acquisition module is used for receiving color configuration information sent by the pluggable equipment after performing color configuration on the first content based on the first color value, wherein the color configuration information is used for indicating the first color value; the color identification module is used for carrying out color identification on the first content in the display image to obtain a second color value; the configuration module is used for configuring the display color of the second content in the first operation system according to the second color value so that the display color of the second content in the display screen is the same as the display color of the third content configured as the first color value in the second operation system in the display screen, wherein the third content comprises the first content or is different from the first content.
  7. 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 the processor implements the method according to any of claims 1 to 5 when executing the computer program.
  8. 8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method according to any one of claims 1 to 5.

Description

Color display method and device, terminal equipment and storage medium Technical Field The present application relates to the field of data display technologies, and in particular, to a color display method, a device, a terminal device, and a storage medium. Background The dual-system display equipment such as the interactive tablet, the touch integrated machine and the like consists of equipment provided with different operating systems and a display screen, wherein the equipment provided with the different operating systems is main equipment provided with an android system and pluggable equipment provided with a windows system, and the content output by the equipment and the display screen are displayed on the same display screen. Different operating systems comprise different processing algorithms, so that the color value values obtained by processing the same configuration color by the different operating systems through the built-in processing algorithms have deviation, the same configuration color is displayed as different color display results on a display screen, namely the problem of color display deviation exists, and the user experience is poor. Disclosure of Invention The embodiment of the application provides a color display method, a device, a terminal device and a storage medium, which can solve the problem that different operation systems have display color deviation aiming at the same configuration color. In a first aspect, an embodiment of the present application provides a color display method, which is applied to a first operating system of a terminal device, where the terminal device further includes a second operating system configured in a pluggable device, and the method includes: Acquiring a display image of a display screen, wherein the display image comprises first content generated by the second operating system based on a first color value; Performing color recognition on the first content in the display image to obtain a second color value; And configuring 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 in the display screen is the same as the display color of the third content configured as the first color value in the second operating system in the display screen, wherein the third content comprises the first content or is different from the first content. In a second aspect, an embodiment of the present application provides a color display apparatus, which is applied to a first operating system of a terminal device, where the terminal device further includes a second operating system configured in a pluggable device, and the apparatus includes: the image acquisition module is used for acquiring a display image of a display screen, wherein the display image comprises first content generated by the second operation system based on a first color value; the color identification module is used for carrying out color identification on the first content in the display image to obtain a second color value; the configuration module is used for configuring the display color of the second content in the first operation system according to the second color value so that the display color of the second content in the display screen is the same as the display color of the third content configured as the first color value in the second operation system in the display screen, wherein the third content comprises the first content or is different from the first content. In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements a color display method as described in the first aspect when the processor executes the computer program. In a fourth aspect, an embodiment of the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements a color display method as described in the first aspect. In a fifth aspect, an embodiment of the present application provides a computer program product for causing a terminal device to perform a color display method as described in the first aspect above, when the computer program product is run on the terminal device. Compared with the prior art, the method and the device have the advantages that the display image of the display screen is obtained, the display image comprises first content generated by the second operating system based on the first color value, the second color value corresponding to the display color of the first content in the display screen is obtained based on the display image, and the second content in the first operating system is subjected to color configuration according to the second color value. The application can make the display color of the second content in the display screen identic