CN101094224B - Method and system of providing services, access services, logging in and out services - Google Patents

Method and system of providing services, access services, logging in and out services Download PDF

Info

Publication number
CN101094224B
CN101094224B CN200610100948XA CN200610100948A CN101094224B CN 101094224 B CN101094224 B CN 101094224B CN 200610100948X A CN200610100948X A CN 200610100948XA CN 200610100948 A CN200610100948 A CN 200610100948A CN 101094224 B CN101094224 B CN 101094224B
Authority
CN
China
Prior art keywords
service
physical address
request
sign
client
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
CN200610100948XA
Other languages
Chinese (zh)
Other versions
CN101094224A (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.)
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 CN200610100948XA priority Critical patent/CN101094224B/en
Publication of CN101094224A publication Critical patent/CN101094224A/en
Application granted granted Critical
Publication of CN101094224B publication Critical patent/CN101094224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The method for providing service comprises: server sends a registration request carrying the public service ID, physical address and communication service ID; the service registration apparatus gets said public service ID, physical address and communication service ID, and according to their correlated relation, makes mapping and saving; the client side sends a service request to the service registration apparatus; according to the public service ID in the service request, the service registration apparatus confirms the communication service ID and gets the physical address corresponding to said communication service ID, and based on the physical address, routes the service request sent from client side to the relevant server; according to the service request, the sever provides service to the client side.

Description

