CN105357316B - A kind of method and system of quick realization service broker - Google Patents

A kind of method and system of quick realization service broker Download PDF

Info

Publication number
CN105357316B
CN105357316B CN201510885987.4A CN201510885987A CN105357316B CN 105357316 B CN105357316 B CN 105357316B CN 201510885987 A CN201510885987 A CN 201510885987A CN 105357316 B CN105357316 B CN 105357316B
Authority
CN
China
Prior art keywords
service
information
endpoint
services
user
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
CN201510885987.4A
Other languages
Chinese (zh)
Other versions
CN105357316A (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.)
Casic Wisdom Industrial Development Co Ltd
Original Assignee
Casic Wisdom Industrial Development 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 Casic Wisdom Industrial Development Co Ltd filed Critical Casic Wisdom Industrial Development Co Ltd
Priority to CN201510885987.4A priority Critical patent/CN105357316B/en
Publication of CN105357316A publication Critical patent/CN105357316A/en
Application granted granted Critical
Publication of CN105357316B publication Critical patent/CN105357316B/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/50Network services
    • H04L67/56Provisioning of proxy services
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of method and systems of quick realization service broker, are related to service broker's technical field.This method is by formulating unified service access template according to service access protocol type, terminal point information and the service access information that user fills in are obtained from management system again, and it fills to template, so as to generate service profile information, the last service profile information according to generation provides service to the user, so as to realize that being directed to all types of access services, service can be provided, without servicing different types of access, program and maintenance are write respectively, so as to greatly reduce the workload of programming personnel and maintenance personnel, reduce service cost, also improve the reusability of program assembly and service broker's efficiency;In addition, user only needs to fill in terminal point information and registration service information, therefore, has good user experience.

Description

