Call platform-oriented SDCC call signaling media data tracking analysis method

Through jsch connection technology and pkts analysis method, signaling and media data in SDCC protocol are tracked and analyzed in real time, which solves the problems of lag and high maintenance cost in traditional technology, and achieves rapid positioning of data and reduction of maintenance cost.

CN118869867APending Publication Date: 2024-10-29USTC SINOVATE SOFTWARE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411064388.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Traditional call signaling media data tracking and analysis technology has problems such as lag, data clutter, and high maintenance costs. It cannot analyze data in real time, affecting the stable operation of the call platform and the efficiency of problem handling.

Method used

Use jsch connection technology and pkts connection analysis method to track and analyze signaling and media data in the SDCC protocol in real time. Through server information configuration, key data acquisition, front-end page display and resource release steps, a concise and intuitive data display is generated, reducing the cost maintenance costs.

Benefits of technology

It realizes real-time tracking and analysis of SDCC protocol signaling and media data, quickly locates problems, reduces the maintenance cost of the call platform, and improves the efficiency of problem processing and the visualization of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118869867A_ABST
    Figure CN118869867A_ABST
Patent Text Reader

Abstract

The invention discloses a call platform-oriented SDCC call signaling media data tracking analysis method, which belongs to the technical field of data tracking analysis, and comprises the following steps: S1, server information configuration; s2, acquiring key data information; s3, displaying a front-end page; and S4, closing the tracking channel to release resources. According to the method, addresses of a plurality of servers needing to be tracked and analyzed in real time can be preset, operation can be started through one key, tracking and monitoring are carried out at the same time, all media and signaling data generated on the preset servers are analyzed in real time and stored in a database, key data are picked at the same time, complexity is removed, and more visual media data are displayed; developers can quickly locate problems, and the maintenance cost of the calling platform is greatly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data tracking and analysis, and in particular to a SDCC call signaling media data tracking and analysis method oriented to a call platform. Background Art

[0002] SDCC is a protocol for audio and video session control that enables real-time audio and video communication. Call signaling media data tracking and analysis technology refers to the technology that tracks and analyzes the signaling and media data of the SDCC protocol on the call platform. It is a technology that establishes a connection with users based on voice interaction, provides relatively stable dialogue services and call log data in various forms, and implements a technology that can track call signaling interactions in real time, actively analyze signaling media data, and display call signaling interaction results.

[0003] Traditional call signaling media data tracking and analysis technology is nothing more than analyzing the captured data with the help of tools such as wireshark, or directly analyzing the data on the call platform. Although such tools are more comprehensive in analyzing media and signaling data, they are generally lagging and cannot analyze data in real time. After encountering a problem, it may not be possible to reproduce the relevant problem scenario by capturing packets and tracking related data, resulting in the inability to analyze and solve the problem in a targeted manner, affecting the stable operation of the call platform. This places higher requirements on the subsequent maintenance and problem handling personnel of the platform, greatly increasing the maintenance cost.

[0004] In addition to the hysteresis problem described above, the traditional signaling media data tracking and parsing technology also has the following problems:

[0005] The data is messy. When using traditional tools for data analysis, much of the data analyzed is not what is needed. It is messy and needs to be analyzed one by one. The maintenance cost is high. Once the call data is abnormal, a lot of manpower and material resources are needed to track the data analysis, which is relatively inefficient.

[0006] The above problems need to be solved urgently. Therefore, a SDCC call signaling media data tracking and analysis method for a call platform is proposed. Summary of the invention

[0007] The technical problem to be solved by the present invention is how to solve the problems of hysteresis, disordered data, high maintenance cost and the like in the existing call signaling media data tracking and analysis technology, and provides a SDCC call signaling media data tracking and analysis method for a call platform.

[0008] The present invention solves the above technical problems through the following technical solutions, and the present invention comprises the following steps:

[0009] S1: Server information configuration

[0010] Added the need to track the server address and user password of signaling and media data, and used jsch connection technology to verify the server address and user password information;

[0011] S2: Acquisition of key data information

[0012] Perform real-time data tracking operations and generate corresponding key data information;

[0013] S3: front-end page display

[0014] Filter and analyze call data on the front-end page so that developers can view specific interaction data details;

[0015] S4: Close the tracking channel to release resources

[0016] After the tracking and analysis work is completed, the connection between the background and the server is closed, the channel connection is disconnected, and the pcap files under the relevant path are deleted at the same time to save server resources.

[0017] Furthermore, in the step S1, multiple server addresses can be added for tracking at the same time as needed.

[0018] Furthermore, in step S1, during verification, the specific process is as follows:

[0019] S11: Verify the preset server address and user password information in the background;

