CN112069788A - Method, device and equipment for analyzing yaml file and storage medium - Google Patents

Method, device and equipment for analyzing yaml file and storage medium Download PDF

Info

Publication number
CN112069788A
CN112069788A CN202010946759.4A CN202010946759A CN112069788A CN 112069788 A CN112069788 A CN 112069788A CN 202010946759 A CN202010946759 A CN 202010946759A CN 112069788 A CN112069788 A CN 112069788A
Authority
CN
China
Prior art keywords
yaml
file
recognizable
word blocks
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010946759.4A
Other languages
Chinese (zh)
Inventor
徐静
范渊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DBAPPSecurity Co Ltd
Hangzhou Dbappsecurity Technology Co Ltd
Original Assignee
Hangzhou Dbappsecurity Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Dbappsecurity Technology Co Ltd filed Critical Hangzhou Dbappsecurity Technology Co Ltd
Priority to CN202010946759.4A priority Critical patent/CN112069788A/en
Publication of CN112069788A publication Critical patent/CN112069788A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/253Grammatical analysis; Style critique
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/284Lexical analysis, e.g. tokenisation or collocates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking

Abstract

The invention discloses a method, a device, equipment and a storage medium for analyzing a yaml file, wherein the method comprises the following steps: reading a yaml file stored with front-end setting in a plain text form to obtain a character string stored in the yaml file and set at the front end; performing lexical analysis on the character string to obtain recognizable word blocks corresponding to characters in the character string, and performing syntactic analysis on the obtained recognizable word blocks to obtain recognizable sentences composed of the recognizable word blocks; and storing the recognizable statements into a corresponding file according to a format which can be analyzed by a back-end server, and sending the file to the back-end server. Therefore, even if the format of the yaml language needs to be modified in the WAF upgrading process, the analysis code of the back-end server does not need to be modified, and the analysis of the yaml file is realized according to the method, so that the method is more flexible and convenient, and corresponding errors caused by hard coding can be avoided.

Description

