WO2023065732A1 - Touch processing method and apparatus based on graphic display system, and electronic device and storage medium - Google Patents

Touch processing method and apparatus based on graphic display system, and electronic device and storage medium Download PDF

Info

Publication number
WO2023065732A1
WO2023065732A1 PCT/CN2022/105311 CN2022105311W WO2023065732A1 WO 2023065732 A1 WO2023065732 A1 WO 2023065732A1 CN 2022105311 W CN2022105311 W CN 2022105311W WO 2023065732 A1 WO2023065732 A1 WO 2023065732A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
time
touch point
offset
event
Prior art date
Application number
PCT/CN2022/105311
Other languages
French (fr)
Chinese (zh)
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 WO2023065732A1 publication Critical patent/WO2023065732A1/en

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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • Embodiments of the present disclosure relate to an interface graphics update technology, and in particular to a touch processing method and device based on a graphics display system, electronic equipment, storage media, computer program products, and computer programs.
  • the rendering frame rate of the graphics display system does not match the frequency of touch reporting.
  • the rendering frame rate of the graphics display system is usually 16ms/60hz.
  • the reporting frequency of a touch device set for an electronic device is usually 10ms/90hz. Therefore, when the touch report event is synchronized to the display system through the input system, there will generally be a delay in the final refresh display on the screen, and, due to the inconsistency between the rendering frame rate and the frequency between the touch report point, it will often cause the jitter of the graphical interface and frame skipping.
  • the UI process undergoes multiple cross-line process transfers before receiving the Touch event.
  • the event receiving time will fluctuate greatly, which is prone to jitter.
  • the UI process may receive multiple Touch events, and only process the latest report point update to the UI, which will cause point loss and cause frame skipping. This is a very poor user experience for users.
  • the embodiments of the present disclosure provide a graphic display system-based touch processing method and device, electronic equipment, storage media, computer program products, and computer programs to at least solve the above technical problems existing in the prior art.
  • a touch processing method based on a graphic display system including:
  • the determining the information of the smooth touch point based on the information of the touch point includes:
  • the set number is two;
  • the determining the time and position information of the smooth touch point includes:
  • the sampling time is between the times of the two touch points.
  • the first weight is determined based on the first offset and the second offset; based on the The time and position information of the smooth touch point is calculated by the time of the second touch point, the first weight and the first offset.
  • the set number is two;
  • the determining the time and position information of the smooth touch point includes:
  • the second weight is determined based on the first offset and the third offset; based on the first The time of the touch point, the second weight and the inverse of the first offset are used to calculate the time and position information of the smooth touch point.
  • the method also includes:
  • the scheduling policy includes: setting a scheduling priority for the touch event, the scheduling priority of the touch event is higher than that of other threads or processes; When scheduling the touch events, the time slice round-robin scheduling is replaced by priority scheduling.
  • the method also includes:
  • a touch processing device based on a graphics display system including:
  • a first detection unit configured to detect a touch operation
  • a generating unit configured to generate a touch event in response to detecting a touch operation
  • a first transmission unit configured to send the touch event to a thread of the current UI window
  • a first trigger unit configured to trigger the thread of the current UI window to cache the touch event, and generate a window update request
  • a second detection unit configured to detect a synchronization event
  • a determining unit configured to respond to the update window request, acquire information of touch points in the touch event, and determine information of smooth touch points based on the information of the touch points;
  • the second transmission unit is configured to send the information of the smooth touch point to the target layout control
  • a second trigger unit configured to trigger the target layout control to determine a dirty area to be updated based on the information of the smooth touch point
  • the third triggering unit is configured to trigger the rendering thread to render the dirty area and update the interface graphics.
  • the determining unit is further configured to:
  • the set number is two;
  • the determining unit is also used for:
  • the sampling time is between the times of the two touch points.
  • the first weight is determined based on the first offset and the second offset; based on the The time and position information of the smooth touch point is calculated by the time of the second touch point, the first weight and the first offset.
  • the set number is two;
  • the determining unit is also used for:
  • the second weight is determined based on the first offset and the third offset; based on the first The time of the touch point, the second weight and the inverse of the first offset are used to calculate the time and position information of the smooth touch point.
  • the device also includes:
  • a setting unit configured to set a scheduling policy for the touch event; wherein the scheduling policy includes: setting a scheduling priority for the touch event, and the scheduling priority of the touch event is higher than that of other threads or processes Scheduling priority; when scheduling the touch event, the time slice polling scheduling method is replaced by a priority scheduling method.
  • the device also includes:
  • the second detection unit is configured to lower the priority of the touch event when detecting that the application or window corresponding to the touch event is switched to the background; or
  • an electronic device including a processor, a memory, and an executable program stored on the memory and capable of being run by the processor.
  • the processor runs the executable program, Execute the steps of the touch processing method based on the graphic display system.
  • a storage medium on which an executable program is stored, and when the executable program is executed by a processor, the steps of the touch processing method based on a graphics display system are implemented.
  • a computer program product including a computer program.
  • the steps of the touch processing method based on a graphic display system are implemented.
  • a computer program is provided.
  • the steps of the touch processing method based on a graphics display system are implemented.
  • a corresponding touch event is generated for the current display interface according to the current UI window and the corresponding interface display situation, and the generated touch event is sent to the corresponding UI
  • the thread of the window is sent; the embodiment of the present disclosure does not respond to the touch event immediately, but caches the touch event, and after the graphic update synchronization event arrives, it is determined based on the touch point in the cached touch event
  • the smooth touch point determines the dirty area to be updated based on the smooth touch point, triggers a rendering thread to render the dirty area, and updates the interface graphics.
  • the embodiment of the present disclosure performs active smoothing processing on multiple touch points, and can very smoothly update the update of the display interface for high-frequency reporting events, avoiding the jitter and frame skipping phenomenon of the graphical interface, and providing users with Better user experience.
  • FIG. 1 is a schematic flowchart of a touch processing method based on a graphic display system according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a comparison between a Vsync update period and a Touch event reporting period according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a graphical interface update cycle of an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of the composition and structure of a touch processing device based on a graphic display system according to an embodiment of the present disclosure
  • FIG. 5 is a structural diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 1 is a schematic flowchart of a touch processing method based on a graphic display system according to an embodiment of the present disclosure. As shown in FIG. 1 , the touch processing method based on a graphic display system according to an embodiment of the present disclosure includes the following processing steps:
  • Step 101 in response to detecting a touch operation, generate a touch event, and send the touch event to a thread of the current UI window.
  • a touch event may also be referred to as a Touch event.
  • Step 102 triggering the thread of the current UI window to buffer the touch event, and generating a window update request.
  • the Touch event is reported from the kernel driver to the receiving thread in the user mode at a frequency of 10ms/90hz.
  • the user mode receiving thread After the user mode receiving thread receives the Touch event, it will distribute the event to the window manager of the system.
  • the window manager makes the following decisions based on different scenarios: intercept the Touch event to perform global gesture actions; or distribute the Touch event to the system UI, perform actions such as dragging the status bar; or distribute the Touch event to the current top layer Window application process processing, such as client click, slide and other common operations.
  • the window manager realizes the scheduling and management of the threads of the UI window, and the window manager generates the threads of the UI window.
  • the UI window of the relevant application process after the UI window of the relevant application process receives the Touch event on the main thread, it caches the Touch event in the buffer queue, and requests to update the window, and the buffer queue corresponds to the window one by one. When the Vsync synchronization event arrives, respond to the window update request.
  • Step 103 after detecting the synchronous event, responding to the update window request, acquiring the information of the touch point in the touch event, and determining the information of the smooth touch point based on the information of the touch point.
  • the synchronization event is the receipt of a vertical synchronization signal Vsync for the graphical interface
  • Vsync is used for vertical synchronization, and its main function is to prevent tearing of the interface graphics.
  • Vsync When Vsync is detected, it responds to the update window request.
  • the touch points corresponding to the last two touch operations are obtained, and the sampling time point of the response is determined, so as to In this way, the smooth touch points are determined, and the dirty area is accurately determined based on the smooth touch points, so as to realize the updated rendering of the interface graphics.
  • FIG. 2 is a schematic diagram of the comparison between the Vsync update period and the Touch event reporting period of the embodiment of the present disclosure. As shown in FIG. 2, since the Touch event reporting period is short, for example, 10ms, and the Vsync update period is relatively long, for example, 16ms, in this way, When a synchronization event arrives, it is likely to receive two Touch events.
  • the embodiments of the present disclosure need to perform smooth processing on it , in order to better realize the continuity of the graphic interface refresh, make the graphic interface refresh smoother, and there will be no jitter and frame skipping phenomenon.
  • the sampling time is between the times of the two touch points
  • SampleTime represents the sampling moment
  • FirstTouch represents the time stamp of the second touch point
  • LastTouch represents the time stamp of the first touch point
  • Alpha represents the first weight. The significance is that a larger Alpha means that the timestamp Result of the smooth touch point is more inclined to the timestamp of the second touch point, and a smaller Alpha means that the sampling result is more inclined to the first touch point.
  • TouchTimeDiff represents the first offset
  • TouchSampleDiff represents the second offset; in the embodiment of the present disclosure, the graphical interface based on the Touch event is updated by smoothing when more than two touch points are in the same Vsync update cycle more stable.
  • the sampling time when it is determined that the sampling time is outside the time of the two touch points, determine the time difference between the time of the first touch point and the time of the second touch point among the two touch points a first offset between, and a third offset between the time of the first touch point and the sampling time, and determine a second weight based on the first offset and the third offset ; calculating the time information of the smooth touch point based on the time of the first touch point, the second weight and the inverse of the first offset.
  • the sampling time is outside the time of the two touch points, which means that the sampling time is later than the touch time of the last touch point.
  • SampleTime represents the sampling moment
  • FirstTouch represents the time stamp of the second touch point
  • LastTouch represents the time stamp of the first touch point
  • Alpha represents the second weight, and its significance is that a larger Alpha means that the timestamp Result of the smooth touch point is more inclined to the sampling moment, and a smaller Alpha means that the sampling result is more inclined to the timestamp of the second touch point.
  • TouchTimeDiff represents the first offset
  • TouchSampleDiff represents the second offset; in the embodiment of the present disclosure, the graphical interface based on the Touch event is updated by smoothing when more than two touch points are in the same Vsync update cycle more stable.
  • the sampling time is selected to be 5 ms before the arrival time of the Vsync event. Of course, other times may also be selected, such as 6 ms, 7 ms, or 4 ms before the arrival time of the Vsync event.
  • the dirty area of the graphic control is marked directly with the touch point corresponding to the touch event in the cache queue.
  • the position of the touch point with a later time stamp can be selected as the position information of the smooth touch point, because, for the operator, the touch operation is at the millisecond level, and the position can be considered close.
  • the position of the touch point with a later time stamp may also be selected as the position information of the smooth touch point.
  • the position information of the smooth touch point may also be determined in a weighted position manner based on the above-mentioned manner of determining the smooth touch point.
  • Step 104 sending the information of the smooth touch point to the target layout control, triggering the target layout control to determine the dirty area to be updated based on the information of the smooth touch point.
  • the information related to the smooth touch point is determined, it is sent to a target layout control such as a graphics control, so that the target layout control such as a graphics control determines the dirty area to be updated based on the time information of the smooth touch point.
  • the graphical interface is not updated according to the actual touch points, but when the synchronization event arrives, the two buffered actual touch points are smoothed, so that the graphical interface based on the touch operation The update is more uniform, there will be no frame skipping and jittering, making the graphical interface more stable, thereby improving the user experience.
  • Step 105 trigger a rendering thread to render the dirty area, and update interface graphics.
  • the graphic control after marking the dirty area, the graphic control sends a rendering event to the rendering thread, updates the rendering tree of the dirty area synchronously, submits the rendering result, and displays the updated graphical interface.
  • the embodiment of the present disclosure can perfectly and smoothly update high-frequency reporting events to the display system.
  • touch processing method disclosed in the embodiments of the present disclosure may be applicable to various operating systems, including but not limited to Linux, Windows, Android, and the like.
  • the disclosed method is applied to a Linux operating system, namely GNU/Linux, such as Ubuntu, Debian, RedHat, etc.
  • the Linux operating system is not limited to running on a physical machine, but can also be an operating system hosted on other operating systems, such as WSL2 in Windows systems.
  • Fig. 3 is a schematic diagram of the update cycle of the graphical interface of the embodiment of the present disclosure. As shown in Fig. 3 , it can be seen from the comparison of the positions of the Touch reporting points before and after sampling that through the above-mentioned smooth sampling process of the embodiment of the present disclosure, every 10 ms moves 10 pixels. The sliding behavior, after smoothing, achieves a graphical interface update of 16ms moving 16 pixels.
  • the graphic interface update frame deviation is 0, which completely eliminates the inter-frame jitter and frame skipping phenomenon, greatly improves the display quality of the graphical interface, and improves the user experience.
  • a higher priority is set for the touch event, so that the touch event can be scheduled first.
  • a scheduling policy is set for the touch event; wherein, the scheduling policy includes: setting a scheduling priority for the touch event, and the scheduling priority of the touch event is higher than that of other threads or processes level; when scheduling the touch events, the time slice round-robin scheduling is replaced by priority scheduling.
  • the thread priority queue policy is used instead of the time slice polling scheduling policy. When the Touch receives the thread It can always be at the head of the priority queue, and the CPU will not be easily seized by other threads.
  • priority adjustment of touch events is also supported. Specifically, when it is detected that the application or UI window corresponding to the touch event is switched to the background, the priority of the touch event is lowered; or, the application or UI corresponding to the touch event with low priority is detected When the window is switched from the background to the foreground, the priority of the touch event is restored.
  • the CPU scheduling priority of the main thread can be dynamically changed according to different running states of different client application processes. For example, when the process switches to the foreground and starts to respond to UI operations, the CPU scheduling priority of the main thread is increased, and when the process is switched to the background, the CPU scheduling priority of the main thread is lowered to give up the CPU.
  • the embodiment of the present disclosure performs active smoothing processing on multiple touch points, and can very smoothly update the update of the display interface for high-frequency reporting events, avoiding the jitter and frame skipping phenomenon of the graphical interface, and providing users with Better user experience.
  • FIG. 4 is a schematic diagram of the composition and structure of a touch processing device based on a graphics display system according to an embodiment of the disclosure. As shown in FIG. 4 , the touch processing device based on a graphics display system according to an embodiment of the disclosure includes:
  • a first detection unit 40 configured to detect a touch operation
  • a generating unit 41 configured to generate a touch event in response to detecting a touch operation
  • the first transmission unit 42 is configured to send the touch event to the thread of the current UI window
  • the first trigger unit 43 is configured to trigger the thread of the current UI window to cache the touch event, and generate a window update request;
  • a second detection unit 44 configured to detect a synchronization event
  • a determining unit 45 configured to respond to the update window request, acquire information of touch points in the touch event, and determine information of smooth touch points based on the information of touch points;
  • the second transmission unit 46 is configured to send the information of the smooth touch point to the target layout control
  • the second triggering unit 47 is configured to trigger the target layout control to determine the dirty area to be graphically updated based on the information of the smooth touch point;
  • the third triggering unit 48 is configured to trigger a rendering thread to render the dirty area and update interface graphics.
  • the determining unit 45 is further configured to:
  • the set number is two;
  • the determining unit 45 is further configured to:
  • the sampling time is between the times of the two touch points.
  • the first weight is determined based on the first offset and the second offset; based on the The time and position information of the smooth touch point is calculated by the time of the second touch point, the first weight and the first offset.
  • the set number is two;
  • the determining unit 45 is further configured to:
  • the second weight is determined based on the first offset and the third offset; based on the first The time of the touch point, the second weight and the inverse of the first offset are used to calculate the time and position information of the smooth touch point.
  • the touch processing device based on a graphics display system in an embodiment of the present disclosure further includes:
  • a setting unit (not shown in FIG. 4 ), configured to set a scheduling policy for the touch event; wherein, the scheduling policy includes: setting a scheduling priority for the touch event, and the scheduling priority of the touch event is The scheduling priority is higher than that of other threads or processes; when scheduling the touch event, the time slice polling scheduling mode is replaced by priority scheduling mode.
  • the touch processing device based on a graphics display system in an embodiment of the present disclosure further includes:
  • a second detection unit (not shown in FIG. 4 ), configured to lower the priority of the touch event when detecting that the application or window corresponding to the touch event is switched to the background; or
  • the first detection unit 40 the generation unit 41, the first transmission unit 42, the first trigger unit 43, the second detection unit 44, the determination unit 45, the second transmission unit 46, the second trigger unit 47 , the third trigger unit 48, the setting unit and the second detection unit, etc.
  • CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • DSP digital signal processors
  • PLD programmable logic device
  • CPLD Complex Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • CPU central processing units
  • MCU Microcontroller
  • Microprocessor Microprocessor
  • Electronic devices may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, tablet computers, wearable devices, and other similar computing devices.
  • the electronic device 11 includes one or more processors 111 and a memory 112 .
  • the processor 111 may be a central processing unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 11 to perform desired functions.
  • CPU central processing unit
  • the processor 111 may be a central processing unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 11 to perform desired functions.
  • Memory 112 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory.
  • the volatile memory may include, for example, a random access memory (RAM, Random Access Memory) and/or a cache memory (cache).
  • the non-volatile memory may include, for example, a read-only memory (ROM, Read Only Memory), a hard disk, a flash memory, and the like.
  • One or more computer program instructions can be stored on the computer-readable storage medium, and the processor 111 can execute the program instructions to realize the touch control based on the graphic display system of the various embodiments of the present disclosure described above. processing methods and/or other desired functionality.
  • Various contents such as input signal, signal component, noise component, etc. may also be stored in the computer-readable storage medium.
  • the electronic device 11 may further include: an input device 113 and an output device 114 , and these components are interconnected through a bus system and/or other forms of connection mechanisms (not shown in FIG. 5 ).
  • the input device 113 may include, for example, a keyboard, a mouse, and the like.
  • the output device 114 can output various information to the outside, including determined distance information, direction information, and the like.
  • the output device 114 may include, for example, a display, a speaker, a printer, a communication network and remote output devices connected thereto, and the like.
  • the electronic device 11 may also include any other appropriate components.
  • the embodiments of the present disclosure also describe a storage medium on which an executable program is stored, and the executable program is executed by a processor to perform the steps of the touch processing method based on a graphics display system in the foregoing embodiments.
  • embodiments of the present disclosure may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the above-mentioned "exemplary method" of this specification. Steps in methods according to various embodiments of the present disclosure described in section.
  • the computer program product can be written in any combination of one or more programming languages to execute the program codes for performing the operations of the embodiments of the present disclosure, and the programming languages include object-oriented programming languages, such as Java, C++, etc. , also includes conventional procedural programming languages, such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute.
  • embodiments of the present disclosure may also be a computer-readable storage medium, on which computer program instructions are stored, and the computer program instructions, when executed by a processor, cause the processor to perform the above-mentioned "Exemplary Method" section of this specification. Steps in methods according to various embodiments of the present disclosure described in .
  • the computer readable storage medium may employ any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may include, but not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any combination thereof.
  • readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable Type programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or the above any suitable combination.
  • the embodiments of the present disclosure may also be a computer program, which implements the steps of the graphic display system-based touch processing method of the foregoing embodiments when executed by a processor.
  • each component or each step can be decomposed and/or reassembled. These decompositions and/or recombinations should be considered equivalents of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed in the present disclosure are a touch processing method and apparatus based on a graphic display system, and an electronic device and a storage medium. The method comprises: in response to detecting a touch operation, generating a touch event, and sending the touch event to a thread of the current UI window; triggering the thread of the current UI window to cache the touch event, and generating a window update request; after a synchronization event is detected, in response to the window update request, acquiring information of a touch point in the touch event, and determining information of a smooth touch point on the basis of the information of the touch point; sending the information of the smooth touch point to a target layout control, and triggering the target layout control to determine, on the basis of the information of the smooth touch point, a dirty region to be subjected to graphic updating; and triggering a rendering thread to render the dirty region, so as to update an interface graphic. By means of the present disclosure, the phenomena of jitter and frame skipping of a graphic interface are avoided, thereby providing a better usage experience for a user.

Description

基于图形显示系统的触控处理方法及装置、电子设备、存储介质Touch processing method and device based on graphic display system, electronic equipment, storage medium
相关申请的交叉引用Cross References to Related Applications
本公开要求于2021年10月22日提交中国专利局、申请号为202111231103.5、申请名称为“基于图形显示系统的触控处理方法及装置、电子设备、存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本文中。This disclosure claims the priority of the Chinese patent application with the application number 202111231103.5 and the application name "touch processing method and device based on graphic display system, electronic equipment, and storage medium" submitted to the China Patent Office on October 22, 2021. Its entire content is incorporated herein by reference.
技术领域technical field
本公开实施例涉及界面图形更新技术,尤其涉及一种基于图形显示系统的触控处理方法及装置、电子设备、存储介质、计算机程序产品及计算机程序。Embodiments of the present disclosure relate to an interface graphics update technology, and in particular to a touch processing method and device based on a graphics display system, electronic equipment, storage media, computer program products, and computer programs.
背景技术Background technique
在一些操作系统中,图形显示系统的渲染帧率与触控报点的频率并不一致。以Linux操作系统为例,图形显示系统的渲染帧率通常为16ms/60hz。而为电子设备设置的触控(Touch)设备的报点频率通常为10ms/90hz。因此,Touch报点事件经过input系统同步到显示系统时,最终刷新显示到屏幕上普遍会出现延迟,并且,由于渲染帧率与触控报点之间的频率不一致,会经常导致图形界面的抖动和跳帧现象。具体地,UI进程在接收到Touch事件之前经历多次跨线进程传递,受线程、进程调度影响,事件接收时间会有较大波动,易产生抖动。在一帧时间内,UI进程可能接收到多个Touch事件,仅处理最新的报点更新到UI,这样会造成丢点而引发跳帧现象。这对于用户而言,使用体验效果非常差。In some operating systems, the rendering frame rate of the graphics display system does not match the frequency of touch reporting. Taking the Linux operating system as an example, the rendering frame rate of the graphics display system is usually 16ms/60hz. The reporting frequency of a touch device set for an electronic device is usually 10ms/90hz. Therefore, when the touch report event is synchronized to the display system through the input system, there will generally be a delay in the final refresh display on the screen, and, due to the inconsistency between the rendering frame rate and the frequency between the touch report point, it will often cause the jitter of the graphical interface and frame skipping. Specifically, the UI process undergoes multiple cross-line process transfers before receiving the Touch event. Due to the influence of threads and process scheduling, the event receiving time will fluctuate greatly, which is prone to jitter. Within one frame time, the UI process may receive multiple Touch events, and only process the latest report point update to the UI, which will cause point loss and cause frame skipping. This is a very poor user experience for users.
发明内容Contents of the invention
有鉴于此,本公开实施例提供一种基于图形显示系统的触控处理方法及装置、电子设备、存储介质、计算机程序产品及计算机程序,以至少解决现有技术中存在的以上技术问题。In view of this, the embodiments of the present disclosure provide a graphic display system-based touch processing method and device, electronic equipment, storage media, computer program products, and computer programs to at least solve the above technical problems existing in the prior art.
根据本公开实施例的第一方面,提供一种基于图形显示系统的触控处理方法,包括:According to a first aspect of an embodiment of the present disclosure, a touch processing method based on a graphic display system is provided, including:
响应于检测到触控操作,生成触控事件,将所述触控事件向当前用户界面(UI,User Interface)窗口的线程发送;In response to detecting a touch operation, generate a touch event, and send the touch event to the thread of the current user interface (UI, User Interface) window;
触发所述当前UI窗口的线程缓存所述触控事件,并生成更新窗口请求;triggering the thread of the current UI window to cache the touch event, and generate a window update request;
检测到同步事件后,响应所述更新窗口请求,获取所述缓存触控事件中的触控点的信息,基于所述触控点的信息确定平滑触控点的信息;After detecting the synchronous event, in response to the window update request, obtain the information of the touch point in the cached touch event, and determine the information of the smooth touch point based on the information of the touch point;
将所述平滑触控点的信息向目标布局控件发送,触发所述目标布局控件基于所述平滑触控点的信息确定待图形更新的脏区域;Sending the information of the smooth touch point to the target layout control, triggering the target layout control to determine the dirty area to be graphics updated based on the information of the smooth touch point;
触发渲染线程对所述脏区域进行渲染,更新界面图形。Trigger the rendering thread to render the dirty area, and update the interface graphics.
在一个实施例中,所述基于所述触控点的信息确定平滑触控点的信息,包括:In one embodiment, the determining the information of the smooth touch point based on the information of the touch point includes:
在所述当前UI窗口的线程缓存的所述触控事件中,查找距采样时间最近的设定数量的触控点,基于所查找到的触控点的时间信息,以及所述采样时间,确定所述平滑触控点的时间以及位置信息。In the touch event cached by the thread of the current UI window, search for a set number of touch points closest to the sampling time, and determine based on the time information of the found touch points and the sampling time The time and location information of the smooth touch point.
在一个实施例中,所述设定数量为两个;In one embodiment, the set number is two;
所述确定所述平滑触控点的时间以及位置信息,包括:The determining the time and position information of the smooth touch point includes:
确定所述采样时间位于两个所述触控点的时间之间时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及所述采样时间与所述第二触控点的时间之间的第二偏移量,基于所述第一偏移量和所述第二偏移量确定第一权重;基于所述第二触控点的时间、所述第一权重及所述第一偏移量计算所述平滑触控点的时间以及位置信息。When it is determined that the sampling time is between the times of the two touch points, determine a first offset between the time of the first touch point and the time of the second touch point of the two touch points amount, and a second offset between the sampling time and the time of the second touch point, the first weight is determined based on the first offset and the second offset; based on the The time and position information of the smooth touch point is calculated by the time of the second touch point, the first weight and the first offset.
在一个实施例中,所述设定数量为两个;In one embodiment, the set number is two;
所述确定所述平滑触控点的时间以及位置信息,包括:The determining the time and position information of the smooth touch point includes:
确定所述采样时间位于两个所述触控点的时间之外时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及第一触控点的时间与所述采样时间之间的第三偏移量,基于所述第一偏移量和所述第三偏移量确定第二权重;基于所述第一触控点的时间、所述第二权重及所述第一偏移量的相反数计算所述平滑触控点的时间以及位置信息。When it is determined that the sampling time is outside the time of the two touch points, determine a first offset between the time of the first touch point and the time of the second touch point of the two touch points amount, and a third offset between the time of the first touch point and the sampling time, the second weight is determined based on the first offset and the third offset; based on the first The time of the touch point, the second weight and the inverse of the first offset are used to calculate the time and position information of the smooth touch point.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
为所述触控事件设置调度策略;其中,所述调度策略包括:为所述触控事件设置调度优先级,所述触控事件的调度优先级高于其他线程或进程的调度优先级;在对所述触控事件进行调度时,以优先级调度方式替代时间片轮询调度方式。Setting a scheduling policy for the touch event; wherein the scheduling policy includes: setting a scheduling priority for the touch event, the scheduling priority of the touch event is higher than that of other threads or processes; When scheduling the touch events, the time slice round-robin scheduling is replaced by priority scheduling.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
检测到所述触控事件对应的应用或UI窗口切换至后台时,调低所述触控事件的优先级;或When detecting that the application or UI window corresponding to the touch event is switched to the background, lower the priority of the touch event; or
检测到低优先级的所述触控事件对应的应用或UI窗口由后台切换至前台时,恢复所述触控事件的优先级。When it is detected that the application or UI window corresponding to the touch event with low priority is switched from the background to the foreground, the priority of the touch event is restored.
根据本公开实施例的第二方面,提供一种基于图形显示系统的触控处理装置,包括:According to the second aspect of the embodiments of the present disclosure, there is provided a touch processing device based on a graphics display system, including:
第一检测单元,用于检测触控操作;a first detection unit, configured to detect a touch operation;
生成单元,用于响应于检测到触控操作,生成触控事件;a generating unit, configured to generate a touch event in response to detecting a touch operation;
第一传输单元,用于将所述触控事件向当前UI窗口的线程发送;A first transmission unit, configured to send the touch event to a thread of the current UI window;
第一触发单元,用于触发所述当前UI窗口的线程缓存所述触控事件,并生成更新窗口请求;A first trigger unit, configured to trigger the thread of the current UI window to cache the touch event, and generate a window update request;
第二检测单元,用于检测同步事件;a second detection unit, configured to detect a synchronization event;
确定单元,用于响应所述更新窗口请求,获取所述触控事件中的触控点的信息,基于所述触控点的信息确定平滑触控点的信息;A determining unit, configured to respond to the update window request, acquire information of touch points in the touch event, and determine information of smooth touch points based on the information of the touch points;
第二传输单元,用于将所述平滑触控点的信息向目标布局控件发送;The second transmission unit is configured to send the information of the smooth touch point to the target layout control;
第二触发单元,用于触发所述目标布局控件基于所述平滑触控点的信息确定待图形更新的脏区域;A second trigger unit, configured to trigger the target layout control to determine a dirty area to be updated based on the information of the smooth touch point;
第三触发单元,用于触发渲染线程对所述脏区域进行渲染,更新界面图形。The third triggering unit is configured to trigger the rendering thread to render the dirty area and update the interface graphics.
在一个实施例中,所述确定单元,还用于:In one embodiment, the determining unit is further configured to:
在所述当前UI窗口的线程缓存的所述触控事件中,查找距采样时间最近的设定数量的触控点,基于所查找到的触控点的时间信息,以及所述采样时间,确定所述平滑触控点的时间以及位置信息。In the touch event cached by the thread of the current UI window, search for a set number of touch points closest to the sampling time, and determine based on the time information of the found touch points and the sampling time The time and location information of the smooth touch point.
在一个实施例中,所述设定数量为两个;In one embodiment, the set number is two;
所述确定单元,还用于:The determining unit is also used for:
确定所述采样时间位于两个所述触控点的时间之间时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及所述采样时间与所述第二触控点的时间之间的第二偏移量,基于所述第一偏移量和所述第二偏移量确定第一权重;基于所述第二触控点的时间、所述第一权重及所述第一偏移量计算所述平滑触控点的时间以及位置信息。When it is determined that the sampling time is between the times of the two touch points, determine a first offset between the time of the first touch point and the time of the second touch point of the two touch points amount, and a second offset between the sampling time and the time of the second touch point, the first weight is determined based on the first offset and the second offset; based on the The time and position information of the smooth touch point is calculated by the time of the second touch point, the first weight and the first offset.
在一个实施例中,所述设定数量为两个;In one embodiment, the set number is two;
所述确定单元,还用于:The determining unit is also used for:
确定所述采样时间位于两个所述触控点的时间之外时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及第一触控点的时间与所述采样时间之间的第三偏移量,基于所述第一偏移量和所述第三偏移量确定第二权重;基于所述第一触控点的时间、所述第二权重及所述第一偏移量的相反数计算所述平滑触控点的时间以及位置信息。When it is determined that the sampling time is outside the time of the two touch points, determine a first offset between the time of the first touch point and the time of the second touch point of the two touch points amount, and a third offset between the time of the first touch point and the sampling time, the second weight is determined based on the first offset and the third offset; based on the first The time of the touch point, the second weight and the inverse of the first offset are used to calculate the time and position information of the smooth touch point.
在一个实施例中,所述装置还包括:In one embodiment, the device also includes:
设置单元,用于为所述触控事件设置调度策略;其中,所述调度策略包括:为所述触控事件设置调度优先级,所述触控事件的调度优先级高于其他线程或进程的调度优先级;在对所述触控事件进行调度时,以优先级调度方式替代时间片轮询调度方式。A setting unit, configured to set a scheduling policy for the touch event; wherein the scheduling policy includes: setting a scheduling priority for the touch event, and the scheduling priority of the touch event is higher than that of other threads or processes Scheduling priority; when scheduling the touch event, the time slice polling scheduling method is replaced by a priority scheduling method.
在一个实施例中,所述装置还包括:In one embodiment, the device also includes:
第二检测单元,用于检测到所述触控事件对应的应用或窗口切换至后台时,调低所述触控事件的优先级;或The second detection unit is configured to lower the priority of the touch event when detecting that the application or window corresponding to the touch event is switched to the background; or
用于检测到低优先级的所述触控事件对应的应用或窗口由后台切换至前台时,恢复所述触控事件的优先级。When it is detected that the application or window corresponding to the touch event with low priority is switched from the background to the foreground, the priority of the touch event is restored.
根据本公开实施例的第三方面,提供一种电子设备,包括处理器、存储器及存储在存储器上并能够由所述处理器运行的可执行程序,所述处理器运行所述可执行程序时执行所述的基于图形显示系统的触控处理方法的步骤。According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, including a processor, a memory, and an executable program stored on the memory and capable of being run by the processor. When the processor runs the executable program, Execute the steps of the touch processing method based on the graphic display system.
根据本公开实施例的第四方面,提供一种存储介质,其上存储由可执行程序,所述可执行程序被处理器执行时实现所述的基于图形显示系统的触控处理方法的步骤。According to a fourth aspect of the embodiments of the present disclosure, there is provided a storage medium on which an executable program is stored, and when the executable program is executed by a processor, the steps of the touch processing method based on a graphics display system are implemented.
根据本公开实施例的第五方面,提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时,实现所述的基于图形显示系统的触控处理方法的步骤。According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the touch processing method based on a graphic display system are implemented.
根据本公开实施例的第六方面,提供一种计算机程序,所述计算机程序在被处理器执行时实现所述的基于图形显示系统的触控处理方法的步骤。According to a sixth aspect of the embodiments of the present disclosure, a computer program is provided. When the computer program is executed by a processor, the steps of the touch processing method based on a graphics display system are implemented.
本公开实施例中,当检测到触控操作后,根据当前的UI窗口及相应的界面展示情况,针对当前的显示界面生成相应的触控事件,并将所生成的触控事件向相应的UI窗口的线程发送;本公开实施例并不立即对触控事件进行响应,而是将触控事件进行缓存,并在图形更新同步事件到来后,基于缓存的触控事件中的触控点来确定平滑触控点,基于平滑触控点确定待更新的脏区域,触发渲染线程对所述脏区域进行渲染,更新界面图形。本公开实施例通过对多个触控点进行主动平滑处理,针对高频率的报点事件,可以非常平滑地更新到显示界面的更新中,避免了图形界面的抖动和跳帧现象,为用户提供更佳的使用体验。In the embodiment of the present disclosure, when a touch operation is detected, a corresponding touch event is generated for the current display interface according to the current UI window and the corresponding interface display situation, and the generated touch event is sent to the corresponding UI The thread of the window is sent; the embodiment of the present disclosure does not respond to the touch event immediately, but caches the touch event, and after the graphic update synchronization event arrives, it is determined based on the touch point in the cached touch event The smooth touch point determines the dirty area to be updated based on the smooth touch point, triggers a rendering thread to render the dirty area, and updates the interface graphics. The embodiment of the present disclosure performs active smoothing processing on multiple touch points, and can very smoothly update the update of the display interface for high-frequency reporting events, avoiding the jitter and frame skipping phenomenon of the graphical interface, and providing users with Better user experience.
附图说明Description of drawings
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍。显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings that are required in the description of the embodiments or the prior art. Apparently, the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to these drawings without creative efforts.
图1为本公开实施例的基于图形显示系统的触控处理方法的流程示意图;FIG. 1 is a schematic flowchart of a touch processing method based on a graphic display system according to an embodiment of the present disclosure;
图2为本公开实施例的Vsync更新周期及Touch事件上报周期对比示意图;FIG. 2 is a schematic diagram of a comparison between a Vsync update period and a Touch event reporting period according to an embodiment of the present disclosure;
图3为本公开实施例的图形界面更新周期示意图;FIG. 3 is a schematic diagram of a graphical interface update cycle of an embodiment of the present disclosure;
图4为本公开实施例的基于图形显示系统的触控处理装置的组成结构示意图;4 is a schematic diagram of the composition and structure of a touch processing device based on a graphic display system according to an embodiment of the present disclosure;
图5为本公开实施例的电子设备的结构图。FIG. 5 is a structural diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图,详细阐明本公开实施例技术方案的实质。The essence of the technical solutions of the embodiments of the present disclosure will be explained in detail below in conjunction with the accompanying drawings.
图1为本公开实施例的基于图形显示系统的触控处理方法的流程示意图,如图1所示,本公开实施例的基于图形显示系统的触控处理方法包括以下处理步骤:FIG. 1 is a schematic flowchart of a touch processing method based on a graphic display system according to an embodiment of the present disclosure. As shown in FIG. 1 , the touch processing method based on a graphic display system according to an embodiment of the present disclosure includes the following processing steps:
步骤101,响应于检测到触控操作,生成触控事件,将所述触控事件向当前UI窗口的线程发送。 Step 101, in response to detecting a touch operation, generate a touch event, and send the touch event to a thread of the current UI window.
本公开实施例中,当用户对电子设备的触控屏进行触控操作(Touch)时,触控设备检测该触控操作并生成触控事件。本公开实施例中,触控事件也可以称为Touch事件。In the embodiment of the present disclosure, when the user performs a touch operation (touch) on the touch screen of the electronic device, the touch device detects the touch operation and generates a touch event. In the embodiments of the present disclosure, a touch event may also be referred to as a Touch event.
步骤102,触发所述当前UI窗口的线程缓存所述触控事件,并生成更新窗口请求。 Step 102, triggering the thread of the current UI window to buffer the touch event, and generating a window update request.
本公开实施例中,作为一种实现方式,Touch事件从内核驱动以10ms/90hz的频率上报给用户态接收线程。用户态接收线程在收到Touch事件后会将事件分发给系统的窗口管理器。窗口管理器在接收到Touch事件后基于不同场景决策进行如下处理:拦截Touch事件执行全局手势动作;或将Touch事件分发给系统UI,执行状态栏拖拽等动作;或将Touch事件分发给当前顶层窗口应用进程处理,如客户端的点击,滑动等常用操作。本公开实施例中,窗口管理器实现对UI窗口的线程的调度及管理,窗口管理器生成UI窗口的线程。In the embodiment of the present disclosure, as an implementation manner, the Touch event is reported from the kernel driver to the receiving thread in the user mode at a frequency of 10ms/90hz. After the user mode receiving thread receives the Touch event, it will distribute the event to the window manager of the system. After receiving the Touch event, the window manager makes the following decisions based on different scenarios: intercept the Touch event to perform global gesture actions; or distribute the Touch event to the system UI, perform actions such as dragging the status bar; or distribute the Touch event to the current top layer Window application process processing, such as client click, slide and other common operations. In the embodiment of the present disclosure, the window manager realizes the scheduling and management of the threads of the UI window, and the window manager generates the threads of the UI window.
本公开实施例中,相关应用进程的UI窗口在主线程上接收到Touch事件后,将Touch事件缓存至缓存队列中,并请求更新窗口,缓冲队列与窗口一一对应。在Vsync同步事件到来,再响应窗口更新请求。In the embodiment of the present disclosure, after the UI window of the relevant application process receives the Touch event on the main thread, it caches the Touch event in the buffer queue, and requests to update the window, and the buffer queue corresponds to the window one by one. When the Vsync synchronization event arrives, respond to the window update request.
步骤103,检测到同步事件后,响应所述更新窗口请求,获取所述触控事件中的触控点的信息,基于所述触控点的信息确定平滑触控点的信息。 Step 103, after detecting the synchronous event, responding to the update window request, acquiring the information of the touch point in the touch event, and determining the information of the smooth touch point based on the information of the touch point.
本公开实施例中,同步事件即接收到针对图形界面的垂直同步信号Vsync,该Vsync用于垂直同步,其主要作用是防止界面图形的画面撕裂。当检测到Vsync时,再响应更新窗口请求。本公开实施例中,并不是直接利用缓存队列中的触控点的信息进行图形界面的更新,而是获取最近的两次触控操作对应的触控点,并确定响应的采样时间点,以此来确定平滑触控点,并以平滑触控点为准确定脏区域,实现对界面图形的更新渲染。In the embodiment of the present disclosure, the synchronization event is the receipt of a vertical synchronization signal Vsync for the graphical interface, and the Vsync is used for vertical synchronization, and its main function is to prevent tearing of the interface graphics. When Vsync is detected, it responds to the update window request. In the embodiment of the present disclosure, instead of directly using the information of the touch points in the cache queue to update the graphical interface, the touch points corresponding to the last two touch operations are obtained, and the sampling time point of the response is determined, so as to In this way, the smooth touch points are determined, and the dirty area is accurately determined based on the smooth touch points, so as to realize the updated rendering of the interface graphics.
具体地,在所述当前UI窗口的线程缓存的所述触控事件中,查找距采样时间最近的设定数量的触控点,基于所查找到的触控点的时间信息,以及所述采样时间,确定所述平滑触控点的时间以及位置信息。这里的设定数量为2。图2为本公开实施例的Vsync更新周期及Touch事件上报周期对比示意图,如图2所示,由于Touch事件上报周期较短,例如为10ms,而Vsync更新周期较长,例如为16ms,这样,在同步事件到来时,很可能会接收到两个Touch事件,如在第32ms,就会接收到第20ms及30ms的两个Touch事件,针对这种情况,本公开实施例需要对其进行平滑处理,以更好地实现图像界面刷新的连续性,使图形界面刷新更平滑,不会出现抖动及跳帧现象。Specifically, in the touch event buffered by the thread of the current UI window, search for a set number of touch points closest to the sampling time, based on the time information of the found touch points, and the sampling Time, determining the time and location information of the smooth touch point. The number of settings here is 2. FIG. 2 is a schematic diagram of the comparison between the Vsync update period and the Touch event reporting period of the embodiment of the present disclosure. As shown in FIG. 2, since the Touch event reporting period is short, for example, 10ms, and the Vsync update period is relatively long, for example, 16ms, in this way, When a synchronization event arrives, it is likely to receive two Touch events. For example, at 32ms, two Touch events at 20ms and 30ms will be received. In view of this situation, the embodiments of the present disclosure need to perform smooth processing on it , in order to better realize the continuity of the graphic interface refresh, make the graphic interface refresh smoother, and there will be no jitter and frame skipping phenomenon.
具体地,当确定所述采样时间位于两个所述触控点的时间之间时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及所述采样时间与所述第二触控点的时间之间的第二偏移量,基于所述第一偏移量和所述第二偏移量确定第一权重;基于所述第二触控点的时间、所述第一权重及所述第一偏移量计算所述平滑触控点的时间以及位置信息。Specifically, when it is determined that the sampling time is between the times of the two touch points, determine the time between the time of the first touch point and the time of the second touch point among the two touch points A first offset, and a second offset between the sampling time and the time of the second touch point, determining a first weight based on the first offset and the second offset ; Calculate the time and location information of the smooth touch point based on the time of the second touch point, the first weight and the first offset.
具体计算方式如下:The specific calculation method is as follows:
TouchTimeDiff=LastTouch-FirstTouchTouchTimeDiff=LastTouch-FirstTouch
TouchSampleDiff=SampleTime-FirstTouchTouchSampleDiff=SampleTime-FirstTouch
Figure PCTCN2022105311-appb-000001
Figure PCTCN2022105311-appb-000001
Result=FirstTouch+(LastTouch-FirstTouch)×alphaResult=FirstTouch+(LastTouch-FirstTouch)×alpha
这里,SampleTime代表采样时刻,FirstTouch代表第二触控点的时间戳,LastTouch代表第一触控点的时间戳。Alpha表示第一权重,其意义在于较大的Alpha意味着平滑触控点的时间戳Result更倾向于第二触控点的时间戳,较小的Alpha意味着采样结果更倾向于第一触控点的时间戳。TouchTimeDiff表示第一偏移量,TouchSampleDiff表示第二偏移量;本公开实施例中,通过对两个以上的触控点处于同一Vsync更新周期内时的平滑处理,使基于Touch事件的图形界面更新更平稳。Here, SampleTime represents the sampling moment, FirstTouch represents the time stamp of the second touch point, and LastTouch represents the time stamp of the first touch point. Alpha represents the first weight. The significance is that a larger Alpha means that the timestamp Result of the smooth touch point is more inclined to the timestamp of the second touch point, and a smaller Alpha means that the sampling result is more inclined to the first touch point. The timestamp of the point. TouchTimeDiff represents the first offset, and TouchSampleDiff represents the second offset; in the embodiment of the present disclosure, the graphical interface based on the Touch event is updated by smoothing when more than two touch points are in the same Vsync update cycle more stable.
作为一种实现方式,确定所述采样时间位于两个所述触控点的时间之外时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及第一触控点的时间与所述采样时间之间的第三偏移量,基于所述第一偏移量和所述第三偏移量确定第二权重;基于所述第一触控点的时间、所述第二权重及所述第一偏移量的相反数计算所述平滑触控点的时间信息。本公开实施例中,采样时间位于两个触控点的时间之外,即意味着采样时间晚于最后一个触控点的触控时间。As an implementation manner, when it is determined that the sampling time is outside the time of the two touch points, determine the time difference between the time of the first touch point and the time of the second touch point among the two touch points a first offset between, and a third offset between the time of the first touch point and the sampling time, and determine a second weight based on the first offset and the third offset ; calculating the time information of the smooth touch point based on the time of the first touch point, the second weight and the inverse of the first offset. In the embodiment of the present disclosure, the sampling time is outside the time of the two touch points, which means that the sampling time is later than the touch time of the last touch point.
具体计算方式如下:The specific calculation method is as follows:
TouchTimeDiff=LastTouch-FirstTouchTouchTimeDiff=LastTouch-FirstTouch
TouchSampleDiff=LastTouch-SampleTimeTouchSampleDiff=LastTouch-SampleTime
Figure PCTCN2022105311-appb-000002
Figure PCTCN2022105311-appb-000002
Result=LastTouch+(FirstTouch-LastTouch)×alphaResult=LastTouch+(FirstTouch-LastTouch)×alpha
这里,SampleTime代表采样时刻,FirstTouch代表第二触控点的时间戳,LastTouch代表第一触控点的时间戳。Alpha表示第二权重,其意义在于较大的Alpha意味着平滑触控点的时间戳Result更倾向于采样时刻,较小的Alpha意味着采样结果更倾向于第二触控点的时间戳。TouchTimeDiff表示第一偏移量,TouchSampleDiff表示第二偏移量;本公开实施例中,通过对两个以上的触控点处于同一Vsync更新周期内时的平滑处理,使基于Touch事件的图形界面更新更平稳。Here, SampleTime represents the sampling moment, FirstTouch represents the time stamp of the second touch point, and LastTouch represents the time stamp of the first touch point. Alpha represents the second weight, and its significance is that a larger Alpha means that the timestamp Result of the smooth touch point is more inclined to the sampling moment, and a smaller Alpha means that the sampling result is more inclined to the timestamp of the second touch point. TouchTimeDiff represents the first offset, and TouchSampleDiff represents the second offset; in the embodiment of the present disclosure, the graphical interface based on the Touch event is updated by smoothing when more than two touch points are in the same Vsync update cycle more stable.
本公开实施例中,采样时间选择为Vsync事件到来时刻前5ms,当然,也可以选用其他时刻,如也可以是Vsync事件到来时刻的前6ms、7ms、4ms等。In the embodiment of the present disclosure, the sampling time is selected to be 5 ms before the arrival time of the Vsync event. Of course, other times may also be selected, such as 6 ms, 7 ms, or 4 ms before the arrival time of the Vsync event.
本公开实施例中,当缓存队列中仅有一个触控事件时,直接以缓存队列中触控事件对应的触控点进行图形控件的脏区域标记。In the embodiment of the present disclosure, when there is only one touch event in the cache queue, the dirty area of the graphic control is marked directly with the touch point corresponding to the touch event in the cache queue.
本公开实施例中,可以选用时间戳较晚的触控点位置作为平滑触控点的位置信息,这是因为,对于操作者而言,触控操作在毫秒级别下,可认为位置接近。作为一种实现方式,也可以选用时间戳较晚的触控点位置作为平滑触控点的位置信息。当然,也可以基于上述的确定所述平滑触控点的方式,以加权位置的方式确定平滑触控点的位置信息。In the embodiment of the present disclosure, the position of the touch point with a later time stamp can be selected as the position information of the smooth touch point, because, for the operator, the touch operation is at the millisecond level, and the position can be considered close. As an implementation manner, the position of the touch point with a later time stamp may also be selected as the position information of the smooth touch point. Certainly, the position information of the smooth touch point may also be determined in a weighted position manner based on the above-mentioned manner of determining the smooth touch point.
步骤104,将所述平滑触控点的信息向目标布局控件发送,触发所述目标布局控件基于所述平滑触控点的信息确定待图形更新的脏区域。 Step 104, sending the information of the smooth touch point to the target layout control, triggering the target layout control to determine the dirty area to be updated based on the information of the smooth touch point.
本公开实施例中,当确定平滑触控点的相关信息后,向目标布局控件如图形控件发送,使目标布局控件如图形控件基于该平滑触控点的时间信息确定待图形更新的脏区域。本公开实施例中,并非是根据实际的触控点对图形界面进行更新,而是当同步事件到来后,对所缓存的两个实际触控点进行平滑处理,使基于触控操作的图形界面的更新更均匀,不会出现跳帧和抖动现象,使图形界面更平稳,从而提升用户体验。In the embodiment of the present disclosure, after the information related to the smooth touch point is determined, it is sent to a target layout control such as a graphics control, so that the target layout control such as a graphics control determines the dirty area to be updated based on the time information of the smooth touch point. In the embodiment of the present disclosure, the graphical interface is not updated according to the actual touch points, but when the synchronization event arrives, the two buffered actual touch points are smoothed, so that the graphical interface based on the touch operation The update is more uniform, there will be no frame skipping and jittering, making the graphical interface more stable, thereby improving the user experience.
步骤105,触发渲染线程对所述脏区域进行渲染,更新界面图形。 Step 105, trigger a rendering thread to render the dirty area, and update interface graphics.
本公开实施例中,当图形控件标记完脏区域后,向渲染线程发送渲染事件,同步更新脏区域渲染树,提交渲染结果,并展示更新后的图形界面。这样,本公开实施例可以完美地将高频率的报点事件平滑地更新到显示系统中。In the embodiment of the present disclosure, after marking the dirty area, the graphic control sends a rendering event to the rendering thread, updates the rendering tree of the dirty area synchronously, submits the rendering result, and displays the updated graphical interface. In this way, the embodiment of the present disclosure can perfectly and smoothly update high-frequency reporting events to the display system.
尽管没有明确描述的,本公开实施例所公开的触控处理方法可以适用于各类操作系统,包括但不限于Linux、Windows、Android等。Although not explicitly described, the touch processing method disclosed in the embodiments of the present disclosure may be applicable to various operating systems, including but not limited to Linux, Windows, Android, and the like.
在本公开的一个实施例中,所公开的方法应用于Linux操作系统,即GNU/Linux,如Ubuntu、Debian、RedHat等。Linux操作系统并不限定是运行在物理机上的,也可以是托管在其它操作系统上的操作系统,例如Windows系统中的WSL2。In one embodiment of the present disclosure, the disclosed method is applied to a Linux operating system, namely GNU/Linux, such as Ubuntu, Debian, RedHat, etc. The Linux operating system is not limited to running on a physical machine, but can also be an operating system hosted on other operating systems, such as WSL2 in Windows systems.
图3为本公开实施例的图形界面更新周期示意图,如图3所示,通过采样前后的Touch报点位置比较可以看出,通过本公开实施例的上述平滑采样处理,每10ms移动10像素的滑动行为,平滑后实现了16ms移动16像素的图形界面更新。图形界面更新帧间偏差为0,彻底消除了帧间抖动以及跳帧现象,大大提升了图形界面的显示质量,提升用户体验。Fig. 3 is a schematic diagram of the update cycle of the graphical interface of the embodiment of the present disclosure. As shown in Fig. 3 , it can be seen from the comparison of the positions of the Touch reporting points before and after sampling that through the above-mentioned smooth sampling process of the embodiment of the present disclosure, every 10 ms moves 10 pixels The sliding behavior, after smoothing, achieves a graphical interface update of 16ms moving 16 pixels. The graphic interface update frame deviation is 0, which completely eliminates the inter-frame jitter and frame skipping phenomenon, greatly improves the display quality of the graphical interface, and improves the user experience.
本公开实施例中,为了保证系统能优先对触控事件进行响应,为触控事件设置更高的优先级,使触控事件能够优先被调度。具体地,为所述触控事件设置调度策略;其中,所述调度策略包括:为所述触控事件设置调度优先级,所述触控事件的调度优先级高于其他线程或进程的调度优先级;在对所述触控事件进行调度时,以优先级调度方式替代时间片轮询调度方式。In the embodiment of the present disclosure, in order to ensure that the system can respond to the touch event first, a higher priority is set for the touch event, so that the touch event can be scheduled first. Specifically, a scheduling policy is set for the touch event; wherein, the scheduling policy includes: setting a scheduling priority for the touch event, and the scheduling priority of the touch event is higher than that of other threads or processes level; when scheduling the touch events, the time slice round-robin scheduling is replaced by priority scheduling.
动态配置Touch接收进程的CPU调度策略,提升Touch事件在接收分发过程中的吞吐量,从而可以减少跨进程或跨线程引发的波动问题。具体地,可以直接访问Touch设备驱动的input系统进程,通过配置FIO调度策略,使Touch的CPU运行优先级高于其他进程,使用线程优先级队列策略取代时间片轮询调度策略,当Touch接收线程可以一直处于优先级队列的头部,不会轻易被其他线程抢占CPU。Dynamically configure the CPU scheduling policy of the Touch receiving process to improve the throughput of Touch events during the receiving and distribution process, thereby reducing the fluctuation problem caused by cross-process or cross-thread. Specifically, you can directly access the input system process driven by the Touch device. By configuring the FIO scheduling policy, the CPU running priority of the Touch is higher than other processes. The thread priority queue policy is used instead of the time slice polling scheduling policy. When the Touch receives the thread It can always be at the head of the priority queue, and the CPU will not be easily seized by other threads.
本公开实施例中,还支持触控事件的优先级调整。具体地,检测到所述触控事件对应的应用或UI窗口切换至后台时,调低所述触控事件的优先级;或者,检测到低优先级的所述触控事件对应的应用或UI窗口由后台切换至前台时,恢复所述触控事件的优先级。In the embodiment of the present disclosure, priority adjustment of touch events is also supported. Specifically, when it is detected that the application or UI window corresponding to the touch event is switched to the background, the priority of the touch event is lowered; or, the application or UI corresponding to the touch event with low priority is detected When the window is switched from the background to the foreground, the priority of the touch event is restored.
本公开实施例中,可以根据不同的客户端应用进程的不同运行状态而动态改变主线程的CPU调度优先级。如当进程切换到前台开始响应UI操作时,则提升主线程的CPU调度优先级,当进程切换至后台,则降低主线程的CPU调度优先级,以让出CPU。In the embodiment of the present disclosure, the CPU scheduling priority of the main thread can be dynamically changed according to different running states of different client application processes. For example, when the process switches to the foreground and starts to respond to UI operations, the CPU scheduling priority of the main thread is increased, and when the process is switched to the background, the CPU scheduling priority of the main thread is lowered to give up the CPU.
本公开实施例通过对多个触控点进行主动平滑处理,针对高频率的报点事件,可以非常平滑地更新到显示界面的更新中,避免了图形界面的抖动和跳帧现象,为用户提供更佳的使用体验。The embodiment of the present disclosure performs active smoothing processing on multiple touch points, and can very smoothly update the update of the display interface for high-frequency reporting events, avoiding the jitter and frame skipping phenomenon of the graphical interface, and providing users with Better user experience.
图4为本公开实施例的基于图形显示系统的触控处理装置的组成结构示意图,如图4所示,本公开实施例的基于图形显示系统的触控处理装置包括:FIG. 4 is a schematic diagram of the composition and structure of a touch processing device based on a graphics display system according to an embodiment of the disclosure. As shown in FIG. 4 , the touch processing device based on a graphics display system according to an embodiment of the disclosure includes:
第一检测单元40,用于检测触控操作;a first detection unit 40, configured to detect a touch operation;
生成单元41,用于响应于检测到触控操作,生成触控事件;A generating unit 41, configured to generate a touch event in response to detecting a touch operation;
第一传输单元42,用于将所述触控事件向当前UI窗口的线程发送;The first transmission unit 42 is configured to send the touch event to the thread of the current UI window;
第一触发单元43,用于触发所述当前UI窗口的线程缓存所述触控事件,并生成更新窗口请求;The first trigger unit 43 is configured to trigger the thread of the current UI window to cache the touch event, and generate a window update request;
第二检测单元44,用于检测同步事件;A second detection unit 44, configured to detect a synchronization event;
确定单元45,用于响应所述更新窗口请求,获取所述触控事件中的触控点的信息,基于所述触控点的信息确定平滑触控点的信息;A determining unit 45, configured to respond to the update window request, acquire information of touch points in the touch event, and determine information of smooth touch points based on the information of touch points;
第二传输单元46,用于将所述平滑触控点的信息向目标布局控件发送;The second transmission unit 46 is configured to send the information of the smooth touch point to the target layout control;
第二触发单元47,用于触发所述目标布局控件基于所述平滑触控点的信息确定待图形更新的脏区域;The second triggering unit 47 is configured to trigger the target layout control to determine the dirty area to be graphically updated based on the information of the smooth touch point;
第三触发单元48,用于触发渲染线程对所述脏区域进行渲染,更新界面图形。The third triggering unit 48 is configured to trigger a rendering thread to render the dirty area and update interface graphics.
在一个实施例中,所述确定单元45,还用于:In one embodiment, the determining unit 45 is further configured to:
在所述当前UI窗口的线程缓存的所述触控事件中,查找距采样时间最近的设定数量的触控点,基于所查找到的触控点的时间信息,以及所述采样时间,确定所述平滑触控点的时间以及位置信息。In the touch event cached by the thread of the current UI window, search for a set number of touch points closest to the sampling time, and determine based on the time information of the found touch points and the sampling time The time and location information of the smooth touch point.
在一个实施例中,所述设定数量为两个;In one embodiment, the set number is two;
对应地,所述确定单元45,还用于:Correspondingly, the determining unit 45 is further configured to:
确定所述采样时间位于两个所述触控点的时间之间时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及所述采样时间与所述第二触控点的时间之间的第二偏移量,基于所述第一偏移量和所述第二偏移量确定第一权重;基于所述第二触控点的时间、所述第一权重及所述第一偏移量计算所述平滑触控点的时间以及位置信息。When it is determined that the sampling time is between the times of the two touch points, determine a first offset between the time of the first touch point and the time of the second touch point of the two touch points amount, and a second offset between the sampling time and the time of the second touch point, the first weight is determined based on the first offset and the second offset; based on the The time and position information of the smooth touch point is calculated by the time of the second touch point, the first weight and the first offset.
在一个实施例中,所述设定数量为两个;In one embodiment, the set number is two;
对应地,所述确定单元45,还用于:Correspondingly, the determining unit 45 is further configured to:
确定所述采样时间位于两个所述触控点的时间之外时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及第一触控点的时间与所述采样时间之间的第三偏移量,基于所述第一偏移量和所述第三偏移量确定第二权重;基于所述第一触控点的时间、所述第二权重及所述第一偏移量的相反数计算所述平滑触控点的时间以及位置信息。When it is determined that the sampling time is outside the time of the two touch points, determine a first offset between the time of the first touch point and the time of the second touch point of the two touch points amount, and a third offset between the time of the first touch point and the sampling time, the second weight is determined based on the first offset and the third offset; based on the first The time of the touch point, the second weight and the inverse of the first offset are used to calculate the time and position information of the smooth touch point.
在一个实施例中,在图4所示的基于图形显示系统的触控处理装置的基础上,本公开实施例的基于图形显示系统的触控处理装置还包括:In one embodiment, on the basis of the touch processing device based on a graphics display system shown in FIG. 4 , the touch processing device based on a graphics display system in an embodiment of the present disclosure further includes:
设置单元(图4中未示出),用于为所述触控事件设置调度策略;其中,所述调度策略包括:为所述触控事件设置调度优先级,所述触控事件的调度优先级高于其他线程或进程的调度优先级;在对所述触控事件进行调度时,以优先级调度方式替代时间片轮询调度方式。A setting unit (not shown in FIG. 4 ), configured to set a scheduling policy for the touch event; wherein, the scheduling policy includes: setting a scheduling priority for the touch event, and the scheduling priority of the touch event is The scheduling priority is higher than that of other threads or processes; when scheduling the touch event, the time slice polling scheduling mode is replaced by priority scheduling mode.
在一个实施例中,在图4所示的基于图形显示系统的触控处理装置的基础上,本公开实施例的基于图形显示系统的触控处理装置还包括:In one embodiment, on the basis of the touch processing device based on a graphics display system shown in FIG. 4 , the touch processing device based on a graphics display system in an embodiment of the present disclosure further includes:
第二检测单元(图4中未示出),用于检测到所述触控事件对应的应用或窗口切换至后台时,调低所述触控事件的优先级;或A second detection unit (not shown in FIG. 4 ), configured to lower the priority of the touch event when detecting that the application or window corresponding to the touch event is switched to the background; or
用于检测到低优先级的所述触控事件对应的应用或窗口由后台切换至前台时,恢复所述触控事件的优先级。When it is detected that the application or window corresponding to the touch event with low priority is switched from the background to the foreground, the priority of the touch event is restored.
在示例性实施例中,第一检测单元40、生成单元41、第一传输单元42、第一触发单元43、第二检测单元44、确定单元45、第二传输单元46、第二触发单元47、第三触发单元48、设置单元和第二检测单元等可以被一个或多个中央处理器(CPU,Central Processing Unit)、应用专用集成电路(ASIC,Application Specific Integrated Circuit)、数字信号处理器(Digital Signal Processor,DSP)、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或其他电子元件实现,用于执行前述实施例的基于图形显示系统的触控处理方法的步骤。In an exemplary embodiment, the first detection unit 40, the generation unit 41, the first transmission unit 42, the first trigger unit 43, the second detection unit 44, the determination unit 45, the second transmission unit 46, the second trigger unit 47 , the third trigger unit 48, the setting unit and the second detection unit, etc. can be controlled by one or more central processing units (CPU, Central Processing Unit), application-specific integrated circuits (ASIC, Application Specific Integrated Circuit), digital signal processors ( Digital Signal Processor, DSP), programmable logic device (PLD, Programmable Logic Device), complex programmable logic device (CPLD, Complex Programmable Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array), general processing A controller, a controller, a microcontroller (MCU, Micro Controller Unit), a microprocessor (Microprocessor), or other electronic components are used to execute the steps of the touch processing method based on the graphic display system of the foregoing embodiments.
在本公开实施例中,图4示出的基于图形显示系统的触控处理装置中各个单元执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。In the embodiment of the present disclosure, the specific manner of performing operations of each unit in the touch processing device based on the graphic display system shown in FIG. 4 has been described in detail in the embodiment of the method, and will not be elaborated here illustrate.
下面,参考图5来描述根据本公开实施例的电子设备11,所称的电子设备11的具体实现包括但不限于各种形态的计算机,如膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字助理、蜂窝电话、智能电话、平板电脑、可穿戴设备和其它类似的计算装置。Below, an electronic device 11 according to an embodiment of the present disclosure will be described with reference to FIG. Assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, tablet computers, wearable devices, and other similar computing devices.
如图5所示,电子设备11包括一个或多个处理器111和存储器112。As shown in FIG. 5 , the electronic device 11 includes one or more processors 111 and a memory 112 .
处理器111可以是中央处理单元(CPU)或者具有数据处理能力和/或指令执行能力的其他形式的处理单元,并且可以控制电子设备11中的其他组件以执行期望的功能。The processor 111 may be a central processing unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 11 to perform desired functions.
存储器112可以包括一个或多个计算机程序产品,所述计算机程序产品可以包括各种形式的计算机可读存储介质,例如易失性存储器和/或非易失性存储器。所述易失性存储器例如可以包括随机存取存储器(RAM,Random Access Memory)和/或高速缓冲存储器(cache)等。所述非易失性存储器例如可以包括只读存储器(ROM,Read Only Memory)、硬盘、闪存等。在所述计算机可读存储介质上可以存储一个或多个计算机程序指令,处理器111可以运行所述程序指令,以实现上文所述的本公开的各个实施例的基于图形显示系统的触控处理方法以及/或者其他期望的功能。在所述计算机可读存储介质中还可以存储诸如输入信号、信号分量、噪声分量等各种内容。 Memory 112 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM, Random Access Memory) and/or a cache memory (cache). The non-volatile memory may include, for example, a read-only memory (ROM, Read Only Memory), a hard disk, a flash memory, and the like. One or more computer program instructions can be stored on the computer-readable storage medium, and the processor 111 can execute the program instructions to realize the touch control based on the graphic display system of the various embodiments of the present disclosure described above. processing methods and/or other desired functionality. Various contents such as input signal, signal component, noise component, etc. may also be stored in the computer-readable storage medium.
在一个示例中,电子设备11还可以包括:输入装置113和输出装置114,这些组件通过总线系统和/或其他形式的连接机构(图5中未示出)互连。In one example, the electronic device 11 may further include: an input device 113 and an output device 114 , and these components are interconnected through a bus system and/or other forms of connection mechanisms (not shown in FIG. 5 ).
该输入装置113可以包括例如键盘、鼠标等等。The input device 113 may include, for example, a keyboard, a mouse, and the like.
该输出装置114可以向外部输出各种信息,包括确定出的距离信息、方向信息等。该输出装置114可以包括例如显示器、扬声器、打印机、以及通信网络及其所连接的远程输出设备等等。The output device 114 can output various information to the outside, including determined distance information, direction information, and the like. The output device 114 may include, for example, a display, a speaker, a printer, a communication network and remote output devices connected thereto, and the like.
当然,为了简化,图5中仅示出了该电子设备11中与本公开有关的组件中的一些,省略了诸如总线、输入/输出接口等等的组件。除此之外,根据具体应用情况,电子设备11还可以包括任何其他适当的组件。Of course, for simplicity, only some components related to the present disclosure in the electronic device 11 are shown in FIG. 5 , and components such as bus, input/output interface, etc. are omitted. In addition, according to specific application conditions, the electronic device 11 may also include any other appropriate components.
本公开实施例还记载了一种存储介质,其上存储有可执行程序,所述可执行程序被处理器执行前述实施例的基于图形显示系统的触控处理方法的步骤。The embodiments of the present disclosure also describe a storage medium on which an executable program is stored, and the executable program is executed by a processor to perform the steps of the touch processing method based on a graphics display system in the foregoing embodiments.
除了上述方法和设备以外,本公开的实施例还可以是计算机程序产品,其包括计算机程序指令,所述计算机程序指令在被处理器运行时使得所述处理器执行本说明书上述“示例性方法”部分中描述的根据本公开各种实施例的方法中的步骤。In addition to the above-mentioned methods and devices, embodiments of the present disclosure may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the above-mentioned "exemplary method" of this specification. Steps in methods according to various embodiments of the present disclosure described in section.
所述计算机程序产品可以以一种或多种程序设计语言的任意组合来编写用于执行本公开实施例操作的程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、C++等,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。The computer program product can be written in any combination of one or more programming languages to execute the program codes for performing the operations of the embodiments of the present disclosure, and the programming languages include object-oriented programming languages, such as Java, C++, etc. , also includes conventional procedural programming languages, such as the "C" language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server to execute.
此外,本公开的实施例还可以是计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令在被处理器运行时使得所述处理器执行本说明书上述“示例性方法”部分中描述的根据本公开各种实施例的方法中的步骤。In addition, the embodiments of the present disclosure may also be a computer-readable storage medium, on which computer program instructions are stored, and the computer program instructions, when executed by a processor, cause the processor to perform the above-mentioned "Exemplary Method" section of this specification. Steps in methods according to various embodiments of the present disclosure described in .
所述计算机可读存储介质可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以包括但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory或闪存)、光纤、便携式紧凑盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, but not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: electrical connection with one or more conductors, portable disk, hard disk, random access memory (RAM), read only memory (ROM), erasable Type programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or the above any suitable combination.
本公开的实施例还可以是计算机程序,该计算机程序在被处理器执行时实现前述实施例的基于图形显示系统的触控处理方法的步骤。The embodiments of the present disclosure may also be a computer program, which implements the steps of the graphic display system-based touch processing method of the foregoing embodiments when executed by a processor.
以上结合具体实施例描述了本公开的基本原理,但是,需要指出的是,在本公开中提及的优点、优势、效果等仅是示例而非限制,不能认为这些优点、优势、效果等是本公开的各个实施例必须具备的。另外,上述公开的具体细节仅是为了示例的作用和便于理解的作用,而非限制,上述细节并不限制本公开为必须采用上述具体的细节来实现。The basic principles of the present disclosure have been described above in conjunction with specific embodiments, but it should be pointed out that the advantages, advantages, effects, etc. mentioned in the present disclosure are only examples rather than limitations, and these advantages, advantages, effects, etc. Various embodiments of the present disclosure must have. In addition, the specific details disclosed above are only for the purpose of illustration and understanding, rather than limitation, and the above details do not limit the present disclosure to be implemented by using the above specific details.
本公开中涉及的器件、装置、设备、系统的方框图仅作为例示性的例子并且不意图要求或暗示必须按照方框图示出的方式进行连接、布置、配置。如本领域技术人员将认识到的,可以按任意方式连接、布置、配置这些器件、装置、设备、系统。诸如“包括”、“包含”、“具有”等等的词语是开放性词汇,指“包括但不限于”,且可与其互换使用。这里所使用的词汇“或”和“和”指词汇“和/或”,且可与其互换使用,除非上下文明确指示不是如此。这里所使用的词汇“诸如”指词组“如但不限于”,且可与其互换使用。The block diagrams of devices, devices, devices, and systems involved in the present disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, devices, devices, systems may be connected, arranged, configured in any manner. Words such as "including", "comprising", "having" and the like are open-ended words meaning "including but not limited to" and may be used interchangeably therewith. As used herein, the words "or" and "and" refer to the word "and/or" and are used interchangeably therewith, unless the context clearly dictates otherwise. As used herein, the word "such as" refers to and is used interchangeably with the phrase "such as but not limited to".
还需要指出的是,在本公开的装置、设备和方法中,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本公开的等效方案。It should also be pointed out that, in the devices, equipment and methods of the present disclosure, each component or each step can be decomposed and/or reassembled. These decompositions and/or recombinations should be considered equivalents of the present disclosure.
提供所公开的方面的以上描述以使本领域的任何技术人员能够做出或者使用本公开。对这些方面的各种修改对于本领域技术人员而言是非常显而易见的,并且在此定义的一般原理可以应用于其他方面而不脱离本公开的范围。因此,本公开不意图被限制到在此示出的方面,而是按照与在此公开的原理和新颖的特征一致的最宽范围。The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
为了例示和描述的目的已经给出了以上描述。此外,此描述不意图将本公开的实施例限制到在此公开的形式。尽管以上已经讨论了多个示例方面和实施例,但是本领域技术人员将认识到其某些变型、修改、改变、添加和子组合。The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the disclosed embodiments to the forms disclosed herein. Although a number of example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.

