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

SKL system file format conversion method and system

A format conversion and system file technology, applied in the Internet field, can solve the problems of long processing time, prone to errors, time-consuming and labor-intensive, etc., to achieve the effect of convenient and reliable accuracy, improve the efficiency of format conversion, and reduce costs

Active Publication Date: 2020-07-24
北京东方金信科技股份有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, if the imported file is in another format, it needs to be manually converted to a recognizable format such as txt, which is complicated, time-consuming, and prone to errors
In addition, the file format conversion method in the prior art usually needs to establish a tree-like relationship diagram every time, and the establishment of a tree-like relationship diagram requires multiple traversals of the data in the file. For a lot of data and complex structural relationships, it can be divided into Many levels of data, long processing time

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
  • SKL system file format conversion method and system
  • SKL system file format conversion method and system
  • SKL system file format conversion method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] A kind of SKL system file format conversion method, such as figure 1 shown, including the following steps:

[0022] S1. The original file includes txt format file and XML format file, judge whether the format of the original file meets the requirements of the SKL system, if the original file is txt, it can be directly output without conversion, if it does not meet the SKL system, enter S2. In this embodiment, the original file format is XML format, and the file in the format that the SKL system can recognize is a txt format file or a CSV format file. But it can also be used for conversion between other files.

[0023] S2. Arranging the data in the original file into a tree-like relational diagram. Such as figure 2 As shown, the process of arranging the data in the original file into a tree-like relational graph is:

[0024] S2.1 Acquire data, each data includes two codes, one is the first code representing itself, and the other is the second code representing the d...

Embodiment 2

[0033] In this embodiment, the technical solution is basically the same as in Embodiment 1, the difference is that:

[0034] Such as image 3 As shown, the method of arranging the data in the original file into a tree-like relational graph is:

[0035] Pass the loaded original file through the cleaning module to filter out the special characters in the original file.

[0036] S3.1 divides the original file into several data nodes, and distinguishes the first-level nodes.

[0037] S3.2 Distinguish the sub-nodes of one of the first-level nodes by regular expressions, and obtain the node tree of the first-level nodes;

[0038] The method to obtain the node tree of the first level node is:

[0039] S3.2.1 Divide child nodes into self-closing child nodes and non-self-closing child nodes;

[0040] S3.2.2 Recursively screen all sub-nodes, and judge whether the sub-node is a self-closing sub-node. Mark the identifier after the node. When recursive filtering is performed, if the ide...

Embodiment 3

[0047] Based on the same inventive concept, this embodiment discloses a SKL system file format conversion system, such as Figure 4 shown, including:

[0048] Judgment module, used to judge whether the format of the original file meets the requirements of the SKL system, if it does not meet the requirements of the SKL system, enter the tree relationship module;

[0049] A tree-like relationship module, used to arrange the data in the original file into a tree-like relationship diagram;

[0050] The parsing conversion module is used to generate the original format file template and the converted format file template, respectively establish the first corresponding relationship and the second corresponding relationship between the original format file template and the converted format file template and the tree relationship diagram; according to the first The corresponding relationship and the second corresponding relationship generate the third corresponding relationship betwee...

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 relates to an SKL system file format conversion method and system. The method comprises the following steps: S1, judging whether the format of an original file meets the requirements ornot, and entering S2 if the format of the original file does not meet the requirements; s2, arranging the data in the original file into a tree-shaped relation graph; s3, generating an original formatfile template and a converted format file template, and respectively establishing a first corresponding relation and a second corresponding relation between the original format file template and thetree relation graph; s4, generating a third corresponding relation between the data position in the original format file template and the data position in the converted format file template accordingto the first corresponding relation and the second corresponding relation; and S5, converting the original file into an original format file template, and converting the original file into a file meeting the format requirement of the SKL system according to the corresponding relationship. By introducing the analysis conversion module, a common file format is automatically converted into a file ina format which can be recognized by an SKL system, so that the method is convenient, reliable and high in accuracy. The format conversion efficiency is improved, and the manual conversion cost is reduced.

Description

technical field [0001] The invention relates to an SKL system file format conversion method and system, and belongs to the technical field of the Internet. Background technique [0002] The data access and management system (SKL system) is an automatic analysis and import system, which can automatically identify files and import data into distributed databases through certain rule analysis. However, the existing SKL system can only recognize files in a specific format, and does not support parsing and importing files in other formats. Therefore, if the imported file is in another format, it needs to be manually converted to a recognizable format such as txt, which is complex, time-consuming and labor-intensive, and prone to errors. In addition, the file format conversion method in the prior art usually needs to establish a tree-like relationship diagram every time, and the establishment of a tree-like relationship diagram requires multiple traversals of the data in the file...

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): G06F16/25G06F16/27G06F40/151
CPCG06F16/258G06F16/27Y02D10/00
Inventor 赵宇
Owner 北京东方金信科技股份有限公司