CN106559493B - Service issuing method and service delivery system - Google Patents

Service issuing method and service delivery system Download PDF

Info

Publication number
CN106559493B
CN106559493B CN201611088441.7A CN201611088441A CN106559493B CN 106559493 B CN106559493 B CN 106559493B CN 201611088441 A CN201611088441 A CN 201611088441A CN 106559493 B CN106559493 B CN 106559493B
Authority
CN
China
Prior art keywords
service
information
esb
agreement
publication
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
CN201611088441.7A
Other languages
Chinese (zh)
Other versions
CN106559493A (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.)
ZTE ICT Technologies Co Ltd
Original Assignee
ZTE ICT Technologies 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 ZTE ICT Technologies Co Ltd filed Critical ZTE ICT Technologies Co Ltd
Priority to CN201611088441.7A priority Critical patent/CN106559493B/en
Publication of CN106559493A publication Critical patent/CN106559493A/en
Application granted granted Critical
Publication of CN106559493B publication Critical patent/CN106559493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Abstract

The invention proposes a kind of service issuing methods and service delivery system, wherein the service issuing method includes: reception configuration-direct, configures service profile information;According to the service profile information of configuration, request message parameter information and response data structure are determined;By the request message parameter information and the response data structure filling into ESB service agreement template, according to the ESB service agreement template generation service engineering packet;According to the service engineering packet, service publication is carried out.According to the technical solution of the present invention, service publication effectively can directly be carried out.

Description

