Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Project code automatic optimization method and device, equipment and medium

A technology of automatic optimization and target optimization, applied in the direction of code compilation, program code conversion, software engineering design, etc., can solve the problems of low efficiency and high cost of project optimization

Pending Publication Date: 2021-03-19
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a project code automatic optimization method, device, computer equipment and media to solve the problem in the prior art that the project code is optimized by using ES6 deconstruction assignment syntax, resulting in high cost and low efficiency of project optimization

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 code automatic optimization method and device, equipment and medium
  • Project code automatic optimization method and device, equipment and medium
  • Project code automatic optimization method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts all belong to the protection scope of the present invention.

[0055] The project code automatic optimization method provided by the embodiment of the present invention can be applied in such as figure 1 In the application environment of , in which the terminal device communicates with the server through the network. The terminal device determines the project to be converted through the user's operation, wherein the deconstruction assignment conversion tool is installed in the project to be converted, and the ...

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 is applied to the field of artificial intelligence, relates to the field of block chains, and discloses a project code automatic optimization method and device, computer equipment and astorage medium. The method comprises the steps of determining a to-be-converted project, wherein a deconstruction assignment conversion tool is installed in the to-be-converted project, and obtaininga configuration file, wherein the configuration file comprises a root directory address of the to-be-converted project, determining whether the to-be-converted project supports a target optimization grammar, if the to-be-converted project supports the target optimization grammar, reading the root directory address in the configuration file through a deconstruction assignment conversion tool, and determining a to-be-deconstructed assignment file according to the root directory address, performing deconstruction assignment conversion on the to-be-deconstructed assignment file through a deconstruction assignment conversion tool so as to optimize the to-be-converted project. According to the method, a user can convert the to-be-deconstructed assignment file through the deconstruction assignment conversion tool without knowing the deconstruction assignment grammar of the ES6, so that automatic optimization of project codes is realized, and the project optimization efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of computer programming languages, in particular to a project code automatic optimization method, device, equipment and media. Background technique [0002] In the process of maintaining the front end of the project, it is often necessary to perform value operations on variables in the project code (including variables of object type and array type). object, and then use the object literal method to perform value operations; to obtain the value of the data in the array, you need to obtain the subscript value in the array first, and then use the arr[x] operation to obtain the corresponding value. This traditional value-taking operation is relatively complicated, which has a great impact on the maintainability and readability of the code. [0003] Use the ES6 specification-based destructuring assignment syntax to deconstruct and assign the variables of the project code, which can optimize the variable...

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/41G06F16/27
CPCG06F8/42G06F8/443G06F16/27
Inventor 黄康
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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
Eureka Blog
Learn More
PatSnap group products