发明名称 METHOD AND DEVICE FOR MONITORING APPLICATION
摘要 The invention discloses a monitoring method and a device for an application program. The method comprises the following steps of: adding a monitoring hook in a class file, wherein the monitoring hook is associated with a monitoring program; and invoking the monitoring program associated with the monitoring hook to monitor the application program when carrying out the monitoring hook of the class file, wherein codes of the monitoring program and the application program are in different class files, and the class files are independent from the class file containing the monitoring hook. According to the invention, problems of code complexity and higher maintenance cost in the prior art are solved by separating a service logic code from the monitoring program, and the maintenance cost and the complexity of the codes are lowered.
申请公布号 HK1174109(A1) 申请公布日期 2015.11.27
申请号 HK20130101052 申请日期 2013.01.24
申请人 ALIBABA GROUP HOLDING LIMITED 发明人 WANG, XINGYONG
分类号 G06F 主分类号 G06F
代理机构 代理人
主权项
地址