Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Window management method and terminal

A window management and window technology, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve the problems of time-consuming and microprocessor processing resources, etc., achieve optimization methods, avoid time and Resource consumption, the effect of reducing computing consumption

Inactive Publication Date: 2011-01-05
BEIJING WATCH DATA SYST
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the inventors found that this window management technology also has the following problems: when the window system cuts the display content of the multitasking operation, it depends on the microprocessor of the terminal product, which is time-consuming and consumes the microprocessor. processing resources of

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Window management method and terminal
  • Window management method and terminal
  • Window management method and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] This embodiment aims to provide a window management method, which can reduce the calculation consumption of the terminal in the image display process and optimize the image display method, see figure 1 , including the following steps:

[0027] 101. Send image data of a first application window to a video memory for display in a direct memory access manner.

[0028] Wherein, the image displayed on the screen and the data corresponding to it before being converted into a display image can be called image data. Direct memory access (Direct Memory Access) is a data exchange method that directly accesses data from the memory without going through the microprocessor. The DMA controller handles the data transmission, which greatly reduces the resource occupation of the microprocessor. rate, can greatly save system resources. In this embodiment, the image data can be directly written into the video memory from the data buffer area through the DMA controller, and the data in t...

Embodiment 2

[0044] This embodiment is based on the first embodiment, and the first embodiment is further described in detail. Specifically, see figure 2 , before step 101 of the first embodiment, sending the image data of the first application window to the video memory for display by means of direct memory access, the following steps are also included:

[0045]201. Receive an application message for creating the first application window, where the application message includes display coordinate information of the first application window.

[0046] When the terminal does not currently have a playback window, the first application program needs to apply to the window system to create a playback window through an interface with the window system, that is, the application program applies to the window system through an API interface (Application Programming Interface, Application Programming Interface). Wherein, the application message includes information such as coordinates, height and w...

Embodiment 3

[0067] In this embodiment, the first application program is a video playback system as an example, see Figure 5 , to describe the window management method in detail.

[0068] When playing video on the terminal, in most cases there is image 3 As shown in the video playback window, there is only the video playback window under the root window. In this case, the window management method is as follows:

[0069] 301. The video playing system applies to the window system for creating a video playing window through an interface with the window system.

[0070] 302. Set the video playback window as displayable, and obtain the video memory address through the display driver, calculate the offset value of the video playback window based on the video memory address according to the display coordinates of the video playback window, and obtain the video memory corresponding to the video playback window area.

[0071] 303. Decode the video stream to acquire image data of the video play...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a window management method and a terminal and relates to the technical field of a graphical user interface. The invention is designed to reduce calculation consumption of the terminal in the process of image display and optimize the image display method. The method of the embodiment of the invention comprises the following steps: delivering the image data of a first application program window to a local video memory for display by a direct memory access (DMA) way; building a second application program window; and displaying the image data of the first application program window and the image data of the second application program window via a window system. The embodiment of the invention also provides the terminal for realizing the method. The embodiment of the invention is applied to single or multiple window display.

Description

technical field [0001] The present invention relates to the technical field of Graphical User Interface (GUI, Graphical User Interface), in particular to a window management method and a terminal. Background technique [0002] As terminal products become more intelligent and their functions tend to be more diversified, terminal products have application requirements for multitasking operations, so there are also requirements for overlapping processing of multi-windows for multitasking operations. [0003] At present, when some terminal products run an application, the window of the application cannot be overlapped by the windows of other applications. Fast, the windows of other applications are instantly refreshed and are not even visible. This is especially common for terminals with video playback capabilities. [0004] In the prior art, there is also a terminal product that can cut and display the display content of all multitasking operations through the window system o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/048G06F3/0481G06F3/0484
Inventor 钟武孙孝文
Owner BEIJING WATCH DATA SYST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products