CN115665456A - Display device and display control method - Google Patents

Display device and display control method Download PDF

Info

Publication number
CN115665456A
CN115665456A CN202211280377.8A CN202211280377A CN115665456A CN 115665456 A CN115665456 A CN 115665456A CN 202211280377 A CN202211280377 A CN 202211280377A CN 115665456 A CN115665456 A CN 115665456A
Authority
CN
China
Prior art keywords
control module
command
display device
module
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211280377.8A
Other languages
Chinese (zh)
Inventor
朱晖
陈世雷
隋星光
晏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Xinxin Microelectronics Technology Co Ltd
Original Assignee
Qingdao Xinxin Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Xinxin Microelectronics Technology Co Ltd filed Critical Qingdao Xinxin Microelectronics Technology Co Ltd
Priority to CN202211280377.8A priority Critical patent/CN115665456A/en
Publication of CN115665456A publication Critical patent/CN115665456A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Digital Computer Display Output (AREA)

Abstract

The application discloses a display device and a display control method, which are used for shortening the whole machine startup time of the display device, further accelerating the subsequent process processing and improving the whole machine response speed. The application provides a display device, includes: a display; a controller configured to: controlling a display to display content; the controller comprises a first control module and a second control module; wherein the second control module is configured to: executing an initialization process of a second control module in the display device; the initialization process of the second control module in the display equipment comprises the initialization of a module which is used for receiving the command of the first control module in the display equipment in the second control module; when the initialization of a module for receiving the command of the first control module in the second control module is completed, the first control module is notified that the command can be sent to the second control module, and the command sent by the first control module is received.

Description

