Detecting apparatus and method for determining air interface resources consumed by service
Abstract
Embodiments of the present invention provide a related entity, and a method for determining air interface resources consumed by a service. The related entity includes: a receiver, configured to receive, from a control plane entity, air interface connection information of a UE, and receive, from a data plane entity, service information of the UE, where the air interface connection information includes time points at which the UE establishes and releases an air interface connection, the service information includes time points at which the UE starts and stops transmitting data of a service, and the service includes a to-be-detected service; and a processor, configured to determine a target air interface connection set according to the air interface connection information and the service information, and determine air interface resource consumption information of the to-be-detected service according to the target air interface connection set.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1. A detecting apparatus, comprising:
a receiver, configured to:
receive, from a control plane entity, air interface connection information of a user equipment (UE); and
receive, from a data plane entity, service information of the UE;
wherein the air interface connection information comprises time points at which the UE establishes and releases an air interface connection, the service information comprises time points at which the UE starts and stops transmitting data of a service, and the service comprises a to-be-detected service; and
a processor, configured to:
determine a target air interface connection set according to the air interface connection information and the service information; and
determine air interface resource consumption information of the to-be-detected service according to the target air interface connection set;
wherein the target air interface connection set comprises one or more target air interface connections, and the target air interface connection is an air interface connection transmitting data of the to-be-detected service.
2. The detecting apparatus according to claim 1 , wherein the processor is configured to:
determine, for each target air interface connection in the target air interface connection set, resource consumption information of the to-be-detected service on the target air interface connection; and
determine the air interface resource consumption information of the to-be-detected service according to the resource consumption information of the to-be-detected service on each target air interface connection in the target air interface connection set.
3. The detecting apparatus according to claim 2 , wherein:
the resource consumption information is used to indicate consumed air interface duration; and
when the processor determines the resource consumption information of the to-be-detected service on the target air interface connection, the processor is configured to:
determine connection duration of the target air interface connection according to the air interface connection information;
determine, according to the air interface connection information and the service information, whether the target air interface connection transmits data of another service; and
if it is determined that the target air interface connection transmits data of the another service, determine, according to transmission consumption of the data of the to-be-detected service on the target air interface connection, transmission consumption of the data of the another service on the target air interface connection, and the connection duration of the target air interface connection, air interface duration consumed on the target air interface connection by the to-be-detected service, wherein the transmission consumption comprises a quantity of times of transmission or transmission duration; or
if it is determined that the target air interface connection does not transmit data of the another service, determine that air interface duration consumed on the target air interface connection by the to-be-detected service is the connection duration of the target air interface connection.
4. The detecting apparatus according to claim 3 , wherein:
when the processor determines the air interface resource consumption information of the to-be-detected service according to the resource consumption information of the to-be-detected service on each target air interface connection in the target air interface connection set, the processor is configured to:
determine that the air interface duration consumed by the to-be-detected service is a sum of air interface duration consumed on each target air interface connection in the target air interface connection set by the to-be-detected service.
5. The detecting apparatus according to claim 3 wherein:
when the processor determines, according to the transmission consumption of the data of the to-be-detected service on the target air interface connection, the transmission consumption of the data of the another service on the target air interface connection, and the connection duration of the target air interface connection, the air interface duration consumed on the target air interface connection by the to-be-detected service, the processor is configured to:
determine, according to the service information, the transmission consumption of the data of the to-be-detected service on the target air interface connection as C1;
determine, according to the service information, the transmission consumption of the data of the another service on the target air interface connection as C2; and
determine the air interface duration consumed on the target air interface connection by the to-be-detected service as C1/(C1+C2)×T, wherein T is the connection duration of the target air interface connection.
6. The detecting apparatus according to claim 4 , wherein:
the service information further comprises traffic information generated between the time points at which the UE starts and stops transmitting the data of the service; and
the processor is further configured to:
determine, according to the service information, traffic generated by the to-be-detected service; and
determine, according to the traffic generated by the to-be-detected service and the air interface duration consumed by the to-be-detected service, air interface duration consumed by unit traffic of the to-be-detected service.
7. The detecting apparatus according to claim 2 , wherein:
the resource consumption information is used to indicate a quantity of times of air interface connection that is consumed; and
when the processor determines the resource consumption information of the to-be-detected service on the target air interface connection, the processor is configured to:
determine, according to the air interface connection information and the service information, whether data that is transmitted on the target air interface connection for the first time is the data of the to-be-detected service; and
when the data that is transmitted on the target air interface connection for the first time is the data of the to-be-detected service, determine that the to-be-detected service consumes the target air interface connection once.
8. The detecting apparatus according to claim 7 , wherein:
when the processor determines the air interface resource consumption information of the to-be-detected service according to the resource consumption information of the to-be-detected service on each target air interface connection in the target air interface connection set, the processor is configured to:
determine that a quantity of times of air interface connection consumed by the to-be-detected service is a sum of quantities of times of connection consumed on the target air interface connection in the target air interface connection set by the to-be-detected service.
9. The detecting apparatus according to claim 7 , wherein:
the service information further comprises traffic information generated between the time points at which the UE starts and stops transmitting the data of the service; and
the processor is further configured to:
determine, according to the service information, traffic generated by the to-be-detected service; and
determine, according to the traffic generated by the to-be-detected service and the quantity of times of air interface connection consumed by the to-be-detected service, a quantity of times of air interface connection consumed by unit traffic of the to-be-detected service.
10. The detecting apparatus according to claim 1 , wherein:
the control plane entity comprises abase station or abase station controller; and
the air interface connection comprises a radio resource (RR) connection, a radio resource control (RRC) connection, a temporary block flow (TBF) bearer, or a radio bearer (RB).
11. The detecting apparatus according to claim 1 , wherein:
the control plane entity comprises a mobility management network element; and
the air interface connection comprises an Iu/S1 connection.
12. The detecting apparatus according to claim 1 , wherein the data plane entity comprises a serving gateway or a data gateway.
13. A method for determining air interface resources consumed by a service, the method comprising:
receiving, from a control plane entity, air interface connection information of a user equipment (UE), wherein the air interface connection information comprises time points at which the UE establishes and releases an air interface connection;
receiving, from a data plane entity, service information of the UE, wherein the service information comprises time points at which the UE starts and stops transmitting data of a service, and the service comprises a to-be-detected service;
determining a target air interface connection set according to the air interface connection info Elation and the service information, wherein the target air interface connection set comprises one or more target air interface connections, and the target air interface connection is an air interface connection transmitting data of the to-be-detected service; and
determining air interface resource consumption information of the to-be-detected service according to the target air interface connection set.
14. The method according to claim 13 , wherein determining the air interface resource consumption information of the to-be-detected service according to the target air interface connection set comprises:
determining, for each target air interface connection in the target air interface connection set, resource consumption information of the to-be-detected service on the target air interface connection; and
determining the air interface resource consumption information of the to-be-detected service according to the resource consumption information of the to-be-detected service on each target air interface connection in the target air interface connection set.
15. The method according to claim 14 , wherein:
the resource consumption information is used to indicate consumed air interface duration; and
determining resource consumption information of the to-be-detected service on the target air interface connection comprises:
determining connection duration of the target air interface connection according to the air interface connection information;
determining, according to the air interface connection information and the service information, whether the target air interface connection transmits data of another service; and
if it is determined that the target air interface connection transmits data of the another service, determining, according to transmission consumption of the data of the to-be-detected service on the target air interface connection, transmission consumption of the data of the another service on the target air interface connection, and the connection duration of the target air interface connection, air interface duration consumed on the target air interface connection by the to-be-detected service, wherein the transmission consumption comprises a quantity of times of transmission or transmission duration; or
if it is determined that the target air interface connection does not transmit data of the another service, determining that air interface duration consumed on the target air interface connection by the to-be-detected service is the connection duration of the target air interface connection.
16. The method according to claim 15 , wherein determining the air interface resource consumption information of the to-be-detected service according to the resource consumption information of the to-be-detected service on each target air interface connection in the target air interface connection set comprises:
determining that air interface duration consumed by the to-be-detected service is a sum of air interface duration consumed on each target air interface connection in the target air interface connection set by the to-be-detected service.
17. The method according to claim 15 , wherein determining, according to transmission consumption of the data of the to-be-detected service on the target air interface connection, transmission consumption of the data of the another service on the target air interface connection, and the connection duration of the target air interface connection, air interface duration consumed on the target air interface connection by the to-be-detected service comprises:
determining, according to the service information, the transmission consumption of the data of the to-be-detected service on the target air interface connection as C1;
determining, according to the service information, the transmission consumption of the data of the another service on the target air interface connection as C2; and
determining the air interface duration consumed on the target air interface connection by the to-be-detected service as C1/(C1+C2)×T, wherein T is the connection duration of the target air interface connection.
18. The method according to claim 16 , wherein:
the service information further comprises traffic information generated between the time points at which the UE starts and stops transmitting the data of the service; and
the method further comprises:
determining, according to the service information, traffic generated by the to-be-detected service; and
determining, according to the traffic generated by the to-be-detected service and the air interface duration consumed by the to-be-detected service, air interface duration consumed by unit traffic of the to-be-detected service.
19. The method according to claim 14 , wherein:
the resource consumption information is used to indicate a quantity of times of air interface connection that is consumed; and
determining resource consumption information of the to-be-detected service on the target air interface connection comprises:
determining, according to the air interface connection information and the service information, whether data that is transmitted on the target air interface connection for the first time is the data of the to-be-detected service; and
when the data that is transmitted on the target air interface connection for the first time is the data of the to-be-detected service, determining that the to-be-detected service consumes the target air interface connection once.
20. The method according to claim 19 , wherein determining the air interface resource consumption information of the to-be-detected service according to the resource consumption information of the to-be-detected service on each target air interface connection in the target air interface connection set comprises:
determining that a quantity of times of air interface connection consumed by the to-be-detected service is a sum of quantities of times of connection consumed on the target air interface connection in the target air interface connection set by the to-be-detected service.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.