CN101729588A - Method and device for arranging service - Google Patents

Method and device for arranging service Download PDF

Info

Publication number
CN101729588A
CN101729588A CN200810224343.0A CN200810224343A CN101729588A CN 101729588 A CN101729588 A CN 101729588A CN 200810224343 A CN200810224343 A CN 200810224343A CN 101729588 A CN101729588 A CN 101729588A
Authority
CN
China
Prior art keywords
interface
address
request message
user
service
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
CN200810224343.0A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200810224343.0A priority Critical patent/CN101729588A/en
Priority to PCT/CN2009/074425 priority patent/WO2010043172A1/en
Publication of CN101729588A publication Critical patent/CN101729588A/en
Pending legal-status Critical Current

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/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)
  • User Interface Of Digital Computer (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method and a device for arranging a service. The method and the device for arranging the service belong to the field of network communication. The method for arranging the service comprises the following steps: pre-configuring a corresponding relationship between an interface which is stored in an interface library and the service; receiving a request message, wherein the request message comprises an interface address request; finding the service corresponding to the interface address request according to the corresponding relationship and providing the service to a user; receiving a subsequent request message, wherein the subsequent request message comprises a selection result which is made by the user according to the service; and generating an interface address corresponding to the selection result according to the selection result, and providing an interface corresponding to the corresponding interface address for the user according to the corresponding interface. The invention also discloses a device for arranging the service. The method and the device for arranging the service have the advantages that an interface code is unnecessarily rearranged and the interface service is directly provided for the user by simple flow arrangement.

Description

A kind of method of arranging service and device
Technical field
The present invention relates to network communication field, relate in particular to a kind of method and device of arranging service.
Background technology
Along with popularizing and development of development of technology and internet Internet, enterprise need change information technology (Information Technology flexibly according to the demand of business, IT) ability of infrastructure is so that can develop its framework along with the expansion of business.Service-Oriented Architecture Based (service-oriented architecture, SOA) be exactly a kind of solution thinking, enterprise can design reusable service, when the operation flow demand changes, only revise professional script, the needed service of Rapid Combination just can be tackled professional variation fast and like a cork and needn't rewrite code.
In order to realize said method, prior art provides a kind of method of arranging service, this method adopts Business Processing effective language (Business Process Execution Language for Web Services, BPEL) a plurality of Web services are combined in the new composite service (being called operation flow again), thereby realize coming the needed service of Rapid Combination according to business demand.
In realizing process of the present invention, the inventor finds prior art, and there are the following problems:
Because BPEL technology of the prior art is based on XML and Web service makes up, it uses a kind of language based on Web, this language can only be communicated by letter with Web service, can't carry out integrated with the application that the Web service interface is not provided, so when operation flow relates to the interface, also need to write again the interface code, and can't provide the interface service for the user by simple arranging service.
Summary of the invention
Embodiment of the present invention provides a kind of method and device of arranging service, when described method and apparatus relates to the interface in new business, need not write the interface code again, directly provides the interface service by the simple process flow layout for the user.
The specific embodiment of the present invention provides a kind of method of arranging service, and described method comprises: interface of storing in the pre-configured interface database and professional corresponding relation, and described method also comprises:
Reception is based on Simple Object Access Protocol SOAP request message, and described request message comprises request address, interface;
Find out described request interface address corresponding service and offer the user according to described corresponding relation;
Reception is based on the subsequent request message of soap protocol, and described subsequent request message comprises the selection result that the user makes according to described business;
Generate address, the pairing interface of described selection result according to described selection result, and the pairing interface, address, interface of described correspondence is provided for the user according to the address, interface of described correspondence.
The specific embodiment of the invention also provides a kind of device of arranging service, and described device comprises:
Dispensing unit is used for interface that pre-configured interface database preserves and the corresponding relation between the business;
Receiving element is used for receiving based on Simple Object Access Protocol SOAP request message, and described request message comprises request address, interface;
Business unit is used for inquiring the pairing business in address, described request interface according to described corresponding relation, and offers the user;
Described receiving element also is used to receive the subsequent request message based on Simple Object Access Protocol SOAP, and described subsequent request message has the selection result that the user makes according to described business;
Generation unit is used for generating address, the pairing interface of described selection result according to described selection result;
The interface service unit is used for providing the interface according to the address, interface of described correspondence for the user.
By the above-mentioned technical scheme that provides as can be seen, the technical scheme of the embodiment of the invention provides this interface address pairing business based on the address, interface in the SOAP request message for the user according to what receive, thereby can be after the subsequent request message that receives based on SOAP, the address of making according to this business according to the user in the subsequent request message, the pairing interface of selection result is for being used to provide this corresponding pairing interface, address, interface, thereby when operation flow relates to the interface, need not write the interface code again, directly provide the interface service for the user by the simple process flow layout.
Description of drawings
The structure chart of the device of a kind of arranging service that Fig. 1 provides for the specific embodiment of the invention.
The flow chart of the method for a kind of arranging service that Fig. 2 provides for the specific embodiment of the invention.
The flow chart of the method for a kind of arranging service that Fig. 3 provides for the specific embodiment of the invention.
Embodiment
Embodiment of the present invention provides a kind of device of arranging service, and this device comprises as shown in Figure 1: dispensing unit 11 is used for interface that pre-configured interface database preserves and the corresponding relation between the business; Receiving element 12 is used to receive request message, and this request message comprises request address, interface; Business unit 13 is used for inquiring this pairing business in address, request interface according to the corresponding relation of dispensing unit 11, and offers the user; This receiving element 12 also is used to receive subsequent request message, and this subsequent request message has the selection result that the user makes according to this business; Generation unit 15 is used for generating address, the pairing interface of this selection result according to this selection result; Interface service unit 14 is used for providing the interface according to this corresponding address, interface for the user.Above-mentioned subsequent request message can be a subsequent request message, also can be a plurality of subsequent request message.Request message and follow-up request message that this receiving element 12 receives all are based on Simple Object Access Protocol (Simple Object Access Protocal, request message SOAP).
Optionally, above-mentioned interface service unit 14 can comprise: interface module 141 or interface generation module 142.
This interface module 141 is used for inquiring this corresponding pairing interface, address, interface and offering the user from interface database according to this corresponding address, interface.
This interface generation module 142 is used for going out this address, correspondence interface pairing page stream parameter according to this corresponding interface address search, is generating interface or interface fragment and is offering the user according to this page stream parameter.This page stream parameter can comprise that page flow control parameter, the page show that Control Parameter, variable present one or more in parameter, alternative parameter, the default value parameter.
Optionally, above-mentioned subsequent request message can also have the interface instance identification, and this interface instance identification is used to distinguish the request message that the user sends.
The device of a kind of arranging service that the specific embodiment of the invention provides can provide this pairing business in address, interface for the user according to the address, interface in the request message of user's transmission, thereby can be after the subsequent request message that receives user's transmission, the address of making according to this business according to the user in the subsequent request message, the pairing interface of selection result is for being used to provide this corresponding pairing interface, address, interface, thereby when operation flow relates to the interface, need not write the interface code again, directly provide the interface service for the user by the simple process flow layout.
Can also comprise the interface instance identification in the above-mentioned subsequent request message, this interface instance identification is used to be designated the interface that the user provides.
The specific embodiment of the invention also provides a kind of method of arranging service, and the precondition of this method is, interface of storing in the pre-configured interface database and professional corresponding relation, and this method comprises the steps: as shown in Figure 2
Step 21, receive the request message based on soap protocol, this request message comprises request address, interface.
Step 22, find out this request interface address corresponding service and offer the user according to corresponding relation.
Step 23, receive the subsequent request message based on soap protocol, this subsequent request message comprises the selection result that the user makes according to this business.
Optionally, the subsequent request message in this step can also comprise the interface instance identification, and this interface instance identification is used to distinguish the request message that the user sends.
Step 24, generate address, the pairing interface of this selection result, and provide this corresponding pairing interface, address, interface for the user according to this corresponding address, interface according to this selection result.
Specifically, finish this step and can use any in the following manner.
Mode A, from interface database, find out this corresponding pairing interface, address, interface and offer the user according to this corresponding address, interface.
Method B, go out this corresponding address, interface pairing page stream parameter, and generate interface or interface fragment and offer the user according to this page stream parameter according to this corresponding interface address search.This page stream parameter can present one or more in parameter, alternative parameter, the default value parameter for page flow control parameter, the page show Control Parameter, variable.
Step in the said method all can be finished by the arranging service device, and the imbody form of this arranging service device can be the interface server.
In order better to understand technical scheme of the present invention, now describe in detail with the step of specific embodiment in conjunction with the accompanying drawings to the described method of the specific embodiment of the invention, the specific embodiment of the invention provides a kind of method of arranging service, the application scenarios of present embodiment is, the business of present embodiment is an operational travel, this user need carry out route and confirm, reservation and hotel reservation, present embodiment supposes that the address at this travelling interface is, http://www.TravelExample.com, this pre-configured corresponding relation is, the corresponding relation of http://www.TravelExample.com and operational travel, in actual conditions, pre-configured corresponding relation all is the relation one to one of address, a plurality of interface and a plurality of business generally, because length is limit, here differ one for example, the request message in the present embodiment does not have specified otherwise, all can be based on the request message of soap protocol.This method comprises the steps: as shown in Figure 3
Step 31, interface server receive the request message based on soap protocol that the user sends, and this request message comprises http://www.TravelExample.com.
It is operational travel that step 32, interface server find out this http://www.TravelExample.com corresponding service according to the corresponding relation of predetermined configurations, and this operational travel is offered the user.
Step 33, interface server receive the subsequent request message based on soap protocol that the user sends, and this subsequent request message comprises the selection result that the user makes according to this operational travel.
Here suppose this step selection result can for,
A, starting point Beijing, itinerary, the reservation service is carried out in terminal point Guilin.
B, starting point Beijing, itinerary, the hotel reservation service is carried out in terminal point Guilin.
Step 34, interface server generate the address, interface of this selection result correspondence according to this selection result.
The concrete operations of its realization can for, when selecting the result be A, interface server generation Beijing is to the address, interface of Guilin reservation.When selecting the result to be B, the interface server generates the address, interface of Guilin hotel reservation.
Step 35, interface server flow parameter according to the page that this corresponding interface address search goes out this address, correspondence interface, and offer the user according to this page stream parameter generation interface.
Realize this step method can for,
When selecting the result to be A, the interface server goes out address, the interface corresponding page stream parameter of this reservation according to Beijing to the interface address search of Guilin reservation, is generating Beijing according to this page stream parameter to the interface of Guilin reservation and offer the user.
When selecting the result be A, the interface server goes out address, the interface corresponding page stream parameter of this hotel reservation according to the interface address search of Guilin hotel reservation, according to the interface of this page stream parameter generation Guilin hotel reservation and offer the user.
In actual conditions, be used for also A and B all to be selected, when the user selects, then need two subsequent request message to carry selection result A and selection result B respectively, and the interface server carry out step 34 and 35 respectively to two subsequent request message.
The specific embodiment of the invention is by receiving the request message that the user sends, and provide operational travel for the user according to the http://www.TravelExample.com in this request message, and receiving the user when making a choice as a result according to this operational travel, generate address, the pairing interface of this selection result, and provide the service of pairing interface, this address, interface for the user, thereby realized when operation flow relates to the interface, need not write the interface code again, directly provide the interface service for the user by the simple process flow layout.
The method that the specific embodiment of the invention provides is by receiving the request message that the user sends, and provide this pairing business in address, interface for the user according to the address, interface in this request message, and receiving the user when making a choice as a result according to this business, generate address, the pairing interface of this selection result, and provide the service of pairing interface, this address, interface for the user, thereby realized when operation flow relates to the interface, need not write the interface code again, directly provide the interface service for the user by the simple process flow layout.
In sum, the technical scheme that the specific embodiment of the invention provides has when operation flow relates to the interface, need not write the interface code again, and the advantage of interface service directly is provided for the user by the simple process flow layout.
The above; only be the preferable embodiment of the present invention; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the embodiment of the invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (5)

1. the method for an arranging service is characterized in that, interface of storing in the pre-configured interface database and professional corresponding relation, and described method also comprises:
Reception is based on Simple Object Access Protocol SOAP request message, and described request message comprises request address, interface;
Find out described request interface address corresponding service and offer the user according to described corresponding relation;
Reception is based on the subsequent request message of soap protocol, and described subsequent request message comprises the selection result that the user makes according to described business;
Generate address, the pairing interface of described selection result according to described selection result, and the pairing interface, address, interface of described correspondence is provided for the user according to the address, interface of described correspondence.
2. method according to claim 1 is characterized in that, described address, interface according to described correspondence comprises for the user provides the pairing interface, address, interface of described correspondence:
The pairing interface, address, interface that finds out described correspondence according to the address, interface of described correspondence from interface database offers the user;
Or go out address, the interface pairing page stream parameter of described correspondence, and generate the interface or the interface fragment offers the user according to described page stream parameter according to the interface address search of described correspondence.
3. method according to claim 1 is characterized in that, described subsequent request message also comprises the interface instance identification, and described interface instance identification is used to distinguish the request message that the user sends.
4. the device of an arranging service is characterized in that, described device comprises:
Dispensing unit is used for interface that pre-configured interface database preserves and the corresponding relation between the business;
Receiving element is used for receiving based on Simple Object Access Protocol SOAP request message, and described request message comprises request address, interface;
Business unit is used for inquiring the pairing business in address, described request interface according to described corresponding relation, and offers the user;
Described receiving element also is used to receive the subsequent request message based on Simple Object Access Protocol SOAP, and described subsequent request message has the selection result that the user makes according to described business;
Generation unit is used for generating address, the pairing interface of described selection result according to described selection result;
The interface service unit is used for providing the interface according to the address, interface of described correspondence for the user.
5. device according to claim 4 is characterized in that, described interface service unit comprises:
Interface module is used for inquiring the pairing interface, address, interface of described correspondence and offering the user from interface database according to the address, interface of described correspondence;
Or the interface generation module, be used for going out address, described corresponding interface pairing page stream parameter according to the interface address search of described correspondence, offering the user according to described page stream parameter generation interface or interface fragment.
CN200810224343.0A 2008-10-17 2008-10-17 Method and device for arranging service Pending CN101729588A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200810224343.0A CN101729588A (en) 2008-10-17 2008-10-17 Method and device for arranging service
PCT/CN2009/074425 WO2010043172A1 (en) 2008-10-17 2009-10-13 Method and device for service scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810224343.0A CN101729588A (en) 2008-10-17 2008-10-17 Method and device for arranging service

Publications (1)

Publication Number Publication Date
CN101729588A true CN101729588A (en) 2010-06-09

Family

ID=42106243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810224343.0A Pending CN101729588A (en) 2008-10-17 2008-10-17 Method and device for arranging service

Country Status (2)

Country Link
CN (1) CN101729588A (en)
WO (1) WO2010043172A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108432208A (en) * 2016-12-15 2018-08-21 华为技术有限公司 A kind of arranging service method, apparatus and server
CN112235123A (en) * 2015-02-25 2021-01-15 华为技术有限公司 Business function registration mechanism and capability indexing

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291337A (en) * 2016-04-01 2017-10-24 华为技术有限公司 A kind of method and device that Operational Visit is provided
CN110830280B (en) * 2018-08-10 2023-05-30 深圳市鸿合创新信息技术有限责任公司 Micro-service gateway device and method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020143898A1 (en) * 2001-03-27 2002-10-03 Mansfield Michael A. System and method for providing personalized customer support
US20050060250A1 (en) * 2003-09-17 2005-03-17 Mobile (R&D) Ltd. Billing and ordering system and method for services provided over communications networks
AU2007314144B2 (en) * 2006-10-31 2013-04-18 Redpoint Pty Ltd Inducing B-party defined behaviours in A-party communications by distribution of user interfaces
CN101246424A (en) * 2008-02-22 2008-08-20 深圳国人通信有限公司 Menu automatic generation system and method for based on file

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235123A (en) * 2015-02-25 2021-01-15 华为技术有限公司 Business function registration mechanism and capability indexing
CN112235123B (en) * 2015-02-25 2024-04-12 华为技术有限公司 Service function registration mechanism and capability indexing
CN108432208A (en) * 2016-12-15 2018-08-21 华为技术有限公司 A kind of arranging service method, apparatus and server
CN108432208B (en) * 2016-12-15 2020-02-21 华为技术有限公司 Service arranging method, device and server
US11178233B2 (en) 2016-12-15 2021-11-16 Huawei Technologies Co., Ltd. Service orchestration method and apparatus, and server

Also Published As

Publication number Publication date
WO2010043172A1 (en) 2010-04-22

Similar Documents

Publication Publication Date Title
CN103208046B (en) Workflow engine architecture method and system based on interactive dynamic flow chart
EP2107712B1 (en) Method, apparatus and system for composite service process, replacement and concrete service invocation
CN103139173B (en) Terminal unit, exchange network system, media business method for down loading and system
CN101405761B (en) For service reception and the method and system processing data
WO2014107693A1 (en) Method and system for providing cloud-based common distribution applications
CN101599015A (en) A kind of method and system of analyzing component
CN104660489A (en) Method and system for controlling message delivery in messaging system
CN109669703A (en) Micro services information configuring methods, device, computer equipment and storage medium
CN106021315A (en) Log management method and system for application program
CN101729588A (en) Method and device for arranging service
CN103577420A (en) Method and device for inquiring user information dynamically
CN103822630A (en) Transference navigation method and system of public transport vehicles
CN105975578A (en) Information recommendation method, information recommendation device and terminal equipment
CN105391593A (en) Message transmission method and equipment
CN105069059A (en) Database synchronization method and apparatus
US20130204964A1 (en) Retrieving availability information from published calendars
CN102158548A (en) Method for accessing external services into enterprise service bus
CN104394438A (en) A method and system for configuring a multimedia display content
CN110324167B (en) Configuration method, device and system of service governance rules and electronic equipment
US10404826B2 (en) Content based routing architecture system and method
JP2006268684A (en) Apparatus, method and program for predicting demand
CN109814916B (en) IVR flow configuration method, device, storage medium and server
US20090070739A1 (en) System and method of communicating between heterogeneous systems
KR101414795B1 (en) Instant Web App composing device and method
CN105335523A (en) Data interaction method and Web server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100609