Claims (16)

  1. 一种基于图形显示系统的触控处理方法,其特征在于,所述方法包括:A touch processing method based on a graphic display system, characterized in that the method comprises:
    响应于检测到触控操作,生成触控事件,将所述触控事件向当前UI窗口的线程发送;In response to detecting a touch operation, generate a touch event, and send the touch event to a thread of the current UI window;
    触发所述当前UI窗口的线程缓存所述触控事件,并生成更新窗口请求;triggering the thread of the current UI window to cache the touch event, and generate a window update request;
    检测到同步事件后,响应所述更新窗口请求,获取所述触控事件中的触控点的信息,基于所述触控点的信息确定平滑触控点的信息;After detecting the synchronous event, responding to the update window request, acquiring the information of the touch point in the touch event, and determining the information of the smooth touch point based on the information of the touch point;
    将所述平滑触控点的信息向目标布局控件发送,触发所述目标布局控件基于所述平滑触控点的信息确定待图形更新的脏区域;Sending the information of the smooth touch point to the target layout control, triggering the target layout control to determine the dirty area to be graphics updated based on the information of the smooth touch point;
    触发渲染线程对所述脏区域进行渲染,更新界面图形。Trigger the rendering thread to render the dirty area, and update the interface graphics.
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述触控点的信息确定平滑触控点的信息,包括:The method according to claim 1, wherein the determining the information of the smooth touch point based on the information of the touch point comprises:
    在所述当前UI窗口的线程缓存的所述触控事件中,查找距采样时间最近的设定数量的触控点,基于所查找到的触控点的时间信息,以及所述采样时间,确定所述平滑触控点的时间以及位置信息。In the touch event cached by the thread of the current UI window, search for a set number of touch points closest to the sampling time, and determine based on the time information of the found touch points and the sampling time The time and location information of the smooth touch point.
  3. 根据权利要求2所述的方法,其特征在于,所述设定数量为两个;The method according to claim 2, wherein the set number is two;
    所述确定所述平滑触控点的时间以及位置信息,包括:The determining the time and position information of the smooth touch point includes:
    确定所述采样时间位于两个所述触控点的时间之间时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及所述采样时间与所述第二触控点的时间之间的第二偏移量,基于所述第一偏移量和所述第二偏移量确定第一权重;基于所述第二触控点的时间、所述第一权重及所述第一偏移量计算所述平滑触控点的时间以及位置信息。When it is determined that the sampling time is between the times of the two touch points, determine a first offset between the time of the first touch point and the time of the second touch point of the two touch points amount, and a second offset between the sampling time and the time of the second touch point, the first weight is determined based on the first offset and the second offset; based on the The time and position information of the smooth touch point is calculated by the time of the second touch point, the first weight and the first offset.
  4. 根据权利要求2或3所述的方法,其特征在于,所述设定数量为两个;The method according to claim 2 or 3, wherein the set number is two;
    所述确定所述平滑触控点的时间以及位置信息,包括:The determining the time and position information of the smooth touch point includes:
    确定所述采样时间位于两个所述触控点的时间之外时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及所述第一触控点的时间与所述采样时间之间的第三偏移量,基于所述第一偏移量和所述第三偏移量确定第二权重;基于所述第一触控点的时间、所述第二权重及所述第一偏移量的相反数计算所述平滑触控点的时间以及位置信息。When it is determined that the sampling time is outside the time of the two touch points, determine a first offset between the time of the first touch point and the time of the second touch point of the two touch points amount, and a third offset between the time of the first touch point and the sampling time, the second weight is determined based on the first offset and the third offset; based on the The time and position information of the smooth touch point is calculated by the time of the first touch point, the second weight and the inverse of the first offset.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, wherein the method further comprises:
    为所述触控事件设置调度策略;Setting a scheduling strategy for the touch event;
    其中,所述调度策略包括:为所述触控事件设置调度优先级,所述触控事件的调度优先级高于其他线程或进程的调度优先级;在对所述触控事件进行调度时,以优先级调度方式替代时间片轮询调度方式。Wherein, the scheduling strategy includes: setting a scheduling priority for the touch event, the scheduling priority of the touch event is higher than that of other threads or processes; when scheduling the touch event, The time-slice round-robin scheduling method is replaced by the priority scheduling method.
  6. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method according to claim 5, wherein the method further comprises:
    检测到所述触控事件对应的应用或UI窗口切换至后台时,调低所述触控事件的优先级;或When detecting that the application or UI window corresponding to the touch event is switched to the background, lower the priority of the touch event; or
    检测到低优先级的所述触控事件对应的应用或UI窗口由后台切换至前台时,恢复所述触控事件的优先级。When it is detected that the application or UI window corresponding to the touch event with low priority is switched from the background to the foreground, the priority of the touch event is restored.
  7. 一种基于图形显示系统的触控处理装置,其特征在于,所述装置包括:A touch processing device based on a graphics display system, characterized in that the device includes:
    第一检测单元,用于检测触控操作;a first detection unit, configured to detect a touch operation;
    生成单元,用于响应于检测到触控操作,生成触控事件;a generating unit, configured to generate a touch event in response to detecting a touch operation;
    第一传输单元,用于将所述触控事件向当前UI窗口的线程发送;A first transmission unit, configured to send the touch event to a thread of the current UI window;
    第一触发单元,用于触发所述当前UI窗口的线程缓存所述触控事件,并生成更新窗口请求;A first trigger unit, configured to trigger the thread of the current UI window to cache the touch event, and generate a window update request;
    第二检测单元,用于检测同步事件;a second detection unit, configured to detect a synchronization event;
    确定单元,用于响应所述更新窗口请求,获取所述缓存触控事件中的触控点的信息,基于所述触控点的信息确定平滑触控点的信息;A determining unit, configured to respond to the update window request, obtain information of touch points in the cached touch event, and determine information of smooth touch points based on the information of the touch points;
    第二传输单元,用于将所述平滑触控点的信息向目标布局控件发送;The second transmission unit is configured to send the information of the smooth touch point to the target layout control;
    第二触发单元,用于触发所述目标布局控件基于所述平滑触控点的信息确定待图形更新的脏区域;A second trigger unit, configured to trigger the target layout control to determine a dirty area to be updated based on the information of the smooth touch point;
    第三触发单元,用于触发渲染线程对所述脏区域进行渲染,更新界面图形。The third triggering unit is configured to trigger the rendering thread to render the dirty area and update the interface graphics.
  8. 根据权利要求7所述的装置,其特征在于,所述确定单元,还用于:The device according to claim 7, wherein the determining unit is further configured to:
    在所述当前UI窗口的线程缓存的所述触控进程中,查找距采样时间最近的设定数量的触控点,基于所查找到的触控点的时间信息,以及所述采样时间,确定所述平滑触控点的时间以及位置信息。In the touch process in the thread cache of the current UI window, search for a set number of touch points closest to the sampling time, and determine based on the time information of the found touch points and the sampling time The time and location information of the smooth touch point.
  9. 根据权利要求8所述的装置,其特征在于,所述设定数量为两个;The device according to claim 8, wherein the set number is two;
    所述确定单元,还用于:The determining unit is also used for:
    确定所述采样时间位于两个所述触控点的时间之间时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及所述采样时间与所述第二触控点的时间之间的第二偏移量,基于所述第一偏移量和所述第二偏移量确定第一权重;基于所述第二触控点的时间、所述第一权重及所述第一偏移量计算所述平滑触控点的时间以及位置信息。When it is determined that the sampling time is between the times of the two touch points, determine a first offset between the time of the first touch point and the time of the second touch point of the two touch points amount, and a second offset between the sampling time and the time of the second touch point, the first weight is determined based on the first offset and the second offset; based on the The time and position information of the smooth touch point is calculated by the time of the second touch point, the first weight and the first offset.
  10. 根据权利要求8或9所述的装置,其特征在于,所述设定数量为两个;The device according to claim 8 or 9, wherein the set number is two;
    所述确定单元,还用于:The determining unit is also used for:
    确定所述采样时间位于两个所述触控点的时间之外时,确定两个所述触控点中第一触控点的时间与第二触控点的时间之间的第一偏移量,以及所述第一触控点的时间与所述采样时间之间的第三偏移量,基于所述第一偏移量和所述第三偏移量确定第二权重;基于所述第一触控点的时间、所述第二权重及所述第一偏移量的相反数计算所述平滑触控点的时间以及位置信息。When it is determined that the sampling time is outside the time of the two touch points, determine a first offset between the time of the first touch point and the time of the second touch point of the two touch points amount, and a third offset between the time of the first touch point and the sampling time, the second weight is determined based on the first offset and the third offset; based on the The time and position information of the smooth touch point is calculated by the time of the first touch point, the second weight and the inverse of the first offset.
  11. 根据权利要求7至10任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 7 to 10, wherein the device further comprises:
    设置单元,用于为所述触控事件设置调度策略;其中,所述调度策略包括:为所述触控事件设置调度优先级,所述触控事件的调度优先级高于其他线程或进程的调度优先级;在对所述触控事件进行调度时,以优先级调度方式替代时间片轮询调度方式。A setting unit, configured to set a scheduling policy for the touch event; wherein the scheduling policy includes: setting a scheduling priority for the touch event, and the scheduling priority of the touch event is higher than that of other threads or processes Scheduling priority; when scheduling the touch event, the time slice polling scheduling method is replaced by a priority scheduling method.
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:The device according to claim 11, further comprising:
    第二检测单元,用于检测到所述触控事件对应的应用或窗口切换至后台时,调低所述触控事件的优先级;或The second detection unit is configured to lower the priority of the touch event when detecting that the application or window corresponding to the touch event is switched to the background; or
    用于检测到低优先级的所述触控事件对应的应用或窗口由后台切换至前台时,恢复所述触控事件的优先级。When it is detected that the application or window corresponding to the touch event with low priority is switched from the background to the foreground, the priority of the touch event is restored.
  13. 一种电子设备,包括处理器、存储器及存储在存储器上并能够由所述处理器运行的可执行程序,所述处理器运行所述可执行程序时执行如权利要求1至6任一项所述的基于图形 显示系统的触控处理方法的步骤。An electronic device, comprising a processor, a memory, and an executable program stored on the memory and capable of being run by the processor, when the processor runs the executable program, it executes any one of claims 1 to 6 Steps of the touch processing method based on the graphic display system described above.
  14. 一种存储介质,其上存储由可执行程序,所述可执行程序被处理器执行时实现如权利要求1至6任一项所述的基于图形显示系统的触控处理方法的步骤。A storage medium, on which an executable program is stored, and when the executable program is executed by a processor, the steps of the touch processing method based on a graphic display system according to any one of claims 1 to 6 are implemented.
  15. 一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序在被处理器执行时实现如权利要求1至6任一项所述的基于图形显示系统的触控处理方法的步骤。A computer program product, characterized in that it includes a computer program, and when the computer program is executed by a processor, the steps of the touch processing method based on a graphics display system according to any one of claims 1 to 6 are implemented.
  16. 一种计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述的基于图形显示系统的触控处理方法的步骤。A computer program, characterized in that, when the computer program is executed by a processor, the steps of the touch processing method based on a graphic display system according to any one of claims 1 to 6 are implemented.
