Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for safely storing data and preventing Crash based on iOS NSDictionary

A technology for safe storage and data, applied in special data processing applications, instruments, character and pattern recognition, etc., can solve problems such as flashbacks and crashes, and achieve the effect of ensuring security, improving user experience, and preventing application crashes.

Pending Publication Date: 2021-09-03
武汉华莘科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In order to overcome the above-mentioned deficiencies in the prior art, the present invention provides a method and device based on iOS NSDictionary to securely store data and prevent crashes, so as to solve the problems that NSDictionary is prone to cause blank applications, crashes, and flashbacks when processing dirty data.

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 for safely storing data and preventing Crash based on iOS NSDictionary

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The technical solutions of the various embodiments of the present invention will be described below in conjunction with the accompanying drawings, which is apparent from the description, and the exemplary embodiments are merely the embodiments of the present invention, not all of the embodiments. Based on embodiments of the present invention, there are all other embodiments obtained without making creative labor without making creative labor.

[0037] In one aspect, the present invention provides a method based on iOS NSDictionary security storage data to prevent Crash, and adds a dirty data processing function, rewrite the function pointer of the NSDictionary's native assignment function, so that the developer is rewriting the overlay system LOAD function. Without knowing the logic behind the logic, you can invoke the nsDictionary's native system assignment function and achieve the effect of security assignment storage, and ensure the security of the data, avoiding the app...

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 device for safely storing data and preventing Crash based on iOS NSDictionary, and the method comprises the steps of creating an NSDictionary classification file in a project project and adding the classification file, so that the coupling problem in the project can be solved to the greatest extent, and no influence is caused on the original project; rewriting and covering a system load function, adding a dirty data processing function and replacing a function pointer of a native system assignment function of the NSDictionary, so that a developer can call the native system assignment function of the NSDictionary without perception and achieve the effect of secure assignment storage under the condition that the developer does not know back processing logic at all, the data security is ensured, and the problems of application blank, collapse, flash back and the like caused when the NSDictionary processes the dirty data are avoided.

Description

Technical field [0001] The present invention relates to the field of IOS mobile application development techniques, and more particularly to methods for securely storeing data based on NSDictionary types based on iOS mobile application development, specifically a method and apparatus for preventing Crash based on iOS NSDictionary secure storage data. Background technique [0002] In iOS mobile application development, you need to store different types of data structures for different types of background data, where nsDictionary is the most commonly used data type in iOS mobile application development, based on its unique hash structure, with data The access speed is fast, the data structure is stable, and the memory occupies a small number of advantages. The NSDictionary data structure is widely used in iOS mobile application development. [0003] With the booming of mobile Internet, during the iOS mobile application development process, more and more data types need to process s...

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): G06F16/17G06K9/62
CPCG06F16/17G06F18/241
Inventor 苏威夏超伍仪强
Owner 武汉华莘科技有限公司