Rule analysis method and system based on YAML file
An analysis method and rule technology, applied in the rule analysis method and system field based on YAML files, can solve problems such as complex system modification, difficulty in customizing development and implementation, high cost of script language learning, and achieve fast learning, improved program flexibility, Easy to write effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] Such as Figure 1~4 As shown, the present embodiment provides a technical solution: a rule analysis method based on a YAML file, comprising the following steps:
[0044] S1: Configure data source
[0045] Configure the data source, the data source includes the data source item (input item) and the data target source item (output item);
[0046] S2: Configure the data collection job
[0047] Configure the data collection job, that is, configure the flow direction of the data;
[0048] S3: Configure YAML file rules
[0049] Configure the rule of YAML file and preserve, and the content of configuration comprises the rule content of configuration processing logic item (filters item) and perfects whole rule information according to the information in the job configuration of step S2;
[0050] S4: Analyzing rules to collect data
[0051] After saving the configuration, analyze and obtain the collection process information according to the completed rules, and match the c...
Embodiment 2
[0074] In order to flexibly match the corresponding program flow for data collection and processing according to the configuration data, so that the system can be flexibly applied in multiple scenarios, this embodiment provides the following technical solutions:
[0075] 1. A rule file based on the following YAML format:
[0076]
[0077]
[0078] 2. Rule description
[0079] Input is used to represent the configuration information of the data source, and describes the connection login information and data source information of the data source library. After the program is parsed, connect to the data source and read the data according to the input information. Input supports multiple data sources, such as JDBC, Hbase, ftp, hdfs, kafka and other data sources. The above YAML file example only shows JDBC, which can be modified to other data source information according to the actual needs of the scenario;
[0080] Filters are used to process the data after the program re...
Embodiment 3
[0092] This embodiment provides a rule parsing method based on a YAML file, and the specific implementation steps are as follows:
[0093] 1. Configure the data source
[0094] The configured data source includes data source and data target source, and supports multiple data types;
[0095] 2. Configure the data collection job
[0096] Configure data collection operations, that is, configure the flow direction of data from where to where;
[0097] 3. Configure YAML rules
[0098] Configure the collection rules. The configured rules are mainly the content of the rules for configuring the filters. The input and output without special requirements keywords do not need to be listed in the page configuration. The program will automatically complete the entire rule information based on the information in the previous job configuration, for example exist Figure 4 In , there is no content after the input keyword, and the dateType keyword value is CSV after the ouput keyword, that...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com