WO2018218796A1 - 显示界面旋转方法、存储介质和pos终端 - Google Patents

显示界面旋转方法、存储介质和pos终端 Download PDF

Info

Publication number
WO2018218796A1
WO2018218796A1 PCT/CN2017/099633 CN2017099633W WO2018218796A1 WO 2018218796 A1 WO2018218796 A1 WO 2018218796A1 CN 2017099633 W CN2017099633 W CN 2017099633W WO 2018218796 A1 WO2018218796 A1 WO 2018218796A1
Authority
WO
WIPO (PCT)
Prior art keywords
display interface
image data
mmu
storage space
preset storage
Prior art date
Application number
PCT/CN2017/099633
Other languages
English (en)
French (fr)
Inventor
汤增宏
张磊
Original Assignee
百富计算机技术(深圳)有限公司
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 百富计算机技术(深圳)有限公司 filed Critical 百富计算机技术(深圳)有限公司
Publication of WO2018218796A1 publication Critical patent/WO2018218796A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Definitions

  • the present application relates to the field of image processing technologies, and in particular, to a display interface rotation method, a storage medium, and a POS terminal.
  • the display interface on the LCD (Liquid C Crystal Display) display is rotated.
  • the conventional method uses a function in a GUI (Graphical User Interface) library to implement image rotation.
  • GUI Graphic User Interface
  • the GUI library is a huge database, which takes up a lot of storage space. If you only use the functions in the GUI library for displaying interface rotation, it is too wasteful and many are not equipped with GUI libraries.
  • the hardware rotation module is used to rotate the display interface, the procurement cost is increased and the processing difficulty is increased. Therefore, how to realize the rotation of the display interface without using the GUI library or the hardware rotation module is an urgent problem to be solved.
  • a display interface rotation method a storage medium, and a POS terminal are provided.
  • a display interface rotation method includes:
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
  • a POS terminal comprising a memory, a processor and a computer program stored on the memory and operable on the processor, the processor implementing the computer program to implement the following steps:
  • FIG. 1 is a schematic diagram of an application of a display interface rotation method in an embodiment
  • FIG. 2 is a flow chart of a method for displaying an interface rotation in an embodiment
  • FIG. 3 is a flow chart of a method for displaying an interface rotation in an embodiment
  • FIG. 4 is a flow chart of a method for displaying an interface rotation in an embodiment
  • FIG. 5 is a flow chart of a method for displaying an interface rotation in an embodiment
  • FIG. 6 is a flow chart of a method for displaying an interface rotation in an embodiment
  • FIG. 7 is a schematic structural diagram of a POS terminal in an embodiment
  • FIG. 8 is a schematic structural view of the interface monitoring device shown in FIG. 7.
  • FIG. 1 shows the rotation of the display interface under the Linux system.
  • the display interface of other operating systems can be rotated.
  • the operating system runs on a chip containing an MMU (Memory Management Unit), or There is no operating system, as long as there is an MMU on the chip.
  • MMU Memory Management Unit
  • Figure (b) shows the display interface obtained by rotating the image data by 90° and then displaying it. This is in accordance with the user's usage habits.
  • GUI graphical User Interface
  • a typical application uses a GUI (Graphical User Interface) library or a hardware rotation module to rotate the display interface.
  • GUI library is a library that is required when using the graphical user interface (GUI) when writing software. Calling functions from the GUI library can draw graphics such as borders and buttons, and the GUI library also provides image rotation. Since the GUI library occupies a large amount of storage space or does not frequently use the functions of the GUI library, many applications may not have a GUI library. And if the hardware rotation module is used to realize the rotation of the display interface, first purchasing the hardware rotation module increases the cost, and secondly adding the hardware rotation module on the motherboard also increases the processing difficulty.
  • GUI graphical User Interface
  • a display interface rotation method is provided.
  • the method is applied to the application environment in FIG. 1 as an example, and includes:
  • Step 210 Monitor whether image data of the display interface is updated.
  • the entire image is made up of individual pixels. If you want to display an image on the display, first discretize the image into points one by one, and then match the color of each point to the pixel of the display.
  • the LCD screen is composed of an LCD driver and an LCD display panel.
  • the LCD display panel is only responsible for the rotational transmission of liquid crystal molecules in the display panel, and the LCD display panel requires a certain analog electrical signal to control the liquid crystal molecules.
  • the LCD driver is responsible for providing the panel with an analog electrical signal for controlling the liquid crystal molecules.
  • the control signal (digital signal) of the LCD driver is derived from its own digital interface, which is the external interface of the LCD screen.
  • the LCD controller is generally integrated inside a SoC (System-on-a-Chip) system, and the LCD controller is responsible for providing a digital signal for controlling the pixel display to the remote LCD driver through the digital interface.
  • the key to the LCD controller is timing, which must communicate with the LCD driver at a certain timing.
  • the LCD controller is controlled by the SoC, and the SoC reads the pixel data from the memory and transmits it to the LCD controller and finally to the LCD driver.
  • the SoC picks up a piece of memory in memory (generally the programmer picks it up at random, but must follow certain rules when selecting it), and then configures the LCD controller and this piece of memory (hereafter referred to as video memory) to form a map. relationship. Once this relationship is established, LCD control The controller will automatically read the pixel data from the video memory and transfer it to the LCD driver.
  • the rotation of the image data of the display interface under the Linux system is based on the timing of the timer.
  • the application rotating the image data of the display interface is based on monitoring that the original image data of the display interface is updated, and then rotating the image data of the updated display interface without updating periodically.
  • the original image data of the display interface is stored in a preset storage space in the display memory, and the preset storage space is monitored to monitor whether the original image data of the display interface is updated.
  • the MMU Memory Management Unit monitors whether image data of the display interface is updated.
  • Step 220 If an update event is detected, the image data of the updated display interface is acquired, the display interface rotation thread is started according to the image data, and the image data is rotated by the display interface rotation thread.
  • the updated image data is acquired, and the display interface rotation thread is started.
  • the display interface rotation thread is used to rotate the updated image data.
  • the rotating image algorithm is used to display the interface rotation thread.
  • the algorithm uses a pixel to rotate on the circumference, and a pixel point A(x, y) is rotated by a ⁇ angle around the center point to obtain a pixel point C(c, d).
  • the coordinates of the rotated pixel point C(c,d) are only related to the coordinates of the pixel point A(x, y) and the rotation angle ⁇ . Using the above relationship, the coordinates of the pixel point C(c, d) obtained after the rotation can be calculated.
  • Step 230 Acquire rotated image data, and display the rotated display interface on the display screen according to the rotated image data.
  • the application rotates the updated image data through the display interface rotation thread to obtain the rotated image data.
  • the rotated image data is stored in another preset memory space in the video memory.
  • the LCD controller can acquire image data from the preset memory space and transmit the image data to the LCD driver.
  • the LCD driver displays on the LCD panel based on the image data.
  • the application rotates the image data of the display interface based on the timing of the timer.
  • the application rotates the image data of the display interface The rotation is based on the update of the original image data of the display interface, and the image data of the updated display interface is rotated, and the update is not performed periodically.
  • this event trigger mechanism consumes less CPU internal load and is therefore more efficient.
  • monitoring whether the image data of the display interface is updated comprises: monitoring, by the memory management unit MMU, whether image data of the display interface is updated.
  • the general operating system can achieve the following functions by using the MMU function of the CPU:
  • virtual memory With virtual memory, you can run applications on the CPU that are larger than the actual physical memory. In order to use virtual memory, the operating system usually has to set up a swap partition (usually a hard disk). By putting inactive memory data into the swap partition, the operating system can free up space to serve other programs. Virtual memory is implemented by virtual addresses.
  • Another feature is memory protection. Protects access to specific memory blocks as needed. With this feature, we can set specific memory blocks to read-only, write-only, or both.
  • the application uses the memory management unit MMU to memory protect the preset storage space in which the raw image data of the display interface is stored.
  • the preset storage space is set to read-only, that is, data cannot be written to the preset storage space.
  • an MMU abort occurs. Therefore, whether the image data of the monitoring display interface is updated is implemented by the memory management unit MMU.
  • the application program performs memory protection on the preset storage space storing the original image data of the display interface through the memory management unit MMU. Whether there is data writing in the preset storage space for real-time monitoring, when there is data writing, restarting the display interface rotating thread to rotate the image data. It will not affect the normal display and real-time update of the display interface, and at the same time avoid the high CPU (Central Processing Unit) internal consumption caused by the traditional timing rotation.
  • CPU Central Processing Unit
  • whether the image data of the display interface is updated by the memory management unit MMU includes:
  • Step 212 The preset storage space in the video memory is in a write protection state by using the MMU, and the preset storage space is used to store image data of the display interface.
  • Step 214 When the MMU detects that the image data of the display interface is written in the preset storage space, the MMU is triggered to be abnormally interrupted. After the MMU is abnormally interrupted, the write state of the preset storage space is changed to be writable to be displayed. The image data of the interface is written to the preset storage space.
  • the application performs memory protection on the preset storage space storing the original image data of the display interface through the memory management unit MMU.
  • the preset storage space is set to read-only, that is, data cannot be written to the preset storage space.
  • an MMU abort occurs.
  • the display interface rotation thread is started to rotate the updated image data to obtain the rotated image data.
  • the rotated image data is stored in another preset storage space in the video memory.
  • the LCD controller can acquire image data from another preset storage space and transmit it to the LCD driver.
  • the LCD driver displays on the LCD panel based on the image data.
  • the application first performs memory protection on the preset storage space storing the original image data of the display interface through the MMU. Then, when the image data is detected to be written, the write state of the preset storage space is modified, for example, from read-only to writable. Thereby new image data can be written to the preset storage space.
  • the method before monitoring whether the display interface is updated, the method further includes:
  • step 240 a rotation angle is obtained.
  • the LCD screen scanning method is fixed (transverse scanning from the first pixel in the upper left corner).
  • the position of the LCD display mounted on the product may be arbitrary due to the structure of the product. Therefore, it is necessary to adjust the display angle of the image data, such as rotation.
  • the display angle of the image data such as rotation.
  • it is normal for a horizontally scanned display to be mounted on a horizontal product and when the horizontal display is required to be mounted on a vertical product due to a product structural problem, then the display is abnormal.
  • the scanning direction of a display screen is inconsistent with the user's usage habits.
  • the image data is rotated by 90°, and then it is ensured that the display interface displayed on the vertical product is normal to conform to the user's usage habits.
  • the product is in production due to the mold, and the product structure has slight errors.
  • part of the product structure of the display screen is not 90° vertical, but 95° or other data.
  • it is necessary to rotate the image data by 5° to ensure that the image can maintain a 90° vertical display.
  • Step 250 creating a display interface rotation thread according to the rotation angle.
  • the rotation image algorithm used in the display interface rotation thread is set according to the rotation angle. Referring to the figure, the algorithm uses pixel points to rotate on the circumference. After a pixel point A(x, y) is rotated by ⁇ angle around the center point, the pixel point C(c, d) is obtained.
  • the coordinates of the rotated pixel point C(c,d) are only related to the coordinates of the pixel point A(x,y) and the rotation angle ⁇ .
  • the point C after the rotation of point A always moves on the circumference, and the radius of the circumference is
  • the coordinates of the pixel point C(c, d) obtained after the rotation can be calculated.
  • the rotation angle is obtained according to the product structure calculation, and the display interface rotation thread is customized according to the rotation angle, so that the rotation of the image data is realized, thereby ensuring the correct display of the image data on the display screen.
  • the method further includes:
  • step 260 the write state of the preset storage space is restored to the write protection state by the MMU.
  • the display interface is rotated to the new thread.
  • the image data is rotated, and the rotated image data is stored in another preset memory space, so that the LCD controller can acquire image data from the other preset memory space and transmit the image data to the LCD driver.
  • the LCD driver displays on the LCD panel based on the image data.
  • the MMU immediately restores the write state of the preset memory space to the write protection state, that is, the data cannot be written until the next time there is new image data, so that the MMU can be abnormally interrupted, thereby changing again.
  • the write status of the preset storage space When the MMU restores the write state of the preset storage space to the write protection state, that is, no new image data is written, the display interface rotation thread does not need to work, thereby reducing the power consumption of the CPU and improving the efficiency.
  • FIG. 6 is a flowchart of a display interface rotation method in a Linux system.
  • the memory management unit MMU is used to perform memory protection on the preset storage space in which the original image data of the display interface is stored.
  • the preset storage space is set to read-only, that is, data cannot be written to the preset storage space.
  • the rotation angle is set according to the product structure. For example, when the display of the horizontal display needs to be mounted on a vertical product due to a product structural problem, it is necessary to rotate the image data of the display interface by 90° before the display on the vertical product can be guaranteed.
  • the interface is normal to match the user's usage habits.
  • the mmap function is used to map the preset storage space of the original image data storing the display interface in the driver to the user program, so that the user can conveniently access the preset storage space for writing new image data.
  • the rotation image used in the rotation thread of the display interface is calculated.
  • the method is set. And wait for the MMU to be aborted.
  • an MMU abort occurs.
  • the write state of the preset storage space is changed to writable, so that new image data can be written into the preset storage space.
  • the display interface rotation thread is started to rotate the updated image data to obtain the rotated image data.
  • the rotated image data is stored in another piece of preset storage space in the video memory.
  • the LCD controller can acquire image data from the other preset storage space, update to the LCD buffer, and transmit to the LCD driver.
  • the LCD driver displays on the LCD panel based on the image data.
  • the MMU immediately restores the write state of the preset storage space to the write protection state, that is, the data cannot be written until the next time new image data is written.
  • FIG. 7 a block diagram of a POS terminal 700 is provided.
  • Each of the following modules may be implemented in whole or in part by software, hardware, or a combination thereof.
  • the POS terminal 700 includes:
  • the display interface monitoring module 710 is configured to monitor whether image data of the display interface is updated.
  • the image data rotation module 720 is configured to: if an update event is detected, acquire image data of the updated display interface, start a display interface rotation thread according to the image data, and rotate the image data through the display interface rotation thread;
  • the display interface display module 730 is configured to acquire the rotated image data, and display the rotated display interface on the display screen according to the rotated image data.
  • the display interface monitoring module 710 is further configured to monitor, by the memory management unit MMU, whether image data of the display interface is updated.
  • the display interface monitoring module 710 includes: a preset storage space protection module 712 and an MMU abnormal interruption module 714 .
  • the preset storage space protection module 712 is configured to enable the preset storage space in the display memory to be in a write protection state by using the MMU, where the preset storage space is used to store image data of the display interface;
  • the MMU abnormal interrupt module 714 is configured to display a display boundary in the preset storage space when the MMU detects When the image data of the surface is written, the MMU is abnormally interrupted. After the MMU is abnormally interrupted, the write state of the preset storage space is changed to writable to write the image data of the display interface to the preset storage space.
  • a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
  • the rotated image data is acquired, and the rotated display interface is displayed on the display screen according to the rotated image data.
  • the above steps are also implemented when the program is executed by the processor:
  • the image management data of the display interface is monitored by the memory management unit MMU.
  • the above steps are also implemented when the program is executed by the processor:
  • the preset storage space in the video memory is write-protected by the MMU, and the preset storage space is used to store image data of the display interface;
  • the MMU When the MMU detects that the image data of the display interface is written in the preset storage space, the MMU is abnormally interrupted. After the MMU is abnormally interrupted, the write state of the preset storage space is changed to be writable to display the image of the interface. Data is written to the preset storage space.
  • the above steps are also implemented when the program is executed by the processor:
  • the above steps are also implemented when the program is executed by the processor:
  • the write state of the preset storage space is restored to the write protection state by the MMU.
  • a POS terminal comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor performing the following steps when executing the computer program:
  • the rotated image data is acquired, and the rotated display interface is displayed on the display screen according to the rotated image data.
  • the processor further implements the following steps when executing the computer program:
  • the image management data of the display interface is monitored by the memory management unit MMU.
  • the processor further implements the following steps when executing the computer program:
  • the preset storage space in the video memory is in a write-protected state by the MMU, and the preset storage space is used to store image data of the display interface;
  • the MMU When the MMU detects that the image data of the display interface is written in the preset storage space, the MMU is abnormally interrupted. After the MMU is abnormally interrupted, the write state of the preset storage space is changed to be writable to display the image of the interface. Data is written to the preset storage space.
  • the processor further implements the following steps when executing the computer program:
  • the processor further implements the following steps when executing the computer program:
  • the write state of the preset storage space is restored to the write protection state by the MMU.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种显示界面旋转方法、存储介质和POS终端。监测显示界面的图像数据是否发生更新(210),若监测到更新事件,则获取更新后的显示界面的图像数据,根据图像数据启动显示界面旋转线程,通过显示界面旋转线程对图像数据进行旋转(220)。获取旋转后的图像数据,并根据旋转后的图像数据在显示屏上显示旋转后的显示界面(230)。