Provide, visit and nullify service method and the system of service is provided
Technical field
The present invention relates to the communications field, relating in particular to provides service, access services, registration and cancellation service method and system, client, server and service registry device.
Background technology
Along with developing rapidly of service, not only type service is more and more, and also demonstrates multiple communication mode with a kind of service.In 3GPP " Identification of Communication Services in IMS " [3GPP TR 23.816], mention; The identifier of unique identification public service (PSI:Public Service Identifiers) has characterized a service, and the communication mode that this service can provide is represented by communication service communication service (CS).
In existing SIP (Session Initiation Protocol) agreement, adopt following method for the registration of service.An if weather forecast service (service weather by name); It to register device (if register to China Mobile; And the register device of China Mobile is cmcc.com) registration, then should service need to send a registration (REGISTER) message, comprise following information at least:
REGISTER?sip:cmcc.com
Figure GSB00000612294200011
Figure GSB00000612294200012
The service registry device is after receiving register requirement, and it is right that the physical address of stores service
Figure GSB00000612294200013
Figure GSB00000612294200014
forms public service identity
Figure GSB00000612294200015
physical address
Figure GSB00000612294200016
information.
Yet, the physical address that service registry only can registration service in the existing Session Initiation Protocol, and can not the registration service communication mode.For example certain weather forecast service, it both can provide the text multimedia message, also the flash multimedia message can be provided.For this dual mode; Can not judge its difference from the Media Stream aspect; Need be that the service of text multimedia message provides a public service identity to communication mode this moment just; To communication mode is that the service of flash multimedia message provides another public service identity, causes service public identifier numerous numerous and diverse and the service of registering through this kind mode altogether like this, and client can not well be selected the proper service presentation mode.
Summary of the invention
The present invention be intended to in the above-mentioned prior art for having the problem that numerous and diverse deficiency in address of service that multiple communication mode service registry causes and client can not well be selected the proper service presentation mode as required, a kind of service, access services, registration and cancellation service method and system and client, server, service registry device of providing is provided.
A kind of service method that provides provided by the invention, this method comprise the steps: that A, server send the service registry request to the service registry device, carry public service identity, physical address and communication service sign in the described request; B, service registry device obtain said public service identity, physical address and communication service sign, and shine upon storage according to three's incidence relation; C, client are sent services request to the service registry device, comprise public service identity in the said services request; D, service registry device are confirmed the communication service sign according to said public service identity; Communication service sign according to said public service identity and said affirmation is obtained corresponding physical address; And the services request that client is sent is routed to corresponding server according to said physical address, server provides service according to said services request to client.
Preferably; The service registry device stores the strategy that service is provided; Confirm among the step D that the communication service sign comprises: carry the communication service sign in D1, the said services request of service registry device inspection client, inquiry and registration information is confirmed registered communication service sign; Or do not carry the communication service sign in the said services request of D2, service registry device inspection client, then confirm that according to strategy the communication service corresponding with said public service identity identifies.
Preferably; Confirm among the step D1 that registered communication service sign comprises: D11, service registry device are inquired about said log-on message; Obtain and carry in the request and communication stored service identifiers, and from the said communication service sign of obtaining, confirm the communication service sign; Perhaps, confirm the communication service sign according to strategy as not getting access to the corresponding communication service identifiers.
Preferably; This method further comprises: E: server sends the service de-registration request to the service registry device; Comprise public service identity and physical address in the described request; The service registry device is confirmed the corresponding communication service identifiers according to public service identity and physical address, and it is deleted from the log-on message of register device.
In addition, the present invention also provides a kind of method of access services, and this method comprises the steps: that A, service registry device receive the services request that client is sent, and comprise public service identity in the said services request; Wherein, said service registry device has been stored public service identity, physical address and communication service sign three's incidence relation; B, service registry device are confirmed the communication service sign according to said public service identity; Communication service sign according to said public service identity and said affirmation is obtained corresponding physical address; And the services request that client is sent is routed to corresponding server according to said physical address, and server provides service according to said services request to client.
Preferably; The service registry device stores the strategy that service is provided; Step B confirms that the communication service sign comprises: carry the communication service sign in B1, the said services request of service registry device inspection client; The log-on message of inquiry service register device obtains and carries in the request and registered communication service sign; Or do not carry the communication service sign in the said services request of B2, service registry device inspection client, confirm the communication service sign according to strategy.
Preferably; Confirm that according to strategy the communication service sign is specially among the said step B1: confirm the communication service sign or communication service signs all in the strategy is returned to client according to strategy by the service registry device, confirm that by client the communication service sign returns to the service registry device by the service registry device.
Preferably, obtain physical address among the step B after, also need judge the corresponding a plurality of communication services signs of the physical address that obtained in the log-on message of register device, and in the request of the access services that client is sent, write determined communication service sign.
Preferably, among the step B server according to said services request to client provide the service be: server according to the communication service in the said services request be designated client provide the service or server be that client provides service according to the physical address in the said services request.
In addition, the present invention also provides a kind of cancellation service method, and this method may further comprise the steps: the service de-registration request that A, service registry device reception server send comprises public service identity and physical address in the described request; Wherein, said service registry device has been stored public service identity, physical address and communication service sign three's incidence relation; B, service registry device are confirmed the corresponding communication service identifiers according to said public service identity and physical address, and said communication service sign is deleted from the log-on message of register device.
Preferably; The deleting communication service identifiers may further comprise the steps among the step B: B11, judge whether comprise communication service sign in the said de-registration request; If any the said communication service sign of deletion from the log-on message of register device, otherwise from the log-on message of register device, delete said public service identity and the corresponding communication service sign of physical address.
Preferably, step B11 further comprises: public service identity, physical address do not have corresponding communication service sign described in the log-on message of B111, judgement register device, and the physical address described in the log-on message of deletion register device.
Preferably, this method also comprises: public service identity does not have physical address corresponding described in the log-on message of B112, judgement register device, and the public service identity described in the deletion log-on message.
In addition, the present invention also provides a kind of system that service is provided, and this system comprises server, service registry device, client; Said client is used to send asking to the service registry device of the access services that comprises public service identity; Wherein, said service registry device has been stored public service identity, physical address and communication service sign three's incidence relation; The communication service sign that needs use is confirmed in the request of the access services that said service registry device is used for sending according to said client; Obtain corresponding physical address according to the communication service of said public service identity and said affirmation sign, and the request of access services is routed to server according to said physical address; The request that said server is used for according to the access services of receiving of being sent by the service registry device is that client provides service.
Can find out that by above scheme beneficial effect of the present invention is following:
(1) the present invention adopt through with communication service sign and public service identity, physical address information to shining upon storage; Make the same service with multiple communication mode only corresponding a public service identity; And can distinguish communication mode; Thereby it is numerous and diverse to have solved in the existing Session Initiation Protocol public service identifier, the wasting of resources and the problem that is not easy to management address.
(2) in addition; The present invention sends the service access request that comprises communication service through client; And through the policy selection of service registry device and the capability negotiation of service registry device and client; The communication service that confirm to need and trigger the server corresponding communication and serve for client provides service, thus the problem that client in the existing Session Initiation Protocol can not independently be selected the communication for service mode according to same public service identity solved.And make the client of different abilities can select the proper service communication mode, make things convenient for client to select ways of services supplied as required.
Description of drawings
1. Fig. 1 is the flow chart of a kind of service providing method in the embodiment of the invention.
2. Fig. 2 is for providing the system schematic of service in the embodiment of the invention.
3. Fig. 3 is the flow chart of registration service in the embodiment of the invention.
4. Fig. 4 is physical address register flow path figure in the embodiment of the invention.
5. Fig. 5 is the flow chart of the service of nullifying in the embodiment of the invention.
6. Fig. 6 is the flow chart of the access services that provides in the embodiment of the invention.
Fig. 7 be among Fig. 6 embodiment access services than detail flowchart.
8. Fig. 8 is the system schematic of access services in the embodiment of the invention.
9. Fig. 9 is the flow chart of registration service in the embodiment of the invention.
10. Figure 10 is the flow chart of the service of nullifying in the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is remake further detailed explanation.
Realize that basic thought of the present invention provides a kind of service method that provides, as shown in Figure 1, this method may further comprise the steps:
Step 101, server send the service registry request to the service registry device, carry public service identity, physical address and communication service sign in the described request.
Step 102, service registry device obtain said public service identity, physical address and communication service sign, and shine upon storage according to three's incidence relation.
Step 103, client are sent services request to the service registry device, comprise public service identity in the said services request.
Step 104, service registry device are confirmed the communication service sign according to said public service identity; Inquire about the log-on message of said register device and obtain corresponding physical address; And the services request that client is sent is routed to corresponding server according to said physical address, and server provides service according to said services request to client.
First embodiment:
As shown in Figure 2, the system that service is provided involved in the present invention comprises client, service registry device, server.
Wherein client is the requesting party of access services, is used to ask access services, and can select the communication mode of service.Client comprises communication service CS (Communication Service) negotiation module and CS request module.Said CS request module is used for the communication mode of generation service when sending service access request, promptly in request, adds CS information (like description of communication service sign or other relevant communication service), replenishes as one that generic services is visited.The CS negotiation module is used for consulting the CS ability with the service registry device, to select appropriate C S, satisfies the demand of client.
Server is promptly served the provider, request trigger corresponding communication service (being ways of services supplied) that its sends according to the service registry device that receives and the request of sending service registry or cancellation to the service registry device.Server comprises the CS trigger module, and the CS information of the service access request that is used for sending according to the service registry device triggers corresponding C S service is provided.It also comprises the CS request module, is used for service registry, log off procedure, adds CS information and generates a CS registration, de-registration request.
The service registry device is used to requests such as registration and cancellation, the address resolution of the service that receives.It is used to receive the service access request of client and amended request is routed to the server triggers corresponding communication and serve the service that provides as the bridge of client and server.The service registry device comprises CS processing module, physical address parsing module and service strategy module.Wherein, the service strategy module is provided with predetermined service strategy, is used to cooperate communication service processing module and physical address parsing module to confirm the physical address of communication service and service.When the service registry device received the access services request, the CS processing module triggered the service strategy module and confirms the communication service sign according to service strategy; The communication service sign that the physical address parsing module is used for confirming according to the communication service processing module is confirmed the physical address of the service of required visit.
In addition, the service registry device also is used for shining upon the relevant information of storage registration service request, like public service information (PS:Public service), physical address information and communication service information.Or the relevant information in the deletion de-registration request.Wherein the log-on message of service registry device is as shown in the table:
Figure GSB00000612294200061
Figure GSB00000612294200071
Wherein, The all corresponding public service identifier of each physical address; Public service identifier can corresponding a plurality of physical addresss; The corresponding public service identifier of communication service sign, physical address information are right, and public service identifier, physical address information are to can corresponding a plurality of communication services signs.
The present invention can use Session Initiation Protocol to realize, the ability of expansion SIP.CS information can be used as the part of sip address, also can be used as a message header of Session Initiation Protocol, also can be placed on the message body interior (for example being placed in service describing agreement (Service Description Protocal is called for short the SDP :) information) of SIP.Example is following:
Or
CSI-Contact:csiexample
Or
Figure GSB00000612294200074
Z:csiexample (this csi just places SDP, and z has just represented csi capable, and z can be the parameter line of existing SDP but increase new implication that perhaps z can be a brand-new parameter line)
Referring to Fig. 3, the flow process of service registry is following:
Step 301: server sends communication service CS (Communication Service) register requirement to the service registry device; Wherein register requirement comprises public service identity (Public Service Identification; Abbreviation PSI), communication service sign (Communication Service Identification; Be called for short CSI) and serve concrete physical address; The information that wherein CS is relevant in the request (like the communication service sign) is added by the CS request module of server, and it can add CS information in common request, show that with this this request is the CS register requirement.
Whether step 302: judging has in the service registry device and said public service identity physical address corresponding.Whether the service registry device is inquired about in log-on message according to the PSI information received and has been existed this PSI and physical address information right.If do not exist, show that physical address has not yet registered, and execution in step 303; Otherwise execution in step 304.
Step 303: start the physical address register flow path, in incidence relation mapping storage said physical address and the PSI information of service registry device according to the PSI in the register requirement and physical address, formation physical address, PSI information are right.
Step 304: storage and PSI, physical address information form PSI, physical address, CSI information tlv triple to corresponding CSI.The service registry device is stored said CSI according to the incidence relation of PSI, physical address and CSI in the service registry request of receiving, forms PSI, physical address, CSI information tlv triple.
For example: weather forecast service weather is to China Mobile's service registry device registration; This service support text SMS mode (sm) and multimedia message mode (mm), wherein sm and mm are CSI, if use Session Initiation Protocol; Suppose that here CSI information is carried on the address, flow process is following.
Weather forecast service weather sends registration (register) message to the service registry device; In log-on message; Destination address " To " header field value is public service identity PSI (sip:weathercmcc.com); " Contact " header field value is the concrete physical address (sip:weather211.6.6.6) of service, and " CSI " parameter value is communication service sign CSI.CS request module through server increases csi field and is used for showing that this is the CS register requirement in " Contact ".Sip message comprises following information at least:
Register?SIP:cmcc.com
To:weather<sip:weathercmcc.com>
Contact:<sip:weather211.6.6.6>;CSI=”sm,mm”
The service registry device is right according to information inquiry PSI (si:weathercmcc.com), physical address (sip:weather211.6.6.6) information received.At first in the PSI information column, search sip:weathercmcc.com, do not exist this information right if do not exist this PSI information then to show; As if there being this PSI information, then in this PSI information physical address corresponding Information, search sip:weather211.6.6.6, if not existing this physical address information then to show does not exist this information right, show that then this information of existence is right if exist.
If it is right with physical address information to can not find out this PSI, then physical address (sip:weather211.6.6.6) is written on PSI (sip:weathercmcc.com) physical address corresponding Information, formation PSI and physical address information is right.If in the PSI information column, there has been sip:weathercmcc.com, then only need in its pairing physical address information column, to increase sip:weather211.6.6.6; If in the PSI Information, there is not sip:weathercmcc.com, then need in the PSI Information, increase a sip:weathercmcc.com newly, then only need then in its pairing physical address information hurdle, to increase sip:weather211.6.6.6
The service registry device is according to the incidence relation of the PSI in the register requirement, physical address and CSI; Write CSI information in PSI, the CSI Information of physical address information to correspondence; Promptly increase the communication for service identifier in the pairing CSI information column of the sip:weather211.6.6.6 under sip:weathercmcc.com; Like sm, mm, to form PSI, physical address, CSI information tlv triple.
After the registration, log-on message contains following content at least.
Figure GSB00000612294200091
Referring to Fig. 4, the physical address register flow path is following:
Step 401: judge whether public service identity is arranged in the service registry device.The service registry device is according to PSI information and the physical address information received, and whether inquiry has existed said public service identity.If do not exist, and execution in step 402 back execution in step 403; Otherwise direct execution in step 403.
Step 402: store described PSI information.
Step 403: judged whether that said PSI and physical address information are right.If any direct execution in step 405 then, otherwise execution in step 405 again after the first execution in step 404.
Step 404: according to the said physical address information of the incidence relation of PSI in the register requirement and physical address mapping storage, form said PSI, physical address information is right.
Step 405: the register flow path that finishes physical address.
The service cancellation method
Referring to Fig. 5, if after certain service can not provide, the PSI, the physical address information that need to serve are deleted in the service registry device; If behind deletion PSI and the physical address, then need and to delete the CSI of correspondence with this PSI, physical address information.The flow process that service is nullified is following:
Step 501: services request is nullified.Server sends de-registration request to the service registry device, and wherein log-off message carries the physical address of service public service identifier PSI and service.If this service is selected as CS and nullifies, then the CS request module by server provides corresponding C S information, promptly in request, adds CSI information.
Step 502: judge whether to nullify into CS.The service registry device is judged and whether is carried CSI information in the de-registration request according to the service de-registration request that receives, if there is not CSI information, is indicated as common cancellation, execution in step 504.Otherwise for CS nullifies, and execution in step 503.
Step 503: the service registry device is deleted the CSI information in said PSI, physical address and the CSI information tlv triple according to de-registration request, and execution in step 506, promptly finishes logout flow path.
Step 504: service nullify device according to PSI, physical address information in the de-registration request to this information in the deletion register device to all CSI information of correspondence.
Step 505: the service registry dress is registered the physical address information of information centering described in the log-on message of adorning to deletion according to the PSI in the said de-registration request, physical address information.Like the only corresponding described physical address of this PSI, then this physical address and PSI information are deleted in the lump.Otherwise only need delete this physical address, and execution in step 506, logout flow path promptly finished.
If service weather nullifies to cmcc.com, wherein uses Session Initiation Protocol, flow process is following.
1. service weather sends de-registration request to the service registry device; Think the CSI (mm) of CSI (mm), PSI (sip:weathercmcc.com), physical address (sip:weather211.6.6.6) tlv triple, then need send the SIP log-out instruction and comprise following content at least.CS request module through server increases the CS field and is used for showing that this is the CS de-registration request in contact.
Register?SIP:cmcc.com
To:weather<sip:weathercmcc.com>
Contact:<sip:weather211.6.6.6>;CSI=”mm”
Expires:0
2. the service registry device judges that according to the csi field in the message this time nullifying is that CS nullifies.
3. the service registry device will be deleted the mm in mm, PSI (sip:weathercmcc.com), physical address field (sip:weather211.6.6.6) triplet information.
After the cancellation, the log-on message of register device is following:
Figure GSB00000612294200111
If service weather wants to nullify its certain physical address, then flow process is following.
1. service weather sends de-registration request to the service registry device, wants to nullify PSI (sip:weathercmcc.com) physical address corresponding (sip:weather211.6.6.6), then need send the SIP log-out instruction and comprise following content at least.
Register?SIP:cmcc.com
To:APP<sip:weathercmcc.com>
Contact:<sip:weather211.6.6.6>
Expires:0
2. the service registry device does not judge it this time is common cancellation according to not carrying csi field in the message.
3. the service registry device is right according to PSI (sip:weathercmcc.com), physical address (sip:weather211.6.6.6) information, the deletion with this information to corresponding CSI information.
4. the service registry device is according to PSI (sip:weathercmcc.com) and physical address (sip:weather211.6.6.6) information, at this physical address information.If PSI (sip:weathercmcc.com) only to should physical address (sip:weather211.6.6.6), then deletes this physical address and PSI information in the lump, otherwise only deletes this physical address.
The method of access services
Service through registration after, in client-access when service,, the service registry device is resolved PSI, and the CSI in the request is handled and selects to confirm that appropriate C S provides service.The basic thought of client-access service is as shown in Figure 6, carries out following steps: step 601, client are sent services request to the service registry device, comprise public service identity in the said services request;
Step 602, service registry device are confirmed the communication service sign according to said public service identity; The log-on message of inquiry and registration device obtains corresponding physical address; And the services request that client is sent is routed to corresponding server according to said physical address, server provides service according to said services request to client.
Wherein, the idiographic flow of client-access service is referring to Fig. 7:
Step 701: client is used the PSI access services, and sends the service access request of carrying PSI to the service registry device.If client is selected certain CS access services, then in request, add CS information (comprising CSI at least) by the CS processing module, send the request of the access services that comprises PSI and CSI then to the service registry device by client.Certainly, client also can not specified any CS, and only uses the PSI access services.
Step 702: whether carry CSI information in the service access request that the CS processing module inspection client of service registry device is sent.If have, execution in step 703, otherwise execution in step 706;
Step 703:CS processing module is according to the log-on message in the PSI inquiry service register device in the access services request, obtain stored and request in the CS information of also carrying, and execution in step 704; If do not get access to corresponding C S information, then execution in step 705;
Step 704:CS processing module provides service and execution in step 706 according to accessed CS Information Selection appropriate C S.Two kinds of selection modes are wherein arranged here:
A: selected by the service registry device: the strategy that the CS processing module provides according to the service strategy module, said strategy select an appropriate C S that service is provided for writing the CS processing module in advance.
B: consult to select by client.At this moment, the CS processing module returns to client with the CS information of being obtained, and the CS processing module of client is selected an appropriate C S according to client demand, and this CS is returned to the CS processing module of register device.
The strategy that step 705:CS processing module provides according to the service strategy module selects an appropriate C S that service is provided, and execution in step 706:
Step 706: the physical address parsing module obtains physical address.According to selected definite CSI and PSI, inquiry obtains relevant PSI, physical address information, the tabulation of CSI tlv triple, and the physical address parsing module is selected an appropriate information tlv triple according to determined CSI, obtains the physical address in this tlv triple.
Step 707: the destination address PSI information in the request that the service registry device sends client replaces with the physical address of service; CS information in the request that client is sent replaces with selected definite CS information, and according to physical address information amended request is routed to server.
Step 708: the CS information in the access request that the CS trigger module of server sends according to register device is that CSI is that client provides service.
If for the weather forecast business following content is arranged in the service registry device:
Figure GSB00000612294200131
If weather forecast service weather has following strategy in the service strategy module of register device, these strategies are for be stored in the service registry device in advance.
1. if do not carry the available CS information of service in the request, the CS that passes through is provided then, promptly the sm mode provides service.
2. serve available CS information as if carrying in the request, and a CS is only arranged, then directly service is provided according to this CS.
3. if carry the available CS information of service in the request, and when a plurality of CS is arranged, then select CS according to network condition: if the roomy mm that then selects of Netowrk tape, if the little sm that then selects of the network bandwidth, if the unclear CS information of then returning of the network bandwidth is selected by the user.
4. if a service has a physical address that satisfies condition, then directly choose this physical address; If this service has a plurality of physical addresss that satisfy condition, then select a suitable physical address according to the region nearby principle.
So, the flow process of whole service access is following:
A. client-access weather services request, service registry device be according to request and policy selection CSI promptly: " sm "
B. the service registry device is according to the public identifier sip:weathercmcc.com of communication service sign sm and weather; Obtaining the triplet information of sip:weathercmcc.com, sip:weather211.6.6.6 and sm, is sip:weather211.6.6.6 so the service registry device is selected the physical address of weather according to strategy 4.
The service registry device is routed to server according to the physical address sip:weather211.6.6.6 of weather with access request, wherein carries the CSI information " sm " of service.
C:weather is that the sm mode provides service to client according to CSI information with short message way.
For the A step in the flow process, following multiple situation can be arranged.
First kind of situation: a plurality of CSI information that have service to support in user's request, and the network bandwidth is unclear, carries out following steps this moment:
1. client-requested visit weather service, and select sm and two kinds of access modes of mm as a reference, then client transmission access message is following, and wherein csi field is added by client CS processing module
INVITE?sip:weathercmcc.com;CSI=“sm,mm”
2.CS judging in this request according to csi field, processing module carries CSI information
3.CS processing module is obtained and is carried and be stored in the CSI in the service registry device in the request according to the CSI information in the request.Because sm, mm are all supported in this service,, trigger the 3rd strategy of service strategy module so the CSI information of being obtained comprises sm, mm information.
4. because the network bandwidth is unclear, the service registry device returns to client with the CSI information list and selects.
5. the CS negotiation module of supposition client is selected the sm mode.
6. the CS processing module of service registry device is confirmed the sm mode according to the selection of client.
Second kind of situation: a plurality of CSI information that have service to support in user's request, and the network bandwidth is relatively poor, carries out following steps this moment:
1. client-requested visit weather service, and select sm and two kinds of access modes of mm as a reference, then client transmission access message is: INVITE sip:weathercmcc.com; CSI=" sm, mm "; Wherein csi field is added by the CS processing module.
2.CS judging in this request according to csi field, processing module carries CSI information
3.CS processing module is obtained and is carried and be stored in the CSI in the service registry device in the request according to the CSI information in the request.Because sm, mm are all supported in this service,, trigger the 3rd strategy of service strategy module so the CSI information of being obtained comprises sm, mm information.
4. because the network bandwidth is relatively poor, the CS processing module of service registry device is according to policy selection sm mode.
The third situation: a CSI information that has service to support in user's request, carry out following steps this moment:
1. client-requested visit weather service, and select sm and two kinds of access modes of tel (Advise By Wire) as a reference, then client transmission access message is: INVITE sip:weathercmcc.com; CSI=" sm, tel "; Wherein csi field is added by client CS processing module.
2.CS judging in this request according to csi field, processing module carries CSI information.
3.CS processing module is obtained and is carried and be stored in the CSI in the service registry device in the request according to the CSI information in the request.Because the mode of sm is only supported in this service,, trigger the second strategy of service strategy module so the CSI information of being obtained only comprises sm information.
4. the CS processing module of service registry device is according to policy selection sm mode.
The 4th kind of situation: do not carry any CSI information in user's request, carry out following steps this moment:
1. any CS information is not carried in client-requested visit weather service.
INVITE?sip:weathercmcc.com
Do not carry CSI information 2.CS processing module is judged in this request according to no csi field in the information, trigger article one strategy of service strategy module.
3. the CS processing module of service registry device is according to policy selection sm mode.
The 5th kind of situation: carry CSI information in user's request, can not support, carry out following steps this moment but serve:
1. client-requested visit weather service, and select the tel access mode as a reference, then client transmission access message is following, and wherein csi field is added by client CS processing module
INVITE?sip:weathercmcc.com;CSI=“tel”
2.CS judging in this request according to csi field, processing module carries CSI information.
3.CS processing module is obtained and is carried and be stored in the CSI in the service registry device in the request according to the CSI information in the request.Because this service of this service can not be supported tel, so can not obtain corresponding C SI information.Trigger article one strategy of service strategy module.
4. the CS processing module of service registry device is according to policy selection sm mode.
Second embodiment
The system of the access services of realization second embodiment of the invention is as shown in Figure 8, and this system comprises client, service registry device, server.
Different with access services system among first embodiment is; The service registry device is except comprising CS processing module, physical address parsing module and three modules of service strategy module; Also comprise the service trigger module; According to physical address after resolving and corresponding communication service sign, trigger service accordingly, the request after being about to upgrade is routed to corresponding server.
The log-on message of weather forecast service in service unit is as shown in the table:
Figure GSB00000612294200161
Wherein, Each communication service sign all corresponds to a public service identifier; A public service identifier can identify in corresponding a plurality of communication services; The corresponding public service identifier of physical address, communication service identification information are right, form public service identifier, physical address and public service identity tlv triple.
Can find out by above scheme; Present embodiment forms the information tlv triple through the said CSI of incidence relation mapping storage, physical address, PSI information according to the CSI in the register requirement, physical address, PSI equally; Make the multiple communication mode of same service corresponding a public service identity, and can the Differentiated Services presentation mode.But in the present embodiment, server need not trigger corresponding ways of services supplied according to communication identifier, but the service registry device is triggered on the resource that the unique service provider is only arranged according to the information that communication service identifies.
In addition, the function that realized of the CS processing module of service registry device, physical address processing module and service strategy module realizes that with the corresponding module among first embodiment function is identical.
Corresponding therewith, just need not trigger the service trigger module that corresponding CS provides service in the server, and include only the CS request module, be used for service registry, log off procedure, add CS information (comprising the communication service sign) and generate a CS registration, de-registration request.
Corresponding therewith, the flow process of registration service is as shown in Figure 9, carries out following steps:
Step 901: service is registered to service registry device requests CSI; Log-on message comprises public identifier PSI, the communication service identifier CSI of service and serves concrete physical address; The information that wherein CS is relevant in the request is provided by the CS processing module of server; It can add CS information in common request, show that with this this request is the CS register requirement.
Step 902: the service registry device shines upon storage according to the incidence relation of the CSI in the register requirement, PSI to described CSI, PSI information, and form CSI, PSI information is right.At this moment, by the inquiry of service registry device whether the PSI information in the service registry request is arranged, said CSI information forms PSI, CSI information is right if any then only storing according to the mapping of the incidence relation in the register requirement; Otherwise according to the said PSI of the mapping storage of the incidence relation in the register requirement, CSI information, with form PSI, CSI information is right.
Step 903: the service registry device is deposited said physical address according to the incidence relation in the register requirement, forms CSI, PSI, physical address information tlv triple.
Corresponding therewith, the flow process of nullifying service is shown in figure 10, carries out following steps:
Step 1001: services request is nullified.Server sends de-registration request to the service registry device, and wherein log-off message carries the service public service identifier PSI physical address concrete with service.If this service is selected as CS and nullifies, then the CS request module by server provides corresponding C S information, promptly in request, adds CSI information.
Step 1002: judge whether to nullify into CS.The service registry device is judged and whether is carried CSI information in the de-registration request according to the service de-registration request that receives, if there is not CSI information, is indicated as common cancellation, execution in step 1004.Otherwise for CS nullifies, and execution in step 1003.
Step 1003: the service registry device stored according to CSI in the de-registration request, PSI deletion with said CSI, PSI physical address corresponding information, and the said CSI that stored of deletion, the CSI information of PSI information centering.The service registry device is judged the corresponding only corresponding said CSI information of PSI in the request, then deletes this PSI information in this way, and finishes the logout flow path of service.
Step 1004: all the corresponding CSI information of PSI in service registry device deletion and the said de-registration request, and delete and this CSI, PSI information to physical address corresponding information.
The method of access services
Among this embodiment among the method for access services and first embodiment method of access services basic identical, only introduce different steps below, omit other step identical with the method for access services among first embodiment.Its concrete difference is embodied in, and the step 706-step 708 among first embodiment is replaced by following steps respectively:
The physical address parsing module obtains with this PSI, CSI information physical address corresponding according to selected CSI and PSI.
The physical address that destination address PSI information during the service registry device will be asked replaces with service is the physical address that the physical address parsing module obtains in the last step, and the service registry device is routed to server according to the information of physical address with the request of access services.
Server is that client provides service according to physical address.
Can find out that by above scheme the present invention is being through shining upon storage to form triplet information to PSI, physical address, CSI information, make the multiple communication mode of same service corresponding the public identifier of a service.In addition, the present invention sends the request of communication service through client, and routes requests to server by the service registry device, thereby trigger the respective communication service service is provided, and makes client can select the communication mode of serving.Certainly, can support this scheme in order to make Session Initiation Protocol, the present invention also needs Session Initiation Protocol is expanded to some extent, promptly in existing Session Initiation Protocol, increases csi field, comprises the method for registration, cancellation and the access services of above-mentioned CSI.
Certainly, the above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. one kind provides service method, it is characterized in that this method comprises the steps:
A, server send the service registry request to the service registry device, carry public service identity, physical address and communication service sign in the described request;
B, service registry device obtain said public service identity, physical address and communication service sign, and shine upon storage according to three's incidence relation;
C, client are sent services request to the service registry device, comprise public service identity in the said services request;
D, service registry device are confirmed the communication service sign according to said public service identity; Communication service sign according to said public service identity and said affirmation is obtained corresponding physical address; And the services request that client is sent is routed to corresponding server according to said physical address, server provides service according to said services request to client.
2. a kind of service method that provides as claimed in claim 1 is characterized in that the strategy that the service registry device stores provides service, confirms among the step D that the communication service sign comprises:
Carry the communication service sign in D1, the said services request of service registry device inspection client, inquiry and registration information is confirmed registered communication service sign; Or
Do not carry the communication service sign in D2, the said services request of service registry device inspection client, then confirm the communication service sign corresponding with said public service identity according to strategy.
3. a kind of service method that provides as claimed in claim 2 is characterized in that confirming among the step D1 that registered communication service sign comprises:
D11, service registry device are inquired about said log-on message, obtain and carry in the request and communication stored service identifiers, and from the said communication service sign of obtaining, confirm the communication service sign; Perhaps, confirm the communication service sign according to strategy as not getting access to the corresponding communication service identifiers.
4. a kind of service method that provides as claimed in claim 1 is characterized in that this method further comprises:
E: server sends the service de-registration request to the service registry device; Comprise public service identity and physical address in the described request; The service registry device is confirmed the corresponding communication service identifiers according to public service identity and physical address, and it is deleted from the log-on message of register device.
5. the method for an access services is characterized in that this method comprises the steps:
A, service registry device receive the services request that client is sent, and comprise public service identity in the said services request; Wherein, said service registry device has been stored public service identity, physical address and communication service sign three's incidence relation;
B, service registry device are confirmed the communication service sign according to said public service identity; Communication service sign according to said public service identity and said affirmation is obtained corresponding physical address; And the services request that client is sent is routed to corresponding server according to said physical address, and server provides service according to said services request to client.
6. the method for access services as claimed in claim 5 is characterized in that the strategy that the service registry device stores provides service, and step B confirms that the communication service sign comprises:
Carry the communication service sign in B1, the said services request of service registry device inspection client, the log-on message of inquiry service register device obtains and carries in the request and registered communication service sign; Or
Do not carry the communication service sign in B2, the said services request of service registry device inspection client, confirm the communication service sign according to strategy.
7. the method for access services as claimed in claim 6; It is characterized in that; Confirm that according to strategy the communication service sign is specially among the said step B1: confirm the communication service sign or communication service signs all in the strategy is returned to client according to strategy by the service registry device, confirm that by client the communication service sign returns to the service registry device by the service registry device.
8. the method for access services as claimed in claim 5; After it is characterized in that obtaining physical address among the step B; Also need judge the corresponding a plurality of communication service signs of the physical address that is obtained in the log-on message of register device, and in the request of the access services that client is sent, write determined communication service sign.
9. the method for access services as claimed in claim 8 is characterized in that server provides service to be according to said services request to client among the step B: server is designated client according to the communication service in the said services request, and service or server are provided is that client provides service according to the physical address in the said services request.
10. nullify service method for one kind, it is characterized in that this method may further comprise the steps:
The service de-registration request that A, service registry device reception server send comprises public service identity and physical address in the described request; Wherein, said service registry device has been stored public service identity, physical address and communication service sign three's incidence relation;
B, service registry device are confirmed the corresponding communication service identifiers according to said public service identity and physical address, and said communication service sign is deleted from the log-on message of register device.
11. cancellation service method as claimed in claim 10 is characterized in that the deleting communication service identifiers may further comprise the steps among the step B:
B11, judge whether comprise communication service sign in the said de-registration request; If any the said communication service sign of deletion from the log-on message of register device, otherwise from the log-on message of register device, delete said public service identity and the corresponding communication service sign of physical address.
12. cancellation service method as claimed in claim 11 is characterized in that step B11 further comprises:
Public service identity, physical address described in the log-on message of B111, judgement register device do not have corresponding communication service sign, and the physical address described in the log-on message of deletion register device.
13. cancellation service method as claimed in claim 12 is characterized in that this method also comprises:
Public service identity does not have physical address corresponding described in the log-on message of B112, judgement register device, and the public service identity described in the deletion log-on message.
14. the system that service is provided is characterized in that this system comprises: server, service registry device, client;
Said client is used to send asking to the service registry device of the access services that comprises public service identity; Wherein, said service registry device has been stored public service identity, physical address and communication service sign three's incidence relation;
The communication service sign that needs use is confirmed in the request of the access services that said service registry device is used for sending according to said client; Obtain corresponding physical address according to said public service identity and the communication service confirmed sign, and the request of access services is routed to server according to said physical address;
The request that said server is used for according to the access services of receiving of being sent by the service registry device is that client provides service.
CN200610100948XA 2006-06-22 2006-07-29 Method and system of providing services, access services, logging in and out services Active CN101094224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610100948XA CN101094224B (en) 2006-06-22 2006-07-29 Method and system of providing services, access services, logging in and out services

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN200610061289.3 2006-06-22
CN200610061289 2006-06-22
CN200610100948XA CN101094224B (en) 2006-06-22 2006-07-29 Method and system of providing services, access services, logging in and out services

Publications (2)

Publication Number Publication Date
CN101094224A CN101094224A (en) 2007-12-26
CN101094224B true CN101094224B (en) 2012-06-27

Family

ID=38992251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610100948XA Active CN101094224B (en) 2006-06-22 2006-07-29 Method and system of providing services, access services, logging in and out services

Country Status (1)

Country Link
CN (1) CN101094224B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820381B (en) 2009-02-27 2013-06-12 华为技术有限公司 Method, system and device for routing service
WO2015062038A1 (en) * 2013-10-31 2015-05-07 华为技术有限公司 Method, apparatus and system for requesting association
CN105827567B (en) * 2015-01-06 2020-01-17 中国移动通信集团贵州有限公司 Service management and control method and capability opening platform
CN107317786B (en) * 2016-04-26 2020-11-06 中国移动通信有限公司研究院 Method, device and network element for forwarding session initiation protocol message
CN106330939A (en) * 2016-08-31 2017-01-11 谢余学 Processing method
CN108134766B (en) * 2016-12-01 2020-12-18 阿里巴巴集团控股有限公司 Service publishing method, device, system, server and client
CN108632312B (en) 2017-03-20 2020-01-17 中国移动通信有限公司研究院 Network function information interaction method and device
WO2019153428A1 (en) * 2018-02-09 2019-08-15 Oppo广东移动通信有限公司 Wireless communication method, network device and terminal device
CN108921245B (en) * 2018-06-27 2021-03-23 宁波奉化爱腾特软件科技有限公司 Law enforcement recorder and mobile terminal reverse code scanning binding ternary intelligent link uploading system
CN112019387A (en) * 2020-09-02 2020-12-01 上海卓钢链科技有限公司 Distributed service registration center construction method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19635581C1 (en) * 1996-09-02 1997-10-23 Siemens Ag Cellular mobile communications network subscriber location method
CN1777190A (en) * 2005-12-08 2006-05-24 普天信息技术研究院 Service quality based web service registration and discovery system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19635581C1 (en) * 1996-09-02 1997-10-23 Siemens Ag Cellular mobile communications network subscriber location method
CN1777190A (en) * 2005-12-08 2006-05-24 普天信息技术研究院 Service quality based web service registration and discovery system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
林桂花.使用WebSphere平台设计面向服务体系结构框架的研究.《计算机与现代化》.2006,(第04期), *
郭艺峰.基于J2EE平台的Web服务的应用研究.《学位论文》.2006, *

Also Published As

Publication number Publication date
CN101094224A (en) 2007-12-26

Similar Documents

Publication Publication Date Title
CN101094224B (en) Method and system of providing services, access services, logging in and out services
CN109257509B (en) Communication method, system, server and storage medium based on virtual number
CA2595077C (en) A method and apparatus for handling emergency calls
CN101800760B (en) Realization method and system for accessing data service
JP3739260B2 (en) Information distribution system and gateway device
US20040255302A1 (en) Systems and methods for content and service registration, query and subscription, and notification across local service discovery domains
CN111953700B (en) Session keeping method and device
US9031074B2 (en) Method and apparatus for packet call setup
US7831721B2 (en) System and method for providing IPv6 services
US8605736B2 (en) Method, system and apparatus for heterogeneous addressing mapping
CN101411158B (en) Connection optimisation between a mobile communication terminal and a signalling server across a network address translator
WO2015117442A1 (en) Processing method and device for converged communications terminal discovery and capability detection
US7636581B1 (en) Inter-network dispatch talk group calls
KR101857020B1 (en) Apparatas and method for managing service of providing server in a terminal
JP2015037275A (en) Mobile communication terminal
CA2565536A1 (en) Supporting a network behind a wireless station
CN102984696A (en) IP communication method, equipment and system based on mobile terminals
CN102984697A (en) IP (communication method, equipment and system based on mobile terminals
US7509137B2 (en) Method and system for address translation and aliasing to efficiently utilize UFMI address space
CN104283861B (en) The method, apparatus and system of routing device access network in car networking system
US20090210425A1 (en) Method for sending dynamic content and dynamic content delivery server
JP2004102507A (en) Network device
JP5342070B2 (en) Method and system for realizing information interaction in next generation network
CN102546713B (en) Method, system and equipment for distributing distributed contents under roaming scenarios
CN102957668A (en) Method for acquiring location information from identifier-based network and access service router

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