Display device and display control method
Technical Field
The present application relates to the field of display technologies, and in particular, to a display device and a display control method.
Background
The display device includes a Frame Rate Conversion (FRC) Chip and a main control System on Chip (SoC Chip). The second control module realizes the image quality processing of the display picture under the command of the SoC chip.
When the display device is powered on, the SoC is powered on before the FRC, and the FRC needs to initialize each hardware and software module, so that there is a time that the SoC needs to wait for the FRC to prepare, and the SoC cannot send a command to the FRC in the time, so that the whole machine of the display device is powered on for a long time, and further, the subsequent processing flow is delayed.
Disclosure of Invention
The embodiment of the application provides a display device and a display control method, which are used for shortening the whole startup time of the display device, further accelerating the subsequent process processing and improving the whole response speed.
An embodiment of the present application provides a display device, including:
a display;
a controller configured to: controlling the display to display content;
the controller comprises a first control module and a second control module; wherein the second control module is configured to:
executing an initialization process of a second control module in the display device; the initialization process of the second control module in the display device comprises the initialization of a module in the second control module, which is used for receiving the command of the first control module in the display device;
when the initialization of a module for receiving a command of a first control module in the second control module is completed, the first control module in the display device is notified that the command can be sent to the second control module, and the command sent by the first control module is received through a module for receiving the command of the first control module in the second control module.
In some embodiments, notifying the first control module in the display device that a command may be sent to the second control module includes:
and sending a high-level signal to the first control module through a general purpose input/output GPIO interface between the second control module and the first control module.
In some embodiments, the second control module is further configured to:
caching the command sent by the first control module into a preset queue;
and when the execution of the initialization process of the second control module in the display equipment is finished, processing the commands cached in the preset queue according to a first-in first-out principle.
In some embodiments, the second control module is further configured to:
caching the command sent by the first control module into a preset queue;
and for any command cached in the preset queue, when the module for processing the command in the second control module completes initialization, executing the command.
In some embodiments, the second control module is further configured to:
when the command sent by the first control module at a time through the integrated circuit bus IIC interface between the first control module and the second control module is a multi-command mode packet, analyzing the received multi-command mode packet according to a preset analysis mode of the multi-command mode packet, and obtaining a plurality of subcommands from the multi-command mode packet.
In some embodiments, the first control module is configured to:
receiving a notification that a first control module in a display device can send a command to a second control module when initialization of a module in the second control module in the display device for receiving the command of the first control module is completed, wherein the module is sent by the second control module;
and sending a command to the second control module.
In some embodiments, the first control module is further configured to:
when a plurality of subcommands for completing the same function in a coordinated manner exist, generating a multi-command mode packet according to a preset packet format of the multi-command mode packet, wherein the multi-command mode packet comprises the plurality of subcommands;
the multi-command mode packet is sent over an integrated circuit bus IIC interface between the first control module and the second control module.
In some embodiments, the second control module is further configured to:
analyzing the command sent by the first control module to obtain an analysis result, wherein the analysis result comprises an identifier and a parameter of the command and indication information for indicating whether the command needs to be subjected to duplicate removal processing;
and judging whether the command needs to be subjected to duplicate removal processing or not according to the analysis result.
In some embodiments, determining whether the command needs to be deduplicated according to the parsing result includes:
if the indication information in the analysis result indicates that the command needs to be subjected to deduplication processing, determining whether a corresponding relation between the identifier of the command and the parameter exists in an instruction table preset in the second control module, and if so, determining that the command does not need to be processed if the indication corresponding to the identifier of the command in the instruction table indicates that the command needs to be subjected to deduplication processing; otherwise, executing the command and updating a preset instruction list in the second control module; if the corresponding relation between the command identifier and the parameter does not exist in the instruction table, executing the command, and updating the instruction table preset in the second control module;
if the indication information in the analysis result indicates that the command does not need to be subjected to deduplication processing, executing the command, and updating an instruction list preset in the second control module;
and updating the instruction list preset in the second control module comprises updating the instruction list preset in the second control module by using the analysis result.
Another display device provided in an embodiment of the present application includes:
a display;
a controller configured to: controlling the display to display content;
the controller comprises a first control module and a second control module; wherein the first control module is configured to:
receiving a notification that a first control module in a display device can send a command to a second control module when initialization of a module in the second control module in the display device for receiving the command of the first control module is completed, wherein the module is sent by the second control module;
sending a command to the second control module;
the first control module further configured to:
when a plurality of subcommands for cooperatively completing the same function exist, generating a multi-command mode packet according to a preset packet format of the multi-command mode packet, wherein the multi-command mode packet comprises the plurality of subcommands;
the multi-command mode packet is sent over an integrated circuit bus IIC interface between the first control module and the second control module.
The display control method provided by the embodiment of the application is applied to the second control module, and the method comprises the following steps:
executing an initialization process of a second control module in the display device; the initialization process of the second control module in the display device comprises the initialization of a module which is used for receiving the command of the first control module in the display device in the second control module;
when the initialization of a module for receiving a command of a first control module in the second control module is completed, the first control module in the display device is notified that the command can be sent to the second control module, and the command sent by the first control module is received through a module for receiving the command of the first control module in the second control module.
Another display method provided in the embodiment of the present application is applied to the first control module, and the method includes:
receiving a notification that a first control module in a display device can send a command to a second control module when initialization of a module in the second control module in the display device for receiving the command of the first control module is completed, wherein the module is sent by the second control module;
and sending a command to the second control module.
Another embodiment of the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform any one of the methods described above.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 illustrates an operational scenario between a display device and a control apparatus according to some embodiments;
fig. 2 is a schematic diagram of an infrastructure of a display device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a display device according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a connection relationship between a master chip and a slave chip according to an embodiment of the present application;
FIG. 5 is a schematic diagram of the types of command packets provided by an embodiment of the present application;
fig. 6 is a schematic diagram of transmission formats and register mapping of four data packets according to an embodiment of the present application;
fig. 7 is a communication flow diagram of a protocol provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a module for receiving a command of a main control chip according to an embodiment of the present disclosure;
FIG. 9 is a timing diagram illustrating preprocessing provided by an embodiment of the present application;
FIG. 10 is a schematic diagram of a queue provided by an embodiment of the present application;
FIG. 11 is a block diagram of a multi-command mode packet according to an embodiment of the present disclosure;
FIG. 12 is a flow chart illustrating a multi-command process according to an embodiment of the present disclosure;
fig. 13 is a schematic flowchart of a display control method according to an embodiment of the present disclosure;
fig. 14 is a schematic general flowchart of a display control method according to an embodiment of the present application;
fig. 15 is a schematic general flowchart of another display control method according to an embodiment of the present application.
Detailed Description
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 obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The embodiment of the application provides a display device and a display control method, which are used for shortening the whole machine startup time of the display device, further accelerating the subsequent process processing and improving the whole machine response speed.
The method and the device are based on the same application concept, and because the principles of solving the problems of the method and the device are similar, the implementation of the device and the method can be mutually referred, and repeated parts are not repeated.
The terms "first," "second," and the like in the description and in the claims of the embodiments of the application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be implemented in other sequences than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The following examples and embodiments are to be understood as merely illustrative examples. Although this specification may refer to "an", "one", or "some" example or embodiment(s) in several places, this does not imply that each such reference relates to the same example or embodiment, nor that the feature only applies to a single example or embodiment. Individual features of different embodiments may also be combined to provide further embodiments. Furthermore, terms such as "comprising" and "comprises" should be understood as not limiting the described embodiments to consist of only those features that have been mentioned; such examples and embodiments may also include features, structures, elements, modules, etc. not specifically mentioned.
The terminal device related to the embodiments of the present application may be a device providing voice and/or data connectivity to a user, a handheld device having a wireless connection function, or another processing device connected to a wireless modem, for example, any device having a display function, such as a smart television.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to an embodiment. As shown in fig. 1, a user may operate the display apparatus 200 through the smart device 300 or the control device 100.
In some embodiments, the control apparatus 100 may be configured to control the display device 200, which may receive an operation instruction input by a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an intermediary for interaction between the user and the display device 200. Such as: the user operates the channel up/down keys of the control device 100, and the display device 200 responds to the channel up/down operation.
In some embodiments, the smart device 300 (e.g., mobile terminal, tablet, computer, laptop, etc.) may also be used to control the display device 200. Illustratively, the display device 200 is controlled using an application running on the smart device 300. The application may provide various controls to the user through an intuitive User Interface (UI) on a screen associated with the smart device 300 through configuration. For example, the mobile terminal may install a software application with the display device 200, implement connection communication through a network communication protocol, and implement the purpose of one-to-one control operation and data communication.
In some embodiments, the display device 200 may also be controlled in a manner other than the control apparatus 100 and the smart device 300, for example, the voice command control of the user may be directly received by a module configured inside the display device 200 and configured to obtain a voice command, or the voice command control of the user may be received by a voice control device external to the display device 200.
In some embodiments, the display apparatus 200 may have a network television function of a broadcast receiving function and a computer support function. The display device may be implemented as: digital televisions, web televisions, internet Protocol Televisions (IPTV), and the like.
In some embodiments, the display device 200 may also be in data communication with a server 400.
Referring to fig. 2, the display device includes a display and a controller, and when the display device is powered on, the controller may include a plurality of chips, and signaling interaction between the chips is required, so that the chips cooperate with each other to realize corresponding functions. However, in the initial power-on process, the time required for each chip to complete initialization is different, so that one chip may wait for another chip to complete initialization before sending a corresponding command. This results in a problem of relatively delayed flow and long boot time of the whole computer.
In view of this, in the display device provided in the embodiment of the present application, as shown in fig. 3, by providing the first control module 011 and the second control module 012 in the controller, when the display device is powered on, the power-on speed can be faster and the command response is faster through the interaction between the first control module 011 and the second control module 012, so as to improve the display function of the whole device.
Various embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the display sequence of the embodiment of the present application only represents the sequence of the embodiment, and does not represent the merits of the technical solutions provided by the embodiments.
In some examples, the first control module 011 and the second control module 012 can be independently provided in the controller. For example, the first control module 011 can be implemented in the form of a chip, and the second control module 012 can also be implemented in the form of a chip, which are independently disposed in the controller and transmit signals through the signal transmission line.
In some examples, the first control module 011 and the second control module 012 can be integrally provided in a controller. For example, the first control module 011 may be implemented as an integrated circuit, and the second control module 012 may be implemented as a chip, and the first control module 011 is integrated into the second control module 012. Alternatively, the second control module 012 may be implemented as an integrated circuit, or the first control module 011 may be implemented as a chip, and the second control module 012 may be integrated into the first control module 011. Alternatively, the first control module 011 and the second control module 012 are integrated on one circuit board.
Illustratively, the implementation of the first control module 011 can take the form of a hardware embodiment, or an embodiment combining software and hardware aspects. For example, the first control module 011 may be a separately divided module in the main control chip. Alternatively, the first control module 011 may be provided as another chip. The first control module 011 is not limited to the above embodiments as long as it satisfies the functions of the embodiments of the present application.
The implementation of the second control module 012 may also take the form of a hardware embodiment or an embodiment combining software and hardware aspects. For example, the second control module 012 may be a module separately divided from a slave chip. Alternatively, the second control module 012 may be provided as another chip. The second control module 012 is not limited to a specific one as long as it can satisfy the functions in the embodiment of the present application.
The first embodiment is as follows:
referring to fig. 3, an embodiment of the present application provides a display device, including:
a display;
a controller configured to: controlling the display to display content;
the controller comprises a first control module 011 and a second control module 012; wherein the second control module 012 is configured to:
performing an initialization procedure for the second control module 012 in the display apparatus; wherein, in the initialization process of the second control module 012 in the display device, the initialization of a module in the second control module 012 for receiving a command of the first control module 011 in the display device is included;
when initialization of a module of the second control module 012 for receiving a command of the first control module 011 is completed, the first control module 011 in the display device is notified that the command can be transmitted to the second control module 012, and the command transmitted by the first control module 011 is received by a module of the second control module 012 for receiving the command of the first control module 011.
It should be noted that the connection lines between the modules shown in fig. 2 and fig. 3 are only illustrative of the connection relationship, and are not limited to specific connection manners, for example, the connection lines between the first control module 011 and the second control module 012 may specifically have various interfaces, and may even be in a wireless connection manner.
In some embodiments, the second control module is further configured to:
analyzing the command sent by the first control module to obtain an analysis result, wherein the analysis result comprises an identifier and a parameter of the command and indication information for indicating whether the command needs to be subjected to duplicate removal processing;
and judging whether the command needs to be subjected to duplicate removal processing or not according to the analysis result.
In some embodiments, determining whether the command needs to be deduplicated according to the parsing result includes:
if the indication information in the analysis result indicates that the command needs to be subjected to deduplication processing, determining whether a corresponding relation between the identifier of the command and the parameter exists in an instruction table preset in the second control module, and if so, determining that the command does not need to be processed if the indication corresponding to the identifier of the command in the instruction table indicates that the command needs to be subjected to deduplication processing; otherwise, executing the command and updating a preset instruction list in the second control module; if the corresponding relation between the command identification and the parameter does not exist in the instruction table, executing the command, and updating the instruction table preset in the second control module;
if the indication information in the analysis result indicates that the command does not need to be subjected to deduplication processing, executing the command, and updating an instruction list preset in the second control module;
and updating the instruction list preset in the second control module comprises updating the instruction list preset in the second control module by using the analysis result.
In some embodiments, notifying the first control module 011 in the display device can send a command to the second control module 012, including:
and a high level signal is sent to the first control module 011 through a general purpose input/output GPIO interface between the second control module 012 and the first control module 011.
In some embodiments, the second control module 012 is further configured to:
buffering the command sent by the first control module 011 into a preset queue;
when the execution of the initialization process of the second control module 012 in the display device is completed, the commands buffered in the preset queue are processed according to a first-in first-out principle.
In some embodiments, the second control module 012 is further configured to:
buffering the command sent by the first control module 011 into a preset queue;
for any one of the commands buffered in the preset queue, the command is executed when the module for processing the command in the second control module 012 completes initialization.
In the communication process between the first control module 011 and the second control module 012, the first control module 011 may send a plurality of commands to the second control module 012 for processing, so as to implement the same function or different functions, and since the second control module 012 has a high requirement on timeliness of command processing, if the second control module 012 receives different commands one by one, which results in overlong processing time, abnormal situations such as flickering pictures, and splash screens may occur, so the first control module 011 expects that the commands can be processed and completed by the second control module 012 as soon as possible, and a result is fed back.
Thus, in some embodiments, the second control module 012 is further configured to:
when the command sent by the first control module 011 at a single time through the IIC interface of the integrated circuit between the first control module 011 and the second control module 012 is a multi-command mode packet, the received multi-command mode packet is analyzed according to a preset analysis mode of the multi-command mode packet, and a plurality of subcommands are obtained from the multi-command mode packet.
That is to say, the first control module 011 can send a plurality of commands to the second control module 012 at one time for processing, thereby saving time, improving the instruction processing timeliness, and avoiding abnormal situations such as picture flickering and screen splash.
In some embodiments, the first control module 011, configured to:
receiving a notification that the first control module 011 in the display apparatus, which is transmitted by the second control module 012, can transmit a command to the second control module 012 when initialization of a module for receiving a command of the first control module 011 in the second control module 012 in the display apparatus is completed;
sends a command to the second control module 012.
In some embodiments, the first control module 011, further configured to:
when a plurality of subcommands for completing the same function in a coordinated manner exist, generating a multi-command mode packet according to a preset packet format of the multi-command mode packet, wherein the multi-command mode packet comprises the plurality of subcommands;
the multi-command mode packet is transmitted through an integrated circuit bus IIC interface between the first control module 011 and the second control module 012.
Example two:
another display device (see fig. 3 for structure thereof) provided in an embodiment of the present application includes:
a display;
a controller configured to: controlling the display to display content;
the controller comprises a first control module 011 and a second control module 012; wherein the first control module 011 is configured to:
receiving a notification that the first control module 011 in the display apparatus, which is transmitted by the second control module 012, can transmit a command to the second control module 012 when initialization of a module for receiving a command of the first control module 011 in the second control module 012 in the display apparatus is completed;
send a command to the second control module 012;
the first control module 011, further configured to:
when a plurality of subcommands for completing the same function in a coordinated manner exist, generating a multi-command mode packet according to a preset packet format of the multi-command mode packet, wherein the multi-command mode packet comprises the plurality of subcommands;
the multi-command mode packet is transmitted through an integrated circuit bus IIC interface between the first control module 011 and the second control module 012.
The following description specifically exemplifies that the first control module 011 includes a master chip, and the second control module 012 includes a slave chip.
The embodiment of the application aims to solve the problems of communication timeliness of the master control chip and the slave chip caused by protocol timing sequence and hardware limitation in communication between the master control chip and the slave chip, including slow starting, screen flashing after starting and the like. Due to the hardware logic sequence and the time loss of chip firmware execution, the embodiment of the application provides a command preprocessing and multi-command scheme, the starting speed of the whole machine can be improved by about 100ms, and the time loss of each command can be saved by tens of ms.
As shown in fig. 4, the master chip (e.g., TV SoC) and the slave chip (e.g., FRC) are connected via an IIC (Inter-Integrated Circuit) interface and a GPIO (General-purpose input/output) interface. IIC transmits IIC protocol data, and GPIO transmits high and low level signals.
The protocol layer packet types are introduced as follows:
the IIC transmission is transmitted in a format of command plus DATA (CMD + DATA), and the DATA is divided into four types of DATA packets, as shown in fig. 5, including command identification + Length (ID + Length), DATA parameter (Params), trigger interrupt, and read status.
Fig. 6 shows the transmission format and register mapping of four data packets. Since the IIC can only be initiated from the master chip to the slave chip, each transmission is initiated by the master control chip of the master. For example, taking ID 307 and Length data packets as an example, the master chip sends a command with number 307, and the master chip transfers the IIC driver to send C001-0004 0307 to the slave chip, where C001 represents a command packet with type ID + Length of the command packet, 0004 represents that the data Length of the packet is 4, and 0307 represents the ID of the command packet. The slave chip maps the received command C001-0004 0307 to the specified address 0x01880004 through hardware mapping, and if the firmware of the slave chip reads the address at this time, the command sent by the master chip can be obtained, that is, the command is identified as 0x307 and the data length is 4.
The protocol timing flow is described as follows:
fig. 7 shows a communication flow of the protocol, which includes, for example:
and step 1, ARISC is the name of the communication CPU of the slave chip, when the initialization of the firmware is finished and the command of the master chip is allowed to be received, the GPIO is set high to inform the master chip that the slave chip is ready and can send the command.
And 2, the main control chip receives the GPIO signal, prepares to send the related content of the first command, finishes sending data packets (ID + CMD packet and Params packet), sends a trigger interrupt packet, and finishes the sending process.
And 3, the ARISC starts to acquire command related data after receiving the interrupt, analyzes related contents such as the ID, the Length, the Params and the like sent by the main control chip and processes the contents according to requirements. The return result STATUS is completed.
And 4, the main control chip polls the result STATUS until the STATUS state is obtained, and performs software processing according to the return value. The flow ends.
The following is described with respect to command pre-processing functions:
the firmware initialization in the slave chip initialization process includes initialization of various hardware and software, and if the master chip waits until the initialization is completed completely and then sends a command, the command will be delayed by hundreds of milliseconds, and the startup response time is directly influenced. Therefore, the slave chip adds a command preprocessing function, initializes the module for receiving the command of the master chip to the first bit, and the module for receiving the command of the master chip, as shown in fig. 8, for example, includes initialization of a hardware module and a software module (named SIF in FRC chip), such as initialization of a hardware register and initialization of a software system, such as a Task thread and an interrupt processing function in FreeRTOS, and after the initialization process is finished, as shown in fig. 9, GPIO is set to 1 immediately, allowing the master chip to send the command. Instead of waiting for all CPUs and all modules to be ready to be reset 1, for example, the FRC chip comprises a plurality of CPUs respectively responsible for PQ, USECESE, backlight control and other duties, and also comprises a plurality of software Task modules, such as central control printing, flash reading, TCON chip initialization and other modules, which are time-consuming and can be carried out after the SIF module.
Specifically, the flow shown in fig. 9 includes:
step 901, the slave chip raises the GPIO;
IIC initialization completion can receive commands, but other modules are not initialized, so a preprocessing mechanism is added to improve response speed, and pre-reception is performed.
Step 902, the master control chip sends CMD0 to the slave chip;
step 903, the slave chip returns the STATUS0 to the master control chip;
step 904, the master control chip sends CMD1 to the slave chip;
step 905, the slave chip returns STATUS1 to the master chip.
At this point all modules of the FRC have been initialized.
Step 906, the master control chip sends CMDn +1 to the slave chip;
step 907, CMDn +1 comes, and the slave chip processes N commands in the msg _ queue and processes CMDn +1;
step 908, the slave chip returns status +1 to the master chip.
Then, as shown in fig. 10, a block queue, for example, a variable queue msg _ queue, is reserved, a command may be received into msg _ queue in the initial stage, and the modules are processed in a centralized manner after all the modules are initialized. The flicker problem and the lag processing problem are effectively solved. That is, during the period from the beginning of receiving the command sent by the master chip to the end of all initialization of the slave chip, the generated command interaction between the master chip and the slave chip is stored in msg _ queue. And after all initialization is finished, executing the operation of the commands in the msg _ queue according to the queue-in sequence according to a first-in first-out principle, and finishing the preprocessing flow.
Further, the commands in the msg _ queue are not limited to be executed collectively after all modules are initialized, and the msg can be executed in advance according to functions specifically contained in each piece of information (msg, namely, the commands). For example, msg0 requires a backlight condition function of CPU B, and then the msg0 may be directly executed after initialization of CPU B and other related resources, and msg1 requires initialization of a usedase function of CPU C. A plurality of variables can be added in the software to schedule command execution sequences with different function types, so that the commands can be executed more timely and accurately by processing according to needs, and the response speed of the chip in the initial stage is improved. The problems of delay and flicker of the starting slave chip are solved.
The following is introduced with respect to the multiple command processing functions:
in the process from step 2 to step 4 in the protocol timing sequence flow, the single command execution flow is as follows: the main control chip sends a command 0x0307, a data length of 4 and a data content of 4Byte, and then triggers an interrupt; then the slave chip receives the interrupt notification, takes out the sending command, the data length and the data content information from the address for processing, and then returns a processing result STATUS; and finally, the main chip polls the return value STATUS all the time until receiving the return value, and the process is ended. However, when a plurality of commands cooperate with a certain function, the execution time of a single command will be lost due to multiple transmissions of the IIC, for example, the slave chip using the FreeRTOS system will generate a 10ms slice polling loss, such as a master chip polling Timeout (Timeout). Each communication causes a loss of time, which is multiplied when multiple commands are sent simultaneously, and appears as a processing lag, with the picture flickering.
Therefore, a multi-command mode is added in the protocol, i.e. a long "big packet" command is designed, referring to fig. 11, the ID of the command is the big packet command ID, the Length is the total number of bytes of the contained multiple subcommands, and the data format of the back parameter is 1 byte subcommand CMDID +1 byte subcommand Length + subcommand data.. 1 byte subcommand CMDID +1 byte subcommand Length + subcommand data, as shown in fig. 11, the Length in fig. 11 is all the bytes from CMDID0 to the last Paramsn.
As shown in fig. 12, this mode requires the main chip firmware to send the sub-commands in a packet, and the slave chip parses the "big packet" command according to the format and executes it one by one in a first-in first-out order. The time loss of the scheme is only the loss caused by one-time IIC transmission, the time loss is reduced to the minimum, and the efficiency of multi-command transmission can be improved.
Specifically, the flow shown in fig. 12 includes:
step 121, the main control chip organizes a plurality of subcommands into a data format of a multi-command, namely, a 'big packet' command CMD0 is generated;
step 122, the master control chip sends CMD0 to the slave chip;
step 123, the slave chip analyzes the 'big packet' command CMD0 in the step, namely, analyzes the multi-command, thereby solving the problem of multi-command flickering;
step 124, the slave chip returns the STATUS0 to the master chip;
and step 125, after the main control chip receives the processing result, ending the process.
For example: when the television picture switches the picture quality mode to be bright, the master chip needs to send two commands of Brightness (Brightness 0x 0301) and Contrast (Contrast 0x 0302) to the slave chip, and then in the multi-command mode, the data format of the sending big packet is as follows:
big pack command ID/Length (big packagedata 0x033 d) + big pack Length (total number of bytes of data) + luminance command ID (0 x 0301) + luminance data Length + luminance data + contrast command ID (0 x 0302) + contrast data Length + contrast data.
Furthermore, the large packet command can also be added with check fields such as the number of subcommands to check the protocol level, and software can also check according to reasonable values of parameters to ensure the accuracy of the large command data, thereby solving the problem that certain mode switching images flicker continuously.
An embodiment of command deduplication screening is described below.
The second control module receives a large number of command requests from the master control chip, which may contain identical command IDs and parameters. The reason may be that the main control chip does not receive the response command fed back by the second control module, or when the mode of the main control chip is switched, a certain image quality parameter is frequently switched, and the specific command parameter is not changed. For example, the picture is switched from the vivid mode to the professional mode, the contrast may be 50, but the main control chip needs to transmit and execute the command to the second control module once again each time the main control chip interacts. Such repeat commands can be time consuming, especially if there are multiple repeat commands in some cases, resulting in a mode switch that lags by tens of milliseconds. If the pure deduplication of the last completely consistent command is not accurate, for example, in a scenario of switching the game MODE, the commands of VRR _ MODE and usedase must be strictly executed and the deduplication cannot be performed, so the implementation method of the command deduplication function, for example, executed according to the flow of fig. 13, mainly includes:
step 131, the first control module sends a Command (CMD) to the second control module when communication is started;
step 132, the second control module parses the following information in the command:
CMD_ID、CMD_PARAMS、CMD_IGNORE;
the CMD _ ID represents a command ID, the CMD _ PARAMS represents a parameter corresponding to the command, and the CMD _ ignition is used for indicating whether the command needs to be subjected to deduplication processing.
Step 133. Does the second control module determine whether the first control module specifies that deduplication is not needed based on the parsing result (i.e., CMD _ IGNORE indication information)? If yes, go to step 137, otherwise go to step 134;
step 134, the second control module determines whether CMD _ ID and CMD _ PARAMS in the command are consistent with CMD _ ID and CMD _ PARAMS in the pre-stored command table of the second control module, respectively (i.e., determines whether the corresponding relationship between CMD _ ID and CMD _ PARAMS in the command exists in the pre-stored command table)? If yes, go to step 135, otherwise go to step 137;
step 135, the second control module queries whether the command allows deduplication in a preset command table of the second control module, i.e., queries whether CMD _ IGNORE corresponding to CMD _ ID in the preset command table indicates that deduplication processing is required for the command? If yes, go to step 136, otherwise go to step 137;
136. The second control module de-duplicates the command without executing the command;
step 137, the second control module executes the command and updates CMD _ ID and CMD _ PARAMS in the prestored instruction list;
and step 138, the second control module returns the result (STATUS) of the command execution to the first control module, and the communication is finished.
In the above, since the master control SOC chip needs to schedule commands and the action of performing the command deduplication screening does not meet the role of the command deduplication screening, the scheme is more suitable for performing the command deduplication at the second control module. The function requires the second control module end to store all related data with parameter commands into the memory, and the format is as follows: CMD _ ID (command ID) + CMD _ PARAMS (ID corresponding parameter) + CMD _ IGNORE (whether the command is deduplicated or not).
Firstly, after receiving a new command, the second control module acquires the CMD _ ID, CMD _ PARAMS and CMD _ IGNORE sent by the SOC chip, and at this time, whether the command is directly executed or not can be judged according to the CMD _ IGNORE sent by the SOC chip, and the command cannot be repeated. If the SOC chip does not do the important requirement, whether the command is a repeated command is judged according to whether the CMD _ ID and the CMD _ PARAMS are consistent with the related command parameter CMD _ PARAMS corresponding to the ID in a command table preset and stored in the second control module, and if the command is not the repeated command, the prestored command table is updated, and the command is executed. If the command is a repeat command, whether the command is allowed to be deduplicated is checked according to the CMD _ IGNORE corresponding to the ID stored in the instruction table in the second control module, if the command is allowed to be deduplicated, the command is directly returned to STATUS (which can be STATUS _ IGNORE and executed according to the requirement of the SOC), and the process is ended.
The embodiment is suitable for a preprocessing function, a multi-command function and a conventional command function, and can greatly improve the response speed of scene switching in time.
The method provided by the embodiment of the present application is introduced below, wherein the technical features the same as or corresponding to those described in the above are explained or illustrated, and are not further described in the following.
Referring to fig. 14, a display control method provided in the embodiment of the present application is applied to the second control module, and the method includes:
s101, executing an initialization process of a second control module in the display equipment; the initialization process of the second control module in the display device comprises the initialization of a module in the second control module, which is used for receiving the command of the first control module in the display device;
s102, when the initialization of a module used for receiving the command of the first control module in the second control module is completed, informing that the first control module in the display device can send the command to the second control module, and receiving the command sent by the first control module through a module used for receiving the command of the first control module in the second control module.
In some embodiments, notifying the first control module in the display device that a command may be sent to the second control module includes:
and sending a high-level signal to the first control module through a general purpose input/output GPIO interface between the second control module and the first control module.
In some embodiments, the method further comprises:
caching the command sent by the first control module into a preset queue;
and when the execution of the initialization process of the second control module in the display equipment is finished, processing the commands cached in the preset queue according to a first-in first-out principle.
In some embodiments, the method further comprises:
caching the command sent by the first control module into a preset queue;
and for any command cached in the preset queue, when the module for processing the command in the second control module completes initialization, executing the command.
In some embodiments, the method further comprises:
when the command sent by the first control module at a time through an integrated circuit bus IIC interface between the first control module and the second control module is a multi-command mode packet, analyzing the received multi-command mode packet according to a preset analysis mode of the multi-command mode packet, and acquiring a plurality of sub-commands from the multi-command mode packet.
In some embodiments, the method further comprises:
analyzing the command sent by the first control module to obtain an analysis result, wherein the analysis result comprises an identifier (CMD _ ID) of the command, a parameter (CMD _ PARAMS) and indication information (CMD _ IGNORE) for indicating whether the command needs to be subjected to deduplication processing;
and judging whether the command needs to be subjected to duplicate removal processing or not according to the analysis result.
In some embodiments, determining whether the command needs to be deduplicated according to the parsing result includes:
if the indication information in the analysis result indicates that the command needs to be subjected to deduplication processing, determining whether a corresponding relation between the identifier of the command and the parameter exists in an instruction table preset in the second control module, and if so, determining that the command does not need to be processed if the indication corresponding to the identifier of the command in the instruction table indicates that the command needs to be subjected to deduplication processing; otherwise, executing the command and updating a preset instruction list in the second control module; if the corresponding relation between the command identifier and the parameter does not exist in the instruction table, executing the command, and updating the instruction table preset in the second control module;
if the indication information in the analysis result indicates that the command does not need to be subjected to deduplication processing, executing the command, and updating an instruction list preset in the second control module;
and updating the instruction list preset in the second control module comprises updating the instruction list preset in the second control module by using the analysis result. For example, a correspondence relationship between an identifier and a parameter of the command and indication information for indicating whether deduplication processing needs to be performed on the command is newly added in an instruction table preset in the second control module; or, updating a parameter corresponding to the identifier of the command existing in an instruction table preset in the second control module, and/or indicating information for indicating whether deduplication processing needs to be performed on the command.
Referring to fig. 15, another display method provided in the embodiment of the present application is applied to the first control module, and the method includes:
s201, receiving a notification that a first control module in display equipment can send a command to a second control module when initialization of a module used for receiving the command of the first control module in the second control module in the display equipment is completed, wherein the notification is sent by the second control module;
and S202, sending a command to the second control module.
In some embodiments, the method further comprises:
when a plurality of subcommands for completing the same function in a coordinated manner exist, generating a multi-command mode packet according to a preset packet format of the multi-command mode packet, wherein the multi-command mode packet comprises the plurality of subcommands;
and sending the multi-command mode packet through an integrated circuit bus IIC interface between the first control module and the second control module.
In some embodiments, the command includes an identifier of the command, a parameter, and indication information indicating whether deduplication processing is required for the command.
The embodiment of the present application provides a computing device, which may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), and the like. The computing device may include a Central Processing Unit (CPU), memory, input/output devices, etc., the input devices may include a keyboard, mouse, touch screen, etc., and the output devices may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), etc.
The memory may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides the processor with program instructions and data stored in the memory. In the embodiments of the present application, the memory may be used for storing a program of any one of the methods provided by the embodiments of the present application.
The processor is used for executing any one of the methods provided by the embodiment of the application according to the obtained program instructions by calling the program instructions stored in the memory.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, so that the computer device executes the method of any of the above embodiments. The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Embodiments of the present application provide a computer-readable storage medium for storing computer program instructions for an apparatus provided in the embodiments of the present application, which includes a program for executing any one of the methods provided in the embodiments of the present application. The computer-readable storage medium may be a non-transitory computer-readable medium.
The computer-readable storage medium can be any available media or data storage device that can be accessed by a computer, including but not limited to magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), solid State Disks (SSDs)), etc.
It should be understood that:
the access technology via which entities in the communication network communicate traffic to and from may be any suitable current or future technology, such as WLAN (wireless local access network), wiMAX (worldwide interoperability for microwave access), LTE-a, 5G, bluetooth, infrared, etc. may be used; in addition, embodiments may also apply wired technologies, e.g. IP based access technologies, such as wired networks or fixed lines.
Embodiments suitable for implementation as software code or as part thereof and for operation using a processor or processing functionality are software code independent and may be specified using any known or future developed programming language, such as a high level programming language, such as objective-C, C + +, C #, java, python, javascript, other scripting language, etc., or a low level programming language, such as a machine language or an assembler.
The implementation of the embodiments is hardware independent and may be implemented using any known or future developed hardware technology or any mixture thereof, such as a microprocessor or CPU (central processing unit), MOS (metal oxide semiconductor), CMOS (complementary MOS), biMOS (bipolar MOS), biCMOS (bipolar CMOS), ECL (emitter coupled logic) and/or TTL (transistor-transistor logic).
Embodiments may be implemented as separate devices, apparatus, units, components or functions or in a distributed manner, e.g., one or more processors or processing functions may be used or shared in a process or one or more processing segments or processing portions may be used and shared in a process, where a physical processor or more than one physical processor may be used to implement one or more processing portions dedicated to a particular process as described.
The apparatus may be implemented by a semiconductor chip, a chipset, or a (hardware) module comprising such a chip or chipset.
Embodiments may also be implemented as any combination of hardware and software, such as an ASIC (application specific IC (integrated circuit)) component, FPGA (field programmable gate array) or CPLD (complex programmable logic device) component, or DSP (digital signal processor) component.
Embodiments may also be implemented as a computer program product, comprising a computer usable medium having a computer readable program code embodied therein, the computer readable program code adapted to perform a process as described in the embodiments, wherein the computer usable medium may be a non-transitory medium.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1.A display device, comprising:
a display;
a controller configured to: controlling the display to display content;
the controller comprises a first control module and a second control module; wherein the second control module is configured to:
executing an initialization process of a second control module in the display device; the initialization process of the second control module in the display device comprises the initialization of a module in the second control module, which is used for receiving the command of the first control module in the display device;
when the initialization of a module for receiving a command of a first control module in the second control module is completed, the first control module in the display device is notified that the command can be sent to the second control module, and the command sent by the first control module is received through a module for receiving the command of the first control module in the second control module.
2. The display device of claim 1, wherein the second control module is further configured to:
caching the command sent by the first control module into a preset queue;
when the execution of the initialization process of the second control module in the display device is completed, processing the commands cached in the preset queue according to a first-in first-out principle;
or, for any one of the commands cached in the preset queue, when a module for processing the command in the second control module completes initialization, the command is executed.
3. The display device of claim 1, wherein the second control module is further configured to:
when the command sent by the first control module at a time through an integrated circuit bus IIC interface between the first control module and the second control module is a multi-command mode packet, analyzing the received multi-command mode packet according to a preset analysis mode of the multi-command mode packet, and acquiring a plurality of sub-commands from the multi-command mode packet.
4. The display device of claim 1, wherein the first control module is configured to:
receiving a notification that a first control module in a display device can send a command to a second control module when initialization of a module in the second control module in the display device for receiving the command of the first control module is completed, wherein the module is sent by the second control module;
and sending a command to the second control module.
5. The display device of claim 4, wherein the first control module is further configured to:
when a plurality of subcommands for cooperatively completing the same function exist, generating a multi-command mode packet according to a preset packet format of the multi-command mode packet, wherein the multi-command mode packet comprises the plurality of subcommands;
the multi-command mode packet is sent over an integrated circuit bus IIC interface between the first control module and the second control module.
6. The display device of claim 1, wherein the second control module is further configured to:
analyzing the command sent by the first control module to obtain an analysis result, wherein the analysis result comprises an identifier and a parameter of the command and indication information for indicating whether the command needs to be subjected to duplicate removal processing;
and judging whether the command needs to be subjected to duplicate removal processing or not according to the analysis result.
7. The display device according to claim 6, wherein determining whether the command needs to be deduplicated according to the parsing result comprises:
if the indication information in the analysis result indicates that the command needs to be subjected to deduplication processing, determining whether a corresponding relation between the identifier of the command and the parameter exists in an instruction table preset in the second control module, and if so, determining that the command does not need to be processed if the indication corresponding to the identifier of the command in the instruction table indicates that the command needs to be subjected to deduplication processing; otherwise, executing the command and updating a preset instruction list in the second control module; if the corresponding relation between the command identifier and the parameter does not exist in the instruction table, executing the command, and updating the instruction table preset in the second control module;
if the indication information in the analysis result indicates that the command does not need to be subjected to deduplication processing, executing the command, and updating an instruction list preset in the second control module;
and updating the instruction list preset in the second control module comprises updating the instruction list preset in the second control module by using the analysis result.
8. A display device, comprising:
a display;
a controller configured to: controlling the display to display content;
the controller comprises a first control module and a second control module; wherein the first control module is configured to:
receiving a notification that a first control module in a display device can send a command to a second control module when initialization of a module in the second control module in the display device for receiving the command of the first control module is completed, wherein the module is sent by the second control module;
sending a command to the second control module;
the first control module further configured to:
when a plurality of subcommands for completing the same function in a coordinated manner exist, generating a multi-command mode packet according to a preset packet format of the multi-command mode packet, wherein the multi-command mode packet comprises the plurality of subcommands;
the multi-command mode packet is sent over an integrated circuit bus IIC interface between the first control module and the second control module.
9. A display control method applied to the second control module of claim 1, the method comprising:
executing an initialization process of a second control module in the display device; the initialization process of the second control module in the display device comprises the initialization of a module in the second control module, which is used for receiving the command of the first control module in the display device;
when the initialization of a module for receiving a command of a first control module in the second control module is completed, the first control module in the display device is notified that the command can be sent to the second control module, and the command sent by the first control module is received through a module for receiving the command of the first control module in the second control module.
10. A display method applied to the first control module of claim 8, the method comprising:
receiving a notification that a first control module in a display device can send a command to a second control module when initialization of a module in the second control module in the display device for receiving the command of the first control module is completed, wherein the module is sent by the second control module;
and sending a command to the second control module.
CN202211280377.8A 2022-10-19 2022-10-19 Display device and display control method Pending CN115665456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211280377.8A CN115665456A (en) 2022-10-19 2022-10-19 Display device and display control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211280377.8A CN115665456A (en) 2022-10-19 2022-10-19 Display device and display control method

