File compiling method and device
A compiling method and file technology, which is applied in the computer field, can solve the problems of consuming system resources and long compiling time of source program code, and achieve the effect of saving time and improving speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0047] see figure 1 , which is the flow chart of the first embodiment of the application file compilation method:
[0048] Step 101: Divide the source file to be compiled into a data file and a logic file.
[0049] When this embodiment is applied to an embedded system, the data in the data file is hexadecimal data converted according to the array syntax.
[0050] Step 102: Directly assemble and transform the data files according to the preset compilation rules to generate intermediate data files.
[0051] Wherein, the assembly rule may be saved by a script file written in advance, for example, a script file written in Perl language.
[0052] Specifically, analyze the data file, obtain the length of the original data in the data file, output the beginning part of the assembly file according to the content of the data file, output the data part in the data file according to the format of the assembly file, and output the part of the assembly file according to the content of th...
no. 1 example
[0128] see image 3 , which is the block diagram of the first embodiment of the document compiling device of the present application:
[0129] The file compiling device includes: a segmentation unit 310 , a conversion unit 320 , a compiling unit 330 and a merging unit 340 .
[0130] Wherein, the segmentation unit 310 is used to divide the source file to be compiled into a data file and a logic file;
[0131] A conversion unit 320, configured to directly perform compilation conversion on the data file according to a preset compilation rule to generate an intermediate data file;
[0132] Compiling unit 330, configured to compile the logic file to generate an intermediate logic file;
[0133] The merging unit 340 is configured to merge the intermediate data file and the intermediate logic file to generate a target file.
no. 2 example
[0134] see Figure 4 , which is a block diagram of the second embodiment of the document compiling device of the present application:
[0135] The file compiling device includes: a saving unit 410 , a splitting unit 420 , a converting unit 430 , a compiling unit 440 and a merging unit 450 .
[0136] Wherein, the saving unit 410 is used to pre-save a script file written according to the compilation rules of the data file, and the script file is used to compile and convert the data file;
[0137] A segmentation unit 420, configured to divide the source file to be compiled into a data file and a logic file;
[0138] A conversion unit 430, configured to directly perform compilation conversion on the data file according to a preset compilation rule to generate an intermediate data file;
[0139] Compiling unit 440, configured to compile the logic file to generate an intermediate logic file;
[0140] The merging unit 450 is configured to merge the intermediate data file and the i...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com