Check patentability & draft patents in minutes with Patsnap Eureka AI!

File type identification method and device

A technology of file type and recognition method, applied in the field of file recognition, can solve the problem of low accuracy rate, achieve the effect of improving accuracy rate and reducing the probability of misjudgment

Active Publication Date: 2016-07-27
TCL CORPORATION
View PDF1 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and device for identifying file types, aiming to solve the problem of low accuracy in identifying file types in existing methods

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
  • File type identification method and device
  • File type identification method and device
  • File type identification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] figure 2 A flow chart of a file type identification method provided in the first embodiment of the present invention is shown, which is described in detail as follows:

[0027] Step S21, determining the initial value of the file type of the file.

[0028] Wherein, the step S21, determining the initial value of the file type of the file, specifically includes:

[0029] A1. Obtain the file extension and / or MIME type of the file.

[0030] A2. Determine the initial value of the file type of the file according to the file extension and / or MIME type.

[0031] Among the above-mentioned A1~A2, the file type of the file can be initially determined according to the suffix name of the file, or the file type of the file can be initially determined according to the Multipurpose Internet Mail Extensions (MultipurposeInternetMailExtensions, MIME) type, or, can be preliminarily determined according to the suffix name of the file and the MIME type Determine the file type of the file...

Embodiment 2

[0062] Figure 6 A structure diagram of a file type identification device provided by the second embodiment of the present invention is shown, and the file type identification device can be applied to various smart devices. The smart device may include user equipment communicating with one or more core networks via the radio access network RAN, the user equipment may be a mobile phone (or called a "cellular" phone), a computer with a mobile device, etc., for example, The user equipment may also be a portable, pocket, handheld, computer built-in, or vehicle-mounted mobile device that exchanges voice and / or data with the radio access network. For another example, the mobile device may include a smart phone, a tablet computer, a personal digital assistant PDA, a sales terminal POS, or a vehicle-mounted computer. For ease of description, only parts related to the embodiments of the present invention are shown.

[0063] The file type identification device includes: a file type pr...

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 is suitable for the field of file identification, and provides a file type identification method and device. The method comprises the following steps: determining the initial value of the file type of a file; according to and obtained file size, the initial value of the determined file type and a pre-established file characteristic value model, determining the metadata size value of the file, wherein the metadata of the file comprises the keyword of an identification file type; extracting metadata which has the size with the metadata of the determined file in the file; and identifying the extracted metadata, and judging a final value of the file type to which the file belongs according to an identification result. The embodiment of the invention can improve the accuracy of file type identification.

Description

technical field [0001] The embodiments of the present invention belong to the field of file identification, and in particular relate to a method and device for identifying file types. Background technique [0002] With the continuous development of society, the penetration rate of various smart devices (such as smart phones, tablet computers, smart home appliances, etc.) is getting higher and higher. These smart devices usually have home entertainment functions, such as sharing photos, listening to music, watching movies and so on. When the smart device realizes the home entertainment function, various media files need to be processed, for example, the type of the media file needs to be determined, and an application program corresponding to the type of the media file needs to be invoked to open it. However, if the file type is identified incorrectly, the calling application will not be able to open the media file normally, which may cause an error or cause the application ...

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
IPC IPC(8): G06F17/30
Inventor 徐隽
Owner TCL CORPORATION
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More