A kind of method and system of quick realization service broker
Technical field
The present invention relates to service broker's technical field more particularly to a kind of method and systems of quick realization service broker.
Background technology
Be scattered here and there many information systems in city, these system types are various, and only focus in the data in respective field With business processing, lack corresponding interface standard and specification, each is political affairs, can not carry out information sharing and industry between each other Business is integrated, so as to be formed " information island ".With the continuous expansion of urban informationization scale, application system is continuously increased, to letter Breath is shared, the requirement in terms of interoperability of system and software reuse is higher and higher, " chimney " that these are relatively independent, standard is different Formula system cannot meet the needs of business, and the drawbacks of exposing is more and more.
Urban service bus system is (hereinafter referred to as:CSB) be Service-Oriented Architecture Based (SOA) infrastructure, be lightweight Integrated.Open, measured agreement is provided, permission developer is quick, simply accesses and accesses Service, solves the problems, such as the system integration and resource-sharing in city.Service broker is most basic function in CSB.All kinds of resources with Service form is published on CSB, and CSB will service directly externally publication, be processed without being verified, being converted to service etc. Journey reduces service forwarding time, improves service access efficiency in this way.
Existing service broker's pattern is that service penetrates.Service penetrate refer to by developing instrument or program to having issued Service carry out a series of packaging, generate new service.Newly-generated service can create a new service access endpoint, visit Ask that the service of the endpoint is forwarded directly on announced service endpoints.It is deployed in CSB after the completion of newly-generated service development, It is registered and is externally issued.
The technology carries out secondary development by developing instrument or program to service, this work must by programming personnel into Row is directed to its many some customized term and operation, causes the process cumbersome, not readily understood, and needs A large amount of human and material resources and the input of time, there is the problem of inefficiency, poor user experience.
Invention content
The purpose of the present invention is to provide a kind of method and system of quick realization service broker, so as to solve the prior art Present in foregoing problems.
To achieve these goals, the technical solution adopted by the present invention is as follows:
A kind of method of quick realization service broker, includes the following steps:
S1 according to service access protocol type, creates the service access template of corresponding types;
S2 obtains the terminal point information of user and the information on services of registration service;
The terminal point information of user and the information on services are added to the service access template of corresponding types by S3 In, generate service profile information;
S4 provides service to the user according to the service profile information.
Preferably, in S1, the service access protocol type includes:Rest, WebService, Jms, Fi le, Ftp and Pop3。
Preferably, in S1, the content of the service access template includes:Service entrance ip, port numbers, service code, clothes Business outlet access address and/or the overtime duration of service.
Preferably, in S2, the terminal point information includes:Endpoint names, endpoint type, entrance ip addresses, arrival end slogan, Services Code, coded format, request type, response mode, outlet services address and overtime duration;The endpoint type with it is described Service access protocol type corresponds to.
Preferably, the endpoint type, request type and response mode are selected by drop-down menu.
Preferably, in S2, the information on services includes:Service English name, service type, endpoint components and service mesh Record;The service type is corresponding with the endpoint type.
Preferably, the service type, endpoint components and service catalogue are selected by drop-down menu.
Preferably, S2 includes the following steps:
S201, user fill in terminal point information, and by terminal point information storage in the database in endpoint manages menu;
S202, user fill in information on services in service registration menu, the endpoint components in the information on services with it is described Endpoint names in terminal point information correspond to;
S203, the endpoint components in the information on services are searched in the database including the endpoint name The terminal point information claimed, obtains the terminal point information.
A kind of system of quick realization service broker, including:
Service access module:What the terminal point information and service register module sent for receiving endpoint management module was sent Information on services is additionally operable to according to the terminal point information and information on services generation service profile information and for according to the clothes Business configuration information provides service to the user;
Endpoint management module:Terminal point information is filled in, and the terminal point information is sent to the service access for user Module;
Service register module:Information on services is filled in for user and user carries out service registration, and the service is believed Breath is sent to the service access module.
Preferably, the service access module is classified according to service access protocol type, for receiving corresponding endpoint The terminal point information of type and the information on services of corresponding service type.
The beneficial effects of the invention are as follows:The method and system of quick realization service broker provided in an embodiment of the present invention leads to It crosses and unified service access template is formulated according to service access protocol type, then the endpoint that user fills in is obtained from management system Information and service access information, and fill to template, so as to generate service profile information, the last service configuration letter according to generation Breath provides service to the user, so as to realize that being directed to all types of access services, and can provide service, without to difference The access service of type, writes program and maintenance respectively, so as to greatly reduce the workload of programming personnel and maintenance personnel, drop Low service cost also improves the reusability of program assembly and service broker's efficiency;In addition, user only needs to fill in endpoint Therefore information and registration service information, have good user experience.
Description of the drawings
Fig. 1 is the method flow schematic diagram of quick realization service broker provided in an embodiment of the present invention;
Fig. 2 is terminal point information addition page schematic diagram;
Fig. 3 is information on services addition page schematic diagram.
Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below in conjunction with attached drawing, to the present invention into Row is further described.It should be appreciated that the specific embodiments described herein are only used to explain the present invention, it is not used to Limit the present invention.
Embodiment one
As shown in Figure 1, an embodiment of the present invention provides a kind of method of quick realization service broker, include the following steps:
S1 according to service access protocol type, creates the service access template of corresponding types;
S2 obtains the terminal point information of user and the information on services of registration service;
The terminal point information of user and the information on services are added to the service access template of corresponding types by S3 In, and generate service profile information file;
S4 provides service to the user according to the service profile information.
In the prior art, when user accesses service broker system, service broker system needs to be taken according to the access of user Service type reprograms the service of access, can just provide access service to the user, moreover, being taken for different access Service type, service broker system need to develop different programs, provide to the user access service, and access service type have it is more Kind, so, the efficiency of service broker is very low, and it is very high to develop maintenance cost.
In the above method provided in an embodiment of the present invention, first against different service types, the visit of corresponding types is developed Ask service moulding plate, for different service types, system can call the service moulding plate of corresponding types, and skill is parsed using existing XML The terminal point information of user and the information on services are added to the institute of corresponding types by art DOM4J analysis service template files In the attribute for stating service access template, it is possible to service profile information file is generated, then recycles service profile information file, So that service broker system provides service to the user.It is every without being directed to so as to only need to develop a set of unified service moulding plate A service type develops program, and then greatly reduces exploitation and maintenance workload, reduces cost, improves efficiency.
Moreover, user is in a management system, when adding terminal point information and information on services, it is only necessary to set according in system Good option is selected, and easy to operate, therefore, user experience is good.
In the embodiment of the present invention, in S1, the service access protocol type can include:Rest、WebService、Jms、 Fi le, Ftp and Pop3.
Using method provided in an embodiment of the present invention, for the service access of the above-mentioned type, unified clothes can be realized It is engaged in flow, therefore, it is fast that the integrity service of system acts on behalf of rate, efficient.
In the embodiment of the present invention, in S1, the content of the service access template can include:Service entrance ip, port numbers, Service code, service export access address and/or the overtime duration of service.
After system gets terminal point information and the information on services of user, according to the content of service access template, by user's Terminal point information and information on services are added in template, and generate service profile information, thus registration request of the system according to user, Service state is set as having enabled, you can externally provide access service according to service profile information.Without be directed to it is each not With the access of service type, program is developed respectively and is safeguarded, so as to be greatly reduced workload.
For example, service access template corresponding with Rest service access protocols, can include following content:
In the embodiment of the present invention, in S2, the terminal point information can include:Endpoint names, endpoint type, entrance ip Location, arrival end slogan, Services Code, coded format, request type, response mode, outlet services address and overtime duration;It is described Endpoint type is corresponding with the service access protocol type.
Endpoint names are the descriptions to terminal point information;Endpoint type is the access protocol that endpoint provides, including:REST、 JMS, WebService etc.;Entrance ip addresses are the access ip of service broker's endpoint;Arrival end slogan is the access for acting on behalf of endpoint Port numbers, port numbers must be unique;Services Code is the access path for acting on behalf of endpoint;Coded format is in service access process In, transmit the coding modes of data;Request type is the mode of service request, including:GET、POSE、DELETE、UPDATE;It rings Answer whether mode has returned content after referring to request;Outlet services address is the service access address that service provider provides;It is super Shi Shichang refers to that disconnecting service access automatically after service access is more than certain period of time connects, and effect is after preventing service exception Service Source is occupied always.
In the endpoint management menu of system, user only needs to fill in above-mentioned terminal point information, is operated without others, is System, by the access service moulding plate of the subscriber endpoints data input to corresponding types, can access service according to endpoint type Template is further according to its content, generation configuration information on services, so as to provide service to the user.
Wherein, the terminal point information addition page of system may refer to Fig. 2.
Some projects can carry out selection using drop-down menu in terminal point information, therefore, can greatly reduce use Task is filled at family, improves the Experience Degree of user.
Specifically, the endpoint type, request type and response mode can be selected by drop-down menu.
As will be understood by the skilled person in the art, in endpoint management menu, there can also be other items of information, you can with Selection setting is carried out according to actual needs, meanwhile, the content for accessing service moulding plate is subjected to appropriate modification.kn
In the embodiment of the present invention, in S2, the information on services can include:Service English name, service type, endpoint group Part and service catalogue;The service type is corresponding with the endpoint type.
Service English name is the English description of service;Service type is service access protocol type, and user selects service After type, the endpoint components list of the type can be automatically loaded into the drop-down menu of endpoint components by system, be selected convenient for user It selects;Endpoint components refer to provide the terminal point information of the service;Service catalogue refers to the classification of service, and service presses catalog classification more just In management and safeguard.
In the service registration menu of system, user only needs to fill in above-mentioned information on services, is operated without others, is The USI user service information can be entered into the access service moulding plate of corresponding types by system according to service type, access service Template is further according to its content, with reference to the terminal point information of the user, generation configuration information on services, so as to provide service to the user.
Wherein, the information on services addition page of system may refer to Fig. 3.
Some projects can carry out selection using drop-down menu in information on services, therefore, can greatly reduce use Task is filled at family, improves the Experience Degree of user.
Specifically, the service type, endpoint components and service catalogue can be selected by drop-down menu.
As will be understood by the skilled person in the art, in service registration menu, there can also be other items of information, you can with Selection setting is carried out according to actual needs, meanwhile, the content for accessing service moulding plate is subjected to appropriate modification.
In a preferred embodiment of the invention, S2 may include steps of:
S201, user fill in terminal point information, and by terminal point information storage in the database in endpoint manages menu;
S202, user fill in information on services in service registration menu, the endpoint components in the information on services with it is described Endpoint names in terminal point information correspond to;
S203, the endpoint components in the information on services are searched in the database including the endpoint name The terminal point information claimed, obtains the terminal point information.
By S2, user can not need to intricately encode, it is only necessary to can be quickly real by the easy configuration on the page Existing service broker's process saves the time of user, improves the efficiency of service broker.
Embodiment two
An embodiment of the present invention provides a kind of system of quick realization service broker, including:
Service access module:What the terminal point information and service register module sent for receiving endpoint management module was sent Information on services is additionally operable to according to the terminal point information and information on services generation service profile information and for according to the clothes Business configuration information provides service to the user;
Endpoint management module:Terminal point information is filled in, and the terminal point information is sent to the service access for user Module;
Service register module:Information on services is filled in for user and user carries out service registration, and the service is believed Breath is sent to the service access module.
The system of above structure, the course of work and advantage may refer to the description in embodiment one, herein not It repeats again.
Wherein, the service access module is classified according to service access protocol type, for receiving corresponding endpoint class The terminal point information of type and the information on services of corresponding service type.
By using above-mentioned technical proposal disclosed by the invention, following beneficial effect has been obtained:The embodiment of the present invention carries The quick method and system for realizing service broker supplied, by formulating unified service access mould according to service access protocol type Plate, then terminal point information and the service access information that user fills in are obtained from management system, and fill to template, so as to generate clothes Business configuration information, the last service profile information according to generation provide service to the user, and all types are directed to so as to realize Access service, service can be provided, without servicing different types of access, program and maintenance are write respectively, so as to big The big workload for reducing programming personnel and maintenance personnel, reduces service cost, also improves the reusability of program assembly With service broker's efficiency;In addition, user only needs to fill in terminal point information and registration service information, therefore, have good User experience.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
Those skilled in the art should be understood that above-described embodiment provide method and step sequential can according to actual conditions into Row is adaptively adjusted, and also can concurrently be carried out according to actual conditions.
All or part of step in the method that above-described embodiment is related to can be instructed by program relevant hardware come It completes, the program can be stored in the storage medium that computer equipment can be read, for performing the various embodiments described above side All or part of step described in method.The computer equipment, such as:Personal computer, server, the network equipment, intelligent sliding Dynamic terminal, smart home device, wearable intelligent equipment, vehicle intelligent equipment etc.;The storage medium, such as:RAM、 ROM, magnetic disc, tape, CD, flash memory, USB flash disk, mobile hard disk, storage card, memory stick, webserver storage, network cloud storage Deng.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, commodity or equipment including a series of elements not only include that A little elements, but also including other elements that are not explicitly listed or further include for this process, method, commodity or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except also there are other identical elements in the process including the element, method, commodity or equipment.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should Depending on protection scope of the present invention.