Method, device and equipment for analyzing yaml file and storage medium
Technical Field
The invention relates to the technical field of WAF (Web Format), in particular to a method, a device, equipment and a storage medium for analyzing a yaml file.
Background
In WAF (Web application protection system), the front-end configuration is stored by using a yaml file, wherein the yaml file is a file which is stored by adopting a yaml format, and the yaml format is a format which has high readability and is used for expressing data serialization; and the back-end server analyzes the yaml file to generate data required by the back-end server. However, when the WAF needs to be upgraded, the data structure corresponding to the yaml format needs to be modified, and often the analysis code of the back-end server needs to be modified at the same time to modify the data structure of the back-end server, that is, the analysis code in the back-end server is modified in a hard coding manner to change the related data structure, which is not flexible enough and convenient enough, and is easy to generate errors.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a storage medium for analyzing a yaml file, which are more flexible and convenient and do not generate corresponding errors caused by hard coding.
In order to achieve the above purpose, the invention provides the following technical scheme:
a method of parsing a yaml file, comprising:
reading a yaml file stored with front-end setting in a plain text form to obtain a character string stored in the yaml file and set at the front end;
performing lexical analysis on the character string to obtain recognizable word blocks corresponding to characters in the character string, and performing syntactic analysis on the obtained recognizable word blocks to obtain recognizable sentences composed of the recognizable word blocks;
and storing the recognizable statements into a corresponding file according to a format which can be analyzed by a back-end server, and sending the file to the back-end server.
Preferably, the lexical analysis is performed on the character string to obtain recognizable word blocks corresponding to the characters in the character string, and the method includes:
and sequentially determining that each character in the character string is a current character respectively, and determining that word blocks corresponding to the current character in a lexical file preset based on the format of the yaml language are recognizable word blocks corresponding to the current character.
Preferably, the parsing the obtained recognizable word blocks to obtain recognizable sentences composed of the recognizable word blocks includes:
and acquiring a grammar tree constructed based on the format of the yaml language, and recombining the recognizable word blocks based on the grammar tree to obtain corresponding recognizable sentences.
Preferably, the method further comprises the following steps:
and if the format of the yaml language needs to be changed, acquiring the lexical file and the syntax tree which are obtained based on the changed format of the yaml language, and replacing the lexical file and the syntax tree before the change of the format of the yaml language by using the acquired lexical file and the syntax tree.
Preferably, the lexical file and the syntax tree are stored in a pluggable storage device.
A yaml file parsing apparatus comprising:
a reading module to: reading a yaml file stored with front-end setting in a plain text form to obtain a character string stored in the yaml file and set at the front end;
an analysis module to: performing lexical analysis on the character string to obtain recognizable word blocks corresponding to characters in the character string, and performing syntactic analysis on the obtained recognizable word blocks to obtain recognizable sentences composed of the recognizable word blocks;
a sending module configured to: and storing the recognizable statements into a corresponding file according to a format which can be analyzed by a back-end server, and sending the file to the back-end server.
Preferably, the parsing module includes:
a lexical analysis unit to: and sequentially determining that each character in the character string is a current character respectively, and determining that word blocks corresponding to the current character in a lexical file preset based on the format of the yaml language are recognizable word blocks corresponding to the current character.
Preferably, the parsing module includes:
a syntax analysis unit for: and acquiring a grammar tree constructed based on the format of the yaml language, and recombining the recognizable word blocks based on the grammar tree to obtain corresponding recognizable sentences.
A yaml file parsing apparatus comprising:
a memory for storing a computer program;
a processor for implementing the steps of the yaml file parsing method as described in any one of the above when said computer program is executed.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the yaml file parsing method as recited in any one of the above.
The invention provides a method, a device, equipment and a storage medium for analyzing a yaml file, wherein the method comprises the following steps: reading a yaml file stored with front-end setting in a plain text form to obtain a character string stored in the yaml file and set at the front end; performing lexical analysis on the character string to obtain recognizable word blocks corresponding to characters in the character string, and performing syntactic analysis on the obtained recognizable word blocks to obtain recognizable sentences composed of the recognizable word blocks; and storing the recognizable statements into a corresponding file according to a format which can be analyzed by a back-end server, and sending the file to the back-end server. Therefore, in the method, data in the yaml file are regarded as plain texts, character strings in the yaml file are read in a plain text mode, recognized sentences capable of being normally recognized are obtained by performing lexical analysis and grammatical analysis on the character strings, and finally the recognized sentences are stored according to a format required by a rear-end server, so that even if the format of the yaml language needs to be modified in the WAF upgrading process, the analysis codes of the rear-end server do not need to be modified, the analysis of the yaml file is realized according to the method, and therefore the method is flexible and convenient, and corresponding errors caused by hard coding are avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for parsing a yaml file according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a yaml file parsing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart of a method for parsing a yaml file according to an embodiment of the present invention is shown, where the method may include:
s11: reading the yaml file stored with the front-end setting in a plain text form to obtain the character string stored in the front-end setting in the yaml file.
The execution main body of the method for analyzing the yaml file provided by the embodiment of the invention can be a corresponding yaml file analyzing device; because the yaml file analysis device cannot normally identify the characters contained in the obtained yaml file, reading the yaml file stored with the front-end configuration in a plain text form to obtain the character strings in the yaml file; since the yaml file is read in the form of plain text when being read, the read character string is plain text which cannot be normally recognized by the yaml file analysis device, and data in a format which can be normally recognized by the yaml file analysis device is obtained by analyzing the read character string.
S12: and performing lexical analysis on the character string to obtain recognizable word blocks corresponding to the characters in the character string, and performing syntactic analysis on the obtained recognizable word blocks to obtain recognizable sentences composed of the recognizable word blocks.
Performing lexical analysis on the character strings to obtain recognizable word blocks which can be recognized by a yaml file parsing device and correspond to the characters in the character strings, and further performing syntactic analysis on the recognizable word blocks to obtain recognizable sentences composed of the recognizable word blocks, wherein the yaml file parsing device can recognize the recognizable sentences and further perform corresponding processing on the recognizable sentences; these recognizable word blocks may be referred to as tokens in the present application, so the present application divides the character strings read from the xml file into tokens; acquiring the association relation among the tokens, and combining the tokens into corresponding sentences with corresponding specific meanings based on the association relation. Therefore, in the application, the yaml file is read in a plain text mode, the read character strings are character strings which cannot be effectively identified by the yaml file analysis device, the character strings are converted into sentences which can be effectively identified by the yaml file analysis device through lexical analysis and grammar analysis of the character strings, and finally the sentences are stored according to a format which can be effectively identified by the back-end server, so that the back-end server can directly identify and subsequently process the stored data. The format that the back-end server can effectively recognize may be an xml format, a txt format, a doc format, or the like.
S13: and storing the recognizable sentences into corresponding files according to a format which can be analyzed by the back-end server, and sending the files to the back-end server.
The format that the back-end server can analyze is also the data structure for the back-end server to store the configuration, so that the application stores the recognizable statements obtained by analysis according to the data structure, and the back-end server can directly and effectively recognize the statements and then acquire the corresponding front-end configuration, thereby realizing the operation required to be realized based on the front-end configuration.
Data in the yaml file are regarded as plain texts, character strings in the yaml file are read in a plain text mode, lexical analysis and syntax analysis are carried out on the character strings, recognizable sentences capable of being normally recognized are obtained, and finally the recognizable sentences are stored according to a format required by a rear-end server, so that even if the format of the yaml language needs to be modified in the WAF upgrading process, the analysis codes of the rear-end server do not need to be modified, the analysis of the yaml file can be achieved according to the method, the method is flexible and convenient, and corresponding errors caused by hard coding can be avoided.
The yaml file parsing method provided by the embodiment of the present invention performs lexical analysis on a character string to obtain recognizable word blocks corresponding to characters in the character string, and may include:
and sequentially determining each character in the character string as a current character, and determining word blocks which have corresponding relations with the current character in a lexical file preset based on the format of the yaml language as recognizable word blocks corresponding to the current character.
The method and the device can be used for presetting lexical files, constructing corresponding word segmentation rules based on the format of the yaml language to obtain the lexical files containing the word segmentation rules, and further performing lexical analysis on character strings based on the lexical files to realize word segmentation operation of the character strings. Specifically, the word segmentation rule may be provided with a correspondence between each character in the yaml language format and each word block that can be effectively recognized by the yaml file parsing device, that is, for any character in the yaml language format, a word block having a correspondence with the any character may be queried from the word segmentation rule, and the word block is a recognizable word block corresponding to the any character (which can be effectively recognized by the yaml file parsing device), so that the word block that can be effectively recognized by the yaml file parsing device is obtained by simply and effectively segmenting the character string in the yaml file in this way.
Correspondingly, the method may further include the step of presetting a lexical file, and in a specific implementation manner, the word segmentation rule constructed based on the yaml language format may be as follows:
Figure BDA0002675591120000051
Figure BDA0002675591120000061
the method for analyzing the yaml file, provided by the embodiment of the present invention, performs syntax analysis on the obtained recognizable word blocks to obtain recognizable sentences composed of the recognizable word blocks, and may include:
and acquiring a grammar tree constructed based on the format of the yaml language, and recombining the recognizable word blocks based on the grammar tree to obtain corresponding recognizable sentences.
The method and the device can be used for presetting grammar files (specifically, the grammar files can be realized in a grammar tree form), constructing corresponding grammar trees based on the format of the yaml language, and then combining the recognizable word blocks based on the grammar trees to obtain corresponding sentences with corresponding specific meanings, namely recognizable sentences. Specifically, the syntax tree constructed based on the format of the yaml language may include the positions of the word blocks in the sentence that the word blocks should be located when the corresponding sentence is composed according to the format of the yaml language; therefore, after obtaining each recognizable word block, the method can determine the position of each recognizable word block in the sentence composed according to the format of the yaml language through the grammar tree, and further place the recognizable word blocks at the positions where the recognizable word blocks are located, so that sufficient sentences, namely recognizable sentences can be obtained. Therefore, the recognizable word blocks are simply and effectively combined in the mode to obtain the sentences with corresponding specific meanings, which can be effectively recognized by the yaml file parsing device.
Correspondingly, the present application may further include a step of presetting a syntax tree (or a syntax file), and in a specific implementation, the syntax tree constructed based on the yaml language format may be as follows:
input:
YAML_START_TOKEN
YAML_MAP_KEY YAML_MAP_VALUE_START YAML_MAP_VALUE
YAML_SEQUENCE_KEY YAML_MAP_VALUE_START
yaml_sequence_entry
YAML_END_TOKEN
yaml_sequence_entry:
yaml_sequence_entry
YAML_SEQUENCE_SEP YAML_SEQUENCE_VALUE
it should be noted that data in the yaml language format may include a map and an array, and in the present application, the corresponding map and array, that is, the recognizable sentence that can be effectively recognized by the yaml file parsing apparatus, may be obtained by performing lexical analysis and sentence analysis on the character strings in the yaml file; the character strings of plain text as read from the yaml file are as follows:
sequence:
aaa
bbb
map_key:map_value
the method for analyzing the character strings by the lexical method can obtain a plurality of corresponding recognizable word blocks as follows:
YAML _ START _ TOKEN (- - - -) NEWLINE (transition character) YAML _ SEQUENCE _ KEY (SEQUENCE) YAML _ MAP _ VALUE _ START (-). NEWLINE (transition character) YAML _ SEQUENCE _ SEP (-) YAML _ SEQUENCE _ VALUE (aaaa) NEWLINE (transition character) YAML _ SEQUENCE _ SEP (-) YAML _ SEQUENCE _ VALUE (bbb) NEWLINE (transition character) YAML _ MAP _ KEY (MAP _ KEY) YAML _ MAP _ VALUE _ START (-) (YAML _ MAP _ VALUE) NEWLINE (transition character) YAML _ NEQUENCE _ KEN (…)
The method analyzes the grammar of the plurality of recognizable word blocks to obtain corresponding recognizable sentences, and comprises the following steps: the character string includes an array and a map, the array sequence includes two elements aaa and bbb, the key of the map is map _ key, and the value is map _ value.
The method for analyzing the yaml file provided by the embodiment of the invention can further comprise the following steps:
and if the format of the yaml language needs to be changed, acquiring the lexical file and the syntax tree which are obtained based on the changed format of the yaml language, and replacing the lexical file and the syntax tree before the change of the format of the yaml language by using the acquired lexical file and the syntax tree.
When the WAF is required to be upgraded and the format corresponding to the yaml language is required to be modified, the method and the device can obtain the lexical file and the grammar tree which are input from the outside and obtained after the format of the yaml language is changed, and then replace the existing lexical file and grammar tree by using the lexical file and the grammar tree, so that the file which can correspond to the yaml format corresponding to the upgraded WAF is obtained through the replacement of the lexical file and the grammar tree, the adaptation of the WAF upgrade is realized in a simple and convenient mode, and the analysis of the yaml file can be effectively realized after the WAF is upgraded.
According to the yaml file parsing method provided by the embodiment of the invention, both the lexical file and the syntax tree can be stored in a pluggable storage device.
It should be noted that, since the yaml file parsing method disclosed in the present application may need to be applied to different devices, the present application may store the lexical file and the syntax tree in a pluggable storage device, so that the yaml file parsing can be implemented on the device only by inserting the storage device into the corresponding device, thereby increasing the applicability of the present solution.
In a specific application scenario, the method for parsing a yaml file provided by the embodiment of the present invention may include:
(1) writing a lexical file according to the format specification of the yaml language;
(2) writing a grammar file according to the format specification of the yaml language so as to construct a grammar tree corresponding to the yaml language, wherein the grammar tree specifies the incidence relation between word blocks;
(3) determining data structures stored and configured by a back-end server (the data structures in the application are all data structures corresponding to formats);
(4) reading the yaml file with the front-end configuration stored in a plain text form;
(5) performing word segmentation on the character string read in the step (3) according to the lexical file generated in the step (1);
(6) analyzing the result of the step (5) according to the syntax tree generated in the step (2);
(7) and (4) saving the result generated in the step (6) into the data structure determined in the step (3).
The invention provides a flexible and convenient method which is adaptive to WAF configuration upgrading, lexical analysis and grammatical analysis are introduced, data in a yaml file is regarded as plain text for word segmentation through the lexical analysis, word blocks obtained by word segmentation are combined into corresponding sentences according to the grammatical file, and finally final data are generated according to a format required by a rear-end server; therefore, the traditional configuration upgrading scheme is perfected, the flexibility of configuration upgrading is improved, and the workload of research and development personnel is reduced.
An embodiment of the present invention further provides a yaml file parsing apparatus, as shown in fig. 2, which may include:
a reading module to: reading the yaml file stored with the front end setting in a plain text mode to obtain the character string stored in the yaml file and arranged at the front end;
an analysis module to: performing lexical analysis on the character string to obtain recognizable word blocks corresponding to the characters in the character string, and performing syntactic analysis on the obtained recognizable word blocks to obtain recognizable sentences composed of the recognizable word blocks;
a sending module configured to: and storing the recognizable sentences into corresponding files according to a format which can be analyzed by the back-end server, and sending the files to the back-end server.
In the apparatus for analyzing a yaml file according to an embodiment of the present invention, the analyzing module may include:
a lexical analysis unit to: and sequentially determining each character in the character string as a current character, and determining word blocks which have corresponding relations with the current character in a lexical file preset based on the format of the yaml language as recognizable word blocks corresponding to the current character.
In the apparatus for analyzing a yaml file according to an embodiment of the present invention, the analyzing module may include:
a syntax analysis unit for: and acquiring a grammar tree constructed based on the format of the yaml language, and recombining the recognizable word blocks based on the grammar tree to obtain corresponding recognizable sentences.
The apparatus for analyzing a yaml file provided in the embodiment of the present invention may further include:
an update module to: and if the format of the yaml language needs to be changed, acquiring the lexical file and the syntax tree which are obtained based on the changed format of the yaml language, and replacing the lexical file and the syntax tree before the change of the format of the yaml language by using the acquired lexical file and the syntax tree.
The yaml file parsing device provided by the embodiment of the invention can store the lexical file and the syntax tree in a pluggable storage device.
An embodiment of the present invention further provides a yaml file parsing apparatus, which may include:
a memory for storing a computer program;
a processor for implementing the steps of the yaml file parsing method as described in any one of the above when executing a computer program.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the yaml file parsing method as described in any one of the above.
For a description of a relevant part in a yaml file parsing apparatus, a device, and a storage medium provided in an embodiment of the present invention, reference is made to detailed descriptions of a corresponding part in a yaml file parsing method provided in an embodiment of the present invention, and details are not repeated here. In addition, parts of the above technical solutions provided in the embodiments of the present invention that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail, so as to avoid redundant description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for parsing a yaml file, comprising:
reading a yaml file stored with front-end setting in a plain text form to obtain a character string stored in the yaml file and set at the front end;
performing lexical analysis on the character string to obtain recognizable word blocks corresponding to characters in the character string, and performing syntactic analysis on the obtained recognizable word blocks to obtain recognizable sentences composed of the recognizable word blocks;
and storing the recognizable statements into a corresponding file according to a format which can be analyzed by a back-end server, and sending the file to the back-end server.
2. The method of claim 1, wherein lexical analysis of the character string to obtain recognizable word blocks corresponding to characters in the character string comprises:
and sequentially determining that each character in the character string is a current character respectively, and determining that word blocks corresponding to the current character in a lexical file preset based on the format of the yaml language are recognizable word blocks corresponding to the current character.
3. The method of claim 2, wherein parsing the identified word blocks to obtain an identified sentence composed of the identified word blocks comprises:
and acquiring a grammar tree constructed based on the format of the yaml language, and recombining the recognizable word blocks based on the grammar tree to obtain corresponding recognizable sentences.
4. The method of claim 3, further comprising:
and if the format of the yaml language needs to be changed, acquiring the lexical file and the syntax tree which are obtained based on the changed format of the yaml language, and replacing the lexical file and the syntax tree before the change of the format of the yaml language by using the acquired lexical file and the syntax tree.
5. The method of claim 4, wherein the lexical file and the syntax tree are stored in a pluggable storage device.
6. A yaml file parsing apparatus, comprising:
a reading module to: reading a yaml file stored with front-end setting in a plain text form to obtain a character string stored in the yaml file and set at the front end;
an analysis module to: performing lexical analysis on the character string to obtain recognizable word blocks corresponding to characters in the character string, and performing syntactic analysis on the obtained recognizable word blocks to obtain recognizable sentences composed of the recognizable word blocks;
a sending module configured to: and storing the recognizable statements into a corresponding file according to a format which can be analyzed by a back-end server, and sending the file to the back-end server.
7. The apparatus of claim 6, wherein the parsing module comprises:
a lexical analysis unit to: and sequentially determining that each character in the character string is a current character respectively, and determining that word blocks corresponding to the current character in a lexical file preset based on the format of the yaml language are recognizable word blocks corresponding to the current character.
8. The apparatus of claim 7, wherein the parsing module comprises:
a syntax analysis unit for: and acquiring a grammar tree constructed based on the format of the yaml language, and recombining the recognizable word blocks based on the grammar tree to obtain corresponding recognizable sentences.
9. A yaml file parsing device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the yaml file parsing method according to any one of claims 1 to 5 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, carries out the steps of the yaml file parsing method according to any one of claims 1-5.
CN202010946759.4A 2020-09-10 2020-09-10 Method, device and equipment for analyzing yaml file and storage medium Pending CN112069788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010946759.4A CN112069788A (en) 2020-09-10 2020-09-10 Method, device and equipment for analyzing yaml file and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010946759.4A CN112069788A (en) 2020-09-10 2020-09-10 Method, device and equipment for analyzing yaml file and storage medium

