Compiling method and device

A compiling method and compiling sub-technology, which are applied in the field of software program development, can solve the problems of time-consuming and labor-intensive synchronous maintenance, long downloading and compiling time, inconvenient uploading, etc., so as to improve maintenance work efficiency and simplify compilation or transplantation. Process, time-saving effect

Active Publication Date: 2012-04-04
SHENZHEN GONGJIN ELECTRONICS CO LTD
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the VTP architecture adopted is that all the codes of a project are stored in the same directory. Therefore, when compiling the codes in a new project, it is necessary to download all the codes before compiling, and the time for downloading and compiling is relatively long. ;When uploading the code, the content generated by the original code and the original file are in the same directory, so it is not convenient to upload; when the source code has been modified, and the same problem occurs in other projects, first find the previous modified content, and then merge the project code with the problem , the synchronous maintenance of the code is a waste of time and manpower; when there is a new project, the porting and integration of the previous code takes a long time, and because there is no unified rule, the porting is arbitrary, which increases the difficulty for users to understand

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] Embodiments of the present invention provide an encoding method and device for simplifying encoding content and encoding process. Each will be described in detail below.

[0013] In this embodiment, the VTP code framework is innovatively modified. For the convenience of description, the VTP in the modified prior art is named VTP1.0, and the VTP after the innovative modification is named VTP2.0. In VTP2.0 In the framework, the VTP1.0 code is completely independent, so that the porting and compiling code does not depend on the platform code at all. VTP2.0 frame structure includes VTP1.0 source code part and compiling configuration part.

[0014] see figure 1 , the compiling method in the embodiment of the present invention includes:

[0015] 101. When the voice platform terminal VTP code of a new project needs to be compiled, a project identity ID directory is established for each new project, and the project ID directory includes a compilation subdirectory;

[0016] ...

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 embodiment of the invention discloses a compiling method and a compiling device and is used for compiling voice terminal platform (VTP) codes to make the VTP codes applicable to a new project by only slightly revising during application to the new project. The method provided by the embodiment of the invention comprises the following steps of: when the VTP codes of the new project are required to be compiled, building a project identity (ID) catalog for each new project; building a default configuration file for each new project, and storing the default configuration file into a compiling sub-catalog, wherein the default configuration file is used for controlling compiling source codes; newly building a link catalog according to the ID of the new project in the default configuration file; compiling in a compiling catalog according to the default configuration file in the ID catalog of the new project; and after compiling is completed, installing runnable programs which are generated by compiling and configuration files which are required by the programs in a file system in a platform system.

Description

technical field [0001] The invention relates to the technical field of software program development, in particular to a compiling method and device. Background technique [0002] In order to adapt to multiple embedded hardware, VOIP (Voice over Internet Protocol) solution can compile VOIP images suitable for different hardware with the same source code through simple configuration, so that the same VOIP solution can be adapted to Different project needs, the VOIP solution mentioned here refers to the voice terminal platform (VTP, Voice Terminal Platform), VTP is just a module, does not include the kernel and file system, only the VOIP application program compiled by this module is put into the platform code in order to operate normally. [0003] In the prior art, the VTP architecture adopted is that all the codes of a project are stored in the same directory. Therefore, when compiling the codes in a new project, it is necessary to download all the codes before compiling, an...

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): G06F9/45
Inventor 路冠军李康养
Owner SHENZHEN GONGJIN ELECTRONICS CO LTD
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