CN115460054B - Cloud service management and release method and system based on shared memory - Google Patents

Cloud service management and release method and system based on shared memory Download PDF

Info

Publication number
CN115460054B
CN115460054B CN202211033638.6A CN202211033638A CN115460054B CN 115460054 B CN115460054 B CN 115460054B CN 202211033638 A CN202211033638 A CN 202211033638A CN 115460054 B CN115460054 B CN 115460054B
Authority
CN
China
Prior art keywords
shared memory
module
service nodes
information
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211033638.6A
Other languages
Chinese (zh)
Other versions
CN115460054A (en
Inventor
叶志斌
陈文浩
陈贤平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gwelltimes Technology Co ltd
Original Assignee
Shenzhen Gwelltimes Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gwelltimes Technology Co ltd filed Critical Shenzhen Gwelltimes Technology Co ltd
Priority to CN202211033638.6A priority Critical patent/CN115460054B/en
Publication of CN115460054A publication Critical patent/CN115460054A/en
Application granted granted Critical
Publication of CN115460054B publication Critical patent/CN115460054B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a cloud service management release method and a system based on a shared memory, wherein the system comprises the following steps: configuring a central node and other service nodes; the configuration center node further includes: the system comprises a first shared memory, a file synchronization module and a communication management module; the other service nodes also comprise a second shared memory; the second shared memory is used for storing information of other modules in other service nodes; the synchronization module synchronizes information of other service nodes to the first shared memory; the file synchronization module synchronizes the information in the first shared memory to other service nodes; the communication management module is used for managing network communication of the configuration center node and other service nodes. According to the cloud service management and release system, the information uploaded by each node of the server is stored in the shared memory, and is managed and distributed by the configuration center in a unified mode, and the information is displayed to development/operation and maintenance in a webpage mode during access, so that a complete cloud service management and release system is formed, and real-time management and monitoring are facilitated.

Description

Cloud service management and release method and system based on shared memory
Technical Field
The invention relates to the technical field of cloud services, in particular to a cloud service management and release method and system based on a shared memory.
Background
With the rise of the Internet of things, more and more devices and users are connected to the Internet of things platform, more and more server nodes are deployed on the Internet of things platform, zabbix, promega-repair and the like perform well in a plurality of monitoring systems, and after a plurality of factors are considered, the zabbix is determined to be used as an important means for operation and maintenance monitoring;
however, as the service becomes more and more complicated, the monitoring items become more and more, some monitoring items zabbix are not suitable for collecting, the collected data are also more and more, zabbix is in a busy state and cannot give an alarm, the collected data are lost due to a network and other reasons, the monitoring items are lost due to improper adjustment of a plurality of persons, and other service processes are stopped when a configuration center stops working;
in order to solve the pain point, a set of operation and maintenance monitoring system suitable for an own Internet of things platform is developed according to actual business, and the operation and maintenance monitoring system not only supplements zabbix monitoring, but also serves as an important monitoring alarm means.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a cloud service management and release method and system based on a shared memory.
In order to achieve the above object, the present invention is specifically as follows:
The invention provides a cloud service management and release system based on a shared memory, which comprises the following components: configuring a central node and other service nodes;
the configuration center node and other service nodes comprise: log module gmcc _ logsrv, web page management module gmcc _ httpsrv, clock information module gmcc _clock, synchronization module gmcc _node, configuration module conf/public. Conf, program storage module bin;
The configuration center node further includes: the first shared memory, the file synchronization module rsync and the communication management module gmcc _center;
The other service nodes also comprise a second shared memory; the second shared memory is used for storing information of other modules in other service nodes;
The synchronization module gmcc _node of the other service nodes synchronizes the information of the other service nodes to the first shared memory;
The file synchronization module rsync synchronizes the information in the first shared memory to other service nodes;
The communication management module gmcc _center is used for managing network communication of the configuration center node and other service nodes;
The log module gmcc _ logsrv: the log is used for outputting a corresponding process log according to the role catalogue;
The web page management module gmcc _ httpsrv: the method is used for processing http requests, mainly processing the interaction of the html below webroot, and the web page is convenient for developing operation and maintenance release update programs and monitoring services;
the clock information module gmcc _clock: the clock information is used for writing the clock information into the shared memory so that the business process can be efficiently read;
Synchronization module gmcc _node of the other service node: the method is responsible for synchronizing information of other service nodes to a configuration center and for starting and stopping service processes under the role operated by a local node;
the configuration module conf/public. Conf: for determining the role of operation;
The program storage module bin: and storing the programs to be operated, and placing the programs according to the catalogs of the roles.
Further, the configuration center node further comprises a web page directory module webroot, configured to store html files of each role, and configured to monitor and publish web pages;
further, the configuration center node further includes a backup module backup: the method is used for backup during program and configuration updating.
Further, the configuration center node further includes a catalog module cloudlinks: for publishing the purpose of the related files under the directory.
Further, the configuration center node further includes a cryptographic module gmcc _rsync.passwd: the password file for placing the file synchronization module rsync is not necessary, and other files are required to be developed or independently configured for operation if the program is available.
Further, the configuration center node further includes tool modules tools: the system is used for storing a plurality of tools and viewing information of the shared memory.
The invention also discloses a cloud service management and release method based on the shared memory, which adopts the system and comprises the following steps:
s1, other service nodes store information into a second shared memory;
s2, information of other service nodes is sent to the first shared memory from the second shared memory;
and S3, other service nodes acquire information from the first shared memory to operate.
Further, in step S2, the information of the other service nodes is synchronized from the second shared memory to the first shared memory by the synchronization module gmcc _node of the other service nodes.
Further, in step S3, the information in the first shared memory is synchronized to other service nodes by the file synchronization module rsync.
The technical scheme of the invention has the following beneficial effects:
1. The shared memory is adopted to store the information of each node, no matter whether the configuration center operates or not, the business process is not influenced to access the information in the shared memory, and therefore the purpose of uninterrupted and reliable business is achieved;
2. the system is high in performance and high in availability, is convenient to manage, control and monitor, and can be compatible with an MTP network framework;
3. The system is provided with: automatic release of programs/configuration, automatic optimal selection of a network, convenience for starting and stopping of operation programs, convenience for checking functions of node information, program version, configuration version, automatic backup and the like;
4. Meanwhile, the restarting of the configuration center does not influence the normal access of the existing service, and the shared memory is the best implementation.
Drawings
FIG. 1 is a functional block diagram of the present invention;
FIG. 2 is a specific schematic diagram of the present invention;
Fig. 3 is a flow chart of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are offered by way of illustration and not limitation, and only some, but not all, of the examples of the invention may be described in accordance with the present invention.
As shown in fig. 1-2, the present invention provides a cloud service management publishing method and system based on a shared memory, the system includes: configuring a central node and other service nodes;
the configuration center node and other service nodes comprise: log module gmcc _ logsrv, web page management module gmcc _ httpsrv, clock information module gmcc _clock, synchronization module gmcc _node, configuration module conf/public. Conf, program storage module bin;
The configuration center node further includes: the first shared memory, the file synchronization module rsync and the communication management module gmcc _center;
The other service nodes also comprise a second shared memory, and the second shared memory is used for storing information of other modules in the other service nodes;
The synchronization module gmcc _node of the other service nodes synchronizes the information of the other service nodes to the first shared memory;
The file synchronization module rsync synchronizes the information in the first shared memory to other service nodes;
the communication management module gmcc _center is used for managing network communication of the configuration center node and other service nodes.
The log module gmcc _ logsrv: the log is used for outputting a corresponding process log according to the role catalogue;
The web page management module gmcc _ httpsrv: the method is used for processing http requests, mainly processing the interaction of the html below webroot, and the web page is convenient for developing operation and maintenance release update programs and monitoring services;
the clock information module gmcc _clock: the clock information is used for writing the clock information into the shared memory so that the business process can be efficiently read;
Synchronization module gmcc _node of the other service node: the method is responsible for synchronizing information of other service nodes to a configuration center and for starting and stopping service processes under the role operated by a local node;
the configuration module conf/public. Conf: for determining the role of operation;
The program storage module bin: and storing the programs to be operated, and placing the programs according to the catalogs of the roles.
The configuration center node further comprises a webpage catalog module webroot for storing html files of each role and for monitoring and publishing webpages;
The configuration center node further comprises a backup module backup: the method is used for backup during program and configuration updating.
The configuration center node further includes a catalog module cloudlinks: for publishing the purpose of the related files under the directory.
The configuration center node further includes a cryptographic module gmcc _rsync.passwd: the password file for placing the file synchronization module rsync is not necessary, and other files are required to be developed or independently configured for operation if the program is available.
The configuration center node further includes tool modules tools: the system is used for storing a plurality of tools and viewing information of the shared memory.
As shown in fig. 3, the present invention further provides a cloud service management publishing method based on a shared memory, and the system comprises the following steps:
s1, other service nodes store information into a second shared memory;
s2, information of other service nodes is sent to the first shared memory from the second shared memory;
and S3, other service nodes acquire information from the first shared memory to operate.
In step S2, the information of the other service nodes is shared from the second service node by the synchronization module gmcc _node of the other service nodes
In step S3, the information in the first shared memory is synchronized to other service nodes by the file synchronization module rsync.
The specific operation flow is as follows:
(1) Initializing a system;
(2) The running catalog module cloudlinks issues programs;
(3) Synchronizing information of other nodes to a shared memory of the configuration center node;
(4) Pulling character information of interest;
(5) The file synchronization module rsync synchronizes the progress and configuration of the local roles;
(6) And running the business process.
The principle of the invention is as follows:
The information uploaded by each node of the server is stored in the shared memory, and is uniformly managed and distributed by the configuration center, and is displayed to development/operation and maintenance in the form of html webpage during access, so that a complete cloud service management and release system is formed, and real-time management and monitoring are facilitated.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the invention, and all equivalent structural changes made by the description of the present invention and the accompanying drawings or direct/indirect application in other related technical fields are included in the scope of the present invention.

Claims (9)

1. The cloud service management and release system based on the shared memory is characterized by comprising the following components: configuring a central node and other service nodes;
the configuration center node and other service nodes comprise: the system comprises a log module, a webpage management module, a clock information module, a synchronization module, a configuration module and a program storage module;
the configuration center node further includes: the system comprises a first shared memory, a file synchronization module and a communication management module;
the other service nodes further comprise: a second shared memory; the second shared memory is used for storing information of other modules in other service nodes;
synchronizing information of other service nodes to a first shared memory by a synchronization module of the other service nodes;
the file synchronization module synchronizes the information in the first shared memory to other service nodes;
The communication management module is used for managing network communication of the configuration center node and other service nodes;
The log module is used for outputting logs, and the logs output corresponding process logs according to the role catalogue;
the webpage management module is used for processing the http request;
the clock information module is used for writing clock information into the shared memory so that the business process can be efficiently read;
The synchronization module of the other service nodes is used for synchronizing the information of the other service nodes to the configuration center node and is responsible for starting and stopping the service process under the role of the local node operation;
the configuration module is used for determining the running roles;
the program storage module is used for storing programs to be operated, and the programs are placed according to the catalogue of the roles.
2. The cloud service management and release system based on shared memory according to claim 1, wherein the configuration center node further comprises a web page directory module for storing html files of each role for web page monitoring and release.
3. The cloud service management and release system based on shared memory as claimed in claim 1, wherein said configuration center node further comprises a backup module for backing up when the program and configuration are updated.
4. The cloud service management and distribution system based on shared memory as claimed in claim 1, wherein said configuration center node further comprises a directory module for distributing the usage of related files under the directory.
5. The cloud service management and distribution system based on shared memory of claim 1, wherein said configuration center node further comprises a password module for placing a password file for a file synchronization module.
6. The cloud service management and distribution system based on shared memory according to claim 1, wherein the configuration center node further comprises a tool module for storing a plurality of tools for viewing information of the shared memory.
7. A cloud service management and release method based on shared memory, adopting the system of any one of claims 1-6, comprising the following steps:
s1, other service nodes store information into a second shared memory;
s2, information of other service nodes is sent to the first shared memory from the second shared memory;
and S3, other service nodes acquire information from the first shared memory to operate.
8. The cloud service management and distribution method based on shared memory according to claim 7, wherein in step S2, the information of the other service nodes is synchronized from the second shared memory to the first shared memory by the synchronization module of the other service nodes.
9. The cloud service management and distribution method based on shared memory according to claim 7, wherein in step S3, the information in the first shared memory is synchronized to other service nodes by the file synchronization module.
CN202211033638.6A 2022-08-26 2022-08-26 Cloud service management and release method and system based on shared memory Active CN115460054B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211033638.6A CN115460054B (en) 2022-08-26 2022-08-26 Cloud service management and release method and system based on shared memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211033638.6A CN115460054B (en) 2022-08-26 2022-08-26 Cloud service management and release method and system based on shared memory

Publications (2)

Publication Number Publication Date
CN115460054A CN115460054A (en) 2022-12-09
CN115460054B true CN115460054B (en) 2024-04-19

Family

ID=84300581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211033638.6A Active CN115460054B (en) 2022-08-26 2022-08-26 Cloud service management and release method and system based on shared memory

Country Status (1)

Country Link
CN (1) CN115460054B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891873A (en) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 Method for storing log data and log data storage system
CN107483571A (en) * 2017-08-08 2017-12-15 柏域信息科技(上海)有限公司 A kind of dynamic cloud storage method and system
CN110750372A (en) * 2019-10-16 2020-02-04 深圳技威时代科技有限公司 Log system based on shared memory and log management method
CN112860458A (en) * 2021-02-22 2021-05-28 北京睿芯高通量科技有限公司 Inter-process communication method and system based on shared memory
WO2021212950A1 (en) * 2020-04-22 2021-10-28 国云科技股份有限公司 Private cloud task management system and method, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102891873A (en) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 Method for storing log data and log data storage system
CN107483571A (en) * 2017-08-08 2017-12-15 柏域信息科技(上海)有限公司 A kind of dynamic cloud storage method and system
CN110750372A (en) * 2019-10-16 2020-02-04 深圳技威时代科技有限公司 Log system based on shared memory and log management method
WO2021212950A1 (en) * 2020-04-22 2021-10-28 国云科技股份有限公司 Private cloud task management system and method, and storage medium
CN112860458A (en) * 2021-02-22 2021-05-28 北京睿芯高通量科技有限公司 Inter-process communication method and system based on shared memory

Also Published As

Publication number Publication date
CN115460054A (en) 2022-12-09

Similar Documents

Publication Publication Date Title
US11507594B2 (en) Bulk data distribution system
US20130138615A1 (en) Synchronizing updates across cluster filesystems
US20180146067A1 (en) Embedded database as a microservice for distributed container cloud platform
CN102333029B (en) Routing method in server cluster system
CN102648448A (en) Provisioning and managing replicated data instances
US10747776B2 (en) Replication control using eventually consistent meta-data
CN109144785B (en) Method and apparatus for backing up data
US8423517B2 (en) System and method for determining the age of objects in the presence of unreliable clocks
US20120278817A1 (en) Event distribution pattern for use with a distributed data grid
CN104506643A (en) Server of distributed storage system and data synchronizing method between servers
CN103634144A (en) Method, system and equipment for managing multi-IDC (internet data center) cluster configuration file
US9047126B2 (en) Continuous availability between sites at unlimited distances
CN103064717A (en) Device and method for parallel installation of software for cluster system
JP2004227169A (en) Distributed database system
CN103595707A (en) Automatic file network synchronization method based on SVN
CN103365740B (en) A kind of data cold standby method and device
US11042454B1 (en) Restoration of a data source
CN114416868A (en) Data synchronization method, device, equipment and storage medium
CN115460054B (en) Cloud service management and release method and system based on shared memory
CN116450353A (en) Processor core matching method and device, electronic equipment and storage medium
CN112685486B (en) Data management method and device for database cluster, electronic equipment and storage medium
US20190026129A1 (en) Management of application properties
CN111241044B (en) Method, device, equipment and readable storage medium for constructing heterogeneous database
CN114610798A (en) Resource allocation management method, system, device, storage medium and electronic equipment
CN109992215A (en) A kind of upgrade method, upgrade-system and the relevant apparatus of ICFS system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant