Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Dynamic method and system for heterogeneous service data processing logic

A business data and processing logic technology, applied in the field of heterogeneous business data processing logic, can solve problems such as difficult to solve

Active Publication Date: 2019-04-19
北京树根互联科技有限公司 +4
View PDF10 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The infinite variety and unpredictability of transition or decision logic makes this problem difficult to solve

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
  • Dynamic method and system for heterogeneous service data processing logic
  • Dynamic method and system for heterogeneous service data processing logic
  • Dynamic method and system for heterogeneous service data processing logic

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] figure 1 It is a flowchart of a dynamic method for processing logic of heterogeneous business data provided by Embodiment 1 of the present invention.

[0052] refer to figure 1 , the execution body is the server, and the dynamic compiler is set on the server. The method includes the following steps:

[0053] Step S101, receiving multiple rule logics sent by the client, and constructing a complete rule class according to the multiple rule logics and the preset rule class framework;

[0054] Specifically, a piece of code logic is a rule logic, which is defined by the user on the interface. The preset rule class framework presets three methods in the rule class: preprocessing prepare method, multiple value get methods and execute execute method, among them, prepare method is used to obtain data flow data from the current running business, get The method is used to extract each field from the data flow data obtained by the prepare method, and the execute method executes ...

Embodiment 2

[0074] Figure 6 It is a schematic diagram of a dynamic system of the heterogeneous business data processing logic provided by Embodiment 2 of the present invention.

[0075] refer to Figure 6 , applied to the server, the dynamic compiler is set on the server, the system includes:

[0076] The construction unit 10 is configured to receive a plurality of rule logics sent by the client, and construct a complete rule class according to the plurality of rule logics and the preset rule class framework;

[0077] The loading unit 20 is used to receive the compilation instruction information sent by the client, and the dynamic compiler will reflect the loading of the complete rule class into an object instance according to the compilation instruction information;

[0078] The obtaining unit 30 is configured to receive the call instruction information sent by the client, and obtain data stream data from the object instance according to the call instruction information;

[0079] A c...

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 provides a dynamic method and system for heterogeneous service data processing logic, and the method comprises the steps: applying to a server, enabling a dynamic compiler to be arrangedon the server, receiving a plurality of rule logics sent by a client, and building a complete rule class according to the plurality of rule logics and a preset rule class framework; compiling instruction information sent by the client side is received, and the dynamic compiler loads and reflects the complete rule class into an object instance according to the compiling instruction information; receiving calling instruction information sent by the client, and obtaining data flow data from the object instance according to the calling instruction information; Performing format conversion on thedata stream data to obtain a plurality of fields; enabling a plurality of fields to execute a plurality of rule logics, so that the influence on the current running service can be reduced, the iteration efficiency of the system is greatly improved, and the user experience is improved.

Description

technical field [0001] The invention relates to the technical field of software design and development, in particular to a dynamic method and system for heterogeneous business data processing logic. Background technique [0002] In the data flow processing business, one of the requirements that is often faced is to customize a processing logic and inject it into a certain link in the data flow. There are many such scenarios. For example, we need to perform some transformations on the data at a certain node in the data flow, and the subsequent steps depend on the results of these transformations. For another example, we may need to judge the data in a certain link in the data flow to determine whether some specific conditions occur, such as whether the temperature exceeds the threshold, whether the engine speed exceeds the standard, and so on. Whether it is conversion or judgment, certain code logic is required to complete. The infinite variety and unpredictability of trans...

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/41
Inventor 申海峰高艳霞孙姣姣肖婷婷
Owner 北京树根互联科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products