A method, device, and storage medium for generating a route data

CN114625413BActive Publication Date: 2026-06-23HANGZHOU DBAPPSECURITY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HANGZHOU DBAPPSECURITY CO LTD
Filing Date
2022-03-28
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

In the routing configuration of micro-frontends, existing technologies require manual updates of routing data, resulting in high labor costs, large workload, and a high risk of errors, as well as insufficient controllability.

Method used

By obtaining the configuration file, parsing it into an abstract syntax tree, using a depth-first search algorithm to traverse and extract routing configuration information, generating the target abstract syntax tree, and performing data format conversion, routing data is automatically generated.

Benefits of technology

It reduces human intervention, decreases the complexity and error rate of data maintenance, and improves the accuracy and controllability of routing data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114625413B_ABST
    Figure CN114625413B_ABST
Patent Text Reader

Abstract

The application discloses a route data generation method and device, equipment and a storage medium, and the method comprises the following steps: acquiring a configuration file and determining a route file entry in the configuration file to obtain relevant codes of the route file; the relevant codes are parsed by using a conversion and compilation command to obtain a corresponding first abstract syntax tree; the first abstract syntax tree is traversed and extracted by using a depth search algorithm to obtain a second abstract syntax tree comprising route configuration information; whether the route configuration information comprises sub-level route configuration information is judged, and a target abstract syntax tree is determined by using the second abstract syntax tree according to a judgment result; and data format conversion is performed on the target abstract syntax tree to obtain corresponding route data. The method is mainly applied in the field of micro front end, and by using the technical scheme, route data can be automatically generated to facilitate route configuration, human writing of micro front end route data is reduced, and the accuracy of micro front end route data is protected.
Need to check novelty before this filing date? Find Prior Art