Compiling method and device

A compiling method and compiling technology, which are applied in the field of software program development, can solve the problems of wasting time and manpower in synchronous maintenance, long downloading and compiling time, and inconvenient uploading, etc., so as to improve maintenance work efficiency, save time, and simplify Effects of the process of compiling or porting

CN102402452BActive Publication Date: 2014-04-09SHENZHEN GONGJIN ELECTRONICS CO LTD
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2014-04-09

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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...

Examples

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] ...