Method, device and storage medium for acquiring service XDR

The method and apparatus address the issue of incomplete service XDRs by separately collecting user plane and control plane data, using preconfigured associations to generate and update service XDRs, ensuring completeness and accuracy.

JP2024542620AActive Publication Date: 2024-11-15ZTE CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024531634
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-03-22
Filing Date
2022-10-25
Publication Date
2024-11-15
Estimated Expiration
2042-10-25

AI Technical Summary

Technical Problem

Existing methods for generating service XDRs are ineffective when the control plane and user plane of network elements are separated, leading to incomplete or inaccurate service XDRs due to missing fields that rely on control plane information.

Method used

A method and apparatus that collect service data from the user plane and control plane separately, using preconfigured associations to generate and update service XDRs by incorporating signaling XDRs generated from the control plane, ensuring complete and accurate service XDR acquisition.

Benefits of technology

Enables the generation of complete and accurate service XDRs even when the control plane and user plane are separated, by filling in missing fields using target signaling XDRs and updating service XDRs accordingly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024542620000001_ABST
    Figure 2024542620000001_ABST
Patent Text Reader

Abstract

This application discloses a method, device and storage medium for acquiring a service XDR. The method for acquiring a service XDR, which is applied to a first device, includes the steps of: receiving a service XDR sent by a second device and generated based on service data collected from a user plane (401); searching for a target signaling XDR among signaling XDRs sent by the third device and generated based on information about a service in the signaling collected from a control plane based on the service XDR and a preset association between the service and the signaling (402); and updating the service XDR according to the target signaling XDR. This allows a complete and accurate service XDR (403) to be acquired even when the control plane and the user plane are separated.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application claims priority to a Chinese patent application filed on March 22, 2022, bearing application number 202210287606.2, the entire contents of which are incorporated herein by reference.

[0002] TECHNICAL FIELD The embodiments of the present application relate to the field of communication technology, and in particular to a method, device and storage medium for obtaining a service XDR. [Background technology]

[0003] In order to better monitor and manage network elements in a network, a method of generating an x ​​(Application) Detail Record (XDR) based on data from network elements is usually adopted, and the XDR may be further classified into two types: a signaling XDR used to record the signaling transmission process and signaling content between network elements, and a service XDR used to record information about users. Taking a Session Border Controller (SBC) as an example, Session Initiation Protocol (SIP) signaling on the control plane and Real-Time Transport Protocol (RTP) Real-Time Transport Control Protocol (RTCP) data packets on the media plane are simultaneously collected and distributed to the same collection and analysis device, and then the collection and analysis device extracts and fills in related fields from the SIP signaling and RTP / RTCP data packets to generate signaling XDR and service XDR.

[0004] However, the above process is only valid when the signaling and service data are processed by the same collection and analysis device, in the absence of control and user plane separation. For network elements where the concept of control and user plane separation is applied, the signaling and service data are no longer processed by the same collection and analysis device, so that the fields in the Service XDR that can only be filled depending on the control plane information are missing and a complete and valid Service XDR cannot be obtained. Summary of the Invention [Problem to be solved by the invention]

[0005] The main objective of the embodiments of the present application is to propose a method, device, and storage medium for acquiring a service XDR, so that a complete and accurate service XDR can be acquired even when the control plane and the user plane are separated. [Means for solving the problem]

[0006] In order to achieve the above object, an embodiment of the present application provides a service XDR acquisition method applied to a first device, the method including: receiving a service XDR sent by a second device, the service XDR being generated based on service data collected from a user plane; searching for a target signaling XDR among signaling XDRs sent by the third device, the signaling XDR being generated based on information about the service in the signaling collected from a control plane, based on the service XDR and a pre-configured association between the service and the signaling; and updating the service XDR according to the target signaling XDR.

[0007] To achieve the above object, an embodiment of the present application further provides a method for obtaining a service XDR, which is applied to a second device, the method including: collecting service data from a user plane; filling in non-control related fields based on the service data to generate a service XDR; and sending the service XDR to a first device.

[0008] To achieve the above object, an embodiment of the present application further provides a method for obtaining a service XDR, which is applied to a third device, the method including: collecting signaling from a control plane; generating a signaling XDR based on information about a service in the signaling; and sending the signaling XDR to a first device.

[0009] In order to achieve the above object, an embodiment of the present application further proposes an apparatus, which includes: a receiving module used for receiving a service XDR sent by a second device, the service XDR being generated based on service data collected from a user plane; a search module used for searching a target signaling XDR from among signaling XDRs sent by the third device, the signaling XDR being generated based on information about the service in the signaling collected from the control plane, based on the service XDR and a pre-configured association between the service and the signaling; and an update module used for updating the service XDR according to the target signaling XDR.

[0010] In order to achieve the above object, an embodiment of the present application further proposes an apparatus, which includes: a first collection module used for collecting service data from a user plane; a first generation module used for filling in non-control related fields based on the service data to generate a service XDR; and a first sending module used for sending the service XDR to a first device.

