CN112769812A - Service architecture and method based on ESB - Google Patents

Service architecture and method based on ESB Download PDF

Info

Publication number
CN112769812A
CN112769812A CN202011643888.2A CN202011643888A CN112769812A CN 112769812 A CN112769812 A CN 112769812A CN 202011643888 A CN202011643888 A CN 202011643888A CN 112769812 A CN112769812 A CN 112769812A
Authority
CN
China
Prior art keywords
service
esb
intermediate format
information
service information
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.)
Pending
Application number
CN202011643888.2A
Other languages
Chinese (zh)
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.)
Tianjin Langtao Technology Co ltd
Original Assignee
Tianjin Langtao 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 Tianjin Langtao Technology Co ltd filed Critical Tianjin Langtao Technology Co ltd
Priority to CN202011643888.2A priority Critical patent/CN112769812A/en
Publication of CN112769812A publication Critical patent/CN112769812A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides an ESB-based service architecture and a method, wherein the ESB-based service architecture comprises an ESB service bus, wherein the ESB service bus comprises: the storage module is used for storing the conversion parameters for converting the service information into the predefined intermediate format; a service information calling module for calling the intermediate format parameter in the storage module; and a service conversion module, which receives the service information of the service provider and converts the service information into a uniform intermediate format according to the called intermediate format parameter. The service conversion module receives the service information of the service provider and converts the service information according to the called intermediate format parameters to convert the service information into a uniform intermediate format so as to solve the problems of complex system interface relationship and high development and maintenance cost.

Description

