Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

File repairing method and device

A file and technology to be repaired, applied in instruments, electrical digital data processing, computing, etc., can solve the problems of low recognition accuracy and high computational complexity

Active Publication Date: 2020-02-11
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the input of OCR is an image. Not only does it need to convert the file into an image to repair, but also the recognition accuracy is low and the calculation complexity is high.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the drawings, in which the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present disclosure and should not be construed as limiting the present disclosure.

[0060] The following describes the file restoration method and device according to the embodiments of the present disclosure with reference to the accompanying drawings.

[0061] figure 1 It is a schematic flowchart of a file repair method provided by an embodiment of the present disclosure. Such as figure 1 As shown, the file repair method includes the following steps:

[0062] Step 101. Obtain each character to be repaired in the missing character code in the file, and determine a vectorized representation of each cha...

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 file restoration method and device, and the method comprises the steps: obtaining each to-be-restored character of a missing character code in a file, and determining the vectorized representation of each to-be-restored character according to the font parameter of each to-be-restored character; searching the vectorization representation of the standard character matched with the vectorization representation of each character to be restored in the pre-stored vectorization representation of each standard character; and obtaining a target character code of the standard character corresponding to the vectorization representation of the matched standard character, and repairing each to-be-repaired character according to the target character code. Therefore, the vectorized representation of characters to be restored can be determined based on the glyph parameter; after the vectorization representation of standard characters matching the vectorization representationof each character to be restored is obtained, the characters to be restored can be automatically restored based on the character code of the matched standard character, and restoration processing efficiency and accuracy are improved.

Description

technical field [0001] The present disclosure relates to the technical field of file processing, in particular to a file repair method and device. Background technique [0002] In practical applications, some files cannot be copied or searched due to text information being damaged or removed. Currently, a common practice is to perform file restoration based on Optical Character Recognition (OCR). However, the input of OCR is a picture. Not only does it need to convert the file into a picture to repair, but also the recognition accuracy is low and the calculation complexity is high. Contents of the invention [0003] The present disclosure aims to solve one of the technical problems in the related art at least to a certain extent. [0004] Therefore, the first purpose of the present disclosure is to propose a file restoration method. [0005] The second purpose of the present disclosure is to propose a file restoration device. [0006] The third object of the present di...

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): G06F40/232G06F40/126
Inventor 张航
Owner BEIJING BYTEDANCE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products