Dependency function processing method and device, equipment and storage medium

A processing method and function technology, applied in the field of data processing, can solve problems such as large system resource consumption

Active Publication Date: 2021-06-29
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the dynamic hook technology needs to execute a large number of hook methods every time the application runs to adjust the dependent functions in the dependent library, which consumes a lot of system resources

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
  • Dependency function processing method and device, equipment and storage medium
  • Dependency function processing method and device, equipment and storage medium
  • Dependency function processing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that, in the case of no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.

[0041] In the following description, many specific details are set forth in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways than described here; obviously, the embodiments in the description are only some of the embodiments of the present disclosure, and Not all examples.

[0042] Suppose the dependent library A depends on the funcB function in another dependent library B, that is, the funcB function in the dependent library B will be called during the running of the dependent library A. If based on the adjustment requirements of the application function, it is nec...

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 provides a dependency function processing method and device, equipment and a storage medium. The method comprises the steps: in a target dependency library, determining a first position corresponding to a name of the target dependency library, determining a second position corresponding to a field type of a field to which the name belongs, and determining a third position corresponding to the name of a target dependency function; and replacing the character string at the first position with the name of a preset dependency library, replacing a value of a d_tag member in the structural body at the second position with a DT_NEEDED identifier, and replacing the character string at the third position with the name of a preset dependency function. Based on the static hook technology, the position needing to be adjusted in the target dependency library is determined, the content of the corresponding position is directly modified, and the dependency function in the target dependency library is processed. The processing of the dependency function is completed before the application program runs, so that the consumption of system resources during the running of the application program is avoided.

Description

technical field [0001] The present disclosure relates to the field of data processing, and in particular, to a processing method, device, device, and storage medium for dependent functions. Background technique [0002] At present, when there is an adjustment requirement for a dependent function of a dependent library, it is usually implemented based on the dynamic hook technology. Specifically, during the running of the application program, the target-dependent function in the target-dependent library is intercepted, and the preset dependent function is called, so as to realize the adjustment of the target-dependent function in the target-dependent library. [0003] However, the dynamic hook technology needs to execute a large number of hook methods every time the application program runs to adjust the dependent functions in the dependent library, which consumes a lot of system resources. Contents of the invention [0004] In order to solve the above-mentioned technical ...

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): G06F9/445G06F9/448
CPCG06F9/44578G06F9/449
Inventor 刘洪凯
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
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