Method and apparatus for performing functions in application programs

A technology for application programs and execution functions, applied in the electronic field, can solve problems such as low code reuse rate, and achieve the effect of eliminating dependencies

Active Publication Date: 2021-03-30
成都酷狗创业孵化器管理有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Even though the functional modules in different application programs have similar functions, when setting these functional modules in different application programs, it is still necessary to write the codes corresponding to the functional modules separately, and the code reuse rate is low

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 apparatus for performing functions in application programs
  • Method and apparatus for performing functions in application programs
  • Method and apparatus for performing functions in application programs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0043] The embodiment of the present disclosure provides a method for executing a function in an application program, and the method can be implemented by a terminal. Wherein, the terminal may be a mobile phone, a tablet computer, a desktop computer, a notebook computer, and the like.

[0044] A terminal may include components such as a processor and a memory. The processor, which ca...

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 relates to a method and device for executing functions in an application program and belongs to the technical field of electronics. The method comprises the steps of: obtaining first corresponding relationship between the functions and virtual interface information, which is pre-stored in a plug-in application program of a host application program and obtaining second corresponding relationship between the virtual interface information and interface information, which is pre-stored in the host application program; determining third corresponding relationship between the functionsand the interface information on the basis of the first corresponding relationship and the second corresponding relationship and storing the third corresponding relationship; and in the process of calling and running the plug-in application program through the host application program, when detecting an execution instruction of a target function, determining target interface information corresponding to the target function on the basis of the third corresponding relationship and calling a corresponding execution code for executing the target interface information. By adopting the method disclosed by the invention, the purpose of reusing the execution code of the plug-in application program can be achieved.

Description

technical field [0001] The present disclosure relates to the field of electronic technology, and in particular to a method and device for executing functions in application programs. Background technique [0002] Although different applications may have different main functions, for example, among the music application and the live broadcast application, the music application is mainly used for playing music, and the live broadcast application is mainly used for live broadcast. However, different application programs may be provided with functional modules having the same function. For example, a live broadcast function module can be set in a music application program, and the user can choose to listen to music or live broadcast, and a live broadcast function module can also be set in a live broadcast application program. [0003] In the process of realizing the present disclosure, the inventors found at least the following problems: [0004] Even though the functional mod...

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): G06F9/445
CPCG06F9/44526
Inventor 谢导曹伟鹏洪锐育唐日升
Owner 成都酷狗创业孵化器管理有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products