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

Form design and read method of picture resource bundles

A resource pack and picture technology, applied in the embedded field, can solve the problems of impractical acquisition and reading of picture file resources, complex resource pack format, slow reading speed, etc., achieve fast reading speed, simple packaging format, reduce The effect of usage

Active Publication Date: 2013-06-05
FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The format of the resource package of this invention is relatively complicated; its data index table is generated and written into the package when classifying, numbering, and indexing resource data. Since the data index table is stored in the package, the resource package is relatively large. It takes up a lot of resources, and the reading speed is relatively slow; and when it is used on the target machine, the data index table needs to be read, so the data index table is static and not flexible
Therefore, the multi-type resource management method of this invention is not practical for the acquisition and reading of image file resources in KTV

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
  • Form design and read method of picture resource bundles
  • Form design and read method of picture resource bundles

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Please refer to figure 1 and figure 2 As shown, the format design and reading method of the picture resource package of the present invention, wherein:

[0020] The format design method of the picture resource package includes the following steps:

[0021] Step 10, the picture resource package includes information of a plurality of picture files, and the information of the picture files includes picture file name information, picture file size information and picture file data information, etc.;

[0022] Step 11, the information of each image file is combined and packaged into the image resource package according to the image file name information \0, image file size information, image file data information, and any order of these three information; as shown in Table 1 is In the preferred format of a picture resource pack in this embodiment, the \0 is the terminator of the picture file name information; the picture file size information occupies 4 bytes of space in t...

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 provides a form design and a read method of picture resource bundles. The form design method of the picture resource bundles includes the step of packaging information of every picture file into picture resource bundles according to the sequence of picture filename information, picture file size information and picture file data information. The read method of the picture resource bundles includes the steps of setting up an index table, obtaining the information of every picture file in the picture resource bundles and the initial positions of the corresponding picture file data information in the picture resource bundles, and storing the information in the index table; when reading the information of a certain picture file in the picture resource bundles, according to the picture filename information in the information of the picture file, researching the index table, and according to the initial positions of the picture file data information in the index table, researching the corresponding initial positions of the picture file data information in the picture resource bundles. The speed of reading the picture file resources is high, and utilization amount of a device memory is greatly reduced.

Description

【Technical field】 [0001] The invention relates to the field of embedded technology, in particular to a format design and reading method of a picture resource package. 【Background technique】 [0002] Acquisition and reading of image files is an important function of the KTV application. The KTV application program needs to obtain image resources such as singer head portraits from different media storage bodies as local resources of the KTV application program. The current image resources are often packaged into a package format, which is convenient for KTV programs to obtain. [0003] At present, there are mainly two schemes for reading resource packs: 1. Decompress the picture pack and place it in the memory. When accessing a certain picture resource, it will go to the memory to obtain the resource. 2. Decompress the picture package and place it in the external storage. When accessing a certain picture resource, it will go to the external storage to obtain the resource. A...

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): G06F17/30
Inventor 林育英张文宇朱丽珍陈节省
Owner FUJIAN STAR NET EVIDEO INFORMATION SYST CO LTD