[0011] To achieve the above object, an embodiment of the present application further proposes an apparatus, which includes: a second collection module used to collect signaling from a control plane; a second generation module used to generate a signaling XDR based on information regarding a service in the signaling; and a second transmission module used to transmit the signaling XDR to a first device.

[0012] In order to achieve the above object, an embodiment of the present application further proposes an electronic device, the electronic device including at least one processor and a memory communicatively connected to the at least one processor, the memory storing instructions executable by the at least one processor, and the instructions being executed by the at least one processor to enable the at least one processor to execute the method for obtaining a service XDR described in any one of the above claims.

[0013] In order to achieve the above object, an embodiment of the present application further proposes a computer-readable storage medium, which stores a computer program that, when executed by a processor, realizes the method for obtaining a service XDR described in any one of the above.

[0014] (Beneficial Effects) In addition to generating a conventional signaling XDR that completely records the process of signaling interaction based on signaling, the method of obtaining a service XDR proposed in this application further adds another type of signaling XDR that is generated based on information about services in the signaling collected from the control plane. This type of signaling XDR is generated based on information about services in the signaling collected from the control plane, so it records information about services in the signaling. In this way, after receiving the service XDR sent by the second device and the signaling XDR sent by the third device, the first device can search for the target signaling XDR from the signaling XDR sent by the third device based on the service XDR and the pre-configured association between the service and the signaling, and then update the service XDR according to the target signaling XDR, so that the fields in the service XDR that can only be filled in depending on the control plane information can be filled in according to the target signaling XDR, thereby obtaining a complete service XDR even when the control plane and the user plane are separated.

[0015] One or more embodiments are illustrated by way of example only with corresponding images in the accompanying drawings, and these illustrative illustrations do not constitute limitations on the embodiments. [Brief description of the drawings]

[0016] [Figure 1] FIG. 1 is a schematic diagram of an SBC network architecture in the related art of the present application when the control plane and the user plane are not separated. [Diagram 2] FIG. 2 is a schematic diagram of the generation of service XDRs and signaling XDRs when the control plane and the user plane are not separated in the related art of the present application; [Diagram 3] FIG. 1 is a schematic diagram of an SBC network architecture when the control plane and the user plane are separated in the related art of the present application. [Figure 4] 4 is a flowchart of a method for obtaining a service XDR applied to a first device provided in an embodiment of the present application; [Diagram 5] FIG. 2 is a schematic diagram of data collection when the control plane and the user plane are not separated, provided in one embodiment of the present application; [Figure 6] 11 is a flowchart of a method for obtaining a service XDR applied to a second device provided in another embodiment of the present application; [Figure 7] 11 is a flowchart of a method for obtaining a service XDR applied to a third device provided in another embodiment of the present application; [Figure 8] FIG. 2 is a schematic diagram of signaling interactions during a session provided in another embodiment of the present application; [Figure 9] FIG. 2 is a schematic diagram of an apparatus provided in another embodiment of the present application. [Figure 10] FIG. 2 is a schematic diagram of an apparatus provided in another embodiment of the present application. [Figure 11] FIG. 2 is a schematic diagram of an apparatus provided in another embodiment of the present application. [Figure 12] FIG. 2 is a schematic diagram of an electronic device provided in another embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] As can be seen from the background art, the conventional method of generating service XDRs and signaling XDRs is only effective when the control plane and user plane of a network element are not separated, and there is a need for a method that can still obtain a complete service XDR even when the control plane and user plane of a network are separated.

