CN102883308A - Origin-State-Id attribute-value-pair (AVP) sending method and device based on Diameter protocol - Google Patents

Origin-State-Id attribute-value-pair (AVP) sending method and device based on Diameter protocol Download PDF

Info

Publication number
CN102883308A
CN102883308A CN2012103374943A CN201210337494A CN102883308A CN 102883308 A CN102883308 A CN 102883308A CN 2012103374943 A CN2012103374943 A CN 2012103374943A CN 201210337494 A CN201210337494 A CN 201210337494A CN 102883308 A CN102883308 A CN 102883308A
Authority
CN
China
Prior art keywords
equipment
status information
receiving terminal
transmitting terminal
terminal
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.)
Granted
Application number
CN2012103374943A
Other languages
Chinese (zh)
Other versions
CN102883308B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201210337494.3A priority Critical patent/CN102883308B/en
Publication of CN102883308A publication Critical patent/CN102883308A/en
Application granted granted Critical
Publication of CN102883308B publication Critical patent/CN102883308B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an Origin-State-Id attribute-value-pair (AVP) sending method and an Origin-State-Id AVP device based on a Diameter protocol. The method comprises the following step that: a sending end communicates with a receiving end according to the Diameter protocol, namely before a message is sent each time, the sending end judges whether local equipment state information is sent to the receiving end, if the local equipment state information is sent to the receiving end, the sending end does not send the local equipment state information any more, otherwise, the sending end sends the local equipment state information to the receiving end, so that the problems of consumption of system resources and prolonging of message processing time which are caused by a reason that the receiving end is required to judge whether an equipment state of the sending end is lost according to a received Origin-State-Id value during information interaction each time in the prior art are solved.

Description

