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

Application program interface processing method and device

An application program interface, application program technology, applied in the direction of program control devices, etc., can solve the problem of inability to adapt to multi-platform, multi-screen resolution, etc.

Inactive Publication Date: 2012-10-03
TCL CORPORATION
View PDF4 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the embodiments of the present invention is to provide a method and device for processing an application program interface, aiming to solve the problem that the existing application program interface cannot adapt to multiple platforms and multiple screen resolutions

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
  • Application program interface processing method and device
  • Application program interface processing method and device
  • Application program interface processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] figure 1 The implementation flow of the application program interface processing method provided by the first embodiment of the present invention is shown, and the details are as follows:

[0027] In step S101, the aspect ratio of the original interface of the application program and the aspect ratio of the target interface are obtained.

[0028] In the specific implementation process, since the original interface of the same application program is often preset with an original best-adapted screen resolution, and the application program often needs to be installed in different systems, different interfaces of the same system platform or different systems Different interfaces of the platform may have different resolutions or different interface display aspect ratios. Taking the display interfaces with different resolutions of different system platforms as an example, when the application is pre-set - the original best fit Screen resolution, the optimal screen resolution...

Embodiment 2

[0063] Figure 5 The structure of the device for processing the application program interface provided by the second embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.

[0064] The processing device of the application program interface includes an interface parameter acquisition unit 51, a displacement parameter acquisition unit 52, a coordinate adjustment unit 53, a plane coordinate conversion unit 54 and a screen coordinate conversion unit 55 wherein:

[0065] The interface parameter acquisition unit 51 is configured to acquire the original interface aspect ratio and the target interface aspect ratio of the application program.

[0066] The interface parameter acquisition unit 51 specifically includes:

[0067] an original interface parameter acquisition unit, configured to acquire the original interface aspect ratio of the application program according to the ori...

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 is applicable to the technical field of application program interface display, and provides an application program interface processing method and a device. The method comprises acquiring the length-width ratio of an original interface and the length-width ratio of a target interface of the application program; acquiring displacement parameters of an object on the original interface in a visual coordinate system according to the relationship of the numerical size between the length-width ratios of the original interface and the target interface when the length-width ratios of the original interface and the target interface are different; adjusting the coordinates of the object in the visual coordinate system; projecting the adjusted visual coordinates to visual plane coordinates; and converting the visual plane coordinates of the object into screen coordinates in a screen coordinate system of the target interface, and displaying the object on the screen of the target interface. According to the application program interface processing method and device provided by the invention, the application program interface is adaptive to multi-platform and multi-screen resolutions.

Description

technical field [0001] The invention belongs to the technical field of application program interface display, and in particular relates to a processing method and device for an application program interface. Background technique [0002] At present, with the diversification of screen resolutions and system platforms of terminal devices such as smartphones, TVs, and computers, the engineering of adapting applications to various screens and system platforms is becoming more and more complicated. For example, the same application program running on different platforms usually needs to design different interface layouts to ensure the user experience and screen display effect because the resolutions supported by different system platforms will be different. Adapt to the problem of multi-platform multi-resolution. Contents of the invention [0003] The purpose of the embodiments of the present invention is to provide a method and device for processing an application program int...

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
IPC IPC(8): G06F9/44
Inventor 卢伟超张波刘亚萍黄雅琳马静
Owner TCL CORPORATION
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