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

Applied function extension method, device, terminal equipment and storage medium

An extension method and technology of terminal equipment, applied in the field of application function extension device and storage medium, can solve the problems of poor scalability, poor flexibility, and inability to use, and achieve the effect of good scalability and flexibility

Active Publication Date: 2022-05-27
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, after an APP (Application, application program) is downloaded from the published platform to the user's device, the above-mentioned method cannot play a role in inserting the bytecode when the application is compiled, that is, it cannot be used in the published application program, that is, the above-mentioned This method of inserting bytecode at compile time has poor scalability and poor flexibility

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
  • Applied function extension method, device, terminal equipment and storage medium
  • Applied function extension method, device, terminal equipment and storage medium
  • Applied function extension method, device, terminal equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the above objects, features and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and specific embodiments.

[0020] First, the technical terms required to be used in the embodiments of the present application are explained:

[0021] AOP (Aspect Oriented Programming, aspect-oriented programming technology) is a technology that can dynamically and uniformly add functions to a program without modifying the source code by means of pre-compilation and runtime dynamic proxy. Using AOP can isolate each part of the business logic, thereby reducing the coupling between each part of the business logic, improving the reusability of the program, and improving the efficiency of development.

[0022] AspectJ is an aspect-oriented framework that extends the Java language. AspectJ defines the AOP syntax, so there is a special compiler used to gen...

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

Embodiments of the present application provide an application function extension method, device, terminal device, and storage medium, so as to implement function extension in the application. The method includes: during the running of the application, establishing the target method stored at the first address and the replacement method stored at the second address; exchanging the storage addresses of the target method and the replacement method, and establishing the target method stored at the second address Correspondence between the target method at the first address and the replacement method stored at the first address; execute the replacement method at the first address, and call back the target method at the second address according to the replacement method, and execute the target method. The extended replacement method does not affect the normal execution of the target method, so that the extension of the application function can be realized, and it has good scalability and flexibility.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to an application function expansion method, an application function expansion device, a terminal device, and a storage medium. Background technique [0002] AOP (Aspect Oriented Programming, aspect-oriented programming technology) is a technology that can dynamically and uniformly add functions to a program without modifying the source code by means of pre-compilation and runtime dynamic proxy. Using AOP can isolate each part of the business logic, thereby reducing the coupling between each part of the business logic, improving the reusability of the program, and improving the efficiency of development. [0003] For the Android Art virtual machine, the existing AOP method usually inserts bytecodes at compile time, such as AspectJ, and the execution method is to put the aspect class (that is, the AOP aspect class) and the target class (the AOP class) together. Use,...

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/30G06F8/41
Inventor 秦静超
Owner ALIBABA GRP HLDG 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