A kind of Origin-State-Id AVP sending method and device based on Diameter
Technical field
The present invention relates to the mobile communication technology field, particularly a kind of Origin-State-Id AVP sending method and device based on Diameter.
Background technology
RADIUS(Remote Authentication Dial In User Service, the remote customer dialing authentication system) agreement is present most widely used a kind of AAA(Authentication Authorization Accounting, the Certificate Authority book keeping operation) agreement, and Diameter(diameter) agreement is the upgraded version of radius protocol, by IETF(Internet Engineering Task Force, Internet Engineering task groups) AAA working group as follow-on aaa protocol standard.
In Diameter, use Origin-State-Id(source-state-sign) AVP(Attribute-Value-Pair, attribute-content-to group) and come the indication equipment state, be also referred to as status information of equipment.This AVP carries in every interaction message, is convenient to the equipment state that the recipient understands transmit leg.
If the recipient judges the value of the Origin-State-Id AVP among the Origin-State-Id AVP that receives and changes, can think that the equipment state of the transmit leg that former Origin-State-Id AVP is corresponding loses, need to remove the resource of local transmit leg about former Origin-State-Id AVP.After the recipient receives Origin-State-Id AVP, need to by host name, the domain name of the local transmit leg of preserving of character string traversal, find the equipment state before of this transmit leg.Such processing mode has increased the weight of recipient's processing load, has greatly slowed down recipient's processing speed.
LTE(Long Term Evolution, Long Term Evolution) the SAE(System Architecture Evolution of network, System Architecture Evolution) network topology structure of framework is illustrated in fig. 1 shown below, it is PDN GW that the Gx interface is positioned at PGW(, Public Data Network Gateway, the public data network gateway) and PCRF(Policy and Charging Rules Function, strategy and charging rule functions) between, be mainly used in charging control and policy control.PCRF is configured to the PCC rule downloading to PGW with policing rule, and PGW is tied to these rules in the corresponding carrying, is issued to service surface, carries out these rules by service surface, thereby reaches the purpose of policy control.
Information interactive process between PGW and the PCRF comprises: create conversation procedure, upgrade conversation procedure, delete conversation procedure etc.
Wherein, create conversation procedure as shown in Figure 2, PGW sends CCR(Credit Control Request, credit control request)-I message is to PCRF, session is set up in request, and PCRF feedback CCA-I message is to PGW, and PGW receives CCA(Credit Control Answer, Credit Control Answer)-and after I confirms to set up session, session establishment success between the two.
Upgrade conversation procedure and comprise two kinds of situations.Wherein a kind of situation initiates to upgrade conversation procedure by PGW as shown in Figure 3A.PGW sends CCR-U message to PCRF, asks more new session, and PCRF feedback CCA-U message is to PGW, and affirmation is set up and upgraded conversation procedure.
And another kind of situation, shown in Fig. 3 B, initiate to upgrade conversation procedure by PCRF, the PCRF more request of new session passes through RAR(Re Auth Request, again authentication request) message sends to PGW, PGW will confirm to set up more the RAA(Re Auth Answer of new session, again authentication response) message feedback is to PCRF.
Delete conversation procedure as shown in Figure 4, PGW will ask the CCR-T message of deletion session to send to PCRF, and feedback CCA-T message is to PGW after the PCRF deletion session.
Information interactive process between above-mentioned PGW and the PCRF mainly is by two pairs of message, and CCR/CCA message and RAR/RAA message realize.All carried Origin-State-Id AVP in CCR/CCA message and the RAR/RAA message.
In the prior art, transmitting terminal need to carry the Origin-State-Id AVP of this equipment in every Gx interface message.Receiving terminal is received to be needed after the message to search local Origin-State-Id AVP in the local record by character string in device storage information, whether the value of the Origin-State-Id AVP that relatively receives is identical with the value of local Origin-State-Id AVP, and carries out subsequent treatment according to comparative result.
At EPS(Evolved Packet Systerm, evolved packet system) in, PGW network element and PCRF network element carry out interacting message by the Gx interface based on Diameter.Diameter has defined Origin-State-Id AVP, and whether this AVP for detection of same entity device equipment occured restarts.When PGW network element (or PCRF network element) is received a plurality of Origin-State-Id AVP of same sender's transmission, if it is larger than the value of the last Origin-State-Id AVP that receives to compare the current Origin-State-Id AVP that receives, can think that this equipment state loses, and carry out all sessions on the basis of the upper Origin-State-Id AVP that once receives and stop.When PGW network element or PCRF network element detect this situation, need to remove the resource of local all sessions of carrying out on the upper Origin-State-Id AVP basis that once receives.
Use Origin-Host (source-main frame) and Origin-Realm (source-domain name) AVP to come the source of identification message in the Diameter.Origin-Host adopts character string type, in order to show the source node that produces Diameter message; Origin-Realm adopts character string type, in order to represent territory, Diameter message producer place.Transmitting terminal carries Origin-State-Id AVP in the message that sends each time, corresponding Origin-Host and Origin-Realm comparison in the opposite equip. tabulation of receiving terminal with the Origin-Host among the Origin-State-Id AVP that receives and Origin-Realm and local maintenance, from the opposite equip. tabulation of local maintenance, find out the Origin-State-Id value corresponding with this transmitting terminal of having preserved, compare with the current Origin-State-Id value that receives, judge whether this equipment state loses.
This method of in each message that sends by the Gx interface, carrying Origin-State-Id AVP, although can be after the opposite equip. loss of state, the resource of all sessions that the local Origin-State-Id AVP that receives based on the last time of removing carries out, but owing in each message that sends by the Gx interface, carried Origin-State-Id AVP, and receiving terminal is whenever received the message of once carrying Origin-State-Id AVP, just the Origin-Host in the opposite equip. tabulation of local maintenance and Origin-Host and the Origin-Realm in Origin-Realm and the current message that receives need to be compared, judge whether this equipment state loses.This method that repeats character string comparison has consumed system resource greatly, and has increased the time of processing messages.
Summary of the invention
The embodiment of the invention provides a kind of status information of equipment sending method and device based on Diameter, when having each information interaction in order to solve in the prior art, and the problem of the system resources consumption of existence and Message Processing time lengthening.
The concrete technical scheme that the embodiment of the invention provides is as follows:
The embodiment of the invention provides a kind of status information of equipment sending method based on diameter protocol, transmitting terminal establishes a communications link based on diameter protocol and receiving terminal, comprise: each send message before, transmitting terminal judges whether the status information of equipment of this locality is sent to receiving terminal; If, then no longer send local status information of equipment, otherwise, local status information of equipment sent to receiving terminal.
A kind of status information of equipment sending method based on diameter protocol comprises:
The receiving terminal receiving end/sending end adopts as the above-mentioned status information of equipment that sends based on the information interacting method of diameter protocol; Judge that this receives before status information of equipment that this transmitting terminal sends, whether the status information of equipment of this locality is sent to transmitting terminal;
If, then no longer send local status information of equipment, otherwise, local status information of equipment sent to transmitting terminal.
A kind of status information of equipment dispensing device based on diameter protocol establishes a communications link based on diameter protocol and receiving terminal, comprising:
Judge module was used for before carrying out information interaction at every turn, judged whether the status information of equipment of this locality is sent to receiving terminal;
Information sending module was used for before carrying out information interaction at every turn, when judge module is judged status information of equipment with this locality and is sent to receiving terminal, no longer sent local status information of equipment, otherwise, send local status information of equipment to receiving terminal.
A kind of status information of equipment dispensing device based on diameter protocol comprises:
Information receiver is used for receiving the above-mentioned status information of equipment that sends based on the information interactive device of diameter protocol;
Judge module be used for to judge that this receives before status information of equipment that this transmitting terminal sends, and whether the status information of equipment of this locality is sent to transmitting terminal;
Information sending module, be used for judging before this receives status information of equipment that this transmitting terminal sends at judge module, when the status information of equipment of this locality being sent to transmitting terminal, no longer send local status information of equipment, otherwise, send local status information of equipment to transmitting terminal.
In the embodiment of the invention, designed a kind of status information of equipment sending method and device based on Diameter, transmitting terminal is when judging that not status information of equipment with this locality is sent to receiving terminal, just in sending to the message of receiving terminal, carry the Origin-State-Id value, like this, when whether the status information of equipment that makes transmitting terminal can judge exactly receiving terminal has been lost, effectively reduced consumption and the Message Processing time of system resource, optimized the entire system performance.
Description of drawings
Fig. 1 is the network topology structure of the SAE framework of LTE network in the prior art;
Fig. 2 is the process that creates session in the prior art between PGW and the PCRF;
Fig. 3 A initiates to upgrade conversation procedure by PGW in the prior art;
Fig. 3 B initiates to upgrade conversation procedure by PCRF in the prior art;
Fig. 4 is the process of deletion session between PGW and the PCRF in the prior art;
Fig. 5 is the information interacting method flow chart of the transmitting terminal of the embodiment of the invention;
Fig. 6 is the transmitting terminal device schematic diagram of the embodiment of the invention;
Fig. 7 is the information interacting method flow chart of the receiving terminal of the embodiment of the invention;
Fig. 8 is the device schematic diagram of the receiving terminal of the embodiment of the invention.
Embodiment
In the embodiment of the invention, designed a kind of based on the Diameter(diameter) the Origin-State-Id AVP sending method of agreement, transmitting terminal is only when judging that not status information of equipment with this locality is sent to receiving terminal, just in sending to the message of receiving terminal, carry the Origin-State-Id value, like this, can save the Message Processing time of communicating pair.
Below in conjunction with accompanying drawing the preferred embodiment of the present invention is elaborated.
The embodiment of the invention can but be not limited to by following manner equipment to be sent Origin-State-Id AVP state and carry out record.In the embodiment of the invention, defined the structure of an enumeration type, as follows:
Typedef?enum{
Send_Null; Do not send
Sending_Proc; Send, also do not receive response message
Sended_Proc; Sent, and received response message
}OriginStateSendStatus
Wherein, Send_Null(did not send) and Sending_Proc( send, also do not receive response message) represent that all transmitting terminal is not sent to the status information of equipment of this locality the situation of receiving terminal; And Sended_Proc(had sent, and received response message) represent that then transmitting terminal has been sent to the status information of equipment of this locality the situation of receiving terminal.
When the Origin-State-Id AVP transmission state to should receiving terminal of local record is Send_Null or Sending_Proc, send local Origin-State-Id AVP to receiving terminal.
Before carrying out information interaction, when transmitting terminal is Sended_Proc at the Origin-State-Id AVP transmission state to should receiving terminal of local record, do not send local Origin-State-Id AVP to receiving terminal at every turn.
Consult shown in Figure 5ly, in the embodiment of the invention, after transmitting terminal established a communications link based on Diameter and receiving terminal, the detailed process that carries out information interaction with receiving terminal was as follows:
Step 501: each send message before, transmitting terminal judges whether the Origin-State-Id AVP of this locality is sent to receiving terminal, if, carry out step 502, otherwise, carry out step 503.
In the embodiment of the invention, transmitting terminal judges whether the Origin-State-Id AVP of this locality is sent to receiving terminal according to the Origin-State-Id AVP transmission state to should receiving terminal of local record, as previously mentioned, Send_Null(did not send) and Sending_Proc( send, also do not receive response message) represent that all transmitting terminal is not sent to the status information of equipment of this locality the situation of receiving terminal; And Sended_Proc(had sent, and received response message) represent that then transmitting terminal has been sent to the status information of equipment of this locality the situation of receiving terminal.
Step 502: transmitting terminal no longer sends local Origin-State-Id AVP to this receiving terminal.
In the embodiment of the invention, the concrete executive mode of step 502 can be divided into following three kinds (only for being not limited to for example this):
1) transmitting terminal is determined to send local status information of equipment to receiving terminal before this sends, and when receiving first the status information of equipment of this receiving terminal of receiving terminal feedback, judgement is sent to receiving terminal with the Origin-State-Id AVP of this locality, and no longer sends local Origin-State-Id AVP to this receiving terminal.
For example, transmitting terminal is when carrying out information interaction with receiving terminal first, record host name and the domain name of this receiving terminal, the Origin-State-Id AVP of this locality is sent to receiving terminal, and this locality to should receiving terminal the Origin-State-Id AVP transmission state of record be set to Sending_Proc.Before this sends, transmitting terminal is behind the response message of the Origin-State-Id AVP that has carried this receiving terminal that receives this receiving terminal feedback, when being defined as receiving first the Origin-State-Id AVP of this receiving terminal, record receives the Origin-State-Id AVP of this receiving terminal of receiving terminal transmission first, this locality to should receiving terminal the Origin-State-Id AVP transmission state of record be set to Sended_Proc, and no longer send local Origin-State-Id AVP to this receiving terminal.
2) transmitting terminal is determined to send local status information of equipment to receiving terminal before this sends, and when the facility information state of this receiving terminal of the receiving terminal that receives feedback is identical with the status information of equipment of this receiving terminal of local record, judgement is sent to receiving terminal with the Origin-State-Id AVP of this locality, and no longer sends local Origin-State-Id AVP to this receiving terminal.
For example, if carried out information interaction with this receiving terminal before the transmitting terminal, in information interactive process, receive the new Origin-State-Id AVP that this receiving terminal sends, and the Origin-State-Id value among the Origin-State-Id AVP of the Origin-State-Id value of the Origin-State-Id AVP that this is new and this receiving terminal of local record is identical, then this locality to should receiving terminal the Origin-State-Id AVP transmission state of record be set to Sended_Proc, and no longer send local Origin-State-Id AVP to this receiving terminal.
Step 503: transmitting terminal sends local Origin-State-Id AVP to this receiving terminal.
In the embodiment of the invention, the concrete executive mode of step 503 can be divided into following three kinds (only for being not limited to for example this):
When 1) transmitting terminal is determined not send local Origin-State-Id AVP to receiving terminal before this sends, then the Origin-State-Id AVP with this locality sends to receiving terminal, and this locality to should receiving terminal the Origin-State-Id AVP transmission state of record be set to Sending_Proc.
For example, transmitting terminal is judged when the Origin-State-Id AVP of local corresponding receiving terminal record sends state as Send_Null, determines not send local Origin-State-Id AVP to receiving terminal before this sends.
2) transmitting terminal is determined to send local Origin-State-Id AVP to receiving terminal before this sends, and when not receiving the Origin-State-Id AVP of this receiving terminal of feedback, the Origin-State-Id AVP of this locality is sent to this receiving terminal again, and this locality to should receiving terminal the Origin-State-Id AVP transmission state of record be set to Sending_Proc.
3) transmitting terminal determines that the Origin-State-Id value among the Origin-State-Id AVP of Origin-State-Id value and this receiving terminal of local record among the up-to-date Origin-State-Id AVP that receives this receiving terminal that receiving terminal sends is different, then judgement is not sent to receiving terminal with the Origin-State-Id AVP of this locality, record the up-to-date Origin-State-Id value that receives this receiving terminal of receiving terminal transmission, and send local Origin-State-Id AVP to this receiving terminal.
For example, transmitting terminal is determined to send local Origin-State-Id AVP to receiving terminal before this sends, and the Origin-State-Id value among the Origin-State-Id AVP of this receiving terminal that the up-to-date receiving terminal that receives sends than local to the Origin-State-Id value in should the Origin-State-Id AVP of receiving terminal record greatly, then record the up-to-date Origin-State-Id AVP that receives this receiving terminal of receiving terminal transmission, the Origin-State-Id AVP of this locality is sent to this receiving terminal, and this locality to should receiving terminal the Origin-State-Id AVP transmission state of record be set to Sending_Proc.This kind situation can appear under the sight that receiving terminal is restarted for some reason in transmitting terminal and the receiving terminal reciprocal process usually; at this moment; receiving terminal is understood the Origin-State-Id value among the Origin-State-Id AVP+1 after restarting, thereby the inconsistent situation of record of transmitting terminal and receiving terminal just can occur.
The below makes further description with a kind of concrete application scenarios to above-described embodiment.
In the practical application, transmitting terminal can be PGW, and receiving terminal can be PCRF, and perhaps, transmitting terminal is PCRF, and receiving terminal is PGW.And the information interaction between PGW and the PCRF can be by being used for the Gx Interface realization of charging control and policy control.The below describes respectively as an example of both of these case example.
For example, PGW if judgement is not sent to PCRF with the Origin-State-Id AVP of this locality, then need to carry local Origin-State-Id AVP in the message of this transmission before this sends CCR-I message to PCRF; If judge and sent Origin-State-Id AVP to this PCRF, and received the response message of this PCRF feedback, and the status information of equipment of this PCRF do not change, and then need to not carry local Origin-State-Id AVP in the message of this transmission.
On the other hand, PCRF if judgement is not sent to PGW with the Origin-State-Id AVP of this locality, then need to carry local Origin-State-Id AVP in the message of this transmission before this sends CCA message to PGW; If judge and sent Origin-State-Id AVP to this PGW, and received the response message of this PGW feedback, and the status information of equipment of this PGW do not change, and then need to not carry local Origin-State-Id AVP in the message of this transmission.
Corresponding with above-described embodiment, receiving terminal needs the Origin-State-Id AVP in the processing messages after receiving the message of the Origin-State-Id AVP that carries this transmitting terminal that transmitting terminal sends, and treatment principle is as follows:
When the Origin-State-Id AVP transmission state of the corresponding transmitting terminal of receiving terminal local record is Send_Null or Sending_Proc, represent that all receiving terminal is not sent to the status information of equipment of this locality the situation of this transmitting terminal, need again to send local Origin-State-Id AVP to this transmitting terminal; And Sended_Proc represents that receiving terminal has been sent to the status information of equipment of this locality the situation of transmitting terminal, before carrying out information interaction at every turn, if the Origin-State-Id AVP transmission state to should transmitting terminal at the receiving terminal local record is Sended_Proc, no longer send local Origin-State-Id AVP to transmitting terminal.
In the embodiment of the invention, receiving terminal is after receiving transmitting terminal and sending the Origin-State-Id AVP of this transmitting terminal, and the detailed process that carries out information interaction with transmitting terminal comprises as shown in Figure 7:
Step 701: the status information of equipment that the receiving terminal receiving end/sending end adopts the method for embodiment of the invention design to send;
Step 702: receiving terminal judges that this receives before status information of equipment that this transmitting terminal sends, and whether the status information of equipment of this locality is sent to transmitting terminal, if then carry out step 703, otherwise carry out step 704.
Step 703: receiving terminal no longer sends local status information of equipment.
The embodiment of step 703 can be divided into following two kinds in the embodiment of the invention:
1) this receives before the status information of equipment of this transmitting terminal, and receiving terminal sent local status information of equipment to transmitting terminal, and does not receive the status information of equipment of this transmitting terminal, then no longer sends local status information of equipment.
For example, if this Origin-State-Id AVP that receives transmitting terminal of receiving terminal is what receive first, and this moment is local to be Send_Null to Origin-State-Id AVP transmission state that should the transmitting terminal record, then record host name and the domain name of this transmitting terminal, and the Origin-State-Id AVP of this transmitting terminal that receives, feed back the Origin-State-Id AVP of this receiving terminal to transmitting terminal, and this locality is set to Sending_Proc to Origin-State-Id AVP transmission state that should the transmitting terminal record.
2) this receives before the status information of equipment of this transmitting terminal, sent local status information of equipment to this transmitting terminal, and the status information of equipment of this transmitting terminal that this receives then no longer sends local status information of equipment with identical with the status information of equipment of this receiving terminal of local record.
For example, if this receives before the Origin-State-Id AVP of transmitting terminal at receiving terminal, received the Origin-State-Id AVP of this transmitting terminal, and, this moment receiving terminal to should transmitting terminal the Origin-State-Id AVP transmission state of record be Sended_Proc, and in the identical situation of the Origin-State-Id value in should the Origin-State-Id AVP of transmitting terminal of the Origin-State-Id value of receiving terminal in judging this Origin-State-Id AVP that receives and local record, no longer send Origin-State-Id AVP to transmitting terminal.
Step 704: receiving terminal sends local status information of equipment to transmitting terminal.
In the embodiment of the invention step 704 specifically can be divided into following two kinds of situations:
1) before this receives the status information of equipment of this transmitting terminal, when receiving terminal did not send local status information of equipment to this transmitting terminal, receiving terminal sent local status information of equipment to transmitting terminal.
For example, if receiving terminal did not carry out information interaction (receiving terminal after restarting is judged the equipment that all transmitting terminals are does not have mutual mistake) with this transmitting terminal before judging, then after this receives the Origin-State-Id AVP of this transmitting terminal, record host name and the domain name of this transmitting terminal, simultaneously will this locality to should transmitting terminal the Origin-State-Id AVP transmission state of record be set to Send_Null, and feed back the Origin-State-Id AVP of this receiving terminal to transmitting terminal.
2) before this receives the status information of equipment of this transmitting terminal, receiving terminal sent local status information of equipment to transmitting terminal, and the status information of equipment of this transmitting terminal that this receives with the status information of equipment of this receiving terminal of local record not simultaneously, receiving terminal sends local status information of equipment to transmitting terminal.
For example, if this receives before the Origin-State-Id AVP of transmitting terminal at receiving terminal, received the Origin-State-Id AVP of this transmitting terminal, and, this moment receiving terminal to should transmitting terminal the Origin-State-Id AVP transmission state of record be Sended_Proc, and that receiving terminal is judged the Origin-State-Id value in should the Origin-State-Id AVP of transmitting terminal of Origin-State-Id value and local record among this Origin-State-Id AVP that receives is not identical, then discharge this transmitting terminal based on the resource of former Origin-State-Id AVP, to recording new Origin-State-Id AVP by transmitting terminal, and feed back the Origin-State-Id AVP of this receiving terminal to this transmitting terminal, will be Sending_Proc to Origin-State-Id AVP transmission state that should the transmitting terminal record.This kind situation can appear under the sight that transmitting terminal is restarted for some reason in transmitting terminal and the receiving terminal reciprocal process usually; at this moment; transmitting terminal is understood behind the Origin-State-Id value among the Origin-State-Id AVP+1 after restarting, and new Origin-State-Id AVP is sent to the receiving terminal that need to carry out information interaction.
The embodiment of the invention based on the Origin-State-Id AVP sending method that diameter protocol establishes a communications link, has designed a kind of Origin-State-Id AVP dispensing device based on diameter protocol based on above-mentioned transmitting terminal and receiving terminal, as shown in Figure 6, comprising:
Judge module 601 was used for before carrying out information interaction at every turn, judged whether the status information of equipment of this locality is sent to receiving terminal;
Information sending module 602, be used at every turn before carrying out information interaction, when judge module 701 is judged status information of equipment with this locality and is sent to receiving terminal, no longer send local status information of equipment, otherwise, send local status information of equipment to receiving terminal.
This judge module 601 specifically is used for, determining before this sends, to send local status information of equipment to receiving terminal, and when receiving first the status information of equipment of this receiving terminal of receiving terminal feedback, determine the status information of equipment of transmitting terminal is sent to receiving terminal; Perhaps, determining before this sends, to send local status information of equipment to receiving terminal, and when the facility information state of this receiving terminal of the receiving terminal that receives feedback is identical with the status information of equipment of this receiving terminal of local record, definitely the status information of equipment of transmitting terminal is sent to receiving terminal.
This judge module 601 specifically is used for, and when determining to send local status information of equipment to receiving terminal before this sends, determines the status information of equipment of transmitting terminal is sent to receiving terminal; Perhaps,
Determining before this sends to send local status information of equipment and when not receiving the status information of equipment of receiving terminal of feedback to receiving terminal, determining the status information of equipment of transmitting terminal is sent to receiving terminal; Perhaps,
In the original equipment state information of determining the up-to-date status information of equipment that receives this receiving terminal that receiving terminal sends and this receiving terminal of local record not simultaneously, not definitely the status information of equipment of transmitting terminal is sent to receiving terminal.
In concrete the application, this device can be PGW, and receiving terminal can be PCRF; Perhaps, this device is for can PCRF, and receiving terminal can be PGW.
In actual applications, carry out the interface of information interaction between this device and the receiving terminal, can be the Gx interface in the Long Term Evolution LTE network.
In addition, the Origin-State-Id AVP sending method that the embodiment of the invention also establishes a communications link based on diameter protocol based on above-mentioned transmitting terminal and receiving terminal, designed a kind of Origin-State-Id AVP dispensing device based on diameter protocol, as shown in Figure 8, having comprised:
Information receiving module 801 is used for receiving end/sending end and adopts the above-mentioned status information of equipment that sends based on the information interactive device of diameter protocol;
Judge module 802 be used for to judge that this receives before status information of equipment that this transmitting terminal sends, and whether the status information of equipment of this locality is sent to transmitting terminal;
Information sending module 803, be used for before judge module 802 is judged this status information of equipment that receives this transmitting terminal transmission, when the status information of equipment of this locality being sent to transmitting terminal, no longer send local status information of equipment, otherwise, send local status information of equipment to transmitting terminal.
In concrete the application, this device can be PCRF, and transmitting terminal can be PGW; Perhaps, this device can be PGW, and transmitting terminal can be PCRF.
In actual applications, carry out the interface of information interaction between this device and the transmitting terminal, can be the Gx interface in the Long Term Evolution LTE network.
In the embodiment of the invention, when transmitting terminal need to determine that the Origin-State-Id AVP transmission state of corresponding receiving terminal record is Sending_Proc or Send_Null, just need to send the message of carrying Origin-State-Id AVP, thereby reduced number of times and time that receiving terminal is processed Origin-State-Id AVP, very large raising the processing speed of message sink.Because receiving terminal need to be when receiving the message of carrying Origin-State-Id AVP, mate to determine by host name, domain name whether the opposite equip. state changes, therefore, the present invention has improved about the enclosed structure of Origin-State-Id AVP and process, under the prerequisite that does not change existing message structure, when having reduced the message sending and receiving, in equipment, repeat to search the process of opposite equip. host name, domain name.
The present invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device of the function that is used for being implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Although described the preferred embodiments of the present invention, in a single day those skilled in the art get the basic creative concept of cicada, then can make other change and modification to these embodiment.So claims are intended to all changes and the modification that are interpreted as comprising preferred embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification to the embodiment of the invention and not break away from the spirit and scope of the embodiment of the invention.Like this, if these of the embodiment of the invention are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (16)

1. status information of equipment sending method based on diameter protocol, transmitting terminal establishes a communications link based on diameter protocol and receiving terminal, it is characterized in that, comprising:
Each send message before, transmitting terminal judges whether the status information of equipment of this locality is sent to receiving terminal;
If, then no longer send local status information of equipment, otherwise, local status information of equipment sent to receiving terminal.
2. the method for claim 1 is characterized in that, transmitting terminal is determined the status information of equipment of this locality is sent to receiving terminal, comprising:
Transmitting terminal is determined to send local status information of equipment to receiving terminal before this sends, and receives first the status information of equipment of this receiving terminal of receiving terminal feedback; Perhaps,
Transmitting terminal is determined to send local status information of equipment to receiving terminal before this sends, and the facility information state of this receiving terminal of the receiving terminal that receives feedback is identical with the status information of equipment of this receiving terminal of local record.
3. the method for claim 1 is characterized in that, transmitting terminal is determined not the status information of equipment of this locality is sent to receiving terminal, comprising:
Transmitting terminal is determined not send local status information of equipment to receiving terminal before this sends; Perhaps,
Transmitting terminal is determined to send local status information of equipment to receiving terminal before this sends, and does not receive the status information of equipment of the receiving terminal of feedback; Perhaps,
Transmitting terminal determines that the up-to-date status information of equipment that receives this receiving terminal that receiving terminal sends is different from the status information of equipment of this receiving terminal of local record.
4. the method for claim 1 is characterized in that, comprising:
Described transmitting terminal is public data network gateway PGW, and described receiving terminal is strategy and charging regulation function entity PCRF; Perhaps,
Described transmitting terminal is PCRF, and described receiving terminal is PGW.
5. such as each described method among the claim 1-4, it is characterized in that, carry out information interaction by the Gx interface in the Long Term Evolution LTE network between described transmitting terminal and the receiving terminal.
6. the status information of equipment sending method based on diameter protocol is characterized in that, comprising:
Receiving terminal receives the status information of equipment that transmitting terminal sends;
Judge that this receives before status information of equipment that this transmitting terminal sends, whether the status information of equipment of this locality is sent to transmitting terminal;
If, then no longer send local status information of equipment, otherwise, local status information of equipment sent to transmitting terminal.
7. method as claimed in claim 6 is characterized in that, receiving terminal judges that the status information of equipment with this locality is sent to transmitting terminal, comprising before this status information of equipment that receives this transmitting terminal transmission:
This receives before the status information of equipment of this transmitting terminal, and receiving terminal sent local status information of equipment to transmitting terminal, and does not receive the status information of equipment of this transmitting terminal; Perhaps,
This receives before the status information of equipment of this transmitting terminal, has sent local status information of equipment to this transmitting terminal, and the status information of equipment of this this transmitting terminal that receives is with identical with the status information of equipment of this receiving terminal of local record.
8. such as claim 6 or 7 described methods, it is characterized in that receiving terminal judges that the status information of equipment with this locality is not sent to transmitting terminal, comprising before this status information of equipment that receives this transmitting terminal transmission:
This receives before the status information of equipment of this transmitting terminal, and receiving terminal did not send local status information of equipment to this transmitting terminal; Perhaps,
This receives before the status information of equipment of this transmitting terminal, and receiving terminal had sent local status information of equipment to transmitting terminal, and the status information of equipment of this this transmitting terminal that receives is from different with the status information of equipment of this receiving terminal of local record.
9. the status information of equipment dispensing device based on diameter protocol establishes a communications link based on diameter protocol and receiving terminal, it is characterized in that, comprising:
Judge module was used for before carrying out information interaction at every turn, judged whether the status information of equipment of this locality is sent to receiving terminal;
Information sending module was used for before carrying out information interaction at every turn, when judge module is judged status information of equipment with this locality and is sent to receiving terminal, no longer sent local status information of equipment, otherwise, send local status information of equipment to receiving terminal.
10. device as claimed in claim 9 is characterized in that, described judge module specifically is used for,
Determining before this sends, to have sent local status information of equipment to receiving terminal, and when receiving first the status information of equipment of this receiving terminal of receiving terminal feedback, definitely the status information of equipment of transmitting terminal is being sent to receiving terminal; Perhaps,
Determining before this sends, to send local status information of equipment to receiving terminal, and when the facility information state of this receiving terminal of the receiving terminal that receives feedback is identical with the status information of equipment of this receiving terminal of local record, definitely the status information of equipment of transmitting terminal is sent to receiving terminal.
11. device as claimed in claim 9 is characterized in that, described judge module specifically is used for,
When determining before this sends, to send local status information of equipment to receiving terminal, determine the status information of equipment of transmitting terminal is sent to receiving terminal; Perhaps,
Determining before this sends to send local status information of equipment and when not receiving the status information of equipment of receiving terminal of feedback to receiving terminal, determining the status information of equipment of transmitting terminal is sent to receiving terminal; Perhaps,
In the original equipment state information of determining the up-to-date status information of equipment that receives this receiving terminal that receiving terminal sends and this receiving terminal of local record not simultaneously, not definitely the status information of equipment of transmitting terminal is sent to receiving terminal.
12. device as claimed in claim 9 is characterized in that, comprising:
This device is public data network gateway PGW, and described receiving terminal is strategy and charging regulation function entity PCRF; Perhaps,
This device is PCRF, and described receiving terminal is PGW.
13. such as each described device among the claim 9-12, it is characterized in that,
And carry out the interface of information interaction between the receiving terminal, be the Gx interface in the Long Term Evolution LTE network.
14. the status information of equipment dispensing device based on diameter protocol is characterized in that, comprising:
Information receiver is used for the status information of equipment that receiving end/sending end sends;
Judge module be used for to judge that this receives before status information of equipment that this transmitting terminal sends, and whether the status information of equipment of this locality is sent to transmitting terminal;
Information sending module, be used for judging before this receives status information of equipment that this transmitting terminal sends at judge module, when the status information of equipment of this locality being sent to transmitting terminal, no longer send local status information of equipment, otherwise, send local status information of equipment to transmitting terminal.
15. device as claimed in claim 14 is characterized in that, described judge module specifically is used for,
Before determining that this receives the status information of equipment of this transmitting terminal, had sent local status information of equipment to transmitting terminal, and when not receiving the status information of equipment of this transmitting terminal, judgement is sent to transmitting terminal with the status information of equipment of this locality; Perhaps,
Before definite this receives the status information of equipment of this transmitting terminal, sent local status information of equipment to this transmitting terminal, and the status information of equipment of this transmitting terminal that this receives is when identical with the status information of equipment of this receiving terminal of local record, judges that the status information of equipment with this locality is sent to transmitting terminal.
16., it is characterized in that described judge module specifically is used for such as the described device of claims 14 or 15,
Before definite this received the status information of equipment of this transmitting terminal, when receiving terminal did not send local status information of equipment to this transmitting terminal, judgement was not sent to transmitting terminal with the status information of equipment of this locality;
Perhaps, before definite this receives the status information of equipment of this transmitting terminal, receiving terminal sent local status information of equipment to transmitting terminal, and the status information of equipment of this transmitting terminal that this receives is from different with the status information of equipment of this receiving terminal of local record, judges that the status information of equipment with this locality is not sent to transmitting terminal.
CN201210337494.3A 2012-09-12 2012-09-12 A kind of Origin-State-Id AVP sending method based on Diameter and device Active CN102883308B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210337494.3A CN102883308B (en) 2012-09-12 2012-09-12 A kind of Origin-State-Id AVP sending method based on Diameter and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210337494.3A CN102883308B (en) 2012-09-12 2012-09-12 A kind of Origin-State-Id AVP sending method based on Diameter and device

Publications (2)

Publication Number Publication Date
CN102883308A true CN102883308A (en) 2013-01-16
CN102883308B CN102883308B (en) 2015-08-19

Family

ID=47484410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210337494.3A Active CN102883308B (en) 2012-09-12 2012-09-12 A kind of Origin-State-Id AVP sending method based on Diameter and device

Country Status (1)

Country Link
CN (1) CN102883308B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429812A (en) * 2014-09-12 2016-03-23 中兴通讯股份有限公司 Node state detection method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008147933A2 (en) * 2007-05-25 2008-12-04 Interdigital Technology Corporation Protocol architecture for access mobility in wireless communications
CN101582835A (en) * 2008-05-13 2009-11-18 华为技术有限公司 Method, system and device for alternating equipment capability
CN101848065A (en) * 2010-06-04 2010-09-29 中兴通讯股份有限公司 Information transmission method and information transmission device
CN101872303A (en) * 2010-06-03 2010-10-27 深圳天源迪科信息技术股份有限公司 Method for processing Diameter protocol message
US20120131639A1 (en) * 2010-11-23 2012-05-24 Cisco Technology, Inc. Session redundancy among a server cluster

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008147933A2 (en) * 2007-05-25 2008-12-04 Interdigital Technology Corporation Protocol architecture for access mobility in wireless communications
WO2008147933A3 (en) * 2007-05-25 2009-02-12 Interdigital Tech Corp Protocol architecture for access mobility in wireless communications
CN101582835A (en) * 2008-05-13 2009-11-18 华为技术有限公司 Method, system and device for alternating equipment capability
CN101872303A (en) * 2010-06-03 2010-10-27 深圳天源迪科信息技术股份有限公司 Method for processing Diameter protocol message
CN101848065A (en) * 2010-06-04 2010-09-29 中兴通讯股份有限公司 Information transmission method and information transmission device
US20120131639A1 (en) * 2010-11-23 2012-05-24 Cisco Technology, Inc. Session redundancy among a server cluster

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429812A (en) * 2014-09-12 2016-03-23 中兴通讯股份有限公司 Node state detection method and device

Also Published As

Publication number Publication date
CN102883308B (en) 2015-08-19

Similar Documents

Publication Publication Date Title
US11083033B2 (en) Small data usage enablement in 3GPP networks
EP3022952B1 (en) Billing of relayed device
CN104320499B (en) The method for building up and device of a kind of service transmission link
CN109548063B (en) Method, device, equipment and storage medium for processing message
CN102177697A (en) Method for controlling internet services, and relevant device and system
EP2905979A1 (en) Charge control method, device and system for roaming user data service
CN102638789B (en) Method for establishing point-to-point transmission and mobile communication system
CN103957542A (en) Method and apparatus for establishing service bearer
CN101702797B (en) Flow accounting method of group user, device thereof and system thereof
CN103731817B (en) Data transmission method and equipment
CN104796887A (en) Method and device for safely exchanging information
CN102868989A (en) Method, system and equipment for call ticket generation in long-term evolution fusion type core network
CN102790959B (en) Method and device for sending Diameter messages
CN103648126A (en) Fault processing method and device
EP3737065A1 (en) Multipath establishing method and apparatus
CN102883308B (en) A kind of Origin-State-Id AVP sending method based on Diameter and device
CN102333312B (en) Message transmission method and device for re-authentication (RA) process
CN109391914B (en) Method and equipment for addressing session
CN105187236B (en) A kind of method of network flow migration
CN115022981A (en) Method and device for establishing bearing and readable storage medium
CN110401557A (en) A kind of network collocating method of terminal device, device and server
CN103619005A (en) Method and system for obtaining cell phone number of 3G network user
CN104702529A (en) Method, system and equipment for controlling service bandwidths
CN102970669A (en) Phone bill sending and processing method and device
RU2656248C2 (en) Message transmission method, apparatus and gateway device

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