Qt-based file cache data control method and system
A technology for data control and file caching, applied in the computer field, can solve problems such as increasing the threshold for use, and achieve the effects of strong scalability, simple and fast development, and improved convenience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0037] Please refer to Figure 1 to Figure 2 As shown, a preferred embodiment of a Qt-based file cache data control method of the present invention includes the following steps:
[0038] Step S10, define an entity structure, and overload the operator function (QDataStream) of the entity structure;
[0039] Step S20, assigning the data to be cached to the entity structure;
[0040] Step S30, converting the data of the entity structure into stream data (QDataStream) based on the operator function, and obtaining corresponding byte data (QByteArray) based on the stream data;
[0041] Step S40 , saving the byte data as a cache file through the key, and encrypting the cache file for multiplexing by the cache operation.
[0042] The step S10 is specifically:
[0043] Define an entity structure, overload the stream input function and stream output function of the entity structure; the stream input function sets the input sequence through the operator ">>"; the stream output functio...
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