Service issuing method and service delivery system
Technical field
The present invention relates to technical field of data processing, send out in particular to a kind of service issuing method and a kind of service Distribution system.
Background technique
During informatization, data are issued in the form of services, are facilitated service call side to obtain data, are become each The shared effective means of system data.Database table information is used as most basic data information, directly can not externally provide data and look into The service supports such as inquiry, and service-seeking, modification, the deletion of customized development based on database table information etc. operates, it is at high cost, it is open Period is long, causes government or each department, enterprise data information isolated island, can not effective integration, carry out data sharing.
In the related art, Enterprise Service Bus (ESB, Enterprise Service Bus) is had existed for Service broker's request processing is done in existing service, but itself is limited to automation generation service support, cannot effectively directly Ground carries out service publication.
Therefore, how effectively directly to carry out service publication becomes technical problem urgently to be resolved.
Summary of the invention
The present invention is based on the above problems, proposes a kind of new technical solution, effectively can directly be serviced Publication.
In view of this, the first aspect of the present invention proposes a kind of service issuing method, comprising: receive configuration-direct, match Set service profile information;According to the service profile information of configuration, request message parameter information and response data structure are determined; By the request message parameter information and the response data structure filling into ESB service agreement template, according to the ESB Service agreement template generation service engineering packet;According to the service engineering packet, service publication is carried out.
In the technical scheme, according to the ESB service agreement for being filled with request message parameter information and response data structure Template generates service engineering packet, then further according to service engineering packet, so that it may which the publication effectively directly serviced is not necessarily to Code is write, the efficiency of service publication is improved, while also facilitating user according to the corresponding data of service acquisition of publication.
In the above-mentioned technical solutions, it is preferable that it is described according to the service engineering packet, carry out the step of service is issued, tool Body includes: the service profile information obtained in the service engineering packet;According to the service in the service engineering packet Configuration information carries out service publication by ESB service-Engine.
In the technical scheme, service publication is carried out by ESB service-Engine, without writing code, effectively improved Service the efficiency of publication.
In any of the above-described technical solution, it is preferable that in the case where issuing WebService service, further includes: according to The service profile information in the service engineering packet generates the service description file of the WebService service.
In the technical scheme, by generating the service description file of WebService service, so that WebService takes Business can be issued normally.
In addition, if not needing to generate service description file when publication http is serviced, it is different types of so as to issue Service.
In any of the above-described technical solution, it is preferable that further include: obtain service agreement information;According to the service agreement Information selects the ESB service agreement template corresponding with the service agreement information.
In the technical scheme, due to the different agreement requests and responder of different ESB service agreement template definitions Therefore formula selects corresponding ESB service agreement template according to service agreement information, to ensure that selection ESB service agreement mould The reliability of plate.
In any of the above-described technical solution, it is preferable that the service profile information includes following one or a variety of combinations: Service name, service-number, service description information, database table information, action type, operating condition.
In the technical scheme, by configuration database table information, so as to be serviced for database table information Publication.By configuring action type, a variety of operations are carried out to service to realize, for example, action type include: increase, deletion, Modification and inquiry, so that it may to operation more than service progress, so that making a variety of operations of the service for user of publication has branch It holds.By configuring operating condition, service request information and response message are generated to adjust according to operation.
The second aspect of the present invention proposes a kind of service delivery system, comprising: configuration unit refers to for receiving configuration It enables, configures service profile information;Determination unit determines request message parameter for the service profile information according to configuration Information and response data structure;First generation unit is used for the request message parameter information and the response data structure It is filled into ESB service agreement template, according to the ESB service agreement template generation service engineering packet;Release unit is serviced, For carrying out service publication according to the service engineering packet.
In the technical scheme, according to the ESB service agreement for being filled with request message parameter information and response data structure Template generates service engineering packet, then further according to service engineering packet, so that it may which the publication effectively directly serviced is not necessarily to Code is write, the efficiency of service publication is improved, while also facilitating user according to the corresponding data of service acquisition of publication.
In the above-mentioned technical solutions, it is preferable that the service release unit is specifically used for, and obtains in the service engineering packet The service profile information carried out according to the service profile information in the service engineering packet by ESB service-Engine Service publication.
In the technical scheme, service publication is carried out by ESB service-Engine, without writing code, effectively improved Service the efficiency of publication.
In any of the above-described technical solution, it is preferable that in the case where issuing WebService service, further includes: second Generation unit, for generating the WebService service according to the service profile information in the service engineering packet Service description file.
In the technical scheme, by generating the service description file of WebService service, so that WebService takes Business can be issued normally.
In addition, if not needing to generate service description file when publication http is serviced, it is different types of so as to issue Service.
In any of the above-described technical solution, it is preferable that further include: acquiring unit, for obtaining service agreement information;Selection Unit, for selecting the ESB service agreement mould corresponding with the service agreement information according to the service agreement information Plate.
In the technical scheme, due to the different agreement requests and responder of different ESB service agreement template definitions Therefore formula selects corresponding ESB service agreement template according to service agreement information, to ensure that selection ESB service agreement mould The reliability of plate.
In any of the above-described technical solution, it is preferable that the service profile information includes following one or a variety of combinations: Service name, service-number, service description information, database table information, action type, operating condition.
In the technical scheme, by configuration database table information, so as to be serviced for database table information Publication.By configuring action type, a variety of operations are carried out to service to realize, for example, action type include: increase, deletion, Modification and inquiry, so that it may to operation more than service progress, so that making a variety of operations of the service for user of publication has branch It holds.By configuring operating condition, service request information and response message are generated to adjust according to operation.
According to the technical solution of the present invention, service publication effectively can be directly carried out, without writing code, improves clothes The efficiency of business publication, while also facilitating user according to the corresponding data of service acquisition of publication.
Detailed description of the invention
Fig. 1 shows the flow diagram of service issuing method according to an embodiment of the invention;
Fig. 2 shows the flow diagrams of service issuing method according to another embodiment of the invention;
Fig. 3 shows the structural schematic diagram of service delivery system according to an embodiment of the invention.
Specific embodiment
It is with reference to the accompanying drawing and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Fig. 1 shows the flow diagram of service issuing method according to an embodiment of the invention.
As shown in Figure 1, service issuing method according to an embodiment of the invention, comprising:
Step 102, configuration-direct is received, service profile information is configured.
Step 104, according to the service profile information of configuration, request message parameter information and response data knot are determined Structure.
Step 106, by the request message parameter information and the response data structure filling to ESB service agreement template In, according to the ESB service agreement template generation service engineering packet.
Step 108, according to the service engineering packet, service publication is carried out.
After service publication, it can also manage, monitoring service.
In the technical scheme, according to the ESB service agreement for being filled with request message parameter information and response data structure Template generates service engineering packet, then further according to service engineering packet, so that it may which the publication effectively directly serviced is not necessarily to Code is write, the efficiency of service publication is improved, while also facilitating user according to the corresponding data of service acquisition of publication.
In the above-mentioned technical solutions, it is preferable that step 108 specifically includes: obtaining the clothes in the service engineering packet Business configuration information;According to the service profile information in the service engineering packet, service hair is carried out by ESB service-Engine Cloth.
In the technical scheme, service publication is carried out by ESB service-Engine, without writing code, effectively improved Service the efficiency of publication.
Either service publication can also be carried out by program or existing service Publishing Framework.
In any of the above-described technical solution, it is preferable that in the case where issuing WebService service, further includes: according to The service profile information in the service engineering packet generates the service description file of the WebService service.
In the technical scheme, by generating the service description file of WebService service, so that WebService takes Business can be issued normally.
WebService is that a platform is independent, lower coupling, application journey self-contained, based on programmable Web Sequence, open XML (Extensible Markup Language, extensible markup language) standard can be used describe, issue, It was found that, coordinate and configure these application programs, for developing the application program of distributed interoperability.
In addition, if publication HTTP (HyperText Transfer Protocol, hypertext transfer protocol) service when, then It does not need to generate service description file, so as to issue different types of service.
In any of the above-described technical solution, it is preferable that further include: obtain service agreement information;According to the service agreement Information selects the ESB service agreement template corresponding with the service agreement information.
In the technical scheme, due to the different agreement requests and responder of different ESB service agreement template definitions Therefore formula selects corresponding ESB service agreement template according to service agreement information, to ensure that selection ESB service agreement mould The reliability of plate.
In any of the above-described technical solution, it is preferable that the service profile information includes following one or a variety of combinations: Service name, service-number, service description information, database table information, action type, operating condition.
In the technical scheme, by configuration database table information, so as to be serviced for database table information Publication.By configuring action type, a variety of operations are carried out to service to realize, for example, action type include: increase, deletion, Modification and inquiry, so that it may to operation more than service progress, so that making a variety of operations of the service for user of publication has branch It holds.By configuring operating condition, service request information and response message are generated to adjust according to operation.
In addition, service profile information can also include: service name, service-number and service description information.
Fig. 2 shows the flow diagrams of service issuing method according to another embodiment of the invention.
As shown in Fig. 2, service issuing method according to another embodiment of the invention, comprising:
Step 202, configuration service essential information.By ESB designer, selection creation database service configures Service name Title, service-number and service description information generate database service view interface.
Step 204, database and exposure protocol configuration.In database service view interface, configuration services associated data source, Wherein in the absence of database, can create as needed according to service associated data source selection service agreement and database.
Step 206, table and field configuration.Database table information and respective field information are selected according to database.If needed Multiple database table information are wanted, may customize SQL (Structured Query Language, structured query language) sentence.
Step 208, action type configures.Operating condition is arranged in selection operation type, and ESB engine will be according to operating condition Generate service request information and response message.
Step 210, service engineering packet is generated.After the completion of information above configuration, preservation operation is carried out.Export service engineering Packet, is deployed in ESB service-Engine.It can define the service of multiple databases in service engineering packet.
Step 212, service arrangement is issued.When ESB service-Engine is disposed, believed according to the service configuration in service engineering packet Breath generates deployment package, carries out service arrangement publication according to deployment package.Wherein, if publication WebService service, according to service Service profile information in engineering packet generates corresponding service description file.
Step 214, service monitoring and calling.After the completion of service arrangement, it can carry out checking its service hair by ESB console The information such as cloth address can carry out service call by calls tool.
Fig. 3 shows the structural schematic diagram of service delivery system according to an embodiment of the invention.
As shown in figure 3, service delivery system 300 according to an embodiment of the invention, comprising: configuration unit 302, really Order member 304, the first generation unit 306 and service release unit 308.
Configuration unit 302 configures service profile information for receiving configuration-direct;Determination unit 304 is matched for basis The service profile information set, determines request message parameter information and response data structure;First generation unit 306, is used for By the request message parameter information and the response data structure filling into ESB service agreement template, according to the ESB Service agreement template generation service engineering packet;Release unit 308 is serviced, for carrying out service hair according to the service engineering packet Cloth.
In the technical scheme, according to the ESB service agreement for being filled with request message parameter information and response data structure Template generates service engineering packet, then further according to service engineering packet, so that it may which the publication effectively directly serviced is not necessarily to Code is write, the efficiency of service publication is improved, while also facilitating user according to the corresponding data of service acquisition of publication.
In the above-mentioned technical solutions, it is preferable that the service release unit 308 is specifically used for, and obtains the service engineering The service profile information in packet passes through ESB service-Engine according to the service profile information in the service engineering packet The service of progress publication.
In the technical scheme, service publication is carried out by ESB service-Engine, without writing code, effectively improved Service the efficiency of publication.
In any of the above-described technical solution, it is preferable that in the case where issuing WebService service, further includes: second Generation unit 310, for generating the WebService service according to the service profile information in the service engineering packet Service description file.
In the technical scheme, by generating the service description file of WebService service, so that WebService takes Business can be issued normally.
In addition, if not needing to generate service description file when publication http is serviced, it is different types of so as to issue Service.
In any of the above-described technical solution, it is preferable that further include: acquiring unit 312, for obtaining service agreement information; Selecting unit 314, for selecting the ESB service corresponding with the service agreement information according to the service agreement information Model agreement.
In the technical scheme, due to the different agreement requests and responder of different ESB service agreement template definitions Therefore formula selects corresponding ESB service agreement template according to service agreement information, to ensure that selection ESB service agreement mould The reliability of plate.
In any of the above-described technical solution, it is preferable that the service profile information includes following one or a variety of combinations: Service name, service-number, service description information, database table information, action type, operating condition.
In the technical scheme, by configuration database table information, so as to be serviced for database table information Publication.By configuring action type, a variety of operations are carried out to service to realize, for example, action type include: increase, deletion, Modification and inquiry, so that it may to operation more than service progress, so that making a variety of operations of the service for user of publication has branch It holds.By configuring operating condition, service request information and response message are generated to adjust according to operation.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, according to the technical solution of the present invention, can be effective Service publication is directly carried out, without writing code, improves the efficiency of service publication, while also facilitating user according to publication The corresponding data of service acquisition.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of service issuing method characterized by comprising
Configuration-direct is received, service profile information is configured;
According to the service profile information of configuration, request message parameter information and response data structure are determined;
By the request message parameter information and the response data structure filling into ESB service agreement template, according to institute State ESB service agreement template generation service engineering packet;
According to the service engineering packet, service publication is carried out.
2. service issuing method according to claim 1, which is characterized in that it is described according to the service engineering packet, it carries out It the step of service publication, specifically includes:
Obtain the service profile information in the service engineering packet;
According to the service profile information in the service engineering packet, service publication is carried out by ESB service-Engine.
3. service issuing method according to claim 2, which is characterized in that the case where issuing WebService service Under, further includes:
According to the service profile information in the service engineering packet, the service describing text of the WebService service is generated Part.
4. service issuing method according to any one of claim 1 to 3, which is characterized in that further include:
Obtain service agreement information;
According to the service agreement information, the ESB service agreement template corresponding with the service agreement information is selected.
5. service issuing method according to any one of claim 1 to 3, which is characterized in that the service profile information Including following one or a variety of combinations: service name, service-number, service description information, database table information, operation class Type, operating condition.
6. a kind of service delivery system characterized by comprising
Configuration unit configures service profile information for receiving configuration-direct;
Determination unit determines request message parameter information and response data knot for the service profile information according to configuration Structure;
First generation unit is assisted for servicing the request message parameter information and the response data structure filling to ESB It discusses in template, according to the ESB service agreement template generation service engineering packet;
Release unit is serviced, for carrying out service publication according to the service engineering packet.
7. service delivery system according to claim 6, which is characterized in that the service release unit is specifically used for,
The service profile information in the service engineering packet is obtained, according to the service configuration in the service engineering packet Information carries out service publication by ESB service-Engine.
8. service delivery system according to claim 7, which is characterized in that the case where issuing WebService service Under, further includes:
Second generation unit, for according to the service profile information in the service engineering packet, described in generation The service description file of WebService service.
9. the service delivery system according to any one of claim 6 to 8, which is characterized in that further include:
Acquiring unit, for obtaining service agreement information;
Selecting unit, for selecting the ESB service corresponding with the service agreement information according to the service agreement information Model agreement.
10. the service delivery system according to any one of claim 6 to 8, which is characterized in that the service profile information Including following one or a variety of combinations: service name, service-number, service description information, database table information, operation class Type, operating condition.
CN201611088441.7A 2016-11-29 2016-11-29 Service issuing method and service delivery system Active CN106559493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611088441.7A CN106559493B (en) 2016-11-29 2016-11-29 Service issuing method and service delivery system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611088441.7A CN106559493B (en) 2016-11-29 2016-11-29 Service issuing method and service delivery system

