WO2019001569A1 - Call ticket transfer method, communication device and computer readable storage medium - Google Patents

Call ticket transfer method, communication device and computer readable storage medium Download PDF

Info

Publication number
WO2019001569A1
WO2019001569A1 PCT/CN2018/093698 CN2018093698W WO2019001569A1 WO 2019001569 A1 WO2019001569 A1 WO 2019001569A1 CN 2018093698 W CN2018093698 W CN 2018093698W WO 2019001569 A1 WO2019001569 A1 WO 2019001569A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
cgf
acknowledgement message
cdf
message
Prior art date
Application number
PCT/CN2018/093698
Other languages
French (fr)
Chinese (zh)
Inventor
骆旭剑
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019001569A1 publication Critical patent/WO2019001569A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/41Billing record details, i.e. parameters, identifiers, structure of call data record [CDR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/43Billing software details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing

Definitions

  • the present disclosure relates to the field of communication technologies, for example, to a bill transfer method, a communication device, and a computer readable storage medium.
  • the Charging Trigger Function is embedded in the 3GPP core network element.
  • the main function of the CTF is to collect the charging information according to the monitored usage of the network resources, and send it to the Charging Data Function (CDF) through the Rf interface.
  • the main function of the CDF is to receive an Accounting Request (ACR) message sent by the CTF, which is configured as a Call Detail Records (CDR) and is sent to the Charging Gateway Function through the Ga interface. , CGF).
  • ACR Accounting Request
  • CDR Call Detail Records
  • CGF Call Detail Records
  • the main function of the CGF is to store and manage the CDRs received from the CDF and send the CDR files to the Billing Domain (BD) through the Bi interface.
  • the CDF sends the CDR to the CGF, and uses the General Packet Radio Service Tunneling Protocol (GTP) to implement the transmission, and the GTP protocol has a redirection function. That is, if the high priority first CGF does not respond in time to the received CDR, the CDF sends a suspicious duplicate packet containing the same CDR to the second priority second CGF, and in the subsequent process, the first CGF judges that the CDR is not received.
  • GTP General Packet Radio Service Tunneling Protocol
  • the response message sent after the CDR is the same as the response message sent by the first CGF after receiving the CDR in the non-redirect function, and the CDF cannot distinguish whether the response information is a non-redirect function or a response information in the redirection function, thereby causing the first Both CGF and the second CGF output CDRs, resulting in the appearance of a single phenomenon. It can be seen that the problem of heavy single phenomenon is more serious.
  • the embodiment of the present application provides a bill transfer method, a communication device, and a computer readable storage medium, which solves the problem that the heavy single phenomenon is serious.
  • the embodiment of the present application provides a bill transfer method, including:
  • the billing data function CDF sends a first suspicious duplicate packet to the first billing gateway function CGF, wherein the first suspicious repeat packet includes a sequence number of the target data packet;
  • the CDF After receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message is a target confirmation that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. Message
  • the CDF sends, to the second CGF, a first request message for requesting the second CGF to output a billing call detail record CDR in the second suspect duplicate packet, where
  • the second suspected duplicate packet includes a sequence number of the target data packet and the CDR.
  • the embodiment of the present application further provides a bill transfer method, including:
  • the first CGF sends a target acknowledgement message to the CDF, where the target acknowledgement message indicates that the first CGF receives the first suspicious message The packet is repeated but the target packet is not received.
  • the embodiment of the present application further provides a bill transfer device, including:
  • a first sending module configured to send a first suspected duplicate packet to the first CGF, where the first suspect duplicate packet includes a sequence number of the target data packet;
  • the first determining module is configured to: after receiving the acknowledgement message sent by the first CGF, determine whether the acknowledgement message indicates that the first CGF receives the first suspected duplicate packet but does not receive the target data The target confirmation message of the package;
  • a second sending module configured to send, to the second CGF, a first request for the second CGF to output a charging call detailed record CDR in the second suspicious duplicate packet, if the acknowledgement message is the target acknowledgement message a request message, wherein the second suspect duplicate packet includes a sequence number of the target data packet and the CDR.
  • the embodiment of the present application further provides a bill transfer device, including:
  • a first receiving module configured to receive a first suspected duplicate packet sent by the CDF, where the first suspect duplicate packet includes a sequence number of the target data packet;
  • a second determining module configured to determine, according to the serial number, whether the target data packet is received
  • a first sending module configured to send a target acknowledgement message to the CDF if the target data packet is not received, where the target acknowledgement message indicates that the first CGF receives the first suspected duplicate packet but The target data packet was not received.
  • the embodiment of the present application further provides a communication device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the program to apply to the CDF Side bill transfer method.
  • the present application also provides a communication device including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the program when applied to the first CGF Side bill transfer method.
  • the present application also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements a bill transfer method applied to the CDF side.
  • the present application also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements a bill transfer method applied to a first CGF side.
  • the technical solution of the present application sends a first suspicious duplicate packet containing the sequence number of the target data packet to the first CGF through the CDF, and the CDF determines whether the acknowledgement message sent by the first CGF indicates that the first CGF receives the first suspected duplicate packet but does not receive Goal to the target acknowledgment message of the target data packet, if the acknowledgment message is the target acknowledgment message, send a first request message for requesting the second CGF to output the CDR in the second suspicious duplicate packet to the second CGF, thereby reducing the occurrence of the heavy single phenomenon .
  • FIG. 1 is a schematic structural diagram of a network according to an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a method for transmitting a bill according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure
  • FIG. 5 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure
  • FIG. 6 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure.
  • FIG. 7 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure.
  • FIG. 8 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure.
  • FIG. 9 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a bill transfer device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure.
  • FIG. 17 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure.
  • FIG. 18 is a schematic structural diagram of a communication device according to an embodiment of the present disclosure.
  • FIG. 19 is a schematic structural diagram of a communication device according to another embodiment of the present disclosure.
  • FIG. 1 is a network structure diagram of an embodiment of the present application.
  • the connection relationship between the CTF 101, the CDF 102, the CGF 103, and the BD 104 is as shown in FIG. 1.
  • the embodiment of the present application is mainly applied to a CDR between the CDF 102 and the CGF 103.
  • the Ga interface is used to transfer bills between the CDF 102 and the CGF 103.
  • the Ga interface is commonly used in billing systems, such as Packet Switching (PS)/Evolved Packet Core (EPC), PS/EPC.
  • PS Packet Switching
  • EPC Evolved Packet Core
  • PS/EPC Packet Switching
  • the PS/EPC network element the CTF and the CDF are integrated
  • the CGF transmit the charging data through the Ga interface.
  • the Ga interface is implemented by the GTP protocol stack.
  • the principle of the protocol stack is described in the 3GPP 32.295 standard document.
  • the GTP protocol defines CDR transmission and redirection functions, failure detection recovery, and prevention of re-single functions.
  • the Bx interface is mainly used to connect the CGF103 and the BD104. It can be seen from FIG. 1 that the CTF 101 may include a service unit or a sub-unit, and the above-mentioned units complete the functions required by the CTF 101 together or separately, and the acquired core network CN domain name is also cached in the CTF 101.
  • the embodiment of the present application provides a bill transfer method, which includes the following steps:
  • Step 201 The CDF sends a first suspected duplicate packet to the CGF, where the first suspect duplicate packet includes a sequence number of the target data packet.
  • the CDF before step 201, the CDF completes the following steps: the CDF sends a target data packet to the first CGF, and if the CDF does not receive the response message sent by the first CGF within a preset time, the CDF goes to the first The second CGF sends a second suspicious duplicate packet with the same sequence number and the same CDR as the target data packet.
  • the CDF receives the Cause (Cuse) field of the first CGF transmission as "Node Survival Request (Node).
  • the message of the Alive Request) the CDF replies to the first CGF with a message that the Cause field is "Node Alive Response".
  • the preset time is 9 seconds.
  • the specific value of the preset time is not limited herein.
  • the CDF may fail to receive the response message sent by the first CGF in time. Abnormal situation such as network interruption, first CGF failure, first CGF busy or insufficient first CGF resources.
  • the first suspect duplicate packet may further include information such as a calling number and a call start time.
  • Step 202 After receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. Target confirmation message.
  • the acknowledgement information includes a target acknowledgement message sent by the first CGF indicating that the first CGF receives the first suspected duplicate packet but does not receive the target data packet, and also includes the first CGF sent It does not belong to the target confirmation message, but other messages that are the same as the content of the target confirmation message reply, so a judgment is made here.
  • Step 203 If the acknowledgement message is the target acknowledgement message, the CDF sends, to the second CGF, a first request message for requesting the second CGF to output the CDR in the second suspected duplicate packet, where The second suspect duplicate packet includes a sequence number of the target data packet and the CDR.
  • the CDF sends a first suspected duplicate packet containing the sequence number of the target data packet to the first CGF, and the CDF determines whether the acknowledgement message sent by the first CGF indicates that the first CGF receives the first suspected duplicate packet but does not receive. And the first request message for requesting the second CGF to output the CDR in the second suspicious duplicate packet to the second CGF, if the acknowledgement message is the target acknowledgement message, The phenomenon of heavy single phenomenon.
  • the embodiment of the present application provides another method for transmitting a bill, including the following steps:
  • Step 301 The CDF sends a first suspected duplicate packet to the CGF, where the first suspect duplicate packet includes a sequence number of the target data packet.
  • Step 302 After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target field, and if the acknowledgement message includes the target field, step 303 is performed; If the confirmation message does not include the target field, step 305 is performed.
  • Step 303 The CDF determines that the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet.
  • Step 304 The CDF sends, to the second CGF, a first request message for requesting the second CGF to output a CDR in the second suspicious duplicate packet, where the second suspect duplicate packet includes the target data packet. Serial number and CDR.
  • Step 305 The CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  • the Cause field of the target acknowledgment message may be 128 (Request accepted), and the target acknowledgment message may carry the type field of the target data packet, thereby confirming the message with the non-target but the Cause field is also 128 ( The message of Request accepted) is separated.
  • the Cause field of the acknowledgment message that does not include the target field may be 128 (Request accepted) but does not carry the type field of the target data packet.
  • the Cause field may also be 252 (with data packets that may have been duplicated) Request related to possibly duplicated packets already fulfilled.
  • the confirmation message is a target confirmation that the first CGF receives the first suspect duplicate packet but does not receive the target data packet.
  • the message makes it very easy to distinguish the target confirmation message from other non-target confirmation messages. If the acknowledgment message does not include the target field, that is, the acknowledgment message is not the target acknowledgment message, sending a second request message for deleting the second suspect duplicate packet to the second CGF, which reduces the The first CGF and the second CGF both output the CDR condition caused by replying to other messages with the same content, that is, the occurrence of the single phenomenon is reduced.
  • the embodiment of the present application provides another method for transmitting a bill, including the following steps:
  • Step 501 The CDF sends a first suspected duplicate packet to the CGF, where the first suspect duplicate packet includes a sequence number of the target data packet.
  • Step 502 after the CDF receives the acknowledgment message sent by the first CGF, the CDF determines whether the acknowledgment message includes a target value, and if the acknowledgment message includes the target value, step 503 is performed; If the confirmation message does not include the target value, step 505 is performed.
  • Step 503 The CDF determines that the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet.
  • Step 504 The CDF sends, to the second CGF, a first request message for requesting the second CGF to output a CDR in the second suspicious duplicate packet, where the second suspect duplicate packet includes the target data packet. Serial number and CDR.
  • Step 505 The CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  • the target value of the Cause field of the target acknowledgement message may be 178 (Request related to possibly duplicated packets Accepted), and the Cause of the message that does not include the target value.
  • the field may be 252 (Request related to possibly duplicated packets already fulfilled), or may be 128 (Request accepted).
  • the specific value of the Cause field of the target confirmation message is not specifically limited herein, as long as it can be confirmed with other non-targets. The message is separated.
  • the acknowledgment message received by the CDF includes the target value
  • the message makes it very easy to distinguish the target confirmation message from other non-target confirmation messages. If the acknowledgment message does not include the target value, that is, the acknowledgment message is not the target acknowledgment message, the second CGF is sent to the second CGF to delete the second request message of the second suspected duplicate packet, which is reduced because the target is confirmed.
  • the first CGF and the second CGF both output the CDR situation caused by the message replying to other messages with the same content, that is, the occurrence of the single phenomenon is reduced.
  • the embodiment of the present application provides another method for transmitting a bill, including the following steps:
  • Step 701 The CDF sends a first suspected duplicate packet to the CGF, where the first suspect duplicate packet includes a sequence number of the target data packet.
  • Step 702 After the CDF receives the confirmation message sent by the first CGF, the CDF determines whether the confirmation message includes a target label, and if the confirmation message includes the target label, step 703 is performed; If the confirmation message does not include the target label, step 705 is performed.
  • Step 703 The CDF determines that the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet.
  • Step 704 The CDF sends, to the second CGF, a first request message for requesting the second CGF to output a CDR in the second suspicious duplicate packet, where the second suspect duplicate packet includes the target data packet. Serial number and CDR.
  • Step 705 The CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  • each step performed before step 701 can carry a unique label.
  • the CDF sends a target data packet to the first CGF. If the CDF does not receive the preset time, The response message sent by the first CGF may carry the tag tag1 in the foregoing process; the CDF sends a second suspicious duplicate packet containing the same sequence number and the same CDR as the target data packet to the second CGF, where the tag tag2 can be carried in the foregoing process.
  • the CDF receives the message that the Cause field sent by the first CGF is “Node Alive Request”, and the CDF replies to the first CGF with the Cause field as “Node Alive Response” message.
  • the tag tag3 can be carried, and the target confirmation message can also carry the tag tag3. Then, according to the unique tag carried in the received confirmation message, the tag tag3 is matched. If the matching is successful, the message can be determined as the target confirmation message according to the tag.
  • the target confirmation message may carry a unique label, and the messages in other steps do not carry the label, and the target confirmation message may also be judged.
  • a packet loss phenomenon may occur.
  • the CDF retransmits the target data packet to the first CGF.
  • the retransmitted target packet should be the same as the previous target packet.
  • the confirmation message received by the CDF includes a unique target label
  • determining that the confirmation message is that the first CGF receives the first suspect duplicate packet but does not receive the target data packet The target acknowledgement message makes it very easy to distinguish the target confirmation message from other non-target confirmation messages. If the acknowledgment message does not include the target label, that is, the acknowledgment message is not the target acknowledgment message, send a second request message for deleting the second suspect duplicate packet to the second CGF, which reduces the acknowledgment message with the target
  • the occurrence of the CDR condition of both the first CGF and the second CGF caused by other messages with the same content is reduced, and the occurrence of the single phenomenon is reduced.
  • the embodiment of the present application provides another method for transmitting a bill, including the following steps:
  • Step 901 The first CGF receives the first suspected duplicate packet sent by the CDF, where the first suspect duplicate packet includes a sequence number of the target data packet.
  • the steps before the step 901 can be referred to the corresponding description of the embodiment shown in FIG. 2, which is not described herein, and the same beneficial effects can be achieved.
  • Step 902 The first CGF determines, according to the sequence number, whether the target data packet is received.
  • Step 903 If the first CGF does not receive the target data packet, the first CGF sends a target acknowledgement message to the CDF, where the target acknowledgement message indicates that the first CGF receives the target The first suspicious duplicate packet but the target data packet is not received.
  • step 903 can include:
  • the first CGF If the first CGF does not receive the target data packet, the first CGF sends a target acknowledgement message including a target field to the CDF, where the target acknowledgement message including the target field indicates the first Receiving, by the CGF, the first suspected duplicate packet but not receiving the target data packet;
  • the method may further include:
  • the first CGF If the first CGF receives the target data packet, the first CGF sends an acknowledgement message to the CDF that does not include a target field, where the acknowledgement message that does not include the target field indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
  • step 903 can include:
  • the first CGF sends a target acknowledgement message including a target value to the CDF, where the target acknowledgement message including the target value indicates the Receiving, by the first CGF, the first suspected duplicate packet but not receiving the target data packet;
  • the method may further include:
  • the first CGF sends an acknowledgement message that does not include a target value to the CDF, where the acknowledgement message that does not include a target value indicates the first A CGF receives the first suspect duplicate packet and receives the target data packet.
  • step 903 can include:
  • the first CGF If the first CGF does not receive the target data packet, the first CGF sends a target acknowledgement message including a target label to the CDF, where the target acknowledgement message including the target label indicates the first CGF Receiving the first suspect duplicate packet but not receiving the target data packet;
  • the method may further include:
  • the first CGF sends an acknowledgement message that does not include a target label to the CDF, where the acknowledgement message that does not include the target label indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
  • the embodiment of the present application provides a bill transfer device 1000, which is applied to a CDF.
  • the application of the bill transfer device 1000 to the CDF includes:
  • the first sending module 1001 is configured to send a first suspected duplicate packet to the first CGF, where the first suspect duplicate packet includes a sequence number of the target data packet;
  • the first determining module 1002 is configured to: after receiving the acknowledgement message sent by the first CGF, determine whether the acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not receive the target Target confirmation message for the packet;
  • the second sending module 1003 is configured to: if the acknowledgement message is the target acknowledgement message, send, to the second CGF, a request for requesting, by the second CGF, the billing call detailed record CDR in the second suspicious duplicate packet a request message, wherein the second suspect duplicate packet includes a sequence number of the target data packet and the CDR.
  • the first determining module 1002 is configured to: after receiving the acknowledgement message sent by the first CGF, determine whether the acknowledgement message includes a target field, if the acknowledgement message Including the target field, determining that the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
  • the bill transfer device further includes:
  • the third sending module 1004 is configured to send, to the second CGF, a second request message for deleting the second suspect duplicate packet if the acknowledgement message does not include the target field.
  • the first determining module 1002 is configured to: after receiving the acknowledgement message sent by the first CGF, determine whether the acknowledgement message includes a target value, if the acknowledgement Determining, by the message, that the acknowledgement message is a target acknowledgement message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
  • the bill transfer device further includes:
  • the fourth sending module 1005 is configured to send, to the second CGF, a second request message for deleting the second suspect duplicate packet if the acknowledgement message does not include the target value.
  • the first determining module 1002 is configured to: after receiving the acknowledgement message sent by the first CGF, determine whether the acknowledgement message includes a target label, if the acknowledgement message Including the target tag, determining that the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
  • the bill transfer device 1000 further includes:
  • the fifth sending module 1006 is configured to send, to the second CGF, a second request message for deleting the second suspect duplicate packet if the acknowledgement message does not include the target label.
  • the CDR transmission device 1000 may be a CDR transmission device in any of the method embodiments in the embodiment of the present application.
  • any implementation in the method embodiment shown in FIG. 2 to FIG. 8 The method can be implemented by the above-mentioned CDR transmission device 1000 in the embodiment, and achieve the same beneficial effects, and details are not described herein again.
  • the embodiment of the present application provides a bill transfer device 1400, and the bill transfer device 1400 is applied to a first CGF.
  • the bill transfer device 1400 includes:
  • the first receiving module 1401 is configured to receive a first suspected duplicate packet sent by the CDF, where the first suspect duplicate packet includes a sequence number of the target data packet;
  • the second determining module 1402 is configured to determine, according to the serial number, whether the target data packet is received;
  • the first sending module 1403 is configured to send a target acknowledgement message to the CDF if the target data packet is not received, where the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet However, the target data packet is not received.
  • the first sending module 1403 is configured to send a target confirmation message including a target field to the CDF if the target data packet is not received, where The target confirmation message including the target field indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
  • the bill transfer device 1400 further includes:
  • the second sending module 1404 is configured to: if the target data packet is received, send an acknowledgement message that does not include a target field to the CDF, where the acknowledge message that does not include the target field indicates that the first CGF receives The first suspect duplicate packet and receiving the target data packet.
  • the first sending module 1403 is configured to: if the target data packet is not received, send a target confirmation message including a target value to the CDF, where The target acknowledgement message including the target value indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
  • the bill transfer device 1400 further includes:
  • the third sending module 1405 is configured to send, to the CDF, an acknowledgement message that does not include a target value, if the target data packet is received, where the acknowledgement message that does not include the target value indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
  • the first sending module 1403 is configured to not receive the target data packet, and send a target confirmation message including a target label to the CDF, where the The target confirmation message of the target tag indicates that the first CGF receives the first suspected duplicate packet but does not receive the target data packet;
  • the bill transfer device 1400 further includes:
  • the fourth sending module 1406 is configured to: if the target data packet is received, send an acknowledgement message that does not include the target label to the CDF, where the acknowledge message that does not include the target label indicates that the first CGF receives The first suspect duplicate packet and receiving the target data packet.
  • any of the method embodiments shown in FIG. 9 can be implemented by the above-mentioned CDR transmission device 1400 in the embodiment, and the same beneficial effects are achieved, and details are not described herein again.
  • FIG. 18 is a structural diagram of a communication device to which the embodiment of the present application is applied, which can implement the details of the CDR transmission method of the embodiment shown in FIG. 2 to FIG. 8, and achieve the same effect.
  • the communication device 1800 includes a processor 1801, a transceiver 1802, a memory 1803, a user interface 1804, and a bus interface, wherein:
  • the processor 1801 is configured to read the program in the memory 1803 and perform the following process:
  • the charging data function CDF sends a first suspicious duplicate packet to the first charging gateway function CGF, where the first suspect duplicate packet includes a sequence number of the target data packet;
  • the CDF After receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message is a target confirmation that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. Message
  • the CDF sends, to the second CGF, a first request message for requesting the second CGF to output a billing call detail record CDR in the second suspect duplicate packet, where
  • the second suspected duplicate packet includes a sequence number of the target data packet and the CDR.
  • the transceiver 1802 is configured to receive and transmit data under control of the processor 1801, the transceiver 1802 including at least two antenna ports.
  • the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 1801 and various circuits of memory represented by memory 1803.
  • the bus architecture can also link a variety of other circuits, such as peripherals, voltage regulators, and power management circuits, as is known in the art, and thus, the bus architecture is not further described herein.
  • the bus interface provides an interface.
  • Transceiver 1802 can be a plurality of components, including a transmitter and a receiver, providing means for communicating with one or more other devices on a transmission medium.
  • the user interface 1804 may also be an interface capable of externally or indirectly requiring a device, including but not limited to a keypad, a display, a speaker, a microphone, or a joystick.
  • the processor 1801 is responsible for managing the bus architecture and general processing, and the memory 1803 can store data used by the processor 1801 in performing operations.
  • the CDF determines whether the acknowledgement message indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target confirmation message for the target packet, including:
  • the CDF After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target field, and if the acknowledgement message includes the target field, determining the acknowledgement message to indicate the Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
  • the method further includes:
  • the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  • the CDF determines whether the acknowledgement message indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target confirmation message for the target packet, including:
  • the CDF After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target value, and if the acknowledgement message includes the target value, determining that the acknowledgement message is a representation Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
  • the method further includes:
  • the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  • the CDF determines whether the acknowledgement message indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target confirmation message for the target packet, including:
  • the CDF After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target tag, and if the acknowledgement message includes the target tag, determining the acknowledgement message to indicate the Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
  • the method further includes:
  • the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  • any embodiment of the method shown in FIG. 2 to FIG. 8 in the embodiment of the present application may be implemented by the foregoing communication device 1800 in the embodiment, and achieve the same beneficial effects, and details are not described herein again.
  • FIG. 19 is a structural diagram of a communication device to which the embodiment of the present application is applied, which can implement the details of the CDR transmission method of the embodiment shown in FIG. 9, and achieve the same effect.
  • the communication device 1900 includes a processor 1901, a transceiver 1902, a memory 1903, a user interface 1904, and a bus interface, wherein:
  • the processor 1901 configured to read the program in the memory 1903, performs the following process:
  • the first CGF sends a target acknowledgement message to the CDF, where the target acknowledgement message indicates that the first CGF receives the first suspicious message The packet is repeated but the target packet is not received.
  • transceiver 1902 is configured to receive and transmit data under control of processor 1901, which includes at least two antenna ports.
  • the bus architecture can include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 1901 and various circuits of memory represented by memory 1903.
  • the bus architecture can also link a variety of other circuits, such as peripherals, voltage regulators, and power management circuits, as is known in the art, and thus, the bus architecture is not further described herein.
  • the bus interface provides an interface.
  • Transceiver 1902 can be a plurality of components, including a transmitter and a receiver, providing means for communicating with one or more other devices on a transmission medium.
  • the user interface 1904 may also be an interface capable of externally or indirectly requiring a device, including but not limited to a keypad, a display, a speaker, a microphone, or a joystick.
  • the processor 1901 is responsible for managing the bus architecture and general processing, and the memory 1903 can store data used by the processor 1901 when performing operations.
  • the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data.
  • Package including:
  • the first CGF sends a target acknowledgement message including a target field to the CDF, where the target acknowledgement message including the target field indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target data packet;
  • the method further includes:
  • the first CGF If the first CGF receives the target data packet, the first CGF sends an acknowledgement message to the CDF that does not include a target field, where the acknowledgement message that does not include the target field indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
  • the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data.
  • Package including:
  • the first CGF sends a target acknowledgement message including a target value to the CDF, where the target acknowledgement message including the target value indicates that the first CGF receives the first suspected duplicate packet but does not receive The target data packet;
  • the method further includes:
  • the first CGF sends an acknowledgement message that does not include a target value to the CDF, where the acknowledgement message that does not include a target value indicates the first A CGF receives the first suspect duplicate packet and receives the target data packet.
  • the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data.
  • Package including:
  • the first CGF sends a target acknowledgment message including a target tag to the CDF, where the target acknowledgment message including the target tag indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target data packet;
  • the method further includes:
  • the first CGF sends an acknowledgement message that does not include a target label to the CDF, where the acknowledgement message that does not include the target label indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
  • the CDF sends a first suspicious duplicate packet to the first CGF, where the first suspect duplicate packet includes a sequence number of the target data packet;
  • the CDF After receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message is a target confirmation that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. Message
  • the CDF sends, to the second CGF, a first request message for requesting the second CGF to output a billing call detail record CDR in the second suspect duplicate packet, where
  • the second suspect duplicate packet includes a sequence number and a CDR of the target data packet.
  • the CDF determines whether the confirmation message indicates that the first CGF receives the first suspect duplicate packet. However, the target confirmation message of the target data packet is not received, including:
  • the CDF After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target field, and if the acknowledgement message includes the target field, determining the acknowledgement message to indicate the Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
  • the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  • the CDF determines whether the acknowledgement message indicates that the first CGF receives the first suspicious duplicate.
  • the packet does not receive the target confirmation message of the target data packet, including:
  • the CDF After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target value, and if the acknowledgement message includes the target value, determining that the acknowledgement message is a representation Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
  • the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  • the CDF determines whether the confirmation message indicates that the first CGF receives the first suspect duplicate packet. However, the target confirmation message of the target data packet is not received, including:
  • the CDF After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target tag, and if the acknowledgement message includes the target tag, determining the acknowledgement message to indicate the Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
  • the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  • the computer readable storage medium such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the first CGF sends a target acknowledgement message to the CDF, where the target acknowledgement message indicates that the first CGF receives the first suspicious message The packet is repeated but the target packet is not received.
  • the first CGF when the program is executed, the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not Receiving the target data packet, including:
  • the first CGF sends a target acknowledgement message including a target field to the CDF, where the target acknowledgement message including the target field indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target data packet;
  • the first CGF If the first CGF receives the target data packet, the first CGF sends an acknowledgement message to the CDF that does not include a target field, where the acknowledgement message that does not include the target field indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
  • the first CGF when the program is executed, the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not Receiving the target data packet, including:
  • the first CGF sends a target acknowledgement message including a target value to the CDF, where the target acknowledgement message including the target value indicates that the first CGF receives the first suspected duplicate packet but does not receive The target data packet;
  • the first CGF sends an acknowledgement message that does not include a target value to the CDF, where the acknowledgement message that does not include a target value indicates the first A CGF receives the first suspect duplicate packet and receives the target data packet.
  • the first CGF when the program is executed, the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not Receiving the target data packet, including:
  • the first CGF sends a target acknowledgment message including a target tag to the CDF, where the target acknowledgment message including the target tag indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target data packet;
  • the first CGF sends an acknowledgement message that does not include a target label to the CDF, where the acknowledgement message that does not include the target label indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
  • the computer readable storage medium such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