Description

显示界面旋转方法、存储介质和POS终端
相关申请的交叉引用
本申请要求于2017年06月02日提交中国专利局,申请号为201710408806.8,发明名称为“显示界面旋转方法、装置、存储介质和计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及图像处理技术领域,特别是涉及一种显示界面旋转方法、存储介质和POS终端。
背景技术
在LCD(Liquid Ccrystal Display,液晶显示器)显示屏上对的显示界面进行旋转,传统方法采用GUI(Graphical User Interface,图形用户接口)库中的函数来实现图像的旋转。但是GUI库是一个庞大的数据库,占用很大的存储空间,如果只是使用GUI库中的用于显示界面旋转的函数,就显示的太过浪费、且很多不配备GUI库。如果使用硬件旋转模块来对的显示界面进行旋转,则增加了采购成本,且增加了加工的难度。所以如何不借助GUI库,也不借助硬件旋转模块来实现显示界面的旋转,是一个亟待解决的问题。
发明内容
根据实施例的解决方案,提供一种显示界面旋转方法、存储介质和POS终端。
一种显示界面旋转方法,包括:
监测显示界面的图像数据是否发生更新;
若监测到更新事件,则获取更新后的显示界面的图像数据,根据所述图像数据启动显示界面旋转线程,通过所述显示界面旋转线程对所述图像数据 进行旋转;及
获取旋转后的图像数据,并根据所述旋转后的图像数据在显示屏上显示旋转后的显示界面。
一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:
监测显示界面的图像数据是否发生更新;
若监测到更新事件,则获取更新后的显示界面的图像数据,根据所述图像数据启动显示界面旋转线程,通过所述显示界面旋转线程对所述图像数据进行旋转;及
获取旋转后的图像数据,并根据所述旋转后的图像数据在显示屏上显示旋转后的显示界面。
一种POS终端,所述POS终端包括存储器,处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
监测显示界面的图像数据是否发生更新;
若监测到更新事件,则获取更新后的显示界面的图像数据,根据所述图像数据启动显示界面旋转线程,通过所述显示界面旋转线程对所述图像数据进行旋转;及
获取旋转后的图像数据,并根据所述旋转后的图像数据在显示屏上显示旋转后的显示界面。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提 下,还可以根据这些附图获得其它的附图。
图1为一个实施例中显示界面旋转方法的应用示意图;
图2为一个实施例中显示界面旋转方法的流程图;
图3为一个实施例中显示界面旋转方法的流程图;
图4为一个实施例中显示界面旋转方法的流程图;
图5为一个实施例中显示界面旋转方法的流程图;
图6为一个实施例中显示界面旋转方法的流程图;
图7为一个实施例中POS终端的结构示意图;
图8为图7中显示界面监测装置的结构示意图。
具体实施方式
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图对本申请的具体实施方式做详细的说明。在下面的描述中阐述了很多具体细节以便于充分理解本申请。但是本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似改进,因此本申请不受下面公开的具体实施的限制。
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
本申请一个实施例提供的显示界面旋转方法可应用于如图1所示的环境中。图1为对Linux系统下的显示界面进行旋转,当然也可以对其他操作系统的显示界面进行旋转,只要操作系统运行在包含MMU(Memory Management Unit,内存管理单元)的芯片上即可,或者可以没有操作系统,只要芯片上有MMU即可。参考图(a)所示为一个显示屏的扫描方向与用户 的使用习惯不一致的情况。图(b)为将图像数据进行旋转90°之后再进行显示所得到的显示界面,此时符合用户的使用习惯。
一般的应用程序采用GUI(Graphical User Interface,图形用户界面)库或者硬件旋转模块来对显示界面进行旋转。GUI库是指在编写软件时,使用图形用户界面(GUI)时所需要的库。从GUI库中调用函数就可以绘制出边框、按钮等图形,同时GUI库也提供图像旋转的功能。由于GUI库占据的存储空间很大或者不经常使用GUI库的功能,所以有很多应用程序可能不配备GUI库。且如果使用硬件旋转模块来实现显示界面的旋转,首先采购硬件旋转模块增加了成本,其次在主板上增加硬件旋转模块也增加了加工的难度。
在一个实施例中,如图2所示,提供了一种显示界面旋转方法,以该方法应用于图1中的应用环境为例进行说明,包括:
步骤210,监测显示界面的图像数据是否发生更新。
整个图像是由一个个的像素点组成的。如果要在显示器上显示一个图像,先要把这个图像离散化成一个一个的点,然后把各个点的颜色对应在显示屏的像素点上。LCD屏幕由LCD驱动器和LCD显示面板集成在一起所构成。LCD显示面板只负责显示面板里面的液晶分子旋转透光,LCD显示面板需要一定的模拟电信号来控制液晶分子。LCD驱动器负责给上述面板提供控制液晶分子的模拟电信号,LCD驱动器的控制信号(数字信号)来自于自己的数字接口,这个接口就是LCD屏幕的外部接口。
LCD控制器一般集成在SoC(System-on-a-Chip,系统级芯片)内部,LCD控制器负责通过数字接口向远端的LCD驱动器提供控制像素显示的数字信号。LCD控制器的关键在于时序,必须按照一定的时序和LCD驱动器通信。LCD控制器受SoC控制,SoC会从内存中读取像素数据传输给LCD控制器并最终传输给LCD驱动器。
SoC在内存中挑选一段内存(一般来说是程序员随便挑选的,但是挑选的时候必须符合一定规矩),然后通过配置将LCD控制器和这一段内存(以后称为显存)连接起来构成一个映射关系。一旦这个关系建立之后,LCD控 制器就会自动从显存中读取像素数据传输给LCD驱动器。
传统的,在Linux系统下对显示界面的图像数据进行旋转是基于定期器定时进行的。在一个实施例,应用程序对显示界面的图像数据进行旋转是基于监测到显示界面的原始图像数据有更新,才对更新后的显示界面的图像数据进行旋转,不用定时进行更新。显示界面的原始图像数据存储在显存中的预设存储空间,对该预设存储空间进行监测就能够监测到显示界面的原始图像数据是否发生更新。
在一个实施例中通过MMU(Memory Management Unit,内存管理单元)监测显示界面的图像数据是否发生更新。
步骤220,若监测到更新事件,则获取更新后的显示界面的图像数据,根据图像数据启动显示界面旋转线程,通过显示界面旋转线程对图像数据进行旋转。
如果应用程序监测到显存中,用于存储显示界面的原始图像数据的预设存储空间有数据更新时,则获取更新后的图像数据,并启动显示界面旋转线程。显示界面旋转线程用于对更新后的图像数据进行旋转。显示界面旋转线程所采用的是旋转图像算法。该算法利用像素点在圆周上进行旋转,一像素点A(x,y)绕圆心点旋转β角度后,得到像素点C(c,d)。旋转后的像素点C(c,d)的坐标只与像素点A(x,y)的坐标和旋转角度β有关。利用上述关系就可以计算出旋转后得到的像素点C(c,d)的坐标。
步骤230,获取旋转后的图像数据,并根据旋转后的图像数据在显示屏上显示旋转后的显示界面。
应用程序通过显示界面旋转线程对更新后的图像数据进行旋转后,得到旋转后的图像数据。将旋转后的图像数据存储在显存中的另一块预设显存空间中,此时,LCD控制器就可以从该预设显存空间中获取图像数据,并传输给LCD驱动器。LCD驱动器根据图像数据在LCD面板上进行显示。
本实施例中,传统的,应用程序对显示界面的图像数据进行旋转是基于定期器定时进行的。在一个实施例中应用程序对显示界面的图像数据进行旋 转是基于监测到显示界面的原始图像数据有更新,才对更新后的显示界面的图像数据进行旋转,不用定时进行更新。这种事件触发机制相比于传统的定时机制,占用的CPU内耗较少,因此更加高效。
在一个实施例中,监测显示界面的图像数据是否发生更新,包括:通过内存管理单元MMU监测显示界面的图像数据是否发生更新。
一般操作系统通过使用CPU的MMU功能,能实现以下功能:
其中一个功能是虚拟内存。有了虚拟内存,可以在CPU上运行比实际物理内存大的应用程序。为了使用虚拟内存,操作系统通常要设置一个交换分区(通常是硬盘),通过将不活跃的内存中的数据放入交换分区,操作系统可以腾出其空间来为其它的程序服务。虚拟内存是通过虚拟地址来实现的。
另一个功能是内存保护。根据需要对特定的内存区块的访问进行保护,通过这一功能,我们可以将特定的内存块设置成只读、只写或是可同时读写。
在一个实施例中,应用程序使用内存管理单元MMU来对存储了显示界面的原始图像数据的预设存储空间进行内存保护。例如,将该预设存储空间设置为只读,即不能往该预设存储空间中写入数据。当往该预设存储空间中写入数据时,则就会出现MMU异常中断。从而通过内存管理单元MMU实现了监测显示界面的图像数据是否发生更新。
在本实施例中,应用程序通过内存管理单元MMU来对存储了显示界面的原始图像数据的预设存储空间进行内存保护。对该预设存储空间中是否有数据写入进行实时监控,当有数据写入时,再启动显示界面旋转线程对图像数据进行旋转。既不会影响显示界面的正常显示及实时更新,同时又能够避免传统的定时旋转所带来的高CPU(Central Processing Unit,中央处理器)内耗。
在一个实施例中,如图3所示,通过内存管理单元MMU监测显示界面的图像数据是否发生更新,包括:
步骤212,通过MMU使显存中的预设存储空间处于写保护状态,预设存储空间用于存储显示界面的图像数据。
步骤214,当MMU监测到预设存储空间中有显示界面的图像数据写入时,则触发MMU异常中断,在MMU异常中断之后,将预设存储空间的写入状态改为可写以将显示界面的图像数据写入预设存储空间。
具体的,在一个实施例中,应用程序通过内存管理单元MMU对存储了显示界面的原始图像数据的预设存储空间进行内存保护。例如,将该预设存储空间设置为只读,即不能往该预设存储空间中写入数据。当用户往该预设存储空间中写入数据时,则就会出现MMU异常中断。在MMU异常中断之后,再将该预设存储空间的写入状态改为可写,从而新的图像数据就可以写入该预设存储空间。此时启动显示界面旋转线程对更新后的图像数据进行旋转,得到旋转后的图像数据。将旋转后的图像数据存储在显存中的另一块预设存储空间中,此时,LCD控制器就可以从另一块预设存储空间中获取图像数据,并传输给LCD驱动器。LCD驱动器根据图像数据在LCD面板上进行显示。
在本实施例中,应用程序通过MMU先将对存储了显示界面的原始图像数据的预设存储空间进行内存保护。然后当监测到有图像数据写入时就将预设存储空间的写入状态进行修改,例如从只读改为可写。从而使得新的图像数据可以写入到预设存储空间。
在一个实施例中,如图4所示,在监测显示界面是否发生更新之前,还包括:
步骤240,获取旋转角度。
一般LCD屏扫描方式是固定的(从左上角的第一个像素点依次横向扫描)。在电子产品的实际生产过程中,由于产品结构的原因,可能导致安装到产品上的LCD显示屏的位置是任意的。所以就需要对图像数据的显示角度进行调整,例如旋转。具体的,一个横向扫描的显示屏安装在横向的产品上显示是正常的,而当因为产品结构问题需要将该横向显示的显示屏安装在竖向的产品上时,则此时显示就是不正常的,参考图1中的图(a)所示即为一个显示屏的扫描方向与用户的使用习惯不一致的情况。此时,就需要对显示界面的 图像数据进行90°旋转,然后才能够保证显示在竖向产品上的显示界面是正常的,以符合用户的使用习惯的。当然也可能是产品在生产中由于模具的原因,产品结构有细微误差,例如安装显示屏的部分产品结构不是90°垂直的,而是95°或者其他数据。此时,为了避免产品报废,就需要对图像数据进行旋转5°以保证图像能够保持90°垂直显示。
步骤250,根据旋转角度创建显示界面旋转线程。
根据旋转角度去对显示界面旋转线程中所使用的旋转图像算法进行设定。请参见图所示,该算法利用像素点在圆周上进行旋转,一像素点A(x,y)绕圆心点旋转β角度后,得到像素点C(c,d)。
坐标A(x,y)点绕B(a,b)旋转度后的位置为C(c,d),则x,y,a,b,β,c,d有如下关系:
设A点旋转前的角度为δ,则旋转(逆势针)到C点后的角度为δ+β,求得A,B两点的距离:dist1=|AB|=y/sin(δ)=x/cos(δ),求得C,B两点的距离:dist2=|CB|=d/sin(δ+β)=c/cos(δ+β)。由于绕圆周旋转半径相等dist1=dist2,设dist1=r得到r=x/cos(δ)=y/sin(δ)=d/sin(δ+β)=c/cos(δ+β)。再由三角函数两角和差公式得到:
sin(δ+β)=sin(δ)cos(β)+cos(δ)sin(β)
cos(δ+β)=cos(δ)cos(β)-sin(δ)sin(β)
所以得出:
c=r×cos(δ+β)=r×cos(δ)cos(β)-r×sin(δ)sin(β)=xcos(β)-ysin(β)
d=r×sin(δ+β)=r×sin(δ)cos(β)+r×cos(δ)sin(β)=ycos(β)+xsin(β)
得到结论:旋转后的像素点C(c,d)的坐标只与像素点A(x,y)的坐标和旋转角度β有关。A点旋转后的C点总是在圆周上运动,圆周的半径为|AB|。利用上述关系就可以计算出旋转后得到的像素点C(c,d)的坐标。
在本实施例中,依据产品结构计算获得旋转角度,再依据旋转角度定制显示界面旋转线程,这样就实现了对图像数据的旋转,从而保证了图像数据在显示屏上的正确显示。
在一个实施例中,如图5所示,在获取旋转后的图像数据,并根据旋转后的图像数据在显示屏上显示旋转后的显示界面之后,还包括:
步骤260,通过MMU使预设存储空间的写入状态恢复为写保护状态。
在本实施例中,在通过MMU的写保护功能检测到一次图像数据更新事件,并更改了写保护状态以使新的图形数据写入了预设存储空间之后,启动显示界面旋转线程对新的图像数据完成旋转,将旋转之后的图像数据存储在另一块预设显存空间中,以便LCD控制器就可以从该另一块预设显存空间中获取图像数据,并传输给LCD驱动器。LCD驱动器根据图像数据在LCD面板上进行显示。在LCD面板上进行显示之后,MMU立马将预设存储空间的写入状态恢复为写保护状态,即不可以写入数据直到下次有新的图像数据,才能够使得MMU异常中断,从而再次更改预设存储空间的写入状态。在MMU将预设存储空间的写入状态恢复为写保护状态时,即没有新的图像数据写入,显示界面旋转线程是不需要工作的,从而降低了CPU的耗能,提高了效率。
在一个实施例中,提供了一种显示界面旋转方法,请参见图6,图6为Linux系统下的显示界面旋转方法的流程图。
首先,使用内存管理单元MMU来对存储了显示界面的原始图像数据的预设存储空间进行内存保护。例如,将该预设存储空间设置为只读,即不能往该预设存储空间中写入数据。
进一步的,根据产品结构设置旋转角度。例如,当因为产品结构问题需要将该横向显示的显示屏安装在竖向的产品上时,,就需要对显示界面的图像数据进行90°旋转,然后才能够保证显示在竖向产品上的显示界面是正常的,以符合用户的使用习惯。
进一步的,利用mmap函数把驱动里面的存储了显示界面的原始图像数据的预设存储空间映射到用户程序,好让用户方便访问该预设存储空间用于写入新的图像数据。
进一步的,根据旋转角度去对显示界面旋转线程中所使用的旋转图像算 法进行设定。并等待MMU异常中断。当用户往该预设存储空间中写入数据时,则就会出现MMU异常中断。
进一步的,在MMU异常中断之后,再将该预设存储空间的写入状态改为可写,从而新的图像数据就可以写入预设存储空间。此时启动显示界面旋转线程对更新后的图像数据进行旋转,得到旋转后的图像数据。将旋转后的图像数据存储在显存中的另一块预设存储空间中。此时,LCD控制器就可以从该另一块预设存储空间中获取图像数据,更新至LCD缓存并传输给LCD驱动器。LCD驱动器根据图像数据在LCD面板上进行显示。
最后,显示界面在LCD面板上进行显示之后,MMU立马将预设存储空间的写入状态恢复为写保护状态,即不可以写入数据直到下次有新的图像数据写入。
在一个实施例中,如图7所示,提供了一种POS终端700的结构框图,下述的每个模块可全部或部分通过软件、硬件或其组合来实现。
参照图7,POS终端700,包括:
显示界面监测模块710,用于监测显示界面的图像数据是否发生更新;
图像数据旋转模块720,用于若监测到更新事件,则获取更新后的显示界面的图像数据,根据图像数据启动显示界面旋转线程,通过显示界面旋转线程对图像数据进行旋转;
显示界面显示模块730,用于获取旋转后的图像数据,并根据旋转后的图像数据在显示屏上显示旋转后的显示界面。
在一个实施例中,显示界面监测模块710还用于通过内存管理单元MMU监测显示界面的图像数据是否发生更新。
在一个实施例中,如图8所示,显示界面监测模块710包括:预设存储空间保护模块712及MMU异常中断模块714。
预设存储空间保护模块712,用于通过MMU使显存中的预设存储空间处于写保护状态,预设存储空间用于存储显示界面的图像数据;
MMU异常中断模块714,用于当MMU监测到预设存储空间中有显示界 面的图像数据写入时,则触发MMU异常中断,在MMU异常中断之后,将预设存储空间的写入状态改为可写以将显示界面的图像数据写入预设存储空间。
在一个实施例中,还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:
监测显示界面的图像数据是否发生更新;
若监测到更新事件,则获取更新后的显示界面的图像数据,根据图像数据启动显示界面旋转线程,通过显示界面旋转线程对图像数据进行旋转;及
获取旋转后的图像数据,并根据旋转后的图像数据在显示屏上显示旋转后的显示界面。
在一个实施例中,上述程序被处理器执行时还实现以下步骤:
通过内存管理单元MMU监测显示界面的图像数据是否发生更新。
在一个实施例中,上述程序被处理器执行时还实现以下步骤:
通过MMU使显存中的预设存储空间处于写保护状态,预设存储空间用于存储显示界面的图像数据;及
当MMU监测到预设存储空间中有显示界面的图像数据写入时,则触发MMU异常中断,在MMU异常中断之后,将预设存储空间的写入状态改为可写以将显示界面的图像数据写入预设存储空间。
在一个实施例中,上述程序被处理器执行时还实现以下步骤:
获取旋转角度;及
根据旋转角度创建显示界面旋转线程。
在一个实施例中,上述程序被处理器执行时还实现以下步骤:
通过MMU使预设存储空间的写入状态恢复为写保护状态。
在一个实施例中,还提供了一种POS终端,该POS终端包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现以下步骤:
监测显示界面的图像数据是否发生更新;
若监测到更新事件,则获取更新后的显示界面的图像数据,根据图像数据启动显示界面旋转线程,通过显示界面旋转线程对图像数据进行旋转;及
获取旋转后的图像数据,并根据旋转后的图像数据在显示屏上显示旋转后的显示界面。
在其中一个实施例中,上述处理器执行计算机程序时还实现以下步骤:
通过内存管理单元MMU监测显示界面的图像数据是否发生更新。
在其中一个实施例中,上述处理器执行计算机程序时还实现以下步骤:
通过MMU使显存中的预设存储空间处于写保护状态,预设存储空间用于存储显示界面的图像数据;
当MMU监测到预设存储空间中有显示界面的图像数据写入时,则触发MMU异常中断,在MMU异常中断之后,将预设存储空间的写入状态改为可写以将显示界面的图像数据写入预设存储空间。
在其中一个实施例中,上述处理器执行计算机程序时还实现以下步骤:
获取旋转角度;
根据旋转角度创建显示界面旋转线程。
在其中一个实施例中,上述处理器执行计算机程序时还实现以下步骤:
通过MMU使预设存储空间的写入状态恢复为写保护状态。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,该存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域 的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (15)

  1. 一种显示界面旋转方法,所述方法包括:
    监测显示界面的图像数据是否发生更新;
    若监测到更新事件,则获取更新后的显示界面的图像数据,根据所述图像数据启动显示界面旋转线程,通过所述显示界面旋转线程对所述图像数据进行旋转;及
    获取旋转后的图像数据,并根据所述旋转后的图像数据在显示屏上显示旋转后的显示界面。
  2. 根据权利要求1所述的方法,其特征在于,所述监测显示界面的图像数据是否发生更新,包括:
    通过内存管理单元MMU监测显示界面的图像数据是否发生更新。
  3. 根据权利要求2所述的方法,其特征在于,所述通过内存管理单元MMU监测显示界面的图像数据是否发生更新,包括:
    通过MMU使显存中的预设存储空间处于写保护状态,所述预设存储空间用于存储显示界面的图像数据;及
    当MMU监测到所述预设存储空间中有所述显示界面的图像数据写入时,则触发MMU异常中断,在MMU异常中断之后,将所述预设存储空间的写入状态改为可写以将所述显示界面的图像数据写入所述预设存储空间。
  4. 根据权利要求1所述的方法,其特征在于,在所述监测显示界面是否发生更新之前,还包括:
    获取旋转角度;及
    根据所述旋转角度创建显示界面旋转线程。
  5. 根据权利要求1所述的方法,其特征在于,在所述获取旋转后的图像数据,并根据所述旋转后的图像数据在显示屏上显示旋转后的显示界面之后,还包括:
    通过MMU使所述预设存储空间的写入状态恢复为写保护状态。
  6. 一个或多个存储有计算机可读指令的计算机可读非易失性存储介质, 所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    监测显示界面的图像数据是否发生更新;
    若监测到更新事件,则获取更新后的显示界面的图像数据,根据所述图像数据启动显示界面旋转线程,通过所述显示界面旋转线程对所述图像数据进行旋转;及
    获取旋转后的图像数据,并根据所述旋转后的图像数据在显示屏上显示旋转后的显示界面。
  7. 根据权利要求6所述的存储介质,其特征在于,所述监测显示界面的图像数据是否发生更新,包括:
    通过内存管理单元MMU监测显示界面的图像数据是否发生更新。
  8. 根据权利要求7所述的存储介质,其特征在于,所述通过内存管理单元MMU监测显示界面的图像数据是否发生更新,包括:
    通过MMU使显存中的预设存储空间处于写保护状态,所述预设存储空间用于存储显示界面的图像数据;及
    当MMU监测到所述预设存储空间中有所述显示界面的图像数据写入时,则触发MMU异常中断,在MMU异常中断之后,将所述预设存储空间的写入状态改为可写以将所述显示界面的图像数据写入所述预设存储空间。
  9. 根据权利要求6所述的存储介质,其特征在于,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器在执行所述监测显示界面是否发生更新的步骤之前,执行以下步骤:
    获取旋转角度;及
    根据所述旋转角度创建显示界面旋转线程。
  10. 根据权利要求6所述的存储介质,其特征在于,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器在执行所述获取旋转后的图像数据,并根据所述旋转后的图像数据在显示屏上显示旋转后的显示界面的步骤之后,执行以下步骤:
    通过MMU使所述预设存储空间的写入状态恢复为写保护状态。
  11. 一种POS终端,包括存储器和处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:
    监测显示界面的图像数据是否发生更新;
    若监测到更新事件,则获取更新后的显示界面的图像数据,根据所述图像数据启动显示界面旋转线程,通过所述显示界面旋转线程对所述图像数据进行旋转;及
    获取旋转后的图像数据,并根据所述旋转后的图像数据在显示屏上显示旋转后的显示界面。
  12. 根据权利要求11所述的POS终端,其特征在于,所述监测显示界面的图像数据是否发生更新,包括:
    通过内存管理单元MMU监测显示界面的图像数据是否发生更新。
  13. 根据权利要求12所述的POS终端,其特征在于,所述通过内存管理单元MMU监测显示界面的图像数据是否发生更新,包括:
    通过MMU使显存中的预设存储空间处于写保护状态,所述预设存储空间用于存储显示界面的图像数据;及
    当MMU监测到所述预设存储空间中有所述显示界面的图像数据写入时,则触发MMU异常中断,在MMU异常中断之后,将所述预设存储空间的写入状态改为可写以将所述显示界面的图像数据写入所述预设存储空间。
  14. 根据权利要求11所述的POS终端,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述处理器在执行所述监测显示界面是否发生更新的步骤之前,执行以下步骤:
    获取旋转角度;及
    根据所述旋转角度创建显示界面旋转线程。
  15. 根据权利要求11所述的POS终端,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述处理器在执行所述获取旋转后的图像数 据,并根据所述旋转后的图像数据在显示屏上显示旋转后的显示界面之后,执行以下步骤:
    通过MMU使所述预设存储空间的写入状态恢复为写保护状态。
