技术领域technical field
本发明涉及显示技术,特别涉及一种显示数据的传输方法和电子装置。The invention relates to display technology, in particular to a display data transmission method and an electronic device.
背景技术Background technique
移动产业处理器接口(Mobile Industry Processor Interface,简称“MIPI”)是面向移动设备的显示标准,包含视频模式(Display Serial Interface Video Mode,以下简称“VIDEO MODE”)和命令模式(Display Serial Interface Command Mode,以下简称“COMMAND MODE”)两种显示模式。Mobile Industry Processor Interface ("MIPI") is a display standard for mobile devices, including video mode (Display Serial Interface Video Mode, hereinafter referred to as "VIDEO MODE") and command mode (Display Serial Interface Command Mode , hereinafter referred to as "COMMAND MODE") two display modes.
视频模式与传统RGB接口相似,主机需要持续刷新显示器。由于不使用专用的数据信号传输同步信息,控制信号和RGB数据是以报文的形式通过MIPI总线传输的,因此显示器就不需要帧缓冲器,主机需要定期刷新显示器。The video mode is similar to the traditional RGB interface, and the host needs to continuously refresh the display. Since no dedicated data signal is used to transmit synchronous information, the control signal and RGB data are transmitted through the MIPI bus in the form of a message, so the display does not need a frame buffer, and the host needs to periodically refresh the display.
命令模式下,MIPI总线控制器使用显示命令来向显示器发送像素数据流。显示器有一个全帧长的帧缓冲器来存储所有的像素数据。一旦数据被放在显示器的帧缓冲器中,定时控制器就从帧缓冲器中取出数据,并自动把它们显示在屏幕上。MIPI总线控制器不需要定期刷新显示器。In command mode, the MIPI bus controller uses display commands to send a stream of pixel data to the display. The display has a full frame length frame buffer to store all pixel data. Once the data is placed in the display's frame buffer, the timing controller fetches the data from the frame buffer and automatically displays them on the screen. The MIPI bus controller does not need to refresh the display periodically.
两种模式单独使用各有优缺点。视频模式下的显示器无须帧缓冲器,可以节省成本;但主机定期以高速模式发送视频报文却消耗了大量的平均能量。在命令模式下,如果显示器显示的是静态图片即画面未有变化和更新时,MIPI控制器是不会传输数据的,这样可以降低电子设备的功耗,尤其用户在电子设备上不切换显示内容的时间越长,那么功耗越低,但缺点是成本较高。Both modes have advantages and disadvantages when used alone. A display in video mode saves cost by eliminating the need for a frame buffer; however, the host computer periodically sends video packets in high-speed mode, consuming a large amount of average power. In the command mode, if the monitor displays a static picture, that is, the picture has not changed or updated, the MIPI controller will not transmit data, which can reduce the power consumption of the electronic device, especially when the user does not switch the display content on the electronic device The longer the time, the lower the power consumption, but the disadvantage is that the cost is higher.
发明内容Contents of the invention
本发明的目的在于提供一种显示数据的传输方法和电子装置,电子装置可以根据显示的需要使显示数据的传输方式在视频模式和命令模式之间进行切换,以节省电子装置的功耗,提高了电子装置电池的续航能力,进一步提高了用户体验,同时该电子装置的成本也更优。The object of the present invention is to provide a display data transmission method and an electronic device, the electronic device can switch the display data transmission mode between the video mode and the command mode according to the needs of the display, so as to save the power consumption of the electronic device and improve The battery life of the electronic device is improved, the user experience is further improved, and the cost of the electronic device is also better.
为解决上述技术问题,本发明的实施方式提供了一种显示数据的传输方法,包含以下步骤:In order to solve the above technical problems, an embodiment of the present invention provides a display data transmission method, including the following steps:
如果采用第一模式在中央处理器和显示设备之间传输显示数据,并且满足预设的第一切换条件,则切换到采用第二模式在中央处理器和显示设备之间传输显示数据;If the display data is transmitted between the central processing unit and the display device in the first mode and the preset first switching condition is met, switch to the second mode to transmit the display data between the central processing unit and the display device;
如果采用第二模式在中央处理器和显示设备之间传输显示数据,并且满足预设的第二切换条件,则切换到采用第一模式在中央处理器和显示设备之间传输显示数据;If the display data is transmitted between the central processing unit and the display device in the second mode, and the preset second switching condition is met, switch to the transmission of display data between the central processing unit and the display device in the first mode;
其中,第一模式和第二模式为视频模式VIDEO MODE或命令模式COMMAND MODE中的一种,并且第一模式与第二模式不同。Wherein, the first mode and the second mode are one of a video mode VIDEO MODE or a command mode COMMAND MODE, and the first mode is different from the second mode.
本发明的实施方式还提供了一种电子装置,包含:中央处理器、显示驱动单元和显示单元;The embodiment of the present invention also provides an electronic device, including: a central processing unit, a display drive unit, and a display unit;
所述显示驱动单元具有视频模式和命令模式两种数据传输模式,用于在中央处理器和显示单元之间传输显示数据;The display drive unit has two data transmission modes, video mode and command mode, for transmitting display data between the central processing unit and the display unit;
其中,显示驱动单元采用第一模式在中央处理器和显示单元之间传输显示数据,在满足预设的第一切换条件时,切换到采用第二模式在中央处理器和显示单元之间传输显示数据;Wherein, the display driving unit uses the first mode to transmit display data between the central processing unit and the display unit, and switches to the second mode to transmit display data between the central processing unit and the display unit when the preset first switching condition is met. data;
显示驱动单元采用第二模式在中央处理器和显示单元之间传输显示数据,在满足预设的第二切换条件时,切换到采用第一模式在中央处理器和显示单元之间传输显示数据;The display drive unit uses the second mode to transmit display data between the central processing unit and the display unit, and switches to adopting the first mode to transmit display data between the central processing unit and the display unit when a preset second switching condition is satisfied;
其中,第一模式和第二模式为视频模式或命令模式中的一种,并且第一模式与第二模式不同。Wherein, the first mode and the second mode are one of video mode or command mode, and the first mode is different from the second mode.
本发明实施方式相对于现有技术而言,提供了一种可以降低电子装置功耗并提高用户体验的显示数据的传输方法。如果采用第一模式在中央处理器和显示设备之间传输显示数据,并且满足预设的第一切换条件,则切换到采用第二模式在中央处理器和显示设备之间传输显示数据;如果采用第二模式在中央处理器和显示设备之间传输显示数据,并且满足预设的第二切换条件,则切换到采用第一模式在中央处理器和显示设备之间传输显示数据;其中,第一模式和第二模式为视频模式VIDEO MODE或命令模式COMMANDMODE中的一种,并且第一模式与第二模式不同。通过本实施方式,可以根据电子装置的实际使用情况,实现显示数据的传输在两种模式之间的切换,这样不仅降低了电子装置的功耗,提高了电子装置的电池续航能力,而且进一步地提高了用户体验。Compared with the prior art, the embodiments of the present invention provide a display data transmission method that can reduce power consumption of an electronic device and improve user experience. If the display data is transmitted between the central processing unit and the display device in the first mode, and the preset first switching condition is met, switch to the second mode to transmit display data between the central processing unit and the display device; The second mode transmits display data between the central processing unit and the display device, and if the preset second switching condition is met, then switch to the first mode to transmit display data between the central processing unit and the display device; wherein, the first The mode and the second mode are one of a video mode VIDEO MODE or a command mode COMMANDMODE, and the first mode is different from the second mode. Through this embodiment, the transmission of display data can be switched between the two modes according to the actual use of the electronic device, which not only reduces the power consumption of the electronic device, improves the battery life of the electronic device, and further Improved user experience.
另外,所述预设的第一切换条件和所述预设的第二切换条件为触发设备接收的不同的模式切换触发指令。用户可以主动通过触发设备发出触发指令切换显示数据传输的模式,可以通过随时操作使电子装置的处于低功耗模式,方便用户使用。In addition, the preset first switching condition and the preset second switching condition are different mode switching trigger instructions received by the triggering device. The user can actively issue a trigger command through the trigger device to switch the mode of display data transmission, and the electronic device can be placed in a low power consumption mode through operation at any time, which is convenient for the user.
另外,如果采用命令模式COMMAND MODE在中央处理器和显示设备之间传输显示数据,则显示数据以预定的显示色彩在显示设备上显示。当切换到命令模式后,进一步地使显示数据以预订的显示色彩进行显示,比如单色显示,进一步地降低了电子装置的功耗。In addition, if the display data is transmitted between the CPU and the display device using the command mode COMMAND MODE, the display data will be displayed on the display device with a predetermined display color. After switching to the command mode, the display data is further displayed in a predetermined display color, such as monochrome display, which further reduces the power consumption of the electronic device.
附图说明Description of drawings
图1是根据本发明第一实施方式的显示数据传输方法流程图;FIG. 1 is a flowchart of a display data transmission method according to a first embodiment of the present invention;
图2是根据本发明第四实施方式的电子装置的系统原理框图;2 is a system block diagram of an electronic device according to a fourth embodiment of the present invention;
图3是根据本发明第五实施方式的电子装置的系统原理框图;3 is a system schematic diagram of an electronic device according to a fifth embodiment of the present invention;
图4是根据本发明第六实施方式的电子装置的系统原理框图。FIG. 4 is a system functional block diagram of an electronic device according to a sixth embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请各权利要求所要求保护的技术方案。In order to make the object, technical solution and advantages of the present invention clearer, various embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in each claim of the present application can be realized.
本发明的第一实施方式涉及一种显示数据的传输方法。该方法可用于智能手机或平板电脑(PAD),该方法可以采用两种模式在中央处理器和显示设备之间传输显示数据,并且满足一定的预设条件的情况下,可以实现两种模式之间的切换。第一模式和第二模式为视频模式(VIDEO MODE)或命令模式(COMMAND MODE)中的一种,并且第一模式与第二模式不同。The first embodiment of the present invention relates to a transmission method of display data. The method can be used in smart phones or tablet computers (PAD), and the method can use two modes to transmit display data between the central processing unit and the display device, and when certain preset conditions are met, the display data between the two modes can be realized. switch between. The first mode and the second mode are one of a video mode (VIDEO MODE) or a command mode (COMMAND MODE), and the first mode is different from the second mode.
以下以第一模式为命令模式(COMMAND MODE),第二模式为视频模式(VIDEO MODE)为例进行说明,具体流程图如图1所示,包含以下步骤:The following takes the first mode as the command mode (COMMAND MODE) and the second mode as the video mode (VIDEO MODE) as an example for illustration. The specific flow chart is shown in Figure 1, including the following steps:
步骤101,采用命令模式(COMMAND MODE)在中央处理器和显示设备之间传输显示数据。Step 101, transmit display data between the central processing unit and the display device in a command mode (COMMAND MODE).
步骤102,判断是否满足预设的第一切换条件;若是,则执行步骤103;若否,则返回执行步骤101。Step 102, judging whether the preset first switching condition is satisfied; if yes, execute step 103; if not, return to execute step 101.
步骤103,采用视频模式(VIDEO MODE)在中央处理器和显示设备之间传输显示数据。Step 103, transmit display data between the central processing unit and the display device in a video mode (VIDEO MODE).
步骤104,判断是否满足预设的第二切换条件,若是,则执行步骤101;若否,则返回执行步骤103。Step 104, judging whether the preset second switching condition is satisfied, if yes, execute step 101; if not, return to execute step 103.
具体地说,预设的第一切换条件和第二切换条件可以为触发设备接收的不同的模式切换触发指令。比如,触发设备可以为移动终端的触摸屏,触发指令为进入省电模式或退出省电模式,预设的第一切换条件为触发设备接收到“退出省电模式”的指令,预设的第二切换条件为触发设备接收到“进入省电模式”的指令。当前正在采用命令模式在中央处理器和显示设备之间传输显示数据,如果触发设备接收到“退出省电模式”的指令时,则切换到采用视频模式(VIDEO MODE)在中央处理器和显示设备之间传输显示数据;否则,仍采用命令模式在中央处理器和显示设备之间传输显示数据。当前正在采用视频模式(VIDEO MODE)在中央处理器和显示设备之间传输显示数据,如果触发设备接收到“进入省电模式”的指令时,则切换到采用命令模式在中央处理器和显示设备之间传输显示数据;否则,仍采用视频模式(VIDEO MODE)在中央处理器和显示设备之间传输显示数据。Specifically, the preset first switching condition and the second switching condition may be different mode switching trigger instructions received by the triggering device. For example, the triggering device may be a touch screen of a mobile terminal, and the triggering instruction is to enter the power saving mode or exit the power saving mode. The switching condition is that the triggering device receives an instruction of "entering the power saving mode". Currently, the command mode is being used to transmit display data between the central processing unit and the display device. If the trigger device receives the instruction of “exit power saving mode”, it will switch to the video mode (VIDEO MODE) between the central processing unit and the display device. Transfer display data between; otherwise, still use command mode to transfer display data between the central processing unit and the display device. Currently, video mode (VIDEO MODE) is being used to transmit display data between the central processing unit and the display device. If the trigger device receives the instruction of "entering power saving mode", it will switch to the command mode to communicate between the central processing unit and the display device. Otherwise, the video mode (VIDEO MODE) is still used to transmit display data between the central processing unit and the display device.
与现有技术相比,本实施方式根据触发设备接收的不同模式切换触发指令,使用户可以根据电子装置的实际使用情况,实现显示数据的传输在两种模式之间的切换,这样不仅降低了电子装置的功耗,提高了电子装置的电池续航能力,而且进一步地提高了用户体验。Compared with the prior art, this embodiment switches trigger instructions according to different modes received by the trigger device, so that the user can switch between the two modes of display data transmission according to the actual use of the electronic device, which not only reduces the The power consumption of the electronic device improves the battery life of the electronic device, and further improves user experience.
此外,值得一提的是,如果采用命令模式(COMMAND MODE)在中央处理器和显示设备之间传输显示数据,显示数据还可以以预定的显示色彩在显示设备上显示,可以进一步降低功耗,提高电子装置的电池续航能力。具体地说,由于采用命令模式(COMMAND MODE)在中央处理器和显示设备之间传输显示数据,即此时显示设备的显示数据不经常改变,电子装置处于低功耗状态。进一步地显示数据以预定的显示色彩在显示设备上显示,比如,整个显示设备的显示方式可以为黑底单色显示,即显示设备背光面为黑色,需要显示的文字、数字等信息采用单色显示,单色显示的色彩可以为白色、红色、黄色或绿色,显示色彩的选择这里不作具体限定。In addition, it is worth mentioning that if the display data is transmitted between the central processing unit and the display device using the command mode (COMMAND MODE), the display data can also be displayed on the display device with a predetermined display color, which can further reduce power consumption. Improve battery life of electronic devices. Specifically, because the display data is transmitted between the CPU and the display device in COMMAND MODE, that is, the display data of the display device does not change frequently at this time, and the electronic device is in a low power consumption state. Further display data is displayed on the display device with a predetermined display color. For example, the display method of the entire display device can be monochrome display on a black background, that is, the backlight surface of the display device is black, and the text, numbers and other information to be displayed are in monochrome Display, the color displayed in monochrome can be white, red, yellow or green, and the choice of display color is not specifically limited here.
本发明的第二实施方式涉及一种显示数据的传输方法。第二实施方式与第一实施方式大致相同,主要区别之处在于:在第一实施方式中,预设的第一切换条件和预设的第二切换条件为触发设备接收的不同的模式切换触发指令。而在本发明第二实施方式中,通过对电池电量的检测判断在命令模式和视频模式(VIDEO MODE)之间进行切换,降低了电子装置的功耗,提高了电池的续航能力。The second embodiment of the present invention relates to a transmission method of display data. The second embodiment is substantially the same as the first embodiment, the main difference is that in the first embodiment, the preset first switching condition and the preset second switching condition are different mode switching triggers received by the triggering device instruction. In the second embodiment of the present invention, the power consumption of the electronic device is reduced and the endurance of the battery is improved by detecting and judging the battery power to switch between the command mode and the video mode (VIDEO MODE).
以下以第一模式为视频模式(VIDEO MODE),第二模式为命令模式(COMMAND MODE)为例进行说明,但第一模式和第二模式的具体选择并不仅限于此。Hereinafter, the first mode is the video mode (VIDEO MODE) and the second mode is the command mode (COMMAND MODE) as an example for illustration, but the specific selection of the first mode and the second mode is not limited thereto.
若第一模式为视频模式(VIDEO MODE),第二模式为命令模式(COMMAND MODE),则预设的第一切换条件为电池电量低于预设的第一电量阈值;预设的第二切换条件为电池电量高于预设的第二电量阈值;其中,第一电量阈值小于或等于第二电量阈值。If the first mode is video mode (VIDEO MODE), and the second mode is command mode (COMMAND MODE), then the preset first switching condition is that the battery power is lower than the preset first power threshold; the preset second switching condition is The condition is that the battery power is higher than a preset second power threshold; wherein, the first power threshold is less than or equal to the second power threshold.
具体地说,当前采用视频模式(VIDEO MODE)在中央处理器和显示设备之间传输显示数据,若电池电量低于第一电量阈值,则切换到采用命令模式(COMMAND MODE)在中央处理器和显示设备之间传输显示数据;若电池电量高于第一电量阈值,则仍然采用视频模式(VIDEO MODE)在中央处理器和显示设备之间传输显示数据。当前采用命令模式(COMMANDMODE)在中央处理器和显示设备之间传输显示数据,若电池电量高于第二电量阈值,则切换到采用视频模式(VIDEO MODE)在中央处理器和显示设备之间传输显示数据;若电池电量低于第二电量阈值,则仍然采用命令模式(COMMAND MODE)在中央处理器和显示设备之间传输显示数据。Specifically, video mode (VIDEO MODE) is currently used to transmit display data between the central processing unit and the display device. If the battery power is lower than the first power threshold, then switch to command mode (COMMAND MODE) between the central processing unit and the display device. The display data is transmitted between the display devices; if the battery power is higher than the first power threshold, the video mode (VIDEO MODE) is still used to transmit the display data between the central processing unit and the display device. Currently, the command mode (COMMANDMODE) is used to transmit display data between the central processing unit and the display device. If the battery power is higher than the second power threshold, switch to the video mode (VIDEO MODE) to transmit between the central processing unit and the display device. display data; if the battery power is lower than the second power threshold, the command mode (COMMAND MODE) is still used to transmit the display data between the central processing unit and the display device.
举例来说,假设第一电量阈值和第二电量阈值相等,均为60%。当预设第一切换条件为电池电量低于预设的第一电量阈值时,即当电池电量低于60%时,满足预设的第一切换条件,该电子装置采用命令模式(COMMAND MODE)在中央处理器和显示设备之间传输显示数据。当第二切换条件为电池电量高于预设的第二电量阈值时,即当电子装置电池电量高于60%时,满足预设的第二切换条件,该电子装置采用视频模式(VIDEO MODE)在中央处理器和显示设备之间传输显示数据。For example, assume that the first power threshold and the second power threshold are equal to 60%. When the preset first switching condition is that the battery power is lower than the preset first power threshold, that is, when the battery power is lower than 60%, the preset first switching condition is met, and the electronic device adopts the command mode (COMMAND MODE) Display data is transferred between the CPU and the display device. When the second switching condition is that the battery power is higher than the preset second power threshold, that is, when the battery power of the electronic device is higher than 60%, the preset second switching condition is met, and the electronic device adopts the video mode (VIDEO MODE) Display data is transferred between the CPU and the display device.
由于电子装置在实际工作过程中,电池电量并不精确为60%,而是在60%上下很小的范围(比如59%~61%)内波动,由于电池电量的波动,若将第一电量阈值与第二电量阈值均设置为60%,则电子装置显示数据的传输模式会在命令模式(COMMAND MODE)和视频模式(VIDEO MODE)之间进行多次的来回切换会增加电子装置的功耗。In the actual working process of the electronic device, the battery power is not exactly 60%, but fluctuates within a small range (such as 59% to 61%) around 60%. Due to the fluctuation of the battery power, if the first power Both the threshold and the second power threshold are set to 60%, then the transmission mode of the electronic device display data will switch back and forth between the command mode (COMMAND MODE) and the video mode (VIDEO MODE) many times, which will increase the power consumption of the electronic device .
为了避免上述情况的出现,可以采用施密特触发器的原理,设定第一电量阈值小于第二电量阈值,比如,第一电量阈值为60%,第二电量阈值可以为70%。当电池电量低于60%时,满足预设的第一切换条件,该电子装置采用命令模式(COMMAND MODE)在中央处理器和显示设备之间传输显示数据。当电子装置电池电量高于70%时,满足预设的第二切换条件,电子装置采用视频模式(VIDEO MODE)在中央处理器和显示设备之间传输显示数据。第一电量阈值与第二电量阈值的选择这里并不限于以上所述。In order to avoid the occurrence of the above situation, the principle of Schmitt trigger can be used to set the first power threshold to be smaller than the second power threshold, for example, the first power threshold is 60%, and the second power threshold can be 70%. When the battery power is lower than 60%, the preset first switching condition is met, and the electronic device uses a command mode (COMMAND MODE) to transmit display data between the central processing unit and the display device. When the battery power of the electronic device is higher than 70%, the preset second switching condition is met, and the electronic device uses a video mode (VIDEO MODE) to transmit display data between the central processing unit and the display device. The selection of the first power threshold and the second power threshold is not limited to the above description.
于本实施方式中,第一电量阈值与第二电量阈值的具体选择并不限于以上所述具体数值,可以根据实际情况具体设定,也可以设置接口允许用户自行设定,方便用户使用。In this embodiment, the specific selection of the first power threshold and the second power threshold is not limited to the above-mentioned specific values, which can be set according to the actual situation, or an interface can be set to allow users to set it themselves, which is convenient for users.
本发明第三实施方式涉及一种显示数据的传输方法。第三实施方式与第一实施方式大致相同,主要区别之处在于:在第一实施方式中预设的第一切换条件和预设的第二切换条件为触发设备接收的不同的模式切换触发指令。而在本发明第三实施方式中,通过对判断显示数据当前帧和前一帧数据变化率在命令模式(COMMAND MODE)和视频模式(VIDEOMODE)之间进行切换,极大地降低了电子装置的功耗,并提高了电子装置的电池续航能力。The third embodiment of the present invention relates to a display data transmission method. The third embodiment is roughly the same as the first embodiment, the main difference is that: in the first embodiment, the preset first switching condition and the preset second switching condition are different mode switching trigger instructions received by the trigger device . And in the third embodiment of the present invention, by judging the data change rate of the current frame of the display data and the previous frame, switching between the command mode (COMMAND MODE) and the video mode (VIDEOMODE), greatly reducing the power of the electronic device. consumption, and improve the battery life of electronic devices.
以下仍然以第一模式为视频模式(VIDEO MODE),第二模式为命令模式(COMMANDMODE)为例进行说明。对应地,预设的第一切换条件为数据变化率低于预设的第一变化阈值;预设的第二切换条件为数据变化率高于或等于预设的第二变化阈值;其中,数据变化率为显示数据当前帧和前一帧的数据变化率,第一变化阈值小于或等于第二变化阈值。The following still takes the first mode as the video mode (VIDEO MODE) and the second mode as the command mode (COMMANDMODE) as an example for illustration. Correspondingly, the preset first switching condition is that the data change rate is lower than the preset first change threshold; the preset second switching condition is that the data change rate is higher than or equal to the preset second change threshold; wherein, the data The change rate displays the data change rate of the current frame and the previous frame of data, and the first change threshold is less than or equal to the second change threshold.
具体地说,预设的第一切换条件为数据变化率低于预设的第一变化阈值,其中,数据变化率可以用百分比表示,数据变化率为100%表示当前帧数据与前一帧数据完全相同,数据变化率为0%表示当前帧数据与前一帧数据完全不同。举例来说,第一变化阈值可以为30%,第二变化阈值可以为50%,当数据变化率低于30%时,满足预设的第一切换条件,则该电子装置采用命令模式(COMMAND MODE)在中央处理器和显示设备之间传输显示数据。当数据变化率高于50%时,满足预设的第二切换条件,则该电子装置采用视频模式(VIDEOMODE)在中央处理器和显示设备之间传输显示数据。其中第一变化阈值与第二变换阈值并不限于以上所述。Specifically, the preset first switching condition is that the data change rate is lower than the preset first change threshold, wherein the data change rate can be expressed in percentage, and a data change rate of 100% means that the current frame data is different from the previous frame data Exactly the same, the data change rate of 0% means that the current frame data is completely different from the previous frame data. For example, the first change threshold can be 30%, and the second change threshold can be 50%. When the data change rate is lower than 30%, the preset first switching condition is met, and the electronic device adopts the command mode (COMMAND MODE) transmits display data between the central processing unit and the display device. When the data change rate is higher than 50%, the preset second switching condition is met, and the electronic device uses a video mode (VIDEOMODE) to transmit display data between the central processing unit and the display device. The first variation threshold and the second transformation threshold are not limited to the above descriptions.
于本实施方式中,第一变化阈值与第二变化阈值的具体选择并不限于以上所述具体数值,可以根据实际情况具体设定,也可以设置接口允许用户自行设定,方便用户使用。In this embodiment, the specific selection of the first change threshold and the second change threshold is not limited to the specific values mentioned above, they can be set according to the actual situation, or an interface can be set to allow the user to set it by himself, which is convenient for the user.
此外,值得说明的是,数据变化率可以是预设的一段时间内数据变化率的平均值,这样可以使数据变化率的变化更平滑,从而显示模式的切换更加合理。此外,现有的一些数据去噪,平滑等技术均可用于对一段时间的数据变化率进行处理,使得显示模式的切换更加合理,在此不再一一赘述。In addition, it is worth noting that the data change rate can be an average value of the data change rate within a preset period of time, which can make the change of the data change rate smoother, so that the switching of the display mode is more reasonable. In addition, some existing technologies such as data denoising and smoothing can be used to process the data change rate for a period of time, so that the switching of display modes is more reasonable, and details will not be repeated here.
本发明第四实施方式涉及一种电子装置,该电子装置的系统原理框图如图2所示,包含:中央处理器、显示驱动单元、显示单元和触发单元。显示驱动单元具有视频模式和命令模式两种数据传输模式,用于在中央处理器和显示单元之间传输显示数据;触发单元接收不同的模式切换触发指令。The fourth embodiment of the present invention relates to an electronic device. The system block diagram of the electronic device is shown in FIG. 2 , including: a central processing unit, a display drive unit, a display unit and a trigger unit. The display drive unit has two data transmission modes, video mode and command mode, which are used to transmit display data between the central processing unit and the display unit; the trigger unit receives different mode switching trigger instructions.
于本实施方式中,显示驱动单元以触发单元接收的不同的模式切换触发指令为依据判断是否满足预设的第一切换条件和预设的第二切换条件。显示驱动单元采用第一模式在中央处理器和显示单元之间传输显示数据,在满足预设的第一切换条件时,切换到采用第二模式在中央处理器和显示单元之间传输显示数据。显示驱动单元采用第二模式在中央处理器和显示单元之间传输显示数据,在满足预设的第二切换条件时,切换到采用第一模式在中央处理器和显示单元之间传输显示数据。In this embodiment, the display driving unit judges whether the preset first switching condition and the preset second switching condition are satisfied based on different mode switching trigger commands received by the triggering unit. The display driving unit uses the first mode to transmit display data between the CPU and the display unit, and switches to the second mode to transmit display data between the CPU and the display unit when a preset first switching condition is satisfied. The display driving unit uses the second mode to transmit display data between the CPU and the display unit, and switches to the first mode to transmit display data between the CPU and the display unit when a preset second switching condition is satisfied.
其中,第一模式和第二模式为视频模式或命令模式中的一种,并且第一模式与第二模式不同。Wherein, the first mode and the second mode are one of video mode or command mode, and the first mode is different from the second mode.
此外,电子装置还设有色彩转换单元,该色彩转换单元在显示驱动单元采用命令模式(COMMAND MODE)在中央处理器和显示设备之间传输显示数据时,将显示数据转换成预定的显示色彩在显示设备上显示,可以进一步降低功耗,提高电子装置的电池续航能力。In addition, the electronic device is also provided with a color conversion unit, which converts the display data into a predetermined display color when the display drive unit uses the command mode (COMMAND MODE) to transmit display data between the central processing unit and the display device. Displayed on the display device, the power consumption can be further reduced, and the battery life of the electronic device can be improved.
不难发现,本实施方式为与第一实施方式相对应的系统实施例,本实施方式可与第一实施方式互相配合实施。第一实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第一实施方式中。It is not difficult to find that this embodiment is a system embodiment corresponding to the first embodiment, and this embodiment can be implemented in cooperation with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and will not be repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this implementation manner can also be applied in the first implementation manner.
本发明第五实施方式涉及一种电子装置。第五实施方式与第四实施方式大致相同,主要区别之处在于:在第四实施方式中,电子装置采用触发单元触发命令模式和视频模式之间的切换。而在本发明第五实施方式中,通过对电池电量的检测判断在命令模式和视频模式(VIDEO MODE)之间进行切换,降低了电子装置的功耗,提高了电池的续航能力。The fifth embodiment of the present invention relates to an electronic device. The fifth embodiment is substantially the same as the fourth embodiment, the main difference being that: in the fourth embodiment, the electronic device uses a trigger unit to trigger switching between the command mode and the video mode. In the fifth embodiment of the present invention, the power consumption of the electronic device is reduced and the endurance of the battery is improved by detecting and judging the battery power to switch between the command mode and the video mode (VIDEO MODE).
具体地说,电子装置包含中央处理器、显示驱动单元、显示单元和检测单元。该电子装置的系统原理框图如图3所示,其中,中央处理器和显示单元与第四实施方式类似,在此不再赘述。检测单元用于检测电池电量;显示驱动单元以检测单元检测得到的电池电量为依据判断是否满足预设的第一切换条件和预设的第二切换条件。Specifically, the electronic device includes a central processing unit, a display driving unit, a display unit and a detection unit. The system principle block diagram of the electronic device is shown in FIG. 3 , wherein the central processing unit and the display unit are similar to those of the fourth embodiment, and will not be repeated here. The detection unit is used to detect the battery power; the display drive unit judges whether the preset first switching condition and the preset second switching condition are satisfied based on the battery power detected by the detection unit.
不难发现,本实施方式为与第二实施方式相对应的系统实施例,本实施方式可与第二实施方式互相配合实施。第二实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第二实施方式中。It is not difficult to find that this embodiment is a system embodiment corresponding to the second embodiment, and this embodiment can be implemented in cooperation with the second embodiment. The relevant technical details mentioned in the second embodiment are still valid in this embodiment, and will not be repeated here to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment mode can also be applied in the second embodiment mode.
本发明第六实施方式涉及一种电子装置。第六实施方式与第四实施方式大致相同,主要区别之处在于:在第四实施方式中电子装置采用触发单元触发命令模式和视频模式之间的切换。而在本发明第六实施方式中,通过对显示数据的当前帧与前一帧数据变化率的统计判断在命令模式和视频模式(VIDEO MODE)之间进行切换,降低了电子装置的功耗,提高了电池的续航能力。The sixth embodiment of the present invention relates to an electronic device. The sixth embodiment is substantially the same as the fourth embodiment, the main difference is that in the fourth embodiment, the electronic device uses a trigger unit to trigger switching between the command mode and the video mode. However, in the sixth embodiment of the present invention, switching between the command mode and the video mode (VIDEO MODE) is performed by statistically judging the rate of change between the current frame and the previous frame of the display data, thereby reducing the power consumption of the electronic device. Improved battery life.
具体地说,电子装置包含中央处理器、显示驱动单元、显示单元和统计单元。该电子装置的系统原理框图如图4所示,其中,中央处理器和显示单元与第四实施方式类似,在此不再赘述。统计单元用于统计显示数据的当前帧与前一帧数据变化率;显示驱动单元以统计单元统计得到的数据变化率为依据判断是否满足预设的第一切换条件和预设的第二切换条件。Specifically, the electronic device includes a central processing unit, a display driving unit, a display unit and a statistics unit. The functional block diagram of the system of the electronic device is shown in FIG. 4 , wherein the central processing unit and the display unit are similar to those of the fourth embodiment, and will not be repeated here. The statistical unit is used to count the data change rate of the current frame and the previous frame of the display data; the display drive unit judges whether the preset first switching condition and the preset second switching condition are met based on the data changing rate obtained by the statistical unit .
不难发现,本实施方式为与第三实施方式相对应的系统实施例,本实施方式可与第三实施方式互相配合实施。第三实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第三实施方式中。It is not difficult to find that this embodiment is a system embodiment corresponding to the third embodiment, and this embodiment can be implemented in cooperation with the third embodiment. The relevant technical details mentioned in the third embodiment are still valid in this embodiment, and will not be repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this embodiment mode can also be applied in the third embodiment mode.
本领域的普通技术人员可以理解,上述各实施方式是实现本发明的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned embodiments are specific examples for realizing the present invention, and in practical applications, various changes can be made to it in form and details without departing from the spirit and spirit of the present invention. scope.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510067983.5ACN104615399B (en) | 2015-02-09 | 2015-02-09 | The transmission method and electronic device of display data |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510067983.5ACN104615399B (en) | 2015-02-09 | 2015-02-09 | The transmission method and electronic device of display data |
| Publication Number | Publication Date |
|---|---|
| CN104615399A CN104615399A (en) | 2015-05-13 |
| CN104615399Btrue CN104615399B (en) | 2018-08-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510067983.5AActiveCN104615399B (en) | 2015-02-09 | 2015-02-09 | The transmission method and electronic device of display data |
| Country | Link |
|---|---|
| CN (1) | CN104615399B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104933984B (en)* | 2015-07-20 | 2017-12-05 | 京东方科技集团股份有限公司 | Display device and its driving method and drive module |
| CN106020414A (en)* | 2016-05-09 | 2016-10-12 | 捷开通讯科技(上海)有限公司 | Display control system and method for electronic apparatus |
| WO2018082213A1 (en)* | 2016-11-07 | 2018-05-11 | 华为技术有限公司 | Display method and electronic terminal |
| CN109471517B (en)* | 2018-11-22 | 2021-06-15 | 努比亚技术有限公司 | Display processing method and device and computer readable storage medium |
| WO2021026868A1 (en)* | 2019-08-15 | 2021-02-18 | Qualcomm Incorporated | Methods and apparatus to recover a mobile device when a command-mode panel timing synchronization signal is lost |
| CN111240621B (en)* | 2020-01-06 | 2022-01-25 | Oppo广东移动通信有限公司 | Method and device for controlling display frequency of display screen and electronic equipment |
| CN116820293B (en)* | 2023-06-30 | 2024-07-12 | 荣耀终端有限公司 | Display control method and electronic equipment |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6952787B2 (en)* | 1990-03-23 | 2005-10-04 | Matsushita Electric Industrial Co., Ltd. | Data processing apparatus |
| CN102982759A (en)* | 2011-09-02 | 2013-03-20 | 三星电子株式会社 | Display driver, operating method thereof, host for controlling the display driver, and system having the display driver and the host |
| CN104123111A (en)* | 2014-06-06 | 2014-10-29 | 三星半导体(中国)研究开发有限公司 | Display mode switching method and device of MIPI DSI |
| CN104156189A (en)* | 2014-08-08 | 2014-11-19 | 广东欧珀移动通信有限公司 | Method and device for dynamically switching display modes of display screen |
| CN104202552A (en)* | 2014-08-21 | 2014-12-10 | 武汉精测电子技术股份有限公司 | Method and device for achieving dual-mode mobile industry processor interface (MIPI) signals through bridge chip |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6952787B2 (en)* | 1990-03-23 | 2005-10-04 | Matsushita Electric Industrial Co., Ltd. | Data processing apparatus |
| CN102982759A (en)* | 2011-09-02 | 2013-03-20 | 三星电子株式会社 | Display driver, operating method thereof, host for controlling the display driver, and system having the display driver and the host |
| CN104123111A (en)* | 2014-06-06 | 2014-10-29 | 三星半导体(中国)研究开发有限公司 | Display mode switching method and device of MIPI DSI |
| CN104156189A (en)* | 2014-08-08 | 2014-11-19 | 广东欧珀移动通信有限公司 | Method and device for dynamically switching display modes of display screen |
| CN104202552A (en)* | 2014-08-21 | 2014-12-10 | 武汉精测电子技术股份有限公司 | Method and device for achieving dual-mode mobile industry processor interface (MIPI) signals through bridge chip |
| Publication number | Publication date |
|---|---|
| CN104615399A (en) | 2015-05-13 |
| Publication | Publication Date | Title |
|---|---|---|
| CN104615399B (en) | The transmission method and electronic device of display data | |
| US9110665B2 (en) | Techniques to control self refresh display functionality | |
| JP6466518B2 (en) | System and method for improved processing of touch sensor data | |
| US9953613B2 (en) | High speed display interface | |
| KR101549819B1 (en) | Techniques to transmit commands to a target device | |
| US20180365086A1 (en) | Method for Processing Data Collected by Touch Panel, and Terminal Device | |
| KR101467127B1 (en) | Techniques to control display activity | |
| CN104933983A (en) | Method and system for reducing power consumption of mobile terminal | |
| CN113870812B (en) | Method, device, processor, chip and terminal for adjusting refresh frame rate of display screen | |
| WO2015100573A1 (en) | Display refreshing method and terminal | |
| CN103092547A (en) | Method and electronic devices for transmitting data | |
| WO2015100309A1 (en) | Previewing notification content | |
| US20150253943A1 (en) | Method and Apparatus for Implementing Remote Browsing | |
| US10528114B2 (en) | Graphics processor power management | |
| CN104112430B (en) | A kind of system and method that promotes the black effect of display screen one and dynamic contrast | |
| TWI497482B (en) | Display apparatus and the method of refreshing frames displayed thereon | |
| CN114115505A (en) | Power saving control method, intelligent terminal and storage medium | |
| CN103632630B (en) | The update method of display and display frame thereof | |
| CN102984552B (en) | Flow control methods and device based on remote application | |
| CN206820890U (en) | A handheld terminal with a large screen for on-site operations of infrastructure projects | |
| CN116745839A (en) | Image transmission method and device | |
| TW201342071A (en) | Data transmission system and data transmission method |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20200401 Address after:830002 No. 61, Wuxing Road, Tianshan District, the Xinjiang Uygur Autonomous Region, Urumqi Patentee after:Wang Zhenhuan Address before:201506 Shanghai city Jinshan District Industry Road No. 218 Building 2 layer 3 Patentee before:SHANGHAI YUDE COMMUNICATION TECHNOLOGY Co.,Ltd. | |
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20200519 Address after:351100 room 706, No.3 building, no.696, lihuadong Avenue, Xialin street, Chengxiang District, Putian City, Fujian Province Patentee after:Putian Xianzhe Trade Co.,Ltd. Address before:830002 No. 61, Wuxing Road, Tianshan District, the Xinjiang Uygur Autonomous Region, Urumqi Patentee before:Wang Zhenhuan | |
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20250421 Address after:Room 603-G133, Building 1, No. 35 Shishan Road, High tech Zone, Suzhou City, Jiangsu Province, 215011 Patentee after:Suzhou Chuwei Information Technology Co.,Ltd. Country or region after:China Address before:351100 room 706, ladder 3, building 3, 696, lihuadong Avenue, Xialin street, Chengxiang District, Putian City, Fujian Province Patentee before:Putian Xianzhe Trade Co.,Ltd. Country or region before:China |