CN103297269A - Network service deployment and management method and system based on service computing platform - Google Patents

Network service deployment and management method and system based on service computing platform Download PDF

Info

Publication number
CN103297269A
CN103297269A CN2013101906697A CN201310190669A CN103297269A CN 103297269 A CN103297269 A CN 103297269A CN 2013101906697 A CN2013101906697 A CN 2013101906697A CN 201310190669 A CN201310190669 A CN 201310190669A CN 103297269 A CN103297269 A CN 103297269A
Authority
CN
China
Prior art keywords
service
deployment
command
client server
module
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.)
Granted
Application number
CN2013101906697A
Other languages
Chinese (zh)
Other versions
CN103297269B (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.)
China University of Petroleum East China
Original Assignee
China University of Petroleum East China
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 China University of Petroleum East China filed Critical China University of Petroleum East China
Priority to CN201310190669.7A priority Critical patent/CN103297269B/en
Publication of CN103297269A publication Critical patent/CN103297269A/en
Application granted granted Critical
Publication of CN103297269B publication Critical patent/CN103297269B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a network service deployment and management method and system based on a service computing platform. On the basis of Web services, the concept that service deployment and service management are separated is adopted; services which can be used for migration deployment can be maintained in a Web server; a service manager acquires a service list available for migration deployment from the Web server by using a Web service technology,. and controls channel through a command to send commands including four types of deployment, starting, stopping and logout to a client server for management; the client server receives the commands sent by the service manager and then parses and executes the commands, service deployment is to acquire migration services from the Web server, service starting, stopping and logout are implemented through the Web service technology, and corresponding operations are executed aiming at deployed services. The Web services and service deployment are combined, the difficulty of traditional service deployment is lowered, service deployment and service management are separated, and accordingly the whole system is maintained and managed conveniently and quickly.

Description

Network service deployment and management method and system based on service computing platform
Technical Field
The invention belongs to the field of network application, and relates to a method for deploying and managing network services based on service computing and a system for deploying and managing network services based on service computing.
Background
With the development of the internet, more and more network-based application services have emerged. For network service administrators, deploying and managing different network services on different operating system platforms is a task which requires professional knowledge and is tedious and time-consuming, and it is very meaningful to research how to release the network administrators from the deployment details of various network services.
Before the advent of Web services, a significant problem faced by distributed networks was that interoperability between the various platforms was too poor due to the inter-diversity of the platforms between the various organizations, organizations. The advent of the Web services standards (WSDL, SOAP and UDDI) solved this problem. Its advantage is seamless interoperability, which allows an application written in one language on one platform to use an application service written in a completely different language on another, completely different platform. And from the e-commerce application field, the Web service can solve the problems of high maintenance cost and update cost caused by complex application connection and program codes in e-commerce application.
Because of the existence of special network services (e.g., certain types of honeypots can dynamically change the unicast IP address of a host), there are many problems with the use of unicast IP addresses by a network service management center to control and manage various network servers. Thus, conventional communication modes based on unicast or broadcast techniques limit information delivery to a particular host or all hosts in the network, and do not accommodate the dynamics of the communication. Multicast technology is an efficient data transport mechanism suitable for group communication, where a group of hosts logically belonging to a group is identified by a class D IP address, and dynamic changes in the group relationships are achieved by means of "join" or "leave" operations. Any host can communicate with all members of the group via this address. The data source only needs to send one data copy, the multicast message is automatically copied according to the needs in the network transmission process, the defects that the unicast stream establishes communication connection for each receiver and independently sends data information are avoided, and the problem that the unicast address is dynamically changed in some special services is solved.
Disclosure of Invention
The invention provides a network service deployment and management method based on a service computing platform and a network service deployment and management system based on the service computing platform; the invention separates the deployment and management of the network service by utilizing the seamless interoperability of the service calculation and the dynamic adaptability of the multicast technology, the network administrator can easily complete the network service deployment link without knowing the details of the service deployment, and the management of the network service can be realized through a control center.
The technical solution is as follows:
a network service deployment and management method based on a service computing platform comprises the following steps:
a, in the initial stage of service deployment and management, a Web server is started first. Maintaining a plurality of services which can be used for migration and deployment and a service list which can be inquired in a Web server;
b, in the initial stage of service deployment and management, starting the client server cluster and the service manager. The service manager obtains the latest service list for migration and deployment from the Web server in the starting stage, and the network manager performs centralized management on the client server cluster in the management range through the service manager;
c, when a specific service is required to be deployed on the client server, a network administrator sends a deployment command to the client server through the service manager, the client server analyzes the service type required to be migrated and deployed from the received command and immediately sends a service deployment request to the Web server, and after the Web server migrates the required service to the client server, the client server notifies the service manager that the execution of the deployment command is finished;
d, when the service after the migration and deployment needs to be started, a network administrator sends a starting command to a specified client server through a command control channel, and the client server analyzes the service type needing to be started, starts the specified service and informs a service manager that the service is started;
e, when the started migration service needs to be closed, the network administrator sends a stop command to the specified client server through the command control channel, and the client server analyzes the service type needing to be stopped, stops the specified service and informs the service manager that the service is stopped;
f, when the migration service needs to be cancelled, the network administrator sends a cancellation command to the specified client server through the command control channel, and the client server resolves the service type needing to be cancelled, cancels the specified service and informs the service manager that the service cancellation is finished;
and g, the service manager can send a service updating request to the Web server at any time, and the Web server returns a latest service list for migration and deployment.
All functions of the Web server are designed and realized by using Web service technology.
The Web server uses the MTOM mechanism in the Web service to implement service migration.
Since some special services (such as honeypots) may dynamically change the IP address of their own host, the command control mechanism of the service manager uses a multicast channel, and the message format is: source address, destination address, command type, command code, service type and set of service types.
A network service deployment and management system based on a service computing platform comprises a Web server, a service manager and a client server; wherein,
the Web server comprises a service registration module, a service inquiry module and a service deployment module; the network administrator stores the installation package of the service program in the Web server, adds, deletes and upgrades a new service installation package according to the requirement, and updates a service list for migration and deployment; the Web server issues the service inquiry function call and the service deployment function call through the UDDI; the service inquiry call returns the latest service list available for migration and deployment, and the service deployment call deploys the specified service to the client server requesting the service through an MTOM mechanism;
the service manager comprises an update service module, a deployment service module, a start service module, a stop service module and a logout service module; the updating service module inquires a service list available for migration and deployment from the Web server through Web service function call; the service deploying module, the service starting module, the service stopping module and the service logout module send command request messages to each client server through a CC channel and receive command response messages returned by the client servers;
the client server comprises a command receiving module, a command executing module and a command returning module; the client server monitors a CC channel command of a service manager in idle, firstly detects whether a destination address is a local ID when receiving a command request message, and discards the message without any processing if the destination address is not the local ID; if the analyzed destination address is the ID of the destination address, analyzing the command type and executing corresponding operation; when the command type is the deployment service, the client server calls a migration deployment service which is required to be specified from the Web server through a Web service function; when the command type is 3 types of open service, stop service, or logout service, the client server will designate the migration service to open, stop, or logout.
The invention has the following beneficial technical effects:
the invention separates service deployment from service management. When a network administrator deploys services, the details of how to deploy specific services on different platforms do not need to be known, only dynamic migration operation is needed to be performed on the specified services through the service manager, and meanwhile, the network administrator can perform unified management and maintenance on the migrated and deployed services in the service manager. The invention can effectively reduce the difficulty of network service deployment and management.
Drawings
The invention will be further described with reference to the following detailed description and accompanying drawings:
the figure is a schematic diagram of the principle of one embodiment of the invention.
Detailed Description
With reference to the attached drawings, a network service deployment and management system based on a service computing platform comprises a Web server, a service manager and a client server.
The Web server comprises a service registration module, a service inquiry module and a service deployment module, and all the modules are realized by a Web service technology. And the network administrator stores the service program installation package for migration and deployment in the Web server, adds, deletes and updates a new service installation package as required, and updates a service list for migration. The Web server firstly issues a service query function call and a service deployment function call through UDDI, the service query call returns a latest service list for migration and deployment, and the service deployment call deploys a specified service to a client server requesting the service through an MTOM mechanism.
The service manager comprises an update service module, a deployment service module, a start service module, a stop service module and a logout service module. The updating service module inquires a service list available for migration and deployment from the Web server through Web service function call; the service deploying module, the service starting module, the service stopping module and the service logout module send command request messages to each client server through a CC channel and receive command response messages returned by the client servers;
the client server comprises a command receiving module, a command executing module and a command returning module. The client server monitors a CC channel command of a service manager in idle, firstly detects whether a destination address is a local ID when receiving a command request message, and discards the message without any processing if the destination address is not the local ID; if the analyzed destination address is the ID of the destination address, analyzing the command type and executing corresponding operation; when the command type is the deployment service, the client server calls a migration deployment service which is required to be specified from the Web server through a Web service function; when the command type is 3 types of open service, stop service, or logout service, the client server will designate the migration service to open, stop, or logout.
A network service deployment and management method based on a service computing platform comprises the following steps:
a, in the initial stage of service deployment and management, a Web server is started first. Maintaining a plurality of services which can be used for migration and deployment and a service list which can be inquired in a Web server;
b, in the initial stage of service deployment and management, starting the client server cluster and the service manager. The service manager obtains the latest service list for migration and deployment from the Web server in the starting stage, and the network manager performs centralized management on the client server cluster in the management range through the service manager;
c, when a specific service is required to be deployed on the client server, a network administrator sends a deployment command to the client server through the service manager, the client server analyzes the service type required to be migrated and deployed from the received command and immediately sends a service deployment request to the Web server, and after the Web server migrates the required service to the client server, the client server notifies the service manager that the execution of the deployment command is finished;
d, when the service after the migration and deployment needs to be started, a network administrator sends a starting command to a specified client server through a command control channel, and the client server analyzes the service type needing to be started, starts the specified service and informs a service manager that the service is started;
e, when the started migration service needs to be closed, the network administrator sends a stop command to the specified client server through the command control channel, and the client server analyzes the service type needing to be stopped, stops the specified service and informs the service manager that the service is stopped;
f, when the migration service needs to be cancelled, the network administrator sends a cancellation command to the specified client server through the command control channel, and the client server resolves the service type needing to be cancelled, cancels the specified service and informs the service manager that the service cancellation is finished;
and g, the service manager can send a service updating request to the Web server at any time, and the Web server returns a latest service list for migration and deployment.
All functions of the Web server are designed and realized by using Web service technology.
The Web server uses the MTOM mechanism in the Web service to realize service migration.
Since some special services (such as honeypots) may dynamically change the IP address of their own host, the command control mechanism of the service manager uses a multicast channel, and the message format is: source address, destination address, command type, command code, service type and set of service types.
For a better understanding of the present invention, some of the abbreviations involved are defined (interpreted) as:
WS: (Web Service), Web Service
UDDI: (Universal Description Discovery and Integration), unified Description, Discovery, and Integration protocol
MTOM: message Transmission Optimization Mechanism (MTOM) of W3C
gSOAP: the gSOAP compilation tool provides implementation of SOAP/XML about C/C + + language, and gSOAP provides a set of transparent SOAP APIs by using compiler technology, and hides the content related to development-independent SOAP implementation details from users
CC: (Command Control), Command Control
More specifically, the method comprises the following two aspects:
(1) the Web service function call is written through a gsoap functional component and mainly comprises a Web server side and a Web client side code. The Web server end code is deployed in a Web server to realize the functions of service inquiry and service migration. The Web client codes are respectively deployed in the service manager and the client server to realize the updating service function of the service manager and the deploying service request function of the client server. The service migration and deployment link is realized by using an MTOM mechanism of Web services.
(2) The service manager manages the client server cluster through the CC, which uses a multicast channel, and the format of the message is as shown in table 1.
TABLE 1
Source address Destination address Type of command Command code Kind of service Service type set
1 byte 1 byte 1 byte 1 byte 1 byte
See table 2 for the meaning of the field codes.
TABLE 2
Figure BDA00003226514400051
Figure BDA00003226514400061
The number of the client servers is the number of the hosts managed by the network administrator, and the number is started from 0.
The service type is a service type code available for migration in the Web server, and is numbered from 0, as shown in table 3.
TABLE 3
Type of service Means of
0 FTP service
1 IIS service
2 Apache service
3 POP3 service
4 SMTP service
For example, the service manager wants to deploy FTP service and IIS service on the client server 1, and the message format is:
when the client server 1 receives the message and executes it successfully, the format of the returned message is:
Figure BDA00003226514400063
the invention separates the deployment and management of the network service by utilizing the seamless interoperability of the service calculation and the dynamic adaptability of the multicast technology, the network administrator can easily complete the network service deployment link without knowing the details of the service deployment, and the deployment and the management of the network service can be realized through a control center. The invention has simple structure, low complexity and good compatibility, and is suitable for large-scale application in a network management system.
The technical contents which are not described in the above modes can be realized by adopting or referring to the prior art.
It is noted that those skilled in the art, having the benefit of the teachings of this specification, may effect these and other changes in a manner similar to the equivalents thereof, or obvious variations thereof. All such variations are intended to be within the scope of the present invention.

Claims (5)

1. A network service deployment and management method based on a service computing platform is characterized by comprising the following steps:
a, in the initial stage of service deployment and management, a Web server is started first. Maintaining a plurality of services which can be used for migration and deployment and a service list which can be inquired in a Web server;
b, in the initial stage of service deployment and management, starting the client server cluster and the service manager. The service manager obtains the latest service list for migration and deployment from the Web server in the starting stage, and the network manager performs centralized management on the client server cluster in the management range through the service manager;
c, when a specific service is required to be deployed on the client server, a network administrator sends a deployment command to the client server through the service manager, the client server analyzes the service type required to be migrated and deployed from the received command and immediately sends a service deployment request to the Web server, and after the Web server migrates the required service to the client server, the client server notifies the service manager that the execution of the deployment command is finished;
d, when the service after the migration and deployment needs to be started, a network administrator sends a starting command to a specified client server through a command control channel, and the client server analyzes the service type needing to be started, starts the specified service and informs a service manager that the service is started;
e, when the started migration service needs to be closed, the network administrator sends a stop command to the specified client server through the command control channel, and the client server analyzes the service type needing to be stopped, stops the specified service and informs the service manager that the service is stopped;
f, when the migration service needs to be cancelled, the network administrator sends a cancellation command to the specified client server through the command control channel, and the client server resolves the service type needing to be cancelled, cancels the specified service and informs the service manager that the service cancellation is finished;
and g, the service manager can send a service updating request to the Web server at any time, and the Web server returns a latest service list for migration and deployment.
2. The method for deploying and managing network services based on the service computing platform according to claim 1, wherein: all functions of the Web server are designed and realized by using Web service technology.
3. The method for deploying and managing network services based on the service computing platform as claimed in claim 2, wherein: the Web server uses the MTOM mechanism in the Web service to realize service migration.
4. The method for deploying and managing network services based on the service computing platform according to claim 1, wherein: the command control mechanism of the service manager uses a multicast channel, and the message format is as follows: source address, destination address, command type, command code, service type and set of service types.
5. A network service deployment and management system based on a service computing platform is characterized by comprising a Web server, a service manager and a client server; wherein,
the Web server comprises a service registration module, a service inquiry module and a service deployment module; the network administrator stores the installation package of the service program in the Web server, adds, deletes and upgrades a new service installation package according to the requirement, and updates a service list for migration and deployment; the Web server issues the service inquiry function call and the service deployment function call through the UDDI; the service inquiry call returns the latest service list available for migration and deployment, and the service deployment call deploys the specified service to the client server requesting the service through an MTOM mechanism;
the service manager comprises an update service module, a deployment service module, a start service module, a stop service module and a logout service module; the updating service module inquires a service list available for migration and deployment from the Web server through Web service function call; the service deploying module, the service starting module, the service stopping module and the service logout module send command request messages to each client server through a CC channel and receive command response messages returned by the client servers;
the client server comprises a command receiving module, a command executing module and a command returning module; the client server monitors a CC channel command of a service manager in idle, firstly detects whether a destination address is a local ID when receiving a command request message, and discards the message without any processing if the destination address is not the local ID; if the analyzed destination address is the ID of the destination address, analyzing the command type and executing corresponding operation; when the command type is the deployment service, the client server calls a migration deployment service which is required to be specified from the Web server through a Web service function; when the command type is 3 types of open service, stop service, or logout service, the client server will designate the migration service to open, stop, or logout.
CN201310190669.7A 2013-05-22 2013-05-22 A kind of Web Service Deployment based on service compute platform and management method Expired - Fee Related CN103297269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310190669.7A CN103297269B (en) 2013-05-22 2013-05-22 A kind of Web Service Deployment based on service compute platform and management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310190669.7A CN103297269B (en) 2013-05-22 2013-05-22 A kind of Web Service Deployment based on service compute platform and management method

Publications (2)

Publication Number Publication Date
CN103297269A true CN103297269A (en) 2013-09-11
CN103297269B CN103297269B (en) 2016-04-27

Family

ID=49097617

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310190669.7A Expired - Fee Related CN103297269B (en) 2013-05-22 2013-05-22 A kind of Web Service Deployment based on service compute platform and management method

Country Status (1)

Country Link
CN (1) CN103297269B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767641A (en) * 2015-04-01 2015-07-08 北京京东尚科信息技术有限公司 Flow adjusting method, device and system
CN108092801A (en) * 2017-11-29 2018-05-29 国云科技股份有限公司 A kind of method that service catalogue is managed under cloudy platform
CN108762815A (en) * 2018-05-16 2018-11-06 北京麟卓信息科技有限公司 A kind of Android running environment implementation methods based on non-virtualized architectural framework
CN108924242A (en) * 2018-07-19 2018-11-30 北京车联天下信息技术有限公司 Service update method, device and big data service platform
CN110119288A (en) * 2019-03-26 2019-08-13 福建省天奕网络科技有限公司 The method of centralized and unified starting service, storage medium
CN110401729A (en) * 2019-06-28 2019-11-01 苏州浪潮智能科技有限公司 A kind of cloud platform server network moving method, system, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030182361A1 (en) * 2002-03-22 2003-09-25 Sun Microsystems, Inc. Business-model agnostic service deployment management service
US20060031441A1 (en) * 2004-04-30 2006-02-09 International Business Machines Corporation Dynamic extension of network-accessible services
CN101645872A (en) * 2008-08-05 2010-02-10 北京大学 Business service system of Internet large-scale application environment and working method thereof
CN102185900A (en) * 2011-04-18 2011-09-14 北京新媒传信科技有限公司 Application service platform system and method for developing application services

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030182361A1 (en) * 2002-03-22 2003-09-25 Sun Microsystems, Inc. Business-model agnostic service deployment management service
US20060031441A1 (en) * 2004-04-30 2006-02-09 International Business Machines Corporation Dynamic extension of network-accessible services
CN101645872A (en) * 2008-08-05 2010-02-10 北京大学 Business service system of Internet large-scale application environment and working method thereof
CN102185900A (en) * 2011-04-18 2011-09-14 北京新媒传信科技有限公司 Application service platform system and method for developing application services

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104767641A (en) * 2015-04-01 2015-07-08 北京京东尚科信息技术有限公司 Flow adjusting method, device and system
CN104767641B (en) * 2015-04-01 2018-08-14 北京京东尚科信息技术有限公司 Server capability dispatching method, equipment, server and system
CN108092801A (en) * 2017-11-29 2018-05-29 国云科技股份有限公司 A kind of method that service catalogue is managed under cloudy platform
CN108762815A (en) * 2018-05-16 2018-11-06 北京麟卓信息科技有限公司 A kind of Android running environment implementation methods based on non-virtualized architectural framework
CN108762815B (en) * 2018-05-16 2021-01-01 北京麟卓信息科技有限公司 Method for realizing Android running environment based on non-virtualization system architecture
CN108924242A (en) * 2018-07-19 2018-11-30 北京车联天下信息技术有限公司 Service update method, device and big data service platform
CN110119288A (en) * 2019-03-26 2019-08-13 福建省天奕网络科技有限公司 The method of centralized and unified starting service, storage medium
CN110119288B (en) * 2019-03-26 2022-02-08 福建省天奕网络科技有限公司 Method for centralized unified starting service and storage medium
CN110401729A (en) * 2019-06-28 2019-11-01 苏州浪潮智能科技有限公司 A kind of cloud platform server network moving method, system, terminal and storage medium
CN110401729B (en) * 2019-06-28 2022-12-23 苏州浪潮智能科技有限公司 Cloud platform server network migration method, system, terminal and storage medium