Publications (1)

Publication Number Publication Date
CN115665456A true CN115665456A (en) 2023-01-31

Family

ID=84989355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211280377.8A Pending CN115665456A (en) 2022-10-19 2022-10-19 Display device and display control method

Country Status (1)

Country Link
CN (1) CN115665456A (en)

Similar Documents

Publication Publication Date Title
CN109408223B (en) Resource allocation method, device, terminal and storage medium
EP3385835B1 (en) Method and apparatus for configuring accelerator
US20220283621A1 (en) Electronic Device Control Method and Apparatus, and Electronic Device
US10228830B2 (en) Method for starting application program, terminal and non-transitory computer readable storage medium
CN109542614B (en) Resource allocation method, device, terminal and storage medium
EP2849080B1 (en) Image display method and device
WO2020248745A1 (en) Method and device for displaying characters in user interface, electronic device, and storage medium
US11074157B2 (en) Splicing screen debugging method, splicing screen and splicing wall
US10642662B2 (en) Method for application action synchronization, terminal device, and storage medium
CN113342455B (en) Layer processing method based on multiple operating systems and vehicle-mounted machine system
JP2021518955A (en) Processor core scheduling method, equipment, terminals and storage media
US20200258195A1 (en) Image Processing Method and Device
US20210345009A1 (en) Method and device, equipment, and storage medium for data processing
CN113593279B (en) Vehicle, interaction parameter adjusting method thereof and mobile terminal
CN114217759A (en) Screen projection method and device, storage medium and electronic equipment
CA2732781C (en) Method and apparatus for selecting video channel, video device and tv device
CN115665456A (en) Display device and display control method
CN112714341A (en) Information acquisition method, cloud set top box system, entity set top box and storage medium
US12010356B2 (en) Method and apparatus for sending information in live broadcast room, and electronic device
CN115617294A (en) Screen display method, device and equipment and readable storage medium
CN115268951A (en) Installation method, device, equipment and storage medium of operating system
CN114697512A (en) Configuration method and device
CN111026497A (en) Device for providing multiple screens and method for dynamically configuring multiple screens
CN112003928A (en) Multifunctional screen synchronous control method, device and equipment
JP2018077897A (en) Image display method and device

Legal Events

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