CN109617714B - GBT28181 docking system and method - Google Patents

GBT28181 docking system and method Download PDF

Info

Publication number
CN109617714B
CN109617714B CN201811419239.7A CN201811419239A CN109617714B CN 109617714 B CN109617714 B CN 109617714B CN 201811419239 A CN201811419239 A CN 201811419239A CN 109617714 B CN109617714 B CN 109617714B
Authority
CN
China
Prior art keywords
service
docking
virtual host
zookeeper
gbt28181
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
CN201811419239.7A
Other languages
Chinese (zh)
Other versions
CN109617714A (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.)
Gosuncn Guomai Technology Co ltd
Original Assignee
Gosuncn Guomai 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 Gosuncn Guomai Technology Co ltd filed Critical Gosuncn Guomai Technology Co ltd
Priority to CN201811419239.7A priority Critical patent/CN109617714B/en
Publication of CN109617714A publication Critical patent/CN109617714A/en
Application granted granted Critical
Publication of CN109617714B publication Critical patent/CN109617714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0659Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities
    • H04L41/0661Management of faults, events, alarms or notifications using network fault recovery by isolating or reconfiguring faulty entities by reconfiguring faulty entities
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1025Dynamic adaptation of the criteria on which the server selection is based

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Alarm Systems (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention belongs to the technical field of police acquisition workstations, and particularly relates to a GBT28181 docking system and a method, wherein the system comprises a Zookeeper, a management platform and a plurality of physical servers, wherein each physical server comprises an access service, a virtualization tool and a virtual host which are sequentially connected; the invention provides partial fault-tolerant capability by repeatedly deploying the existing hardware setting; the 28181 docking gateway is added into a high availability, so that when unpredictable disasters such as shutdown, network disconnection and the like occur to the server, the server can be automatically and quickly switched, manual operation is reduced, and docking service is recovered; and can inform the manager to maintain the fault server in time through an alarm mode.

Description

GBT28181 docking system and method
Technical Field
The invention belongs to the technical field of police acquisition workstations, and particularly relates to a GBT28181 docking system and method.
Background
In recent years, with the rapid development of computers, networks and image processing and transmission technologies, the popularization trend of video monitoring is more and more obvious, and video monitoring is widely applied to many occasions due to intuition, accuracy, timeliness and rich information content, and plays a greater and greater role in urban security. In the current security industry, the GBT28181 standard is generally adopted to implement cascade connection and docking, and the standard specifies the interconnection structure and communication protocol structure of information transmission, exchange and control, the basic requirements and safety requirements of transmission, exchange and control, and the technical requirements of control, transmission flow, protocol interface and the like in the urban monitoring alarm networking system.
In the current 28181 cascade connection docking, both sides of the cascade connection need to fix ip and ports, once a certain level of server goes down, the server must be manually started, and this process may take a lot of time, which will affect the normal docking service.
Disclosure of Invention
The invention aims to provide a GBT28181 docking system and a method, which are used for solving the technical problems that in the existing cascade docking, two cascade parties need fixed IP and ports, a server cannot be automatically and quickly switched, and a docking service cannot be recovered.
The invention is realized by the following technical scheme:
a GBT28181 docking system comprises a Zookeeper, a management platform and a plurality of physical servers P1, P2 and … Pn; each physical server Pi comprises an access service Ai, a virtualization tool and a virtual host Vi connected in sequence, wherein i is 1,2, …, n;
the management platform is connected with the zookeeper and used for monitoring the node state of the zookeeper access service;
the access service Ai is connected between the zookeeper and the virtualization tool, is responsible for accessing the zookeeper and participating election, and has a competitive relationship among a plurality of access services A1-An;
the virtualization tool is responsible for the deployment of the virtual host and provides an opening and closing interface for the virtual host;
the virtual host Vi is used for deploying the docking service of the GBT28181 gateway and is controlled to be opened or closed by the access service Ai.
Preferably, the system further comprises a GBT28181 gateway service, which is responsible for the GBT28181 gateway to interface with the service and is deployed in the virtual host.
Preferably, the GBT28181 gateway service is started at the same time when the virtual host is started.
Preferably, when the access service Ai is selected as the main service by the zookeeper, the virtual host Vi is started through an interface provided by the virtualization tool; when the service is not the main service, the current virtual host Vi is prohibited from running.
Preferably, the management platform can be used for sending an alarm when the access service in the system is disconnected.
The invention also comprises a GBT28181 docking method, which is applied to the docking system and comprises the following steps:
(1) the method comprises the following steps that a system initially runs, access services A1, A2 and … An are accessed to zookeeper, the zookeeper selects An access service A1 as a main service, A1 starts a virtual host V1 under a P1 physical server through a related interface of a virtualization tool, and after the virtual host V1 is started, GBT28181 gateway service automatically runs;
(2) when the physical server P1 is disconnected, the A1 and the zookeeper lose connection, and the zookeeper selects one access service from the rest access services A2-An as a main service;
(3) if the access service A2 is selected as a main service, starting a virtual host V2 under a P2 physical host through a related interface of a virtualization tool, and automatically running GBT28181 gateway service after the virtual host V2 is started; the docking service returns to normal.
Further, two deployment approaches are provided: physical server deployment and virtual host deployment.
Further, the management platform monitors that the A1 node is lost, stores the record in a warehouse, and sends an alarm to inform a manager of subsequent maintenance.
Preferably, the alert means includes a mail notification and a front-end interface display.
The present invention also includes a non-volatile storage medium characterized by one or more computer instructions that, when executed, implement the above-described docking method.
Compared with the prior art, the GBT28181 docking system and the method provided by the invention have at least the following beneficial effects or advantages: by repeatedly deploying the existing hardware settings, partial fault tolerance is provided; the 28181 docking gateway is added into a high availability gateway, so that when unpredictable disasters such as downtime, network disconnection and the like occur to the server, the server can be automatically and quickly switched, manual operation is reduced, and docking services are recovered. And can inform the manager to maintain the fault server in time through an alarm mode.
Drawings
The present invention will be described in further detail with reference to the accompanying drawings;
fig. 1 is a block diagram of GBT28181 docking system according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a GBT28181 docking system, which comprises a Zookeeper module, a management platform and a plurality of physical servers P1, P2, … and Pn, wherein the Zookeeper module is connected with the management platform through a network; wherein each physical server comprises An access service module (A1, A2, …, An), a virtualization tool and a virtual host (V1, V2, …, Vn) which are connected in sequence; the IP of the physical servers P1, P2, … and Pn are 172.10.0.1, 172.10.0.2, … and 172.10.0.n respectively; the IP of virtual hosts V1, V2, …, Vn are all 172.10.0.9.
1. Zookeeper: and coordinating distributed application programs and providing a cluster election function.
2. A management platform: and monitoring the state of the nodes responsible for the zookeeper access service, and sending an alarm when the access service in the system is disconnected.
3. And the access service is responsible for accessing the zookeeper and participating election, a competitive relationship exists among a plurality of access services, and when the zookeeper is selected as the main service, the virtual host is started through an interface provided by the virtualization tool. And when the service is not the main service, the current virtual machine is prohibited from running.
4. A virtualization tool: the system is responsible for the deployment of the virtual host and provides an opening and closing interface of the virtual host.
5. Virtual host machine: the docking services of the on-premise 28181 gateway are controlled to be turned on or off by the access service. When the virtual host is started, 28181 gateway related services are started.
6. 28181 gateway service: and the gateway is responsible for 28181 interface service and is deployed in the virtual host.
The invention also provides a GBT28181 docking method, which provides partial fault-tolerant capability by repeatedly deploying the existing hardware setting. When a certain server fails, the system will sense that an available server is selected from the system again, and the docking service is recovered to normal, and the implementation is specifically described as follows:
the deployment mode is as follows:
1. physical host deployment: accessing a service, a virtualization tool and a virtual host;
2. virtual host deployment: 28181 gateway services.
A plurality of physical machines (access service, virtualization tool and virtual host) are deployed in the system, and the IP of the virtual hosts are consistent. The system can ensure that only one virtual host is running at runtime. When a certain access service is selected as the main service, the virtual host is started, and other access services in the system can ensure that the current virtual host is in a closed state so as to prevent IP collision.
The specific steps of the docking method are described as follows:
1. the method comprises the steps that the system initially runs, A1, A2 and … An are connected to zookeeper, the zookeeper selects An access service A1 as a main service, A1 starts a virtual host V1 under a P1 physical host through a related interface of a virtualization tool, and after the virtual host is started, 28181 gateway related services automatically run.
2. When the physical server P1 is disconnected, powered off and the like, the A1 and the zookeeper lose connection, and the zookeeper selects one access service from the rest access services as a main service.
3. The access service A2 selected as the main service starts the virtual host V2 under the P2 physical host through the related interface of the virtualization tool, and automatically runs 28181 gateway related services after the virtual host is started. At this point, the docking traffic returns to normal.
4. And the management platform monitors that the A1 node is lost, stores the records in a warehouse, gives an alarm in the modes of mails, front-end interfaces and the like, and informs managers of follow-up maintenance.
The present invention also provides a non-volatile storage medium comprising one or more computer instructions which, when executed, implement the docking method described above.
The above-mentioned embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, and it should be understood that the above-mentioned embodiments are only examples of the present invention and are not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the invention are also within the protection scope of the invention.

Claims (9)

1. A GBT28181 docking system is characterized in that the docking system comprises a Zookeeper, a management platform and a plurality of physical servers P1, P2 and … Pn; each physical server Pi comprises an access service Ai, a virtualization tool and a virtual host Vi connected in sequence, wherein i is 1,2, …, n;
the management platform is connected with the zookeeper and used for monitoring the node state of the zookeeper access service;
the access service Ai is connected between the zookeeper and the virtualization tool and is responsible for accessing the zookeeper and participating election, a plurality of access services A1-An are in competition relation, when the zookeeper is selected as a main service, the virtual host is correspondingly controlled to start through An interface provided by the virtualization tool, and when the zookeeper is not selected as the main service, the current virtual host is forbidden to run;
the virtualization tool is responsible for the deployment of the virtual host and provides an opening and closing interface for the virtual host;
the virtual host Vi is used for deploying the docking service of the GBT28181 gateway, is controlled to be started or closed by the access service Ai, and automatically runs the 28181 gateway service after the virtual host Vi is started; the GBT28181 gateway service is responsible for 28181 gateway docking traffic, deployed in the virtual host.
2. The docking system of claim 1, further comprising a GBT28181 gateway service, responsible for GBT28181 gateway docking traffic, deployed within the virtual host.
3. The docking system of claim 2, wherein the GBT28181 gateway service is started at the same time as the virtual host starts.
4. A docking system according to claim 1, wherein the management platform is configured to issue an alarm if there is a dropped access service in the system.
5. A GBT28181 docking method applied to the docking system according to any one of claims 1 to 4, comprising the steps of:
(1) the method comprises the following steps that a system initially runs, access services A1, A2 and … An are accessed to zookeeper, the zookeeper selects An access service A1 as a main service, A1 starts a virtual host V1 under a P1 physical server through a related interface of a virtualization tool, and after the virtual host V1 is started, GBT28181 gateway service automatically runs;
(2) when the physical server P1 is disconnected, the A1 and the zookeeper lose connection, and the zookeeper selects one access service from the rest access services A2-An as a main service;
(3) if the access service A2 is selected as a main service, starting a virtual host V2 under a P2 physical host through a related interface of a virtualization tool, and automatically running GBT28181 gateway service after the virtual host V2 is started; the docking service returns to normal.
6. The docking method according to claim 5, wherein two deployment modes are provided: physical server deployment and virtual host deployment.
7. A docking method according to claim 5, wherein the management platform monitors that the A1 node is lost, puts records in storage, and sends an alarm to notify the manager of the follow-up maintenance.
8. The docking method as claimed in claim 7, wherein the alert means comprises a mail notification and a front end interface display.
9. A non-volatile storage medium comprising one or more computer instructions which, when executed, implement the docking method of any one of claims 5 to 8.
CN201811419239.7A 2018-11-26 2018-11-26 GBT28181 docking system and method Active CN109617714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811419239.7A CN109617714B (en) 2018-11-26 2018-11-26 GBT28181 docking system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811419239.7A CN109617714B (en) 2018-11-26 2018-11-26 GBT28181 docking system and method

Publications (2)

Publication Number Publication Date
CN109617714A CN109617714A (en) 2019-04-12
CN109617714B true CN109617714B (en) 2021-12-28

Family

ID=66004698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811419239.7A Active CN109617714B (en) 2018-11-26 2018-11-26 GBT28181 docking system and method

Country Status (1)

Country Link
CN (1) CN109617714B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8832345B2 (en) * 2010-08-24 2014-09-09 Belkin International, Inc. System for communicating between two electrical devices and method therefore
CN106411785B (en) * 2015-08-03 2019-08-06 上海宽带技术及应用工程研究中心 Openstack network system and implementation method based on full OPENFLOW physical switches network
US10404832B2 (en) * 2015-08-31 2019-09-03 Ayla Networks, Inc. Management of gateway device using virtual gateway device
CN106445684A (en) * 2016-09-14 2017-02-22 郑州云海信息技术有限公司 Method and device for service deployment
CN106897027B (en) * 2017-01-18 2020-03-24 成都电科致远网络科技有限公司 Distributed storage service system and method based on desktop virtualization
CN106874423B (en) * 2017-01-25 2020-07-31 广东神马搜索科技有限公司 Search control method and system
CN107547278B (en) * 2017-09-05 2021-02-02 苏州浪潮智能科技有限公司 Device and method for interfacing OpenStack with enterprise virtualization environment
CN107566217B (en) * 2017-09-19 2020-11-13 顺丰科技有限公司 Flow control method, device, equipment and storage medium
CN108270855B (en) * 2018-01-15 2021-06-29 司中明 Method for accessing Internet of things platform to equipment

Also Published As

Publication number Publication date
CN109617714A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
US11902086B2 (en) Method and system of a dynamic high-availability mode based on current wide area network connectivity
US7577720B2 (en) Migration method for software application in a multi-computing architecture, method for carrying out functional continuity implementing said migration method and multi-computing system provided therewith
US8438307B2 (en) Method and device of load-sharing in IRF stack
CN101917337B (en) Device and method for interconnecting router cluster middle plates
US20080016389A1 (en) Fault tolerant routing in a network routing system based on a passive replication approach
CN1874223B (en) Access control method for implementing binding MAC/IP of network device
CN106657354A (en) Load balancing device and method
CN111949444A (en) Data backup and recovery system and method based on distributed service cluster
CN114741060B (en) Business system development method and device based on middle platform
CN109617714B (en) GBT28181 docking system and method
EP4068708A1 (en) Network operation method, apparatus, and device and storage medium
CN100362484C (en) Method of multi-computer back-up
CN112073499A (en) Dynamic service method of multi-machine type cloud physical server
CN106453118B (en) Flow control method and flow control system
CN115037769A (en) SOA-based air traffic control automation system and implementation method thereof
CN105426118B (en) A kind of method that serial ports backup heartbeat passage is utilized in double-control system
CN113055427B (en) Service-based server cluster access method and device
CN108282373A (en) System and method based on the fast quick-recovery business datum of SPTN controllers
CN100508627C (en) System and method for realizing backup of scrambler
Cisco Managing Your Switches
CN113645081A (en) Method, device and medium for realizing multiple exits of tenant network in cloud network environment
CN112187542A (en) Data communication clustering method and system
CN101453354A (en) High availability system based on ATCA architecture
CN111722988A (en) Fault switching method and device for data space nodes
CN115550371B (en) Pod scheduling method and system based on Kubernetes and cloud platform

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