[0018] Analysis reveals that the main cause of the above problem is that, for example, when a Voice over Long-Term Evolution (VoLTE) / VoNR (VoNR) user accesses an SBC network element in an IP Multimedia Subsystem (IMS) network, the SBC network element has the function of processing control plane SIP signaling flow and media plane RTP / RTCP data flow, and can process control plane SIP signaling flow and media plane RTP / RTCP media flow. If the control plane and user plane are not separated, as shown in Figure 1, both the SIP signaling on the control plane and the RTP / RTCP data packets on the media plane are input from the User Plane Function (UPF) to the SBC based on the Gm interface of communication between the UPF and the SBC. In this case, the SIP signaling on the control plane and the RTP / RTCP data packets on the media plane are collected on the same fiber, and the user equipment (UE) side IP address and the SBC side IP address of the two types of data for the same call are also the same. Therefore, in a scenario in which a service XDR and a signaling XDR are generated, as shown in Figure 2, the SBC side simultaneously collects the SIP signaling on the control plane and the RTP / RTCP data packets on the media plane and distributes them to the same collection and analysis device, so that when the collection and analysis device processes the service XDR, it can directly extract information from the SIP signaling on the control plane and fill in the fields in the service XDR that can only be filled in depending on the control plane information.On the other hand, when the control plane and the user plane are separated, the original SBC network element is divided into two physical entities, a Session Border Controller-Control (SBC-C) that processes SIP signaling on the control plane, and a Session Border Controller-User (SBC-U) that processes RTP / RTCP data on the media plane, as shown in Figure 3. Thus, the SIP signaling flow on the control plane is routed from the UPF based on the Gm interface to input into the SBC-C, which is a virtual network element and deployed in the Network Functions Virtualization (NFV) resource pool of the district (administrative division such as North China, East China, etc. of China), while the media plane RTP / RTCP data is routed from the UPF to input into the SBC-U, which is deployed in the province (administrative division such as Anhui, Hebei, etc. of China). In this case, the control plane data and media plane data are collected within the region and province, respectively, and for the same call, the UE side IP address of the two types of data is the same, but the SBC-C / SBC-U side IP addresses are different. In addition, the RTP / RTCP data corresponding to the SIP signaling in one SBC-C may be distributed to multiple SBC-Us, and the SIP signaling corresponding to the RTP / RTCP data in one SBC-U may also be distributed to multiple SBC-Cs. In other words, the SBC-C and SBC-U are connected in a single mesh network, and it cannot be guaranteed that the two types of data in the same call will be distributed to the same collection and analysis device simply based on the IP address relationship of the SBC-C / SBC-U.Therefore, if a VoLTE / VoNR service needs to output an RTP / RTCP slice XDR on the media plane, i.e., a Service XDR, to evaluate voice quality in addition to outputting a SIP XDR for SIP signaling, some fields in the Service XDR will be missing or will not be completely accurate because the generation of some fields in the Service XDR depends on information extraction from the control plane or parameter calculation of the control plane. Here, the fields in the RTP / RTCP slice XDR that can only be filled in depending on information from the control plane are shown in Table 1 below. [Table 1]

[0019] In order to solve the above-mentioned problems, an embodiment of the present application provides a service XDR acquisition method applied to a first device, the method including: receiving a service XDR sent by a second device, the service XDR being generated based on service data collected from a user plane; searching for a target signaling XDR among signaling XDRs sent by the third device, the signaling XDR being generated based on information about the service in the signaling collected from a control plane, based on the service XDR and a pre-configured association between the service and the signaling; and updating the service XDR according to the target signaling XDR.

[0020] In addition to generating a conventional signaling XDR that completely records the process of signaling interaction based on signaling, the method of obtaining a service XDR proposed in this application further adds another type of signaling XDR that is generated based on information about services in the signaling collected from the control plane. This type of signaling XDR is generated based on information about services in the signaling collected from the control plane, so it records information about services in the signaling. In this way, after receiving the service XDR sent by the second device and the signaling XDR sent by the third device, the first device can search for the target signaling XDR from the signaling XDR sent by the third device based on the service XDR and the pre-configured association between the service and the signaling, and then update the service XDR according to the target signaling XDR, so that the fields in the service XDR that can only be filled in depending on the control plane information can be filled in according to the target signaling XDR, thereby obtaining a complete service XDR even when the control plane and the user plane are separated.

[0021] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the following describes each embodiment of the present application in detail in combination with the accompanying drawings. However, those skilled in the art can understand that many technical details are presented in each embodiment of the present application to allow the reader to better understand the present application. However, the technical solution sought to be protected by the present application can be realized without these technical details and various changes and modifications based on the following embodiments. The division of the following embodiments is made for the convenience of explanation and should not be construed as any limitation on the specific embodiments of the present application, and the embodiments may be combined or referenced with each other as long as they are not inconsistent.

[0022] An aspect of the embodiment of the present application provides a method for obtaining a service XDR applied to a first device, the flow of which is as shown in FIG. 4, and may include at least the following steps:

[0023] In step 401, a service XDR sent by a second device is received, the service XDR being generated based on service data collected from a user plane.

[0024] When the user plane and control plane of a network element are separated, the user plane data and the control plane data can no longer be collected by the same device, so the service data on the user plane and the signaling on the control plane need to be collected by two devices, respectively, as shown in Figure 5.

[0025] In this embodiment, the second device is used to collect service data from the user plane after separation of the network element, and generate a service XDR based on the collected service data, where the network element may be any network element whose user plane and control plane are separated, such as a UPF, an SBC, etc.

[0026] In step 402, based on the service XDR and a pre-configured association between the service and signaling, a target signaling XDR is searched for among signaling XDRs sent by a third device, the signaling XDRs being generated based on information about the service in the signaling collected from the control plane.

[0027] In this embodiment, the pre-configured association between the service and the signaling is related to the type of the service and the type of the signaling. Taking the VoLTE service as an example, the signaling transmitted on the control plane is SIP signaling, and the service data transmitted on the user plane is mainly RTP / RTCP data packets, so the pre-configured association between the service and the signaling may be that the service and the signaling are from the same session, and so on.

