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

Project file processing method and device

A technology of project files and processing methods, which is applied in the field of project file processing and project file processing devices, can solve the problems of low efficiency and error-prone hard-coded replacement, and achieve the effects of enhancing continuity, improving efficiency, and ensuring effectiveness

Pending Publication Date: 2021-09-17
NETEASE HANGZHOU NETWORK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present invention provide a project file processing method, device, electronic device, and computer-readable storage medium to solve or partially solve the problem of low efficiency and easy hard-coded replacement in the development process of project files in the prior art. wrong question

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
  • Project file processing method and device
  • Project file processing method and device
  • Project file processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0076] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0077] As an example, in computer programs or text editing, hardcoding refers to the method of replacing a mutable variable with a fixed value in such a way that subsequent modification of the variable becomes difficult. In this regard, a corresponding resource file is provided in the project file, which is used to define a fixed value as a tag and store it centrally. Use this special tag to replace the variable name. When the tag name changes, the variable name remains unchanged. If necessary Re-edit the entire program, since all variables are no longer fixed values, it is easy to achieve the purpose of changing variables.

[0078] In the process of project development, due to the need to complete a large amount of data docking a...

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 embodiment of the invention provides a project file processing method and device, and the method comprises the steps: obtaining a project source code of a project file and a file format corresponding to the project source code; then extracting an initial hard code from the project source code based on the file format; acquiring target identification information corresponding to the initial hard code and a project source code position in the project source code; then writing a mapping relation between the initial hard code and the target identification information into a preset resource file according to the project source code position, so as to update the resource file and ensure the effectiveness of the resource file; and updating the initial hard code of the initial project file according to the preset replacement information and the target identification information to generate the target project file. The hard code in the project file can be replaced in the project development process, additional operation in the development process is reduced, the hard code replacement efficiency is improved, hard code replacement does not need to be interrupted in the editing process, and the continuity of source code editing is enhanced.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a project file processing method and a project file processing device. Background technique [0002] In computer programming or text editing, hardcoding refers to the method of replacing a variable variable with a fixed value. It is more difficult to modify such variables when the program edited in this way (refers to hard coding). In this regard, a corresponding resource file can be provided in the project engineering file to define a fixed value as a tag and store it centrally. Use this special tag to replace the variable name. When the tag name changes, the variable name remains unchanged. When re-editing the entire program, all variables are no longer fixed values, so as to achieve the purpose of changing variables. However, due to the need to complete a large amount of data docking and front-end display work in project development, the application may contain a lot...

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): G06F40/166G06F40/126
CPCG06F40/166G06F40/126Y02P90/30
Inventor 宋思亭
Owner NETEASE HANGZHOU NETWORK
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