Object management method and device

An object management and object technology, applied in program control devices, execution paradigms, etc., can solve problems such as system crash, object function error search, wild pointer crash, etc., to ensure normal operation and avoid crash problems.

Active Publication Date: 2018-06-08
GUANGZHOU KUGOU TECH
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The process of managing objects often faces the problem of wild pointer collapse: when any object has been released, the pointer that refers to the object is called a wild pointer. If the terminal receives a message sending command carrying a wild po

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
  • Object management method and device
  • Object management method and device
  • Object management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050]The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0051] For ease of understanding, the concepts involved in the embodiments of the present disclosure are first explained below:

[0052] Class: refers to the data obtained by abstracting objects with the same data structure and function, and an instance of a class is an object.

[0053] Object: refers to the instance created by the class, which is the basic unit of the program. The object encapsulates functions and data inside, occupies a memory se...

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 an object management method and device and belongs to the technical field of terminals. The method comprises the steps that when a first object is released, an original type which is stored in an initial address memory space of the first object is replaced by a monitoring type, wherein the monitoring type is a type used for monitoring a message of the released first object;when a message sending command is received, the initial address memory space corresponding to a wild pointer carried by the message sending command is accessed, the monitoring type is obtained, wherein the wild pointer is a pointer which guides the first object and points to an initial address; the object of the monitoring type is determined, and a second object is obtained; the second object responds to the message which is carried by the message sending command. According to the object management method and device, the breakdown problem of the wild pointer is avoided, and then normal running of a terminal is guaranteed.

Description

technical field [0001] The present invention relates to the technical field of terminals, in particular to an object management method and device. Background technique [0002] In an operating system (such as IOS) built with an object-oriented programming language, the operating system and various applications use objects as basic units during operation. The terminal can create objects, and the objects can call functions to perform operations, for example, the music playing object calls the player function to play music, and the page drawing object calls the drawing function to draw the page, etc. [0003] The life cycle of an object can include the creation stage-application stage-release stage. In the creation stage, the terminal will allocate a certain length of memory segment in the memory for the object. The first address memory space in the memory segment (referring to the first address of the memory segment corresponds to The memory space) is used to store the class ...

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/448
Inventor 曹伟鹏谢导叶美华
Owner GUANGZHOU KUGOU TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products