Invention Grant
US09575780B2 Method and apparatus for generating executable file or multi-instance service
有权
用于生成可执行文件或多实例服务的方法和装置
- Patent Title: Method and apparatus for generating executable file or multi-instance service
- Patent Title (中): 用于生成可执行文件或多实例服务的方法和装置
-
Application No.: US14341337Application Date: 2014-07-25
-
Publication No.: US09575780B2Publication Date: 2017-02-21
- Inventor: Kai Liu , Shilin Pan , Miaofang Xia
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Priority: CN201310325803 20130730
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/445 ; G06F9/44 ; H04M1/725

Abstract:
The present invention relates to a method and an apparatus for generating an executable file of a multi-instance service. The method includes: performing compilation for a source file corresponding to a multi-instance service, to obtain a first-class object file, where the multi-instance service includes N instances, and N is a natural number greater than or equal to 2; performing an object copy of the first-class object file N−1 times, to obtain N−1 new first-class object files; and performing linking to the first-class object file and the N−1 new first-class object files, to generate an executable file. In the present invention, an executable file is generated by performing mirroring and linking processing for an object file obtained by compilation, thereby reducing a development cost and a maintenance cost of software source code.
Public/Granted literature
- US20150040109A1 METHOD AND APPARATUS FOR GENERATING EXECUTABLE FILE OR MULTI-INSTANCE SERVICE Public/Granted day:2015-02-05
Information query