Publications (2)

Publication Number Publication Date
CN106559493A CN106559493A (en) 2017-04-05
CN106559493B true CN106559493B (en) 2019-09-17

Family

ID=58445507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611088441.7A Active CN106559493B (en) 2016-11-29 2016-11-29 Service issuing method and service delivery system

Country Status (1)

Country Link
CN (1) CN106559493B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107769974B (en) * 2017-10-30 2020-08-21 浪潮通用软件有限公司 Service publishing method and device
CN113190362B (en) * 2021-04-22 2022-12-27 北京达佳互联信息技术有限公司 Service calling method and device, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080140857A1 (en) * 2006-03-21 2008-06-12 Conner Peter A Service-oriented architecture and methods for direct invocation of services utilizing a service requestor invocation framework
CN102347983B (en) * 2011-08-26 2014-01-29 四川长虹电器股份有限公司 ESB (Enterprise Service Bus) system in SOA (Service-Oriented Architecture)
CN102882934A (en) * 2012-09-05 2013-01-16 浪潮(北京)电子信息产业有限公司 Web service realizing method based on enterprise service bus (ESB), ESB and service center
CN103530135A (en) * 2013-10-31 2014-01-22 深圳中兴网信科技有限公司 Proxy service generating device and proxy service generating method
CN105847231A (en) * 2016-02-23 2016-08-10 乐视体育文化产业发展(北京)有限公司 Service publishing method, device and system