PCT/CN2017/099633 2017-06-02 2017-08-30 显示界面旋转方法、存储介质和pos终端 WO2018218796A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710408806.8 2017-06-02
CN201710408806.8A CN107291349B (zh) 2017-06-02 2017-06-02 显示界面旋转方法、装置、存储介质和计算机设备

Publications (1)

Publication Number Publication Date
WO2018218796A1 true WO2018218796A1 (zh) 2018-12-06

Family

ID=60095281

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099633 WO2018218796A1 (zh) 2017-06-02 2017-08-30 显示界面旋转方法、存储介质和pos终端

Country Status (2)

Country Link
CN (1) CN107291349B (zh)
WO (1) WO2018218796A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383040A (zh) * 2007-07-09 2009-03-11 株式会社东芝 用于处理图像的设备以及用于检测图像更新的方法
CN103257780A (zh) * 2012-02-20 2013-08-21 联想(北京)有限公司 显示屏幕旋转方法和电子设备
CN104333621A (zh) * 2014-11-06 2015-02-04 广东欧珀移动通信有限公司 移动终端及其摄像方法和装置
US20170140501A1 (en) * 2015-11-17 2017-05-18 Samsung Electronics Co., Ltd. Method of operating virtual address generator and method of operating system including the same

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100606769B1 (ko) * 2003-12-16 2006-07-31 엘지전자 주식회사 폴더회전형 단말기의 lcd화면 전환장치
CN101740006A (zh) * 2008-11-10 2010-06-16 鸿富锦精密工业(深圳)有限公司 移动终端及显示画面的方法
CN105159640B (zh) * 2015-08-28 2020-06-12 北京小米移动软件有限公司 显示界面旋转方法、装置和移动终端
CN106708508B (zh) * 2016-11-24 2019-04-26 腾讯科技(深圳)有限公司 一种界面数据处理方法以及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383040A (zh) * 2007-07-09 2009-03-11 株式会社东芝 用于处理图像的设备以及用于检测图像更新的方法
CN103257780A (zh) * 2012-02-20 2013-08-21 联想(北京)有限公司 显示屏幕旋转方法和电子设备
CN104333621A (zh) * 2014-11-06 2015-02-04 广东欧珀移动通信有限公司 移动终端及其摄像方法和装置
US20170140501A1 (en) * 2015-11-17 2017-05-18 Samsung Electronics Co., Ltd. Method of operating virtual address generator and method of operating system including the same

