Unlock instant, AI-driven research and patent intelligence for your innovation.

Configuration method, device and system in flow computing system

A technology of stream computing and configuration information, applied in the field of communication, can solve the problems of increasing the coupling degree of function process and configuration center, poor configuration effect, delay of configuration information, etc., to improve configuration effect, reduce coupling degree, reduce time and delay Effect

Inactive Publication Date: 2016-02-10
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] During the research and practice of the prior art, the inventor of the present invention found that, in the existing solution, if the configuration information is obtained from the configuration center by the functional process through the network each time, the configuration information will generate a large Delay, and if the subscription method is adopted, many configuration details need to be considered, which greatly increases the coupling degree of the function process and the configuration center, and the implementation is more complicated. Therefore, the existing solutions are not only more complicated to implement, but also have poor configuration effects. good

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
  • Configuration method, device and system in flow computing system
  • Configuration method, device and system in flow computing system
  • Configuration method, device and system in flow computing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] This embodiment will be described from the perspective of a configuration device for a stream computing system, and the configuration device for a stream computing system may specifically be integrated in a server.

[0033] A configuration method in a stream computing system, comprising: obtaining requirement information of each functional process, obtaining configuration information from a configuration center through a unified interface according to the requirement information, synchronizing the configuration information to a shared memory, and determining that the functional process needs to obtain configuration When information is sent, the configuration information in the shared memory is sent to the functional process for configuration.

[0034] Such as figure 1 As shown, the specific flow of the configuration method in the stream computing system can be as follows:

[0035] 101. Obtain requirement information of each functional process.

[0036] Wherein, the re...

Embodiment 2

[0052] According to the method described in Embodiment 1, an example will be given below for further detailed description.

[0053] In this embodiment, the configuration device in the stream computing system is integrated in the server as an example for illustration. For the convenience of description, in this embodiment, the "unified interface" referred to in the embodiment of the present invention ” is called the public communication module.

[0054] see Figure 2a , which is a network architecture diagram of the configuration method in the stream computing system. Such as Figure 2a It can be seen that the stream computing system may include multiple servers, such as server 1, server 2 ... server n, etc., and each server includes a public communication module, shared memory and functional processes, which can be specifically as follows:

[0055] (1) stream computing system;

[0056] 1. Public communication module;

[0057] The public communication module is mainly used...

Embodiment 3

[0080] In order to better realize the above method, the embodiment of the present invention also provides a configuration device in the stream computing system, such as image 3 As shown, the configuration device in the flow computing system may include a requirement acquisition unit 301, an information acquisition unit 302, a synchronization unit 303, and a configuration unit 304, as follows:

[0081] The requirement acquisition unit 301 is configured to acquire requirement information of each functional process.

[0082] Wherein, the requirement information indicates information such as the type and content of the configuration information to be obtained.

[0083] The information obtaining unit 302 is configured to obtain configuration information from the configuration center through a unified interface according to the requirement information.

[0084] Wherein, the unified interface can be connected with the functional process, and is mainly used for communicating with th...

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 embodiment of the invention discloses a configuration method, device and system in a flow computing system. The configuration method provided by the embodiment of the invention comprises the following steps: acquiring requirement information of each function process and acquiring configuration information from a configuration center through a uniform interface according to the requirement information; uploading the configuration information to a shared memory; when determining that one function process needs to acquire the configuration information, providing the corresponding configuration information to the function process from the shared memory. With the adoption of the scheme, time of acquiring the configuration information and delaying can be reduced, and the coupling degree of the function processes and a configuration center is reduced; the configuration method is simple to realize and has a relatively good configuration effect.

Description

technical field [0001] The present invention relates to the field of communication technology, and in particular to a configuration method, device and system in a stream computing system. Background technique [0002] A stream computing system refers to a distributed system used for real-time computing of data in the form of a stream. When configuring a stream computing system in an existing solution, the configuration information is generally saved in zookeeper (a system for large-scale distributed systems). Reliable Coordination System) and other configuration centers, and then, when the functional process needs configuration information, it can download the configuration information from the configuration center for configuration, or each functional process can subscribe to the configuration center separately, and the configuration center will periodically Configuration information is sent to individual functional processes for configuration. [0003] During the research...

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): G06F9/44
Inventor 纪塔山雷小平庄广安林钊航李斌
Owner TENCENT TECH (SHENZHEN) CO LTD