[0028] It should be emphasized that the signaling XDR in this embodiment is not generated based on the signaling, but is generated based on some information in the signaling, i.e., information on the service. This is because the signaling includes various information such as the transmission and reception time of the signaling, but it is not necessary to include all information in the signaling XDR. Since there is interest in information that is advantageous for obtaining the service XDR, i.e., information on the service, one new signaling XDR generated based on the information on the service in the signaling can be added under the existing signaling XDR generation mode, thereby reducing the amount of data, reducing the difficulty of implementation, and facilitating transmission. Since XDR is usually realized based on a defined interface, adding one new signaling XDR is actually equivalent to adding one extra interface. However, since the size of the SDP XDR is extremely small and the number is small, adding this interface has almost no effect on the performance of the existing device, and at the same time, the receiver of the service XDR does not detect the change caused by the addition of the interface.

[0029] It should be understood that for some signaling, multiple signaling XDRs may be generated during the provision of one service service. For example, during the implementation of a VoLTE service, a signaling XDR may be defined as an SDP XDR that is obtained in addition to obtaining an existing SIP XDR, so that multiple SDP XDRs may be generated in one session due to multiple media negotiations. Furthermore, one service XDR may correspond to more than one SDP XDR, and in this case, it is necessary to consider the maintenance of the signaling XDR so that the first device can obtain an accurate and sufficient signaling XDR to update the service XDR when it receives it. Furthermore, since the service XDR and the signaling XDR are not necessarily generated or transmitted to the first device at the same time, it is also necessary to consider the maintenance of the signaling XDR so that the first device can obtain an accurate and sufficient signaling XDR to update the service XDR when it receives it.

[0030] Based on this, in some examples, before the step of searching for the target signaling XDR from among the signaling XDRs sent by the third device based on the service XDR and the preset association between the service and the signaling, the method for obtaining the service XDR further includes the steps of receiving the signaling XDR sent by the third device and caching the received signaling XDR in a local cache. Thus, searching for the target signaling XDR from among the signaling XDRs sent by the third device based on the service XDR and the preset association between the service and the signaling can be realized by searching for the target signaling XDR from among the signaling XDRs sent by the third device based on the service XDR and the preset association between the service and the signaling by searching for the target signaling XDR from among the local cache based on the service XDR and the preset association between the service and the signaling.

[0031] In particular, in order to save space and to avoid interference of past information with the latest information, each time the latest signaling XDR is received, the service information determined based on the previously received signaling XDR may be modified, or the latest received signaling XDR may be stored, and this is not described here.

[0032] In step 403, the service XDR is updated according to the target signaling XDR.

[0033] In addition, since the service XDR transmitted by the third device may have missing fields due to missing information in the control plane, it is necessary to fill in missing fields using the signaling XDR transmitted by the second device. In addition, since it is possible that related fields that cannot be clearly determined are predicted using the collected information and filled in based on the predicted information, it is necessary to verify whether the fields are correct using the signaling XDR and correct them, etc.

[0034] Based on this, in some examples, updating the service XDR according to the target signaling XDR can be achieved by identifying missing fields in the service XDR, retrieving information about the missing fields from the target signaling XDR, generating filler fields based on the retrieved information, and filling the filler fields into the service XDR. Here, before identifying the missing fields in the service XDR, the service XDR may be first inspected to determine whether a missing field condition occurs, and when the occurrence of the missing field condition is detected, the updating of the service XDR may be achieved by backfilling the fields in the service XDR according to the target signaling XDR.

[0035] In some other examples, updating the service XDR according to the target signaling XDR can also be achieved by modifying the corresponding related fields in the service XDR when a mismatch is detected between the target signaling XDR and the service XDR in related fields that describe the same object in the signaling XDR and the service XDR.

[0036] Note that the above examples have been explained separately from the perspectives of field missing and field errors, but in other examples, the two can be combined by detecting whether or not a field is missing and then detecting whether or not a field error is present, but this will not be explained here.

[0037] It should be noted that, as the above analysis, a service XDR may correspond to more than one signaling XDR, and when a signaling XDR expires, it is possible to reclaim the resources occupied by the signaling XDR. Based on this, when the end of the service corresponding to the service XDR is detected, updating the service XDR according to the target signaling XDR can be further realized by updating the service XDR according to the target signaling XDR, adding information indicating the end of the service to the updated service XDR, and releasing the resources used to maintain the signaling XDR corresponding to the service XDR after updating the service XDR according to the target signaling XDR. For example, after a SIP session is terminated, the first device tags the updated last RTP / RTCP service XDR of the SIP session with a call end tag, and releases the resources occupied for storing the signaling XDR.

[0038] In particular, when the information favorable for filling the service XDR contained in the signaling XDR received by the first device is an empty set, some data may be predicted using some mathematical processing methods or algorithms to achieve the update of the service XDR. For example, when processing the VoLTE / VoNR service XDR, if some fields related to jitter and coding rate (e.g., RTCP Jitter, Codec Rate, Frame Rate) that are strongly related to the specific type of audio / video cannot be identified based on the service XDR, the unknown Service Type (Table 1) may be clarified first, and then calculations and predictions may be made for other fields based on the result of the pre-determined Service Type. The evaluation algorithm related to audio / video performs a tentative evaluation based on information such as the payload length and timestamp of the RTP message. Furthermore, in the example in which the update is realized by modifying the service XDR, a similar method may be used to modify the related fields via the Service Type in the signaling XDR.

[0039] Another aspect of the embodiment of the present application further provides a method for obtaining a service XDR applied to a second device, the flow of which is as shown in FIG. 6, and may include at least the following steps:

[0040] In step 601, service data is collected from the user plane.

[0041] In this embodiment, the service data may be a data packet, a message, etc. The collection of the service data may be realized by using a hardware collection manner, such as installing a probe.

[0042] In step 602, a service XDR is generated based on the service data by filling in non-control related fields.

[0043] In this embodiment, non-control related fields are fields that do not necessarily depend on control plane data but are determinable from the service data.

[0044] In some examples, filling in non-control related fields to generate a service XDR based on the service data can be achieved by identifying fields that do not need to be determined depending on control plane information, extracting information from the service data based on the identified fields to generate corresponding fields, and deriving a service XDR based on the generated fields.

[0045] In some other examples, after filling in non-control related fields based on the service data to generate a Service XDR, further calculations and predictions are made based on the service data regarding fields related to control plane information and filled in the Service XDR to further complement the Service XDR.

[0046] In addition, the service XDR allows for the absence of fields related to control plane information and allows for the existence of information bias in fields related to control plane information, and when it is transmitted by the second device to the first device, the first device can supplement and correct it by receiving the signaling XDR transmitted by the third device.

[0047] In particular, the service XDR may be divided into two parts, such as two XDRs or two sub-XDRs recording the uplink service and the downlink service, respectively, but this is also omitted here.

[0048] In step 603, the service XDR is sent to the first device.

[0049] Another aspect of the embodiment of the present application further provides a method for obtaining a service XDR applied to a third device, the flow of which is as shown in FIG. 7, and may include at least the following steps:

[0050] In step 701, signaling is collected from the control plane.

[0051] In this embodiment, signaling collection can be achieved using a hardware collection method such as installing a probe.

[0052] In step 702, a signaling XDR is generated based on information about the service in the signaling.

[0053] This embodiment does not limit the representation format of the information about the service in the signaling, and does not limit the periodicity of the control information recorded by the signaling XDR or the stage in the service. For example, if the service is a streaming media service, it may be the information about the media flow in the SDP message body, and one signaling XDR may be a record of multiple SDP message bodies transmitted in multiple media negotiation processes related to one session, or may be a record of the SDP message body during one media negotiation process.

[0054] Taking VoNR as an example, currently there is already a description of the SIP XDR of the SBC. In addition to this, in this embodiment, a new feature is added: outputting the SDP XDR, i.e., a detailed record of the SDP negotiation process generated based on the collected control plane SIP signaling. Here, the output timing of the call flow in the SIP XDR is still when the final response of the initial Invite request is received and when the session termination response is received, which is the same as the conventional mechanism and has not been changed. Meanwhile, unlike the SIP XDR that is output only twice, in order to ensure that the synthesis server can obtain the media negotiation result in a timely manner, one SDP XDR needs to be output at the end of each SDP media negotiation. Since the SIP call flow is usually complicated, FIG. 8 can roughly reflect the timing from the creation to the output of the SDP XDR. The SDP Offer and SDP Answer in FIG. 8 are the offer / response model of the SDP, and the SDP XDR is the information on the media flow in the SDP message body that needs to be collected. As can be seen from Figure 8, there can be multiple media negotiations during one SIP session, and even after a session is established, a session can be modified, i.e., a new media negotiation can occur, and one SDP XDR can be generated for each SDP message body collected during the media negotiation process.

[0055] In step 703, a signaling XDR is sent to the first device.

[0056] It should be noted that the above method embodiment describes the service XDR acquisition method from the perspective of the first device, the second device and the third device, respectively, in order to facilitate the description of the realization of different functions, and does not mean that they must be realized by different real devices. For example, the first device and the second device may be integrated into the same real device, and therefore the related sending and receiving are actually communication processes within the device, and are not described here.

[0057] In order to make it easier for those skilled in the art to understand the method of obtaining the service XDR mentioned in the above embodiment, the following describes the case where the signaling XDR is an SDP XDR and the service XDR is an RTP / RTCP XDR, but in order to make it easier to explain the difference from the conventional processing flow, SIP XDR is further introduced below.

[0058] First, the third device recognizes the call request message according to the method=INVITE in the Request-URI of the acquired SIP message, applies for resources required for processing the call flow, and decodes the signaling. Then, the third device realizes creating a SIP Invite transaction XDR for the SIP call, creating a SIP session XDR, and creating a first SDP XDR_1 for the SDP message carried in the SIP Invite message by extracting related information elements from the encoding and filling them into corresponding interface fields in the collection pattern. This SDP XDR should then be used to update the RTP / RTCP XDR, where the information carried in the SDP XDR also includes mandatory fields and optional fields, where the mandatory fields are keys associated with multiple XDRs and should include at least SIP CallID, SessionID, User_Type, calling / called party numbers, source and destination media stream IP addresses. Meanwhile, the optional fields are related information reflecting the quality of the media streams extracted from the SDP, including source media IP address, destination IP address, number of media streams, media negotiation result, etc. In this case, the fields are filled in when the Invite request message is received, so all that is filled in is the media information of the calling party. In particular, the newly added SDP_XDR interface can refer to the interface definition specification in "China Mobile 5G Network Connection Log Storage System Technical Specification - Control Plane Collection Analysis Device Interface Specification 2.0.docx" and is designed as follows: [Table 2] JPEG2024542620000004.jpg219170JPEG2024542620000005.jpg200170

[0059] Of course, you can refer to other methods or create your own service XDR. The above table is just an explanation of specific examples.

[0060] Then, the third device collects non-100, non-3XX-6XX non-failure response messages such as SIP 183, in which case it must first extract SIP-related information, fill in the callee information in the SIP transaction XDR, and fill in the callee information in the SIP session XDR. If the message also carries SDP, it must parse the SDP information, fill in the information carried by the callee in SDP XDR_1, and at the same time fill in some control plane information in the SIP session in the SIP-related fields in SDP XDR_1. After the processing is completed, it outputs the SIP transaction XDR, SDP XDR, and sends them to the first device through the IF1 interface. During a SIP session, if the media negotiation is unsuccessful, according to the provisions of the SIP protocol, both sides should continue media negotiation through subsequent messages in the dialogue until the negotiation is successful. If the first negotiation fails and an Update message initiated by the caller is received again, the third device creates a new SDP XDR_2, analyzes the SDP message, and writes the caller information in the SDP XDR_2. Since there is always a response to a negotiation request, when a negotiation response such as 200OK(Update) is received, the third device analyzes the SDP message and writes the callee information in the SDP XDR_2. Then, the relevant information in this SIP session is written in the SIP signaling related fields in the SDP XDR_2, the processing of the SDP XDR field is completed, and it is immediately sent via IF1. In this way, when media negotiation is performed multiple times, the SDP XDR is output each time as described above. In particular, a media update may be started between the establishment of a session and the end of the session, for example, due to the network being adjusted from audio / video communication to audio-only communication, and in this case, the SDP XDR is also processed and output according to the above method. When the third device receives the Bye message, the call is terminated, or an internal session keep alive timer expires, it populates fields such as the call time interval and call termination information in the SIP session XDR.

[0061] Note that the SIP-related fields in the SDP XDR may be filled in when the SDP XDR is created, instead of processing SDP first and then SIP as described above. Note that information such as the session ID, call ID, and caller / called number included in the SDP XDR may be managed together with the SIP session XDR, or may be extracted when the SDP XDR is output.

[0062] Regarding the generation of RTP / RTCP XDR by the second device, the main principle is to fill in accurate and uncontested field information as much as possible, such as slice direction, slice start time, slice end time, number of packets received, number of packets lost, link information, etc., and to refrain from fields that are determined depending on related information carried by other control planes.

[0063] In particular, when the SBC adopts CU separate deployment to process VoLTE / VoNR media XDR, the media sub-module that processes user plane media data can first perform a pre-determination on the filling of the audio / video type bServerType field. The pre-determination rule is that if the timestamps of two consecutive RTP messages are the same, it is determined that the bServerType field indicates video; if the timestamps of two consecutive RTP messages are different and the payload length of both is less than 500 bytes, it is determined that the bServerType field indicates audio; if the timestamps of two consecutive RTP messages are different and the payload length of both is greater than 500 bytes, it is determined that the bServerType field indicates video; and if the bServiceType is not recognized, it only counts the number of packets received, the number of packets lost, etc., and does not calculate parameters related to jitter or parameters related to encoding rate.

[0064] Meanwhile, when the first device receives SDP_XDR_1 sent by the third device, it must cache all the information therein in SDP Info, and then when it receives SDP_XDR_n again in the same SIP session, there is a change in the media negotiation, and when it receives a new SDP_XDR, it must delete the media stream information that is no longer used and add the newly added media stream information, that is, it must immediately update the cached information. When it receives the RTP / RTCP XDR sent by the second device, if there is a missing part in the RTP / RTCP XDR, it searches for the cached media stream information using the related information, and if it is not found, it first caches the slice call record for 5 seconds, and a specific time can be set, and after the timeout, it tries to backfill again, and if the related media stream information is found, it starts the related backfill. Specifically, static information such as Session_ID, calling / called number, Stream 1 Service_Type, Resolution_Width, Resolution_Height, etc. are backfilled in the relevant fields, and if a mismatch occurs between the RTP / RTCP XDR and the SDP XDR, the ServerType in the SDP_Info is updated to the slice XDR, and fields such as RTP delay and jitter in the slice XDR are calculated and filled in according to the new values. In particular, if the media protocol machine calculates related fields such as RTP delay and jitter according to the pre-determination result at the time of pre-determination, if a mismatch is found at that time, the original calculation needs to be corrected. Here, to determine whether a mismatch occurs in the relevant fields between the RTP / RTCP XDR and the SDP XDR, the relevant SDP_Info information is found, and when the value of the ServerType field is obtained, it is possible to compare whether the ServerType in the SDP XDR matches the ServerType in the slice.

[0065] In particular, the modification of fields in the RTP / RTCP XDR when the C / U are separated is also suitable for the scenario where the CU is integrated, and the newly added SDP XDR records the intermediate negotiations as well, making the data output by the RTP / RTCP XDR more accurate when the CU is integrated.

[0066] It should be understood that the division of the steps of the above various methods is merely for the purpose of clarity, and that when implemented, they may be integrated into one step or some steps may be subdivided into multiple steps, and as long as they contain the same logical relationship, they all fall within the scope of protection of the present application; and as long as insignificant modifications are made to the algorithms and processes, or insignificant design is introduced into the algorithms or processes without changing their core design, they all fall within the scope of protection of the present application.

[0067] Another aspect of the present embodiment further provides an apparatus, as shown in FIG. 9, comprising: A receiving module 901 used for receiving a service XDR sent by a second device, the service XDR being generated based on service data collected from a user plane; A search module 902 is used to search for a target signaling XDR among the signaling XDRs sent by the third device according to the service XDR and the pre-configured association between the service and the signaling, the signaling XDR being generated according to the information about the service in the signaling collected from the control plane; an update module 903, used for updating the service XDR according to the target signaling XDR.

[0068] Another aspect of the present embodiment further provides an apparatus, as shown in FIG. 10, comprising: a first collection module 1001 used for collecting service data from a user plane; A first generating module 1002 is used to generate a service XDR by filling in non-control related fields based on the service data; a first sending module 1003 used to send the service XDR to the first device.

[0069] Another aspect of the present embodiment further provides an apparatus, as shown in FIG. 11, comprising: a second collection module 1101 used to collect signaling from the control plane; A second generating module 1102 used to generate a signaling XDR based on information about the service in the signaling; a second sending module 1103 used for sending the signaling XDR to the first device.

[0070] It is easy to understand that the above device embodiment corresponds to the method embodiment, and the above device embodiment can be implemented in combination with the method embodiment. The relevant technical details mentioned in the method embodiment are also valid for the above device embodiment, so they will not be described here to reduce duplication. Therefore, the relevant technical details mentioned in the above device embodiment are also applicable to the method embodiment.

[0071] In addition, each module in this embodiment is a logical module, and in actual application, one logical unit may be one physical unit, may be a part of one physical unit, and may be realized by a combination of multiple physical units. In addition, in order to highlight the creative part of this application, means that are not related to solving the technical problem raised in this application are not introduced in this embodiment, but this does not mean that there are no other means in this embodiment.

[0072] Another aspect of an embodiment of the present application further provides an electronic device, as shown in FIG. 12, comprising at least one processor 1201 and a memory 1202 communicatively connected to the at least one processor 1201, wherein the memory 1202 stores instructions executable by the at least one processor 1201, and the instructions, when executed by the at least one processor 1201, enable the at least one processor 1201 to execute a method for obtaining a service XDR described in any one of the method embodiments described above.

[0073] Here, the memory 1202 and the processor 1201 are connected in a bus manner, which may include any number of interconnected buses and bridges, and which connects various circuits of one or more processors 1201 and memories 1202 together. The bus may also connect various other circuits, such as peripherals, voltage stabilizers, and power management circuits, together, which are well known in the art and will not be described further herein. The bus interface provides an interface between the bus and a transceiver. The transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, and provides a means for communicating with various other devices over a transmission medium. The data processed by the processor 1201 is transmitted over a wireless medium via an antenna, which also receives data and transmits it to the processor 1201.

[0074] The processor 1201, in addition to being responsible for bus management and general processing, may also provide a variety of other functions including timing, peripheral interfacing, voltage regulation, power management, and other control functions, while the memory 1202 may be used to store data used in performing operations by the processor 1201.

[0075] Another aspect of the present invention further provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the method for obtaining a service XDR according to any one of the method embodiments described above.