Service architecture and method based on ESB
Technical Field
The invention relates to the technical field of communication, in particular to an ESB-based service architecture and an ESB-based service method.
Background
The existing system has complex interface relationship and high development and maintenance cost, and is mainly expressed as follows: 1. the application interfaces are connected with each other to pull the whole body; 2. black boxes are interacted among systems, and faults are difficult to locate; 3. the application is full of complex interface logic and cannot be decoupled; 4. old systems are difficult to modify, and N +1 newly added systems have high risk; 5. lack of standards and specifications, unable to effectively realize IT asset reuse and hindering business innovation
Disclosure of Invention
In view of the above, the present invention provides an ESB-based service architecture and method to solve the problems in the prior art.
In order to solve the technical problems, the invention adopts the technical scheme that: an ESB-based service architecture comprising an ESB service bus, wherein the ESB service bus comprises:
the storage module is used for storing the conversion parameters for converting the service information into the predefined intermediate format;
a service information calling module for calling the intermediate format parameter in the storage module; and
and the service conversion module receives the service information of the service provider and converts the service information into a uniform intermediate format according to the called intermediate format parameter.
Preferably, the architecture further comprises an interface registration module, the interface registration module comprising:
a registration unit for registering the new interface;
the interface configuration unit is used for configuring the conversion information corresponding to the interface into the storage module; and
and the service calling module is used for defining calling rules of the interface, receiving the request and calling the interface information according to the calling rules.
Preferably, the ESB service bus further comprises an encapsulation module for encapsulating the service in the intermediate format.
Preferably, the encapsulation module includes:
a target service information obtaining unit, for obtaining target service information;
a package parameter storage unit for storing the package parameter of the target service converted from the intermediate format; a conversion unit for converting the intermediate format into a target service; and
and the service issuing unit is used for issuing the converted service to the outside.
Preferably: the method comprises the following steps:
s10: receiving service information of a service provider;
s20: and converting the received service information into a predefined intermediate format;
s30: and receiving a service instruction of a service consumer, and packaging the intermediate format according to the service instruction.
Preferably, step S20 includes:
s201: identifying a service type;
s202: and calling a conversion parameter for the service type to convert the service information into an intermediate format.
Preferably, step S30 includes:
s301: acquiring target service information;
s302: converting the service information of the intermediate format into a target service;
s303: and issuing the target service.
The invention has the advantages and positive effects that: in the invention, the ESB service bus realizes the butt joint and data conversion between the service provider and the service consumer, and particularly realizes the connection between the service provider and the service consumer through interfaces between different application systems deployed on the ESB service bus; the ESB service bus is connected with different service providers through different interfaces, and service information is acquired through the interfaces; and the encapsulated service is also transmitted to the service consumer through the interface. The service conversion module receives the service information of the service provider and converts the service information into a uniform intermediate format according to the called intermediate format parameters.
Drawings
Fig. 1 is a schematic structural diagram of an ESB-based service architecture.
Detailed Description
For a better understanding of the present invention, reference is made to the following detailed description and accompanying drawings that illustrate the invention.
An ESB-based service architecture comprising an ESB service bus, wherein the ESB service bus comprises:
the storage module is used for storing the conversion parameters for converting the service information into the predefined intermediate format;
a service information calling module for calling the intermediate format parameter in the storage module; and
and the service conversion module receives the service information of the service provider and converts the service information into a uniform intermediate format according to the called intermediate format parameter.
In the invention, the ESB service bus realizes the butt joint and data conversion between the service provider and the service consumer, and particularly realizes the connection between the service provider and the service consumer through interfaces between different application systems deployed on the ESB service bus; the ESB service bus is connected with different service providers through different interfaces, and service information is acquired through the interfaces; and the encapsulated service is also transmitted to the service consumer through the interface.
Further, the architecture also includes an interface registration module, which includes:
a registration unit for registering the new interface;
the interface configuration unit is used for configuring the conversion information corresponding to the interface into the storage module; and
and the service calling module is used for defining calling rules of the interface, receiving the request and calling the interface information according to the calling rules.
The invention is provided with an interface configuration unit, which configures the conversion parameter converted into the intermediate format while registering the interface, and directly calls the conversion parameter when calling the interface, thereby realizing the conversion into the uniform intermediate format.
Furthermore, the ESB service bus also comprises an encapsulation module which is used for encapsulating the service in the intermediate format.
The package module includes:
a target service information obtaining unit, for obtaining target service information;
a package parameter storage unit for storing the package parameter of the target service converted from the intermediate format; a conversion unit for converting the intermediate format into a target service; and
and the service issuing unit is used for issuing the converted service to the outside.
In the invention, the target service acquisition unit acquires the target service information of the service consumer, and the conversion unit calls the packaging parameters in the packaging parameter storage unit, converts the packaging parameters into the target service and then releases the target service to the outside.
In the invention, in the process of registering the interface by the service consumer, the conversion parameter for converting the intermediate format into the target service also needs to be configured and stored in the packaging parameter storage unit so as to be convenient to call.
Specifically, the protocol conversion is used for illustration, in the present invention, an ESB service bus implements multi-protocol access and multi-protocol output, the ESB service bus includes a plurality of input interfaces and a plurality of output interfaces, wherein, as shown in fig. 1, each input interface and output interface is defined as a type of service protocol, that is, different input interfaces and output interfaces correspond to different types of protocols, and the service accessed by the multi-protocol is converted by the ESB service bus to implement multi-protocol output.
Different systems use different protocols, for example, a certain service is a formatted protocol, if the service needs to provide services to a system A, a system B, a system C, a system D and a system E respectively, and the EJP used by the system A, the webservice used by the system B, the servlet used by the system C, the email used by the system D and the RMI used by the system E are respectively connected with an input interface of an ESB service bus, the system A, the system B, the system C, the system D and the system E are respectively connected with an output interface of the ESB service bus, and the ESB service bus realizes protocol conversion to match with the service using ends, namely the system A, the system B, the system C, the system D and the system E.
Specifically, in the invention, the ESB service bus converts different protocol types into a uniform intermediate format, and then converts the uniform intermediate format into a target protocol type according to requirements.
In the invention, different input interfaces correspond to different service protocols, and when the interface responds, the service conversion module acquires the protocol type of the interface and calls the conversion parameters of the corresponding type stored in the storage module; in the invention, if a protocol type is added, the conversion parameter converted into the intermediate format is configured in the storage module, and after the protocol type of the interface is identified, the conversion parameter of the type can be directly called.
Further, there is provided an ESB-based service method, the method comprising:
s10: receiving service information of a service provider;
s20: and converting the received service information into a predefined intermediate format;
s30: and receiving a service instruction of a service consumer, and packaging the intermediate format according to the service instruction.
Further, step S20 includes:
s201: identifying a service type;
s202: and calling a conversion parameter for the service type to convert the service information into an intermediate format.
Further, step S30 includes:
s301: acquiring target service information;
s302: converting the service information of the intermediate format into a target service;
s303: and issuing the target service.
The embodiments of the present invention have been described in detail, but the description is only for the preferred embodiments of the present invention and should not be construed as limiting the scope of the present invention. All equivalent changes and modifications made within the scope of the present invention should be covered by the present patent.

Claims (7)