A call ticket transfer method, a communication device and a computer readable storage medium. The method comprises: a CDF sending a first suspicious duplicated packet to a CGF; if the CDF receives an acknowledgement message sent by the first CGF, determining whether the acknowledgement message is a target acknowledgement message indicating that the first CGF has received the first suspicious duplicated packet but has not received a target data packet; and if the acknowledgement message is the target acknowledgement message, the CDF sending a first request message to the second CGF for requesting the second CGF to output a charging call detail record (CDR) in the second suspicious duplicated packet.

Description

话单传输方法、通信设备和计算机可读存储介质Bill transfer method, communication device, and computer readable storage medium 技术领域Technical field
本公开涉及通信技术领域,例如涉及话单传输方法、通信设备和计算机可读存储介质。The present disclosure relates to the field of communication technologies, for example, to a bill transfer method, a communication device, and a computer readable storage medium.
背景技术Background technique
随着移动通信技术的不断发展,在第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)中,计费触发功能(Charging Trigger Function,CTF)内嵌在3GPP核心网网元中。CTF主要实现的功能是,根据监测到的网络资源的使用情况,进行计费信息的收集,并通过Rf接口发送到计费数据功能(Charging Data Function,CDF)。CDF的主要功能是,接收CTF发送的计费请求(Accounting Request,ACR)消息,构造成计费呼叫详细记录(Call Detail Records,CDR),并通过Ga接口发送到计费网关功能(Charging Gateway Function,CGF)。CGF的主要功能是,对从CDF接收到的CDR进行存储和管理,并通过Bi接口将CDR文件发送到计费域(Billing Domain,BD)。With the continuous development of mobile communication technologies, in the 3rd Generation Partnership Project (3GPP), the Charging Trigger Function (CTF) is embedded in the 3GPP core network element. The main function of the CTF is to collect the charging information according to the monitored usage of the network resources, and send it to the Charging Data Function (CDF) through the Rf interface. The main function of the CDF is to receive an Accounting Request (ACR) message sent by the CTF, which is configured as a Call Detail Records (CDR) and is sent to the Charging Gateway Function through the Ga interface. , CGF). The main function of the CGF is to store and manage the CDRs received from the CDF and send the CDR files to the Billing Domain (BD) through the Bi interface.
相关技术中,CDF向CGF发送CDR,采用通用分组无线服务技术隧道协议(General Packet Radio Service Tunnelling Protocol,GTP)实现传输,而GTP协议存在重定向功能。即若高优先级的第一CGF未及时响应已接收到CDR,CDF就会向次优先级的第二CGF发送包含相同CDR的可疑重复包,且在后续过程中,第一CGF判断未接收到CDR后发送的响应消息与非重定向功能中第一CGF接收到CDR后发送的响应消息相同,而CDF并不能区分开响应信息是非重定向功能还是重定向功能中的响应信息,从而导致第一CGF与第二CGF均输出CDR,导致重单现象的出现。可见,重单现象问题较为严重。In the related art, the CDF sends the CDR to the CGF, and uses the General Packet Radio Service Tunneling Protocol (GTP) to implement the transmission, and the GTP protocol has a redirection function. That is, if the high priority first CGF does not respond in time to the received CDR, the CDF sends a suspicious duplicate packet containing the same CDR to the second priority second CGF, and in the subsequent process, the first CGF judges that the CDR is not received. The response message sent after the CDR is the same as the response message sent by the first CGF after receiving the CDR in the non-redirect function, and the CDF cannot distinguish whether the response information is a non-redirect function or a response information in the redirection function, thereby causing the first Both CGF and the second CGF output CDRs, resulting in the appearance of a single phenomenon. It can be seen that the problem of heavy single phenomenon is more serious.
发明内容Summary of the invention
本申请实施例提供话单传输方法、通信设备和计算机可读存储介质,解决了重单现象较为严重的问题。The embodiment of the present application provides a bill transfer method, a communication device, and a computer readable storage medium, which solves the problem that the heavy single phenomenon is serious.
本申请实施例提供一种话单传输方法,包括:The embodiment of the present application provides a bill transfer method, including:
计费数据功能CDF向第一计费网关功能CGF发送第一可疑重复包,其中,所 述第一可疑重复包中包含目标数据包的序列号;The billing data function CDF sends a first suspicious duplicate packet to the first billing gateway function CGF, wherein the first suspicious repeat packet includes a sequence number of the target data packet;
所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message is a target confirmation that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. Message
若所述确认消息为所述目标确认消息,则所述CDF向第二CGF发送用于请求所述第二CGF输出第二可疑重复包中的计费呼叫详细记录CDR的第一请求消息,其中,所述第二可疑重复包包括所述目标数据包的序列号和所述CDR。And if the acknowledgement message is the target acknowledgement message, the CDF sends, to the second CGF, a first request message for requesting the second CGF to output a billing call detail record CDR in the second suspect duplicate packet, where The second suspected duplicate packet includes a sequence number of the target data packet and the CDR.
本申请实施例还提供一种话单传输方法,包括:The embodiment of the present application further provides a bill transfer method, including:
第一CGF接收CDF发送的第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;Receiving, by the first CGF, a first suspected duplicate packet sent by the CDF, where the first suspect duplicate packet includes a sequence number of the target data packet;
所述第一CGF根据所述序列号判断是否接收到所述目标数据包;Determining, by the first CGF, whether the target data packet is received according to the serial number;
若所述第一CGF未接收到所述目标数据包,则所述第一CGF向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包。And if the first CGF does not receive the target data packet, the first CGF sends a target acknowledgement message to the CDF, where the target acknowledgement message indicates that the first CGF receives the first suspicious message The packet is repeated but the target packet is not received.
本申请实施例还提供一种话单传输装置,包括:The embodiment of the present application further provides a bill transfer device, including:
第一发送模块,设置为向第一CGF发送第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;a first sending module, configured to send a first suspected duplicate packet to the first CGF, where the first suspect duplicate packet includes a sequence number of the target data packet;
第一判断模块,设置为接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;The first determining module is configured to: after receiving the acknowledgement message sent by the first CGF, determine whether the acknowledgement message indicates that the first CGF receives the first suspected duplicate packet but does not receive the target data The target confirmation message of the package;
第二发送模块,设置为若所述确认消息为所述目标确认消息,则向第二CGF发送用于请求所述第二CGF输出第二可疑重复包中的计费呼叫详细记录CDR的第一请求消息,其中,所述第二可疑重复包包括所述目标数据包的序列号和所述CDR。a second sending module, configured to send, to the second CGF, a first request for the second CGF to output a charging call detailed record CDR in the second suspicious duplicate packet, if the acknowledgement message is the target acknowledgement message a request message, wherein the second suspect duplicate packet includes a sequence number of the target data packet and the CDR.
本申请实施例还提供一种话单传输装置,包括:The embodiment of the present application further provides a bill transfer device, including:
第一接收模块,设置为接收CDF发送的第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;a first receiving module, configured to receive a first suspected duplicate packet sent by the CDF, where the first suspect duplicate packet includes a sequence number of the target data packet;
第二判断模块,设置为根据所述序列号判断是否接收到所述目标数据包;a second determining module, configured to determine, according to the serial number, whether the target data packet is received;
第一发送模块,设置为若未接收到所述目标数据包,则向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包。a first sending module, configured to send a target acknowledgement message to the CDF if the target data packet is not received, where the target acknowledgement message indicates that the first CGF receives the first suspected duplicate packet but The target data packet was not received.
本申请实施例还提供一种通信设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现应用于CDF一侧的话单传输方法。The embodiment of the present application further provides a communication device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the processor implements the program to apply to the CDF Side bill transfer method.
本申请还提供一种通信设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现应用于第一CGF一侧的话单传输方法。The present application also provides a communication device including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the program when applied to the first CGF Side bill transfer method.
本申请还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现应用于CDF一侧的话单传输方法。The present application also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements a bill transfer method applied to the CDF side.
本申请还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现应用于第一CGF一侧的话单传输方法。The present application also provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements a bill transfer method applied to a first CGF side.
本申请的技术方案通过CDF向第一CGF发送包含目标数据包的序列号的第一可疑重复包,CDF判断第一CGF发送的确认消息是否表示第一CGF接收到第一可疑重复包但未接收到目标数据包的目标确认消息,若确认消息为目标确认消息,向第二CGF发送用于请求第二CGF输出第二可疑重复包中的CDR的第一请求消息,减少了重单现象的出现。The technical solution of the present application sends a first suspicious duplicate packet containing the sequence number of the target data packet to the first CGF through the CDF, and the CDF determines whether the acknowledgement message sent by the first CGF indicates that the first CGF receives the first suspected duplicate packet but does not receive Goal to the target acknowledgment message of the target data packet, if the acknowledgment message is the target acknowledgment message, send a first request message for requesting the second CGF to output the CDR in the second suspicious duplicate packet to the second CGF, thereby reducing the occurrence of the heavy single phenomenon .
附图说明DRAWINGS
图1为本申请一实施例提供的一种网络结构图;FIG. 1 is a schematic structural diagram of a network according to an embodiment of the present application;
图2为本申请一实施例提供的一种话单传输方法的流程示意图;2 is a schematic flowchart of a method for transmitting a bill according to an embodiment of the present application;
图3为本申请另一实施例提供的一种话单传输方法的流程示意图;FIG. 3 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure;
图4为本申请另一实施例提供的一种话单传输方法的流程示意图;FIG. 4 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure;
图5为本申请另一实施例提供的一种话单传输方法的流程示意图;FIG. 5 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure;
图6为本申请另一实施例提供的一种话单传输方法的流程示意图;FIG. 6 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure;
图7为本申请另一实施例提供的一种话单传输方法的流程示意图;FIG. 7 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure;
图8为本申请另一实施例提供的一种话单传输方法的流程示意图;FIG. 8 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present disclosure;
图9为本申请另一实施例提供的一种话单传输方法的流程示意图;FIG. 9 is a schematic flowchart of a method for transmitting a bill according to another embodiment of the present application;
图10为本申请一实施例提供的一种话单传输装置的结构示意图;FIG. 10 is a schematic structural diagram of a bill transfer device according to an embodiment of the present disclosure;
图11为本申请另一实施例提供的一种话单传输装置的结构示意图;FIG. 11 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure;
图12为本申请另一实施例提供的一种话单传输装置的结构示意图;FIG. 12 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure;
图13为本申请另一实施例提供的一种话单传输装置的结构示意图;FIG. 13 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure;
图14为本申请另一实施例提供的一种话单传输装置的结构示意图;FIG. 14 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure;
图15为本申请另一实施例提供的一种话单传输装置的结构示意图;FIG. 15 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure;
图16为本申请另一实施例提供的一种话单传输装置的结构示意图;FIG. 16 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure;
图17为本申请另一实施例提供的一种话单传输装置的结构示意图;FIG. 17 is a schematic structural diagram of a bill transfer device according to another embodiment of the present disclosure;
图18为本申请一实施例提供的一种通信设备的结构示意图;FIG. 18 is a schematic structural diagram of a communication device according to an embodiment of the present disclosure;
图19为本申请另一实施例提供的一种通信设备的结构示意图。FIG. 19 is a schematic structural diagram of a communication device according to another embodiment of the present disclosure.
具体实施方式Detailed ways
下面将结合附图及具体实施例对本申请进行描述。The present application will be described below in conjunction with the accompanying drawings and specific embodiments.
如图1所示,图1为本申请实施例提供的一种网络结构图,CTF101、CDF102、CGF103和BD104连接关系如图1所示,本申请实施例主要应用于CDF102和CGF103之间话单的传输。其中Ga接口用于CDF102和CGF103之间传送话单,Ga接口在计费系统中使用很普遍,比如分组交换(Packet Switching,PS)/核心分组网演进(Evolved Packet Core,EPC),PS/EPC核心网中,PS/EPC网元(CTF和CDF合一)和CGF之间通过Ga接口传输计费数据。Ga接口由GTP协议栈实现,该协议栈原理见3GPP 32.295标准文档。在3GPP 32.295标准中,GTP协议定义了CDR传输和重定向功能、故障检测恢复以及防止重单功能。其中,Bx接口主要用于连接CGF103与BD104。从图1中可知,CTF101中可以包括服务单元或者子单元,上述单元一起或者单独的完成CTF101所需要完成的功能,并且,CTF101中还缓存获取的核心网CN域名。As shown in FIG. 1 , FIG. 1 is a network structure diagram of an embodiment of the present application. The connection relationship between the CTF 101, the CDF 102, the CGF 103, and the BD 104 is as shown in FIG. 1. The embodiment of the present application is mainly applied to a CDR between the CDF 102 and the CGF 103. Transmission. The Ga interface is used to transfer bills between the CDF 102 and the CGF 103. The Ga interface is commonly used in billing systems, such as Packet Switching (PS)/Evolved Packet Core (EPC), PS/EPC. In the core network, the PS/EPC network element (the CTF and the CDF are integrated) and the CGF transmit the charging data through the Ga interface. The Ga interface is implemented by the GTP protocol stack. The principle of the protocol stack is described in the 3GPP 32.295 standard document. In the 3GPP 32.295 standard, the GTP protocol defines CDR transmission and redirection functions, failure detection recovery, and prevention of re-single functions. The Bx interface is mainly used to connect the CGF103 and the BD104. It can be seen from FIG. 1 that the CTF 101 may include a service unit or a sub-unit, and the above-mentioned units complete the functions required by the CTF 101 together or separately, and the acquired core network CN domain name is also cached in the CTF 101.
如图2所示,本申请实施例提供一种话单传输方法,包括以下步骤:As shown in FIG. 2, the embodiment of the present application provides a bill transfer method, which includes the following steps:
步骤201、CDF向CGF发送第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号。Step 201: The CDF sends a first suspected duplicate packet to the CGF, where the first suspect duplicate packet includes a sequence number of the target data packet.
在一实施例中,在步骤201之前,CDF会完成下列步骤:CDF会向第一CGF发送目标数据包,在预设时间内,CDF若未接收到第一CGF发送的响应消息,CDF向第二CGF发送与目标数据包包含相同序列号和相同CDR的第二可疑重复包,在第一CGF能够正常工作后,CDF接收到第一CGF发送的原因(Cause) 字段为“节点存活请求(Node Alive Request)”的消息,CDF向第一CGF回复Cause字段为“节点存活响应(Node Alive Response)”的消息。在一实施例中,预设时间为9秒,当然在此并不限定预设时间的具体数值,而在预设时间内,CDF未能及时接收到第一CGF发送的响应消息的原因可能有网络中断、第一CGF故障、第一CGF繁忙或者第一CGF资源不足等异常情况。In an embodiment, before step 201, the CDF completes the following steps: the CDF sends a target data packet to the first CGF, and if the CDF does not receive the response message sent by the first CGF within a preset time, the CDF goes to the first The second CGF sends a second suspicious duplicate packet with the same sequence number and the same CDR as the target data packet. After the first CGF can work normally, the CDF receives the Cause (Cuse) field of the first CGF transmission as "Node Survival Request (Node). The message of the Alive Request), the CDF replies to the first CGF with a message that the Cause field is "Node Alive Response". In an embodiment, the preset time is 9 seconds. Of course, the specific value of the preset time is not limited herein. In the preset time, the CDF may fail to receive the response message sent by the first CGF in time. Abnormal situation such as network interruption, first CGF failure, first CGF busy or insufficient first CGF resources.
在一实施例中,第一可疑重复包中还可以包含主叫号码以及通话起始时间等信息。In an embodiment, the first suspect duplicate packet may further include information such as a calling number and a call start time.
步骤202、所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息。Step 202: After receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. Target confirmation message.
在一实施例中,确认信息包含第一CGF发送的表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,也包含第一CGF发送的不属于目标确认消息,但是与目标确认消息回复的内容相同的其他的消息,所以在此要进行一个判断。In an embodiment, the acknowledgement information includes a target acknowledgement message sent by the first CGF indicating that the first CGF receives the first suspected duplicate packet but does not receive the target data packet, and also includes the first CGF sent It does not belong to the target confirmation message, but other messages that are the same as the content of the target confirmation message reply, so a judgment is made here.
步骤203、若所述确认消息为所述目标确认消息,则所述CDF向第二CGF发送用于请求所述第二CGF输出第二可疑重复包中的CDR的第一请求消息,其中,所述第二可疑重复包包括所述目标数据包的序列号和所述CDR。Step 203: If the acknowledgement message is the target acknowledgement message, the CDF sends, to the second CGF, a first request message for requesting the second CGF to output the CDR in the second suspected duplicate packet, where The second suspect duplicate packet includes a sequence number of the target data packet and the CDR.
本申请实施例中,CDF向第一CGF发送包含目标数据包的序列号的第一可疑重复包,CDF判断第一CGF发送的确认消息是否表示第一CGF接收到第一可疑重复包但未接收到目标数据包的目标确认消息,若确认消息为目标确认消息,则向第二CGF发送用于请求第二CGF输出第二可疑重复包中的CDR的第一请求消息,通过上述步骤,减少了重单现象的出现。In the embodiment of the present application, the CDF sends a first suspected duplicate packet containing the sequence number of the target data packet to the first CGF, and the CDF determines whether the acknowledgement message sent by the first CGF indicates that the first CGF receives the first suspected duplicate packet but does not receive. And the first request message for requesting the second CGF to output the CDR in the second suspicious duplicate packet to the second CGF, if the acknowledgement message is the target acknowledgement message, The phenomenon of heavy single phenomenon.
如图3与图4所示,本申请实施例提供另一种话单传输方法,包括以下步骤:As shown in FIG. 3 and FIG. 4, the embodiment of the present application provides another method for transmitting a bill, including the following steps:
步骤301、CDF向CGF发送第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号。Step 301: The CDF sends a first suspected duplicate packet to the CGF, where the first suspect duplicate packet includes a sequence number of the target data packet.
步骤302、所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标字段,若所述确认消息包含所述目标字段,则 执行步骤303;若所述确认消息不包含所述目标字段,则执行步骤305。Step 302: After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target field, and if the acknowledgement message includes the target field, step 303 is performed; If the confirmation message does not include the target field, step 305 is performed.
步骤303、所述CDF确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息。Step 303: The CDF determines that the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet.
步骤304、所述CDF向第二CGF发送用于请求所述第二CGF输出第二可疑重复包中的CDR的第一请求消息,其中,所述第二可疑重复包包括所述目标数据包的序列号和CDR。Step 304: The CDF sends, to the second CGF, a first request message for requesting the second CGF to output a CDR in the second suspicious duplicate packet, where the second suspect duplicate packet includes the target data packet. Serial number and CDR.
步骤305、所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。Step 305: The CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
在一实施例中,目标确认消息的Cause字段可以为128(接受请求(Request accepted)),且目标确认消息可以携带目标数据包的类型字段,从而与非目标确认消息但是Cause字段也为128(Request accepted)的消息区分开。In an embodiment, the Cause field of the target acknowledgment message may be 128 (Request accepted), and the target acknowledgment message may carry the type field of the target data packet, thereby confirming the message with the non-target but the Cause field is also 128 ( The message of Request accepted) is separated.
在一实施例中,不包含所述目标字段的确认消息的Cause字段可以为128(Request accepted)但是不携带目标数据包的类型字段,当然Cause字段也可以为252(与可能已经重复的数据包有关的请求(Request related to possibly duplicated packets already fulfilled))。In an embodiment, the Cause field of the acknowledgment message that does not include the target field may be 128 (Request accepted) but does not carry the type field of the target data packet. Of course, the Cause field may also be 252 (with data packets that may have been duplicated) Request related to possibly duplicated packets already fulfilled.
本申请实施例中,通过判断CDF接收到的确认消息中包含目标字段来判断确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,从而非常简单地将目标确认消息与其他非目标确认消息区分开。若判断确认消息中不包含目标字段,即确认消息不是目标确认消息,则向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息,这样减少了因为与目标确认消息回复内容相同的其他的消息所导致的第一CGF与第二CGF均输出CDR情况的出现,即减少了重单现象的出现。In the embodiment of the present application, determining that the confirmation message is included in the confirmation message received by the CDF, the confirmation message is a target confirmation that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. The message makes it very easy to distinguish the target confirmation message from other non-target confirmation messages. If the acknowledgment message does not include the target field, that is, the acknowledgment message is not the target acknowledgment message, sending a second request message for deleting the second suspect duplicate packet to the second CGF, which reduces the The first CGF and the second CGF both output the CDR condition caused by replying to other messages with the same content, that is, the occurrence of the single phenomenon is reduced.
如图5与图6所示,本申请实施例提供另一种话单传输方法,包括以下步骤:As shown in FIG. 5 and FIG. 6 , the embodiment of the present application provides another method for transmitting a bill, including the following steps:
步骤501、CDF向CGF发送第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号。Step 501: The CDF sends a first suspected duplicate packet to the CGF, where the first suspect duplicate packet includes a sequence number of the target data packet.
步骤502、所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标取值,若所述确认消息包含所述目标取值,则 执行步骤503;若所述确认消息不包含所述目标取值,则执行步骤505。 Step 502, after the CDF receives the acknowledgment message sent by the first CGF, the CDF determines whether the acknowledgment message includes a target value, and if the acknowledgment message includes the target value, step 503 is performed; If the confirmation message does not include the target value, step 505 is performed.
步骤503、所述CDF确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息。Step 503: The CDF determines that the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet.
步骤504、所述CDF向第二CGF发送用于请求所述第二CGF输出第二可疑重复包中的CDR的第一请求消息,其中,所述第二可疑重复包包括所述目标数据包的序列号和CDR。Step 504: The CDF sends, to the second CGF, a first request message for requesting the second CGF to output a CDR in the second suspicious duplicate packet, where the second suspect duplicate packet includes the target data packet. Serial number and CDR.
步骤505、所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。Step 505: The CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
在一实施例中,目标确认消息的Cause字段的目标取值可以为178(与可能复制的数据包相关的请求(Request related to possibly duplicated packets Accepted)),而不包含目标取值的消息的Cause字段可以为252(Request related to possibly duplicated packets already fulfilled),或者可以为128(Request accepted),当然,在此并不具体限定目标确认消息的Cause字段的具体取值,只要能与其他非目标确认消息区分开来即可。In an embodiment, the target value of the Cause field of the target acknowledgement message may be 178 (Request related to possibly duplicated packets Accepted), and the Cause of the message that does not include the target value. The field may be 252 (Request related to possibly duplicated packets already fulfilled), or may be 128 (Request accepted). Of course, the specific value of the Cause field of the target confirmation message is not specifically limited herein, as long as it can be confirmed with other non-targets. The message is separated.
本实施例中,通过判断CDF接收到的确认消息中包含目标取值来判断确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,从而非常简单地将目标确认消息与其他非目标确认消息区分开。若判断确认消息中不包含目标取值,即确认消息不是目标确认消息,则向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息,这样减少了因为与目标确认消息回复内容相同的其他的消息所导致的第一CGF与第二CGF均输出CDR情况的出现,即减少了重单现象的出现。In this embodiment, by determining that the acknowledgment message received by the CDF includes the target value, determining that the acknowledgment message is a target confirmation that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. The message makes it very easy to distinguish the target confirmation message from other non-target confirmation messages. If the acknowledgment message does not include the target value, that is, the acknowledgment message is not the target acknowledgment message, the second CGF is sent to the second CGF to delete the second request message of the second suspected duplicate packet, which is reduced because the target is confirmed. The first CGF and the second CGF both output the CDR situation caused by the message replying to other messages with the same content, that is, the occurrence of the single phenomenon is reduced.
如图7与图8所示,本申请实施例提供另一种话单传输方法,包括以下步骤:As shown in FIG. 7 and FIG. 8 , the embodiment of the present application provides another method for transmitting a bill, including the following steps:
步骤701、CDF向CGF发送第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号。Step 701: The CDF sends a first suspected duplicate packet to the CGF, where the first suspect duplicate packet includes a sequence number of the target data packet.
步骤702、所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标标签,若所述确认消息包含所述目标标签,则执行步骤703;若所述确认消息不包含所述目标标签,则执行步骤705。Step 702: After the CDF receives the confirmation message sent by the first CGF, the CDF determines whether the confirmation message includes a target label, and if the confirmation message includes the target label, step 703 is performed; If the confirmation message does not include the target label, step 705 is performed.
步骤703、所述CDF确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息。Step 703: The CDF determines that the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet.
步骤704、所述CDF向第二CGF发送用于请求所述第二CGF输出第二可疑重复包中的CDR的第一请求消息,其中,所述第二可疑重复包包括所述目标数据包的序列号和CDR。Step 704: The CDF sends, to the second CGF, a first request message for requesting the second CGF to output a CDR in the second suspicious duplicate packet, where the second suspect duplicate packet includes the target data packet. Serial number and CDR.
步骤705、所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。Step 705: The CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
在一实施例中,在步骤701之前所完成的每一个步骤中,均可以携带一个唯一的标签,例如:CDF会向第一CGF发送目标数据包,在预设时间内,CDF若未接收到第一CGF发送的响应消息,在上述过程中,可以携带标签tagl;CDF向第二CGF发送与目标数据包包含相同序列号和相同CDR的第二可疑重复包,上述过程中,可以携带标签tag2;在第一CGF能够正常工作后,CDF接收到第一CGF发送的Cause字段为“Node Alive Request”的消息,CDF向第一CGF回复Cause字段为“Node Alive Response”消息,在上述过程中,可以携带标签tag3,目标确认消息也可以携带标签tag3。然后根据接收到的确认消息中携带的唯一的标签与标签tag3相匹配,若能够匹配成功,则可以根据标签来判断消息为目标确认消息。In an embodiment, each step performed before step 701 can carry a unique label. For example, the CDF sends a target data packet to the first CGF. If the CDF does not receive the preset time, The response message sent by the first CGF may carry the tag tag1 in the foregoing process; the CDF sends a second suspicious duplicate packet containing the same sequence number and the same CDR as the target data packet to the second CGF, where the tag tag2 can be carried in the foregoing process. After the first CGF can work normally, the CDF receives the message that the Cause field sent by the first CGF is “Node Alive Request”, and the CDF replies to the first CGF with the Cause field as “Node Alive Response” message. In the foregoing process, The tag tag3 can be carried, and the target confirmation message can also carry the tag tag3. Then, according to the unique tag carried in the received confirmation message, the tag tag3 is matched. If the matching is successful, the message can be determined as the target confirmation message according to the tag.
或者,可以给目标确认消息携带唯一的标签,其他步骤中的消息均不携带标签,同样可以将目标确认消息判断出来。Alternatively, the target confirmation message may carry a unique label, and the messages in other steps do not carry the label, and the target confirmation message may also be judged.
在一实施例中,CDF向第一CGF发送目标数据包的过程中,可能会出现丢包现象的出现,根据GTP协议规定,当发生丢包现象后,CDF向第一CGF重发目标数据包,此时重发的目标数据包与之前的目标数据包的标签应当为一样的。In an embodiment, when the CDF sends the target data packet to the first CGF, a packet loss phenomenon may occur. According to the GTP protocol, after the packet loss occurs, the CDF retransmits the target data packet to the first CGF. At this time, the retransmitted target packet should be the same as the previous target packet.
本申请实施例中,通过判断CDF接收到的确认消息中包含唯一的目标标签来判断确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,从而非常简单地将目标确认消息与其他非目标确认消息区分开。若判断确认消息中不包含目标标签,即确认消息不是目标确认消息,则向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息, 这样减少了因为与目标确认消息回复内容相同的其他的消息所导致的第一CGF与第二CGF均输出CDR情况的出现,减少了重单现象的出现。In the embodiment of the present application, by determining that the confirmation message received by the CDF includes a unique target label, determining that the confirmation message is that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. The target acknowledgement message makes it very easy to distinguish the target confirmation message from other non-target confirmation messages. If the acknowledgment message does not include the target label, that is, the acknowledgment message is not the target acknowledgment message, send a second request message for deleting the second suspect duplicate packet to the second CGF, which reduces the acknowledgment message with the target The occurrence of the CDR condition of both the first CGF and the second CGF caused by other messages with the same content is reduced, and the occurrence of the single phenomenon is reduced.
如图9所示,本申请实施例提供另一种话单传输方法,包括以下步骤:As shown in FIG. 9, the embodiment of the present application provides another method for transmitting a bill, including the following steps:
步骤901、第一CGF接收CDF发送的第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号。Step 901: The first CGF receives the first suspected duplicate packet sent by the CDF, where the first suspect duplicate packet includes a sequence number of the target data packet.
在一实施例中,步骤901之前的步骤可以参见图2所示的实施例的相应说明,此处不作赘述,且可以达到相同的有益效果。In an embodiment, the steps before the step 901 can be referred to the corresponding description of the embodiment shown in FIG. 2, which is not described herein, and the same beneficial effects can be achieved.
步骤902、所述第一CGF根据所述序列号判断是否接收到所述目标数据包。Step 902: The first CGF determines, according to the sequence number, whether the target data packet is received.
步骤903、若所述第一CGF未接收到所述目标数据包,则所述第一CGF向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包。Step 903: If the first CGF does not receive the target data packet, the first CGF sends a target acknowledgement message to the CDF, where the target acknowledgement message indicates that the first CGF receives the target The first suspicious duplicate packet but the target data packet is not received.
在一实施例中,步骤903可以包括:In an embodiment, step 903 can include:
若所述第一CGF未接收到所述目标数据包,则所述第一CGF向所述CDF发送包含目标字段的目标确认消息,其中,所述包含目标字段的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;If the first CGF does not receive the target data packet, the first CGF sends a target acknowledgement message including a target field to the CDF, where the target acknowledgement message including the target field indicates the first Receiving, by the CGF, the first suspected duplicate packet but not receiving the target data packet;
所述方法还可以包括:The method may further include:
若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含目标字段的确认消息,其中,所述不包含目标字段的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。If the first CGF receives the target data packet, the first CGF sends an acknowledgement message to the CDF that does not include a target field, where the acknowledgement message that does not include the target field indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
该实施方式中,上述目标字段可以参见图3所示的实施例的相应说明,此处不作赘述,且可以达到相同的有益效果。For the above-mentioned target field, refer to the corresponding description of the embodiment shown in FIG. 3, which is not described herein, and the same beneficial effects can be achieved.
在一实施例中,步骤903可以包括:In an embodiment, step 903 can include:
若所述第一CGF未接收到所述目标数据包,则所述第一CGF向所述CDF发送包含目标取值的目标确认消息,其中,所述包含目标取值的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;And if the first CGF does not receive the target data packet, the first CGF sends a target acknowledgement message including a target value to the CDF, where the target acknowledgement message including the target value indicates the Receiving, by the first CGF, the first suspected duplicate packet but not receiving the target data packet;
所述方法还可以包括:The method may further include:
若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含目标取值的确认消息,其中,所述不包含目标取值的确认消息表示所 述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。And if the first CGF receives the target data packet, the first CGF sends an acknowledgement message that does not include a target value to the CDF, where the acknowledgement message that does not include a target value indicates the first A CGF receives the first suspect duplicate packet and receives the target data packet.
该实施方式中,上述目标取值可以参见图3所示的实施例的相应说明,此处不作赘述,且可以达到相同的有益效果。For the above-mentioned target value, refer to the corresponding description of the embodiment shown in FIG. 3, which is not described herein, and the same beneficial effects can be achieved.
在一实施例中,步骤903可以包括:In an embodiment, step 903 can include:
若所述第一CGF未接收到所述目标数据包,所述第一CGF向所述CDF发送包含目标标签的目标确认消息,其中,所述包含目标标签的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;If the first CGF does not receive the target data packet, the first CGF sends a target acknowledgement message including a target label to the CDF, where the target acknowledgement message including the target label indicates the first CGF Receiving the first suspect duplicate packet but not receiving the target data packet;
所述方法还可以包括:The method may further include:
若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含目标标签的确认消息,其中,所述不包含目标标签的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。And if the first CGF receives the target data packet, the first CGF sends an acknowledgement message that does not include a target label to the CDF, where the acknowledgement message that does not include the target label indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
本申请实施例中,通过采用上述步骤中几种实施方式,同样可以达到减少重单现象的出现的效果,具体过程不再赘述,可以参见图3所示的实施例。In the embodiment of the present application, by using several implementation manners in the foregoing steps, the effect of reducing the occurrence of the single-single phenomenon can also be achieved. The specific process is not described in detail, and the embodiment shown in FIG. 3 can be referred to.
如图10所示,本申请实施例提供一种话单传输装置1000,该话单传输装置1000应用于CDF。该话单传输装置1000应用于CDF包括:As shown in FIG. 10, the embodiment of the present application provides a bill transfer device 1000, which is applied to a CDF. The application of the bill transfer device 1000 to the CDF includes:
第一发送模块1001,设置为向第一CGF发送第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;The first sending module 1001 is configured to send a first suspected duplicate packet to the first CGF, where the first suspect duplicate packet includes a sequence number of the target data packet;
第一判断模块1002,设置为接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;The first determining module 1002 is configured to: after receiving the acknowledgement message sent by the first CGF, determine whether the acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not receive the target Target confirmation message for the packet;
第二发送模块1003,设置为若所述确认消息为所述目标确认消息,则向第二CGF发送用于请求所述第二CGF输出第二可疑重复包中的计费呼叫详细记录CDR的第一请求消息,其中,所述第二可疑重复包包括所述目标数据包的序列号和所述CDR。The second sending module 1003 is configured to: if the acknowledgement message is the target acknowledgement message, send, to the second CGF, a request for requesting, by the second CGF, the billing call detailed record CDR in the second suspicious duplicate packet a request message, wherein the second suspect duplicate packet includes a sequence number of the target data packet and the CDR.
在一实施例中,如图11所示,所述第一判断模块1002是设置为接收到所述第一CGF发送的确认消息后,判断所述确认消息是否包含目标字段,若所述确认消息包含所述目标字段,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;In an embodiment, as shown in FIG. 11, the first determining module 1002 is configured to: after receiving the acknowledgement message sent by the first CGF, determine whether the acknowledgement message includes a target field, if the acknowledgement message Including the target field, determining that the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
所述话单传输装置还包括:The bill transfer device further includes:
第三发送模块1004,设置为若所述确认消息不包含所述目标字段,则向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。The third sending module 1004 is configured to send, to the second CGF, a second request message for deleting the second suspect duplicate packet if the acknowledgement message does not include the target field.
在一实施例中,如图12所示,所述第一判断模块1002是设置为接收到所述第一CGF发送的确认消息后,判断所述确认消息是否包含目标取值,若所述确认消息包含所述目标取值,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;In an embodiment, as shown in FIG. 12, the first determining module 1002 is configured to: after receiving the acknowledgement message sent by the first CGF, determine whether the acknowledgement message includes a target value, if the acknowledgement Determining, by the message, that the acknowledgement message is a target acknowledgement message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
所述话单传输装置还包括:The bill transfer device further includes:
第四发送模块1005,设置为若所述确认消息不包含所述目标取值,则向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。The fourth sending module 1005 is configured to send, to the second CGF, a second request message for deleting the second suspect duplicate packet if the acknowledgement message does not include the target value.
在一实施例中,如图13所示,所述第一判断模块1002是设置为接收到所述第一CGF发送的确认消息后,判断所述确认消息是否包含目标标签,若所述确认消息包含所述目标标签,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;In an embodiment, as shown in FIG. 13, the first determining module 1002 is configured to: after receiving the acknowledgement message sent by the first CGF, determine whether the acknowledgement message includes a target label, if the acknowledgement message Including the target tag, determining that the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
所述话单传输装置1000还包括:The bill transfer device 1000 further includes:
第五发送模块1006,设置为若所述确认消息不包含所述目标标签,则向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。The fifth sending module 1006 is configured to send, to the second CGF, a second request message for deleting the second suspect duplicate packet if the acknowledgement message does not include the target label.
本实施例中,上述话单传输装置1000可以是本申请实施例中方法实施例中任意实施方式的话单传输装置,本申请实施例中如图2-图8所示方法实施例中的任意实施方式都可以被本实施例中的上述话单传输装置1000所实现,并达到相同的有益效果,此处不再赘述。In this embodiment, the CDR transmission device 1000 may be a CDR transmission device in any of the method embodiments in the embodiment of the present application. In the embodiment of the present application, any implementation in the method embodiment shown in FIG. 2 to FIG. 8 The method can be implemented by the above-mentioned CDR transmission device 1000 in the embodiment, and achieve the same beneficial effects, and details are not described herein again.
如图14所示,本申请实施例提供一种话单传输装置1400,该话单传输装置1400应用于第一CGF。该话单传输装置1400包括:As shown in FIG. 14, the embodiment of the present application provides a bill transfer device 1400, and the bill transfer device 1400 is applied to a first CGF. The bill transfer device 1400 includes:
第一接收模块1401,设置为接收CDF发送的第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;The first receiving module 1401 is configured to receive a first suspected duplicate packet sent by the CDF, where the first suspect duplicate packet includes a sequence number of the target data packet;
第二判断模块1402,设置为根据所述序列号判断是否接收到所述目标数据包;The second determining module 1402 is configured to determine, according to the serial number, whether the target data packet is received;
第一发送模块1403,设置为若未接收到所述目标数据包,则向所述CDF发 送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包。The first sending module 1403 is configured to send a target acknowledgement message to the CDF if the target data packet is not received, where the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet However, the target data packet is not received.
在一实施例中,如图15所示,所述第一发送模块1403是设置为若未接收到所述目标数据包,则向所述CDF发送包含目标字段的目标确认消息,其中,所述包含目标字段的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;In an embodiment, as shown in FIG. 15, the first sending module 1403 is configured to send a target confirmation message including a target field to the CDF if the target data packet is not received, where The target confirmation message including the target field indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
所述话单传输装置1400还包括:The bill transfer device 1400 further includes:
第二发送模块1404,设置为若接收到所述目标数据包,则向所述CDF发送不包含目标字段的确认消息,其中,所述不包含目标字段的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。The second sending module 1404 is configured to: if the target data packet is received, send an acknowledgement message that does not include a target field to the CDF, where the acknowledge message that does not include the target field indicates that the first CGF receives The first suspect duplicate packet and receiving the target data packet.
在一实施例中,如图16所示,所述第一发送模块1403是设置为若未接收到所述目标数据包,则向所述CDF发送包含目标取值的目标确认消息,其中,所述包含目标取值的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;In an embodiment, as shown in FIG. 16, the first sending module 1403 is configured to: if the target data packet is not received, send a target confirmation message including a target value to the CDF, where The target acknowledgement message including the target value indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
所述话单传输装置1400还包括:The bill transfer device 1400 further includes:
第三发送模块1405,设置为若接收到所述目标数据包,则向所述CDF发送不包含目标取值的确认消息,其中,所述不包含目标取值的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。The third sending module 1405 is configured to send, to the CDF, an acknowledgement message that does not include a target value, if the target data packet is received, where the acknowledgement message that does not include the target value indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
在一实施例中,如图17所示,所述第一发送模块1403是设置为未接收到所述目标数据包,则向所述CDF发送包含目标标签的目标确认消息,其中,所述包含目标标签的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;In an embodiment, as shown in FIG. 17, the first sending module 1403 is configured to not receive the target data packet, and send a target confirmation message including a target label to the CDF, where the The target confirmation message of the target tag indicates that the first CGF receives the first suspected duplicate packet but does not receive the target data packet;
所述话单传输装置1400还包括:The bill transfer device 1400 further includes:
第四发送模块1406,设置为若接收到所述目标数据包,则向所述CDF发送不包含目标标签的确认消息,其中,所述不包含目标标签的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。The fourth sending module 1406 is configured to: if the target data packet is received, send an acknowledgement message that does not include the target label to the CDF, where the acknowledge message that does not include the target label indicates that the first CGF receives The first suspect duplicate packet and receiving the target data packet.
本申请实施例中,如图9所示方法实施例中的任意实施方式都可以被本实施例中的上述话单传输装置1400所实现,并达到相同的有益效果,此处不再赘述。In the embodiment of the present application, any of the method embodiments shown in FIG. 9 can be implemented by the above-mentioned CDR transmission device 1400 in the embodiment, and the same beneficial effects are achieved, and details are not described herein again.
如图18所示,图18是本申请实施例应用的通信设备的结构图,能够实现图2至图8所示的实施例的话单传输方法的细节,并达到相同的效果。如图18所示,该通信设备1800包括:处理器1801、收发机1802、存储器1803、用户接口1804和总线接口,其中:As shown in FIG. 18, FIG. 18 is a structural diagram of a communication device to which the embodiment of the present application is applied, which can implement the details of the CDR transmission method of the embodiment shown in FIG. 2 to FIG. 8, and achieve the same effect. As shown in FIG. 18, the communication device 1800 includes a processor 1801, a transceiver 1802, a memory 1803, a user interface 1804, and a bus interface, wherein:
处理器1801,设置为读取存储器1803中的程序,执行下列过程:The processor 1801 is configured to read the program in the memory 1803 and perform the following process:
计费数据功能CDF向第一计费网关功能CGF发送第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;The charging data function CDF sends a first suspicious duplicate packet to the first charging gateway function CGF, where the first suspect duplicate packet includes a sequence number of the target data packet;
所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message is a target confirmation that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. Message
若所述确认消息为所述目标确认消息,则所述CDF向第二CGF发送用于请求所述第二CGF输出第二可疑重复包中的计费呼叫详细记录CDR的第一请求消息,其中,所述第二可疑重复包包括所述目标数据包的序列号和所述CDR。And if the acknowledgement message is the target acknowledgement message, the CDF sends, to the second CGF, a first request message for requesting the second CGF to output a billing call detail record CDR in the second suspect duplicate packet, where The second suspected duplicate packet includes a sequence number of the target data packet and the CDR.
在一实施例中,收发机1802,设置为在处理器1801的控制下接收和发送数据,所述收发机1802包括至少两个天线端口。In an embodiment, the transceiver 1802 is configured to receive and transmit data under control of the processor 1801, the transceiver 1802 including at least two antenna ports.
在图18中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1801代表的一个或多个处理器和存储器1803代表的存储器的多种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的多种其他电路链接在一起,这些都是本领域所公知的,因此,本申请不再对总线架构进行进一步描述。总线接口提供接口。收发机1802可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与一种或多种其他装置通信的单元。针对不同的用户设备,用户接口1804还可以是能够外接或内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风或操纵杆等。In FIG. 18, the bus architecture may include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 1801 and various circuits of memory represented by memory 1803. The bus architecture can also link a variety of other circuits, such as peripherals, voltage regulators, and power management circuits, as is known in the art, and thus, the bus architecture is not further described herein. The bus interface provides an interface. Transceiver 1802 can be a plurality of components, including a transmitter and a receiver, providing means for communicating with one or more other devices on a transmission medium. For different user devices, the user interface 1804 may also be an interface capable of externally or indirectly requiring a device, including but not limited to a keypad, a display, a speaker, a microphone, or a joystick.
处理器1801负责管理总线架构和通常的处理,存储器1803可以存储处理器1801在执行操作时所使用的数据。The processor 1801 is responsible for managing the bus architecture and general processing, and the memory 1803 can store data used by the processor 1801 in performing operations.
在一实施例中,所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,包括:In an embodiment, after receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target confirmation message for the target packet, including:
所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标字段,若所述确认消息包含所述目标字段,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target field, and if the acknowledgement message includes the target field, determining the acknowledgement message to indicate the Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
所述方法还包括:The method further includes:
若所述确认消息不包含所述目标字段,则所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。And if the acknowledgement message does not include the target field, the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
在一实施例中,所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,包括:In an embodiment, after receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target confirmation message for the target packet, including:
所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标取值,若所述确认消息包含所述目标取值,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target value, and if the acknowledgement message includes the target value, determining that the acknowledgement message is a representation Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
所述方法还包括:The method further includes:
若所述确认消息不包含所述目标取值,则所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。And if the acknowledgement message does not include the target value, the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
在一实施例中,所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,包括:In an embodiment, after receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target confirmation message for the target packet, including:
所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标标签,若所述确认消息包含所述目标标签,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target tag, and if the acknowledgement message includes the target tag, determining the acknowledgement message to indicate the Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
所述方法还包括:The method further includes:
若所述确认消息不包含所述目标标签,则所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。If the acknowledgement message does not include the target tag, the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
本申请实施例中如图2-图8所示方法实施例中的任意实施方式都可以被本 实施例中的上述通信设备1800所实现,并达到相同的有益效果,此处不再赘述。Any embodiment of the method shown in FIG. 2 to FIG. 8 in the embodiment of the present application may be implemented by the foregoing communication device 1800 in the embodiment, and achieve the same beneficial effects, and details are not described herein again.
如图19所示,图19是本申请实施例应用的通信设备的结构图,能够实现图9所示的实施例的话单传输方法的细节,并达到相同的效果。如图19所示,该通信设备1900包括:处理器1901、收发机1902、存储器1903、用户接口1904和总线接口,其中:As shown in FIG. 19, FIG. 19 is a structural diagram of a communication device to which the embodiment of the present application is applied, which can implement the details of the CDR transmission method of the embodiment shown in FIG. 9, and achieve the same effect. As shown in FIG. 19, the communication device 1900 includes a processor 1901, a transceiver 1902, a memory 1903, a user interface 1904, and a bus interface, wherein:
处理器1901,设置为读取存储器1903中的程序,执行下列过程:The processor 1901, configured to read the program in the memory 1903, performs the following process:
第一CGF接收CDF发送的第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;Receiving, by the first CGF, a first suspected duplicate packet sent by the CDF, where the first suspect duplicate packet includes a sequence number of the target data packet;
所述第一CGF根据所述序列号判断是否接收到所述目标数据包;Determining, by the first CGF, whether the target data packet is received according to the serial number;
若所述第一CGF未接收到所述目标数据包,则所述第一CGF向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包。And if the first CGF does not receive the target data packet, the first CGF sends a target acknowledgement message to the CDF, where the target acknowledgement message indicates that the first CGF receives the first suspicious message The packet is repeated but the target packet is not received.
在一实施例中,收发机1902,设置为在处理器1901的控制下接收和发送数据,所述收发机1902包括至少两个天线端口。In an embodiment, transceiver 1902 is configured to receive and transmit data under control of processor 1901, which includes at least two antenna ports.
在图19中,总线架构可以包括任意数量的互联的总线和桥,具体由处理器1901代表的一个或多个处理器和存储器1903代表的存储器的多种电路链接在一起。总线架构还可以将诸如外围设备、稳压器和功率管理电路等之类的多种其他电路链接在一起,这些都是本领域所公知的,因此,本申请不再对总线架构进行进一步描述。总线接口提供接口。收发机1902可以是多个元件,即包括发送机和接收机,提供用于在传输介质上与一种或多种其他装置通信的单元。针对不同的用户设备,用户接口1904还可以是能够外接或内接需要设备的接口,连接的设备包括但不限于小键盘、显示器、扬声器、麦克风或操纵杆等。In FIG. 19, the bus architecture can include any number of interconnected buses and bridges, specifically linked by one or more processors represented by processor 1901 and various circuits of memory represented by memory 1903. The bus architecture can also link a variety of other circuits, such as peripherals, voltage regulators, and power management circuits, as is known in the art, and thus, the bus architecture is not further described herein. The bus interface provides an interface. Transceiver 1902 can be a plurality of components, including a transmitter and a receiver, providing means for communicating with one or more other devices on a transmission medium. For different user equipments, the user interface 1904 may also be an interface capable of externally or indirectly requiring a device, including but not limited to a keypad, a display, a speaker, a microphone, or a joystick.
处理器1901负责管理总线架构和通常的处理,存储器1903可以存储处理器1901在执行操作时所使用的数据。The processor 1901 is responsible for managing the bus architecture and general processing, and the memory 1903 can store data used by the processor 1901 when performing operations.
在一实施例中,所述第一CGF向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包,包括:In an embodiment, the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data. Package, including:
所述第一CGF向所述CDF发送包含目标字段的目标确认消息,其中,所述 包含目标字段的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;The first CGF sends a target acknowledgement message including a target field to the CDF, where the target acknowledgement message including the target field indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target data packet;
所述方法还包括:The method further includes:
若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含目标字段的确认消息,其中,所述不包含目标字段的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。If the first CGF receives the target data packet, the first CGF sends an acknowledgement message to the CDF that does not include a target field, where the acknowledgement message that does not include the target field indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
在一实施例中,所述第一CGF向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包,包括:In an embodiment, the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data. Package, including:
所述第一CGF向所述CDF发送包含目标取值的目标确认消息,其中,所述包含目标取值的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;The first CGF sends a target acknowledgement message including a target value to the CDF, where the target acknowledgement message including the target value indicates that the first CGF receives the first suspected duplicate packet but does not receive The target data packet;
所述方法还包括:The method further includes:
若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含目标取值的确认消息,其中,所述不包含目标取值的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。And if the first CGF receives the target data packet, the first CGF sends an acknowledgement message that does not include a target value to the CDF, where the acknowledgement message that does not include a target value indicates the first A CGF receives the first suspect duplicate packet and receives the target data packet.
在一实施例中,所述第一CGF向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包,包括:In an embodiment, the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not receive the target data. Package, including:
所述第一CGF向所述CDF发送包含目标标签的目标确认消息,其中,所述包含目标标签的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;The first CGF sends a target acknowledgment message including a target tag to the CDF, where the target acknowledgment message including the target tag indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target data packet;
所述方法还包括:The method further includes:
若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含目标标签的确认消息,其中,所述不包含目标标签的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。And if the first CGF receives the target data packet, the first CGF sends an acknowledgement message that does not include a target label to the CDF, where the acknowledgement message that does not include the target label indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
本申请实施例中图9所示方法实施例中的任意实施方式都可以被本实施例中的上述通信设备1900所实现,并达到相同的有益效果,此处不再赘述。Any of the embodiments of the method shown in FIG. 9 in the embodiment of the present application may be implemented by the foregoing communication device 1900 in the embodiment, and achieve the same beneficial effects, and details are not described herein again.
本领域普通技术人员可以理解实现上述如图2-图8所示实施例方法的全部或者部分步骤是可以通过程序指令相关的硬件来完成,所述的程序可以存储于一计算机可读存储介质中,该程序在执行时,包括以下步骤:A person skilled in the art can understand that all or part of the steps of implementing the foregoing method as shown in FIG. 2 to FIG. 8 can be completed by hardware related to program instructions, and the program can be stored in a computer readable storage medium. When the program is executed, it includes the following steps:
CDF向第一CGF发送第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;The CDF sends a first suspicious duplicate packet to the first CGF, where the first suspect duplicate packet includes a sequence number of the target data packet;
所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message is a target confirmation that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. Message
若所述确认消息为所述目标确认消息,则所述CDF向第二CGF发送用于请求所述第二CGF输出第二可疑重复包中的计费呼叫详细记录CDR的第一请求消息,其中,所述第二可疑重复包包括所述目标数据包的序列号和CDR。And if the acknowledgement message is the target acknowledgement message, the CDF sends, to the second CGF, a first request message for requesting the second CGF to output a billing call detail record CDR in the second suspect duplicate packet, where The second suspect duplicate packet includes a sequence number and a CDR of the target data packet.
在一实施例中,该程序在执行时,所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,包括:In an embodiment, when the program receives the confirmation message sent by the first CGF, the CDF determines whether the confirmation message indicates that the first CGF receives the first suspect duplicate packet. However, the target confirmation message of the target data packet is not received, including:
所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标字段,若所述确认消息包含所述目标字段,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target field, and if the acknowledgement message includes the target field, determining the acknowledgement message to indicate the Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
该程序在执行时,还包括:When the program is executed, it also includes:
若所述确认消息不包含所述目标字段,则所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。And if the acknowledgement message does not include the target field, the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
在一实施例中,该程序在执行时,所述CDF接收到所述第一CGF发送的确认消息后,则判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,包括:In an embodiment, when the program receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message indicates that the first CGF receives the first suspicious duplicate. The packet does not receive the target confirmation message of the target data packet, including:
所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标取值,若所述确认消息包含所述目标取值,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target value, and if the acknowledgement message includes the target value, determining that the acknowledgement message is a representation Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
该程序在执行时,还包括:When the program is executed, it also includes:
若所述确认消息不包含所述目标取值,则所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。And if the acknowledgement message does not include the target value, the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
在一实施例中,该程序在执行时,所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,包括:In an embodiment, when the program receives the confirmation message sent by the first CGF, the CDF determines whether the confirmation message indicates that the first CGF receives the first suspect duplicate packet. However, the target confirmation message of the target data packet is not received, including:
所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标标签,若所述确认消息包含所述目标标签,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target tag, and if the acknowledgement message includes the target tag, determining the acknowledgement message to indicate the Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
该程序在执行时,还包括:When the program is executed, it also includes:
若所述确认消息不包含所述目标标签,则所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。If the acknowledgement message does not include the target tag, the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The computer readable storage medium, such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
本领域普通技术人员可以理解实现如图9所示实施例方法的全部或者部分步骤是可以通过程序指令相关的硬件来完成,所述的程序可以存储于一计算机可读存储介质中,该程序在执行时,包括以下步骤:One of ordinary skill in the art can understand that all or part of the steps of implementing the method of the embodiment shown in FIG. 9 can be completed by hardware related to program instructions, and the program can be stored in a computer readable storage medium. When executed, the following steps are included:
第一CGF接收CDF发送的第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;Receiving, by the first CGF, a first suspected duplicate packet sent by the CDF, where the first suspect duplicate packet includes a sequence number of the target data packet;
所述第一CGF根据所述序列号判断是否接收到所述目标数据包;Determining, by the first CGF, whether the target data packet is received according to the serial number;
若所述第一CGF未接收到所述目标数据包,则所述第一CGF向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包。And if the first CGF does not receive the target data packet, the first CGF sends a target acknowledgement message to the CDF, where the target acknowledgement message indicates that the first CGF receives the first suspicious message The packet is repeated but the target packet is not received.
在一实施例中,该程序在执行时,所述第一CGF向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包,包括:In an embodiment, when the program is executed, the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not Receiving the target data packet, including:
所述第一CGF向所述CDF发送包含目标字段的目标确认消息,其中,所述 包含目标字段的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;The first CGF sends a target acknowledgement message including a target field to the CDF, where the target acknowledgement message including the target field indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target data packet;
该程序在执行时,还包括:When the program is executed, it also includes:
若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含目标字段的确认消息,其中,所述不包含目标字段的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。If the first CGF receives the target data packet, the first CGF sends an acknowledgement message to the CDF that does not include a target field, where the acknowledgement message that does not include the target field indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
在一实施例中,该程序在执行时,所述第一CGF向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包,包括:In an embodiment, when the program is executed, the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not Receiving the target data packet, including:
所述第一CGF向所述CDF发送包含目标取值的目标确认消息,其中,所述包含目标取值的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;The first CGF sends a target acknowledgement message including a target value to the CDF, where the target acknowledgement message including the target value indicates that the first CGF receives the first suspected duplicate packet but does not receive The target data packet;
该程序在执行时,还包括:When the program is executed, it also includes:
若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含目标取值的确认消息,其中,所述不包含目标取值的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。And if the first CGF receives the target data packet, the first CGF sends an acknowledgement message that does not include a target value to the CDF, where the acknowledgement message that does not include a target value indicates the first A CGF receives the first suspect duplicate packet and receives the target data packet.
在一实施例中,该程序在执行时,所述第一CGF向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包,包括:In an embodiment, when the program is executed, the first CGF sends a target acknowledgement message to the CDF, wherein the target acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but does not Receiving the target data packet, including:
所述第一CGF向所述CDF发送包含目标标签的目标确认消息,其中,所述包含目标标签的目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包;The first CGF sends a target acknowledgment message including a target tag to the CDF, where the target acknowledgment message including the target tag indicates that the first CGF receives the first suspected duplicate packet but does not receive the Target data packet;
该程序在执行时,还包括:When the program is executed, it also includes:
若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含目标标签的确认消息,其中,所述不包含目标标签的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。And if the first CGF receives the target data packet, the first CGF sends an acknowledgement message that does not include a target label to the CDF, where the acknowledgement message that does not include the target label indicates the first CGF Receiving the first suspect duplicate packet and receiving the target data packet.
所述的计算机可读存储介质,如ROM、RAM、磁碟或者光盘等。The computer readable storage medium, such as a ROM, a RAM, a magnetic disk, or an optical disk.
以上所述是本申请的实施方式。The above is an embodiment of the present application.

