Intelligent code publishing alarm method based on zookeeper

A code publishing and intelligent technology, applied in version control, software maintenance/management, etc., can solve problems such as frequent occurrence of code coverage problems, achieve the effect of avoiding code conflicts and code coverage problems, and reducing human error correction links

CN109144562AActive Publication Date: 2019-01-04南京新贝金服科技有限公司
7 Cites 5 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2019-01-04

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

An intelligent code publishing alarm method based on zookeeper includes such steps as constructing master branch and connected branch according to master-slave structure of ZooKeeper, registering application system publishing files distributed on master branch and branch as file nodes to form multiple node configuration structures, setting up master branch and connected branch according to master-slave structure of ZooKeeper, setting up master branch and connected branch according to master-slave structure of ZooKeeper, registering application system publishing files distributed on master branch and branch as file nodes to form multiple node configuration structures, 3, continuously upload that updated application system publish file of the child node to the master node of the upper layer;4, when all other sub-node under that primary node receive the message packet, comparing the message packet with the application system release file prepared by the primary node according to the changed file name in the message packet to determine whether the application system release file in the message packet and the application system release file at the sub-node have modification conflict; The invention can solve the problem of frequent occurrence of code coverage problem caused by multi-branch or multi-personnel development, so as to improve the efficiency and stability of application system version update.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention belongs to the field of service discovery of computer processing technology, and in particular relates to a zookeeper-based intelligent code release alarm system. Background technique

[0002] ZooKeeper is a distributed, open source distributed application coordination service, an open source implementation of Google's Chubby, used to provide consistency services for distributed applications. Zookeeper is based on memory synchronization data, that is, the data structure of the nodes in the cluster is exactly the same in memory. It is applied in a specific distributed environment and can ensure that the client can obtain server update information or server failure within a set time interval. information, break through the limitation of network delay, and improve the real-time performance of client message acquisition.

[0003] With the sharp increase in the demand for Internet online shopping, various large-scale Internet online sales pla...

Examples

Embodiment Construction

[0030] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0031] figure 2 It is a system structure diagram realized by the Zookeeper-based intelligent code publishing alarm method in the embodiment of the present invention. Currently, there is an application system named "Apollo" (referred to as the Apollo system) to be released online, and the related system release files include: index. html, style.css, index.js, build main branches and branches according to the master-slave architecture of Zookeeper, among them, a main branch represents the release line of a specific application system; a branch represents the release of files in a specific application system from the compilation , Modify to a certain point in the process of official release;

[0032]According to the develo...