Data monitoring method of non-intrusive App and terminal
The invention provides a non-intrusive App data monitoring method, which comprises the steps that an original method needing to be monitored is acquired through a runtime library, and the original method is one or more of an original instance method or a static method in an APP; obtaining a method n...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
09.09.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a non-intrusive App data monitoring method, which comprises the steps that an original method needing to be monitored is acquired through a runtime library, and the original method is one or more of an original instance method or a static method in an APP; obtaining a method name of the original method and a pointer pointing to the original method; obtaining a method signature in the original method through the method name; calling the method signature in a preset monitoring method to obtain a method with monitoring for monitoring an original method, wherein the method with monitoring comprises the original method and a monitoring method for monitoring the original method; obtaining a pointer pointing to the method with monitoring; exchanging pointers of the original method and the method with monitoring in the replacement method; and calling the method with the monitoring function when the APP runs, and uploading data generated by monitoring in the method with the monitoring function t |
---|---|
Bibliography: | Application Number: CN202210682499 |