Method and device for making application, method and device for generating static library

A static library and call instruction technology, applied in the computer field, can solve problems such as conflicts and low efficiency of class name prefix replacement, and achieve the effect of avoiding static library conflicts and improving efficiency

Active Publication Date: 2018-10-02
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem of inefficient replacement of class name prefixes in the prior art, the embodiment of the present invention provides a static library generation method and an application production method, which can generate similar class name prefixes containing different class name prefixes for di

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
  • Method and device for making application, method and device for generating static library
  • Method and device for making application, method and device for generating static library
  • Method and device for making application, method and device for generating static library

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The embodiment of the present invention provides a method for generating a static library and a method for making an application, which can generate a static library of the same program code containing different class name prefixes for different service functions in the application during precompilation, avoiding static library conflicts To solve the problem, use the static library generated by this solution for application production, because there will be no static library conflicts, thereby improving the efficiency of application production. The embodiment of the invention also provides a corresponding device. Each will be described in detail below.

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention.

[003...

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 discloses a method for making an application. The method comprises: receiving a call instruction to call a target static library, the target static library being applied to at least twokinds of service functions of a to-be-made application; according to the call instruction, calling the target static library, the target static library including at least two sub-static libraries corresponding to the at least two kinds of service functions, the at least two sub-static libraries respectively including same kind program codes with different class name prefixes, the class name prefixin each sub-static library being configured according to the service function corresponding to each sub-static library in precompilation; adding the program codes of the at least two sub-static libraries to respective programs in corresponding service functions, to realize to make the to-be-made application. The method for making an application prevents a static library conflicting problem through using the static libraries including the same kind program codes with different class name prefixes, so as to improve efficiency of application making.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method for making an application, a method and a device for generating a static library. Background technique [0002] A static link library is a static library. The static link library is actually the compiled program code. The program code contained in the static library with similar functions in many applications is basically the same. In some cases, an application calls multiple static libraries with similar functions. There will be multiple identical program codes, resulting in static library conflicts. When static library conflicts occur, the class name prefix needs to be modified to avoid static library conflicts. [0003] The current method of modifying the class name prefix is ​​to traverse and read all the files called by the application to run, and then search for strings one by one. After searching for the class name prefix that needs to be modified, replace it. ...

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
IPC IPC(8): G06F8/41
CPCG06F8/41
Inventor 陈翔唐雨田
Owner TENCENT TECH (SHENZHEN) 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