CN110851155A - Method and device for changing theme colors of set top box interface - Google Patents
Method and device for changing theme colors of set top box interface Download PDFInfo
- Publication number
- CN110851155A CN110851155A CN201911004794.8A CN201911004794A CN110851155A CN 110851155 A CN110851155 A CN 110851155A CN 201911004794 A CN201911004794 A CN 201911004794A CN 110851155 A CN110851155 A CN 110851155A
- Authority
- CN
- China
- Prior art keywords
- color
- theme
- picture information
- color table
- bin
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 239000003086 colorant Substances 0.000 title claims abstract description 43
- 230000015654 memory Effects 0.000 claims abstract description 42
- 230000008859 change Effects 0.000 claims abstract description 16
- 238000004590 computer program Methods 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000012938 design process Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000000750 progressive effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000005012 migration Effects 0.000 description 1
- 238000013508 migration Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 229920001296 polysiloxane Polymers 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Processing Or Creating Images (AREA)
Abstract
The application provides a method and a device for changing theme colors of a set top box interface, wherein the method comprises the following steps: receiving an interface theme color changing instruction of a target set top box; acquiring a corresponding bin color table from a pre-stored color table bin file in a corresponding memory according to the interface theme color replacement instruction; converting the pre-acquired intermediate format picture information into corresponding target format picture information by applying the color data in the bin color table, wherein the interface theme and the bin color table are in one-to-one correspondence; and decoding the target format picture information and outputting and displaying the target format picture information. The method and the device can improve the efficiency of theme color change of the set top box interface and save the storage space.
Description
Technical Field
The application relates to the technical field of set top boxes, in particular to a set top box interface theme color changing method and device.
Background
The set top box is a resource-limited system, but the set top box is a visual system which is often interacted with a user, so that the user experience can be influenced to a great extent by the UI interface of the set top box, the interactive interfaces of the set top box of the user are enriched continuously, and the use satisfaction of the user can be improved.
The traditional implementation manner is to describe the UI interface of the set-top box in a file (usually xml) form, and set attributes required for the presentation of each component in each page, such as information of position, color, font, picture url, and the like, through the file. When the set-top box displays the pictures in the interface, the pictures specified by the url in the description file are loaded. If the theme color changing function is to be realized, different pictures can be designated according to the theme color. However, this solution has the problem that as the theme color increases, the number of pictures in the set-top box will increase by a factor. This clearly increases the storage space of the set-top box, which is a not insignificant challenge for systems that are otherwise space-limited.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a method and a device for changing the theme color of the interface of the set top box, which can improve the efficiency of changing the theme color of the interface of the set top box and save the storage space.
In order to solve the technical problem, the present application provides the following technical solutions:
in a first aspect, the present application provides a method for changing a theme color of a set top box interface, including:
receiving an interface theme color changing instruction of a target set top box;
acquiring a corresponding bin color table from a pre-stored color table bin file in a corresponding memory according to the interface theme color replacement instruction;
converting the pre-acquired intermediate format picture information into corresponding target format picture information by using the color data in the bin color table, wherein a one-to-one corresponding relationship exists between a pre-stored interface theme and the bin color table;
and decoding the target format picture information and outputting and displaying the target format picture information.
Further, before the receiving the interface theme color changing instruction of the target set top box, the method further includes: deleting palette data block information, auxiliary block information and public content in target format picture information corresponding to each pre-stored interface theme; and storing the index position information in the corresponding bin color table into the image data block of the target format picture information to generate the intermediate format picture information.
Further, before the receiving the interface theme color changing instruction of the target set top box, the method further includes: numbering and storing color information in each target format picture information corresponding to a pre-stored interface theme to generate a corresponding color table, wherein the same color information corresponds to the same number; storing the numbers corresponding to the color information of the same pixel point in the target format pictures with the same style in the pre-stored interface themes into the same index positions in the color tables corresponding to the numbers, and generating corresponding theme color tables; and coding each theme color table according to a preset protocol to generate the color table bin file and store the color table bin file in the memory.
Further, the converting the pre-acquired intermediate format picture information into the corresponding target format picture information by applying the color data in the bin color table includes: adding palette data block information in the intermediate format picture information according to the color data in the bin color table; and adding the public content of the corresponding target format picture information in the intermediate format picture information, and correspondingly generating the target format picture information.
Further, the picture information includes: transparency data block information; correspondingly, before the applying the color data in the bin color table to convert the pre-acquired intermediate format picture information into the corresponding target format picture information, the method further includes: and adding the alpha channel value of each color in the bin color table corresponding to the intermediate format picture information into the transparency data block information according to a preset data format.
Further, after the generating and storing the color table bin file in the memory, the method further includes: and receiving an interface theme adding instruction and updating the color table bin file according to the interface theme adding instruction.
In a second aspect, the present application provides a device for changing theme colors of an interface of a set-top box, including:
the first receiving module is used for receiving an interface theme color changing instruction of the target set top box;
a bin color table obtaining module, configured to obtain a corresponding bin color table from a pre-stored color table bin file in a corresponding memory according to the interface theme color change instruction;
the target format picture conversion module is used for converting the pre-acquired intermediate format picture information into corresponding target format picture information by applying the color data in the bin color table, wherein the pre-stored interface theme and the bin color table are in one-to-one correspondence;
and the output module is used for decoding the target format picture information and outputting and displaying the target format picture information.
Further, the device for changing theme color of the interface of the set-top box further comprises: the deleting module is used for deleting palette data block information, auxiliary block information and public content in the target format picture information corresponding to each pre-stored interface theme; and the intermediate format picture generation module is used for storing the index position information in the corresponding bin color table into the image data block of each piece of target format picture information to generate the intermediate format picture information.
Further, the device for changing theme color of the interface of the set-top box further comprises: the numbering module is used for numbering and storing color information in each target format picture information corresponding to a pre-stored interface theme to generate a corresponding color table, wherein the same color information corresponds to the same number; a theme color table generating module, configured to store, in each pre-stored interface theme, numbers corresponding to color information of the same pixel point in the target format picture with the same style, into the same index position in the color table corresponding to each pre-stored interface theme, and generate a corresponding theme color table; and the coding module is used for coding each theme color table according to a preset protocol, generating the color table bin file and storing the color table bin file in the memory.
Further, the obtain bin color table module includes: a first adding unit, configured to add palette data block information in the intermediate format picture information according to color data in the bin color table; and the second adding unit is used for adding the public content of the corresponding target format picture information in the intermediate format picture information and correspondingly generating the target format picture information.
Further, the picture information includes: transparency data block information; correspondingly, the device for changing the theme color of the set-top box interface further comprises: and the transparency information adding module is used for adding the alpha channel value of each color in the bin color table corresponding to the intermediate format picture information into the transparency data block information according to a preset data format.
Further, the device for changing theme color of the interface of the set-top box further comprises: and the updating module is used for receiving an interface theme adding instruction and updating the color table bin file according to the interface theme adding instruction.
In a third aspect, the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method for changing the theme color of the interface of the set-top box when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which computer instructions are stored, which when executed, implement the steps of the set-top box interface theme color change method.
According to the technical scheme, the method and the device for changing the theme color of the set top box interface are provided. Wherein, the method comprises the following steps: receiving an interface theme color changing instruction of a target set top box; acquiring a corresponding bin color table from a pre-stored color table bin file in a corresponding memory according to the interface theme color replacement instruction; converting pre-acquired intermediate format picture information into corresponding target format picture information by applying color data in the bin color table, wherein the pre-acquired intermediate format picture information and the bin color table, and the target format picture information and the bin color table are in one-to-one correspondence; decoding and outputting the target format picture information for display, so that the efficiency of changing the theme color of the interface of the set top box can be improved, and the storage space can be saved; the method has the advantages that the function of changing the theme in real time is realized, the function of on-line upgrading is provided, the theme color options to be selected of the set top box are dynamically expanded, and the theme color values are dynamically updated, so that the display effect of the whole set top box is optimized.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for changing a theme color of a set-top box interface according to a first embodiment of the present application;
fig. 2 is a schematic flowchart of a method for changing a theme color of a set-top box interface according to a second embodiment of the present application;
fig. 3 is a schematic flowchart of steps 301 to 303 in a method for changing a theme color of a set-top box interface according to a third embodiment of the present application;
fig. 4 is a schematic flowchart of steps 401 to 402 in a method for changing a theme color of a set-top box interface according to a fourth embodiment of the present application;
fig. 5 is a schematic structural diagram of a set-top box interface theme color changing apparatus according to a fifth embodiment of the present application;
fig. 6 is a schematic structural diagram of a set-top box interface theme color changing apparatus according to a sixth embodiment of the present application;
fig. 7 is a schematic structural diagram of a numbering module, a theme color table generating module, and an encoding module in a set-top box interface theme color changing apparatus according to a seventh embodiment of the present application;
fig. 8 is a schematic structural diagram of a bin color table obtaining module according to an eighth embodiment of the present application;
FIG. 9 is a schematic flow chart illustrating color table bin file parsing according to an exemplary embodiment of the present application;
fig. 10 is a block diagram schematically illustrating a system configuration of an electronic device 9600 according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In combination with the background technology, the existing method and device for changing the theme of the set top box interface have the problem that each set of theme color occupies too much system hardware resources; palette duplicate data wastes system hardware resources; the system cannot change the theme color in real time and efficiently; the system cannot rapidly expand the theme color and the like. Therefore, in order to improve the efficiency of changing the theme color of the set top box interface and save the storage space, the method starts from changing the existing method for changing the theme color of the set top box interface, and realizes a theme changing scheme in high efficiency and real time by cutting and compressing the format of a picture file and customizing the format of a color table bin file, and is compatible with the original picture format of the system. By single file upgrading, the theme color is flexibly expanded, and the color of some pixel points in the picture under the theme color is changed.
In order to facilitate understanding of the technical solutions provided in the present application, the following briefly describes the techniques related to the present application. PNG is an english abbreviation of portable network graphics (portable network graphics) that supports transparency, lossless compression of pictures, two commonly used types being PNG-8 and PNG-24. The PNG-8 type picture supports 256 colors at most, the colors are expressed by a color palette mode, the size of the whole picture can be compressed to be small, and the picture is very suitable for images with single colors, such as logos, icons and the like. The PNG-24 can display a picture with richer colors, and the picture size is also increased greatly. In a system such as a set-top box, the overall system has a small number of color types, and therefore, the PNG-8 format picture is very suitable for use. The PNG-8 file mainly comprises: PNG file identification, picture header data block (IHDR), palette data block (PLTE), auxiliary tile, image data block (IDAT), and image end data block (IEND).
The picture basic information of the PNG file is stored in a header data block ihdr (image header), and the picture basic information includes image width, image height, image color depth, color type, compression method, and the like. Where the ColorType bit describes the color type of the PNG picture, when the value is 3, this represents an indexed color image. The PLTE data block stores data of a palette, which may include 1 to 256 palette information, each of which is composed of 3 bytes and represents a Red component, a Green component, and a Blue component of a color described by the palette. The PNG-8 type index color picture format is preferably selected as the picture decoding format of the system, picture data is extracted, compressed and recombined on the basis, and the set top box interface theme change scheme which is real-time, efficient, low in storage space and dynamically updated is realized by utilizing the upgrading function.
Therefore, the application provides a set-top box interface theme changing device, and in practical application, a part for changing the set-top box interface theme can be executed on the server side as described above, and all operations can be completed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. The client device may further include a processor if all operations are performed in the client device.
The client device may have a communication module (i.e., a communication unit), and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
The server and the client device may communicate using any suitable network protocol, including network protocols not yet developed at the filing date of this application. The network protocol may include, for example, a TCP/IP protocol, a UDP/IP protocol, an HTTP protocol, an HTTPS protocol, or the like. Of course, the network Protocol may also include, for example, an RPC Protocol (Remote Procedure Call Protocol), a REST Protocol (Representational State Transfer Protocol), and the like used above the above Protocol.
The following examples are intended to illustrate the details.
Fig. 1 is a schematic flow chart of a set top box interface theme color changing method according to a first embodiment of the present application, and in order to improve efficiency of changing a theme color of a set top box interface and save a storage space, as shown in fig. 1, the set top box interface theme color changing method according to the embodiment of the present application includes:
step 101: and receiving an interface theme color changing instruction of the target set top box.
Step 102: and acquiring a corresponding bin color table from a pre-stored color table bin file in a corresponding memory according to the interface theme color replacement instruction.
Step 103: and converting the pre-acquired intermediate format picture information into corresponding target format picture information by applying the color data in the bin color table, wherein the interface theme and the bin color table are in one-to-one correspondence.
Specifically, each interface theme applies the same set of intermediate format picture information, and a plurality of pictures can be correspondingly arranged in the set of intermediate format picture information; the interface themes have the same style and different theme colors. The pre-stored color table bin file contains all bin color tables. The pre-acquired intermediate format picture information is picture information subjected to redundancy removal processing.
Step 104: and decoding the target format picture information and outputting and displaying the target format picture information.
Specifically, since the final output display still displays the picture information in the target format, for example, in the PNG format, the decoding manner may be software decoding or hardware decoding.
Fig. 2 is a schematic flowchart of steps 201 to 202 in a set-top box interface theme color changing method according to a second embodiment of the present application, and in order to further save a storage space and further reduce product cost, as shown in fig. 2, on the basis of the above embodiments, further, before step 101, the method further includes:
step 201: and deleting the palette data block information, the auxiliary block information and the public content in the target format picture information corresponding to each pre-stored interface theme.
Specifically, the auxiliary block information has no meaning, for example, the information in the blocks such as the image last modification tIME data block (tIME), the tEXt information data block (tEXt), the compressed tEXt data block (zTXt) and the like has no meaning, and these are removed; the public content corresponds to the public content contained in all the target format picture information, for example, the file header of the PNG picture is fixed to 0x89504e 470 x0d0a1a0a, and the file tail is fixed to 0x000000000x49454e 440 xae426082, and these are removed.
Step 202: and storing the index position information in the corresponding bin color table into the image data block of the target format picture information to generate the intermediate format picture information.
Specifically, the index position information in the corresponding bin color table is compressed and stored in the image data block of the target format image information, so as to generate the intermediate format image information. Compressing the target format picture information corresponding to each interface theme into the same set of intermediate format picture information corresponding to each interface theme. Through the processing, the target format picture information can be greatly reduced, and further the storage space of the system is saved.
Fig. 3 is a schematic flowchart of steps 301 to 303 in a set-top box interface theme color changing method according to a third embodiment of the present application, and in order to further improve real-time performance and efficiency of interface theme color changing, as shown in fig. 3, on the basis of the foregoing embodiments, further before step 101, the method further includes:
step 301: and numbering and storing the color information in each target format picture information corresponding to the pre-stored interface theme to generate a corresponding color table, wherein the same color information corresponds to the same number.
Specifically, the set top box interface theme color changing device numbers all colors of all pictures applied to one theme color to generate a color table; if the theme color needs to be upgraded, the new color is added to the color table. And the pre-stored interface theme and the color table are in one-to-one correspondence. Each color information is represented by four values of R (red), G (green), B (blue), and a (transparency).
Step 302: and storing the numbers corresponding to the color information of the same pixel point in the target format picture with the same style in each pre-stored interface theme into the same index position in the color table corresponding to each pre-stored interface theme to generate a corresponding theme color table.
Specifically, the colors of the same pixel point in the same picture in each pre-stored interface theme are stored in the same index position in each color table. If new color information needs to be added to a certain interface theme, the color information numbers corresponding to the new color information need to be synchronously added at the index positions corresponding to the new color information in all theme color tables.
Step 303: and coding each theme color table according to a preset protocol to generate the color table bin file and store the color table bin file in the memory.
Specifically, if new color information needs to be added to a certain interface theme or the original color information needs to be changed, only the color table bin file needs to be updated, and the information in the theme color table is also changed correspondingly.
Specifically, the protocol format corresponding to the preset protocol refers to the protocol format described in table 1, where table 1 includes the protocol format corresponding to the bin file, and the semantics of the protocol format corresponding to the bin file are as follows:
the file tag (file _ tag) is a 32-bit field by which the file is identified as a color table index file. The file _ tag value is a fixed value, 504E47, and the corresponding ASCII value is "SPNG".
The color table data length (size) is a 16-bit field, giving the total length of the color table data area, indicating the number of bytes of the color table data portion in the file starting from the color table index length field, excluding the crc check value.
The color table index length (table _ length) is an 8-bit field for marking the number of colors of a single theme color table, and the number of colors of each theme color table should be the same.
The color value (color) of a single subject color is a 24-bit field identifying the rgb value of a certain subject color.
The red component value (red) of an individual color is an 8-bit field that identifies the red component value of an individual color in a subject color table.
The green component value (green) of a single color is an 8-bit field identifying the green component value of a single color in a subject color table.
The blue component value (blue) of an individual color is an 8-bit field identifying the blue component value of an individual color in a subject color table.
The transparency component value (alpha) for an individual color is an 8-bit field that identifies the transparency channel component value for an individual color in a subject color table.
The file data check value (crc) is a 32-bit field identifying the crc check value for all the subject color table data, excluding file _ tag, size, and table _ length.
TABLE 1
Fig. 4 is a schematic flowchart of steps 401 to 402 in a set-top box interface theme color changing method according to a fourth embodiment of the present application, and as shown in fig. 4, in order to further improve flexibility and adaptability of the set-top box interface theme color changing and facilitate output and display of an interface theme, on the basis of the foregoing embodiments, further, in step 103, the pre-acquired intermediate format picture information is converted into target format picture information by applying color data in the bin color table, which includes:
step 401: and adding palette data block information in the intermediate format picture information according to the color data in the bin color table.
Specifically, the color data in the bin color table is added to the palette data block of the intermediate format picture information according to the data format of the palette data block.
Step 402: and adding the public content of the corresponding target format picture information in the intermediate format picture information, and correspondingly generating the target format picture information.
Specifically, the public content is the public content contained in the target format picture information.
In order to further improve the variety of the interface theme color display, in an embodiment of the present application, the picture information includes: transparency data block information; correspondingly, before the step 103 of applying the color data in the bin color table to convert the pre-acquired picture information in the intermediate format into the corresponding picture information in the target format, the method further includes:
and adding the alpha channel value of each color in the bin color table corresponding to the intermediate format picture information into the transparency data block information according to a preset data format.
Specifically, the preset data format is a data format meeting the data format requirement of the transparency data block.
In order to further improve the expansibility and flexibility of the method for changing the theme color of the interface of the set top box, on the basis of the above embodiments, after step 303, the method for changing the theme color of the interface of the set top box further includes:
and receiving an interface theme adding instruction and updating the color table bin file according to the interface theme adding instruction.
Specifically, the color table bin file contains data in the theme color tables of all interface themes, and new theme color tables can be added or the color information of the theme color tables can be changed by updating the color table bin file, so that the display effect of the UI interface is optimized, and better user experience is provided.
Fig. 5 is a schematic structural diagram of a set-top box interface theme color changing apparatus according to a fifth embodiment of the present application, and from a software level, in order to improve efficiency of changing a theme color of a set-top box interface and save a storage space, this embodiment provides a set-top box interface theme color changing apparatus for executing all or part of contents in the set-top box interface theme color changing method, as shown in fig. 5, specifically including the following contents:
the first receiving module 51 is configured to receive an interface theme color changing instruction of the target set top box.
And a bin color table obtaining module 52, configured to obtain a corresponding bin color table from a pre-stored color table bin file in a corresponding memory according to the interface theme color replacement instruction.
And a target format picture conversion module 53, configured to convert the pre-acquired intermediate format picture information into corresponding target format picture information by using the color data in the bin color table, where a one-to-one correspondence relationship exists between a pre-stored interface theme and the bin color table.
And the output module 54 is configured to decode the target format picture information and output and display the decoded target format picture information.
Fig. 6 is a schematic structural diagram of a set-top box interface theme color changing apparatus according to a sixth embodiment of the present application, and as shown in fig. 6, on the basis of the foregoing embodiments, the set-top box interface theme color changing apparatus further includes:
a deleting module 61, configured to delete palette data block information, auxiliary block information, and public content in target format picture information corresponding to each pre-stored interface theme;
and an intermediate format picture generation module 62, configured to store the index position information in the corresponding bin color table into each image data block of the target format picture information, so as to generate the intermediate format picture information.
Fig. 7 is a schematic structural diagram of a numbering module, a theme color table generating module, and an encoding module in a set-top box interface theme color changing apparatus according to a seventh embodiment of the present application, where as shown in fig. 7, on the basis of the foregoing embodiments, the set-top box interface theme color changing apparatus further includes:
the numbering module 71 is configured to number and store color information in each target format picture information corresponding to a pre-stored interface theme, and generate a corresponding color table, where the same color information corresponds to the same number;
a theme color table generating module 72, configured to store, in each pre-stored interface theme, numbers corresponding to color information of the same pixel point in the target format picture with the same style, into the same index position in the color table corresponding to each pre-stored interface theme, and generate a corresponding theme color table;
and an encoding module 73, configured to encode each theme color table according to a preset protocol, generate the color table bin file, and store the color table bin file in the memory.
Fig. 8 is a schematic structural diagram of a bin color table acquiring module according to an eighth embodiment of the present application, and as shown in fig. 8, on the basis of the foregoing embodiments, the bin color table acquiring module includes:
a first adding unit 81, configured to add palette data block information in the intermediate format picture information according to the color data in the bin color table.
And a second adding unit 82, configured to add the common content of the target format picture information corresponding to the intermediate format picture information, and generate the target format picture information correspondingly.
In an embodiment of the present application, the picture information includes: transparency data block information; correspondingly, the device for changing the theme color of the interface of the set top box further comprises:
and the transparency information adding module is used for adding the alpha channel value of each color in the bin color table corresponding to the intermediate format picture information into the transparency data block information according to a preset data format.
In an embodiment of the present application, the device for changing theme color of an interface of a set top box further includes:
and the updating module is used for receiving an interface theme adding instruction and updating the color table bin file according to the interface theme adding instruction.
Based on this, in order to further improve the efficiency of changing the theme color of the interface of the set top box and save the storage space, the application provides a specific application example of the method for changing the theme color of the interface of the set top box, which specifically includes the following contents:
s1: defining a color table, summarizing all colors (the total number of the colors is less than 256) used by each picture under a theme color of the set top box, respectively expressing each color by using four values of R (red), G (green), B (blue) and A (transparency), and numbering the colors. The execution subject of the step can be UI designer of the set-top box or the set-top box interface theme color changing device.
Specifically, under the next theme color of the set of UI, all the colors used by the system for the picture (the total number of the colors needs to be less than 256), each color is represented by four values of R (red), G (green), B (blue), and a (transparency), and the colors are numbered and stored to form a color table, and then all the colors are selected from the color table in the process of designing the UI interface. If a new color needs to be used in the UI design process, the new color is added to the color table.
S2: defining each theme color table, summarizing all colors used by the pictures at the same positions and different theme colors of the same picture.
Specifically, according to the defined color table, color tables used by the UI interfaces in the respective theme colors are respectively specified, and the colors of the same pixel point in the same picture in the respective theme colors need to appear at the same index position in the respective color tables. If a new color is added under a certain theme color in the UI design process, the color tables of all theme colors need to be synchronously added with the corresponding colors of the color under other theme colors. The execution subject of the step can be UI designer of the set-top box or the set-top box interface theme color changing device.
S3: and all colors summarized in the previous two steps are coded and stored according to a certain protocol to generate a corresponding color table bin file.
Specifically, in order to uniformly manage color tables of various theme colors, the color tables are stored in a flash space of the system in a bin file form according to a certain protocol, and when a new theme color needs to be added or a color value of a certain color under a certain theme color needs to be changed, only the bin file needs to be updated. Fig. 9 is a schematic flow chart of color table bin file parsing provided in the specific application example of the present application, and as shown in fig. 9, in the application example, by parsing the color table bin file, corresponding bin color table data can be finally obtained and stored. It is understood that the data obtained by parsing the color table bin file is stored in the system memory for application in step S5. The color table bin file is essentially a file, and reading data from the file requires judging whether the data is completely read, namely reading the tail of the file.
S4: and removing the palette data and other redundant information using the PNG picture in the UI interface of the set top box, and storing the palette data and other redundant information in the SPNG format.
Specifically, the SPNG format is the intermediate format, the SPNG format picture is the intermediate format picture, and the PNG picture is the target format picture. Because all pictures use the same set of color table data, the PNG-8 data can be compressed, the PLTE block data in the PNG-8 picture file is removed, and the whole IDAT block stores the compressed data using the color index values in the same set of color table. Meanwhile, for common content in all PNG-8 pictures, such as the file header of the PNG picture, fixed as 0x89504e 470 x0d0a1a0a and the file trailer fixed as 0x000000000x49454e 440 xae426082, these can be removed. Meanwhile, for the embedded device such as a set-top box, the data of the auxiliary blocks in the PNG picture is meaningless, such as blocks of tIME, reext, zTXt, and the like, and therefore, the auxiliary blocks are also removed. After the data is removed, the remaining data is saved as the custom file extension "SPNG". Through the processing, the whole PNG picture can be greatly reduced, and the storage space of the set-top box is saved.
S5: when the set-top box needs to draw a UI interface in the operation process, the SPNG picture is restored into a complete PNG picture by combining the color data of the color table bin file according to the current theme color stored in the system flash, the complete PNG picture is provided for a decoder of the system to be decoded, and finally the UI interface is displayed for a user through an output interface.
S6: when the user switches the theme color through the UI interface, the theme color of the system is saved to the flash storage, and the page is refreshed at the same time, and the operation in step S5 is executed again.
Specifically, when a UI interface needs to be drawn in the operation process of the set top box and when rendering of an 'SPNG' picture is encountered, according to the current theme color stored in the system flash and in combination with the color data of the color table bin file, the 'SPNG' file is restored to be a complete PNG picture, the PNG picture is provided for a decoder of the system to be decoded, and finally the UI interface is displayed for a user through an output interface.
The whole reduction process is as follows:
finding out color table data of the current theme color from the bin file, and adding PLTE block data in the SPNG picture according to the data format of the PLTE block; if a 'tRNS' block (transparency data block) exists in the 'SPNG' picture, which represents that the picture is a picture with transparency, the alpha channel value of each color in the color table needs to be added with tRNS block data according to the data format of the 'tRNS' block; and simultaneously adding the removed file header and file tail with fixed values, restoring complete picture data and storing the picture data as a normal PNG picture.
When a user switches theme colors in a UI interface through a remote controller, the theme colors of the system are stored in a flash memory, and a page is refreshed at the same time, at the moment, the process of drawing the UI interface before is executed again.
Since the picture content finally input to the system bottom layer by the whole scheme is still in the PNG format, the scheme can be adapted no matter whether the bottom layer system uses software decoding or hardware decoding.
S7: by upgrading the color table bin file, the theme color list of the set top box can be expanded, so that more theme color choices are provided for a user. Meanwhile, the color of the color table can be changed by upgrading the color table bin file, so that the display effect of the UI is optimized.
Specifically, in a setting page of the set-top box, to-be-selected items of the UI theme colors are switched and acquired from a color table bin file, if only two color tables of blue and orange are present in the bin file, there are two to-be-selected items of blue and orange in the to-be-selected items, and if there are three color tables in the bin file, there are three to-be-selected items. Because the color table data of all theme colors are stored in the bin file, the color table bin file can be upgraded, so that the theme color candidate of the set top box can be expanded, and more theme color choices can be provided for a user. Meanwhile, the colors of all theme colors are contained in the bin file, and the colors of the color table can be changed by upgrading the bin file, so that the display effect of the UI is optimized, and better user experience is provided.
In the process of analyzing the upgraded bin file, if an error is encountered, such as a length error or a crc error, discarding the bin file, and continuing to use the previously stored color table bin file on the flash of the set top box.
S8: for the PNG format picture resource received by the advertisement system in the set-top box, the decoding is normal, and the function use is not influenced, so the method is completely compatible with the existing system.
As can be seen from the above description, the method and the device for changing the theme color of the interface of the set top box provided by the present application have the following beneficial effects:
1. saving storage space and reducing product cost. After the system uses the scheme for changing the theme colors, the picture resources occupied by the system are not increased but reduced, because the scheme only uses one set of picture resources for a plurality of sets of theme colors, and meanwhile, for the set of picture files, the repeated and redundant information in the pictures is also removed, the size of the storage space of the system can be effectively reduced, and the product cost is reduced to a certain extent.
2. Real-time and efficient. According to the scheme, when the theme color is changed, only the currently selected theme color needs to be stored, and the current page is redrawn, all picture file resources do not need to be reloaded, the whole set top box or process does not need to be restarted, the theme color can be changed in real time, and the use experience of a user is greatly improved.
3. The expandability is strong and the compatibility is good. When the set-top box needs to add a new theme color or change a certain theme color, the display effect of some pictures only needs to upgrade the color table bin file, more picture resources do not need to be upgraded and added, the whole software code does not need to be upgraded, and the expandability of changing the theme color is greatly improved. Meanwhile, the PNG pictures received from the set-top box and transmitted by the advertising system or obtained through the network can be decoded and displayed normally, and other adaptations are not performed, so that the compatibility of the system is improved.
In terms of hardware, in order to improve the efficiency of changing the theme color of the interface of the set top box and save the storage space, the embodiments provided by the method of the present application may be executed in a server device, a computer cluster, or a similar computing device. Taking the example of running on a server, fig. 10 is a hardware structure block diagram of a server for implementing the method for changing the theme color of the interface of the set top box according to the embodiment of the present application. As shown in fig. 10, the server device may include one or more processors 1020 (only one shown in the figure) (the processors 1020 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 1040 for storing data, and a transmission module 1060 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 10 is merely illustrative and is not intended to limit the structure of the electronic device. For example, the server device may also include more or fewer components than shown in FIG. 10, or have a different configuration than shown in FIG. 10.
The memory 1040 may be configured to store software programs and modules of application software, such as program instructions/modules corresponding to the method for implementing the color change of the interface theme of the set-top box in the embodiment of the present application, and the processor 1020 executes various functional applications and data processing by running the software programs and modules stored in the memory 1040, that is, implementing one of the above-mentioned application programs for implementing the color change method of the interface theme of the set-top box. The memory 1040 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1040 may further include memory located remotely from the processor 1020, which may be connected to the server device 101 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission module 1060 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the server device. In one example, the transmission module 1060 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission module 1060 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Based on the foregoing content for implementing the method for changing theme color of the set-top box interface, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The electronic equipment types can comprise mobile terminals, special vehicle insurance equipment, vehicle-mounted interaction equipment, personal computers and the like. When the processor executes the instructions, all or part of the contents for implementing the set-top box interface theme color changing method may be implemented, for example, when the processor executes the instructions, the following contents may be implemented:
step 101: and receiving an interface theme color changing instruction of the target set top box.
Step 102: and acquiring a corresponding bin color table from a pre-stored color table bin file in a corresponding memory according to the interface theme color replacement instruction.
Step 103: and converting the pre-acquired intermediate format picture information into corresponding target format picture information by using the color data in the bin color table, wherein the pre-stored interface theme and the bin color table are in one-to-one correspondence.
Step 104: and decoding the target format picture information and outputting and displaying the target format picture information.
In one embodiment of the application, auxiliary data such as audio video data and color table bin files are received by the Tuner module. After the audio and video data are decoded, the audio and video data can be output to display media such as a television and the like through the cvbs or HDMI interface, and the playing function of the audio and video is realized. As can be seen from the above description, the electronic device provided in the embodiments of the present application can improve the efficiency of changing the theme color of the interface of the set top box and save the storage space.
Based on the content of the foregoing method for implementing the set-top box interface theme color change, an embodiment of the present application further provides a computer-readable storage medium capable of implementing all or part of the steps in the above embodiment of the set-top box interface theme color change method, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements all of the method for implementing the set-top box interface theme color change in the above embodiment, for example, when the processor executes the computer program, the following steps are implemented:
step 101: and receiving an interface theme color changing instruction of the target set top box.
Step 102: and acquiring a corresponding bin color table from a pre-stored color table bin file in a corresponding memory according to the interface theme color replacement instruction.
Step 103: and converting the pre-acquired intermediate format picture information into corresponding target format picture information by using the color data in the bin color table, wherein the pre-stored interface theme and the bin color table are in one-to-one correspondence.
Step 104: and decoding the target format picture information and outputting and displaying the target format picture information.
As can be seen from the above description, the computer-readable storage medium provided in the embodiments of the present application can improve efficiency of changing theme colors of a set top box interface and save storage space.
In the present application, each embodiment of the method is described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. Reference is made to the description of the method embodiments.
The instructions described above may be stored in a variety of computer-readable storage media. The computer readable storage medium may include physical devices for storing information, which may be digitized and then stored using an electrical, magnetic, or optical media. The computer-readable storage medium according to this embodiment may include: devices that store information using electrical energy, such as various types of memory, e.g., RAM, ROM, etc.; devices that store information using magnetic energy, such as hard disks, floppy disks, tapes, core memories, bubble memories, and usb disks; devices that store information optically, such as CDs or DVDs. Of course, there are other ways of storing media that can be read, such as quantum memory, graphene memory, and so forth. The instructions in the devices or servers or clients or systems described below are as described above.
Although the present application provides method steps as described in an embodiment or flowchart, additional or fewer steps may be included based on conventional or non-inventive efforts. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
The apparatuses or modules illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. The functionality of the modules may be implemented in the same one or more software and/or hardware implementations of the present application. Of course, a module that implements a certain function may be implemented by a plurality of sub-modules or sub-units in combination.
The methods, apparatus or modules described herein may be implemented in computer readable program code to a controller implemented in any suitable manner, for example, the controller 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, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may therefore be considered as a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
Some of the modules in the apparatus described herein may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary hardware. Based on such understanding, the technical solutions of the present application may be embodied in the form of software products or in the implementation process of data migration, which essentially or partially contributes to the prior art. The computer software product may be stored in a storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, mobile terminal, server, or network device, etc.) to perform the methods described in the various embodiments or portions of the embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, and the same or similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. All or portions of the present application are operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, mobile communication terminals, multiprocessor systems, microprocessor-based systems, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
While the present application has been described with examples, those of ordinary skill in the art will appreciate that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.
Claims (14)
1. A method for changing theme colors of a set top box interface is characterized by comprising the following steps:
receiving an interface theme color changing instruction of a target set top box;
acquiring a corresponding bin color table from a pre-stored color table bin file in a corresponding memory according to the interface theme color replacement instruction;
converting the pre-acquired intermediate format picture information into corresponding target format picture information by using the color data in the bin color table, wherein a one-to-one corresponding relationship exists between a pre-stored interface theme and the bin color table;
and decoding the target format picture information and outputting and displaying the target format picture information.
2. The method for changing the color of the set-top box interface theme according to claim 1, wherein before the receiving the interface theme color change instruction of the target set-top box, the method further comprises:
deleting palette data block information, auxiliary block information and public content in target format picture information corresponding to each pre-stored interface theme;
and storing the index position information in the corresponding bin color table into the image data block of the target format picture information to generate the intermediate format picture information.
3. The method for changing the color of the set-top box interface theme according to claim 1, wherein before the receiving the interface theme color change instruction of the target set-top box, the method further comprises:
numbering and storing color information in each target format picture information corresponding to a pre-stored interface theme to generate a corresponding color table, wherein the same color information corresponds to the same number;
storing the numbers corresponding to the color information of the same pixel point in the target format pictures with the same style in the pre-stored interface themes into the same index positions in the color tables corresponding to the numbers, and generating corresponding theme color tables;
and coding each theme color table according to a preset protocol to generate the color table bin file and store the color table bin file in the memory.
4. The method for changing theme colors of a set-top box interface according to claim 1, wherein the converting the pre-acquired picture information in the intermediate format into the corresponding picture information in the target format by using the color data in the bin color table comprises:
adding palette data block information in the intermediate format picture information according to the color data in the bin color table;
and adding the public content of the corresponding target format picture information in the intermediate format picture information, and correspondingly generating the target format picture information.
5. The method for changing theme colors of a set-top box interface according to claim 1, wherein the picture information includes: transparency data block information;
correspondingly, before the applying the color data in the bin color table to convert the pre-acquired intermediate format picture information into the corresponding target format picture information, the method further includes:
and adding the alpha channel value of each color in the bin color table corresponding to the intermediate format picture information into the transparency data block information according to a preset data format.
6. The method of claim 3, wherein after the generating and storing the color table bin file in the memory, the method further comprises:
and receiving an interface theme adding instruction and updating the color table bin file according to the interface theme adding instruction.
7. A set top box interface theme color changing device is characterized by comprising:
the first receiving module is used for receiving an interface theme color changing instruction of the target set top box;
a bin color table obtaining module, configured to obtain a corresponding bin color table from a pre-stored color table bin file in a corresponding memory according to the interface theme color change instruction;
the target format picture conversion module is used for converting the pre-acquired intermediate format picture information into corresponding target format picture information by applying the color data in the bin color table, wherein the pre-stored interface theme and the bin color table are in one-to-one correspondence;
and the output module is used for decoding the target format picture information and outputting and displaying the target format picture information.
8. The device of claim 7, further comprising:
the deleting module is used for deleting palette data block information, auxiliary block information and public content in the target format picture information corresponding to each pre-stored interface theme;
and the intermediate format picture generation module is used for storing the index position information in the corresponding bin color table into the image data block of each piece of target format picture information to generate the intermediate format picture information.
9. The device of claim 7, further comprising:
the numbering module is used for numbering and storing color information in each target format picture information corresponding to a pre-stored interface theme to generate a corresponding color table, wherein the same color information corresponds to the same number;
a theme color table generating module, configured to store, in each pre-stored interface theme, numbers corresponding to color information of the same pixel point in the target format picture with the same style, into the same index position in the color table corresponding to each pre-stored interface theme, and generate a corresponding theme color table;
and the coding module is used for coding each theme color table according to a preset protocol, generating the color table bin file and storing the color table bin file in the memory.
10. The apparatus of claim 7, wherein the means for obtaining a bin color table comprises:
a first adding unit, configured to add palette data block information in the intermediate format picture information according to color data in the bin color table;
and the second adding unit is used for adding the public content of the corresponding target format picture information in the intermediate format picture information and correspondingly generating the target format picture information.
11. The device of claim 7, wherein the picture information comprises: transparency data block information;
correspondingly, the device for changing the theme color of the set-top box interface further comprises:
and the transparency information adding module is used for adding the alpha channel value of each color in the bin color table corresponding to the intermediate format picture information into the transparency data block information according to a preset data format.
12. The device of claim 7, further comprising:
and the updating module is used for receiving an interface theme adding instruction and updating the color table bin file according to the interface theme adding instruction.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the set-top box interface theme color change method of any one of claims 1 to 6 when executing the program.
14. A computer readable storage medium having stored thereon computer instructions, wherein said instructions when executed perform the steps of the set-top box interface theme color change method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911004794.8A CN110851155A (en) | 2019-10-22 | 2019-10-22 | Method and device for changing theme colors of set top box interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911004794.8A CN110851155A (en) | 2019-10-22 | 2019-10-22 | Method and device for changing theme colors of set top box interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110851155A true CN110851155A (en) | 2020-02-28 |
Family
ID=69596675
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911004794.8A Pending CN110851155A (en) | 2019-10-22 | 2019-10-22 | Method and device for changing theme colors of set top box interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110851155A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111562956A (en) * | 2020-04-14 | 2020-08-21 | Oppo(重庆)智能科技有限公司 | Theme switching method and device for terminal, storage medium and electronic equipment |
CN113190152A (en) * | 2021-04-26 | 2021-07-30 | 北京沃东天骏信息技术有限公司 | Method and device for switching application program theme |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020039101A1 (en) * | 2000-04-06 | 2002-04-04 | Fernandez Roland L. | Binary cache file format for themeing the visual appearance of a computer system |
JP2003288585A (en) * | 2002-03-27 | 2003-10-10 | Fuji Photo Film Co Ltd | Apparatus and method for color reduction processing |
CN103209326A (en) * | 2013-03-29 | 2013-07-17 | 惠州学院 | PNG (Portable Network Graphic) image compression method |
CN106056530A (en) * | 2016-06-01 | 2016-10-26 | 腾讯科技(深圳)有限公司 | Method and device for displaying picture content in application |
CN106547530A (en) * | 2015-09-23 | 2017-03-29 | 北京搜狗科技发展有限公司 | A kind of interface processing method and device |
CN106855800A (en) * | 2015-12-09 | 2017-06-16 | 阿里巴巴集团控股有限公司 | A kind of display methods of interface element background picture, device and smart machine |
CN107133038A (en) * | 2017-04-28 | 2017-09-05 | 广州阿里巴巴文学信息技术有限公司 | A kind of application program changes the method and its device of skin |
CN109101293A (en) * | 2018-08-01 | 2018-12-28 | Oppo(重庆)智能科技有限公司 | Theme configuration method and device, electronic equipment, computer readable storage medium |
-
2019
- 2019-10-22 CN CN201911004794.8A patent/CN110851155A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020039101A1 (en) * | 2000-04-06 | 2002-04-04 | Fernandez Roland L. | Binary cache file format for themeing the visual appearance of a computer system |
JP2003288585A (en) * | 2002-03-27 | 2003-10-10 | Fuji Photo Film Co Ltd | Apparatus and method for color reduction processing |
CN103209326A (en) * | 2013-03-29 | 2013-07-17 | 惠州学院 | PNG (Portable Network Graphic) image compression method |
CN106547530A (en) * | 2015-09-23 | 2017-03-29 | 北京搜狗科技发展有限公司 | A kind of interface processing method and device |
CN106855800A (en) * | 2015-12-09 | 2017-06-16 | 阿里巴巴集团控股有限公司 | A kind of display methods of interface element background picture, device and smart machine |
CN106056530A (en) * | 2016-06-01 | 2016-10-26 | 腾讯科技(深圳)有限公司 | Method and device for displaying picture content in application |
CN107133038A (en) * | 2017-04-28 | 2017-09-05 | 广州阿里巴巴文学信息技术有限公司 | A kind of application program changes the method and its device of skin |
CN109101293A (en) * | 2018-08-01 | 2018-12-28 | Oppo(重庆)智能科技有限公司 | Theme configuration method and device, electronic equipment, computer readable storage medium |
Non-Patent Citations (2)
Title |
---|
MARIA SHUGRINA 等: "Color Builder: A Direct Manipulation Interface for Versatile Color Theme Authoring", 《CHI "19: PROCEEDINGS OF THE 2019 CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS》 * |
陈淡: "Android机顶盒主题切换的设计与实现", 《有线电视技术》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111562956A (en) * | 2020-04-14 | 2020-08-21 | Oppo(重庆)智能科技有限公司 | Theme switching method and device for terminal, storage medium and electronic equipment |
CN111562956B (en) * | 2020-04-14 | 2023-04-07 | Oppo(重庆)智能科技有限公司 | Theme switching method and device for terminal, storage medium and electronic equipment |
CN113190152A (en) * | 2021-04-26 | 2021-07-30 | 北京沃东天骏信息技术有限公司 | Method and device for switching application program theme |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107465954B (en) | The generation method and Related product of dynamic thumbnail | |
CN111899322B (en) | Video processing method, animation rendering SDK, equipment and computer storage medium | |
CN108900843B (en) | Monochrome image compression method, apparatus, medium, and electronic device | |
KR20060124525A (en) | Method and apparatus for transmitting and receiving of partial font file | |
CN109840879B (en) | Image rendering method and device, computer storage medium and terminal | |
CN110851155A (en) | Method and device for changing theme colors of set top box interface | |
CN103838531A (en) | Information processing and displaying method and mobile terminal | |
CN106470353B (en) | Multimedia data processing method and device and electronic equipment | |
CN112714357A (en) | Video playing method, video playing device, electronic equipment and storage medium | |
CN110662080B (en) | Machine-oriented universal coding method | |
KR102398976B1 (en) | System for cloud streaming service, method of image cloud streaming service using simultaneous encoding and apparatus for the same | |
US11638040B2 (en) | Eco-friendly codec-based system for low latency transmission | |
CN105704215B (en) | Shared file system and corresponding document sending method and device | |
CN116450149B (en) | Hardware decoding method, device and storage medium | |
CN102289358A (en) | A computer-implemented method, a computer program product and an embedded system for displaying data more efficiently | |
CN113127637A (en) | Character restoration method and device, storage medium and electronic device | |
CN113099270B (en) | File storage method, decoding method, device, storage medium and electronic device | |
CN113627363B (en) | Video file processing method, device, equipment and storage medium | |
CN109274904A (en) | A kind of combination caption signal method for previewing, server-side and system | |
CN114079823A (en) | Video rendering method, device, equipment and medium based on Flutter | |
CN114217758A (en) | Image display method, image display device, electronic equipment and computer readable storage medium | |
CN105469433B (en) | Picture compression method and equipment thereof | |
CN112181221A (en) | Image processing method and device, computer readable medium and electronic device | |
CN113450293A (en) | Video information processing method, device and system, electronic equipment and storage medium | |
CN115988169B (en) | Method and device for rapidly displaying real-time video on-screen text in cloud conference |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20200228 |
|
WD01 | Invention patent application deemed withdrawn after publication |