CN102883308B - A kind of Origin-State-Id AVP sending method based on Diameter and device - Google Patents

A kind of Origin-State-Id AVP sending method based on Diameter and device Download PDF

Info

Publication number
CN102883308B
CN102883308B CN201210337494.3A CN201210337494A CN102883308B CN 102883308 B CN102883308 B CN 102883308B CN 201210337494 A CN201210337494 A CN 201210337494A CN 102883308 B CN102883308 B CN 102883308B
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.)
Active
Application number
CN201210337494.3A
Other languages
Chinese (zh)
Other versions
CN102883308A (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

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of Origin-State-Id AVP sending method based on Diameter and device, the method comprises, transmitting terminal establishes a communications link based on diameter protocol and receiving terminal, comprise: before each transmission message, transmitting terminal judges whether the status information of equipment of this locality to be sent to receiving terminal; If, then no longer send local status information of equipment, otherwise, local status information of equipment is sent to receiving terminal, when there is each information interaction in order to solve in prior art, receiving terminal all needs the problem judging the consumption of system resource that the situation whether equipment state of transmitting terminal has lost causes and the prolongation of message processing time according to the Origin-State-Id value received.

Description

A kind of Origin-State-Id AVP sending method based on Diameter and device
Technical field
The present invention relates to mobile communication technology field, particularly a kind of Origin-State-Id AVP sending method based on Diameter and device.
Background technology
RADIUS(Remote Authentication Dial In User Service, remote customer dialing authentication system) agreement is current most widely used a kind of AAA(Authentication AuthorizationAccounting, Certificate Authority is kept accounts) agreement, and Diameter(diameter) agreement is the upgraded version of radius protocol, by IETF(Internet Engineering Task Force, Internet Engineering Task group) AAA working group as follow-on aaa protocol standard.
In Diameter, use Origin-State-Id(source-state-mark) AVP(Attribute-Value-Pair, attribute-content-to group) carry out indication equipment state, also referred to as status information of equipment.This AVP carries in every bar interaction message, is convenient to the equipment state that recipient understands transmit leg.
If the value of the Origin-State-Id AVP that recipient judges in the Origin-State-Id AVP received changes, can think that the equipment state of the transmit leg that former Origin-State-Id AVP is corresponding is lost, need to remove the local resource about the transmit leg of former Origin-State-Id AVP.After recipient receives Origin-State-Id AVP, need, by host name, the domain name of the local transmit leg preserved of character string traversal, to find the state before the equipment of this transmit leg.Such processing mode, has increased the weight of the processing load of recipient, greatly slow down the processing speed of recipient.
LTE(Long Term Evolution, Long Term Evolution) the SAE(System ArchitectureEvolution of network, System Architecture Evolution) network topology structure of framework is illustrated in fig. 1 shown below, Gx interface is positioned at PGW(and PDN GW, Public Data Network Gateway, 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.Policing rule is configured to PCC rule and is handed down to PGW by PCRF, and PGW is tied to these rules in corresponding carrying, is issued to service surface, is undertaken performing these rules, thus reach the object of policy control by service surface.
Information interactive process between PGW and 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 feeds back CCA-I message and receives CCA(Credit Control Answer to PGW, PGW, Credit Control Answer) after-I confirms to set up session, the success of session establishment between the two.
Upgrade conversation procedure and comprise two kinds of situations.Wherein a kind of situation as shown in Figure 3A, initiated to upgrade conversation procedure by PGW.PGW sends CCR-U message to PCRF, asks more new session, and PCRF feeds back CCA-U message to PGW, confirms to set up to upgrade conversation procedure.
And another kind of situation, as shown in Figure 3 B, initiated to upgrade conversation procedure by PCRF, PCRF by the request of more new session by RAR(Re Auth Request, again authentication request) message sends to PGW, PGW will confirm to set up the RAA(Re Auth Answer of more new session, authentication response again) message feedback is to PCRF.
Delete conversation procedure as shown in Figure 4, the CCR-T message that session is deleted in request is sent to PCRF by PGW, and PCRF feeds back CCA-T message to PGW after deleting session.
Information interactive process between above-mentioned PGW and PCRF is mainly by two pairs of message, and CCR/CCA message and RAR/RAA message realize.Origin-State-Id AVP is all carried in CCR/CCA message and RAR/RAA message.
In the prior art, transmitting terminal needs the Origin-State-Id AVP carrying this equipment in every bar Gx interface message.Receiving terminal needs the local Origin-State-Id AVP searched in device storage information by character string in local record after receiving message, whether the value of the Origin-State-Id AVP relatively received 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, by Gx interface, carry out interacting message based on Diameter.Diameter defines Origin-State-Id AVP, and whether this AVP equipment occurred was restarted for being detected same entity device.When PGW network element (or PCRF network element) receives multiple Origin-State-Id AVP of same sender transmission, the Origin-State-Id AVP be currently received if compare is larger than the value of the last Origin-State-IdAVP received, can think that this equipment state is lost, and on the basis of the upper Origin-State-Id AVP once received, carry out all sessions stop.When PGW network element or PCRF network element detect this situation, need the resource removing the local all sessions carried out on the upper Origin-State-Id AVP basis once received.
Origin-Host (source-main frame) and Origin-Realm (source-domain name) AVP is used to come the source of identification message in Diameter.Origin-Host adopts character string type, in order to show the source node producing 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 sent each time, Origin-Host and Origin-Realm that Origin-Host and Origin-Realm in the Origin-State-Id AVP received is corresponding with the opposite equip. list of local maintenance compares by receiving terminal, from the opposite equip. list of local maintenance, find out the Origin-State-Id value corresponding with this transmitting terminal of having preserved, compare with the Origin-State-Id value be currently received, judge whether this equipment state loses.
This method of carrying Origin-State-Id AVP in each message sent by Gx interface, although can after opposite equip. loss of state, remove the resource of all sessions that the local Origin-State-IdAVP received based on the last time carries out, but owing to carrying Origin-State-Id AVP in each message sent by Gx interface, and receiving terminal often receives the message of once carrying Origin-State-Id AVP, Origin-Host and Origin-Realm in Origin-Host and Origin-Realm in the opposite equip. list of local maintenance and the message that is currently received just is needed to compare, judge whether this equipment state loses.This method repeating character string comparison consumes system resource greatly, and adds the time of processing messages.
Summary of the invention
The embodiment of the present invention provides a kind of status information of equipment sending method based on Diameter and device, when there is each information interaction in order to solve in prior art, and the problem that the system resources consumption of existence and message processing time extend.
The concrete technical scheme that the embodiment of the present invention provides is as follows:
Embodiments provide 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: before each transmission message, transmitting terminal judges whether the status information of equipment of this locality to be sent to receiving terminal; If so, local status information of equipment is then no longer sent, otherwise, send local status information of equipment to receiving terminal.
Based on a status information of equipment sending method for diameter protocol, comprising:
Receiving terminal receiving end/sending end adopts the status information of equipment as the above-mentioned information interacting method based on diameter protocol sends; Judge this receive this transmitting terminal send status information of equipment before, whether the status information of equipment of this locality is sent to transmitting terminal;
If so, local status information of equipment is then no longer sent, otherwise, send local status information of equipment to transmitting terminal.
Based on a status information of equipment dispensing device for diameter protocol, establish a communications link based on diameter protocol and receiving terminal, comprising:
Judge module, for before carrying out information interaction at every turn, judges whether the status information of equipment of this locality to be sent to receiving terminal;
Information sending module, for before carrying out information interaction at every turn, when judge module is judged the status information of equipment of this locality to be sent to receiving terminal, no longer sends local status information of equipment, otherwise, send local status information of equipment to receiving terminal.
Based on a status information of equipment dispensing device for diameter protocol, comprising:
Information receiver, for receiving the status information of equipment that the above-mentioned information interactive device based on diameter protocol sends;
Judge module, for judge this receive this transmitting terminal send status information of equipment before, whether the status information of equipment of this locality is sent to transmitting terminal;
Information sending module, before judging that at judge module this receives the status information of equipment that this transmitting terminal sends, 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 present invention, devise a kind of status information of equipment sending method based on Diameter and device, transmitting terminal is when judging the status information of equipment of this locality not to be sent to receiving terminal, just in the message sending to receiving terminal, carry Origin-State-Id value, like this, while making transmitting terminal can judge whether the status information of equipment of receiving terminal is lost exactly, effectively reduce consumption and the message processing time of system resource, optimize entire system performance.
Accompanying drawing explanation
Fig. 1 is the network topology structure of the SAE framework of LTE network in prior art;
Fig. 2 is the process creating session in prior art between PGW and PCRF;
Fig. 3 A is initiated to upgrade conversation procedure by PGW in prior art;
Fig. 3 B is initiated to upgrade conversation procedure by PCRF in prior art;
Fig. 4 is the process of deleting session in prior art between PGW and PCRF;
Fig. 5 is the information interacting method flow chart of the transmitting terminal of the embodiment of the present invention;
Fig. 6 is the transmitting terminal device schematic diagram of the embodiment of the present invention;
Fig. 7 is the information interacting method flow chart of the receiving terminal of the embodiment of the present invention;
Fig. 8 is the device schematic diagram of the receiving terminal of the embodiment of the present invention.
Embodiment
In the embodiment of the present invention, devise a kind of based on Diameter(diameter) the Origin-State-IdAVP sending method of agreement, transmitting terminal is only when judging the status information of equipment of this locality not to be sent to receiving terminal, just in the message sending to receiving terminal, carry Origin-State-Id value, like this, the message processing time of communicating pair can be saved.
Below in conjunction with accompanying drawing, the preferred embodiment of the present invention is described in detail.
The embodiment of the present invention can be, but not limited to send Origin-State-Id AVP state by following manner to equipment and carries out record.In the embodiment of the present invention, define 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) all represent that the status information of equipment of this locality is not sent to the situation of receiving terminal by transmitting terminal; And Sended_Proc(had sent, and receive response message) then represent that the status information of equipment of this locality has been sent to the situation of receiving terminal by transmitting terminal.
Local record to should the Origin-State-Id AVP of receiving terminal to send state be Send_Null or Sending_Proc time, send local Origin-State-Id AVP to receiving terminal.
Before carrying out information interaction at every turn, transmitting terminal local record to should the Origin-State-Id AVP of receiving terminal to send state be Sended_Proc time, do not send local Origin-State-Id AVP to receiving terminal.
Consult shown in Fig. 5, in the embodiment of the present invention, after transmitting terminal establishes a communications link based on Diameter and receiving terminal, the detailed process carrying out information interaction with receiving terminal is as follows:
Step 501: before each transmission message, transmitting terminal judges whether the Origin-State-Id AVP of this locality to be sent to receiving terminal, if so, carry out step 502, otherwise, carry out step 503.
In the embodiment of the present invention, transmitting terminal according to local record to should receiving terminal Origin-State-IdAVP send condition adjudgement whether the Origin-State-Id AVP of this locality is sent to receiving terminal, as previously mentioned, Send_Null(did not send) and Sending_Proc( send, also do not receive response message) all represent that the status information of equipment of this locality is not sent to the situation of receiving terminal by transmitting terminal; And Sended_Proc(had sent, and receive response message) then represent that the status information of equipment of this locality has been sent to the situation of receiving terminal by transmitting terminal.
Step 502: transmitting terminal no longer sends local Origin-State-Id AVP to this receiving terminal.
In the embodiment of the present invention, the concrete executive mode of step 502 can be divided into following three kinds (being only citing to be not limited thereto):
1) transmitting terminal is determined to send local status information of equipment to receiving terminal before this sends, and when receiving the status information of equipment of this receiving terminal of receiving terminal feedback first, judge the Origin-State-Id AVP of this locality to be sent to receiving terminal, and no longer send local Origin-State-Id AVP to this receiving terminal.
Such as, 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 by this locality to should receiving terminal record Origin-State-Id AVP send state be set to Sending_Proc.Before this sends, transmitting terminal receive this receiving terminal feedback carry the response message of Origin-State-Id AVP of this receiving terminal after, when being defined as the Origin-State-Id AVP receiving this receiving terminal first, record receives the Origin-State-Id AVP of this receiving terminal that receiving terminal sends first, by this locality to the Origin-State-Id AVP of receiving terminal record should sending state and 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 received feedback is identical with the status information of equipment of this receiving terminal of local record, judge the Origin-State-Id AVP of this locality to be sent to receiving terminal, and no longer send local Origin-State-Id AVP to this receiving terminal.
Such as, if carried out information interaction with this receiving terminal before transmitting terminal, the new Origin-State-Id AVP that this receiving terminal sends is received in information interactive process, and the Origin-State-Id value of this new Origin-State-Id AVP is identical with the Origin-State-Id value in the Origin-State-Id AVP of this receiving terminal of local record, then by this locality to the Origin-State-Id AVP of receiving terminal record should sending state and 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 present invention, the concrete executive mode of step 503 can be divided into following three kinds (being only citing to be not limited thereto):
1) when transmitting terminal is determined not send local Origin-State-Id AVP to receiving terminal before this sends, then the Origin-State-Id AVP of this locality is sent to receiving terminal, and by this locality to should receiving terminal record Origin-State-Id AVP send state be set to Sending_Proc.
Such as, when transmitting terminal judges that the Origin-State-Id AVP of local corresponding receiving terminal record sends state as Send_Null, determine 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-IdAVP of this locality is sent to this receiving terminal again, and by this locality to should receiving terminal record Origin-State-Id AVP send state be set to Sending_Proc.
3) transmitting terminal determines that the Origin-State-Id value in the up-to-date Origin-State-Id AVP receiving this receiving terminal that receiving terminal sends is different from the Origin-State-Id value in the Origin-State-Id AVP of this receiving terminal of local record, then judge the Origin-State-Id AVP of this locality not to be sent to receiving terminal, record the up-to-date Origin-State-Id value receiving this receiving terminal that receiving terminal sends, and send local Origin-State-Id AVP to this receiving terminal.
Such as, transmitting terminal is determined to send local Origin-State-IdAVP to receiving terminal before this sends, and the Origin-State-Id value in the Origin-State-Id AVP of this receiving terminal that the up-to-date receiving terminal that receives sends than local to should Origin-State-Id value in the Origin-State-Id AVP of receiving terminal record greatly, then record the up-to-date Origin-State-Id AVP receiving this receiving terminal that receiving terminal sends, the Origin-State-Id AVP of this locality is sent to this receiving terminal, and by this locality to should receiving terminal record Origin-State-Id AVP send state be set to Sending_Proc.Under this kind of situation is usually found in the sight that in transmitting terminal and receiving terminal reciprocal process, receiving terminal is restarted for some reason; now; receiving terminal can by the Origin-State-Id value+1 in Origin-State-Id AVP after restarting, and what thus just there will be transmitting terminal and receiving terminal records inconsistent situation.
With a kind of concrete application scenarios, further description is made to above-described embodiment below.
In practical application, transmitting terminal can be PGW, and receiving terminal can be PCRF, or transmitting terminal is PCRF, and receiving terminal is PGW.And the information interaction between PGW and PCRF can by the Gx Interface realization for charging control and policy control.Be described respectively for both of these case below.
Such as, the Origin-State-Id AVP of this locality, before this sends CCR-I message to PCRF, is not sent to PCRF if judge by PGW, then need to carry local Origin-State-Id AVP in the message sent at this; Origin-State-Id AVP was sent to this PCRF if judge, and received the response message of this PCRF feedback, and the status information of equipment of this PCRF does not have modified, then do not need to carry local Origin-State-Id AVP in the message sent at this.
On the other hand, the Origin-State-Id AVP of this locality, before this sends CCA message to PGW, is not sent to PGW if judge by PCRF, then need to carry local Origin-State-Id AVP in the message sent at this; Origin-State-Id AVP was sent to this PGW if judge, and received the response message of this PGW feedback, and the status information of equipment of this PGW does not have modified, then do not need to carry local Origin-State-Id AVP in the message sent at this.
Corresponding with above-described embodiment, receiving terminal receive transmitting terminal send carry the message of Origin-State-Id AVP of this transmitting terminal after, need the Origin-State-Id AVP in processing messages, 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, all represent that the status information of equipment of this locality is not sent to the situation of this transmitting terminal by receiving terminal, need again to send local Origin-State-Id AVP to this transmitting terminal; And Sended_Proc represents that the status information of equipment of this locality has been sent to the situation of transmitting terminal by receiving terminal, before carrying out information interaction at every turn, if receiving terminal local record to should the Origin-State-IdAVP of transmitting terminal to send state be Sended_Proc, no longer send local Origin-State-Id AVP to transmitting terminal.
In the embodiment of the present invention, receiving terminal, after receiving transmitting terminal and sending the Origin-State-IdAVP of this transmitting terminal, carries out the detailed process of information interaction as shown in Figure 7 with transmitting terminal, comprising:
Step 701: the status information of equipment that receiving terminal receiving end/sending end adopts the method for embodiment of the present invention design to send;
Step 702: receiving terminal judge this receive this transmitting terminal send status information of equipment before, whether the status information of equipment of this locality is sent to transmitting terminal, if so, then carry out step 703, otherwise carry out step 704.
Step 703: receiving terminal no longer sends local status information of equipment.
In the embodiment of the present invention, the embodiment of step 703 can be divided into the following two kinds:
1) before this receives the status information of equipment of this transmitting terminal, receiving terminal sent local status information of equipment to transmitting terminal, and did not receive the status information of equipment of this transmitting terminal, then no longer send local status information of equipment.
Such as, if this Origin-State-Id AVP receiving transmitting terminal of receiving terminal is what receive first, and now local to should the Origin-State-Id AVP of transmitting terminal record to send state be Send_Null, then record host name and the domain name of this transmitting terminal, and the Origin-State-Id AVP of this transmitting terminal received, feed back the Origin-State-Id AVP of this receiving terminal to transmitting terminal, and by this locality to should transmitting terminal record Origin-State-Id AVP send state be set to Sending_Proc.
2) before 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 this transmitting terminal received is identical with the status information of equipment of this receiving terminal with local record, then no longer send local status information of equipment.
Such as, if before at receiving terminal, this receives the Origin-State-Id AVP of transmitting terminal, accept the Origin-State-Id AVP being this transmitting terminal, and, now receiving terminal to should transmitting terminal record Origin-State-Id AVP send state be Sended_Proc, and receiving terminal when judge the Origin-State-Id value in the Origin-State-Id AVP that this receives and local record to should Origin-State-Id value in the Origin-State-Id AVP of transmitting terminal identical, 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 present invention step 704 specifically can be divided into the following two kinds situation:
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.
Such as, if receiving terminal did not carry out information interaction (receiving terminal after restarting judges that all transmitting terminals are the equipment of not mutual mistake) before judging with this transmitting terminal, 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 by this locality to the Origin-State-Id AVP of transmitting terminal record state should be sent 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 when the status information of equipment of this this transmitting terminal received is different from the status information of equipment of this receiving terminal with local record, receiving terminal sends local status information of equipment to transmitting terminal.
Such as, if before at receiving terminal, this receives the Origin-State-Id AVP of transmitting terminal, accept the Origin-State-Id AVP being this transmitting terminal, and, now receiving terminal to should transmitting terminal record Origin-State-Id AVP send state be Sended_Proc, and receiving terminal judge Origin-State-Id value in this Origin-State-Id AVP received and local record to should Origin-State-Id value in the Origin-State-Id AVP of transmitting terminal not identical, then discharge the resource of this transmitting terminal based on former Origin-State-Id AVP, to should the new Origin-State-Id AVP of transmitting terminal record, and the Origin-State-Id AVP of this receiving terminal is fed back to this transmitting terminal, by to should transmitting terminal record Origin-State-Id AVP send state be Sending_Proc.Under this kind of situation is usually found in the sight that in transmitting terminal and receiving terminal reciprocal process, transmitting terminal is restarted for some reason; now; new Origin-State-Id AVP by after the Origin-State-Id value+1 in Origin-State-Id AVP, and can be sent to the receiving terminal needing to carry out information interaction by transmitting terminal after restarting.
The Origin-State-Id AVP sending method that the embodiment of the present invention establishes a communications link based on diameter protocol based on above-mentioned transmitting terminal and receiving terminal, devises a kind of Origin-State-Id AVP dispensing device based on diameter protocol, as shown in Figure 6, comprising:
Judge module 601, for before carrying out information interaction at every turn, judges whether the status information of equipment of this locality to be sent to receiving terminal;
Information sending module 602, for before carrying out information interaction at every turn, when judge module 701 is judged the status information of equipment of this locality to be 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 for, determining to send local status information of equipment to receiving terminal before this sends, and when receiving the status information of equipment of this receiving terminal of receiving terminal feedback first, determine the status information of equipment of transmitting terminal to be sent to receiving terminal; Or, determining 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 received feedback is identical with the status information of equipment of this receiving terminal of local record, determine the status information of equipment of transmitting terminal to be sent to receiving terminal.
This judge module 601 specifically for, when determining not send local status information of equipment to receiving terminal before this sends, determine the status information of equipment of transmitting terminal to be sent to receiving terminal; Or,
When not receiving the status information of equipment of the receiving terminal of feedback determining to send local status information of equipment to receiving terminal before this sends, determine to be sent to by the status information of equipment of transmitting terminal receiving terminal; Or,
Determine up-to-date receive receiving terminal send the status information of equipment of this receiving terminal different from the original equipment state information of this receiving terminal of local record time, determine the status information of equipment of transmitting terminal to be sent to receiving terminal.
In a particular application, this device can be PGW, and receiving terminal can be PCRF; Or this device is can PCRF, and receiving terminal can be PGW.
In actual applications, carrying out the interface of information interaction between this device and receiving terminal, can be the Gx interface in Long Term Evolution LTE network.
In addition, the embodiment of the present invention is also based on the Origin-State-Id AVP sending method that above-mentioned transmitting terminal and receiving terminal establish a communications link based on diameter protocol, devise a kind of Origin-State-IdAVP dispensing device based on diameter protocol, as shown in Figure 8, comprising:
Information receiving module 801, for the status information of equipment that receiving end/sending end adopts the above-mentioned information interactive device based on diameter protocol to send;
Judge module 802, for judge this receive this transmitting terminal send status information of equipment before, whether the status information of equipment of this locality is sent to transmitting terminal;
Information sending module 803, for judge at judge module 802 this receive this transmitting terminal send status information of equipment before, 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 a particular application, this device can be PCRF, and transmitting terminal can be PGW; Or this device can be PGW, transmitting terminal can be PCRF.
In actual applications, carrying out the interface of information interaction between this device and transmitting terminal, can be the Gx interface in Long Term Evolution LTE network.
In the embodiment of the present invention, when transmitting terminal needs to determine the Origin-State-Id AVP of corresponding receiving terminal record to send state is Sending_Proc or Send_Null, just need to send the message of carrying Origin-State-Id AVP, thus decrease receiving terminal to the number of times of Origin-State-Id AVP process and time, the very large processing speed that improve message sink.Because receiving terminal needs when receiving the message of carrying Origin-State-Id AVP, determine whether opposite equip. state changes by host name, domain name coupling, therefore, present invention improves over the enclosed structure about Origin-State-Id AVP and process, under the prerequisite not changing existing message structure, when decreasing message transmission and receive, repeat the process of searching opposite equip. host name, domain name in a device.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present invention and not depart from the spirit and scope of the embodiment of the present invention.Like this, if these amendments of the embodiment of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (16)