1. An ESB-based service architecture, characterized by: the architecture includes an ESB service bus, wherein the ESB service bus includes:
the storage module is used for storing the conversion parameters for converting the service information into the predefined intermediate format;
a service information calling module for calling the intermediate format parameter in the storage module; and
and the service conversion module receives the service information of the service provider and converts the service information into a uniform intermediate format according to the called intermediate format parameter.
2. The ESB-based services architecture of claim 1, wherein: the architecture also includes an interface registration module, which includes:
a registration unit for registering the new interface;
the interface configuration unit is used for configuring the conversion information corresponding to the interface into the storage module; and
and the service calling module is used for defining calling rules of the interface, receiving the request and calling the interface information according to the calling rules.
3. The ESB-based services architecture of claim 1, wherein: the ESB service bus further comprises an encapsulation module for encapsulating the service in the intermediate format.
4. The ESB-based services architecture of claim 1, wherein: the package module includes:
a target service information obtaining unit, for obtaining target service information;
a package parameter storage unit for storing the package parameter of the target service converted from the intermediate format;
a conversion unit for converting the intermediate format into a target service; and
and the service issuing unit is used for issuing the converted service to the outside.
5. An ESB-based service method is characterized in that: the method comprises the following steps:
s10: receiving service information of a service provider;
s20: and converting the received service information into a predefined intermediate format;
s30: and receiving a service instruction of a service consumer, and packaging the intermediate format according to the service instruction.
6. The ESB-based service method of claim 5, wherein: step S20 includes:
s201: identifying a service type;
s202: and calling a conversion parameter for the service type to convert the service information into an intermediate format.
7. The ESB-based service method of claim 6, wherein: step S30 includes:
s301: acquiring target service information;
s302: converting the service information of the intermediate format into a target service;
s303: and issuing the target service.
CN202011643888.2A 2020-12-31 2020-12-31 Service architecture and method based on ESB Pending CN112769812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011643888.2A CN112769812A (en) 2020-12-31 2020-12-31 Service architecture and method based on ESB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011643888.2A CN112769812A (en) 2020-12-31 2020-12-31 Service architecture and method based on ESB

Publications (1)

Publication Number Publication Date
CN112769812A true CN112769812A (en) 2021-05-07

Family

ID=75699701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011643888.2A Pending CN112769812A (en) 2020-12-31 2020-12-31 Service architecture and method based on ESB

Country Status (1)

Country Link
CN (1) CN112769812A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882934A (en) * 2012-09-05 2013-01-16 浪潮(北京)电子信息产业有限公司 Web service realizing method based on enterprise service bus (ESB), ESB and service center
CN103595695A (en) * 2012-08-15 2014-02-19 深圳中兴网信科技有限公司 Method and system for providing services by service bus
CN105450680A (en) * 2014-08-09 2016-03-30 星际空间(天津)科技发展有限公司 Service method for data sharing
CN106920204A (en) * 2017-03-20 2017-07-04 泰华智慧产业集团股份有限公司 The dissemination method and system of interface service
CN109274773A (en) * 2018-11-14 2019-01-25 四川长虹电器股份有限公司 A kind of realization remote service calling method, device and system
CN111491001A (en) * 2019-01-28 2020-08-04 李成林 Gateway system and method for supporting multi-type equipment to access Internet of things

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595695A (en) * 2012-08-15 2014-02-19 深圳中兴网信科技有限公司 Method and system for providing services by service bus
CN102882934A (en) * 2012-09-05 2013-01-16 浪潮(北京)电子信息产业有限公司 Web service realizing method based on enterprise service bus (ESB), ESB and service center
CN105450680A (en) * 2014-08-09 2016-03-30 星际空间(天津)科技发展有限公司 Service method for data sharing
CN106920204A (en) * 2017-03-20 2017-07-04 泰华智慧产业集团股份有限公司 The dissemination method and system of interface service
CN109274773A (en) * 2018-11-14 2019-01-25 四川长虹电器股份有限公司 A kind of realization remote service calling method, device and system
CN111491001A (en) * 2019-01-28 2020-08-04 李成林 Gateway system and method for supporting multi-type equipment to access Internet of things

Similar Documents

Publication Publication Date Title
EP3399715B1 (en) Protocol conversion method, platform, and protocol conversion gateway
EP3893436B1 (en) Coap-based opc ua message transmission method, and server
WO2018059137A1 (en) Internet of things terminal access device and method, and computer storage medium
CN102447585B (en) Method and device for converting network configuration protocol response message into command line
WO2014139270A1 (en) Business implementation method and apparatus for intelligent business system, and intelligent business system
CN101335648A (en) Automatic converting method for packets of different interfaces and apparatus thereof
CN105472044B (en) A kind of DL/T645 based on XML and GOOSE mapping method
CN108769017B (en) Data communication method and device
CN111294235B (en) Data processing method, device, gateway and readable storage medium
CN109412877B (en) Network capacity open system based on UTN network
CN110224972A (en) One kind is towards multi-protocols polymorphic type equipment access system, method and device
KR20170038870A (en) Service data transmission method and device
CN111954100A (en) Interface upgrading method and device and optical network unit management method and device
CN107040613B (en) Message transmission method and system
CN101494553A (en) Method and apparatus for self-define of alarm information format
CN110166485B (en) Protocol scheduling and using method and device
CN101610288A (en) A kind of method for intelligently routing enterprise service bus
CN106301838A (en) A kind of transmission network Unified Network Management based on SNMP
WO2013016994A1 (en) Message sending method and system
CN101339520B (en) Method for accessing EJB into enterprise service bus
CN112769812A (en) Service architecture and method based on ESB
CN112769931A (en) Service management platform
CN116156012B (en) Universal heterogeneous Internet of things equipment standardized access and data analysis system and method
CN101938765B (en) The method and system of a kind of webmaster and network element automatic adaptation
CN110808982B (en) Communication protocol establishing method and system based on registration mechanism

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210507