Claims (18)

  1. 一种话单传输方法,包括:A bill transfer method includes:
    计费数据功能CDF向第一计费网关功能CGF发送第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;The charging data function CDF sends a first suspicious duplicate packet to the first charging gateway function CGF, where the first suspect duplicate packet includes a sequence number of the target data packet;
    所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After receiving the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message is a target confirmation that the first CGF receives the first suspect duplicate packet but does not receive the target data packet. Message
    若所述确认消息为所述目标确认消息,则所述CDF向第二CGF发送用于请求所述第二CGF输出第二可疑重复包中的计费呼叫详细记录CDR的第一请求消息,其中,所述第二可疑重复包包括所述目标数据包的序列号和所述CDR。And if the acknowledgement message is the target acknowledgement message, the CDF sends, to the second CGF, a first request message for requesting the second CGF to output a billing call detail record CDR in the second suspect duplicate packet, where The second suspected duplicate packet includes a sequence number of the target data packet and the CDR.
  2. 根据权利要求1所述的方法,其中,所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,包括:The method of claim 1, wherein the CDF, after receiving the acknowledgement message sent by the first CGF, determines whether the acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but The target confirmation message of the target data packet is not received, including:
    所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标字段,若所述确认消息包含所述目标字段,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target field, and if the acknowledgement message includes the target field, determining the acknowledgement message to indicate the Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
    所述方法还包括:The method further includes:
    若所述确认消息不包含所述目标字段,则所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。And if the acknowledgement message does not include the target field, the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  3. 根据权利要求1所述的方法,其中,所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息,包括:The method of claim 1, wherein the CDF, after receiving the acknowledgement message sent by the first CGF, determines whether the acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but The target confirmation message of the target data packet is not received, including:
    所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标取值,若所述确认消息包含所述目标取值,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target value, and if the acknowledgement message includes the target value, determining that the acknowledgement message is a representation Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
    所述方法还包括:The method further includes:
    若所述确认消息不包含所述目标取值,则所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。And if the acknowledgement message does not include the target value, the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  4. 根据权利要求1所述的方法,其中,所述CDF接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一 可疑重复包但未接收到所述目标数据包的目标确认消息,包括:The method of claim 1, wherein the CDF, after receiving the acknowledgement message sent by the first CGF, determines whether the acknowledgement message indicates that the first CGF receives the first suspect duplicate packet but The target confirmation message of the target data packet is not received, including:
    所述CDF接收到所述第一CGF发送的确认消息后,所述CDF判断所述确认消息是否包含目标标签,若所述确认消息包含所述目标标签,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;After the CDF receives the acknowledgement message sent by the first CGF, the CDF determines whether the acknowledgement message includes a target tag, and if the acknowledgement message includes the target tag, determining the acknowledgement message to indicate the Receiving, by the first CGF, the first suspicious duplicate packet but not receiving the target acknowledgement message of the target data packet;
    所述方法还包括:The method further includes:
    若所述确认消息不包含所述目标标签,则所述CDF向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。If the acknowledgement message does not include the target tag, the CDF sends a second request message for deleting the second suspect duplicate packet to the second CGF.
  5. 一种话单传输方法,包括:A bill transfer method includes:
    第一CGF接收CDF发送的第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;Receiving, by the first CGF, a first suspected duplicate packet sent by the CDF, where the first suspect duplicate packet includes a sequence number of the target data packet;
    所述第一CGF根据所述序列号判断是否接收到所述目标数据包;Determining, by the first CGF, whether the target data packet is received according to the serial number;
    若所述第一CGF未接收到所述目标数据包,则所述第一CGF向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包。And if the first CGF does not receive the target data packet, the first CGF sends a target acknowledgement message to the CDF, where the target acknowledgement message indicates that the first CGF receives the first suspicious message The packet is repeated but the target packet is not received.
  6. 根据权利要求5所述的方法,其中,所述第一CGF向所述CDF发送目标确认消息,包括:The method of claim 5, wherein the first CGF sends a target confirmation message to the CDF, including:
    所述第一CGF向所述CDF发送包含目标字段的目标确认消息;Sending, by the first CGF, a target acknowledgement message including a target field to the CDF;
    所述方法还包括:The method further includes:
    若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含所述目标字段的确认消息,其中,所述不包含所述目标字段的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。And if the first CGF receives the target data packet, the first CGF sends an acknowledgement message to the CDF that does not include the target field, where the acknowledge message that does not include the target field indicates The first CGF receives the first suspect duplicate packet and receives the target data packet.
  7. 根据权利要求5所述的方法,其中,所述第一CGF向所述CDF发送目标确认消息,包括:The method of claim 5, wherein the first CGF sends a target confirmation message to the CDF, including:
    所述第一CGF向所述CDF发送包含目标取值的目标确认消息;Sending, by the first CGF, a target acknowledgement message including a target value to the CDF;
    所述方法还包括:The method further includes:
    若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含所述目标取值的确认消息,其中,所述不包含所述目标取值的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。And if the first CGF receives the target data packet, the first CGF sends an acknowledgement message that does not include the target value to the CDF, where the acknowledgement message does not include the target value Representing that the first CGF receives the first suspect duplicate packet and receives the target data packet.
  8. 根据权利要求5所述的方法,其中,所述第一CGF向所述CDF发送目标确认消息,包括:The method of claim 5, wherein the first CGF sends a target confirmation message to the CDF, including:
    所述第一CGF向所述CDF发送包含目标标签的目标确认消息;Sending, by the first CGF, a target confirmation message including a target tag to the CDF;
    所述方法还包括:The method further includes:
    若所述第一CGF接收到所述目标数据包,则所述第一CGF向所述CDF发送不包含所述目标标签的确认消息,其中,所述不包含所述目标标签的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。If the first CGF receives the target data packet, the first CGF sends an acknowledgement message to the CDF that does not include the target label, where the acknowledgement message that does not include the target label indicates The first CGF receives the first suspect duplicate packet and receives the target data packet.
  9. 一种话单传输装置,包括:A bill transfer device comprising:
    第一发送模块,设置为向第一CGF发送第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;a first sending module, configured to send a first suspected duplicate packet to the first CGF, where the first suspect duplicate packet includes a sequence number of the target data packet;
    判断模块,设置为接收到所述第一CGF发送的确认消息后,判断所述确认消息是否为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;The determining module is configured to: after receiving the acknowledgement message sent by the first CGF, determine whether the acknowledgement message is that the first CGF receives the first suspected duplicate packet but does not receive the target data packet. Target confirmation message;
    第二发送模块,设置为若所述确认消息为所述目标确认消息,则向第二CGF发送用于请求所述第二CGF输出第二可疑重复包中的计费呼叫详细记录CDR的第一请求消息,其中,所述第二可疑重复包包括所述目标数据包的序列号和所述CDR。a second sending module, configured to send, to the second CGF, a first request for the second CGF to output a charging call detailed record CDR in the second suspicious duplicate packet, if the acknowledgement message is the target acknowledgement message a request message, wherein the second suspect duplicate packet includes a sequence number of the target data packet and the CDR.
  10. 根据权利要求9所述的话单传输装置,其中,所述判断模块是设置为接收到所述第一CGF发送的确认消息后,判断所述确认消息是否包含目标字段,若所述确认消息包含所述目标字段,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;The CDR transmission device according to claim 9, wherein the determining module is configured to: after receiving the acknowledgment message sent by the first CGF, determine whether the acknowledgment message includes a target field, if the acknowledgment message includes Determining the target field, determining that the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
    所述话单传输装置还包括:The bill transfer device further includes:
    第三发送模块,设置为若所述确认消息不包含所述目标字段,则向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。And a third sending module, configured to send, to the second CGF, a second request message for deleting the second suspected duplicate packet, if the acknowledgement message does not include the target field.
  11. 根据权利要求9所述的话单传输装置,其中,所述判断模块是设置为接收到所述第一CGF发送的确认消息后,判断所述确认消息是否包含目标取值,若所述确认消息包含所述目标取值,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;The CDR transmission device according to claim 9, wherein the determining module is configured to: after receiving the acknowledgment message sent by the first CGF, determine whether the acknowledgment message includes a target value, if the acknowledgment message includes Determining, by the target, the confirmation message is a target confirmation message indicating that the first CGF receives the first suspect duplicate packet but does not receive the target data packet;
    所述话单传输装置还包括:The bill transfer device further includes:
    第四发送模块,设置为若所述确认消息不包含所述目标取值,则向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。And a fourth sending module, configured to send, to the second CGF, a second request message for deleting the second suspicious duplicate packet, if the acknowledgement message does not include the target value.
  12. 根据权利要求9所述的话单传输装置,其中,所述判断模块是设置为接收到所述第一CGF发送的确认消息后,判断所述确认消息是否包含目标标签, 若所述确认消息包含所述目标标签,则确定所述确认消息为表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包的目标确认消息;The CDR transmission device according to claim 9, wherein the determining module is configured to: after receiving the acknowledgment message sent by the first CGF, determine whether the acknowledgment message includes a target tag, if the acknowledgment message includes Determining, by the target tag, the confirmation message is a target confirmation message indicating that the first CGF receives the first suspected duplicate packet but does not receive the target data packet;
    所述话单传输装置还包括:The bill transfer device further includes:
    第五发送模块,设置为若所述确认消息不包含所述目标标签,则向所述第二CGF发送用于删除所述第二可疑重复包的第二请求消息。And a fifth sending module, configured to send, to the second CGF, a second request message for deleting the second suspected duplicate packet, if the acknowledgement message does not include the target label.
  13. 一种话单传输装置,包括:A bill transfer device comprising:
    接收模块,设置为接收CDF发送的第一可疑重复包,其中,所述第一可疑重复包中包含目标数据包的序列号;a receiving module, configured to receive a first suspected duplicate packet sent by the CDF, where the first suspect duplicate packet includes a sequence number of the target data packet;
    判断模块,设置为根据所述序列号判断是否接收到所述目标数据包;a determining module, configured to determine, according to the serial number, whether the target data packet is received;
    第一发送模块,设置为若未接收到所述目标数据包,则向所述CDF发送目标确认消息,其中,所述目标确认消息表示所述第一CGF接收到所述第一可疑重复包但未接收到所述目标数据包。a first sending module, configured to send a target acknowledgement message to the CDF if the target data packet is not received, where the target acknowledgement message indicates that the first CGF receives the first suspected duplicate packet but The target data packet was not received.
  14. 根据权利要求13所述的话单传输装置,其中,所述第一发送模块是设置为若未接收到所述目标数据包,则向所述CDF发送包含目标字段的目标确认消息;The CDR transmission apparatus according to claim 13, wherein said first transmitting module is configured to transmit a target acknowledgment message including a target field to said CDF if said target data packet is not received;
    所述话单传输装置还包括:The bill transfer device further includes:
    第二发送模块,设置为若接收到所述目标数据包,则向所述CDF发送不包含所述目标字段的确认消息,其中,所述不包含所述目标字段的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。a second sending module, configured to send, to the CDF, an acknowledgement message that does not include the target field, if the target data packet is received, where the acknowledgement message that does not include the target field indicates the first The CGF receives the first suspect duplicate packet and receives the target data packet.
  15. 根据权利要求13所述的话单传输装置,其中,所述第一发送模块是设置为若未接收到所述目标数据包,则向所述CDF发送包含目标取值的目标确认消息;The CDR transmission device according to claim 13, wherein the first transmitting module is configured to send a target acknowledgment message including a target value to the CDF if the target data packet is not received;
    所述话单传输装置还包括:The bill transfer device further includes:
    第三发送模块,设置为若接收到所述目标数据包,则向所述CDF发送不包含所述目标取值的确认消息,其中,所述不包含所述目标取值的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。a third sending module, configured to send, to the CDF, an acknowledgement message that does not include the target value, if the target data packet is received, where the confirmation message that does not include the target value indicates the The first CGF receives the first suspect duplicate packet and receives the target data packet.
  16. 根据权利要求13所述的话单传输装置,其中,所述第一发送模块是设置为若未接收到所述目标数据包,则向所述CDF发送包含目标标签的目标确认消息;The CDR transmission apparatus according to claim 13, wherein said first transmitting module is configured to transmit a target acknowledgment message including a target tag to said CDF if said target data packet is not received;
    所述话单传输装置还包括:The bill transfer device further includes:
    第四发送模块,设置为若接收到所述目标数据包,则向所述CDF发送不包 含所述目标标签的确认消息,其中,所述不包含目标标签的确认消息表示所述第一CGF接收到所述第一可疑重复包并接收到所述目标数据包。a fourth sending module, configured to send, to the CDF, an acknowledgement message that does not include the target label, if the target data packet is received, where the acknowledgement message that does not include the target label indicates that the first CGF receives Go to the first suspect duplicate packet and receive the target data packet.
  17. 一种通信设备,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现如权利要求1-8任一项所述的话单传输方法。A communication device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the program to implement any of claims 1-8 The CDR transmission method described.
  18. 一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,该程序被处理器执行时实现如权利要求1-8任一项所述的话单传输方法。A computer readable storage medium storing a computer program, the program being executed by a processor to implement the CDR transmission method according to any one of claims 1-8.
PCT/CN2018/093698 2017-06-30 2018-06-29 Call ticket transfer method, communication device and computer readable storage medium WO2019001569A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710522717.6 2017-06-30
CN201710522717.6A CN109219006A (en) 2017-06-30 2017-06-30 Bill transmission method, relevant device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2019001569A1 true WO2019001569A1 (en) 2019-01-03

Family

ID=64740386

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/093698 WO2019001569A1 (en) 2017-06-30 2018-06-29 Call ticket transfer method, communication device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN109219006A (en)
WO (1) WO2019001569A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067184A (en) * 2012-11-26 2013-04-24 大唐移动通信设备有限公司 Exception handling method of offline charging and system
CN103108295A (en) * 2011-11-11 2013-05-15 中兴通讯股份有限公司 Handling method and system for phone bill package
US20160127563A1 (en) * 2014-10-31 2016-05-05 Alcatel-Lucent Usa Inc. HANDLING OF REDUCED PARTIAL CDRs IN AN OFFLINE CHARGING SYSTEM

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237331B (en) * 2007-12-27 2011-11-02 华为技术有限公司 CDR file generation method, transmission method, system and device
CN102497623B (en) * 2011-11-30 2014-04-23 中国联合网络通信集团有限公司 Ticket processing method, ticket collection system and charging system
US9560211B2 (en) * 2014-06-04 2017-01-31 Alcatel-Lucent Usa Inc. Error handling for CDR transport within an offline charging system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108295A (en) * 2011-11-11 2013-05-15 中兴通讯股份有限公司 Handling method and system for phone bill package
CN103067184A (en) * 2012-11-26 2013-04-24 大唐移动通信设备有限公司 Exception handling method of offline charging and system
US20160127563A1 (en) * 2014-10-31 2016-05-05 Alcatel-Lucent Usa Inc. HANDLING OF REDUCED PARTIAL CDRs IN AN OFFLINE CHARGING SYSTEM

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"3GPP. '' Technical Specification Group Services and System Aspects Telecommunication management Charging management Charging Data Record (CDR) Transfer", TS 32.295, 17 March 2017 (2017-03-17), pages 1 - 38, XP055569182 *