Also Published As

Publication number Publication date
CN103297269B (en) 2016-04-27

Similar Documents

Publication Publication Date Title
CN103297269B (en) A kind of Web Service Deployment based on service compute platform and management method
US11895154B2 (en) Method and system for virtual machine aware policy management
US11429369B2 (en) Distributed upgrade in virtualized computing environments
US8775651B2 (en) System and method for dynamic adaptation service of an enterprise service bus over a communication platform
US20160127226A1 (en) Universal customer premise equipment
WO2016146077A1 (en) Dynamic route configuration method, device and system
US11625280B2 (en) Cloud-native proxy gateway to cloud resources
CN105100267A (en) Deployment apparatus and deployment method for large enterprise private cloud
WO2014115157A1 (en) Address resolution in software-defined networks
US20240048484A1 (en) Route updating method and user cluster
US9690676B2 (en) Assigning network device subnets to perform network activities using network device information
CN102215172A (en) Method and system for realizing across virtual private local area network multicast
CN101483657A (en) Implementation method and system for same side private network device access by private user
CN110990025A (en) Instance deployment method and system
WO2015003420A1 (en) Resource deployment method for cloud computing environment
US20230171149A1 (en) Scalable notification delivery for networked computing environments
US20210409931A1 (en) Serverless core network architecture
CN112953992A (en) Network system, communication and networking method, device and storage medium
CN105721314A (en) Method and equipment for sending data packet
CN108259345B (en) Port generation method and device
US11652693B2 (en) Edge cloud anchoring
JP6243015B2 (en) System and method for virtual network entity (VNE) based on network operation support system (NOSS)
CN108259391B (en) Port configuration method and device
CN103139161B (en) The business management method of a kind of Video Distribution Network and device
US8645564B2 (en) Method and apparatus for client-directed inbound traffic engineering over tunnel virtual network links

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160427