[0020] S12: After verification is successful, a jsch connection is established;

[0021] S13: Then an exec channel is created.

[0022] Furthermore, in the step S12, the server address and the user password are initialized as parameters using the setting code to obtain a connection handle, thereby establishing a jsch connection.

[0023] Furthermore, in step S13, the exec channel is created through the connection handle in the jsch connection with exec as a parameter.

[0024] Furthermore, in step S2, the specific processing process is as follows:

[0025] S21: Start the tracking process. The background performs data capture operations through the exec channel. During the call, the signaling and media data are captured in a timely manner. The byte stream tool class is used to read the signaling and media data of the specified size in the network data packet, and the hexadecimal metadata is intercepted. The intercepted hexadecimal metadata is reversely parsed through the hexadecimal conversion character algorithm, and segmented to extract key data and remove useless information.

[0026] S22: Loop through the network data packets, integrate and encapsulate the key data into a data set, which includes the source IP, port, destination IP, port, and line information, and store them in the database.

[0027] Furthermore, in step S21, the key data is communication data of signaling and media type.

[0028] Furthermore, in step S3, the interaction data includes specific signaling requests, response messages and media interaction messages.

[0029] Compared with the prior art, the present invention has the following advantages: the SDCC call signaling media data tracking and analysis method for the call platform is based on the connection parsing technology of jsch and pkts, and can preset multiple server addresses that need to be tracked and parsed in real time, start the operation with one key, and track and monitor at the same time, and parse all signaling and media data generated on the preset server in real time and store them in the database. At the same time, key data is extracted, and more intuitive media data is displayed to enable developers to quickly locate the problem, greatly reducing the maintenance cost of the call platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a flow chart of the SDCC call signaling media data tracking and analysis method for the call platform of the present invention;

[0031] Figure 2 It is a flow chart of a method for tracking and analyzing SDCC call signaling media data for a call platform in Embodiment 2 of the present invention;

[0032] Figure 3 It is an implementation architecture diagram of the SDCC call signaling media data tracking and analysis method for the call platform in the second embodiment of the present invention. DETAILED DESCRIPTION

[0033] The following is a detailed description of an embodiment of the present invention. This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and a specific operation process are given, but the protection scope of the present invention is not limited to the following embodiment.

[0034] Embodiment 1

[0035] This embodiment provides a technical solution: a method for tracking and analyzing SDCC call signaling media data for a call platform, which mainly includes the following steps:

[0036] Step 1: Verify the preset server address and other information in the background. After the verification is successful, establish a jsch connection and then create an exec channel.

[0037] In this step, the setting code is used to initialize the server address and user password as parameters to obtain a connection handle, and then establish a jsch connection.

[0038] In this step, the exec channel is created through the connection handle in the jsch connection with exec as the parameter.

[0039] Step 2: Execute the tcpdump packet capture command configured in the configuration file through the exec channel, and monitor the packet capture process in real time to prevent memory overflow;

[0040] Step 3: Use byte stream tools in the background to accurately parse the captured data packets, filter data in TCP and UDP formats, remove redundant data packets, and store the data in the database.

[0041] Step 4: Display real-time tracking data in a more concise and intuitive way on the front end for developers to review;

[0042] Step 5: After the analysis is completed, turn off the data tracking function. At this time, the connection between the background and the server will be closed, the channel connection will be disconnected, and the pcap files under the relevant path will be deleted at the same time to save server resources.

[0043] Embodiment 2

[0044] like Figure 2 As shown, this embodiment is used to further illustrate the SDCC call signaling media data tracking and analysis method for the call platform in the first embodiment. The method specifically includes the following processes:

[0045] 1. Server information configuration

[0046] 1) Add the Linux server address and user password that need to track signaling and media data. You can add multiple server addresses for tracking at the same time;

[0047] 2) Use jsch connection technology to verify the server address and user password information to ensure that the server to be tracked can be connected normally;

[0048] As a more specific example, the preset server address and user password information are verified in the background. After successful verification, a jsch connection is established and an exec channel is created.

[0049] As more specific, the setting code is used to initialize the server address and user password as parameters to obtain a connection handle, and then establish a jsch connection.

[0050] As more specific, the exec channel is created from the connection handle in the jsch connection with exec as the parameter.

[0051] 2. Perform real-time data tracking operations and generate corresponding key data information

[0052] 1) Start the tracking process, and perform data capture operations through the exec channel in the background. During the call, the signaling and media data are captured in a timely manner. The byte stream tool class is used to read the signaling and media data of the specified size in the network data packet, and the hexadecimal metadata is intercepted. The intercepted hexadecimal metadata is reversely parsed through the hexadecimal conversion character algorithm, and segmented to extract key data and remove useless information.