Also Published As

Publication number Publication date
CN106559493A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN106600238B (en) Method and device for realizing network service opening based on Activiti process engine
CN106254423B (en) The method for realizing Restful service release quickly based on micro services framework
CN101821710B (en) System, method and graphical user interface for workflow generation, deployment and/or execution
CN101821709B (en) For the system of workflow generation, scheduling and/or execution, method and graphic user interface
KR101314949B1 (en) Integration environment generator
WO2019000630A1 (en) Multi-task scheduling method and system, application server and computer-readable storage medium
CN106569790B (en) Card template generation method, service providing method, information providing method and device
CN106850788A (en) Towards the integrated framework and integrated approach of multi-source heterogeneous geographic information resources
CA2685892A1 (en) Xml push and remote execution of a wireless applications
US20070282616A1 (en) Systems and methods for providing template based output management
CN101185303A (en) System and method for creating a mapping document for binding messages between an application and an associated backend server
CN106686023A (en) Flow designing method, client machine, server side apparatus and system
CN107526806A (en) The conversion method and device of data
CN104217270A (en) Business process application file generating and execution methods, client, device and system
CN106559493B (en) Service issuing method and service delivery system
CN106201466B (en) A kind of Template Manager method based on heat
CN104809126A (en) Business process engine system
CN111752723B (en) Visual multi-source service management system and implementation method thereof
CN108108986A (en) A kind of design method of CRM system, device and electronic equipment
CN114254606A (en) Microservice framework model
CN108154341A (en) United Dispatching platform and method of work based on data flow and workflow
US8880561B2 (en) Computer system and computerized method for storing business objects and business mapping data
CN105516269A (en) Application configuration method and application configuration device
WO2019043462A1 (en) Systems and methods for creating automated interface transmission between heterogeneous systems in an enterprise ecosystem
CN110019207A (en) Data processing method and device and script display methods and device

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