CN105101197A - User contract-signing information response and request method and device - Google Patents
User contract-signing information response and request method and device Download PDFInfo
- Publication number
- CN105101197A CN105101197A CN201410191083.7A CN201410191083A CN105101197A CN 105101197 A CN105101197 A CN 105101197A CN 201410191083 A CN201410191083 A CN 201410191083A CN 105101197 A CN105101197 A CN 105101197A
- Authority
- CN
- China
- Prior art keywords
- user
- signing contract
- contract information
- information
- mark
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a user contract-signing information response and request method and device. The method comprises the steps: receiving request information which is transmitted by an AAA server and contains an identification of user contract-signing information in the AAA server, wherein the identification of user contract-signing information is used for distinguishing user contract-signing information, having different contents, of the same user; and transmitting response information to the AAA server according to the identification of user contract-signing information in the AAA server and the identification of corresponding user contract-signing information in HSS. According to the invention, the method and device integrally reduce the bandwidth occupied by the transmission of user contract-signing information between the AAA server and the HSS.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of response of user signing contract information, requesting method and device.
Background technology
At 3GPP Long Term Evolution (LongTermEvolution, referred to as LTE) evolution core net (EvolvedPacketCore, referred to as EPC) in, authentication and authorization charging server (Authentication, Authorization, Accounting, referred to as AAA) and user attaching server (HomeSubscriberServer, referred to as HSS) by SWx interface communication to meet user from other non-3 GPP network (as CDMA, WLAN, WiMAX etc.) access request, wherein relate to multimedia authentication request/multimedia authentication response MAR/MAA (Multimedia-Authentication-Request/Answer) message, service subscription request/service signing response SAR/SAA (Server-Assignment-Request/Answer) message.MAR/MAA message is responsible for exchanging authentication information between.SAR/SAA message is responsible for user and is registered, go registration, PGW renewal and obtain user signing contract information etc.
User is when non-3 gpp off-line state, if HSS revises user signing contract information, AAA cannot know that this changes state, in order to data consistency, all will go to obtain latest data by SAR message when reaching the standard grade from AAA at every turn, when obtaining user signing contract information, SAA response message is usually larger because carrying Non-3GPP-User-Data.
Taking problem compared with large bandwidth for transmitting user signing contract information in correlation technique between aaa server and HSS, not yet proposing effective solution at present.
Summary of the invention
Taking problem compared with large bandwidth for transmitting user signing contract information in correlation technique between aaa server and HSS, the invention provides a kind of response of user signing contract information, requesting method and device, at least to solve the problem.
According to an aspect of the present invention, provide a kind of response method of user signing contract information, comprise: receive the request message that aaa server sends, wherein, carry the mark of first user CAMEL-Subscription-Information in described aaa server in described request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content; According to the mark of the second user signing contract information corresponding in the mark of described first user CAMEL-Subscription-Information and HSS, send response message to described aaa server.
Preferably, according to the mark of the second user signing contract information corresponding in the mark of described first user CAMEL-Subscription-Information and HSS, response message is sent to described aaa server, comprise: send described response message to described aaa server, wherein, the mark of described second user signing contract information is carried in described response message.
Preferably, said method also comprises: respond described aaa server receive described response message after request, send described second user signing contract information to described aaa server.
Preferably, according to the mark of the second user signing contract information corresponding in the mark of described first user CAMEL-Subscription-Information and HSS, send response message to described aaa server, comprising: judge that whether the mark of described first user CAMEL-Subscription-Information is consistent with the mark of described second user signing contract information; Send described response message to described aaa server, in wherein said response message, carry the indication information whether described first user CAMEL-Subscription-Information of instruction is consistent with described second user signing contract information.
Preferably, if inconsistent, send described response message to described aaa server, in wherein said response message, carry the mark of described second user signing contract information and/or described second user signing contract information.
Preferably, described mark comprise following one of at least: version number, modification time, amendment sequence number.
According to another aspect of the present invention, provide a kind of requesting method of user signing contract information, comprise: send a request message to HSS, carry the mark of first user CAMEL-Subscription-Information in wherein said request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content; Receive the response message that described HSS sends according to the mark of the second user signing contract information corresponding in the mark of first user CAMEL-Subscription-Information and described HSS; Judge that whether described first user CAMEL-Subscription-Information is effective according to described response message.
Preferably, the mark of described second user signing contract information is carried in described response message; Judge that whether described first user CAMEL-Subscription-Information is effective according to described response message, comprising: judge that whether the mark of described first user CAMEL-Subscription-Information is consistent with the mark of described second user signing contract information; If consistent, determine that described first user CAMEL-Subscription-Information is effective.
Preferably, said method also comprises: if inconsistent, sends the request for obtaining described second user signing contract information to described HSS; Receive described HSS and respond described second user signing contract information of described request transmission and the mark of described second user signing contract information.
Preferably, the indication information whether described second user signing contract information of instruction is consistent with described first user CAMEL-Subscription-Information is carried in described response message; Judge that whether described first user CAMEL-Subscription-Information is effective according to described response message, comprising: if described indication information indicates described first user CAMEL-Subscription-Information consistent with described second user signing contract information, determine that described first user CAMEL-Subscription-Information is effective.
Preferably, if described indication information indicate described first user CAMEL-Subscription-Information and described second user signing contract information inconsistent, send the request for obtaining described second user signing contract information to described HSS; Receive described HSS and respond described second user signing contract information of described request transmission and the mark of described second user signing contract information.
According to a further aspect of the invention, provide a kind of responding device of user signing contract information, comprise: receiver module, for receiving the request message that aaa server sends, wherein, carry the mark of first user CAMEL-Subscription-Information in described aaa server in described request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content; Sending module, for the mark according to the second user signing contract information corresponding in the mark of described first user CAMEL-Subscription-Information and HSS, sends response message to described aaa server.
Preferably, described sending module, for sending described response message to described aaa server, wherein, carries the mark of described second user signing contract information in described response message.
Preferably, described sending module, also receives the request after described response message for responding described aaa server, sends described second user signing contract information to described aaa server.
Preferably, described sending module comprises: judging unit, for judging that whether the mark of described first user CAMEL-Subscription-Information is consistent with the mark of described second user signing contract information; Transmitting element, for sending described response message to described aaa server, carries the indication information whether described first user CAMEL-Subscription-Information of instruction is consistent with described second user signing contract information in wherein said response message.
Preferably, described transmitting element, also for when described first user CAMEL-Subscription-Information and described second user signing contract information inconsistent, send described response message to described aaa server, in wherein said response message, carry the mark of described second user signing contract information and/or described second user signing contract information.
According to a further aspect of the invention, provide a kind of request unit of user signing contract information, comprise: sending module, for sending a request message to HSS, carry the mark of first user CAMEL-Subscription-Information in wherein said request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content; Receiver module, for receiving the response message that described HSS sends according to the mark of the second user signing contract information corresponding in the mark of first user CAMEL-Subscription-Information and described HSS; Determination module, for judging that according to described response message whether described first user CAMEL-Subscription-Information is effective.
Preferably, the mark of described second user signing contract information is carried in described response message; Described determination module comprises: judging unit, for judging that whether the mark of described first user CAMEL-Subscription-Information is consistent with the mark of described second user signing contract information; Determining unit, for when the mark of described first user CAMEL-Subscription-Information is consistent with the mark of described second user signing contract information, determines that described first user CAMEL-Subscription-Information is effective.
Preferably, described sending module, also for when the mark of described first user CAMEL-Subscription-Information and the mark of described second user signing contract information inconsistent, send the request for obtaining described second user signing contract information to described HSS; Described receiver module, also responds described second user signing contract information of described request transmission and the mark of described second user signing contract information for receiving described HSS.
Preferably, the indication information whether described second user signing contract information of instruction is consistent with described first user CAMEL-Subscription-Information is carried in described response message; Described determination module, during for indicating described first user CAMEL-Subscription-Information consistent with described second user signing contract information at described indication information, determines that described first user CAMEL-Subscription-Information is effective.
Preferably, described sending module, also for indicate at described indication information described first user CAMEL-Subscription-Information and described second user signing contract information inconsistent time, send the request for obtaining described second user signing contract information to described HSS; Described receiver module, also responds described second user signing contract information of described request transmission and the mark of described second user signing contract information for receiving described HSS.
By the present invention, receive the request message carrying the mark of user signing contract information in aaa server that aaa server sends, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content; According to the mark of user signing contract information corresponding in the mark of user signing contract information in aaa server and HSS, send response message to aaa server.Reduce the bandwidth transmitted user signing contract information between aaa server and HSS and take on the whole.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the response method of user signing contract information according to the embodiment of the present invention;
Fig. 2 is the structured flowchart of the responding device of user signing contract information according to the embodiment of the present invention;
Fig. 3 is the flow chart of the requesting method of user signing contract information according to the embodiment of the present invention;
Fig. 4 is the structured flowchart of the request unit of user signing contract information according to the embodiment of the present invention;
Fig. 5 is the schematic diagram of the transmission system of user signing contract information according to the embodiment of the present invention;
Fig. 6 is the flow chart of the acquisition methods of user signing contract information according to example preferred implementation one of the present invention;
Fig. 7 is the flow chart of the acquisition methods of user signing contract information according to example preferred implementation two of the present invention;
Fig. 8 is the flow chart of the acquisition methods of user signing contract information according to example preferred implementation three of the present invention; And
Fig. 9 is the schematic diagram according to SAR/SAA message between embodiment of the present invention aaa server and HSS.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Fig. 1 is the flow chart of the response method of user signing contract information according to the embodiment of the present invention, and as shown in Figure 1, the method comprising the steps of S102 is to step S104.
Step S102, receive the request message that aaa server sends, wherein, carry the mark of user signing contract information in aaa server in this request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content.
Step S104, serves the mark of user signing contract information corresponding in the mark of wherein user signing contract information and HSS according to AAA, send response message to aaa server.
By the embodiment of the present invention, receive the request message carrying the mark of user signing contract information in aaa server that aaa server sends, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content; According to the mark of user signing contract information corresponding in the mark of user signing contract information in aaa server and HSS, send response message to aaa server.Reduce the bandwidth transmitted user signing contract information between aaa server and HSS and take on the whole.
In above-mentioned steps S104, corresponding user signing contract information comprises the user signing contract information of user in HSS that in above-mentioned aaa server, user signing contract information is corresponding.But be not limited thereto, for the situation needing to ensure that in aaa server, user signing contract information is consistent with the user signing contract information in HSS, be all fine.
In an execution mode of the embodiment of the present invention, above-mentioned steps S104, can send response message to aaa server, wherein, carries the mark of user signing contract information corresponding in HSS in response message.Further, aaa server according to the mark of user signing contract information corresponding in HSS, can determine that in aaa server, whether user signing contract information is consistent.
In an execution mode of the embodiment of the present invention, if aaa server determines that the user signing contract information that its user signing contract information is corresponding with HSS is inconsistent, can send request and obtain user signing contract information corresponding in HSS.After above-mentioned steps S104, can respond aaa server receive above-mentioned response message after request, send user signing contract information corresponding in HSS to aaa server.
In another execution mode of the embodiment of the present invention, above-mentioned steps S104, can judge that whether the mark of user signing contract information in aaa server is consistent with the mark of user signing contract information corresponding in HSS, send response message to aaa server, wherein in this response message, carry the indication information that in instruction aaa server, whether user signing contract information is consistent with user signing contract information corresponding in HSS.Further, aaa server according to this indication information, can determine that whether its user signing contract information is consistent.
In a preferred implementation of the embodiment of the present invention, when in aaa server, the mark of the user signing contract information that the mark of user signing contract information is corresponding with HSS is inconsistent, after above-mentioned steps S104 or above-mentioned steps S104, response message can be sent to aaa server, wherein in response message, carry user signing contract information corresponding in HSS and/or the mark of this user signing contract information.
Above-mentioned mark can comprise version number, modification time, amendment sequence number etc.
Fig. 2 is the structured flowchart of the responding device of user signing contract information according to the embodiment of the present invention, and as shown in Figure 2, this device can comprise: receiver module 10 and sending module 20.Wherein, receiver module 10, for receiving the request message that aaa server sends, wherein, carry the mark of user signing contract information in aaa server in this request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content; Sending module 20, is connected with receiver module 10, for the mark according to user signing contract information corresponding in the mark of user signing contract information in aaa server and HSS, sends response message to aaa server.
In an execution mode of the embodiment of the present invention, sending module 20 may be used for sending response message to aaa server, wherein, carries the mark of user signing contract information corresponding in HSS in response message.
Further, aaa server according to the mark of user signing contract information corresponding in HSS, can determine that whether its user signing contract information is consistent, in the case of inconsistencies, and user signing contract information that can be corresponding in acquisition request HSS.
In a preferred implementation of the embodiment of the present invention, sending module 20 can also be used for responding aaa server receive above-mentioned response message after request, send user signing contract information corresponding in HSS to aaa server.
In another execution mode of the embodiment of the present invention, sending module 20 can comprise: judging unit, for judging that whether the mark of user signing contract information in aaa server is consistent with the mark of user signing contract information corresponding in HSS; Transmitting element, for sending response message to aaa server, wherein carries the indication information that in instruction aaa server, whether user signing contract information is consistent with user signing contract information corresponding in HSS in this response message.
In a preferred implementation of the embodiment of the present invention, above-mentioned transmitting element is also inconsistent for user signing contract information that user signing contract information in aaa server is corresponding with HSS, send response message to aaa server, wherein in response message, carry user signing contract information corresponding in HSS and/or the mark of this user signing contract information.
Above-mentioned transmitting element, initiatively can send response message to aaa server, wherein carries user signing contract information corresponding in HSS and/or the mark of this user signing contract information in response message.Also when receiving aaa server for obtaining in HSS the request of corresponding user signing contract information, user signing contract information corresponding in above-mentioned HSS can be sent.
Above-mentioned mark can comprise version number, modification time, amendment sequence number etc.
Fig. 3 is the flow chart of the requesting method of user signing contract information according to the embodiment of the present invention, and as shown in Figure 3, the method comprising the steps of S302 is to step S306.
Step S302, sends a request message to HSS, wherein carries the mark of user signing contract information in aaa server in request message, and the mark of user signing contract information is for distinguishing the different user signing contract information of same user content.
Step S304, receives the response message that HSS sends according to the mark of user signing contract information corresponding in the mark of user signing contract information in aaa server and HSS.
According to above-mentioned response message, step S306, judges that in aaa server, whether user signing contract information is effective.
Pass through the embodiment of the present invention, send a request message to HSS, wherein carry the mark of user signing contract information in aaa server in request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content, receive the response message that HSS sends according to the mark of user signing contract information corresponding in the mark of user signing contract information in aaa server and HSS, judge that in aaa server, whether user signing contract information is effective according to above-mentioned response message.Reduce the bandwidth transmitted user signing contract information between aaa server and HSS and take on the whole.
In above-mentioned steps S304, corresponding user signing contract information comprises the user signing contract information of user in HSS that in above-mentioned aaa server, user signing contract information is corresponding.But be not limited thereto, for the situation needing to ensure that in aaa server, user signing contract information is consistent with the user signing contract information in HSS, be all fine.
In an execution mode of the embodiment of the present invention, in above-mentioned response message, carry the mark of user signing contract information corresponding in HSS.Above-mentioned steps S306, can judge that whether the mark of user signing contract information in aaa server is consistent with the mark of user signing contract information corresponding in HSS; If consistent, determine that first user CAMEL-Subscription-Information is effective.
In a preferred implementation of the embodiment of the present invention, if the mark of the user signing contract information that the mark of user signing contract information is corresponding with HSS is inconsistent in aaa server, the request of the user signing contract information for obtaining correspondence in HSS can also be sent to HSS; Receive HSS and respond user signing contract information corresponding in the HSS of this request transmission and the mark of this user signing contract information.
In another execution mode of the embodiment of the present invention, in above-mentioned response message, carry the indication information that in instruction aaa server, whether user signing contract information is consistent with user signing contract information corresponding in HSS; In above-mentioned steps S304, if user signing contract information is consistent with user signing contract information corresponding in HSS in this indication information instruction AAA service, can determine that in aaa server, user signing contract information is effective.Further, user signing contract information in aaa server can be used respective user authentication.
In a preferred implementation of the embodiment of the present invention, if the user signing contract information that in above-mentioned indication information instruction aaa server, user signing contract information is corresponding with HSS is inconsistent, the request of the user signing contract information for obtaining correspondence in HSS can being sent to HSS, receiving HSS and responding user signing contract information corresponding in the HSS of this request transmission and the mark of this user signing contract information.Further, the user signing contract information received can be used respective user authentication.
Above-mentioned mark can comprise version number, modification time, amendment sequence number etc.
Fig. 4 is the structured flowchart of the request unit of user signing contract information according to the embodiment of the present invention, and as shown in Figure 4, this device can comprise: sending module 30, receiver module 40 and determination module 50.Wherein, sending module 30, for sending a request message to HSS, wherein carry the mark of user signing contract information in AAA service in this request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content; Receiver module 40, for receiving the response message that HSS sends according to the mark of user signing contract information corresponding in the mark of user signing contract information in AAA service and HSS; Determination module 50, for judging that according to above-mentioned response message in aaa server, whether user signing contract information is effective.
Pass through the embodiment of the present invention, send a request message to HSS, wherein carry the mark of user signing contract information in aaa server in request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content, receive the response message that HSS sends according to the mark of user signing contract information corresponding in the mark of user signing contract information in aaa server and HSS, judge that in aaa server, whether user signing contract information is effective according to above-mentioned response message.Reduce the bandwidth transmitted user signing contract information between aaa server and HSS and take on the whole.
User signing contract information corresponding in above-mentioned HSS comprises: the user signing contract information of the user that in above-mentioned aaa server, user signing contract information is corresponding in HSS.But be not limited thereto, for the situation needing to ensure that in aaa server, user signing contract information is consistent with the user signing contract information in HSS, be all fine.
In an execution mode of the embodiment of the present invention, in above-mentioned response message, carry the mark of user signing contract information corresponding in HSS.Above-mentioned determination module 50 can comprise: judging unit, for judging that whether the mark of user signing contract information in aaa server is consistent with the mark of user signing contract information corresponding in HSS; Determining unit, the mark for user signing contract information in aaa server is consistent with the mark of user signing contract information corresponding in HSS, determines that in aaa server, user signing contract information is effective.
In a preferred implementation of the embodiment of the present invention, above-mentioned sending module 30, can also be used for the mark of the mark of user signing contract information in the aaa server user signing contract information corresponding with HSS inconsistent, send the request for obtaining user signing contract information corresponding in HSS to HSS; Receiver module 40, can also be used for receiving HSS and respond user signing contract information corresponding in the HSS of this request transmission and the mark of this user signing contract information.
In an execution mode of the embodiment of the present invention, in above-mentioned response message, carry the indication information that in instruction aaa server, whether user signing contract information is consistent with user signing contract information corresponding in HSS.Above-mentioned determination module 50, may be used for this indication information instruction aaa server in user signing contract information consistent with user signing contract information corresponding in HSS time, determine that in aaa server, user signing contract information is effective.Further, user signing contract information in aaa server can be used respective user authentication.
In a preferred implementation of the embodiment of the present invention, above-mentioned sending module 30, time also inconsistent for user signing contract information that user signing contract information in above-mentioned indication information instruction aaa server is corresponding with in HSS, to HSS transmission for obtaining the request of the user signing contract information of correspondence in HSS.Above-mentioned receiver module 40, also responds user signing contract information corresponding in the HSS of this request transmission and the mark of this user signing contract information for receiving HSS.Further, the user signing contract information received can be used respective user authentication.
It is contemplated that the method for the embodiment of the present invention and device can be realized by computer program element.Said method, the device of the embodiment of the present invention can realize in HSS or aaa server, also can realize in equipment or device.
The embodiment of the present invention additionally provides a kind of equipment, and this equipment can comprise processor, storage medium and other universal components.Realize said method, the computer program element of device can be stored in this storage medium, processor can perform this computer program element.
Fig. 5 is the schematic diagram of the transmission system of user signing contract information according to the embodiment of the present invention, and as shown in Figure 5, this system comprises: aaa server 1 and HSS server 2.Wherein, aaa server 1 can comprise: processor 10 and storage medium 12, can store the computer program instructions of the requesting method of above-mentioned user signing contract information in storage medium 12, processor 10 can perform this computer program instructions.HSS server 2 can comprise: processor 20 and storage medium 22, can store the computer program instructions of the response method of above-mentioned user signing contract information in storage medium 22, processor 20 can perform this computer program instructions.
Below in conjunction with the system shown in Fig. 5, the method that embodiment of the present invention AAA transmits user signing contract information from HSS is described.
Preferred implementation one
In this preferred implementation, aaa server sends a request message to HSS, the mark of user signing contract information in aaa server is carried in request message, the mark of user signing contract information corresponding in HSS is issued aaa server by HSS, whether identically compare two marks by aaa server, and carry out subsequent treatment according to the result compared.
Fig. 6 is the flow chart of the acquisition methods of user signing contract information according to example preferred implementation one of the present invention, and as shown in Figure 6, the method comprising the steps of S602 is to step S612.
Step S602, aaa server sends a request message to HSS, carries the mark of user signing contract information in this request message.
In this preferred implementation, can be when user reaches the standard grade, send above-mentioned request message to HSS, ask the user signing contract information of this user.Also can be when needs upgrade user signing contract information in aaa server, trigger and send above-mentioned message to HSS.But this preferred implementation is not limited thereto.
Step S604, HSS receive above-mentioned request message, send response message to aaa server, carry the mark of user signing contract information corresponding in HSS in the response message.
Step S606, aaa server receives the response message that HSS server sends, whether the mark of the user signing contract information relatively in aaa server is consistent with the mark of user signing contract information corresponding in HSS, if unanimously, determines that the user signing contract information in aaa server is effective.
Step S608, if inconsistent, sends the request for asking user signing contract information corresponding in HSS to HSS.
Step S610, HSS receive above-mentioned request, and send the response carrying user signing contract information corresponding in HSS to aaa server.
Step S612, aaa server receives above-mentioned response, from this response, obtain user signing contract information, further can delete original user signing contract information preserved.
Preferred implementation two
In this preferred implementation, aaa server sends a request message to HSS, the mark of user signing contract information in aaa server is carried in request message, the mark of user signing contract information corresponding with HSS for the mark of user signing contract information in aaa server compares by HSS, and instruction whether consistent both sending to aaa server, carry out subsequent treatment by aaa server according to this instruction.
Fig. 7 is the flow chart of the acquisition methods of user signing contract information according to example preferred implementation two of the present invention, and as shown in Figure 7, the method comprising the steps of S702 is to step S704.
Step S702, aaa server sends a request message to HSS, carries the mark of user signing contract information in this request message.
In this preferred implementation, can be when user reaches the standard grade, send above-mentioned request message to HSS, ask the user signing contract information of this user.Also can be when needs upgrade user signing contract information in aaa server, trigger and send above-mentioned message to HSS.But this preferred implementation is not limited thereto.
Step S704, HSS receives above-mentioned request message, the mark of user signing contract information corresponding with HSS for the mark of user signing contract information in aaa server is compared, and sends response message to aaa server, in response message, carry the indication information whether both are consistent.
Preferably, in above-mentioned steps 704, when both are inconsistent, user signing contract information corresponding in HSS can also be carried.Certainly, user signing contract information corresponding in HSS also initiatively can be sent to aaa server by other message by HSS, is not limited in above-mentioned response message.
Step S706, aaa server receives the response message that HSS server sends, and judges whether to need to upgrade user signing contract information in aaa server according to above-mentioned indication information.If consistent, determine that the user signing contract information in aaa server is effective.
Step S708, if inconsistent, sends the request for asking user signing contract information corresponding in HSS to HSS.
Preferably, if carry user signing contract information corresponding in HSS in step S704, then step S708 to step S712 can omit.
Step S710, HSS receive above-mentioned request, and send the response carrying user signing contract information corresponding in HSS to aaa server.
Step S712, aaa server receives above-mentioned response, from this response, obtain user signing contract information, further can delete original user signing contract information preserved.
Preferred implementation three
In this preferred implementation, aaa server sends a request message to HSS, the mark of user signing contract information in aaa server is carried in request message, the mark of user signing contract information corresponding with HSS for the mark of user signing contract information in aaa server compares by HSS, and in the case of inconsistencies, send user signing contract information corresponding in HSS to aaa server, when consistent, send indication information.
Fig. 8 is the flow chart of the acquisition methods of user signing contract information according to example preferred implementation three of the present invention, and as shown in Figure 8, the method comprising the steps of S802 is to step S806.
Step S802, aaa server sends a request message to HSS, carries the mark of user signing contract information in this request message.
In this preferred implementation, can be when user reaches the standard grade, send above-mentioned request message to HSS, ask the user signing contract information of this user.Also can be when needs upgrade user signing contract information in aaa server, trigger and send above-mentioned message to HSS.But this preferred implementation is not limited thereto.
Step S804, HSS receives above-mentioned request message, the mark of user signing contract information corresponding with HSS for the mark of user signing contract information in aaa server is compared, and send response message to aaa server, if consistent, carry the indication information that instruction is consistent, if inconsistent, then carry user signing contract information corresponding in HSS.
Preferably, in above-mentioned steps 804, user signing contract information corresponding in HSS also initiatively can be sent to aaa server by other message by HSS, is not limited in above-mentioned response message.
Step S806, aaa server receives the response message that HSS server sends.
With an instantiation, the embodiment of the present invention is described below.
In this example, utilize versions of data number to identify user signing contract information that AAA holds new and old and whether modified, in actual operation process, user signing contract information is more stable, and when reaching the standard grade, subscription data and previous subscription data remain unchanged with high probability at every turn.
Whether above-mentioned versions of data number can be the various modes such as the time representing data modification, or the incremented sequence number of data modification, change as long as can distinguish.
HSS issues the user signing contract information of AAA at AAA side buffer memory, preserves the version number of this subscription data simultaneously.HSS upgrades the version number of this user contracting data when revising user signing contract information.
HSS, when the request of acquisition user signing contract information receiving AAA, checks the version number field in request, if number identical with the versions of data of this locality, then need not issue the information that Non-3GPP-User-Data etc. is relevant to version number.In SAA, increase versions of data AVP, version number is consistent simultaneously.As for what mode to be shown HSS approves the version number in SAR request by, the present embodiment does not retrain, and such as described hereinly takes back identical versions of data value by identical AVP.
HSS is when the request of acquisition user signing contract information receiving AAA, check the version number field in request, if number different from the versions of data of this locality, then issue the CAMEL-Subscription-Information such as Non-3GPP-User-Data, need to increase versions of data AVP in SAA, its value is the versions of data number of this user of HSS side.
For AAA and HSS, either party ignores versions of data AVP field when not supporting this function.Do not affect normal interaction flow.
Fig. 9 is the schematic diagram according to SAR/SAA message between embodiment of the present invention aaa server and HSS, as shown in Figure 9, comprising:
Step S902, first time access, AAA sends SAR and asks user data, and carrying user data version number (User_Data_Version) (being called for short UDV afterwards) is 0.
Step S904, HSS return user contracting data, and carry UDV=1456237850.
Step 906, second time access, AAA sends SAR and asks user data, carries UDV=1456237850.
Step S908, HSS check that this user contracting data latest edition is consistent with request version, send SAA, wherein UDV=1456237850, do not carry Non-3GPP-User-Data.
Step S910, HSS revise this user contracting data.
Step S912, third time access, AAA sends SAR and asks user data, carries UDV=1456237850.
Step S914, HSS check that this user contracting data latest edition is newer than request version, and send SAA, wherein UDV is new version number 1456238240, carries Non-3GPP-User-Data simultaneously.
In above-mentioned steps S904, AAA receive HSS have new version number SAA response time, AAA preserves the Non-3GPP-User-Data in this version number and SAA.
In above-mentioned steps S906 and S912, when user newly accesses, AAA sends SAR to HSS and obtains this user signing contract information and version number thereof of needing before user signing contract information to retrieve and preserving before this.
In above-mentioned steps S908, what just give that a kind of requesting party of expression has here is the method for latest data, also can indicate in response by other modes.During step describes, said User_Data_Version just citing, does not do name limit.
As can be seen from the above description, present invention achieves following technique effect: reduce the bandwidth transmitted user signing contract information between aaa server and HSS and take on the whole.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (21)
1. a response method for user signing contract information, is characterized in that, comprising:
Receive the request message that authentication and authorization charging server aaa server sends, wherein, carry the mark of first user CAMEL-Subscription-Information in described aaa server in described request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content;
According to the mark of the second user signing contract information corresponding in the mark of described first user CAMEL-Subscription-Information and HSS, send response message to described aaa server.
2. method according to claim 1, is characterized in that, according to the mark of the second user signing contract information corresponding in the mark of described first user CAMEL-Subscription-Information and HSS, sends response message, comprising to described aaa server:
Send described response message to described aaa server, wherein, in described response message, carry the mark of described second user signing contract information.
3. method according to claim 2, is characterized in that, also comprises:
Respond described aaa server receive described response message after request, send described second user signing contract information to described aaa server.
4. method according to claim 1, is characterized in that, according to the mark of the second user signing contract information corresponding in the mark of described first user CAMEL-Subscription-Information and HSS, sends response message, comprising to described aaa server:
Judge that whether the mark of described first user CAMEL-Subscription-Information is consistent with the mark of described second user signing contract information;
Send described response message to described aaa server, in wherein said response message, carry the indication information whether described first user CAMEL-Subscription-Information of instruction is consistent with described second user signing contract information.
5. method according to claim 4, is characterized in that,
If inconsistent, send described response message to described aaa server, in wherein said response message, carry the mark of described second user signing contract information and/or described second user signing contract information.
6. method according to any one of claim 1 to 5, is characterized in that, described mark comprise following one of at least: version number, modification time, amendment sequence number.
7. a requesting method for user signing contract information, is characterized in that, comprising:
Send a request message to user attaching server HSS, carry the mark of first user CAMEL-Subscription-Information in wherein said request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content;
Receive the response message that described HSS sends according to the mark of the second user signing contract information corresponding in the mark of first user CAMEL-Subscription-Information and described HSS;
Judge that whether described first user CAMEL-Subscription-Information is effective according to described response message.
8. method according to claim 7, is characterized in that, carries the mark of described second user signing contract information in described response message; Judge that whether described first user CAMEL-Subscription-Information is effective according to described response message, comprising:
Judge that whether the mark of described first user CAMEL-Subscription-Information is consistent with the mark of described second user signing contract information;
If consistent, determine that described first user CAMEL-Subscription-Information is effective.
9. method according to claim 8, is characterized in that, also comprises:
If inconsistent, send the request for obtaining described second user signing contract information to described HSS;
Receive described HSS and respond described second user signing contract information of described request transmission and the mark of described second user signing contract information.
10. method according to claim 7, is characterized in that, carries the indication information whether described second user signing contract information of instruction is consistent with described first user CAMEL-Subscription-Information in described response message; Judge that whether described first user CAMEL-Subscription-Information is effective according to described response message, comprising:
If described indication information indicates described first user CAMEL-Subscription-Information consistent with described second user signing contract information, determine that described first user CAMEL-Subscription-Information is effective.
11. methods according to claim 10, is characterized in that,
If described indication information indicate described first user CAMEL-Subscription-Information and described second user signing contract information inconsistent, send the request for obtaining described second user signing contract information to described HSS;
Receive described HSS and respond described second user signing contract information of described request transmission and the mark of described second user signing contract information.
The responding device of 12. 1 kinds of user signing contract informations, is characterized in that, comprising:
Receiver module, for receiving the request message that authentication and authorization charging server aaa server sends, wherein, carry the mark of first user CAMEL-Subscription-Information in described aaa server in described request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content;
Sending module, for the mark according to the second user signing contract information corresponding in the mark of described first user CAMEL-Subscription-Information and HSS, sends response message to described aaa server.
13. devices according to claim 12, is characterized in that, described sending module, for sending described response message to described aaa server, wherein, carry the mark of described second user signing contract information in described response message.
14. devices according to claim 13, is characterized in that, described sending module, also receive the request after described response message for responding described aaa server, send described second user signing contract information to described aaa server.
15. devices according to claim 12, is characterized in that, described sending module comprises:
Judging unit, for judging that whether the mark of described first user CAMEL-Subscription-Information is consistent with the mark of described second user signing contract information;
Transmitting element, for sending described response message to described aaa server, carries the indication information whether described first user CAMEL-Subscription-Information of instruction is consistent with described second user signing contract information in wherein said response message.
16. devices according to claim 15, is characterized in that,
Described transmitting element, also for when described first user CAMEL-Subscription-Information and described second user signing contract information inconsistent, send described response message to described aaa server, in wherein said response message, carry the mark of described second user signing contract information and/or described second user signing contract information.
The request unit of 17. 1 kinds of user signing contract informations, is characterized in that, comprising:
Sending module, for sending a request message to user attaching server HSS, carries the mark of first user CAMEL-Subscription-Information in wherein said request message, the mark of user signing contract information is for distinguishing the different user signing contract information of same user content;
Receiver module, for receiving the response message that described HSS sends according to the mark of the second user signing contract information corresponding in the mark of first user CAMEL-Subscription-Information and described HSS;
Determination module, for judging that according to described response message whether described first user CAMEL-Subscription-Information is effective.
18. devices according to claim 17, is characterized in that, carry the mark of described second user signing contract information in described response message; Described determination module comprises:
Judging unit, for judging that whether the mark of described first user CAMEL-Subscription-Information is consistent with the mark of described second user signing contract information;
Determining unit, for when the mark of described first user CAMEL-Subscription-Information is consistent with the mark of described second user signing contract information, determines that described first user CAMEL-Subscription-Information is effective.
19. devices according to claim 18, is characterized in that,
Described sending module, also for when the mark of described first user CAMEL-Subscription-Information and the mark of described second user signing contract information inconsistent, send the request for obtaining described second user signing contract information to described HSS;
Described receiver module, also responds described second user signing contract information of described request transmission and the mark of described second user signing contract information for receiving described HSS.
20. devices according to claim 17, is characterized in that, carry the indication information whether described second user signing contract information of instruction is consistent with described first user CAMEL-Subscription-Information in described response message;
Described determination module, during for indicating described first user CAMEL-Subscription-Information consistent with described second user signing contract information at described indication information, determines that described first user CAMEL-Subscription-Information is effective.
21. devices according to claim 20, is characterized in that,
Described sending module, also for indicate at described indication information described first user CAMEL-Subscription-Information and described second user signing contract information inconsistent time, send the request for obtaining described second user signing contract information to described HSS;
Described receiver module, also responds described second user signing contract information of described request transmission and the mark of described second user signing contract information for receiving described HSS.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410191083.7A CN105101197A (en) | 2014-05-07 | 2014-05-07 | User contract-signing information response and request method and device |
PCT/CN2014/088676 WO2015169055A1 (en) | 2014-05-07 | 2014-10-15 | Responding/requesting method and device for user subscription information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410191083.7A CN105101197A (en) | 2014-05-07 | 2014-05-07 | User contract-signing information response and request method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105101197A true CN105101197A (en) | 2015-11-25 |
Family
ID=54392084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410191083.7A Withdrawn CN105101197A (en) | 2014-05-07 | 2014-05-07 | User contract-signing information response and request method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105101197A (en) |
WO (1) | WO2015169055A1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1607842A (en) * | 2003-10-15 | 2005-04-20 | 华为技术有限公司 | Method for synchronizing data between authentication server and home location register |
CN101064630A (en) * | 2006-04-24 | 2007-10-31 | 华为技术有限公司 | Data synchronization method and system |
CN101335641A (en) * | 2007-06-29 | 2008-12-31 | 华为技术有限公司 | Method, apparatus and system for updating apparatus |
CN101594607A (en) * | 2008-05-27 | 2009-12-02 | 华为技术有限公司 | The maintaining method of gateway information of packet data network, system and equipment |
CN101789912A (en) * | 2009-01-23 | 2010-07-28 | 华为技术有限公司 | Method, device and system for updating gateway information of packet data network |
CN101790150A (en) * | 2009-01-23 | 2010-07-28 | 华为技术有限公司 | Method and device for updating contract signing and configuration of access point name |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222451A (en) * | 2008-01-28 | 2008-07-16 | 北京亿企通信息技术有限公司 | Method for acquiring linkman data in instant communication instrument |
-
2014
- 2014-05-07 CN CN201410191083.7A patent/CN105101197A/en not_active Withdrawn
- 2014-10-15 WO PCT/CN2014/088676 patent/WO2015169055A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1607842A (en) * | 2003-10-15 | 2005-04-20 | 华为技术有限公司 | Method for synchronizing data between authentication server and home location register |
CN101064630A (en) * | 2006-04-24 | 2007-10-31 | 华为技术有限公司 | Data synchronization method and system |
CN101335641A (en) * | 2007-06-29 | 2008-12-31 | 华为技术有限公司 | Method, apparatus and system for updating apparatus |
CN101594607A (en) * | 2008-05-27 | 2009-12-02 | 华为技术有限公司 | The maintaining method of gateway information of packet data network, system and equipment |
CN101789912A (en) * | 2009-01-23 | 2010-07-28 | 华为技术有限公司 | Method, device and system for updating gateway information of packet data network |
CN101790150A (en) * | 2009-01-23 | 2010-07-28 | 华为技术有限公司 | Method and device for updating contract signing and configuration of access point name |
Also Published As
Publication number | Publication date |
---|---|
WO2015169055A1 (en) | 2015-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100527080C (en) | Method for software program synchronization | |
US10645568B2 (en) | Carrier configuration processing method, device and system, and computer storage medium | |
CN107371234B (en) | Registration method, device and terminal | |
CN109246078B (en) | Data interaction method and server | |
CN103415014B (en) | The method and apparatus authenticated is carried out for mobile terminal | |
CN108200568B (en) | Mobile communication electronic SIM card data processing method and device | |
CN113434293A (en) | Method and apparatus for processing repeat request, storage medium, and electronic apparatus | |
CN113691520B (en) | Method and device for acquiring streaming media information, storage medium and electronic device | |
CN108647139B (en) | System test method, device, storage medium and electronic device | |
CN110858201B (en) | Data processing method and system, processor and storage medium | |
CN112738019B (en) | Method and device for displaying device information, storage medium and electronic device | |
US20160156722A1 (en) | Resource migration method and apparatus | |
EP1637003B1 (en) | Databases synchronization | |
CN115390939B (en) | Service processing method and system | |
CN108400974B (en) | Flow guiding method and mobile terminal | |
CN114189384B (en) | Service processing method, device, equipment and storage medium | |
CN112669480B (en) | Data processing method and device, terminal equipment and storage medium | |
CN105101197A (en) | User contract-signing information response and request method and device | |
CN108271230A (en) | A kind of method and device for obtaining mobile management information, computer readable storage medium | |
CN110178350B (en) | Method for enhanced detection of user equipment type | |
CN113055254A (en) | Address configuration method, device, access server and storage medium | |
CN112235784B (en) | vSIM-based code number management method, device and equipment | |
CN113852919B (en) | Method and device for generating early warning message, storage medium and electronic device | |
CN113891385B (en) | Method, device and equipment for detecting link state of network equipment | |
CN118175464B (en) | FTTR gateway upgrading method, gateway equipment, system and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20151125 |