Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for monitoring bottom-layer running performance of IOS application, medium and equipment

A technology for application operation and operation performance, applied in hardware monitoring, error detection/correction, instruments, etc., can solve the problems of inability to measure performance, inability to monitor IOS application operation status, etc., and achieve the effect of occupying less memory

Active Publication Date: 2018-06-22
WUHAN DOUYU NETWORK TECH CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the Instrument tool can only be used by programmers with application source code, so it must be connected to a computer, and it cannot measure the performance of the user in real usage scenarios, that is, it cannot effectively monitor the running status of the IOS application after the IOS application is released.

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
  • Method and system for monitoring bottom-layer running performance of IOS application, medium and equipment
  • Method and system for monitoring bottom-layer running performance of IOS application, medium and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] The embodiment of the present invention discloses a bottom-level running performance monitoring method of an IOS application:

[0042] Monitor the underlying running performance of IOS applications, including the CPU usage or memory usage occupied by the monitored IOS applications, including:

[0043] The CPU usage occupied by the monitored IOS application running includes:

[0044] Define the first Objective-C class, name it DYCpuMonitor, and implement its singleton loading, add the first notification observer to the first Objective-C class, use the notification observer to monitor the clock heartbeat notification, and serve as the first notification The observer is bound to the first calling method; when receiving the clock heartbeat notification, the first calling method is called to query the CPU usage of each thread of the current task when the IOS application is running, and accumulate the CPU usage of all threads of the current task when the IOS application is ru...

Embodiment 2

[0054] see figure 1 As shown, the embodiment of the present invention discloses a bottom-level running performance monitoring system of an IOS application, including:

[0055] The CPU usage monitoring module is used to define the first Objective-C class and implement its singleton loading, add a first notification observer to the first Objective-C class, and use the notification observer to monitor the clock heartbeat notification, And bind the first calling method for the first notification observer; when receiving the clock heartbeat notification, call the first calling method to query the CPU usage of each thread of the current task when the IOS application is running, and accumulate the current when the IOS application is running. The CPU usage of all threads of the task calculates the current CPU usage;

[0056] The memory usage monitoring module is used to define the second Objective-C class and implement its singleton loading, add a second notification observer to the ...

Embodiment 3

[0064] The embodiment of the present invention discloses a storage medium, where a computer program is stored on the storage medium, and a performance monitoring method for an IOS application is implemented when the computer program is executed by a processor.

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 discloses a method and system for monitoring the bottom-layer running performance of an IOS application, a medium and equipment, and relates to the technical field of IOS applications. According to the method, a class of an Objective-C is defined, a singleton of the Objective-C is loaded, and a notification observer is added in the class of the Objective-C, used for monitoring a clock heartbeat notification and bound with a method for obtaining a current CPU usage rate or a method for obtaining a current memory usage rate; when the clock heartbeat notification is received, the method for obtaining the current CPU usage rate is called to calculate the current CPU usage rate or the method for obtaining the current memory usage rate is called to calculate the current memory usage rate. Few codes are needed for developing the class of the Objective-C at an IOS mobile terminal, the occupied memory is also small during running, and therefore the scheme can effectively monitor the bottom-layer running performance of the IOS application of the mobile terminal after the IOS application is released on the mobile terminal.

Description

technical field [0001] The present invention relates to the technical field of IOS application, in particular to a method, medium, equipment and system for monitoring the underlying operation performance of IOS application. Background technique [0002] During the development of mobile applications, some performance bottlenecks may be encountered, such as program running freezes or memory cannot be released correctly, which cannot be well monitored or fed back. The general method is to connect the mobile phone to the computer, and use the Instrument tool included in Xcode (an integrated development tool on the MacOSX operating system) to monitor. The Instrument tool that comes with Xcode is a tool set that exists in the form of an independent APP and contains many powerful detection functions: including performance testing on real devices and simulators, performance analysis of APPs, and inspection of one or more applications or process behavior. The Instrument tool is mai...

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
IPC IPC(8): G06F11/30
CPCG06F11/302G06F11/3024G06F11/3051
Inventor 张骏张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More