PCT/CN2022/105311 2021-10-22 2022-07-12 Touch processing method and apparatus based on graphic display system, and electronic device and storage medium WO2023065732A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111231103.5A CN113986107A (en) 2021-10-22 2021-10-22 Touch processing method and device based on graphic display system, electronic equipment and storage medium
CN202111231103.5 2021-10-22

Publications (1)

Publication Number Publication Date
WO2023065732A1 true WO2023065732A1 (en) 2023-04-27

Family

ID=79740228

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/105311 WO2023065732A1 (en) 2021-10-22 2022-07-12 Touch processing method and apparatus based on graphic display system, and electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN113986107A (en)
WO (1) WO2023065732A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113986107A (en) * 2021-10-22 2022-01-28 北京鲸鲮信息系统技术有限公司 Touch processing method and device based on graphic display system, electronic equipment and storage medium
CN115079924B (en) * 2022-06-29 2024-08-16 广东明创软件科技有限公司 Screen display method, device, terminal, storage medium and product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281308A (en) * 2013-07-11 2015-01-14 深圳富泰宏精密工业有限公司 Touch electronic device and drawing method thereof
CN107273130A (en) * 2017-06-20 2017-10-20 深圳市万普拉斯科技有限公司 Method, device and the terminal for accelerating interface to draw
US20200159549A1 (en) * 2018-11-19 2020-05-21 International Business Machines Corporation Replaying interactions with a graphical user interface (gui) presented in a video stream of the gui
CN113986107A (en) * 2021-10-22 2022-01-28 北京鲸鲮信息系统技术有限公司 Touch processing method and device based on graphic display system, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729131A (en) * 2017-09-25 2018-02-23 努比亚技术有限公司 A kind of event-handling method, terminal and computer-readable recording medium
CN109375980B (en) * 2018-10-29 2021-10-15 四川长虹教育科技有限公司 Touch drawing method based on Andriod system
CN111552567B (en) * 2020-04-27 2023-07-07 北京奇艺世纪科技有限公司 Thread management method and device, electronic equipment and storage medium
CN111984181A (en) * 2020-09-09 2020-11-24 Oppo(重庆)智能科技有限公司 Picture refreshing method and device, terminal equipment and storage medium
CN112306301B (en) * 2020-11-02 2024-06-11 北京小米移动软件有限公司 Touch data processing method, device, equipment and storage medium
CN112422873B (en) * 2020-11-30 2022-09-16 Oppo(重庆)智能科技有限公司 Frame insertion method and device, electronic equipment and storage medium
CN112817483B (en) * 2021-01-29 2023-08-08 网易(杭州)网络有限公司 Multi-point touch processing method, device, equipment and storage medium
CN113190427B (en) * 2021-05-11 2024-07-19 抖音视界有限公司 Method and device for monitoring blocking, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281308A (en) * 2013-07-11 2015-01-14 深圳富泰宏精密工业有限公司 Touch electronic device and drawing method thereof
CN107273130A (en) * 2017-06-20 2017-10-20 深圳市万普拉斯科技有限公司 Method, device and the terminal for accelerating interface to draw
US20200159549A1 (en) * 2018-11-19 2020-05-21 International Business Machines Corporation Replaying interactions with a graphical user interface (gui) presented in a video stream of the gui
CN113986107A (en) * 2021-10-22 2022-01-28 北京鲸鲮信息系统技术有限公司 Touch processing method and device based on graphic display system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113986107A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
WO2023065732A1 (en) Touch processing method and apparatus based on graphic display system, and electronic device and storage medium
US11263029B2 (en) Providing user interface (UI) elements having scrollable content in virtual machine sessions at reduced latency and related methods
US10276131B2 (en) Systems and methods for remote mouse pointer management
JP6133411B2 (en) Optimization scheme for controlling user interface via gesture or touch
US8327357B2 (en) Mechanism for virtual time stamp counter acceleration
US11693672B2 (en) Providing user interface (UI) elements in virtual machine sessions at reduced latency
US9772742B2 (en) System and method for remote controlling computing device
US20150127716A1 (en) Filtering Unnecessary Display Updates for a Networked Client
US11281478B2 (en) Providing user interface (UI) elements having an ordered hierarchy of graphical control elements in virtual machine sessions at reduced latency and related methods
US10466894B2 (en) Method, device, storage medium and mobile terminal for recognizing an off-screen gesture
WO2013004130A1 (en) Dockbar implementation method, device and system
WO2018209865A1 (en) Multi-touch hand gesture recognition method, device, touch screen terminal and storage medium
TW201947396A (en) Information processing device, tuning method, and tuning program
CN114748873A (en) Interface rendering method, device, equipment and storage medium
US20160224092A1 (en) Apparatus and method for dynamic adjustment of power saving modalities by touch events
WO2023093076A1 (en) Method and apparatus for suppressing display jitter, electronic device, and storage medium
CN111367406B (en) Method, device, equipment and medium for refreshing pull-down of applet window
JP6662748B2 (en) Display control device, display control method, and display control program
US11093264B1 (en) System and method for drawing optimization with pointer input in a remote session
US11507398B1 (en) Enhancing user experience on moving and resizing windows of remote applications
CN116360665A (en) Rolling control method and device for table, computer equipment and storage medium

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: 22882354

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE