CN109361719B - Micro-service-based automatic integration method for SaaS application of operating system - Google Patents

Micro-service-based automatic integration method for SaaS application of operating system Download PDF

Info

Publication number
CN109361719B
CN109361719B CN201611145075.4A CN201611145075A CN109361719B CN 109361719 B CN109361719 B CN 109361719B CN 201611145075 A CN201611145075 A CN 201611145075A CN 109361719 B CN109361719 B CN 109361719B
Authority
CN
China
Prior art keywords
micro
service
operating system
saas
saas application
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
CN201611145075.4A
Other languages
Chinese (zh)
Other versions
CN109361719A (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.)
Inesa R&d Center
Original Assignee
Inesa R&d Center
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 Inesa R&d Center filed Critical Inesa R&d Center
Priority to CN201611145075.4A priority Critical patent/CN109361719B/en
Publication of CN109361719A publication Critical patent/CN109361719A/en
Application granted granted Critical
Publication of CN109361719B publication Critical patent/CN109361719B/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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to an automatic integration method of an operating system (SaaS) application based on micro-service, which comprises the following steps: an operating system reads a configuration file of a SaaS application to be integrated; analyzing the configuration file line by line to obtain a micro-service list A and a micro-service link instruction code B used by the SaaS application; comparing A and B with a micro service list C operated by an operating system to generate a micro service list E which exists in micro service lists D and A, B in A but not in B; the operating system calls the internal interfaces in sequence, each micro-service in the D is started in a container by utilizing a container technology, and the operation is realized; the operating system links the newly started micro-service with an originally existing micro-service list E according to the B, and reconstructs a SaaS application with complete functions; and integrating the database. Compared with the prior art, the method has the advantages that manual intervention and code compiling are not needed, the integration efficiency is greatly improved, and the like.

Description

Micro-service-based automatic integration method for SaaS application of operating system
Technical Field
The invention relates to the technical field of electronic information, in particular to an automatic integration method of SaaS application of an operating system based on micro-service.
Background
And the micro service is used for describing an independently deployed software application design mode. Micro-services are as if services were developed as single applications, which meet certain requirements and can be deployed automatically and released independently. The large system is disassembled into a plurality of micro services, and the micro services are distributed and deployed on a multi-node cluster, so that simplified management is realized. The microservice architecture schema and the software style it describes are providing tremendous help for agile deployment and complex enterprise application implementation. The micro-service may be, for example, a query service, a comment service, a ranking list service, and the like.
In a traditional service deployment mode, all services are uniformly deployed on one server, so that deployment personnel only need to deploy once. However, this method has a problem that when a problem occurs in a certain service, another service cannot be normally operated.
The microservice architecture is like developing small services into a single application form, and then deploying the services on different servers, which adopt a distributed service architecture. The advantage of using microservices is that when a problem occurs with a service, it does not affect other services.
The existing SaaS integration technology is generally to add a new SaaS to an integration platform or an operating system manually, and an API of a docking platform needs to rewrite a part of codes in the original SaaS, which is very troublesome and inefficient.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide an automatic integration method of an operating system (SaaS) application based on micro-service. The SaaS can be automatically and quickly integrated without manual intervention, the efficiency is improved, the functions of the platform and the operating system are quickly increased, and the problem that the smart city operating system quickly integrates all city management submodules can be particularly solved.
The purpose of the invention can be realized by the following technical scheme:
an automatic integration method of SaaS application of an operating system based on micro-service, wherein the SaaS application provides a configuration file facing a container creation rule during integration, and the method comprises the following steps:
s1, reading a configuration file of the SaaS application to be integrated by the operating system;
s2, analyzing the configuration files in the S1 line by line to obtain a micro-service list A and a micro-service link instruction code B used by the SaaS application;
s3, comparing A in S2 with a micro service list C operated by an operating system to generate a micro service list D, and comparing B in S2 with the micro service list C operated by the operating system to generate a micro service list E;
s4, the operating system calls the internal interfaces in sequence, and each micro service in D in S3 is started in a container by using a container technology, and the operation is realized;
s5, the operating system links the newly started micro-service in S4 with E in S3 according to B in S2 to reconstruct a SaaS application with complete functions;
and S6, integrating the database.
The micro-service list D is obtained by extracting micro-services in A but not in B.
The micro-service list E is obtained by extracting A, B all the micro-services.
The database integration in step S6 specifically includes: and linking the SaaS application data storage part obtained in the S5 to an original unified database of the operating system, so as to realize data unification and sharing in the operating system.
The namespace-derived container technique of the operating system kernel is applied in step S4 and step S5.
The SaaS application is provided with functional modules, and each functional module is provided in a micro service form.
And data communication is realized among all functional modules of the SaaS application through RESTful API.
Compared with the prior art, the invention has the following advantages:
1) the SaaS is automatically and quickly integrated into an operating system, manual intervention is not needed, efficiency is improved, and functions of a platform and the operating system are quickly increased. The problem that the smart city operating system integrates all city management submodules quickly can be particularly solved.
2) Compared with the prior art, when a new SaaS is added into an integration platform or an operating system, the codes in the original SaaS do not need to be rewritten, the processes of manual intervention, environment configuration and code compiling in the traditional integration scheme are overcome, and the SaaS integration efficiency is improved by 5-10 times.
Drawings
FIG. 1 is a simplified flow diagram of the present invention;
FIG. 2 is a flow chart of the steps of 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 obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
Examples
As shown in fig. 1, the present invention provides a flow diagram of an automatic integration method of an operating system SaaS application based on microservice, which mainly comprises the following steps: firstly, reading a standardized configuration file of the SaaS application, then starting the micro-service in a configuration file micro-service list in a container mode, linking all started containers to a platform, and finally integrating a database;
the specific steps, as shown in fig. 2:
a) making SaaS application based on micro-service;
b) writing a standardized configuration file for integration;
c) an operating system reads a standardized configuration file of SaaS to be integrated;
d) analyzing the configuration file line by line to obtain a micro-service list A and a micro-service link instruction code B used by the SaaS;
e) generating a micro-service list D in A but not in B and a micro-service list E in A, B according to the micro-service list C which has been run by the operating system;
f) and the operating system calls the internal interface in turn to start each micro-service in the D in a container by using a container technology and run the micro-service.
g) The operating system links the newly started micro-service with the originally existing micro-service group E according to the instruction code B, and reconstructs a SaaS with complete function;
h) and the newly constructed SaaS data storage part is linked to the original unified database of the operating system, so that the data inside the operating system is unified and shared.
In the steps f and g, the namespace-derived container technology of the operating system kernel is applied, so that the micro-service part can be rapidly and indiscriminately deployed in one container, data interaction is carried out among the containers to realize the complete function of the whole SaaS, and the processes of manual intervention, environment configuration and code writing required in the traditional integration scheme are overcome. The efficiency of SaaS integration is improved by 5-10 times.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. An automatic integration method for SaaS application of an operating system based on micro-services is characterized in that the SaaS application provides a configuration file facing container creation rules during integration, and the method comprises the following steps:
s1, reading a configuration file of the SaaS application to be integrated by the operating system;
s2, analyzing the configuration files in the S1 line by line to obtain a micro-service list A and a micro-service link instruction code B used by the SaaS application;
s3, comparing A in S2 with a micro service list C operated by an operating system to generate a micro service list D, and comparing B in S2 with the micro service list C operated by the operating system to generate a micro service list E;
s4, the operating system calls the internal interfaces in sequence, and each micro service in D in S3 is started in a container by using a container technology, and the operation is realized;
s5, the operating system links the newly started micro-service in S4 with E in S3 according to B in S2 to reconstruct a SaaS application with complete functions;
and S6, integrating the database.
2. The method of claim 1, wherein the micro-service list D is extracted from micro-services in A but not in B.
3. The method for automatically integrating SaaS (software as a service) applications of a microservice-based operating system according to claim 1, wherein the microservice list E is obtained by extracting A, B existing microservices.
4. The method for automatically integrating SaaS (software as a service) applications of the operating system based on the microservice as claimed in claim 1, wherein the database integration in the step S6 is specifically as follows: and linking the SaaS application data storage part obtained in the S5 to an original unified database of the operating system, so as to realize data unification and sharing in the operating system.
5. The SaaS application automatic integration method for the micro-service-based operating system, as claimed in claim 1, wherein the namespace-derived container technology of the operating system kernel is applied in steps S4 and S5.
6. The method for automatically integrating SaaS (software as a service) applications of the micro-service-based operating system according to claim 1, wherein the SaaS applications are provided with function modules, and each function module is provided in the form of a micro-service.
7. The method for automatically integrating SaaS (software as a service) applications of the micro-service-based operating system of claim 6, wherein the functional modules of the SaaS applications are communicated with each other through a RESTful API (representational state language).
CN201611145075.4A 2016-12-13 2016-12-13 Micro-service-based automatic integration method for SaaS application of operating system Active CN109361719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611145075.4A CN109361719B (en) 2016-12-13 2016-12-13 Micro-service-based automatic integration method for SaaS application of operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611145075.4A CN109361719B (en) 2016-12-13 2016-12-13 Micro-service-based automatic integration method for SaaS application of operating system

Publications (2)

Publication Number Publication Date
CN109361719A CN109361719A (en) 2019-02-19
CN109361719B true CN109361719B (en) 2021-03-09

Family

ID=65349667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611145075.4A Active CN109361719B (en) 2016-12-13 2016-12-13 Micro-service-based automatic integration method for SaaS application of operating system

Country Status (1)

Country Link
CN (1) CN109361719B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405058B (en) * 2020-03-24 2023-05-02 浪潮通用软件有限公司 Multi-mobile terminal multi-tenant application notification method, device, equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075409A (en) * 2009-11-24 2011-05-25 华为技术有限公司 Method and system for processing request message as well as load balancer equipment
CN102402735A (en) * 2011-11-21 2012-04-04 山东浪潮齐鲁软件产业股份有限公司 Enterprise application integration solution complying with SOA thought
CN103401945A (en) * 2013-08-14 2013-11-20 青岛大学 Service combination dynamic reconstruction method
CN104572070A (en) * 2014-11-21 2015-04-29 惠州市仲恺高新技术投资控股有限公司 Development method of public service platform on the basis of SaaS and cloud computing
CN105554109A (en) * 2015-12-15 2016-05-04 上海仪电(集团)有限公司 Operation running method and system for cloud smart city
CN105933448A (en) * 2016-06-29 2016-09-07 江苏电力信息技术有限公司 Self-managed micro-service architecture and service method thereof
CN105931168A (en) * 2016-04-15 2016-09-07 广州葵翼信息科技有限公司 Smart city service configuration based on information grid service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3210350B1 (en) * 2014-10-21 2020-05-20 Twilio, Inc. Method for providing a miro-services communication platform
US10291726B2 (en) * 2015-05-12 2019-05-14 Equinix, Inc. Network field unit for a cloud-based services exchange

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075409A (en) * 2009-11-24 2011-05-25 华为技术有限公司 Method and system for processing request message as well as load balancer equipment
CN102402735A (en) * 2011-11-21 2012-04-04 山东浪潮齐鲁软件产业股份有限公司 Enterprise application integration solution complying with SOA thought
CN103401945A (en) * 2013-08-14 2013-11-20 青岛大学 Service combination dynamic reconstruction method
CN104572070A (en) * 2014-11-21 2015-04-29 惠州市仲恺高新技术投资控股有限公司 Development method of public service platform on the basis of SaaS and cloud computing
CN105554109A (en) * 2015-12-15 2016-05-04 上海仪电(集团)有限公司 Operation running method and system for cloud smart city
CN105931168A (en) * 2016-04-15 2016-09-07 广州葵翼信息科技有限公司 Smart city service configuration based on information grid service
CN105933448A (en) * 2016-06-29 2016-09-07 江苏电力信息技术有限公司 Self-managed micro-service architecture and service method thereof

Also Published As

Publication number Publication date
CN109361719A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN108958714B (en) Business component type development method and device, computer equipment and storage medium
CN107147704B (en) block chain-oriented universal service middleware system
CN108509185B (en) System and method for arbitrary software logic modeling
CN100489774C (en) Structured code automatic configuration method and device
CN111897570B (en) Multi-dependency item file extraction method and device based on Maven plug-in
US20070214111A1 (en) System and method for generating code for an integrated data system
US9418241B2 (en) Unified platform for big data processing
CN106775744B (en) Method and device for generating static library
US10564961B1 (en) Artifact report for cloud-based or on-premises environment/system infrastructure
CN103425468B (en) Plug-in type software integrating method and device
CN113434158B (en) Custom management method, device, equipment and medium for big data component
US10891119B2 (en) Integrating and sharing software build component targets
CN109298868A (en) Intelligent dynamic deployment and unloading method for mapping image data processing software
CN115827101B (en) Cloud integration system and method for earth application model
CN115016784B (en) Low code application multiplexing method, application analysis system, equipment and storage medium
US20200210488A1 (en) Automatic resource management for build systems
CN109361719B (en) Micro-service-based automatic integration method for SaaS application of operating system
CN117369860A (en) Automatic publishing method and system based on cloud native script file
US9965260B2 (en) Software product release automation framework
US7844583B2 (en) Method and system for obtaining files from a set of sources
CN106990978B (en) Exporting hierarchical data from a Product Lifecycle Management (PLM) system to a Source Code Management (SCM) system
CN115291893A (en) Code operation deployment system and method
CN114356379A (en) Backup-based service upgrading method, device, equipment and storage medium
CN104809537A (en) Workflow realization method used for business intelligent analysis platform
CN110417736B (en) Method and device for issuing bank cross-isolated area software and computer readable storage medium

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