Code combination method and apparatus

A code and code base technology, applied in the field of code merging, can solve the problem of low efficiency of code merging, and achieve the effect of improving efficiency, saving time and manpower, and avoiding patch omission

Inactive Publication Date: 2017-07-07
NEUSOFT CORP
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of the above problems, the present invention provides a method and device for code merging to solve the problem of low efficiency of existing code merging

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
  • Code combination method and apparatus
  • Code combination method and apparatus
  • Code combination method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0020] In order to solve the problem of low efficiency of existing code merging, the embodiment of the present invention provides a code merging method, such as figure 1 As shown, the method includes:

[0021] 101. Obtain a patch file corresponding to the code base to be modified.

[0022] Before obtaining the patch file corresponding to the code base to be modified, it is first necessary to obtain the code base to be modified. U...

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 code combination method and apparatus, relates to the technical field of data processing, and solves the problem of low code combination efficiency at present. The method comprises the steps of obtaining patch files corresponding to a to-be-modified code library; searching for directory files corresponding to the patch files in the to-be-modified code library; and combining codes in the patch files with codes in the corresponding directory files according to a submitting time sequence of the patch files, thereby obtaining a modified code library. The code combination method and apparatus is applied to a process of combining a large amount of codes.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for code merging. Background technique [0002] In the development of Android Android projects, scenarios of Android platform upgrades or other code mergers are often encountered. For the above scenario, it is usually necessary to merge the patch file with the code base to be modified. For example, for the upgrade of the Android platform, after upgrading from a lower version to a higher version, the previous modification on the platform needs to be The code is migrated to the new version. At present, the common practice is that engineers re-modify in the new code base corresponding to the higher version. Specifically, the patch (modified code file) is merged into the new code base to complete the code migration. The specific merge process In order to obtain the patch file by inputting the code command, and then merge the code by entering the code com...

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): G06F9/44
Inventor 宋杨刘德启
Owner NEUSOFT CORP
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