Also Published As

Publication number Publication date
CN107291349B (zh) 2020-01-21
CN107291349A (zh) 2017-10-24

Similar Documents

Publication Publication Date Title
US9489165B2 (en) System and method for virtual displays
US7158094B2 (en) Method and apparatus for supporting multiple displays
US20030179243A1 (en) Information-processing apparatus with virtual display function and display control method for use in the apparatus
TW201024993A (en) Techniques to control self refresh display functionality
EP3805908A1 (en) Annotation display method, device and apparatus, and storage medium
WO2018119575A1 (zh) 一种显示方法及电子设备
US20130033510A1 (en) Techniques for Controlling Power Consumption of a System
US10228750B2 (en) Reducing the power consumption of an information handling system capable of handling both dynamic and static display applications
CN103870293A (zh) 信息获取方法、信息显示方法和装置以及电子设备
CN107203434A (zh) 一种纹理共享的方法、装置以及计算机可读存储介质
JPH04242790A (ja) 電子機器
WO2018218796A1 (zh) 显示界面旋转方法、存储介质和pos终端
US5668571A (en) Method and apparatus for generating hardware icons and cursors
JP2889149B2 (ja) 画像表示制御方法及び画像表示制御装置
TW201543363A (zh) 切換作業系統的方法及電子裝置
WO2015196825A1 (zh) 一种旋转虚拟视窗的方法及终端、存储介质
WO2020133395A1 (zh) 一种显示方法、存储介质及电子设备
JP2005352475A (ja) 画像内に縁を組み込むための装置および方法
JP3278211B2 (ja) 情報処理装置及び方法
US20030222878A1 (en) Computer system which scans lines in tiled blocks of a display area
EP4109214A1 (en) Device posture-based pre-boot display orientation and other usage support
JPH0713531A (ja) 表示モード切り替え機能を有した表示制御システム
US11114069B2 (en) Private virtualized displays
US20170365034A1 (en) Method for chaining media processing
CN117008861A (zh) 一种显示方法及相关装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17911459

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17911459

Country of ref document: EP

Kind code of ref document: A1