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

Method for application development and device

A technology of application program development and application program, which is applied in the computer field, can solve problems such as no solution, limited graphics rendering performance and data computing ability are not as good as native applications, etc., to get rid of platform restrictions, improve web capabilities, and simplify the development process Effect

Active Publication Date: 2012-08-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF2 Cites 56 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This development method is simple and convenient, but it can only run on the browser. Limited by the browser security sandbox mechanism, it can only provide developers with a limited interface, which may not meet the needs of all projects, and graphics rendering performance and data calculation Also not as capable as native apps and may introduce performance issues into projects
[0005] To sum up the above, the existing original application development method is limited to a specific platform, and the existing web application development method contacts the system native API (Application Programming Interface, application programming interface) is limited, therefore, how to get rid of the platform limitation, and at the same time Access to more native APIs of the system, there is no related solution in the existing technology

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 for application development and device
  • Method for application development and device
  • Method for application development and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] see figure 1 , this embodiment provides a method for application development, including:

[0023] 101: Encapsulate the system native API into different interfaces, and the interface layer is composed of different interfaces;

[0024] 102: Develop an application program based on web technology, and the application program triggers a corresponding event of the browser to notify the browser component layer of the operation to be performed and the parameters required to perform the operation;

[0025] 103: After the browser component layer detects the change of the event, it calls the corresponding interface of the interface layer according to the operation and the parameters required to execute the operation, and returns the result to the application program for processing.

[0026] Specifically, the application program can process the returned result through the callback function.

[0027] The above method can be based on figure 2 The application development architect...

Embodiment 2

[0043] see image 3 , this embodiment provides an application development device, including:

[0044] The interface layer module 301 is used to encapsulate the system native API into different interfaces, and the interface layer is composed of different interfaces;

[0045] The Web layer module 302 is used to develop an application program based on web technology, and the application program triggers a corresponding event of the browser to notify the browser component layer of the operations that need to be performed and the parameters required to perform the operations;

[0046] The browser component layer module 303 is used for the browser component layer to call the corresponding interface of the interface layer according to the operation and the parameters required for executing the operation after the browser component layer detects the change of the event, and returns the result to the application program for processing. The application can process the returned result t...

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 for application development and a device, which belong to the field of computers. The method comprises that native application programming interfaces (API) in a system are encapsulated to form different interfaces and different interfaces form to an interface layer; based on web technology development application, the application triggers corresponding events of a browser, so that a browser component layer is notified of the required operation to be executed and the required parameter of the executing operation; after the browser component layer monitors that the events change, corresponding interfaces in the interface layer are called based on the required parameter of the operation and the executing operation, and results are returned to the application for processing. The device comprises an interface layer module, a web layer module and a browser component layer module. According to the above scheme, platform restriction is eliminated, developers can use usual web techniques and tools to develop, the development process is simplified, the web application can be in contact with more native API in the system through the interface layer which is acquired through encapsulation of the system native API, and web capability is improved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for developing application programs. Background technique [0002] With the rapid development of computer technology, many methods of application program development have emerged in the computer field, such as native application programs or web application programs. [0003] Native applications refer to applications developed based on mobile platforms. Native application development requires the use of mobile platform-specific development languages, tool sets, compilers, and even development platforms. Taking the ios mobile platform as an example, the development of native applications based on the ios mobile platform requires the use of the objective-c development language and the xcode sdk released by apple for compilation and debugging, and can only be developed, compiled, simulated and packaged on the mac system deployment etc. This development method can use s...

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 TENCENT TECH (SHENZHEN) CO LTD
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