[0053] Specifically, the key data is the communication data of signaling and media types.

[0054] 2) Loop through the network data packets, integrate and encapsulate the key data into a data set, which includes source IP, port, destination IP, port, line and other information, and store it in the database.

[0055] 3. Front-end page display

[0056] Filter and analyze signaling and media data on the front-end page, perform back-end query based on the selected filter conditions, obtain relevant interaction data from the database and view details (including specific media signaling requests, response messages, media interactions, etc.), and understand the call quality of each call and the results of each interaction. Based on the interaction results, you can reversely infer the network status of the call and find problems in a timely manner.

[0057] 4. Close the tracking channel to release resources

[0058] After the tracking and analysis work is completed, the remote control connection between the background and the server is closed, the command execution channel connection is disconnected, and the pcap files in the relevant paths are deleted at the same time to save server resources.

[0059] In this embodiment, by recording the signaling messages and media data transmission process in the SDCC protocol, each step in the call process can be tracked and analyzed, which helps developers understand the call establishment, flow control and termination process, as well as possible errors and abnormal situations.

[0060] In this embodiment, by tracking and analyzing the signaling messages and media data in the SDCC protocol, faults and problems in the call can be quickly located and checked. Developers can view the information exchange of each link, find out the cause of the problem, and perform corresponding repairs and debugging.

[0061] In this embodiment, by analyzing the signaling and media data during the SDCC call process, the performance indicators such as call delay, bandwidth consumption, audio and video quality can be understood. Developers can optimize and improve based on the analysis results to improve the call quality and user experience.

[0062] In summary, the SDCC call signaling media data tracking and analysis method for the call platform in the above embodiment, based on the connection parsing technology of jsch and pkts, can preset multiple server addresses that need to be tracked and parsed in real time, start the operation with one key, and track and monitor at the same time, and parse and store all signaling and media data generated on the preset server in real time. At the same time, it extracts key data, simplifies it, and displays more intuitive media data, so that developers can quickly locate the problem, greatly reducing the maintenance cost of the call platform.

[0063] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for tracking and analyzing SDCC call signaling media data for a call platform, characterized in that: The following steps are involved: S1: Server information configuration Added the need to track the server address and user password of signaling and media data, and used jsch connection technology to verify the server address and user password information; S2: Acquisition of key data information Perform real-time data tracking operations and generate corresponding key data information; S3: front-end page display Filter and analyze call data on the front-end page so that developers can view specific interaction data details; S4: Close the tracking channel to release resources After the tracking and analysis work is completed, the remote control connection between the background and the server is closed, the command execution channel connection is disconnected, and the pcap files in the relevant paths are deleted at the same time.

2. The method for tracing and analyzing SDCC call signaling media data for a call platform according to claim 1, characterized in that: In the step S1, multiple server addresses can be added for tracking at the same time as needed.

3. The method for tracing and analyzing SDCC call signaling media data for a call platform according to claim 1, characterized in that: In step S1, during verification, the specific process is as follows: S11: Verify the preset server address and user password information in the background; S12: After verification is successful, a jsch connection is established; S13: Then an exec channel is created.

4. The method for tracking and analyzing SDCC call signaling media data for a call platform according to claim 3, characterized in that: In step S12, the server address and the user password are used as parameters using the setting code to initialize a connection handle, thereby establishing a jsch connection.

5. The method for tracing and analyzing SDCC call signaling media data for a call platform according to claim 4, characterized in that: In step S13, the exec channel is created through the connection handle in the jsch connection with exec as a parameter.

6. The method for tracing and analyzing SDCC call signaling media data for a call platform according to claim 1, characterized in that: In step S2, the specific processing process is as follows: S21: Start the tracking process. The background performs data capture operations through the exec channel. During the call, the signaling and media data are captured in a timely manner. The byte stream tool class is used to read the signaling and media data of the specified size in the network data packet, and the hexadecimal metadata is intercepted. The intercepted hexadecimal metadata is reversely parsed through the hexadecimal conversion character algorithm, and segmented to extract key data and remove useless information. S22: Loop through the network data packets, integrate and encapsulate the key data into a data set, which includes the source IP, port, destination IP, port, and line information, and store them in the database.

7. The method for tracing and analyzing SDCC call signaling media data for a call platform according to claim 6, characterized in that: In the step S21, the key data is the communication data of signaling and media type.

8. The method for tracing and analyzing SDCC call signaling media data for a call platform according to claim 7, characterized in that: In step S3, the interaction data includes specific signaling requests, response messages and media interaction messages.