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

Method and system for positioning fault of application program in Mac OS system

An application and fault location technology, applied in the fields of instruments, electrical digital data processing, computing, etc., can solve the problem that application faults cannot be accurately located, and achieve the effect of improving user experience, comprehensive functionality, and improving effect.

Active Publication Date: 2017-01-04
BEIJING BAOFENG TECH
View PDF8 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In view of this, the present invention provides a method and system for locating application program faults in the Mac OS system, which solves the problem in the prior art that application program faults in the Mac OS system cannot be accurately located and promptly fed back to developers

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 positioning fault of application program in Mac OS system
  • Method and system for positioning fault of application program in Mac OS system
  • Method and system for positioning fault of application program in Mac OS system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] Such as figure 1 As shown, it is a schematic flowchart of the method for locating application program faults in the Mac OS system described in this embodiment. In this embodiment, the location log information of an application error is intercepted in the Mac OS system, and sent to the application developer so as to locate the error and analyze solutions to the application error. The steps of the method for application fault location in the Mac OS system described in this embodiment are as follows:

[0056] Step 101, setting that when the application program in the Mac OS system detects the fault log information, use message redirection to intercept the fault log information, and save the fault log information into the MacOS system according to a predetermined saving path The application is in a local sandbox.

[0057] The method of message redirection (Method swizzling) refers to changing the implementation process corresponding to an existing data selector. Accordin...

Embodiment 2

[0072] Such as figure 2 As shown, it is a schematic flowchart of the method for locating application program faults in the Mac OS system described in this embodiment. On the basis of Embodiment 1, this embodiment describes the location of adding logs in the application program on the Mac OS system and the specific content of updating the date. The method for application fault location in the Mac OS system described in this embodiment includes the following steps:

[0073] Step 201, install an application program on the Mac OS system, add a log to a predetermined location of the application program, record the running status of the application program through the log, and save the log to a local sandbox. The running state includes: the running state of the application program running normally, the application program crashing, the application program freezing, the application program playing abnormally, and the running time and running position corresponding to these running ...

Embodiment 3

[0084] Such as image 3 As shown, it is a schematic flow chart of a specific embodiment of the method for locating application program faults in the Mac OS system of the present invention. The method described in this embodiment includes the following steps:

[0085] Step 301, install the application on the Mac OS system, add a log to a predetermined location of the application, record the running status of the application through the log, and save the log to a local sandbox.

[0086] Step 302, on the Mac OS system, set the size of the log to be no more than 2M, sort the logs stored locally according to time, and obtain 5 logs from the back to the front according to the sorting order and save them locally. And delete more than one log; when there are no more than five logs, save the current log locally.

[0087] Step 303, detecting the running state of the application program, and judging whether the application program fails. The faults include: application program crashes,...

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 positioning the fault of an application program in a Mac OS system. The method includes: adding operation recording logs to the preset position of the application program in the Mac OS system, and saving the operation record logs in corresponding sand boxes according to recording time; when the fault of the application program in the Mac OS system during the operation process is detected, generating fault log information containing an application program fault position according to the operation record log and user information, using information redirecting to intercept the fault log information containing the application program fault position, and saving the fault log information into the sand boxes; receiving a request for processing the fault log information containing the application program fault position, and acquiring the fault log information containing the application program fault position from the corresponding sand boxes. By the method, the application program fault can be determined accurately.

Description

technical field [0001] The present invention relates to the technical field of application program fault location, and more specifically, to a method and system for application program fault location in a Mac OS system. Background technique [0002] The Mac OS system is a graphical operating system based on the Unix kernel. The Unix kernel can support multiple processor architectures, but due to issues such as permissions, it cannot be used on ordinary personal computers (PCs) Install the operating system. Installing an application in this system also needs to obtain the permission of the system first, and the developer of the application also needs to log in to the portal website of the Mac OS system to obtain management authority, so as to track and obtain all the software developed by the developer installed on the client. application. [0003] Under the existing Mac OS system, the crash log will only be generated when the application crashes, and the system will send t...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3636G06F11/3644G06F11/366
Inventor 王峰朱春明朱彦东张鹏宇
Owner BEIJING BAOFENG TECH
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