CN102209020B - Service routing method, apparatus and system thereof - Google Patents

Service routing method, apparatus and system thereof Download PDF

Info

Publication number
CN102209020B
CN102209020B CN201010137671.4A CN201010137671A CN102209020B CN 102209020 B CN102209020 B CN 102209020B CN 201010137671 A CN201010137671 A CN 201010137671A CN 102209020 B CN102209020 B CN 102209020B
Authority
CN
China
Prior art keywords
service
business
service gateway
gateway
platform
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
CN201010137671.4A
Other languages
Chinese (zh)
Other versions
CN102209020A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201010137671.4A priority Critical patent/CN102209020B/en
Publication of CN102209020A publication Critical patent/CN102209020A/en
Application granted granted Critical
Publication of CN102209020B publication Critical patent/CN102209020B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention, is used to shield a service platform and an enabler platform from networking and service routing, discloses a service routing method, an apparatus and a system thereof. The method includes the following steps that: a service gateway acquires a corresponding target service platform identification (PID) according to a service identification (SID) carried by a received service message or acquires the target service platform identification from the service message; the service gateway determines the corresponding target service gateway according to a mapping relation between the service platform identification configured on the service gateway and a service gateway identification (GWID); according to whether the target service gateway is the service gateway, a target service platform address or a service gateway address which is linked into the target service platform is determined as a next hop message routing address; the service gateway sends a service message according to the next hop routing address.

Description

