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

Method and device of capturing system message on IOS (Internetwork Operating System) platform

A system message and platform technology, applied in the field of communication, can solve problems such as heavy workload and error-prone, and achieve the effect of improving accuracy and reducing workload

Active Publication Date: 2013-01-30
BEIJING GRIDSUM TECH CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a method and device for capturing system messages on the IOS platform to solve the problems of heavy workload and error-prone problems caused by adding a large amount of codes when capturing system messages on the IOS platform in the related art. No effective solution has been proposed so far. Program

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 device of capturing system message on IOS (Internetwork Operating System) platform
  • Method and device of capturing system message on IOS (Internetwork Operating System) platform
  • Method and device of capturing system message on IOS (Internetwork Operating System) platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] A method for capturing system messages on the IOS platform is provided in this preferred embodiment, figure 1 A preferred flowchart showing the method, as figure 1 As shown, the method includes the following steps:

[0027] S102. Obtain the method body pointed to by the pointer of the api currently required to be executed, wherein the method body pointed to by the pointer includes the following logic: calling the api itself and recording the occurrence status of the api currently required to be executed; specifically, before executing the api , point the system message api pointer to be monitored to the above-mentioned custom method.

[0028] S104, Execute the method body pointed to by the acquired pointer of the API currently required to be executed.

[0029] Specifically, when the above api method is called, since the pointer of the api points to the custom method, the custom method is executed, that is, the logic of the api itself is called, and the occurrence of t...

Embodiment 2

[0039] On the basis of the above embodiment 1, this embodiment provides a device for capturing system messages on the IOS platform, figure 2 A preferred structural block diagram of the above-mentioned device is shown, as figure 2 As shown, the device includes: an acquisition unit 202, configured to acquire the method body pointed to by the pointer of the api currently required to be executed, wherein the method body pointed to by the pointer includes the following logic: calling the api itself and recording the method body of the api currently required to be executed Occurrence state: the execution unit 204 is connected to the acquisition unit 202 and is used to execute the method body pointed to by the pointer of the api currently required to be executed acquired by the acquisition unit.

[0040] In the preferred implementation above, the pointer of the system method api to be monitored is set to point to a custom method, wherein the custom method contains the following log...

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 a device of capturing a system message on an IOS (Internetwork Operating System) platform. The method comprises the following steps of: acquiring a method body pointed by a pointer of an api (application programming interface) which is currently needed to be executed, wherein the method body pointed by the pointer comprises the following logics of: calling the api self, and recording an occurred state of the api which is currently needed to be executed; and executing the acquired method body pointed by the pointer of the api which is currently needed to be executed. With the adoption of the method and the device, the problems of large workload and easiness in errors due to the addition of a great amount of codes when the IOS platform captures the system message in the correlation technology are solved, the workload of capturing the system message is reduced, and the accuracy is further improved.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for capturing system messages on an IOS platform. Background technique [0002] With the development of communication technology, the IOS system is becoming more and more familiar. In the IOS system, the system message can be simply understood as a method call, which refers to the call initiated by the IOS operating system or app (application, third-party application program). API (Application Programming Interface, application programming interface) method call exposed by the operating system. For example: when an object is created, the iOS operating system will call the init method of NSObject, and this call is called a system message. In the IOS system, capturing messages is very important for app behavior monitoring. To accurately detect app behavior, it is necessary to capture some key system messages and record them. [0003] In the existing technology, the g...

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): G06F9/44
Inventor 王海
Owner BEIJING GRIDSUM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products