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.
CN112506874APending Publication Date: 2021-03-16福建福讯人才服务有限公司

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
福建福讯人才服务有限公司
Publication Date
2021-03-16

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention provides a Qt-based file cache data control method and system in the technical field of computers, and the method comprises the following steps: S10, defining an entity structure, and reloading an operator function of the entity structure; s20, assigning data to be cached to the entity structure; s30, converting the data of the entity structure into streaming data based on an operator function, and obtaining corresponding byte data based on the streaming data; and S40, storing the byte data as a cache file, and encrypting the cache file. The invention has the advantage that the convenience of file caching is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of computer technology, in particular to a Qt-based file cache data control method and system. Background technique

[0002] At present, common cache databases include relational databases such as MySQL and Oracle, and non-relational databases such as Redis. They have the advantages of good performance, free and open source, but the disadvantage is that they need to install services. The prerequisite for users to use the product is to install the database. Increased the threshold of product use.

[0003] SQLite, a file-type database that does not require the installation of services, is most suitable as a client-side cache database, but when caching complex objects or adding a new cache object, it cannot be cached through key-value as easily as Redis database, but needs Write complex SQL statements.

[0004] Therefore, how to provide a Qt-based file cache data control method and system to improve the convenience of ...

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