CN107656814A - A kind of middleware services implementation method and device - Google Patents

A kind of middleware services implementation method and device Download PDF

Info

Publication number
CN107656814A
CN107656814A CN201710920169.2A CN201710920169A CN107656814A CN 107656814 A CN107656814 A CN 107656814A CN 201710920169 A CN201710920169 A CN 201710920169A CN 107656814 A CN107656814 A CN 107656814A
Authority
CN
China
Prior art keywords
middleware
template
instruction
resource information
implementation method
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
CN201710920169.2A
Other languages
Chinese (zh)
Other versions
CN107656814B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710920169.2A priority Critical patent/CN107656814B/en
Publication of CN107656814A publication Critical patent/CN107656814A/en
Application granted granted Critical
Publication of CN107656814B publication Critical patent/CN107656814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5066Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of middleware services implementation method and device.It is related to cloud computing technology;Solve the problems, such as that middleware generation configuration complexity is higher.This method includes:The instruction that user creates middleware is received, carries computing resource information and network resource information needed for middleware embodiment in the instruction;According to the instruction, with reference to preset middleware template, corresponding middleware example service is created.Technical scheme provided by the invention is applied to cloud management platform, realizes one-touch automatic deployment and initialization middleware example.

Description

A kind of middleware services implementation method and device
Technical field
The present invention relates to cloud computing technology, espespecially a kind of middleware services implementation method and device.
Background technology
In cloud computing era, as a kind of independent system software or the middleware of service routine, it is possible to achieve in difference Shared resource between technology, two different systems of interface can be made to be connected, be indispensable in various relational deployments Component.Because software category is various, the quantity of the middleware type required for it is also very huge, and the configuration of middleware creates Thus there is higher complexity, difficulty is caused for user.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of middleware services implementation method and device.User selects Select oneself want create middleware type and version, the configuration to corresponding information select, send instruction, from the background can according to The selection at family, middleware example corresponding to establishment, and it is initialized.For a user, it is only necessary to a small amount of configuration of choosing , one-touch automatic deployment and initialization, solve the problems, such as that middleware generation configuration complexity is higher, reduce user's use The difficulty of middleware, the species of service can externally be provided by enriching cloud management platform.
In order to reach the object of the invention, the invention provides a kind of middleware services implementation method, including:
The instruction that user creates middleware is received, carries the computing resource letter needed for middleware embodiment in the instruction Breath and network resource information;
According to the instruction, with reference to preset middleware template, corresponding middleware example service is created.
Preferably, according to the instruction, with reference to preset middleware template, the step of corresponding middleware example service is created Suddenly include:
Computing resource information and network resource information in the instruction, corresponding middleware template is filled in, created Middleware example;
The mode being relatively isolated using system and data configures the middleware example;
Restart the middleware example, complete to create the middleware example service.
Preferably, this method also includes:
The void of deployed middleware example is created that in different virtualization type bottoms according to each middleware template Plan machine.
Preferably, the mode being relatively isolated using system and data, which configures the step of middleware example, to be included:
To configure IP address, subnet mask, gateway and data disks message composition needed for the middleware example into Shell scripts, and generate ISO files;
By the ISO file mounts on being locally stored, the middle related letter for reading the ISO files is locally stored from described Breath configures to the middleware example.
Preferably, this method also includes:
Make different type, the middleware template of version.
Present invention also offers a kind of middleware services realization device, including:
Command reception module, the instruction of middleware is created for receiving user, carry middleware in the instruction and implement Computing resource information and network resource information needed for example;
Service creation module, for according to the instruction, with reference to preset middleware template, it is real to create corresponding middleware Example service.
Preferably, the service creation module includes:
Example creating unit, for the computing resource information and network resource information in the instruction, fill in corresponding Middleware template, create middleware example;
Dispensing unit, the mode for being relatively isolated using system and data configure the middleware example;
Restart unit, for restarting the middleware example, complete to create the middleware example service.
Preferably, the device also includes:
Virtualization modules, it is deployed for being created that according to each middleware template in different virtualization type bottoms The virtual machine of middleware example.
Preferably, the dispensing unit includes:
ISO file generated subelements, for IP address needed for the middleware example, subnet mask, gateway will to be configured And data disks message composition is into shell scripts, and generate ISO files;
Carry performs subelement, for being locally stored, the ISO file mounts to be locally stored into middle reading from described The relevant information of the ISO files configures to the middleware example.
Preferably, the device also includes:
Template generation module, for making different type, the middleware template of version.
The invention provides a kind of middleware services implementation method and device, receives the instruction that user creates middleware, The computing resource information and network resource information needed for middleware embodiment are carried in the instruction, according to the instruction, with reference to Preset middleware template, create corresponding middleware example service.User only needs to select resource by instructing, with reference to preset Different type, the middleware template of version, you can complete create middleware service implementation operation, solve middleware generation The problem of configuration complexity is higher, the difficulty that user uses middleware is reduced, clothes can externally be provided by enriching cloud management platform The species of business.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is a kind of schematic flow sheet for middleware services implementation method that embodiments of the invention one provide;
Fig. 2 is a kind of realization principle schematic diagram for middleware services implementation method that embodiments of the invention two provide;
Fig. 3 is configuration principle schematic;
Fig. 4 is a kind of structural representation for middleware services realization device that embodiments of the invention three provide;
Fig. 5 is the structural representation of service creation module 402 in Fig. 4;
Fig. 6 is the structural representation of dispensing unit 4022 in Fig. 5.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein Sequence performs shown or described step.
In cloud computing era, as a kind of independent system software or the middleware of service routine, it is possible to achieve in difference Shared resource between technology, two different systems of interface can be made to be connected, be indispensable in various relational deployments Component.Because software category is various, the quantity of the middleware type required for it is also very huge, and the configuration of middleware creates Thus there is higher complexity, difficulty is caused for user.
In order to solve the above problems, the embodiment provides a kind of middleware services implementation method and device, leads to Cross and template is made in the middleware of a variety of different types, version, when middleware is created, need to only select to select middleware class A small amount of configuration information such as type, version, cpu, internal memory, storage and network, the selection of middleware services background program automatic decision are corresponding Template, according to corresponding to automatically selecting network cluster and storage (as multiple, one is selected according to load-balancing algorithm), will in Between part example be created that come.Reach the effect of key deployment.
First with reference to accompanying drawing, embodiments of the invention one are illustrated.
The embodiment of the present invention one provides a kind of middleware services implementation method, completes middleware services using this method and creates The flow built as shown in figure 1, including:
Step 101, make different type, the middleware template of version;
The void of deployed middleware example is created that in different virtualization type bottoms according to each middleware template Plan machine;
In this step, IP address, subnet mask, gateway and data disks information needed for the middleware example will be configured Shell scripts are written as, and generate ISO files, by the ISO file mounts on being locally stored, from described be locally stored The relevant information for reading the ISO files configures to the middleware example.
Step 102, the instruction that user creates middleware is received, carry the meter needed for middleware embodiment in the instruction Calculate resource information and network resource information;
This step, user by operation interface, select computing resource (CPU, storage, internal memory) needed for middleware example and The Internet resources needed for middleware example are selected, generation includes the instruction of relevant information.
Step 103, according to the instruction, with reference to preset middleware template, create corresponding middleware example service;
This step specifically includes:
1st, middleware example is created according to selected computing resource and Internet resources;
2nd, the mode being relatively isolated using system and data configures middleware example, to guarantee data security;
3rd, middleware example is restarted;
4th, middleware example service-creation is completed.
Below in conjunction with the accompanying drawings, embodiments of the invention two are illustrated.
The embodiments of the invention provide a kind of middleware services implementation method, realizes that one key of automation creates using this method The realization principle of middleware is as shown in Fig. 2 specific:
(1) by the middleware template that can be used, centre is automatically created according to required computing resource and Internet resources Part example, to guarantee data security, the mode being relatively isolated using system and data is configured to middleware.
(2) different editions, the middleware case template of type have been produced, according to template at different virtualization type bottoms Layer is created that the virtual machine of deployed middleware example, completes the underlying virtual of middleware example.
Configure principle as shown in figure 3, by configure middleware example needed for IP address, subnet mask, gateway and data Disk message composition generates ISO files into shell scripts, is mounted to and is locally stored, then from middle reading is locally stored The relevant information of ISO files configures to example.
Below in conjunction with the accompanying drawings, embodiments of the invention three are illustrated.
The embodiments of the invention provide a kind of middleware services realization device, its structure as shown in figure 4, including:
Command reception module 401, the instruction of middleware is created for receiving user, it is real to carry middleware in the instruction Apply computing resource information and the network resource information needed for example;
Service creation module 402, for according to the instruction, with reference to preset middleware template, creating among corresponding Part example service.
Preferably, the service creation module 402 structure as shown in figure 5, including:
Example creating unit 4021, for the computing resource information and network resource information in the instruction, fill in Corresponding middleware template, creates middleware example;
Dispensing unit 4022, the mode for being relatively isolated using system and data configure the middleware example;
Restart unit 4023, for restarting the middleware example, complete to create the middleware example service.
Preferably, the device also includes:
Virtualization modules 403, for being created that in different virtualization type bottoms according to each middleware template Dispose the virtual machine of middleware example.
Preferably, the dispensing unit 4022 structure as shown in fig. 6, including:
ISO file generateds subelement 601, for IP address needed for the middleware example, subnet mask, net will to be configured Close and data disks message composition is into shell scripts, and generate ISO files;
Carry performs subelement 602, for by the ISO file mounts to being locally stored, from described be locally stored The relevant information for reading the ISO files configures to the middleware example.
Preferably, the device also includes:
Template generation module 404, for making different type, the middleware template of version.
The embodiment provides a kind of middleware services implementation method and device, receives user and creates middleware Instruction, computing resource information and network resource information needed for middleware embodiment is carried in the instruction, according to the finger Order, with reference to preset middleware template, creates corresponding middleware example service.User only needs to select resource by instructing, With reference to preset different type, the middleware template of version, you can complete to create the operation of middleware service implementation, in solving Between part generation configuration complexity it is higher the problem of, reduce user use middleware difficulty, enriching cloud management platform can be right The outer species that service is provided.By making different type, the middleware template of version, and by the computing resource needed for selecting and Internet resources provide a variety of middleware example services, realize the function that cloud management platform externally provides middleware services.Pass through Program is automatically performed the deployment of middleware example, and tenant can conveniently use middleware.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

  1. A kind of 1. middleware services implementation method, it is characterised in that including:
    Receive user create middleware instruction, in the instruction carry middleware embodiment needed for computing resource information and Network resource information;
    According to the instruction, with reference to preset middleware template, corresponding middleware example service is created.
  2. 2. middleware services implementation method according to claim 1, it is characterised in that according to the instruction, with reference to preset Middleware template, the step of creating the service of corresponding middleware example includes:
    Computing resource information and network resource information in the instruction, corresponding middleware template is filled in, created middle Part example;
    The mode being relatively isolated using system and data configures the middleware example;
    Restart the middleware example, complete to create the middleware example service.
  3. 3. middleware services implementation method according to claim 1, it is characterised in that this method also includes:
    The virtual machine of deployed middleware example is created that in different virtualization type bottoms according to each middleware template.
  4. 4. middleware services implementation method according to claim 2, it is characterised in that be relatively isolated using system and data Mode the step of configuring the middleware example include:
    IP address, subnet mask, gateway and data disks message composition needed for the middleware example will be configured into shell pin This, and generate ISO files;
    By the ISO file mounts on being locally stored, the middle relevant information pair for reading the ISO files is locally stored from described The middleware example is configured.
  5. 5. middleware services implementation method according to claim 1, it is characterised in that receive the finger that user creates middleware Before the step of making, in addition to:
    Make different type, the middleware template of version.
  6. A kind of 6. middleware services realization device, it is characterised in that including:
    Command reception module, the instruction of middleware is created for receiving user, carry middleware embodiment institute in the instruction The computing resource information and network resource information needed;
    Service creation module, for according to the instruction, with reference to preset middleware template, creating corresponding middleware example clothes Business.
  7. 7. middleware services realization device according to claim 6, it is characterised in that the service creation module includes:
    Example creating unit, for the computing resource information and network resource information in the instruction, fill in it is corresponding in Between part template, create middleware example;
    Dispensing unit, the mode for being relatively isolated using system and data configure the middleware example;
    Restart unit, for restarting the middleware example, complete to create the middleware example service.
  8. 8. middleware services realization device according to claim 6, it is characterised in that the device also includes:
    Virtualization modules, for being created that deployed centre in different virtualization type bottoms according to each middleware template The virtual machine of part example.
  9. 9. middleware services realization device according to claim 7, it is characterised in that the dispensing unit includes:
    ISO file generated subelements, for will configure IP address needed for the middleware example, subnet mask, gateway and Data disks message composition generates ISO files into shell scripts;
    Carry performs subelement, for the ISO file mounts to being locally stored, to be locally stored described in middle reading from described The relevant information of ISO files configures to the middleware example.
  10. 10. middleware services realization device according to claim 6, it is characterised in that the device also includes:
    Template generation module, for making different type, the middleware template of version.
CN201710920169.2A 2017-09-30 2017-09-30 Middleware service implementation method and device Active CN107656814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710920169.2A CN107656814B (en) 2017-09-30 2017-09-30 Middleware service implementation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710920169.2A CN107656814B (en) 2017-09-30 2017-09-30 Middleware service implementation method and device

Publications (2)

Publication Number Publication Date
CN107656814A true CN107656814A (en) 2018-02-02
CN107656814B CN107656814B (en) 2021-10-01

Family

ID=61117604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710920169.2A Active CN107656814B (en) 2017-09-30 2017-09-30 Middleware service implementation method and device

Country Status (1)

Country Link
CN (1) CN107656814B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189551A (en) * 2018-08-09 2019-01-11 郑州云海信息技术有限公司 A kind of method, apparatus and computer storage medium creating middleware
CN110601911A (en) * 2019-11-14 2019-12-20 紫光云(南京)数字技术有限公司 Implementation method and system of internet of things cloud gateway based on python
CN114510258A (en) * 2022-02-21 2022-05-17 深圳市金蝶天燕云计算股份有限公司 Middleware management method, middleware management platform and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317642A (en) * 2014-09-28 2015-01-28 华为技术有限公司 Method and device for configuring software in cloud calculation environment
CN105359088A (en) * 2013-07-03 2016-02-24 国际商业机器公司 Method to optimize provisioning time with dynamically generated virtual disk contents
CN105488179A (en) * 2015-11-30 2016-04-13 中电科华云信息技术有限公司 Automatic configuring and connecting method for processing various databases and middleware
US20170153878A1 (en) * 2015-11-30 2017-06-01 International Business Machines Corporation Deploying applications
CN106874052A (en) * 2017-02-24 2017-06-20 北京中电普华信息技术有限公司 The dispositions method and device of a kind of application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105359088A (en) * 2013-07-03 2016-02-24 国际商业机器公司 Method to optimize provisioning time with dynamically generated virtual disk contents
CN104317642A (en) * 2014-09-28 2015-01-28 华为技术有限公司 Method and device for configuring software in cloud calculation environment
CN105488179A (en) * 2015-11-30 2016-04-13 中电科华云信息技术有限公司 Automatic configuring and connecting method for processing various databases and middleware
US20170153878A1 (en) * 2015-11-30 2017-06-01 International Business Machines Corporation Deploying applications
CN106874052A (en) * 2017-02-24 2017-06-20 北京中电普华信息技术有限公司 The dispositions method and device of a kind of application program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189551A (en) * 2018-08-09 2019-01-11 郑州云海信息技术有限公司 A kind of method, apparatus and computer storage medium creating middleware
CN110601911A (en) * 2019-11-14 2019-12-20 紫光云(南京)数字技术有限公司 Implementation method and system of internet of things cloud gateway based on python
CN114510258A (en) * 2022-02-21 2022-05-17 深圳市金蝶天燕云计算股份有限公司 Middleware management method, middleware management platform and computer readable storage medium

Also Published As

Publication number Publication date
CN107656814B (en) 2021-10-01

Similar Documents

Publication Publication Date Title
US20240272930A1 (en) Method and Apparatus for Creating Virtual Machine
US11513864B2 (en) Adoption of existing virtual computing resources into logical containers for management operations
CN109194506B (en) Block chain network deployment method, platform and computer storage medium
CN107070705B (en) A kind of method of combination of cloud resource
US20210042144A1 (en) Virtual machine morphing for heterogeneous migration environments
US9674275B1 (en) Providing a file system interface to network-accessible computing resources
EP2823393B1 (en) Offline provisioning of virtual machines
US10198281B2 (en) Hybrid infrastructure provisioning framework tethering remote datacenters
US8949364B2 (en) Apparatus, method and system for rapid delivery of distributed applications
CN105024865B (en) Cloud joint services
CN103064742B (en) A kind of automatic deployment system and method for hadoop cluster
CN109803018A (en) A kind of DCOS cloud management platform combined based on Mesos and YARN
US20180004503A1 (en) Automated upgradesystem for a service-based distributed computer system
US11425054B1 (en) User-configured multi-location service deployment and scaling
US11086685B1 (en) Deployment of virtual computing resources with repeatable configuration as a resource set
WO2017113201A1 (en) Network service lifecycle management method and device
CN107580083A (en) A kind of method and system of container IP address distribution
US10579488B2 (en) Auto-calculation of recovery plans for disaster recovery solutions
CN110019081A (en) Data persistence processing method, device, system and readable storage medium storing program for executing
Iorio et al. Computing without borders: The way towards liquid computing
WO2017080391A1 (en) Network service deployment method and device
CN105704188B (en) Using the dispositions method and device with service
CN106953848B (en) Software defined network implementation method based on ForCES
US20240015071A1 (en) Method and apparatus for holistic rendering of cloud network configuration
US11948005B2 (en) Managed integration of constituent services of multi-service applications

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