Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method, device and equipment for analyzing front-end code by using label

A target code and label technology, applied in the field of front-end code analysis using labels, can solve the problems of separation, inclusion, and inability to achieve front-end and back-end.

Pending Publication Date: 2021-05-04
BEIJING GRIDSUM TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the newly developed system framework, in the design process, complete separation of the front and back ends has been considered, but in the process of framework implementation, some functions cannot be completely separated from the front and back ends, such as the background in the system plug-in of the framework Manage plug-ins. In the background, managing plug-ins involves generating the left menu and replacing codes containing non-backend languages, such as js and vue codes. Since complete isolation cannot be achieved, part of the back-end code will be mixed with part of the front-end code logic. , so there is an urgent need for a solution to parse the nested front-end code logic in the back-end code

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
  • Method, device and equipment for analyzing front-end code by using label
  • Method, device and equipment for analyzing front-end code by using label
  • Method, device and equipment for analyzing front-end code by using label

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0043] figure 1 A schematic flowchart of a method for parsing front-end codes using tags provided in the embodiment of this application, as shown in figure 1 As shown, the method includes:

[0044] S11. Obtain the label in the target code, wherein the target code is the code to be parsed for providing services for the front-end interf...

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 method, device and equipment for analyzing a front-end code through a label. The method comprises steps that the label in a target code is obtained, the target code is a code to be analyzed and used for providing service for a front-end interface, and the label in the target code is a symbol used for distinguishing a code segment in the target code; the target code is split through a label in the target code, a code segment set is obtained, and the code segment set comprises a plurality of first code segments obtained by splitting the target code; the first code segment in the set is analyzed, a second code segment is obtained, and a running result of the second code segment is used for being displayed on the front-end interface. According to the method, the nested front-end codes are analyzed by using the rear-end labels, so a problem that the front-end codes mixed in the rear-end codes cannot be analyzed is solved, and the analyzed codes can be rendered by a browser.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a method, device and equipment for parsing front-end codes using tags. Background technique [0002] In computing programming, there are many programming languages. According to the division of responsibilities, it can be divided into two aspects: front-end and back-end. The front-end completes the interface and presents related work content, which may include various aspects such as theme, layout, style, and form of expression. , the work of the back-end is generally to provide interfaces and data for the front-end. It is often used in the process of framework development, and the front-end and back-end are usually used for separate development. This benefit is conducive to the decoupling of different coders before. The end is written in that language. In the newly developed system framework, in the design process, complete separation of the front and back...

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/41
CPCG06F8/427
Inventor 徐和银
Owner BEIJING GRIDSUM TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More