A kind of service routing method and device thereof and system
Technical field
The present invention relates to the data service technology in the communications field, particularly relate to a kind of service routing method and device thereof and system.
Background technology
At present, the fusion of telecommunications network and the Internet has become a kind of trend, and how operator opens the important topic that telecommunication capability has been operator's research.So-called ability is carried out abstract, and externally provide one to develop and execution environment, developer, by calling various ability, can create the application of various mobile Internet and service.But because the quantity of application platform and ability platform is more, if simply by the interface got through between application platform and ability platform, the maintenance costs that the connection that so in net, equipment is huge causes can to the cost structure enormous pressure of operator.In addition, the ability platform in operator's net and application platform are all likely upgraded at any time, sometimes even there will be the adjustment of device network structure.After ability is open, this adjustment too much impact can not call the business platform of these abilities, and therefore, how realizing shielding the networking structure of business and ability and business route is an important subject under discussion.
Existing operator is also in the trial stage to ability is open, some operator is called by the gateway fulfillment capability based on Parlay, namely the network element of existing network is undertaken alternately by Parlay gateway and application server, thus provides third party's business or integrated service.
Inventor is realizing in process of the present invention, finds that prior art at least exists following shortcoming:
Parlay gateway is single-point framework often, the bottleneck of single-point performance easily occurs, and is not suitable with the actual conditions of the distributed development service of Domestic Carriers.Parlay gateway itself, does not consider that same ability may be the actual conditions jointly provided by multiple platform within the specific limits yet, therefore can not meet the demand of operator.
Visible, existing ability open technique only to minority ability or the less real-time performance of scale open, cannot shield business platform and ability platform carries out networking and business route, single flat-bed format that the open gateway of existing most of ability adopts can not adapt to regulatory requirement.
Summary of the invention
Embodiments provide a kind of service routing method and device thereof and system, in order to shield business platform and ability platform carries out networking and business route.
The service routing method that the embodiment of the present invention provides, comprising:
Service Gateway, according to the service identification carried in the service message received, obtains the target service platform identification corresponding with this service identification, or from described service message, obtain its target service platform identification carried;
The mapping relations that described Service Gateway identifies according to the service platform ID of configuration on it and Service Gateway, determine the target service gateway accessing this target service platform, and whether be described Service Gateway self according to this target service gateway, this target service platform address or the Service Gateway address of accessing described target service platform are defined as down hop Message routing address;
Described Service Gateway sends described service message according to the down hop routing address determined.
The Service Gateway equipment that the embodiment of the present invention provides, comprising:
Receiver module, for receiving service message;
Routing decision module, for the service identification carried in the service message that receives according to described receiver module, obtains the target service platform identification corresponding with this service identification, or from described service message, obtains its target service platform identification carried; And, according to the mapping relations that service platform ID and the Service Gateway of configuration identify, determine the target service gateway device accessing this target service platform, and whether cross be described Service Gateway equipment self according to this target service gateway device, this target service platform address or the Service Gateway address of accessing described target service platform are defined as down hop Message routing address;
Sending module, the down hop Message routing address for determining according to described routing decision module sends the service message that described receiver module receives.
The service routing system that the embodiment of the present invention provides, comprising: HQ-level Service Gateway and region class Service Gateway, and wherein, HQ-level Service Gateway is one or more, when for time multiple, totally interconnected between the plurality of HQ-level Service Gateway; Described region class Service Gateway equipment is one or more, when for time multiple, each region class Service Gateway and HQ-level Service Gateway totally interconnected, and entirely to connect between the region class Service Gateway in each region;
Described HQ-level Service Gateway, be configured with the address of all business platforms that business routing iinformation and this HQ-level Service Gateway access, described routing iinformation comprises the mapping relation information of service identification and business platform, and service platform ID and HQ-level Service Gateway identifies or the mapping relations of the mark of region class Service Gateway; This HQ-level Service Gateway is used for the service identification according to carrying in described business routing iinformation and the service message that receives, the service message received is routed to that this Service Gateway accesses, corresponding with described service identification business platform, or the HQ-level Service Gateway be routed to corresponding to business platform corresponding to described service identification or region class Service Gateway; And, for the service message that receiving area level Service Gateway or other HQ-level Service Gateway routes are come, and according to the target service platform identification carried in this service message, this service message is sent to corresponding business platform;
Described region class Service Gateway, be connected with described HQ-level Service Gateway, be configured with the address of all business platforms that business routing iinformation and this region class Service Gateway access, described routing iinformation comprises the mapping relation information of service identification and business platform, and service platform ID and HQ-level Service Gateway identifies or the mapping relations of the mark of region class Service Gateway; This region class Service Gateway is used for the service identification according to carrying in described business routing iinformation and the service message that receives, the service message received is routed to that this Service Gateway accesses, corresponding with described service identification business platform, or the HQ-level Service Gateway be routed to corresponding to business platform corresponding to described service identification or region class Service Gateway; And, for receiving the service message that HQ-level Service Gateway or other region class Service Gateway routes are come, and according to the target service platform identification carried in this service message, this service message is sent to corresponding business platform.
The above embodiment of the present invention, by arranging service identification in the corresponding relation of the corresponding relation of target service platform identification, service platform ID and Service Gateway, and on Service Gateway, configure the address information of all business platforms that this gateway accesses, thus make the routing function maskable bottom complexity of establishing network of Service Gateway, efficient routing forwarding is provided, there is provided route to dredge function, realize single-point and access the whole network service.Service Gateway in the embodiment of the present invention provides the sensing from calling service promoter to calling service recipient, and all message calls just can be routed to target service platform by two Service Gateways at the most, realize the transmission from transmitting terminal to receiving terminal.
Accompanying drawing explanation
The gateway group-network construction schematic diagram that Fig. 1, Fig. 2 provide for the embodiment of the present invention;
The business data model schematic diagram relevant to business route that Fig. 3 provides for the embodiment of the present invention;
The content schematic diagram of the SID_PID routing table that Fig. 4 provides for the embodiment of the present invention;
The content schematic diagram of the PID_GWID routing table that Fig. 5 provides for the embodiment of the present invention;
Fig. 6 is the schematic diagram being carried out service message route in the embodiment of the present invention by business routing table;
One of Message routing forwarding process schematic diagram of the Service Gateway that Fig. 7 provides for the embodiment of the present invention;
The Message routing forwarding process schematic diagram two of the Service Gateway that Fig. 8 provides for the embodiment of the present invention;
The structural representation of the Service Gateway that Fig. 9 provides for this embodiment of the present invention.
Embodiment
The embodiment of the present invention proposes a kind of Service Gateway group-network construction and service routing method, to realize the opening of provider ability, it can shield business platform and ability platform, make not need to upgrade to gateway when new ability open or new application access, but also the regulatory requirement concentrated and distribute of operator can be adapted to.
In order to adapt to the regulatory requirement concentrated and distribute of operator, the embodiment of the present invention have employed the group-network construction of two levels of traffic gateway, be in the Service Gateway of upper level for managing the business route of the whole network, be in the Service Gateway of next stage for managing the business route of certain region or localized network, interconnected between higher level's Service Gateway and subordinate's Service Gateway, business route can be realized.The networking structure of this two levels of traffic gateway can realize the classification of service management.
Fig. 1 and Fig. 2 shows a kind of Service Gateway networking structure based on typical data service unfolding model and management mode.Wherein, higher level's Service Gateway can be the one-level synthesized gateway (HQ01 as in figure) of general headquarters, for managing the business route of the whole network; Subordinate's Service Gateway can be the synthesized gateway (A01 as figure) being arranged in each department or each province, and for managing a region or economizing in one's duty business route, such as, A synthesized gateway A01 is inside the province for managing A business route inside the province.
Consider load balancing or avoid the flexibility of Single Point of Faliure and networking, the principle of networking can comprise one of following or combination in any:
General headquarters arrange a set of or many covers one-level synthesized gateway, as the one-level synthesized gateway (HQ01, HQ02, HQ03) in figure, and can according to traffic carrying capacity flexible expansion;
Each province or area arrange a set of according to service needed or overlap synthesized gateway more, as, A arranges synthesized gateway (A01, A02, A03) inside the province, and B arranges synthesized gateway B01 inside the province, C arranges synthesized gateway (C01, C02) inside the province, and can according to traffic carrying capacity flexible expansion;
Synthesized gateway (comprising one-level synthesized gateway and each synthesized gateway inside the province) can adopt Peer networking, and Business Stream can jump forward through one in synthesized gateway.
For meeting above-mentioned group net principle, synthesized gateway can adopt " extended star connection " networking structure, namely each one-level synthesized gateway is directly connected respectively with each synthesized gateway inside the province, and the synthesized gateway in each province (or area) is directly connected respectively with other synthesized gateway in this province (or area).
As shown in Figure 2, synthesized gateway at different levels forms different territories, and wherein, the one-level synthesized gateway of general headquarters forms separately a territory, all the other respectively synthesized gateway inside the province form different provincial territories separately, the quantity easily extensible in provincial territory.Can have one or more sets synthesized gateway in each territory, quantity can arbitrary extension.Synthesized gateway in each territory realizes the full connection of equity in territory, and one-level synthesized gateway territory and all the other each provincial synthesized gateway territories of general headquarters realize equity between territory and are entirely connected, and namely one-level synthesized gateway and each provincial synthesized gateway realize totally interconnected.Without directly connecting between provincial synthesized gateway territory.
In order to make Business Stream be properly routed to recipient from transmit leg by Service Gateway, in the Service Gateway in the embodiment of the present invention, need configuration service routing iinformation.Described business routing iinformation can based on routine or the self-defining business data model of operator set up, Fig. 3 shows a kind of typical business data model.
As shown in Figure 3, the basic element that business data model comprises can comprise:
Business (Service): the logical concept representing a business, is available to the set that user carries out logic that is mutual and that use, flow process and function;
Platform (Platform): the physical entity business platform disposing business, a business can be deployed on one or more business platform, and a platform also can dispose multiple business;
Ability (Enabler): the logical concept representing a business function, refer to that business provides, can by other calling services, relatively independent function, a business can provide (or calling) one or more ability.
Further, in order to realize the demand of fine-grained management, the embodiment of the present invention also introduces the concept of subservice.Subservice (SubService) representative depends on a large business and the application expanding out, is supplied to user based on the expansion spy logic of a business, flow process and function set.As: Fetion is made friends can regard the subservice belonging to Fetion as.
Further, in order to the needs that manage and technology of being convenient to realize, the embodiment of the present invention also introduces interfacing concept.The ability calling interface that interface (Interface) ability of representative provides, an ability can provide one or more ability calling interface.Further, can consider from operation management angle, introduce the concept of capability component.Capability component (EnablerComponent) represents the set of interface, can by the set of interfaces of other calling services, and a capability component comprises one or more interface, and an interface also can belong to multiple capability component.
In addition, also comprise operation (Operation) and message two elementary cells in the data model shown in Fig. 3, wherein, operation (Operation) represents a concrete function call, and an interface can provide one or more operation; Message (Message) represents one and operates in content mutual between platform, is usually divided into request message and response message.
According to above-mentioned data model, need in the embodiment of the present invention to encode to each elementary cell in this data model, form a set of coding scheme, be used for the corresponding elementary cell of unique identification.Coding scheme can realize in a conventional manner, also can according to operator need formulate voluntarily.
A kind of coded system that the embodiment of the present invention provides is:
About operation code: SID (i.e. traffic ID) unique identification business can be used.SID needs distinguishing business grade, the business that business is the management of one-level synthesized gateway as distinguished, the business of still synthesized gateway management inside the province.As, SID is made up of some bit digital characters, front X position (X is set point) represents that business-level is encoded, and identifying this business is the general business of the whole network (or claiming basic business) or the business only used inside the province, and all the other numerals can be used as business numbering;
Encode about subservice: SSID (i.e. subservice ID) unique identification subservice can be used.The coding of a subservice is only unique in the scope of a business, e.g., for a subservice, the combination of SID and SSID can be used uniquely to determine certain subservice of a certain business, namely use certain subservice of SID.SSID unique identification;
About plateau coding: each business platform and other service network platforms (comprising synthesized gateway itself) with PID (i.e. platform ID) for unique identification;
About capability code: EID (i.e. ability ID) can be used for mark.The coding of an ability is only unique in the scope of a business.When a description ability, uniquely determine certain professional ability of a certain business with the combination of SID and EID, namely use SID.EID unique identification;
Encode about capability component: ECID (capability component ID) can be used for mark, only unique in the scope of an ability;
Encode about interface: IFName (i.e. interface name) can be used for mark, only unique in the scope of an ability;
About operation/message coding: can by interface supplier unified definition, in the scope of interface effectively.Wherein, operation can use OpName (i.e. action name) for mark, only unique in the scope of an interface.For action name, then according to being request or response, can after action name, increase Req or Resp identify.
It should be noted that, when some professional ability adopts independently professional ability platform construction, when not being attached to certain business of operator, a virtual operation code can be set, make this professional ability and be attached to this virtual operation code, to ensure the uniformity of model.In addition, when two business provide intimate professional ability, different professional abilities can be thought from data.
Also it should be noted that, above-mentioned coded system is only a kind of citing, as long as can the coded system of each elementary cell in unique identification data model, and all should within protection scope of the present invention.
Recipient is properly routed to from transmit leg by Service Gateway in order to make Business Stream, and ensure the routing function shielding bottom networking of Service Gateway, dredge to provide the forwarding of efficient message and route, accomplish that professional ability platform or service application platform single-point access the whole network service, configuration service routing iinformation is needed, using the guarantee as above-mentioned business route need in Service Gateway in the embodiment of the present invention.
In the embodiment of the present invention, business routing iinformation in Service Gateway can comprise service identification (SID) and service platform ID (PID, it can be service application platform, also can be professional ability platform) mapping relations, and service platform ID (PID) identifies the mapping relations of (GWID) with Service Gateway, wherein, the mapping relations of SID and PID can show as SID_PID routing table, and the mapping relations of PID and GWID can show as PID_GWID routing table.
As shown in Figure 4, SID_PID routing table: describe the corresponding relation between business and the business platform disposing corresponding service, wherein can include but not limited to the PID of SID and correspondence; Whether because a business can be deployed on one or more business platform, a business platform also can dispose multiple business, therefore also can comprise a mark (as ISMAPPING) in this table, it is unique corresponding to be used for expression business and business platform.SID in Fig. 4 can be the traffic ID (being expressed as providerSID in figure) of ability supplier or ability caller traffic ID (as in be expressed as callerSID).
As shown in Figure 5, PID_GWID routing table: the corresponding relation of the Service Gateway that description business platform and this business platform access, wherein can include but not limited to the GWID of PID and correspondence.The coding rule of each elementary cell in business model according to aforementioned description, GWID can adopt identical coding rule with PID.
Each Service Gateway is also configured with the relevant information of all business platforms of access separately, as service platform ID PID, the address of business platform is (as URL, wherein URL is the english abbreviation of Uniform Resource Locator, represent URL(uniform resource locator)), and the address of Service Gateway involved in PID_GWID routing table.
As shown in Figure 6, the SID in SID_PID routing table can be used as major key, and the PID in PID_GWID routing table can be used as major key.By SID_PID routing table and PID_GWID routing table, Service Gateway can after receiving service message, according to the SID carried in service message, the PID (DestPID) of the target service platform corresponding with this SID is obtained by inquiry SID_PID routing table, by inquiry PID_GWID routing table, determine the gateway ID (GWID) accessing this target service platform, and when this GWID is the GWID of this Service Gateway self, service message is routed to the business platform of DestPID indication, otherwise service message is routed to the down hop Service Gateway of this GWID indication.
Above-mentioned business routing iinformation can configured in advance in each Service Gateway, also can in new service access to Service Gateway or when deleting the business of access from Service Gateway, by manual mode configuration service routing iinformation in corresponding service gateway, then by this Service Gateway, relevant business routing iinformation is distributed to other Service Gateways.The content of the business routing iinformation issued can comprise: the corresponding relation between SID, PID, GWID.
Usually, type of service can comprise following in a class or a few class:
One class business is the unified business of building and disposing in operator's network-wide basis;
Two class business are the business of application in operator's network-wide basis, but build voluntarily in each regional extent;
Three class business are the business accessed voluntarily in each regional extent, only apply within the scope of respective regions.
For above-mentioned type of service, based on the group-network construction shown in Fig. 1 or Fig. 2, embodiments provide a kind of business routing iinformation published method, be specially:
One class service access is to one-level synthesized gateway, and during the newly-increased or class business of deletion, business routing iinformation (can be the business routing iinformation of change part) is published to other one-level synthesized gateway and all provincial synthesized gateway by one-level synthesized gateway;
Two class service accesses are to provincial synthesized gateway, and during the newly-increased or two class business of deletion, business routing iinformation (can be the business routing iinformation of change part) is published to all one-level synthesized gateway and other synthesized gateway of this province by provincial synthesized gateway;
Three class service accesses are to provincial synthesized gateway, during newly-increased the or three class business of deletion, business routing iinformation (can be the business routing iinformation of change part) is published to other synthesized gateway of this province by provincial synthesized gateway, if the service needed of access calls a class professional ability, then need business routing iinformation to be published to one-level synthesized gateway.
Object synthesized gateway can be handled as follows after receiving the business routing iinformation of synchronously coming:
If Added Business routing iinformation, then judge whether the corresponding relation of SID and the PID of this Added Business exists, if exist, then show that the business of this new access may be original business (thus the corresponding relation of SID and the PID of this business exists), just be deployed on new business platform, for this situation, object synthesized gateway can increase this SID and the corresponding relation of the PID of the business platform be newly deployed in SID_PID table, also can use the corresponding multiple business platform of this business of ISMAPPING field identification; If the corresponding relation of SID and the PID of this Added Business does not exist, then show that the business of this new access is new business, then object synthesized gateway preserves the SID of this Added Business and the corresponding relation of the PID of the business platform of this business of deployment, further, if the business platform disposing this business does not exist, then also need Added Business platform information (as business platform address), and generate the PID of this business platform and the routing iinformation of corresponding GWID;
If delete business routing iinformation, then judge that whether business platform belonging to this deleted business is also to having business, if do not had, then deletes this business platform information and this business platform routing iinformation.
According to the issue mechanism of above-mentioned business routing iinformation, synthesized gateway automatically can generate and safeguard SID_DPID and DPID_GWID routing table.
According to the business routing iinformation configured in above Service Gateway, the Message routing forwarding process of Service Gateway mainly comprises: Service Gateway receives service message, business routing iinformation according to the SID carried in this service message and this Service Gateway determines the PID corresponding with this SID, determines corresponding GWID according to this PID; If this GWID is the mark of this Service Gateway self, then this service message is sent to the business platform that the PID that determines is corresponding; Otherwise, this service message is sent to the Service Gateway that the GWID that determines is corresponding.
Below in conjunction with the business routing table SID_PID in above-mentioned Service Gateway and PID_GWID, for Fig. 7 and Fig. 8, the Message routing forwarding process of the Service Gateway that the embodiment of the present invention provides is described in more detail.
As shown in Figure 7, in the embodiment of the present invention, the Message routing forwarding process of Service Gateway can comprise:
Step 701, Service Gateway receive service message, carry SID in this service message.
Step 702, Service Gateway inquire about the business routing table SID_PID of this Service Gateway according to the SID carried in this service message, and inquire about the PID corresponding with this SID, this PID is target service platform identification, is expressed as DestPID.
Step 703, Service Gateway, according to the business routing table PID_GWID of the DestPID inquired and this Service Gateway, inquire about the GWID corresponding with this DestPID.
Step 704, Service Gateway judge that whether the GWID that inquires is the GWID of this Service Gateway self, if so, then perform step 705; Otherwise perform step 706.
In this step, if this GWID is the GWID of this Service Gateway self, then show that the business platform of DestPID indication has been linked into this Service Gateway, therefore the business platform of this DestPID indication is the recipient of service message; If this GWID is not the GWID of this Service Gateway self, then show that the business platform of this DestPID indication is not linked into this Service Gateway, then also need Service Gateway service message being routed to down hop to carry out route processing.
Step 705, Service Gateway inquire about URL corresponding to this DestPID, and the URL assembling that line interface of going forward side by side calls, enters step 707 afterwards.
Step 706, Service Gateway inquire about URL corresponding to this GWID, enter step 707 afterwards.
Step 707, Service Gateway carry out service message forwarding according to the URL inquired, this URL is sent to by service message, thus service message is forwarded to the local business platform accessed by the business realized for this locality access, service message is forwarded to down hop Service Gateway and carries out route processing by the business for non-local access.
If carry DestPID in the service message that Service Gateway receives (to be usually carried in message header, can be filled in by the initiator of service message), step 702 then in above-mentioned flow process can be omitted, namely Service Gateway directly according to the PID_GWID routing table of this DestPID with this Service Gateway, can inquire about the GWID corresponding with this DestPID.
If do not carry DestPID in the service message that Service Gateway receives, then Service Gateway is after inquiring DestPID according to flow process shown in Fig. 7, can also further this DestPID be filled up in this service message, preferably be filled up in the message header of this service message, so that when this service message is routed to the Service Gateway of down hop, this service message can be routed to corresponding business platform according to this DestPID by the Service Gateway of this down hop.
Service message described in above-mentioned flow process can be business request information, or service announcements message etc.Usually, include relevant SID in the message header of service message, e.g., ability supplier service identification (can providerSID be expressed as), ability caller service identification (can callerSID be expressed as).Also can comprise ability method of calling information (callingType) in the message header of service message, e.g., callingType length is 2 bytes, and " 01 " represents request method, and " 02 " represents advice method.
Service Gateway is after receiving service message, first the type of this service message can be judged according to the callingType in message header, if this message is request message, then Service Gateway inquires about SID_PID routing table according to providerSID, thus determines corresponding DestPID; If this message is notification message, then Service Gateway inquires about SID_PID routing table according to callerSID, thus determines corresponding DestPID.
Consider that a business can be deployed on one or more business platform, namely the SID in the SID_PID routing table configured in Service Gateway may correspond to multiple PID, then Service Gateway uniquely can not determine PID according to SID_PID routing table, for this situation, embodiments provide a kind of settling mode.
As shown in Figure 8, when Service Gateway receives service message, wherein carry SID (step 801), and when inquiring about SID_PID routing table according to the SID carried in this service message, find that the PID corresponding with this SID is not unique, as the ISMAPPING mark in this SID and PID mapping relations record in SID_PID routing table shows that SID is to there being multiple PID, or this SID is corresponding multiple PID (step 802), thus corresponding DestPID unique with this SID cannot be determined, in this case, Service Gateway performs following operation:
Step 803, Service Gateway obtain the business routing iinformation wherein carried from the service message received, and this business routing iinformation can be expressed as destRouting, is usually carried in message header.
The personalizing parameters that route needs use is included in this destRouting, as according to contents construction, according to memory location route, according to Subscriber Number route etc., by service message, initiator fills in as required, for carrying out expansion routing inquiry to routing inquiry system/module.
Step 804, Service Gateway according to the destRouting query routing inquiry system (or routing inquiring module) got, thus obtain the destPID corresponding with this SID.
In this step, if this service message is request message, then Service Gateway according to providerSID and destRouting query routing inquiry system (or routing inquiring module) to obtain the DestPID corresponding with this providerSID; If this service message is notification message, then Service Gateway according to callerSID and destRouting query routing inquiry system (or routing inquiring module) to obtain the DestPID corresponding with this callerSID.
After Service Gateway gets destPID, thereafter handling process is similar to Fig. 7, comprise and determine according to PID_GWID routing table the GWID (step 805) that this destPID is corresponding, and judge that whether this GWID is the GWID (step 806) of this Service Gateway self, and carry out corresponding service message forward processing (step 807, step 808, step 809) according to judged result.
In flow process shown in Fig. 8, if when Service Gateway can not find target service platform according to route data, Service Gateway can misregistration daily record, and can return to the initiator of service message or the caller of business further by response message.
Service Gateway in above flow process can be the one-level synthesized gateway of general headquarters, also can be synthesized gateway inside the province.All message calls just can be routed to target service platform by two Service Gateways at the most, realize the transmission from transmitting terminal to receiving terminal.Such as, according to a class business of aforementioned description, the deployment scenario of two class business:
After the one-level synthesized gateway of general headquarters receives the service message relating to a class business, can judge that the business platform that this business is deployed to is the business platform that this Service Gateway accesses according to the business routing iinformation of configuration on it, then service message is routed to the business platform that this business is disposed, otherwise need service message to be routed to the one-level synthesized gateway that the business platform that is deployed with this business accesses, by this one-level synthesized gateway, service message is routed to its corresponding business platform accessed; After the one-level synthesized gateway of general headquarters receives the service message relating to two class business, can judge that the business platform that this business is disposed is not the business platform that this one-level synthesized gateway accesses according to the business routing iinformation of configuration on it, therefore this service message is routed to province's synthesized gateway of this business platform of access, by this province's synthesized gateway, service message is routed to its corresponding service platform accessed.In like manner, economize synthesized gateway for the service message received, also by two Service Gateways, service message can be routed to target service platform at the most.
By describing above and can finding out, Service Gateway in the embodiment of the present invention provides the sensing from calling service promoter to calling service recipient, all message calls just can be routed to target service platform by two Service Gateways at the most, realize the transmission from transmitting terminal to receiving terminal.Wherein, when request or when notifying that promoter and recipient belong to same Service Gateway, message can be forwarded to message recipient by Service Gateway; When request or when notifying that promoter is different from the Service Gateway that recipient belongs to, message can be forwarded to the Service Gateway of message recipient ownership by Service Gateway, and the Service Gateway belonged to by message recipient is forwarded to message recipient platform.The routing function maskable bottom complexity of establishing network of the Service Gateway in the embodiment of the present invention, provides efficient routing forwarding, provides route to dredge function, realize single-point and access the whole network service.
Based on identical technical conceive, the embodiment of the present invention additionally provides a kind of structure of Service Gateway and the group-network construction of service routing system.
As shown in Figure 9, be the structural representation of the Service Gateway that the embodiment of the present invention provides, this Service Gateway can comprise: receiver module 901, routing decision module 902, sending module 903, wherein:
Receiver module 901, for receiving service message;
Routing decision module 902, for the service identification carried in the service message that receives according to receiver module 901, obtains the target service platform identification corresponding with this service identification, or from service message, obtains its target service platform identification carried; Then, according to the mapping relations that service platform ID and the Service Gateway of configuration identify, determine the target service gateway device accessing this target service platform, and whether be described Service Gateway equipment self according to this target service gateway device, this target service platform address or the Service Gateway address of accessing described target service platform are defined as down hop Message routing address; Concrete, if this target service gateway device is described Service Gateway equipment self, the address of this target service platform of address acquisition of all business platforms then accessed according to this Service Gateway equipment of configuration, and using the target service platform address that gets as down hop routing address; Otherwise, using the address of the Service Gateway equipment of the target service gateway identification indication corresponding with this target service platform identification as down hop routing address.Wherein, when described service message is request message, this module can obtain the service platform ID corresponding with the ability supplier service identification carried in this request message; When described service message is notification message, this module can obtain the service platform ID corresponding with the ability caller service identification carried in this notification message;
Sending module 903, the service message that the down hop Message routing address sending/receiving module 901 for determining according to routing decision module 902 receives.
In above-mentioned Service Gateway equipment, routing decision module 902 obtain target service platform identification time, the service identification that can configure from it with find out the target service platform identification corresponding with described service identification in the mapping relations of service platform ID; The service identification that also can configure from it with search the target service platform identification corresponding with described service identification in the mapping relations of service platform ID, and when these mapping relations show that described service identification is to when should have multiple target service platform identification, goes out target service platform identification according to the routing iinformation carried in described service message from routing inquiry system queries.
In above-mentioned Service Gateway equipment, the target service platform identification got, after getting the target service platform identification corresponding with described service identification, also can add in described service message by routing decision module 902.
In above-mentioned Service Gateway equipment, receiver module 901 also can receive upper hop Service Gateway equipment send carry target service platform identification; Accordingly, the address of all business platforms that routing decision module 902 accesses according to this Service Gateway equipment of configuration, obtain the address corresponding with the target service platform identification carried in the service message received, and using the address that gets as down hop routing address.
Above-mentioned Service Gateway equipment also can comprise routing iinformation memory module 904 and routing iinformation release module 905.
When above-mentioned Service Gateway equipment is HQ-level Service Gateway equipment (the headquarters level synthesized gateway as in Fig. 1 or Fig. 2):
Routing iinformation memory module 904, for storage service routing iinformation, described business routing iinformation comprises: the access of a class business of HQ-level Service Gateway equipment access, two class business of region class Service Gateway equipment access, region class gateway device need the service identification of the three class business calling a class professional ability and the corresponding service platform ID being deployed with corresponding service, and accessed the mark of Service Gateway equipment of the business platform corresponding to this service platform ID; The definition of a described class business, two class business and three class business as previously mentioned;
Routing iinformation release module 905, for when the access of change one class business, is published to other HQ-level Service Gateway equipment and all region class Service Gateway equipment by the business routing iinformation of change.
When above-mentioned Service Gateway equipment is region class Service Gateway equipment:
Routing iinformation memory module 904, for storage service routing iinformation, described business routing iinformation comprises: the service identification of three class business of a class business of HQ-level Service Gateway equipment access, two class business of this region class Service Gateway equipment access, this region class gateway device access be deployed with the service platform ID of corresponding service, and accessed the mark of Service Gateway equipment of the business platform corresponding to this service platform ID;
Routing iinformation release module 905, for when the access of change two class business, is published to other region class Service Gateway equipment of all HQ-level Service Gateway equipment and one's respective area by the business routing iinformation of change; Or, when the access of change three class business, the business routing iinformation of change is published to other region class Service Gateway equipment of one's respective area, and when the three class service needed accessed call a class professional ability, the business routing iinformation of change is published to HQ-level Service Gateway equipment.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
The invention described above sequence number, just to describing, does not represent the quality of embodiment.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (16)

1. a service routing method, is characterized in that, comprises the following steps:
Service Gateway, according to the service identification carried in the service message received, obtains the target service platform identification corresponding with this service identification, or from described service message, obtain its target service platform identification carried;
The mapping relations that described Service Gateway identifies according to the service platform ID of configuration on it and Service Gateway, determine the target service gateway accessing this target service platform, and whether be described Service Gateway self according to this target service gateway, this target service platform address or the Service Gateway address of accessing described target service platform are defined as down hop Message routing address;
Described Service Gateway sends described service message according to the down hop routing address determined.
2. the method for claim 1, is characterized in that, whether described Service Gateway is described Service Gateway self according to described target service gateway, determines down hop Message routing address, comprising:
If described target service gateway is described Service Gateway self, then according to the address of this target service platform of address acquisition of its all business platforms accessed of configuration on it, and using the target service platform address that gets as down hop routing address;
If described target service gateway is not described Service Gateway self, then using the address of the Service Gateway of the target service gateway identification indication corresponding with this target service platform identification as down hop routing address.
3. the method for claim 1, is characterized in that, described Service Gateway obtains the target service platform identification corresponding with this service identification according to the service identification carried in described service message, is specially:
The service identification that described Service Gateway configures from it with find out the target service platform identification corresponding with described service identification in the mapping relations of service platform ID;
Or described Service Gateway obtains the target service platform identification corresponding with this service identification according to the service identification carried in described service message, is specially:
The service identification that described Service Gateway configures from it with search the target service platform identification corresponding with described service identification in the mapping relations of service platform ID, and when these mapping relations show that described service identification is to when should have multiple target service platform identification, goes out target service platform identification according to the routing iinformation carried in described service message from routing inquiry system queries.
4. the method for claim 1, is characterized in that, described Service Gateway also comprises after getting the target service platform identification corresponding with described service identification: added in described service message by the target service platform identification got.
5. the method as described in claim 1 or 4, is characterized in that, described down hop routing address is Service Gateway address, and described Service Gateway also comprises after described service message is sent to the Service Gateway of down hop routing address indication:
The address of all business platforms that this down hop Service Gateway accesses according to this Service Gateway of configuration on it, obtain the address corresponding with the target service platform identification carried in the service message received, and according to the address got, the service message received is sent to corresponding business platform.
6. the method for claim 1, it is characterized in that, the region class Service Gateway that described Service Gateway is HQ-level Service Gateway or interconnects with this HQ-level Service Gateway, wherein, the business routing iinformation that HQ-level Service Gateway configures comprises: a class business of HQ-level Service Gateway access, two class business of region class Service Gateway access, region gateway accessing need the service identification of the three class business calling a class professional ability and the corresponding service platform ID being deployed with corresponding service, and accessed the mark of Service Gateway of the business platform corresponding to this service platform ID, be configured with in region class Service Gateway a class business of HQ-level Service Gateway access, two class business of this region class Service Gateway access, three class business of this region gateway accessing service identification be deployed with the service platform ID of corresponding service, and accessed the mark of Service Gateway of the business platform corresponding to this service platform ID, a described class business is the unified business of building and disposing in operator's network-wide basis, described two class business are apply but the business can built voluntarily in each regional extent in operator's network-wide basis, and described three class business are access voluntarily and the business only applied within the scope of respective regions in respective regional extent,
When changing the access of a class business, also comprise: the business routing iinformation of change is published to other HQ-level Service Gateways and all region class Service Gateways by HQ-level Service Gateway;
When changing the access of two class business, also comprise: the business routing iinformation of change is published to other region class Service Gateways of all HQ-level Service Gateways and one's respective area by region class Service Gateway;
When changing the access of three class business, also comprise: the business routing iinformation of change is published to other region class Service Gateways of one's respective area by region class Service Gateway, and when the three class service needed accessed call a class professional ability, the business routing iinformation of change is published to HQ-level Service Gateway.
7. the method as described in claim 1-4,6 any one, it is characterized in that, when described service message is request message, the target service platform identification that described Service Gateway gets is the service platform ID corresponding with the ability supplier service identification carried in this request message;
When described service message is notification message, the target service platform identification that described Service Gateway gets is the service platform ID corresponding with the ability caller service identification carried in this notification message.
8. a Service Gateway equipment, is characterized in that, comprising:
Receiver module, for receiving service message;
Routing decision module, for the service identification carried in the service message that receives according to described receiver module, obtains the target service platform identification corresponding with this service identification, or from described service message, obtains its target service platform identification carried; And, according to the mapping relations that service platform ID and the Service Gateway of configuration identify, determine the target service gateway device accessing this target service platform, and whether be described Service Gateway equipment self according to this target service gateway device, this target service platform address or the Service Gateway address of accessing described target service platform are defined as down hop Message routing address;
Sending module, the down hop Message routing address for determining according to described routing decision module sends the service message that described receiver module receives.
9. Service Gateway equipment as claimed in claim 8, it is characterized in that, described routing decision module specifically for, when described target service gateway device is described Service Gateway equipment self, according to the address of this target service platform of address acquisition of all business platforms that this Service Gateway equipment of configuration accesses, and using the target service platform address that gets as down hop routing address; Or, when described target service gateway device is described Service Gateway equipment self, using the address of the Service Gateway equipment of the target service gateway identification indication corresponding with this target service platform identification as down hop routing address.
10. Service Gateway equipment as claimed in claim 8, it is characterized in that, described routing decision module specifically for: the service identification configured from it with find out the target service platform identification corresponding with described service identification in the mapping relations of service platform ID; Or, the service identification configured from it with search the target service platform identification corresponding with described service identification in the mapping relations of service platform ID, and when these mapping relations show that described service identification is to when should have multiple target service platform identification, goes out target service platform identification according to the routing iinformation carried in described service message from routing inquiry system queries.
11. Service Gateway equipment as claimed in claim 8, it is characterized in that, described routing decision module also for: after getting the target service platform identification corresponding with described service identification, the target service platform identification got is added in described service message.
12. Service Gateway equipment as claimed in claim 8, is characterized in that, described receiver module also for: what receive that upper hop Service Gateway equipment sends carries target service platform identification;
Described routing decision module is also for the address of all business platforms accessed according to this Service Gateway equipment of configuration, obtain the address corresponding with the target service platform identification carried in the service message received, and using the address that gets as down hop routing address.
13. Service Gateway equipment as claimed in claim 8, it is characterized in that, described Service Gateway equipment is HQ-level Service Gateway equipment, described HQ-level Service Gateway equipment also comprises:
Routing iinformation memory module, for storage service routing iinformation, described business routing iinformation comprises: a class business of HQ-level Service Gateway equipment access, two class business of region class Service Gateway equipment access, region class Service Gateway equipment access need the service identification of the three class business calling a class professional ability and the corresponding service platform ID being deployed with corresponding service, and accessed the mark of Service Gateway equipment of the business platform corresponding to this service platform ID; A described class business is the unified business of building and disposing in operator's network-wide basis, described two class business are apply but the business can built voluntarily in each regional extent in operator's network-wide basis, and described three class business are access voluntarily and the business only applied within the scope of respective regions in respective regional extent;
Routing iinformation release module, for when the access of change one class business, is published to other HQ-level Service Gateway equipment and all region class Service Gateway equipment by the business routing iinformation of change.
14. Service Gateway equipment as claimed in claim 8, it is characterized in that, described Service Gateway equipment is region class Service Gateway equipment, described region class Service Gateway equipment also comprises:
Routing iinformation memory module, for storage service routing iinformation, described business routing iinformation comprises: the service identification of three class business of a class business of HQ-level Service Gateway equipment access, two class business of this region class Service Gateway equipment access, this region class Service Gateway equipment access and the service platform ID being deployed with corresponding service, and has accessed the mark of Service Gateway equipment of the business platform corresponding to this service platform ID; A described class business is the business of application in operator's network-wide basis, described two class business are the business applied in operator's network-wide basis but can access from Row sum-equal matrix in each regional extent, and described three class business are access voluntarily and the business only applied within the scope of respective regions in respective regional extent;
Routing iinformation release module, for when the access of change two class business, is published to other region class Service Gateway equipment of all HQ-level Service Gateway equipment and one's respective area by the business routing iinformation of change; Or, when the access of change three class business, the business routing iinformation of change is published to other region class Service Gateway equipment of one's respective area, and when the three class service needed accessed call a class professional ability, the business routing iinformation of change is published to HQ-level Service Gateway equipment.
15. Service Gateway equipment as described in any one of claim 8-14, it is characterized in that, described routing decision module specifically for: when described service message is request message, obtain the service platform ID corresponding with the ability supplier service identification carried in this request message; Or, when described service message is notification message, obtain the service platform ID corresponding with the ability caller service identification carried in this notification message.
16. 1 kinds of service routing systems, is characterized in that, comprising: HQ-level Service Gateway and region class Service Gateway, and wherein, HQ-level Service Gateway is one or more, when for time multiple, totally interconnected between the plurality of HQ-level Service Gateway; Described region class Service Gateway equipment is one or more, when for time multiple, each region class Service Gateway and HQ-level Service Gateway totally interconnected, and entirely to connect between the region class Service Gateway in each region;
Described HQ-level Service Gateway, be configured with the address of all business platforms that business routing iinformation and this HQ-level Service Gateway access, described routing iinformation comprises the mapping relation information of service identification and business platform, and service platform ID and HQ-level Service Gateway identifies or the mapping relations of the mark of region class Service Gateway; This HQ-level Service Gateway is used for the service identification according to carrying in described business routing iinformation and the service message that receives, the service message received is routed to that this Service Gateway accesses, corresponding with described service identification business platform, or the HQ-level Service Gateway be routed to corresponding to business platform corresponding to described service identification or region class Service Gateway; And, for the service message that receiving area level Service Gateway or other HQ-level Service Gateway routes are come, and according to the target service platform identification carried in this service message, this service message is sent to corresponding business platform;
Described region class Service Gateway, be connected with described HQ-level Service Gateway, be configured with the address of all business platforms that business routing iinformation and this region class Service Gateway access, described routing iinformation comprises the mapping relation information of service identification and business platform, and service platform ID and HQ-level Service Gateway identifies or the mapping relations of the mark of region class Service Gateway; This region class Service Gateway is used for the service identification according to carrying in described business routing iinformation and the service message that receives, the service message received is routed to that this Service Gateway accesses, corresponding with described service identification business platform, or the HQ-level Service Gateway be routed to corresponding to business platform corresponding to described service identification or region class Service Gateway; And, for receiving the service message that HQ-level Service Gateway or other region class Service Gateway routes are come, and according to the target service platform identification carried in this service message, this service message is sent to corresponding business platform.
CN201010137671.4A 2010-03-30 2010-03-30 Service routing method, apparatus and system thereof Active CN102209020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010137671.4A CN102209020B (en) 2010-03-30 2010-03-30 Service routing method, apparatus and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010137671.4A CN102209020B (en) 2010-03-30 2010-03-30 Service routing method, apparatus and system thereof

Publications (2)

Publication Number Publication Date
CN102209020A CN102209020A (en) 2011-10-05
CN102209020B true CN102209020B (en) 2015-04-22

Family

ID=44697690

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010137671.4A Active CN102209020B (en) 2010-03-30 2010-03-30 Service routing method, apparatus and system thereof

Country Status (1)

Country Link
CN (1) CN102209020B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104488237B (en) 2013-03-15 2017-08-04 华为技术有限公司 A kind of method of Message processing, message equipment and system
CN104158736B (en) 2013-05-15 2017-12-22 华为技术有限公司 A kind of method and apparatus for determining next-hop, issuing routing iinformation
CN103701952A (en) * 2013-12-27 2014-04-02 大唐移动通信设备有限公司 Downlink transmission method of business data and grouped data gateway
CN104767684B (en) * 2014-01-03 2018-12-11 腾讯科技(深圳)有限公司 Data transmission method and relevant apparatus and communication system
CN106936649A (en) * 2015-12-29 2017-07-07 中国电信股份有限公司 Business monitoring method, system and system module and watch-dog
CN107426164A (en) * 2017-05-11 2017-12-01 杭州迪普科技股份有限公司 A kind of user authen method and device
CN112532513A (en) * 2019-09-19 2021-03-19 上海淘票儿信息科技有限公司 Gateway and service data processing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031109A (en) * 2007-04-06 2007-09-05 中兴通讯股份有限公司 Method and system for interconnecting SMS value-added service
CN101442706A (en) * 2008-12-29 2009-05-27 中国移动通信集团北京有限公司 Method, system and apparatus for implementing value added professional ability intercommunication

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031109A (en) * 2007-04-06 2007-09-05 中兴通讯股份有限公司 Method and system for interconnecting SMS value-added service
CN101442706A (en) * 2008-12-29 2009-05-27 中国移动通信集团北京有限公司 Method, system and apparatus for implementing value added professional ability intercommunication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中国移动通信集团公司.中国移动VGOP-综合网关系统总体技术要求.《中国移动通信企业标准 QB-D-112-2009》.2009,2-37. *

Also Published As

Publication number Publication date
CN102209020A (en) 2011-10-05

Similar Documents

Publication Publication Date Title
CN102209020B (en) Service routing method, apparatus and system thereof
CN1124051C (en) Telecommunications network with relocateability of subscriber number
CN101282503B (en) Method for implementing carrying number as well as method for processing short message of number-carried user
CN103262503B (en) Node selecting method and equipment in packet core network
CN101420762B (en) Access gateway selection method, system and gateway selection execution node
CN102469440B (en) Method, system and device for user data migration
CN105409321A (en) International converged mobile services
CN101540969A (en) Method for realizing number carried in short message system and device thereof
CN103281115A (en) Communication system and method applied to satellite communication network
US20060098628A1 (en) Methods and apparatus for controlling signaling gateways
US9398434B2 (en) Method and system for zone analysis in a charging system
WO2000051331A1 (en) Automatic conversion of telephone number to internet protocol address
CN104349372A (en) Method and system for calling positioning capability and position service gateway
CN105208598A (en) Network access method and apparatus
CN102647334B (en) A kind of data routing method and device
CN102006233B (en) route selection method and device
CN102404294A (en) Method and system for achieving content distribution network (CDN) interconnection
CN1142686C (en) Method and arragement for improving service of intelligent telephone network in wireless environment
CN101431668A (en) Infinite cascade video monitoring system with reticular structure
CN1870764B (en) Method and system for load sharing of signalling point
CN1283370A (en) Method for and system for delivering calls to plural service provider domains
CN102271070A (en) Method and system for transmitting service data based on personal network
CN100561986C (en) The dynamic routing method of the service call of multistage service bus under the SOA framework
CN104935461B (en) Method for managing network resource and system in multi-network environment
KR100840710B1 (en) International Roaming service system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant