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

AOP component realization method and apparatus, and electronic device

An implementation method and component technology, applied in the field of video playback, can solve problems such as poor implementation flexibility, and achieve the effect of facilitating adjustment

Active Publication Date: 2018-07-20
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 2 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
  • AOP component realization method and apparatus, and electronic device
  • AOP component realization method and apparatus, and electronic device
  • AOP component realization method and apparatus, and electronic device

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 not necessarily to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances...

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 invention disclose an AOP component realization method and apparatus, and an electronic device. The method comprises the steps of defining an Aspect Cotext for realizing the AOP component by utilizing a ByteBuddy library; defining a method interceptor of the AOP component; defining a method interception chain of the AOP component; defining MethodInterceptorChainFactory of the AOP component; and compiling the defined AOP component and applying the compiled AOP component to a business project. The AOP component can be applied to the business project in a JavaAgent mode; a flexible AOP function can be provided for the business project; an application using the AOP function is not re-compiled due to adjustment of the AOP function; flexibility and changeability are achieved;and the adjustment is facilitated.

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 with the help of JDK dynamic proxy, CGLIB, etc., 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): G06F8/41
CPCG06F8/41
Inventor 支猛张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD