Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Code copying method and device, electronic equipment and computer readable storage medium

A technology for copying methods and codes, applied in computing, code compilation, program code conversion, etc.

Pending Publication Date: 2020-11-24
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present disclosure is to provide a code duplication method, a code duplication device, an electronic device, and a computer-readable storage medium, so as to overcome the problems of naming conflicts and mutual references between resources that may occur during the code duplication process at least to a certain extent

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 copying method and device, electronic equipment and computer readable storage medium
  • Code copying method and device, electronic equipment and computer readable storage medium
  • Code copying method and device, electronic equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus their repeated descriptions will be omitted.

[0039] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or mo...

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 relates to a code copying method and device, electronic equipment and a computer readable storage medium, relates to the technical field of software development, and can be applied to ascene of copying developed old version codes. The code copying method comprises the steps of obtaining an initial module file, wherein the initial module file comprises an initial code and an initialresource; executing copying operation on the initial module file, and storing the obtained target module file to a target storage position; copying the initial code to generate an intermediate code, and renaming the intermediate code to generate a target code; and obtaining an identifier comparison list between the initial module file and the target module file, and executing a rebinding operationon the target resource according to the identifier comparison list so as to bind the target code to the target resource. According to the invention, the possible naming conflict problem and resourcereference problem in the code copying process can be solved.

Description

technical field [0001] The present disclosure relates to the technical field of software development, and in particular, to a code duplication method, a code duplication device, electronic equipment, and a computer-readable storage medium. Background technique [0002] In game development, sometimes it may be necessary to create new functional logic based on some old version code. When the old version of the code has been able to run stably, but it is difficult to maintain and modify, you can copy the old function module code and modify it on the basis of the copied code. Using this method for code development can avoid modifying the subsequent functional logic and introducing new errors (bugs) to the old version of the module. [0003] When developing a game based on the Unity3D game development tool, since the Unity development project can include various types of resources such as picture resources, code resources, and prefabricated resources, when copying a function mod...

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/70G06F8/41A63F13/60
CPCG06F8/70G06F8/447G06F8/427A63F13/60
Inventor 郑卓伟
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products