Also Published As

Publication number Publication date
CN109219006A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
US8270943B2 (en) Method and apparatus for reliable transmission of charging detail records
CN101009607B (en) Systems and methods for detecting and preventing flooding attacks in a network environment
US20120221445A1 (en) Method and apparatus for detecting duplicate accounting records in distributed network
CN101635908B (en) Ticket transmission processing method and system of billing system
EP2779713B1 (en) Method and system for data record packet processing
CN107733808A (en) A kind of flow transmission method and device
CN104025550A (en) Obtaining information from data items
CN110677383A (en) Firewall opening method and device, storage medium and computer equipment
WO2012075934A1 (en) Method for detecting message loop, routing agent apparatus and networking system
CN109510690A (en) Method, networking component and the computer readable storage medium of transmitting message
CN106817228A (en) Data charging method and device
WO2019001569A1 (en) Call ticket transfer method, communication device and computer readable storage medium
US20220272203A1 (en) Blockchain-Based Roaming Transaction Method and Apparatus
CN104507059B (en) A kind of multimedia message transmitting administrative method and multimedia message send managing device
KR101476748B1 (en) Apparatus and method for transmitting and receiving messages
US10849179B1 (en) Mobile network tool
US9787852B2 (en) Sequence number reuse for CDR transport using GTP'
CN111901227A (en) Simple and lightweight message real-time pushing system and implementation method thereof
CN102970669A (en) Phone bill sending and processing method and device
WO2019001574A1 (en) Call ticket output method and apparatus, and storage medium
WO2021259026A1 (en) Charging notification function entity, charging function entity, call detail record processing method and apparatus, and storage medium
CN109165855B (en) Financial business application data model system and control method thereof
CN110166323B (en) Method for improving reliability of block chain network
CN116112197A (en) Authentication information transmission method, authentication information transmission system, storage medium, and apparatus
KR102439775B1 (en) Message processing apparatus and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18823615

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18823615

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 28/05/2020)