Data processing method and device and electronic equipment
A data processing and data technology, applied in the computer field, can solve the problem that nested data cannot be read-only, and achieve the effect of ensuring read-only
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] The present invention will be further described below with reference to the accompanying drawings and in combination with preferred embodiments.
[0034] The inventors found that, after implementing a new data structure by inheriting python's dict, list, set, etc. in the prior art and then disabling the method that can modify each data structure, although the read-only data can be realized to a certain extent, but There is a problem that it can only implement shallow read-only, and cannot support read-only nested data; for nested data, the nested data can also be modified and the data will eventually be modified. For example, data={"k1":{}}, although data cannot be modified directly, but if temp=data["k1"], temp can be modified directly, such as after temp["k2"]=1 , the data content becomes data={'k1':{'k2':1}}. This modification will also cause program exceptions.
[0035] According to one embodiment of the present disclosure, a data processing method is provided. It...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com