[0076] That is, those skilled in the art will understand that implementing all or part of the steps in the methods of the above embodiments can be achieved by instructing related hardware by a program. The program is stored in one storage medium and includes several instructions for causing one device (which may be a one-chip computer, chip, etc.) or a processor to execute all or part of the steps of the methods of the above embodiments. Meanwhile, the storage medium includes various media capable of storing program code, such as USB memory, removable hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0077] Those skilled in the art will understand that the above embodiments are specific embodiments for implementing the present application, and that in actual application, various changes in form and details may be made without departing from the spirit and scope of the present application.

Claims

1. A method for obtaining a service XDR, applied to a first device, comprising: Receiving a Service XDR sent by a second device (401), the Service XDR being generated based on service data collected from a user plane; searching (402) for a target signaling XDR among signaling XDRs sent by a third device based on the service XDR and a pre-configured association of services with signaling, the signaling XDRs being generated based on information about the service in the signaling collected from the control plane; updating (403) said Service XDR according to said Target Signaling XDR; A method for obtaining a service XDR including:

2. The step of updating (403) the service XDR according to the target signaling XDR comprises: identifying missing fields in the service XDR; retrieving information about the missing fields from the target signaling XDR and generating filler fields based on the found information; filling said filler fields into said service XDR; The method for obtaining a service XDR according to claim 1 , comprising:

3. The step of updating (403) the service XDR according to the target signaling XDR comprises: if a mismatch is detected between the target signaling XDR and the service XDR in associated fields, the associated fields being fields that describe the same object in the signaling XDR and the service XDR, modifying the corresponding associated fields in the service XDR. The method for obtaining a service XDR according to claim 1 , comprising:

4. Prior to the step (402) of searching for a target signaling XDR among signaling XDRs sent by the third device based on the service XDR and a pre-configured association of services and signaling, the method further comprises: receiving the signaling XDR transmitted by the third device; caching the received signaling XDR in a local cache; The step of searching for a target signaling XDR among signaling XDRs sent by the third device based on the service XDR and a pre-configured association between a service and a signaling, comprises: retrieving the target signaling XDR in a local cache based on the service XDR and a pre-configured association of the service with signaling. The method for obtaining a service XDR according to any one of claims 1 to 3, comprising:

5. When an end of a service corresponding to the service XDR is detected, the step of updating the service XDR according to the target signaling XDR comprises: updating the service XDR according to the target signaling XDR, and adding information indicating the end of a service to the updated service XDR; After the step of updating the Service XDR according to the Target Signaling XDR, the method further comprises: and releasing resources used to maintain the signaling XDR corresponding to the service XDR. A method for obtaining a service XDR according to any one of claims 1 to 3.

6. A method for obtaining a service XDR, applied to a second device, comprising: Collecting service data from a user plane (601); generating a service XDR based on said service data by filling in non-control related fields (602); Sending (603) said service XDR to a first device; A method for obtaining a service XDR including:

7. A method for obtaining a service XDR, which is applied to a third device, comprising the steps of: Collecting signaling from a control plane (701); generating (702) a signaling XDR based on information about the service in the signaling; Sending (703) said signaling XDR to a first device; A method for obtaining a service XDR including:

8. a receiving module (901) used for receiving a service XDR sent by a second device, said service XDR being generated based on service data collected from a user plane; a search module (902) used to search for a target signaling XDR among signaling XDRs sent by a third device based on the service XDR and a pre-configured association between the service and the signaling, the signaling XDR being generated based on information about the service in the signaling collected from the control plane; an update module (903) used for updating said service XDR according to said target signaling XDR; An apparatus comprising:

9. A first collection module (1001) used for collecting service data from a user plane; a first generating module (1002) used to generate a service XDR by filling in non-control related fields based on said service data; a first sending module (1003) used for sending said service XDR to a first device; An apparatus comprising:

10. a second collection module (1101) used to collect signaling from the control plane; a second generating module (1102) used to generate a signaling XDR based on information about a service in the signaling; a second transmitting module (1103) used for transmitting the signaling XDR to a first device; An apparatus comprising:

11. An electronic device comprising at least one processor (1201) and a memory (1202) communicatively connected to the at least one processor (1201), The memory (1202) stores instructions executable by the at least one processor (1201), and the instructions are executed by the at least one processor (1201) to enable the at least one processor (1201) to execute the method for acquiring a service XDR according to any one of claims 1 to 5, or to execute the method for acquiring a service XDR according to claim 6, or to execute the method for acquiring a service XDR according to claim 7. electronic equipment.

12. A computer-readable storage medium storing a computer program, When the computer program is executed by a processor, the method for acquiring a service XDR according to any one of claims 1 to 5 is executed, the method for acquiring a service XDR according to claim 6 is executed, or the method for acquiring a service XDR according to claim 7 is executed. A computer-readable storage medium.

Citation Information

Patent Citations

  • Method for user information correlation of XDR (external data representation) data of interfaces of core network

    CN104486743A

  • Information processing method and device and computer readable storage medium

    CN110121183A

  • Communication system, management server, and monitoring device

    JP2016096415A