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

Method and equipment for invoking graphics libraries

A graphics library and device technology, applied in the field of mobile communications, can solve problems such as large application package size and graphics library version differences, and achieve the effects of solving version differences, achieving compatibility, and saving memory resources

Active Publication Date: 2014-02-12
深圳市雅阅科技有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to effectively solve the problems caused by the difference of the graphics library version and the problem of the large size of the application program package, the embodiment of the present invention provides a graphics library calling method and device

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
  • Method and equipment for invoking graphics libraries
  • Method and equipment for invoking graphics libraries
  • Method and equipment for invoking graphics libraries

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] figure 1 It is a flowchart of a graphics library calling method provided by an embodiment of the present invention, see figure 1 , the example includes:

[0060] 101. Obtain a calling request from a graphics library user, where the calling request includes a graphics library interface identifier;

[0061] 102. When the graphics library interface corresponding to the graphics library interface identifier is a differential graphics library interface, obtain the graphics library version identifier of the mobile terminal;

[0062] 103. According to the graphics library version identifier, call the graphics library difference processing layer corresponding to the graphics library version identifier;

[0063] 104. Perform difference processing on the difference graphics library interface by the graphics library difference processing layer;

[0064] 105. Call the graphics library corresponding to the graphics library version identifier through the difference graphics librar...

Embodiment 2

[0084] figure 2 It is a flow chart of a graphics library calling method provided by an embodiment of the present invention. The executor of the embodiment of the present invention is an embedded device, or develops software for an operating system of an embedded device. The operating system development software is aimed at a mobile terminal. digital assistants), etc. see figure 2 , the example includes:

[0085] 201. Packaging all public graphics library interfaces of different versions into the same graphics library interface, and encapsulating them in the graphics library public packaging layer, where the public graphics library interface is a graphics library interface other than the difference graphics library interface;

[0086] Specifically, firstly, all public graphics library interfaces of different versions are packaged into the same graphics library interface, such as the graphics libraries of versions V1.0, V2.1, and V2.2 of the Android system are all packaged ...

Embodiment 3

[0119] image 3 The embodiment of the present invention provides a graphics library call device. The execution subject of the embodiment of the present invention is an embedded graphics library call device, which is used to develop the operating system of the mobile terminal. See image 3 , the device consists of:

[0120] The first obtaining module 301 is used to obtain the calling request of the graphics library user, and the calling request includes the graphics library interface identifier;

[0121] The second acquisition module 302 is used to obtain the graphics library version identification of the mobile terminal when the graphics library interface corresponding to the graphics library interface identification is a difference graphics library interface;

[0122] The first calling module 303 is used to call the graphics library difference processing layer corresponding to the graphics library version ID according to the graphics library version ID;

[0123] The differe...

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 invention discloses a method and equipment for invoking graphics libraries, and belongs to the field of mobile communication. The method includes acquiring invocation requests of users of the graphics libraries; acquiring graphics library version marks of mobile terminals when graphics library interfaces corresponding to graphics library interface marks are difference graphics library interfaces; invoking a graphics library difference processing layer corresponding to the graphics library version marks according to the graphics library version marks; enabling the graphics library difference processing layer to carry out difference processing on the difference graphics library interfaces; invoking the graphics libraries corresponding to the graphics library version marks via the difference graphics library interfaces after difference processing is carried out on the difference graphics library interfaces. The invocation requests include the graphics library interface marks. The equipment comprises a first acquisition module, a second acquisition module, a first invocation module, a difference processing module and a second invocation module. The method and the equipment have the advantages that problems due to difference in graphics library versions and the problem of large size of an application program package can be solved by the aid of the graphics library difference processing layer, memory resources can be saved, and different versions of graphics libraries are compatible with one another.

Description

technical field [0001] The invention relates to the field of mobile communication, in particular to a graphics library calling method and device. Background technique [0002] With the popularity of smart mobile terminals, the development of operating systems for mobile terminals is becoming more and more important. However, in the development process of the operating system, it is necessary to frequently call the graphics library, and the graphics library generally exists in the mobile terminal in the form of a dynamic link. When the developer uses the graphics library, it needs to call the graphics library of the mobile terminal in the form of dynamic link. The operating system version of the mobile terminal is different. For example, the Android system has V1.0, V2.1, V2.2 and other versions. Different versions of the operating system provide different graphics library external interfaces, which leads to It is necessary to do compatibility processing for different versi...

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): G06F9/44
Inventor 牛东升张保华孔利曹民强
Owner 深圳市雅阅科技有限公司
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