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

Stream application optimization method and apparatus

A technology of application flow and data flow graph, which is applied in the computer field, can solve the problems that remain unchanged, the flow computing platform does not have optimization, and the performance of flow application can no longer be improved, so as to achieve the effect of improving computing performance

Active Publication Date: 2017-03-29
HUAWEI TECH CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, the stream computing platform usually does not have the ability to optimize the operator code of the stream application. After the application is deployed to the stream computing platform, if the developer does not actively update the operator code of the stream application, the operator code of the stream application will basically remain the same, and the performance of streaming applications cannot be improved any more

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
  • Stream application optimization method and apparatus
  • Stream application optimization method and apparatus
  • Stream application optimization method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] An embodiment of the present invention provides a method for stream application optimization, which can automatically optimize operator codes, thereby improving the usability and computing performance of stream applications. The embodiment of the invention also provides a corresponding device. Each will be described in detail below.

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0048] The stream application optimization method provided in the embodiment of the present invention can be optimized by an independent...

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 discloses a stream application optimization method. The method comprises the steps of obtaining an application stream graph and an initial operator code of a to-be-optimized stream application, wherein the application stream graph comprises an operator, and the initial operator code is used for describing initial operation logic born by the operator; determining a data stream graph of the operator according to the initial operator code; determining a hotspot path in a plurality of paths of the data stream graph according to the data stream graph of the operator and the initial operation logic born by the operator, wherein each of the paths represents arithmetic logic, and the hotspot path is arithmetic logic of which a usage frequency meets a preset condition in the arithmetic operation process; and optimizing a local operator code corresponding to the hotspot path so as to obtain an optimized operator code. According to the stream application optimization method provided by an embodiment of the invention, the operator code can be automatically optimized, so that the usability and computing performance of the stream application are improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a stream application optimization method and device. Background technique [0002] Stream processing is implemented by deploying stream applications on the stream computing platform. Stream application developers write the operator code of the stream application in the stream language, and construct the application flow graph of the application based on the operator code. The stream processing of this application is realized by operator code and application flow graph. The application flow graph includes operators and data flows. Operators are logical processing units that carry services, and data flows are data interacted between operators. Application flow graphs are used to describe the data processing and interaction process of stream applications. The operator code is used to describe the logic carried by the operator in the application flow graph. The quality of the ope...

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
IPC IPC(8): G06F9/44
CPCG06F9/44
Inventor 方丰斌翟斌斌
Owner HUAWEI TECH CO LTD
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