Publications (1)

Publication Number Publication Date
CN112069788A true CN112069788A (en) 2020-12-11

Family

ID=73663533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010946759.4A Pending CN112069788A (en) 2020-09-10 2020-09-10 Method, device and equipment for analyzing yaml file and storage medium

Country Status (1)

Country Link
CN (1) CN112069788A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272859A (en) * 2005-08-30 2007-10-18 Zoo Corp Information retrieval support program, computer having information retrieval support function, server computer and program storage medium
CN101110812A (en) * 2007-08-29 2008-01-23 中兴通讯股份有限公司 Text command analyzing and processing method
US20130297292A1 (en) * 2012-05-04 2013-11-07 International Business Machines Corporation High Bandwidth Parsing of Data Encoding Languages
CN104503816A (en) * 2014-12-30 2015-04-08 西安电子科技大学 System for automatically converting hardware language VHDL (Vhsic Hardware Description Language) into MSVL (Modeling, Simulation and Verification Language)
CN107577467A (en) * 2017-10-20 2018-01-12 郑州云海信息技术有限公司 A kind of java implementation methods of TOSCA specifications
CN109255209A (en) * 2017-07-13 2019-01-22 阿里巴巴集团控股有限公司 A kind of data processing method, device, equipment and storage medium
CN110007924A (en) * 2019-03-29 2019-07-12 烽火通信科技股份有限公司 The automated construction method and system of YANG model configuration interface
CN110221836A (en) * 2018-03-02 2019-09-10 拜椰特(上海)软件技术有限公司 A kind of lexical analysis tool
US20200089750A1 (en) * 2018-09-17 2020-03-19 Servicenow, Inc. Streaming parser for structured data-interchange files
CN110990000A (en) * 2019-11-11 2020-04-10 山东中创软件工程股份有限公司 Data request processing method, device and equipment for MVC (model view controller) pattern design model layer
CN111324577A (en) * 2018-12-17 2020-06-23 大唐移动通信设备有限公司 Method and device for reading and writing Yml file

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007272859A (en) * 2005-08-30 2007-10-18 Zoo Corp Information retrieval support program, computer having information retrieval support function, server computer and program storage medium
CN101110812A (en) * 2007-08-29 2008-01-23 中兴通讯股份有限公司 Text command analyzing and processing method
US20130297292A1 (en) * 2012-05-04 2013-11-07 International Business Machines Corporation High Bandwidth Parsing of Data Encoding Languages
CN104503816A (en) * 2014-12-30 2015-04-08 西安电子科技大学 System for automatically converting hardware language VHDL (Vhsic Hardware Description Language) into MSVL (Modeling, Simulation and Verification Language)
CN109255209A (en) * 2017-07-13 2019-01-22 阿里巴巴集团控股有限公司 A kind of data processing method, device, equipment and storage medium
CN107577467A (en) * 2017-10-20 2018-01-12 郑州云海信息技术有限公司 A kind of java implementation methods of TOSCA specifications
CN110221836A (en) * 2018-03-02 2019-09-10 拜椰特(上海)软件技术有限公司 A kind of lexical analysis tool
US20200089750A1 (en) * 2018-09-17 2020-03-19 Servicenow, Inc. Streaming parser for structured data-interchange files
CN111324577A (en) * 2018-12-17 2020-06-23 大唐移动通信设备有限公司 Method and device for reading and writing Yml file
CN110007924A (en) * 2019-03-29 2019-07-12 烽火通信科技股份有限公司 The automated construction method and system of YANG model configuration interface
CN110990000A (en) * 2019-11-11 2020-04-10 山东中创软件工程股份有限公司 Data request processing method, device and equipment for MVC (model view controller) pattern design model layer

Similar Documents

Publication Publication Date Title
CN111177184A (en) Structured query language conversion method based on natural language and related equipment thereof
US9710243B2 (en) Parser that uses a reflection technique to build a program semantic tree
US7747942B2 (en) System and method for obtaining a markup language template through reversing engineering
CN107221328B (en) Method and device for positioning modification source, computer equipment and readable medium
US9858268B2 (en) Chinese name transliteration
WO2000011576A1 (en) Natural language sentence parser
CN100429648C (en) Automatic segmentation of texts comprising chunsk without separators
CN109857389B (en) Model data generation method and device, computer equipment and storage medium
CN114090671A (en) Data import method and device, electronic equipment and storage medium
WO2021051624A1 (en) Data acquisition method and apparatus, and electronic device and storage medium
CN110347390B (en) Method, storage medium, equipment and system for rapidly generating WEB page
US20160062965A1 (en) Generation of parsable data for deep parsing
CN110543641B (en) Chinese and foreign language information comparison method and device
CN112632425A (en) Method, device, equipment and storage medium for generating offline resource file
CN116521621A (en) Data processing method and device, electronic equipment and storage medium
CN112069788A (en) Method, device and equipment for analyzing yaml file and storage medium
CN113127776A (en) Breadcrumb path generation method and device and terminal equipment
CN112699642B (en) Index extraction method and device for complex medical texts, medium and electronic equipment
EP3255558A1 (en) Syntax analyzing device, learning device, machine translation device and recording medium
CN114528218A (en) Test program generation method, test program generation device, storage medium, and electronic device
CN109840080B (en) Character attribute comparison method and device, storage medium and electronic equipment
CN109725932B (en) Method and device for generating description document of application component
US20150324333A1 (en) Systems and methods for automatically generating hyperlinks
Knauth et al. A dictionary data processing environment and its application in algorithmic processing of Pali dictionary data for future NLP tasks
CN114386407B (en) Word segmentation method and device for text

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination