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

A routing construction automation method based on a programming language and an electronic device

A programming language and routing technology, applied in the computer field, can solve problems such as inability to iterate some functions and low efficiency of path comparison

Active Publication Date: 2019-02-12
SHENZHEN DIANMAO TECH CO LTD
View PDF17 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above deficiencies in the prior art, the purpose of the present invention is to provide a programming language-based routing construction automation method and electronic equipment, aiming to solve the problems in the prior art such as low efficiency of path comparison and inability to iterate some functions

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
  • A routing construction automation method based on a programming language and an electronic device
  • A routing construction automation method based on a programming language and an electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention provides a programming language-based routing construction automation method and electronic equipment. In order to make the purpose, technical solution and effect of the present invention clearer and clearer, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0038] see figure 1 , figure 1 It is a flow chart of a preferred embodiment of a programming language-based routing construction automation method of the present invention, which includes steps:

[0039] S1, open the folder monitoring, monitor the specified folder;

[0040] S2. When the renaming event is detected, all files in the specified folder are obtained, and the file path of each file is mapped to an absolute path;

[0041] S3. Traverse all files, filter out all files with the extension .vue, generate a file set Arr-M...

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 routing construction automation method based on a programming language and an electronic device, wherein the method comprises the following steps of A opening a folder monitoring and monitoring a designated folder; B when that rename event is monitored, obtaining all file in the designated folder, and mapping the file paths of each file to absolute paths; C traversing allthat files, filtering out all the files with the extension of. Vue, and generating a file set Arr-Match, and converting the file paths in the file set into relative paths; D reading the output file,judging whet there is routing information with the same name and different file paths between the output file and the file set, and if so, replacing the relative path with the absolute path. The monitor file is changed, the invention automatically detect the change and packages after each packaging aft the file is added or modified, and when the path is changed, the path is replaced, thereby completing partial function iteration to a certain extent.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a programming language-based route construction automation method and electronic equipment. Background technique [0002] Vue.js is a progressive framework for building data-driven web interfaces. The goal of Vue.js is to implement responsive data binding and combined view components through an API as simple as possible. It is not only easy to use, but also easy to integrate with third-party libraries or existing projects. [0003] In the modular development used by the existing Vue framework, every time a module is added or modified, the routing path and import path need to be re-modified, and each comparison of paths will waste development time. [0004] At the same time, in the existing Vue packaging process, if the routing file changes, the main file will also change, and some functional iterations cannot be performed. [0005] Therefore, the prior art still needs to be i...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06F8/34
CPCG06F8/31G06F8/34
Inventor 李天驰孙悦
Owner SHENZHEN DIANMAO TECH 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