Claims (8)

  1. A kind of 1. method of quick realization service broker, which is characterized in that include the following steps:
    S1 according to service access protocol type, creates the service access template of corresponding types;
    S2 obtains the terminal point information of user and the information on services of registration service;
    The terminal point information of user and the information on services are added in the service access template of corresponding types by S3, Generate service profile information;
    S4 provides service to the user according to the service profile information;
    In S1, the content of the service access template includes:Service entrance ip, port numbers, service code, service export access Location and/or the overtime duration of service.
  2. 2. the method for quick realization service broker according to claim 1, which is characterized in that in S1, the service access Protocol type includes:Rest, WebService, Jms, File, Ftp and Pop3.
  3. 3. the method for quick realization service broker according to claim 1, which is characterized in that in S2, the terminal point information Including:Endpoint names, endpoint type, entrance ip addresses, arrival end slogan, Services Code, coded format, request type, response Mode, outlet services address and overtime duration;The endpoint type is corresponding with the service access protocol type.
  4. 4. the method for quick realization service broker according to claim 3, which is characterized in that the endpoint type, request Type and response mode are selected by drop-down menu.
  5. 5. the method for quick realization service broker according to claim 3, which is characterized in that in S2, the information on services Including:Service English name, service type, endpoint components and service catalogue;The service type is corresponding with the endpoint type.
  6. 6. the method for quick realization service broker according to claim 5, which is characterized in that the service type, endpoint Component and service catalogue are selected by drop-down menu.
  7. 7. the method for quick realization service broker according to claim 5, which is characterized in that S2 includes the following steps:
    S201, user fill in terminal point information, and by terminal point information storage in the database in endpoint manages menu;
    S202, user fill in information on services in service registration menu, the endpoint components in the information on services and the endpoint Endpoint names in information correspond to;
    S203, the endpoint components in the information on services are searched in the database including the endpoint names The terminal point information obtains the terminal point information.
  8. 8. a kind of system of quick realization service broker, which is characterized in that including:
    Service access module:The service that the terminal point information and service register module sent for receiving endpoint management module is sent Information is additionally operable to according to the terminal point information and information on services generation service profile information and for being matched according to the service Confidence breath provides service to the user;
    Endpoint management module:Terminal point information is filled in, and the terminal point information is sent to the service access module for user;
    Service register module:Information on services is filled in for user and user carries out service registration, and the information on services is sent out It send to the service access module;
    The service access module is classified according to service access protocol type, for receiving the endpoint of corresponding endpoint type letter The information on services of breath and corresponding service type;
    The content of the service access module includes:Service entrance ip, port numbers, service code, service export access address and/ Or the overtime duration of service.
CN201510885987.4A 2015-12-04 2015-12-04 A kind of method and system of quick realization service broker Active CN105357316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510885987.4A CN105357316B (en) 2015-12-04 2015-12-04 A kind of method and system of quick realization service broker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510885987.4A CN105357316B (en) 2015-12-04 2015-12-04 A kind of method and system of quick realization service broker

Publications (2)

Publication Number Publication Date
CN105357316A CN105357316A (en) 2016-02-24
CN105357316B true CN105357316B (en) 2018-07-03

Family

ID=55333175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510885987.4A Active CN105357316B (en) 2015-12-04 2015-12-04 A kind of method and system of quick realization service broker

Country Status (1)

Country Link
CN (1) CN105357316B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325186A (en) * 2011-09-14 2012-01-18 山东中创软件工程股份有限公司 Remote service calling method and system
CN102739789A (en) * 2012-06-28 2012-10-17 上海西本网络科技有限公司 Method and device for processing service, method and device for providing service, and service system
CN103186417A (en) * 2011-12-30 2013-07-03 鼎捷软件股份有限公司 Service management method
CN103581310A (en) * 2013-10-24 2014-02-12 深圳市远行科技有限公司 Automatic generating method for web service agent
CN104580342A (en) * 2014-08-01 2015-04-29 南京坦道信息科技有限公司 Extendable and completely self-defined unified interface service platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8775651B2 (en) * 2008-12-12 2014-07-08 Raytheon Company System and method for dynamic adaptation service of an enterprise service bus over a communication platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325186A (en) * 2011-09-14 2012-01-18 山东中创软件工程股份有限公司 Remote service calling method and system
CN103186417A (en) * 2011-12-30 2013-07-03 鼎捷软件股份有限公司 Service management method
CN102739789A (en) * 2012-06-28 2012-10-17 上海西本网络科技有限公司 Method and device for processing service, method and device for providing service, and service system
CN103581310A (en) * 2013-10-24 2014-02-12 深圳市远行科技有限公司 Automatic generating method for web service agent
CN104580342A (en) * 2014-08-01 2015-04-29 南京坦道信息科技有限公司 Extendable and completely self-defined unified interface service platform

Also Published As

Publication number Publication date
CN105357316A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN111741035B (en) Electronic contract signing method, device and equipment
US20140114822A1 (en) Method and system for creating tax configuration templates
CN110442341B (en) Interface configuration method and device of application program and terminal equipment
CN105339924A (en) Efficient data compression and analysis as a service
CN104954410A (en) Message pushing method, device thereof and server
CN108572963A (en) Information acquisition method and device
CN103049271A (en) Method and device for automatically generating description document of API (application program interface)
CN102810057A (en) Log recording method
WO2022022245A1 (en) Method, apparatus and device for generating digital document of title
US9298780B1 (en) Method and system for managing user contributed data extraction templates using weighted ranking score analysis
CN111163132A (en) Service providing method, device, equipment and system based on block chain
CN111767499A (en) Page configuration method and device
WO2017132269A1 (en) Service component management methods and systems
CN112182359A (en) Feature management method and system of recommendation model
CN109857550A (en) Resource allocation method, device, equipment and storage medium based on machine learning
CN104731606A (en) System and method based on identification grasping technology to achieve enterprise application integration management
CN113722114A (en) Data service processing method and device, computing equipment and storage medium
KR20200136772A (en) Bind-based integrated content processing apparatus
US10880261B2 (en) Personal web address management system
Lee et al. Implementation and performance of distributed text processing system using hadoop for e-discovery cloud service
CN105357316B (en) A kind of method and system of quick realization service broker
US9230022B1 (en) Customizable result sets for application program interfaces
CN113609271B (en) Knowledge graph-based service processing method, device, equipment and storage medium
US10331693B1 (en) Filters and event schema for categorizing and processing streaming event data
Sambasivan et al. A framework for technology design for emerging markets

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant