Power consumption anomaly positioning method and device, computer device, and storage medium

By instrumenting power consumption information and calling parameters in the application, and combining a two-layer positioning method, the problem of inaccurate power consumption anomalies in existing technologies is solved, and fast and accurate power consumption anomaly positioning and optimization are achieved.

CN115934534BActive Publication Date: 2026-06-09CHINA CONSTRUCTION BANK +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA CONSTRUCTION BANK
Filing Date
2022-12-07
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Existing technologies cannot accurately and in real time locate abnormal power consumption in applications, making it impossible for developers to effectively optimize power consumption.

Method used

By instrumenting the application to obtain power consumption information of the target module of interest and the call parameters of system functions, and combining the call duration, number of times, and whether it shut down normally, a two-level localization is performed. First, the abnormal module is roughly located, and then the abnormal call function is precisely located.

Benefits of technology

It enables quick and accurate location of abnormal power consumption, providing developers with detailed power consumption references and supporting application optimization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115934534B_ABST
    Figure CN115934534B_ABST
Patent Text Reader

Abstract

The application relates to an abnormal power consumption positioning method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: obtaining power consumption information of a target attention module and calling parameters of a target system function based on target plugging of an application program; when it is determined that the target attention module has abnormal power consumption based on the power consumption information of the target attention module, the calling parameters of the target system function called by the target attention module are obtained; when it is determined that the target attention module has abnormal calling based on the calling parameters, the target system function of the target attention module is determined; and the power consumption reason of the target attention module is positioned according to the target system function of the abnormal calling. The method can accurately and quickly position the power consumption reason of the target attention module through two-layer positioning, and can provide a power consumption position reference for a developer of the application program.
Need to check novelty before this filing date? Find Prior Art