1., based on a status information of equipment sending method for diameter protocol, transmitting terminal establishes a communications link based on diameter protocol and receiving terminal, it is characterized in that, comprising:
Before each transmission message, transmitting terminal, according to the transmission state of the status information of equipment to receiving terminal transmission of local record, judges whether the status information of equipment of this locality to be sent to receiving terminal;
If the transmission state according to the status information of equipment to receiving terminal transmission of described local record determines that the status information of equipment of this locality is sent to receiving terminal by, then no longer send local status information of equipment, otherwise, send local status information of equipment 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 to be sent to receiving terminal, comprising:
Transmitting terminal is determined to send local status information of equipment to receiving terminal before this sends, and receives the status information of equipment of this receiving terminal of receiving terminal feedback first; Or,
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 received 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 the status information of equipment of this locality not to be sent to receiving terminal, comprising:
Transmitting terminal is determined not send local status information of equipment to receiving terminal before this sends; Or,
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; Or,
Transmitting terminal determine up-to-date receive receiving terminal send the status information of equipment of this receiving terminal 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; Or,
Described transmitting terminal is PCRF, and described receiving terminal is PGW.
5. the method according to any one of claim 1-4, is characterized in that, carries out information interaction between described transmitting terminal and receiving terminal by the Gx interface in Long Term Evolution LTE network.
6., based on a status information of equipment sending method for diameter protocol, it is characterized in that, comprising:
Receiving terminal receives the status information of equipment that transmitting terminal sends;
Before this receives the status information of equipment that this transmitting terminal sends, whether the transmission condition adjudgement according to the status information of equipment sent to this transmitting terminal of local record is sent to transmitting terminal by the status information of equipment of this locality;
If the transmission state according to the status information of equipment sent to this transmitting terminal of local record determines that the status information of equipment of this locality is sent to transmitting terminal by, then no longer send local status information of equipment, otherwise, send local status information of equipment to transmitting terminal.
7. method as claimed in claim 6, is characterized in that, the status information of equipment of this locality is sent to transmitting terminal, comprises before judging that this receives the status information of equipment that this transmitting terminal sends by receiving terminal:
Before this receives the status information of equipment of this transmitting terminal, receiving terminal sent local status information of equipment to transmitting terminal, and did not receive the status information of equipment of this transmitting terminal; Or,
Before 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 this transmitting terminal received is identical with the status information of equipment of this receiving terminal with local record.
8. method as claimed in claims 6 or 7, is characterized in that, the status information of equipment of this locality is not sent to transmitting terminal, comprises before judging that this receives the status information of equipment that this transmitting terminal sends by receiving terminal:
Before this receives the status information of equipment of this transmitting terminal, receiving terminal did not send local status information of equipment to this transmitting terminal; Or,
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 this transmitting terminal received is different from the status information of equipment of this receiving terminal with local record.
9., based on a status information of equipment dispensing device for diameter protocol, establish a communications link based on diameter protocol and receiving terminal, it is characterized in that, comprising:
Judge module, for before carrying out information interaction at every turn, according to the transmission state of the status information of equipment to receiving terminal transmission of local record, judges whether the status information of equipment of this locality to be sent to receiving terminal;
Information sending module, for before carrying out information interaction at every turn, judge module according to the transmission condition adjudgement of status information of equipment sent to receiving terminal of described local record go out the status information of equipment of this locality is sent to receiving terminal time, no longer send 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 for,
Determining to send local status information of equipment to receiving terminal before this sends, and when receiving the status information of equipment of this receiving terminal of receiving terminal feedback first, determining the status information of equipment of transmitting terminal to be sent to receiving terminal; Or,
Determining 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 received feedback is identical with the status information of equipment of this receiving terminal of local record, determine the status information of equipment of transmitting terminal to be sent to receiving terminal.
11. devices as claimed in claim 9, is characterized in that, described judge module specifically for,
When determining not send local status information of equipment to receiving terminal before this sends, determine the status information of equipment of transmitting terminal to be sent to receiving terminal; Or,
When not receiving the status information of equipment of the receiving terminal of feedback determining to send local status information of equipment to receiving terminal before this sends, determine to be sent to by the status information of equipment of transmitting terminal receiving terminal; Or,
Determine up-to-date receive receiving terminal send the status information of equipment of this receiving terminal different from the original equipment state information of this receiving terminal of local record time, determine the status information of equipment of transmitting terminal to be sent to receiving terminal.
12. devices 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; Or,
This device is PCRF, and described receiving terminal is PGW.
13. devices according to any one of claim 9-12, is characterized in that,
And carrying out the interface of information interaction between receiving terminal, is the Gx interface in Long Term Evolution LTE network.
14. 1 kinds, based on the status information of equipment dispensing device of diameter protocol, is characterized in that, comprising:
Information receiver, for the status information of equipment that receiving end/sending end sends;
Judge module, for receive status information of equipment that this transmitting terminal sends at this before, whether the transmission condition adjudgement according to the status information of equipment sent to this transmitting terminal of local record is sent to transmitting terminal by the status information of equipment of this locality;
Information sending module, for to go out before this receives the status information of equipment that this transmitting terminal sends according to the transmission condition adjudgement of the status information of equipment sent to this transmitting terminal of local record 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. devices as claimed in claim 14, is characterized in that, described judge module specifically for,
Before determining that this receives the status information of equipment of this transmitting terminal, sent local status information of equipment to transmitting terminal, and when not receiving the status information of equipment of this transmitting terminal, judge the status information of equipment of this locality to be sent to transmitting terminal; Or,
Before determining that this receives the status information of equipment of this transmitting terminal, sent local status information of equipment to this transmitting terminal, and when the status information of equipment of this this transmitting terminal received is identical with the status information of equipment of this receiving terminal with local record, judge the status information of equipment of this locality to be sent to transmitting terminal.
16. devices as described in claims 14 or 15, is characterized in that, described judge module specifically for,
Before determining that 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, judged the status information of equipment of this locality not to be sent to transmitting terminal;
Or, before determining that 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 this transmitting terminal received is different from the status information of equipment of this receiving terminal with local record, judge the status information of equipment of this locality not to be 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 CN102883308A (en) 2013-01-16
CN102883308B true 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)

Families Citing this family (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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8499336B2 (en) * 2010-11-23 2013-07-30 Cisco Technology, Inc. Session redundancy among a server cluster

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN102883308A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
KR102546956B1 (en) Small data usage enablement in 3gpp networks
JP6797288B2 (en) Billing management methods, user plane functional entities, and control plane functional entities
CN104320499B (en) The method for building up and device of a kind of service transmission link
CN101141821B (en) Strategy and charge execution function node locating method of wireless communication network
CN109548063B (en) Method, device, equipment and storage medium for processing message
US11233694B2 (en) Method and device for processing communication path
US20150230074A1 (en) Charging Control Method, Device, and System for Data Service of Roaming Subscriber
CN102638789B (en) Method for establishing point-to-point transmission and mobile communication system
CN103957542A (en) Method and apparatus for establishing service bearer
CN102612164B (en) A kind of restart for network element after discharge the methods, devices and systems of resource
CN111586602B (en) Policy management method and device
CN104796887A (en) Method and device for safely exchanging information
CN108111964B (en) Method and device for executing transmission strategy
CN102868989A (en) Method, system and equipment for call ticket generation in long-term evolution fusion type core network
CN102883308B (en) A kind of Origin-State-Id AVP sending method based on Diameter and device
CN102790959B (en) Method and device for sending Diameter messages
CN105025464A (en) Data transmission method and equipment
CN114126085B (en) Industrial field bus communication method and device, electronic equipment and storage medium
CN102333312B (en) Message transmission method and device for re-authentication (RA) process
WO2017185368A1 (en) Signalling transmission method and device
CN109391914B (en) Method and equipment for addressing session
CN105516121A (en) Method and system for communication between AC (Access Controller) and AP (Access Point) in wireless local area network
CN111372322B (en) Communication method and device
EP2285177A2 (en) Method for operating packet data protocol context and apparatus therefor
CN105187236B (en) A kind of method of network flow migration

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