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

File processing method and device, computer equipment and storage medium

A processing method and file technology, applied in computing, software engineering design, electrical digital data processing, etc., can solve the problem of high error rate and achieve the effect of reducing error rate

Pending Publication Date: 2021-03-30
北京向上一心科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to provide a file processing method, device, computer equipment and storage medium, which are used to solve the technical problem of high error rate in the development process of application desktop language in the prior art

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 processing method and device, computer equipment and storage medium
  • File processing method and device, computer equipment and storage medium
  • File processing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] The embodiment of the present invention provides a kind of processing method of file, and the processing method of this file can be processed as an executable script, in the development process of application program desktop, when needing to configure the yaml file of desktop (or also can be other formats file), especially when it is necessary to convert the desktop language, first construct the record file corresponding to the translation, and after processing the record file through the script, the record file can be formed into a target file and stored in a specific folder. The desktop display program reads the target file under the specific folder, and realizes the display of the application desktop corresponding to the target file. Through this method, the error rate in the development process of the application desktop language can be reduced. Specifically, figure 1 A flow chart of the steps of the file processing method provided by Embodiment 1 of the present inve...

Embodiment 2

[0093] Embodiment 2 of the present invention provides a preferred file processing method, and some features and corresponding technical effects are the same as those in Embodiment 1 above. Reference may be made to Embodiment 1 above, and details will not be repeated here. In this embodiment, the record file includes records corresponding to parameters of different source files. By this method, records corresponding to the same source file can be written into the same target file, and records corresponding to different source files can be written into different target files. specifically, figure 2 A flow chart of the steps of the processing party of the file provided in Embodiment 2 of the present invention, such as figure 2 As shown, the file processing method provided by this embodiment includes the following steps S201 to S209.

[0094] Step S201: Obtain a record file.

[0095] Wherein, the record file includes a plurality of records, and the record includes the path of ...

Embodiment 3

[0115] Embodiment 3 of the present invention provides a preferred file processing method, and some features and corresponding technical effects are the same as those of Embodiment 1 above. Reference may be made to Embodiment 1 above, which will not be repeated here. In this embodiment, the record file includes records corresponding to the parameters of different source files. This method can improve the file processing speed and at the same time facilitate adding configurations to the configuration file. Specifically, image 3 The flow chart of the steps of the processing party of the file provided by Embodiment 3 of the present invention, such as image 3 As shown, the file processing method provided in this embodiment includes the following steps S301 to S313.

[0116] Step S301: Obtain a record file.

[0117] Wherein, the record file includes a plurality of records, and the record includes the path of the parameter, the key-value pair and the file information of different ...

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 processing method and device, computer equipment and a storage medium. The method comprises the steps of obtaining a record file; judging whether the Nth path in the Nthrecord is the same as the N1th path in the N1th record or not; if yes, splicing the key value pairs in the Nth record after the first number of hierarchical feature characters to generate spliced content; if not, judging whether the Nth path is empty or not; if not, taking the key value pair as the spliced content; if the key value pair is not empty, determining different levels of the Nth path and the N1 path, respectively splicing the different levels according to a sequence from small to large, and splicing the key value pair after splicing the different levels to generate spliced content;and writing the spliced content into the target file. By means of the method and device, repeated work can be avoided, and the error rate in the application program desktop language development process can be reduced.

Description

technical field [0001] The present invention relates to the technical field of file processing, in particular to a file processing method, device, computer equipment and storage medium. Background technique [0002] With the popularization of mobile terminals, client application programs running on mobile terminals are becoming more and more abundant. Among them, the client application program needs to provide a desktop for interacting with the user on the one hand, and a background program for interacting with the service area on the other hand. Compared with ini files and conf files, yaml files are more concise and easier to operate. At the same time, different types of data can be stored without changing the original data type. All data types will be output as they are when read. and other characteristics, in the development process of the application desktop, the yaml file is often used as the configuration file. [0003] Further, the inventor found that in the develop...

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): G06F8/38G06F8/33
CPCG06F8/38G06F8/33
Inventor 长孙丹凤胡明
Owner 北京向上一心科技有限公司