File uploading and resolving method and device

A file uploading and parsing method technology, applied in the field of file uploading parsing methods and devices, can solve problems such as unsupported Chinese character parsing, and achieve a good parsing effect

Inactive Publication Date: 2017-03-22
BANK OF CHINA
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a file upload analysis method and device to solve the problem that the Tran

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0031] The analysis mechanism of the BFW transformer is to read the byte[] array in the inputStream (input data stream), and judge whether each byte (byte) is consistent with the byte value of the delimiter. After analysis, it is found that there are 2-bit byte[] in the byte value array of some Chinese characters, and the preceding and following byte values ​​may be equal to the value of the separator, which makes the BFW transformer unable to parse some Chinese characters. For example, the hexadecimal value of the word "shen" is "AB 7C", and the hexadecimal value "7C...

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 uploading and resolving method and device. The method comprises the following steps: receiving uploaded file data stream, and reading the file data stream; converting text body data in the read file data stream from an original coding format into a character coding format about a language, wherein the original coding format is different from the character coding format; and resolving the text body data of the character coding format according to a separator in the text body data of the character coding format, wherein a resolving result is used for displaying or processing information. Through adoption of the file uploading and resolving method and device, the uploaded file data stream is resolved according to the separator of the character coding format, so that a Chinese character resolution failure can be avoided.

Description

technical field [0001] The present invention relates to the technical field of file parsing components, in particular to a file upload parsing method and device. Background technique [0002] At present, the Transformer (converter) component of BFW (Bocsoft Frame Work, Microsoft framework) is used in the Bank of China system to analyze the uploaded files. BFW is a public analysis component for uploaded files developed based on JAVA language, which can provide comprehensive solutions for various difficulties in enterprise application development, such as multi-channel integration, user authority control, transaction processing, componentized asset management, third-party technology integration etc. [0003] However, online banking corporate users have reported that when using the ordinary salary payment function, errors may occur in the analysis of the uploaded batch files, resulting in the failure of account transactions. For example, the word "灰" in the uploaded file will...

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): H04L29/08G06F17/22
CPCG06F40/126H04L67/06
Inventor 王同庆崔晓军胡鹏
Owner BANK OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products