The present invention relates to the field of communications technologies, and in particular, to an event reporting method and an apparatus.
To address a challenge brought by wireless broadband technologies and keep a leading position of a 3rd Generation Partnership Project (3GPP) network, the 3GPP formulates a Long Term Evolution (LTE) project for a mobile communications network. Under the direction of the project, a new mobile communications network architecture is defined, namely, an architecture of a System Architecture Evolution (SAE) network.
A mobility management entity (MME) is mainly responsible for functions in an evolved universal mobile telecommunications system terrestrial radio access network (E-UTRAN), such as UE mobility management, session management, encryption and integrity protection of non-access stratum (NAS) signaling, temporary identifier allocation for the UE, and PGW and SGW selection. The MME corresponds to a control plane part of the SGSN in a Universal Mobile Telecommunications System (UMTS).
The SGW is mainly responsible for relaying a user service flow between the UE and the PGW, and is used as an anchor during handover between base stations.
The PGW is mainly responsible for user address allocation, execution of policy control and a charging rule, and a function related to lawful interception.
A policy and charging rules function (PCRF) entity: the functional entity determines a corresponding policy based on a restriction on a user's access to a network, an operator policy, user subscription data, information about a service currently being performed by a user, and the like, and provides the policy to a transmission gateway for execution, so as to implement policy charging control.
A home subscriber server (HSS) is responsible for storing user subscription information.
An operator's IP services (Operator's IP Services): the operator's IP (Internet Protocol) services are implemented in an LTE network by using an IP multimedia subsystem (IMS) network. In addition, a packet-switched streaming service (PSS) technology is a technology that is used for providing a streaming service to the user and that is defined by the 3GPP. A PSS network architecture mainly includes a mobile terminal and a PSS server that is on a network side.
The PCRF entity is a functional entity in a policy and charging control (PCC) architecture. The PCC architecture provides a quality of service (QoS) control function and a data stream charging function for a radio bearer network, and the PCC architecture further includes a policy and charging enforcement function PCEF) entity. The PCEF entity is usually located in a gateway, and is configured to execute a PCC rule sent by the PCRF entity, to implement functions such as detection of a service data flow, gating control, QoS guarantee of the service data flow, and flow-based charging. The PCC rule is used to identify a service, recognize a service to which a packet belongs, and provide policy control information, service charging information, and the like.
In the PCC architecture, data transmission is managed per data stream. However, data transmission is managed per bearer between the PGW, the SGW, and the E-UTRAN. After the data stream starts to be transmitted, the PCRF entity delivers the PCC rule to the PCEF entity, and the PCC rule carries QoS information of the data stream, so that the PCEF entity binds the data stream to a corresponding bearer based on the QoS information. However, in practice, it is found that the foregoing binding mechanism may cause a waste of network resources.
Embodiments of the present invention describe an event reporting method and an apparatus, so as to resolve a waste of network resources.
According to one aspect, an embodiment of the present invention provides an event reporting method. The method includes: receiving, by a policy and charging rules function PCRF entity, a first message sent by a traffic detection function TDF entity, where the first message includes a start event, and the start event is used to notify the PCRF entity that a data stream starts to be transmitted; sending, by the PCRF entity, a second message to a PCEF entity or the TDF entity, where the second message is used by the PCEF entity or the TDF entity to send a stop event to the PCRF entity, and the stop event is used to notify the PCRF entity that the transmission of the data stream stops; and receiving, by the PCRF entity, the stop event sent by the PCEF entity or the TDF entity. Further, the PCRF entity may further unbind the foregoing data stream from a corresponding bearer. In this way, the PCRF entity can receive the stop event to learn that the transmission of the data stream stops, so that after the transmission of the data stream stops, the PCRF entity may unbind the data stream from the corresponding bearer to release the bearer, reducing a waste of network resources.
In a possible design, the first message may further include 5-tuple information of the data stream, and the sending, by the PCRF entity, a second message to a PCEF entity or the TDF entity may include: sending, by the PCRF entity, a reporting instruction of the stop event and the 5-tuple information of the data stream to the PCEF entity, where the 5-tuple information of the data stream is used by the PCEF entity to detect the data stream, and the reporting instruction of the stop event is used to instruct the PCEF entity to send the stop event to the PCRF entity when the transmission of the data stream stops. For example, the PCRF entity may send a second rule to the PCEF entity, and the second rule includes the reporting instruction of the stop event and the 5-tuple information of the data stream. Therefore, the PCRF entity may instruct the PCEF entity to report the stop event, so as to learn, in a timely manner, that the transmission of the data stream stops.
In a possible design, the PCRF entity may further deliver a first rule to the TDF entity, the first rule includes an identifier and a reporting instruction of the start event, and the identifier is used to identify the data stream. In this way, the PCRF entity may learn, in a timely manner, that the data stream starts to be transmitted. In addition, when the first rule does not include the reporting instruction of the stop event, a network transmission resource may be saved.
In a possible design, the sending, by the PCRF entity, a second message to a PCEF entity or the TDF entity may include: sending, by the PCRF entity, an identifier of the data stream and a reporting instruction of the stop event to the TDF entity, where the reporting instruction of the stop event is used to instruct the TDF entity to send the stop event to the PCRF entity when the transmission of the data stream stops. For example, the PCRF entity may send a third rule to the TDF entity, and the third rule includes the identifier of the data stream and the reporting instruction of the stop event. Therefore, the PCRF entity may instruct the TDF entity to report the stop event, so as to learn, in a timely manner, that the transmission of the data stream stops.
In a possible design, the second message may further include a notification, where the notification is used to notify the TDF entity that the reporting instruction of the stop event is valid before the transmission of the data stream stops; or the PCRF entity may further send a notification to the TDF entity, where the notification is used to notify the TDF entity that the reporting instruction of the stop event is valid before the transmission of the data stream stops. In this way, the PCRF entity may learn, in a timely manner, that the transmission of the data stream stops, and the PCRF entity does not need to additionally send the reporting instruction of the stop event, so that a network transmission resource is saved and a change to an existing procedure is relatively slight.
In a possible design, the PCRF entity may further send modification information to the PCEF entity or the TDF entity, where the modification information is used by the PCEF entity or the TDF entity to send the stop event to the PCRF entity when transmission of a downlink data stream of the data stream stops. Alternatively, the PCRF entity may also enable, by sending other information to the PCEF entity or the TDF entity or in any another manner, the PCEF entity or the TDF entity to send the stop event to the PCRF entity when the transmission of the downlink data stream of the data stream stops. In this way, the PCRF entity may learn, in a timely manner, that the transmission of the data stream stops, and the PCEF entity or the TDF entity only needs to detect whether the downlink data stream stops, saving a CPU resource of the PCEF entity or the TDF entity.
In a possible design, the PCRF entity may further send 5-tuple information of an uplink data stream of the data stream to the PCEF entity or the TDF entity, so that the PCEF entity or the TDF entity processes the uplink data stream of the data stream. For example, the PCRF entity may send a fourth rule to the PCEF entity or the TDF entity, where the fourth rule includes the 5-tuple information of the uplink data stream of the data stream, or the fourth rule may further include a quality of service policy of the uplink data stream of the data stream. In this way, the PCEF entity or the TDF entity may separately process the uplink data stream and the downlink data stream of the data stream, so that a change to the existing procedure is relatively slight and an existing device does not need to be changed.
According to another aspect, an embodiment of the present invention provides an event reporting method. The method includes: receiving, by a policy and charging enforcement function PCEF entity, a message sent by a policy and charging rules function PCRF entity, where the message is used by the PCEF entity to send a stop event to the PCRF entity, and the stop event is used to notify the PCRF entity that transmission of a data stream stops; detecting, by the PCEF entity, the data stream based on the message; and when the transmission of the data stream stops, sending, by the PCEF entity, the stop event to the PCRF entity. In this way, the PCEF entity reports the stop event to the PCRF entity, so that the PCRF entity may learn, in a timely manner, that the transmission of the data stream stops, and perform a subsequent operation related to unbinding the bearer, so as to resolve a problem of a waste of bearer resources.
In a possible design, the message includes 5-tuple information of the data stream and a reporting instruction of the stop event, the reporting instruction of the stop event is used to instruct the PCEF entity to send the stop event to the PCRF entity when the transmission of the data stream stops, and the PCEF entity may detect a data stream corresponding to the 5-tuple information of the data stream.
In a possible design, the PCEF entity receives modification information and an identifier of a downlink data stream of the data stream that are sent by the PCRF entity, where the modification information is used by the PCEF entity to send the stop event to the PCRF entity when the transmission of the downlink data stream of the data stream stops. In this way, the PCEF entity only needs to detect whether the downlink data stream stops, saving a CPU resource of the PCEF entity.
In a possible design, the PCEF entity receives 5-tuple information that is of an uplink data stream of the data stream and that is sent by the PCRF entity, so that the PCEF entity processes the uplink data stream of the data stream. In this way, the PCEF entity may separately process the uplink data stream and the downlink data stream of the data stream, so that a change to the existing procedure is relatively slight and an existing device does not need to be changed.
According to still another aspect, an embodiment of the present invention provides an event reporting method. The method includes: sending, by a TDF entity, a first message to a policy and charging rules function PCRF entity, where the first message includes a start event, and the start event is used to notify the PCRF entity that a data stream starts to be transmitted; receiving, by the TDF entity, a second message sent by the PCRF entity, where the second message is used by the TDF entity to send a stop event to the PCRF entity, and the stop event is used to notify the PCRF entity that the transmission of the data stream stops; detecting, by the TDF entity, the data stream based on the second message; and when the transmission of the data stream stops, sending, by the TDF entity, the stop event to the PCRF entity. In this way, the TDF entity reports the stop event to the PCRF entity, so that the PCRF entity may learn, in a timely manner, that the transmission of the data stream stops, and perform a subsequent operation related to unbinding the bearer, so as to resolve a problem of a waste of bearer resources.
In a possible design, the receiving, by the TDF entity, a second message sent by the PCRF entity may include: receiving, by the TDF entity, an identifier of the data stream and a reporting instruction of the stop event that are sent by the PCRF entity, where the reporting instruction of the stop event is used to instruct the TDF entity to send the stop event to the PCRF entity when the transmission of the data stream stops. For example, the TDF entity receives a third rule sent by the PCRF entity, and the third rule includes the identifier of the data stream and the reporting instruction of the stop event.
In a possible design, the second message may further include a notification, where the notification is used to notify the TDF entity that the reporting instruction of the stop event is valid before the transmission of the data stream stops; or the TDF entity may further receive a notification sent by the PCRF entity, where the notification is used to notify the TDF entity that the reporting instruction of the stop event is valid before the transmission of the data stream stops. In a possible design, the TDF entity receives modification information and an identifier of a downlink data stream of the data stream that are sent by the PCRF entity, where the modification information is used by the TDF entity to send the stop event to the PCRF entity when the transmission of the downlink data stream of the data stream stops. In this way, the TDF entity only needs to detect whether the downlink data stream stops, saving a CPU resource of the TDF entity.
In a possible design, the TDF entity receives 5-tuple information that is of an uplink data stream of the data stream and that is sent by the PCRF entity, so that the
TDF entity processes the uplink data stream of the data stream. In this way, the TDF entity may separately process the uplink data stream and the downlink data stream of the data stream, so that a change to the existing procedure is relatively slight and an existing device does not need to be changed.
According to still another aspect, an embodiment of the present invention provides a policy and charging rules function PCRF entity, and the PCRF entity has a function of implementing behavior of the PCRF entity in the foregoing method designs. The function may be implemented by hardware, or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function. The module may be software and/or hardware.
In a possible design, a structure of the PCRF entity includes a processor and a transceiver. The processor is configured to support the PCRF entity in performing a corresponding function in the foregoing methods. The transceiver is configured to support the PCRF entity in communicating with another network element. The PCRF entity may further include a memory. The memory is configured to: be coupled to the processor, and store a program instruction and data that are required by the PCRF entity.
According to still another aspect, an embodiment of the present invention provides a policy and charging enforcement function PCEF entity, and the PCEF entity has a function of implementing behavior of the PCEF entity in the foregoing method designs. The function may be implemented by hardware, or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function. The module may be software and/or hardware.
In a possible design, a structure of the PCEF entity includes a processor and a transceiver. The processor is configured to support the PCEF entity in performing a corresponding function in the foregoing methods. The transceiver is configured to support the PCEF entity in communicating with another network element. The PCEF entity may further include a memory. The memory is configured to: be coupled to the processor, and store a program instruction and data that are required by the PCEF entity.
According to still another aspect, an embodiment of the present invention provides a traffic detection function TDF entity, and the TDF entity has a function of implementing behavior of the TDF entity in the foregoing method designs. The function may be implemented by hardware, or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function. The module may be software and/or hardware.
In a possible design, a structure of the TDF entity includes a processor and a transceiver. The processor is configured to support the TDF entity in performing a corresponding function in the foregoing methods. The transceiver is configured to support the TDF entity in communicating with another network element. The TDF entity may further include a memory. The memory is configured to: be coupled to the processor, and store a program instruction and data that are required by the TDF entity.
According to still another aspect, an embodiment of the present invention provides an integrated device, and the integrated device has a function of implementing behavior of the PCEF entity and the TDF entity in the foregoing method designs. The function may be implemented by hardware, or may be implemented by hardware by executing corresponding software. The hardware or software includes one or more modules corresponding to the foregoing function. The module may be software and/or hardware.
In a possible design, a structure of the integrated device includes a processor and a transceiver. The processor is configured to support the integrated device in performing a corresponding function in the foregoing methods. The transceiver is configured to support the integrated device in communicating with another network element. The integrated device may further include a memory. The memory is configured to: be coupled to the processor, and store a program instruction and data that are required by the integrated device.
According to still another aspect, an embodiment of the present invention provides a communications system, where the system includes the PCRF entity and the TDF entity in the foregoing aspects; or the system includes the PCRF entity, the TDF entity, and the PCEF entity in the foregoing aspects; or the system includes the PCRF entity and the integrated device in the foregoing aspects.
According to yet another aspect, an embodiment of the present invention provides a computer storage medium, configured to store a computer software instruction used by the PCRF entity, and the computer storage medium includes a program designed for performing the foregoing aspects.
According to yet another aspect, an embodiment of the present invention provides a computer storage medium, configured to store a computer software instruction used by the PCEF entity, and the computer storage medium includes a program designed for performing the foregoing aspects.
According to yet another aspect, an embodiment of the present invention provides a computer storage medium, configured to store a computer software instruction used by the TDF entity, and the computer storage medium includes a program designed for performing the foregoing aspects.
According to yet another aspect, an embodiment of the present invention provides a computer storage medium, configured to store a computer software instruction used by the integrated device, and the computer storage medium includes a program designed for performing the foregoing aspects.
Compared with the prior art, in the embodiments of the present invention, the PCRF entity sends the second message to the PCEF entity or the TDF entity, where the second message is used by the PCEF entity or the TDF entity to send the stop event to the PCRF entity and the stop event is used to notify the PCRF entity that the transmission of the data stream stops, so that the PCRF entity can receive, after receiving the start event and learning that the data stream starts to be transmitted, the stop event to learn that the transmission of the data stream stops. Therefore, after the transmission of the data stream stops, the PCRF entity may unbind the data stream from the corresponding bearer to release the bearer, reducing the waste of the network resources.
To describe the technical solutions in the embodiments of the present invention more clearly, the following briefly describes the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may derive other drawings from these accompanying drawings without creative efforts.
To make the objectives, technical solutions, and advantages of the present invention clearer, the following describes the technical solutions of the embodiments of the present invention with reference to the accompanying drawings.
In an existing data transmission process, after a data stream starts to be transmitted, a PCRF entity delivers a PCC rule to a PCEF entity. Therefore, after the PCEF entity binds the data stream to a corresponding bearer, the PCRF entity retains the corresponding bearer for the data stream because the PCRF entity cannot learn whether the data stream stops or when to stop. Therefore, even after the transmission of the foregoing data stream stops, the corresponding bearer of the data stream cannot be released, thereby causing a waste of network resources.
For this purpose, embodiments of the present invention provide an event reporting method and an apparatus, so as to resolve a problem of the waste of the network resources. The method and the apparatus are based on a same inventive concept. Because problem resolving principles of the method and the apparatus are similar, mutual reference may be made to implementations of the method and the apparatus, and no repeated description is provided.
To clearly describe the solutions in the embodiments of the present invention, a service scenario and a system architecture that may be used in the embodiments of the present invention are described below with reference to
It should be noted that the foregoing PCC architectures shown in
It may be understood that the network architecture and the service scenario described in the embodiments of the present invention are intended to describe the technical solutions in the embodiments of the present invention more clearly, and impose no limitation on the technical solutions provided in the embodiments of the present invention. A person of ordinary skill in the art may know that, with evolution of the network architecture and emergence of a new service scenario, the technical solutions provided in the embodiments of the present invention are also applicable to a similar technical problem.
Based on foregoing common aspects included in the embodiments of the present invention, the following further describes the embodiments of the present invention in detail.
An embodiment of the present invention provides an event reporting method, an apparatus based on the method, such as a PCRF entity, a PCEF entity, and a TDF entity, and a system based on the method. As shown in
Compared with the prior art, in the solutions provided in the embodiments of the present invention, the PCRF entity sends the second message to the PCEF entity or the TDF entity, where the second message is used by the PCEF entity or the TDF entity to send the stop event to the PCRF entity, so that the PCRF entity can receive, after receiving the start event and learning that the data stream starts to be transmitted, the stop event to learn that the transmission of the data stream stops. Therefore, after the transmission of the data stream stops, the PCRF entity may unbind the data stream from the corresponding bearer to release the bearer, reducing a waste of network resources.
The following further describes the solutions provided in the embodiments of the present invention with reference to
In step 501, a PCRF entity delivers a first rule to a TDF entity.
The first rule includes an identifier and a reporting instruction of the start event. The start event is used to notify the PCRF entity that a data stream starts to be transmitted, and the identifier is used to identify the data stream. For example, the identifier may be an application identifier. The first rule may be an ADC rule.
For example, the first rule may further include a reporting instruction of a stop event, and the stop event is used to notify the PCRF entity that the transmission of the data stream stops. The first rule that includes the identifier and the reporting instruction of the start event is delivered to the TDF entity, so that the TDF entity may detect, in a timely manner, whether the data stream corresponding to the identifier starts to be transmitted, and report the start event to the PCRF when detecting that the data stream corresponding to the identifier starts to be transmitted. Therefore, the PCRF entity may learn, in a timely manner, that the data stream starts to be transmitted.
In step 502, the TDF detects a data stream corresponding to the identifier.
After receiving the first rule, the TDF entity detects, based on the reporting instruction of the start event, the data stream identified by the identifier, and performs step 503 when detecting that the data stream identified by the identifier starts to be transmitted.
In step 503, the TDF entity sends a first message to the PCRF entity, where the first message includes a start event.
For example, the first message further includes 5-tuple information of the data stream. The 5-tuple information includes five pieces of information: a source IP address, a source port, a destination IP address, a destination port, and a transport layer protocol. For example, a 5-tuple includes 192.168.1.1, 10000, TCP, 121.14.88.76, and 80.
In step 504, the PCRF entity delivers a second rule to a PCEF entity.
After receiving the start event, the PCRF entity learns that the data stream starts to be transmitted, and generates the second rule. For example, the second rule may be a PCC rule. The second rule includes the reporting instruction of the stop event and the 5-tuple information.
For example, the second rule may further include a quality of service policy or a charging policy of the data stream, or the like. Then correspondingly, after receiving the second rule, the PCEF may bind, based on the quality of service policy in the second rule, the data stream corresponding to the 5-tuple information to a corresponding bearer, or perform, based on the charging policy in the second rule, charging on the data stream corresponding to the 5-tuple information.
In step 505, the PCEF entity detects a data stream corresponding to the 5-tuple information.
After receiving the reporting instruction of the stop event, the PCEF entity detects the corresponding data stream based on the 5-tuple information, and performs step 506 when detecting that the transmission of the data stream identified by the 5-tuple information stops.
In step 506, the PCEF entity sends a stop event to the PCRF entity.
By performing steps 504 to 506, the PCRF entity may learn, based on the stop event reported by the PCEF entity, that the transmission of the data stream stops. Therefore, even if the first rule does not include the reporting instruction of the stop event, the PCRF entity can also learn, in a timely manner, that the transmission of the data stream stops.
In an existing procedure, after the first rule (such as the ADC rule) is delivered, if the PCRF entity sends the second rule (such as the PCC rule) to the PCEF entity, the first rule is no longer executed. To be specific, the TDF entity does not detect whether the data stream stops, and does not report the stop event to the PCRF entity. However, in the solution shown in
In step 601, a PCRF entity delivers a third rule to a TDF entity.
The third rule includes an identifier, a reporting instruction of a start event, and a reporting instruction of a stop event, and the identifier is used to identify a data stream. For example, the identifier may be an application identifier. The third rule may be an ADC rule.
In step 602, the TDF entity detects a data stream corresponding to the identifier.
After receiving the third rule, the TDF entity detects the data stream identified by the identifier. When it is detected that the data stream identified by the identifier starts to be transmitted, step 603 is performed. When it is detected that the transmission of the data stream identified by the identifier stops, step 604 is performed.
For example, the third rule further includes a notification, and the notification is used to notify the TDF entity that the reporting instruction of the stop event is valid before the transmission of the data stream stops. For example, after receiving the third rule, the TDF entity may configure the reporting instruction of the stop event to take effect after the TDF entity sends the start event to the PCRF entity, and remain valid until the transmission of the data stream stops; or after the third rule is delivered, the reporting instruction of the stop event is always valid until the transmission of the data stream stops.
For another example, the PCRF entity may not add the notification to the third rule, but sends the notification to the TDF entity in another manner after the third rule is delivered. A specific implementation is not limited.
For another example, the TDF entity configures a rule in which the reporting instruction of the stop event is valid before the transmission of the data stream stops. To be specific, after the TDF entity receives the third rule, the reporting instruction of the stop event in the third rule starts to take effect after the TDF entity sends the start event to the PCRF entity, and is valid until the transmission of the data stream stops.
In step 603, the TDF entity sends a first message to the PCRF entity, where the first message includes a start event.
For example, after receiving the first message sent by the TDF entity, the PCRF entity may formulate a PCC rule, and deliver the PCC rule to a PCEF entity. The PCC rule may further include 5-tuple information of the data stream, a quality of service policy or a charging policy, and the like. Correspondingly, after receiving the PCC rule, the PCEF entity may bind, based on the quality of service policy in the PCC rule, the data stream corresponding to the 5-tuple information to a corresponding bearer, or perform, based on the charging policy in the PCC rule, charging on the data stream corresponding to the 5-tuple information.
In step 604, the TDF entity sends a stop event to the PCRF entity.
In an existing procedure, when the ADC rule includes the reporting instruction of the stop event, if the PCRF entity sends the PCC rule to the PCEF entity, the reporting instruction of the stop event in the ADC rule is invalid. To be specific, the TDF entity does not detect whether the data stream stops, and does not report the stop event to the PCRF entity. However, in the solution shown in
In step 701, a PCRF entity delivers a third rule to a TDF entity.
Step 701 is similar to step 601 in
In step 702, the TDF entity detects a data stream corresponding to an identifier.
Step 702 is similar to step 602 in
After receiving the third rule, the TDF entity detects the data stream identified by the identifier. When it is detected that the data stream identified by the identifier starts to be transmitted, step 703 is performed.
In step 703, the TDF entity sends a first message to the PCRF entity, where the message includes a start event.
Step 703 is similar to step 603 in
For example, the first message further includes 5-tuple information of an uplink data stream of the data stream.
In step 704, the PCRF entity sends a fourth rule to a PCEF entity.
The fourth rule includes at least one of the 5-tuple information of the uplink data stream of the data stream and a quality of service policy of the uplink data stream of the data stream. The fourth rule may be a PCC rule.
For example, after receiving the fourth rule, the PCEF entity may bind, based on the quality of service policy in the fourth rule, the uplink data stream corresponding to the 5-tuple information to a corresponding bearer, for example, generate a traffic flow template (TFT), and notify a terminal device, and the terminal device binds the bearer of the uplink data stream.
In step 705, the PCRF entity sends modification information to the TDF entity.
The modification information is used by the TDF entity to send the stop event to the PCRF entity when transmission of a downlink data stream of the data stream stops. It may be understood that a manner of sending the modification information herein is merely used as an example, and the PCRF entity may also enable, by sending other information or in any another manner, the TDF entity to send the stop event to the PCRF entity when the transmission of the downlink data stream of the data stream stops.
In step 706, the TDF entity sends a stop event to the PCRF entity.
When detecting that the transmission of the downlink data stream of the data stream stops, the TDF entity sends the stop event to the PCRF entity.
For example, the TDF entity detects a data stream corresponding to a particular application, and the data stream corresponding to the application includes only a downlink data stream or the application has a small amount of data transmitted in an uplink direction. When detecting that the transmission of the downlink data stream corresponding to the application stops, the TDF entity may consider that data transmission corresponding to the application has ended and therefore send the stop event to the PCRF entity.
In the solution shown in
It should be noted that in the solution shown in
It should be noted that the methods described in
The foregoing mainly describes the solutions provided in the embodiments of the present invention from a perspective of interaction between network elements. It may be understood that, to implement the foregoing functions, each network element, such as the PCRF entity, the PCEF entity, and the TDF entity, includes a corresponding hardware structure and/or software module for performing each function. A person skilled in the art should be easily aware that, with reference to units and algorithm steps in the examples described in the embodiments provided in this specification, the present invention can be implemented in a form of hardware or a combination of hardware and computer software. Whether a function is performed by hardware or hardware driven by computer software depends on particular applications and design constraints of the technical solutions. A person skilled in the art may use different methods to perform the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the present invention.
In the embodiments of the present invention, division of functional units may be performed on the PCRF entity, the PCEF entity, and the TDF entity based on the foregoing method examples. For example, each functional unit may be obtained through division based on a corresponding function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in a form of hardware, or may be implemented in a form of a software functional unit. It should be noted that the unit division in the embodiments of the present invention is an example, and is only logical function division. There may be another division manner in an actual implementation.
When an integrated unit is used,
The processing unit 802 may be a processor or a controller, for example, may be a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processing unit 802 may implement or execute various example logical blocks, modules, and circuits described with reference to content provided in the present invention. The processor may also be a combination of processors performing a computing function, for example, one microprocessor or a combination of more than one microprocessor, or a combination of the DSP and a microprocessor. The communications unit 803 may be a transceiver, a transceiver circuit, a communications interface, or the like. The storage unit 801 may be a memory.
When the processing unit 802 is the processor, the communications unit 803 is the transceiver, and the storage unit 801 is the memory, the PCRF entity provided in this embodiment of the present invention may be a PCRF entity shown in
Referring to
When an integrated unit is used,
The processing unit 902 may be a processor or a controller, for example, may be a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processing unit 902 may implement or execute various example logical blocks, modules, and circuits described with reference to content provided in the present invention. The processor may also be a combination of processors performing a computing function, for example, one microprocessor or a combination of more than one microprocessor, or a combination of the DSP and a microprocessor. The communications unit 903 may be a transceiver, a transceiver circuit, a communications interface, or the like. The storage unit 901 may be a memory.
When the processing unit 902 is the processor, the communications unit 903 is the transceiver, and the storage unit 901 is the memory, the PCEF entity provided in this embodiment of the present invention may be a PCEF entity shown in
Referring to
When an integrated unit is used,
The processing unit 1002 may be a processor or a controller, for example, may be a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, a transistor logic device, a hardware component, or any combination thereof. The processing unit 1002 may implement or execute various example logical blocks, modules, and circuits described with reference to content provided in the present invention. The processor may also be a combination of processors performing a computing function, for example, one microprocessor or a combination of more than one microprocessor, or a combination of the DSP and a microprocessor. The communications unit 1003 may be a transceiver, a transceiver circuit, a communications interface, or the like. The storage unit 1001 may be a memory.
When the processing unit 1002 is the processor, the communications unit 1003 is the transceiver, and the storage unit 1001 is the memory, the TDF entity provided in this embodiment of the present invention may be a TDF entity shown in
Referring to
It should be noted that when functions of the TDF entity and the PCEF entity are integrated into an integrated device, a structure of the integrated device may be shown in
Method or algorithm steps described in combination with the content provided in the present invention may be implemented by hardware, or may be implemented by a processor by executing a software instruction. The software instruction may include a corresponding software module. The software module may be stored in a random access memory (RAM), a flash memory, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a register, a hard disk, a mobile hard disk, a compact disc read-only memory (CD-ROM), or any other form of storage medium well-known in the art. For example, a storage medium is coupled to a processor, so that the processor can read information from the storage medium or write information into the storage medium. Certainly, the storage medium may be a component of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in a core network interface device. Certainly, the processor and the storage medium may exist in the core network interface device as discrete components.
A person skilled in the art should be aware that in the foregoing one or more examples, functions described in the present invention may be implemented by hardware, software, firmware, or any combination thereof When the present invention is implemented by software, the foregoing functions may be stored in a computer-readable medium or transmitted as one or more instructions or code in the computer-readable medium. The computer-readable medium includes a computer storage medium and a communications medium, where the communications medium includes any medium that enables a computer program to be transmitted from one place to another. The storage medium may be any available medium accessible to a general-purpose or dedicated computer.
The objectives, technical solutions, and benefits of the present invention are further described in detail in the foregoing specific embodiments. It should be understood that the foregoing descriptions are merely specific embodiments of the present invention, but are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
This application is a continuation of International Application No. PCT/CN2016/078054, filed on Mar. 31, 2016, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2016/078054 | Mar 2016 | US |
Child | 16146365 | US |