Unlock instant, AI-driven research and patent intelligence for your innovation.

Implementation method, device and electronic equipment of an aop component

An implementation method and component technology, which is applied in the field of video playback, can solve problems such as poor implementation flexibility, and achieve an effect that is conducive to adjustment

Active Publication Date: 2021-04-27
WUHAN DOUYU NETWORK TECH 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 an implementation method, device and electronic equipment of an AOP component, so as to solve the problem of poor implementation flexibility of the existing AOP component

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
  • Implementation method, device and electronic equipment of an aop component
  • Implementation method, device and electronic equipment of an aop component
  • Implementation method, device and electronic equipment of an aop component

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0066] The terms "first", "second" and the like (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate cir...

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 embodiment of the invention discloses an AOP component realization method, device and electronic equipment. The method of the embodiment of the present invention includes: using the ByteBuddy library definition to realize the AspectContext of the AOP component; defining the method interceptor of the AOP component; defining the method interception chain of the AOP component; defining the MethodInterceptorChainFactory of the AOP component; compiling the defined AOP Components, applying the compiled AOP components to business projects. In the embodiment of the present invention, the AOP component can be applied to the business project in the form of Java Agent, which can provide flexible AOP functions for the business projects, and the application using the AOP function will not be recompiled due to the adjustment of the AOP function, which is flexible and changeable, and is conducive to adjustment .

Description

technical field [0001] The invention relates to the technical field of video playing, in particular to an implementation method, device and electronic equipment of an AOP component. Background technique [0002] AOP (Aspect Orient Programming), as a supplement to object-oriented programming, is widely used to deal with some system-level services with cross-cutting properties, such as transaction management, security check, cache, object pool management, etc. [0003] The key to AOP implementation lies in the AOP proxy automatically created by the AOP framework. AOP proxy can be divided into two categories: static proxy and dynamic proxy. Static proxy refers to compiling with the commands provided by the AOP framework, so that it can be generated during the compilation phase. AOP proxy class, so it is also called compile-time enhancement; while dynamic proxy generates AOP dynamic proxy class "temporarily" in memory at runtime by means of JDK dynamic proxy, CGLIB, etc., so it ...

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/41
CPCG06F8/41
Inventor 支猛张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD