Method and system for deploying billing service

A server, mirroring technology

Inactive Publication Date: 2019-07-02
AEROSPACE INFORMATION
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a method and system for deploying billing services, which are u

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
  • Method and system for deploying billing service
  • Method and system for deploying billing service
  • Method and system for deploying billing service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] Embodiment 1 of the present invention provides a method for deploying an invoicing service, which is applied to an invoicing server system, and the system includes M servers, where M>=1. refer to figure 1 , the method includes the following steps:

[0058] Step 101: Install docker on M servers, and form the M servers into a docker swarm cluster;

[0059] Step 102: calling the docker swarm cluster to generate the images required for creating Redis cluster service, ZooKeeper cluster service, RabbitMQ cluster service, and Tomcat cluster service;

[0060] Step 103: call the docker swarm cluster, and create cluster services corresponding to each application according to the images corresponding to each application in Redis, ZooKeeper, RabbitMQ and Tomcat;

[0061] Step 104: Associate the cluster service of Tomcat with the cluster service of Redis, the cluster service of ZooKeeper, and the cluster service of RabbitMQ respectively.

[0062] In the above step 101, the specif...

Embodiment 2

[0177] Embodiment 2 of the present invention provides a system for deploying billing services, which is used to implement the method described in Embodiment 1 of the present invention. The system includes M servers, each server in the system is equipped with docker, and the M servers form a docker swarm cluster, M>=1;

[0178] The first server in the system is used to generate the Redis image;

[0179] The second server in the system is used to generate the ZooKeeper image;

[0180] The third server in the system is used to generate the RabbitMQ image;

[0181] The 4th server in described system is used for generating Tomcat mirror image;

[0182] The fifth server is used for: creating cluster services corresponding to each application according to mirror images corresponding to each application in Redis, ZooKeeper, RabbitMQ and Tomcat;

[0183] The sixth server in the system is used to associate the cluster service of Tomcat with the cluster service of Redis, the cluster s...

Embodiment 3

[0205] Embodiment 3 of the present invention provides a server for implementing the method for deploying billing services in the above embodiment. The server is installed with docker and docker image warehouse, and the server forms a docker with other M-1 servers. A swarm cluster, all servers in the docker swarm cluster share the docker image warehouse, M>=1.

[0206] refer to image 3 , the server includes:

[0207] Generating unit 301, is used for generating the mirror image needed for creating Redis cluster service, ZooKeeper cluster service, RabbitMQ cluster service, and Tomcat cluster service;

[0208] Pushing unit 302, is used for pushing each mirror image that generates to store in the described docker mirror warehouse;

[0209] The processing unit 303 is configured to create a cluster service corresponding to each application according to the image corresponding to each application; associate the cluster service of Tomcat with the cluster service of Redis, the cluste...

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 provides a method and a system for deploying billing services, which are used for solving the technical problems of high deployment difficulty and long time consumptionin deploying billing services in the prior art. The method comprises the steps that dockers are installed on M servers, the M servers form a docker swarm cluster, and M is equal to 1; calling the docker swarm cluster, and generating a mirror image required for creating a Redis cluster service, a ZooKeeper cluster service, a RabbitMQ cluster service and a Tomcat cluster service; calling the dockerswarm cluster, and creating a cluster service corresponding to each application according to the mirror image corresponding to each application in the Redis, the ZooKeeper, the RabbitMQ and the Tomcat; and respectively associating the cluster service of the Tomcat with the cluster service of the Redis, the cluster service of the ZooKeeper and the cluster service of the RabbitMQ.

Description

technical field [0001] The invention relates to the field of the Internet, in particular to a method and system for deploying billing services. Background technique [0002] At the request of the State Administration of Taxation, taxpayers in petrochemical, electric power, telecommunications, gas and other industries need to establish an invoicing platform to promote the business of machine-printed invoices. At present, the method of deploying the billing service is: artificially installing various application software supporting the billing service, such as Redis, ZooKeeper, RabbitMQ, Tomcat, etc., on each server in the billing system. [0003] This method has the following disadvantages: the production environment, R&D environment, and test environment of the application software are inconsistent, which makes software deployment difficult; secondly, due to the large number of servers in the billing system, each application software needs to be deployed on multiple differen...

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/50G06Q30/04
CPCG06F9/5027G06Q30/04
Inventor 何凯尹春天戴晓栋张玉魁龚勇浩
Owner AEROSPACE INFORMATION
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products