Business logic code generation method, apparatus and device, and storage medium
A business logic and code generation technology, applied in the computer field, can solve the problems of long online cycle, low reusability, high labor cost, and achieve the effect of lowering the threshold
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] This embodiment provides a business logic code generation method for processing streaming data and real-time complex events, such as figure 1 shown, including the following steps:
[0034]S11: Pre-package the data source, logic operation, and data output channel into visual data source components, logic operation components, and data output channel components for users to choose. The data source includes kafka, sokect, MYSQL, HBase, Redis, etc. Among them, MYSQL, HBase, and Redis are regarded as special data sources, called dimension tables; dimension tables correspond to fact tables, fact tables are used to store fact measurements and foreign key values pointing to each dimension, and dimension tables are used to save The metadata of this dimension; the data output channel Sink can be Oracle, HTTP, ES, MYSQL, etc. In addition, this embodiment also provides a preset SQL template and a user-defined saved template that are different from the above-mentioned package com...
Embodiment 2
[0063] This embodiment provides a business logic code generation device, such as Figure 5 shown, including:
[0064] The encapsulation unit 21 is used to package the data source, logical operation, and data output channel respectively into visualized data source components, logical operation components, and data output channel components for user selection; see S11 in Embodiment 1 for specific implementation details, here I won't repeat them here.
[0065] The acquisition unit 22 is configured to acquire the data source component, logic operation component, and data output channel component selected by the user; see S12 in Embodiment 1 for specific implementation, and details will not be repeated here.
[0066]The receiving unit 23 is configured to receive component parameters corresponding to the data source component, logical operation component, and data output channel component set by the user; see S13 in Embodiment 1 for specific implementation, and details are not repe...
Embodiment 3
[0085] This embodiment provides a business logic code generation device, such as Figure 8 As shown, it includes a memory 31 and a processor 32, and the processor 32 is used to read instructions stored in the memory 31 to implement the steps of the business logic code generation method in Embodiment 1 when executing the program.
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