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

Method and device for invoking sdk function of software development kit

A software development tool and function technology, applied in software deployment, software maintenance/management, version control, etc., can solve the problems of low update efficiency and long update cycle, reduce the update cycle, avoid recompilation and packaging, and improve the update The effect of efficiency

Active Publication Date: 2021-07-02
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and device for invoking SDK functions, which can be used to solve the problems of long update cycle and low update efficiency of SDK functions existing in related technologies

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 device for invoking sdk function of software development kit
  • Method and device for invoking sdk function of software development kit
  • Method and device for invoking sdk function of software development kit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0029] Before explaining the embodiment of the present invention in detail, in order to facilitate the understanding of the embodiment of the present invention, the features of the SDK functions are firstly introduced. Generally speaking, SDK functions have the following three typical characteristics:

[0030] 1. The external interface is stable. For a target application that integrates SDK functions, the target application will generally only directly call the external interface provided by the SDK function, and will not directly call the internal functional logic of the SDK function, so the external interface provided by the SDK function will generally not change. Therefore, this In the embodiment of the invention, when updating the...

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 an SDK function calling method and device, belonging to the technical field of terminals. The method includes: during the running of the target application, when it is detected that there is an updated version of the current version of the SDK function integrated by the target application, sending an update request to the server; receiving the update file corresponding to the updated version sent by the server, and passing the first The class loader loads the update file to integrate the update version in the target application; when receiving a call instruction to the SDK functional interface, redirect the call instruction from the current version to the update version; according to the redirected call instruction, Call the SDK function interface provided by the update version, and run the update function corresponding to the update version through the SDK function interface. The present invention can realize hot updating of SDK functions and calling of updated SDK functions during the running process of target applications, avoid recompilation, packaging and installation of source programs of target applications, and improve update efficiency.

Description

technical field [0001] The present invention relates to the technical field of terminals, in particular to a method and device for invoking SDK (Software Develop Kit, software development kit) functions. Background technique [0002] At present, some applications installed in the terminal usually integrate SDK functions of other applications, so as to use some functions of other applications through the integrated SDK functions. For example, the first application will integrate the SDK function of the second application, and the SDK function of the second application can provide at least one interface for the first application, and the first application can use some functions of the second application by calling these interfaces. For example, a video application usually integrates an SDK function of a social application, and the SDK function can provide a sharing interface for the video application, and the video application can share the video to the social application by c...

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 Patents(China)
IPC IPC(8): G06F8/65G06F8/71
CPCG06F8/65G06F8/71
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