Media stream transmission quality notification method and session border control entity
By adding media streaming monitoring function to the session boundary control entity, real-time detection of terminal network status and sending reminder information, the problem that the terminal cannot send media streaming quality reports in network switching or signal poor scenarios is solved, and the timely notification is improved Sex and precision.
Patent Information
- Application Number
- CN201910926779.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-27
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2039-09-27
AI Technical Summary
In the construction of 5G networks, terminals cannot send media streaming quality reports in a timely manner in scenarios of network switching or poor signal, resulting in the communication side being unable to understand media streaming quality in real time.
By adding media streaming monitoring functions to the session boundary control entity, the network status of the terminal is detected in real time, and sending reminder information to the communication peer when an abnormality is detected, sending media streaming quality reports instead of the terminal to ensure timeliness and accuracy .
It realizes timely detection of network problems when the terminal access network is temporarily unavailable and sends reminder information to the communication peer, improving the timeliness of media streaming quality notifications and the perceived accuracy of communication peer-ends on communication quality.
Smart Images

Figure CN112584418B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a media stream transmission quality notification method, a session border control entity and a computer-readable medium. Background Art
[0002] The Internet Protocol Multimedia Subsystem (IMS) is a subsystem proposed by the Third Generation Partnership Project (3GPP) to support IP multimedia services. Its notable feature is that it adopts the Session Initial Protocol (SIP) system. The communication and access methods are independent, and it has multiple capabilities such as separation of control functions and bearer capabilities for multiple multimedia services, separation of calls and sessions, separation of applications and services, separation of services and networks, and integration of mobile network and Internet services.
[0003] With the start of 5G network construction, terminals can access through various methods such as wireless LAN, 4G network and 5G network. However, due to the different coverage of wireless network signals, when the terminal switches networks or is in a scenario with poor wireless signals, the terminal cannot send media stream transmission quality reports, and the other end cannot understand the real-time media stream transmission quality in a timely manner. Summary of the invention
[0004] The present disclosure aims to solve at least one of the technical problems existing in the prior art, and proposes a method for notifying the quality of media stream transmission.
[0005] To achieve the above objectives, in a first aspect, an embodiment of the present disclosure provides a method for notifying media stream transmission quality, including:
[0006] Detecting whether the network status of the first terminal is abnormal;
[0007] When it is detected that the network status of the first terminal is abnormal, a reminder message is sent to a second terminal, where the second terminal is a communication counterpart of the first terminal.
[0008] In a second aspect, an embodiment of the present disclosure provides a session border control entity, including:
[0009] one or more processors;
[0010] A storage device for storing one or more programs;
[0011] When the one or more programs are executed by the one or more processors, the one or more processors implement the media stream transmission quality notification method as described in any one of the above embodiments.
[0012] In a third aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the steps in the method for notifying the quality of media streaming transmission as described in any one of the above embodiments are implemented.
[0013] The present disclosure has the following beneficial effects:
[0014] The embodiments of the present disclosure provide a method for notifying the quality of media stream transmission, as well as a session border control entity and a computer-readable medium for implementing the method. The method can detect network problems in a timely manner when a terminal access network is temporarily unavailable, and send reminder information to its communication counterpart on behalf of the terminal, thereby improving the timeliness of media stream transmission quality notifications while ensuring the accuracy of the communication counterpart's perception of communication quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A flowchart of a method for notifying media stream transmission quality provided by an embodiment of the present disclosure;
[0016] Figure 2 A flowchart of another method for notifying quality of media stream transmission provided by an embodiment of the present disclosure;
[0017] Figure 3 A flowchart of another method for notifying media stream transmission quality provided by an embodiment of the present disclosure;
[0018] Figure 4 This is an optional implementation flowchart of step S101 in the embodiment of the present disclosure;
[0019] Figure 5 This is an optional implementation flowchart of step S102 in the embodiment of the present disclosure;
[0020] Figure 6 A signaling diagram of another method for notifying the quality of media stream transmission provided by an embodiment of the present disclosure;
[0021] Figure 7 A signaling diagram of yet another method for notifying media stream transmission quality provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the technical solution of the present disclosure, the media stream transmission quality notification method provided by the present disclosure is described in detail below with reference to the accompanying drawings.
[0023] Example embodiments will be described more fully below with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete and to enable those skilled in the art to fully understand the scope of the present disclosure.
[0024] The terms used herein are only used to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a", "an" and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements and / or components is specified, but the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof is not excluded.
[0025] It will be understood that although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited to these terms. These terms are only used to distinguish one element from another element. Therefore, without departing from the teachings of the present disclosure, the first element, first component, or first module discussed below may be referred to as the second element, second component, or second module.
[0026] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted as having an idealized or overly formal meaning unless explicitly defined as such herein.
[0027] The media stream transmission quality notification method provided in the present disclosure can be used to detect the terminal network status in real time, and when the terminal is unable to send a media stream transmission quality report in time, a reminder message is sent to its communication counterpart.
[0028] Figure 1 A flowchart of a method for notifying the quality of media streaming provided by an embodiment of the present disclosure is shown in FIG. Figure 1 As shown, the method includes:
[0029] Step S1: Detect whether the network status of the first terminal is abnormal.
[0030] By detecting whether the current access network state of the first terminal is abnormal, it can be determined whether the first terminal can normally send the media stream transmission quality report to the second terminal. Specifically, when it is detected that the current access network state of the first terminal is abnormal, it can be determined that the first terminal cannot normally send the media stream transmission quality report to the second terminal.
[0031] In practical applications, a media stream transmission monitoring function is added to a session border control entity (Session Border Control, SBC for short) of an Internet Protocol multimedia subsystem to monitor the network status of the first terminal and the real-time media stream sent by the first terminal.
[0032] It should be noted that the terminals participating in the communication process can all be real terminals, such as mobile phones, IP phones and IP video terminals; one of the parties can also be a network device, such as an application server and an intercommunication device (such as a media gateway control function entity and a media gateway), etc. It is only necessary to ensure that one of the parties participating in the communication process passes through the session border control entity.
[0033] In step S1, when it is detected that the network status of the first terminal is abnormal, step S2 is executed; when it is detected that the network status of the first terminal is not abnormal, the detection function is continuously turned on and step S1 is continuously executed.
[0034] Step S2: Send reminder information to the second terminal.
[0035] The second terminal is a communication peer of the first terminal. The reminder information corresponds to a media stream transmission quality report sent by the first terminal, and implements a media stream transmission quality notification to the second terminal on the network side.
[0036] In actual applications, by adding a media stream transmission quality notification function in the session border control entity, the media stream transmission quality notification can be implemented to the second terminal. On this basis, the real-time transport control protocol (RTCP) can be used to send reminder information to the second terminal. The sending process is based on the address of the original session, that is, according to the IP address and port number in the original session. The second terminal parses the reminder message and outputs it to the second terminal user to serve as a reminder.
[0037] The embodiment of the present disclosure provides a method for notifying media stream transmission quality, which can be used to monitor the network status of a first terminal in real time. When the network status is abnormal, the method sends reminder information to its communication counterpart instead of the terminal that cannot notify the media stream transmission quality.
[0038] Figure 2 A flowchart of another media stream transmission quality notification method provided by an embodiment of the present disclosure, such as Figure 2 As shown, the method includes not only step S1 and step S2, but also step S3; wherein, step S3 is executed after step S1 detects that the network status of the first terminal is abnormal. Only step S3 is described in detail below.
[0039] Step S3: Send a transmission rate adjustment instruction to the second terminal.
[0040] The transmission rate adjustment instruction is sent to the second terminal, so that the second terminal can adjust the media stream transmission rate by adjusting the sampling frequency and encoding and decoding.
[0041] In actual applications, the real-time transport control protocol or real-time transport protocol (RTP) can be used to send a transmission rate adjustment instruction to the second terminal, and the sending process is also based on the address of the original session. The second terminal parses the transmission rate adjustment instruction and sends it to the corresponding application media stream processing module, which initiates the adjustment of the media stream transmission rate on the second terminal side.
[0042] It should be noted that the technical solution of the present disclosure does not limit the execution order of step S2 and step S3, that is, step S2 can be executed before step S3, or step S3 can be executed before step S2, or step S2 and step S3 can be executed simultaneously, all of which fall within the protection scope of the present disclosure.
[0043] The embodiment of the present disclosure provides a method for notifying the quality of media stream transmission. The method can be used to send a transmission rate adjustment instruction to a communication peer when an abnormal terminal network status is detected, so that the peer can adjust the media stream transmission rate.
[0044] Figure 3 A flowchart of another method for notifying the quality of media stream transmission provided by an embodiment of the present disclosure is shown in FIG. Figure 3 As shown, this method is based on Figure 1 A specific optional implementation of the method shown. Specifically, step S1 includes step S101 and step S102.
[0045] Step S101: determine whether the current network service quality of the first terminal meets a preset abnormality determination condition.
[0046] Figure 4 is an optional implementation flow chart of step S101 in the embodiment of the present disclosure, such as Figure 4 As shown, step S101 includes:
[0047] Step S1011: receiving a media stream message of a first terminal, and setting an observation window to obtain at least one current network service quality parameter of the first terminal.
[0048] In some embodiments, the at least one current network service quality parameter includes: at least one of packet loss rate, delay and jitter.
[0049] In practical applications, by setting an observation window and starting media stream quality statistics, at least one current network quality of service (QoS) parameter of the first terminal is obtained, for example, the delay between previous and next messages, the number of packet losses within a period of time, etc.
[0050] Step S1012: Detect whether any current network service quality parameter is in a corresponding preset abnormal range.
[0051] In actual applications, when the observation window expires, it is detected whether the current network service quality parameters are in the corresponding preset abnormal range, for example, whether the packet loss rate exceeds 50%, whether the delay exceeds 80ms, etc.
[0052] In step S1012, when it is detected that the current network service quality parameter is in the corresponding preset abnormal range, it is judged that the current network service quality of the first terminal meets the preset abnormal judgment condition; when it is detected that the current network service quality parameter is not in the corresponding preset abnormal range, it is judged that the current network service quality of the first terminal does not meet the preset abnormal judgment condition.
[0053] In step S101, when it is determined that the current network service quality of the first terminal meets the abnormal judgment condition, the network status of the first terminal is detected to be abnormal, and step S2 is subsequently executed based on the detection result; when it is determined that the current network service quality of the first terminal does not meet the abnormal judgment condition, the judgment function is continuously turned on and step S101 is continued.
[0054] In some embodiments, when it is determined that the current network service quality of the first terminal meets the abnormality determination condition, the reminder information subsequently sent to the second terminal in step S2 includes: network quality abnormality reminder information.
[0055] In actual applications, the network quality abnormality reminder information can be played to the second terminal in the form of a prompt tone to prompt that the media stream transmission quality has changed. The sending process can be based on the real-time transport protocol.
[0056] Step S102: When the first terminal is in the network switching process, determine whether the network switching process is abnormal.
[0057] Figure 5 is an optional implementation flow chart of step S102 in the embodiment of the present disclosure, such as Figure 5 As shown, step S102 includes:
[0058] Step S1021: Determine that the first terminal starts to perform network switching.
[0059] In practical applications, a network switching monitoring function is added to the session border control entity to monitor the network switching process of the first terminal. Specifically, in response to the first terminal sending a network switching notification to the session border control entity, or in response to the Policy and Charging Rules Function (PCRF) sending a bearer release notification indicating the bearer release of the first terminal in the access network to the session border control entity, step S1021 is executed to determine that the first terminal starts to perform network switching.
[0060] Step S1022: Detect whether the first terminal completes the network switching process within a preset time period.
[0061] In practical applications, the preset duration can be set by setting a timer, and different timers can be used to set different preset time periods according to application scenarios.
[0062] In step S1022, when it is detected that the first terminal has not completed the network switching process within the preset time, it is determined that the network switching process of the first terminal is abnormal; when it is detected that the first terminal completes the network switching process within the preset time, it is determined that there is no abnormality in the network switching process of the first terminal.
[0063] In step S102, when it is determined that the network switching process is abnormal, the network status of the first terminal is detected to be abnormal, and step S2 is subsequently executed based on the detection result; when it is determined that the network switching process is not abnormal, the judgment function is continuously turned on, and step S102 is continued when the first terminal is in the network switching process.
[0064] In some embodiments, when it is determined that the network switching process is abnormal, the reminder information subsequently sent to the second terminal in step S2 includes: network switching abnormality reminder information.
[0065] In actual applications, by adding a real-time media stream insertion function in the session border control entity, the reminder information can be sent to the second terminal in the form of a media stream. On this basis, the network switching abnormality reminder information can be played to the second terminal in the form of a prompt tone to prompt the first terminal that the network switching is in progress, and the sending process can be based on the real-time transport protocol.
[0066] In some embodiments, the reminder information also includes: a source identifier.
[0067] The reminder information includes a source identifier different from a corresponding identifier of the first terminal, and the source identifier is a media stream identifier, indicating to the second terminal that the media stream is sent by a session border control entity instead of the first terminal.
[0068] In actual application, when sending reminder information, a synchronization source (SSRC) identifier is set with a value different from that of the first terminal as the source identifier. At the same time, in order to highlight the difference, the sequence number of the reminder information is renumbered to be different from the media stream transmission quality report sent by the first terminal.
[0069] It should be noted that the technical solution of the present disclosure does not limit the execution order of step S101 and step S102, that is, step S101 can be executed before step S102, or step S102 can be executed before step S101, or step S101 and step S102 can be executed simultaneously. All of them belong to the protection scope of the present disclosure.
[0070] certainly, Figure 3 The method shown may also include Figure 2 Step S3 in .
[0071] The disclosed embodiment provides a method for notifying the quality of media stream transmission, which can be used to determine whether the current network service quality of a terminal meets an abnormality determination condition, and to determine whether a network switching process of a first terminal is abnormal when the first terminal is in the network switching process, and to send corresponding reminder information to its communication counterpart based on the judgment result, and to distinguish the terminal from the counterpart by using different source identifiers in the reminder information.
[0072] Figure 6 A signaling diagram of another method for notifying the quality of media stream transmission provided by an embodiment of the present disclosure, such as Figure 6 As shown, the first terminal and the second terminal are both real terminals that can conduct calls, and a call relationship has been established. The method includes:
[0073] BZ01. The first terminal sends a network switching notification to the signaling plane of its corresponding first session border control entity (SBC1).
[0074] BZ1, the policy and charging rules function entity (PCRF) sends a bearer release notification to the signaling plane of the first session border control entity (SBC1), indicating that the bearer of the first terminal in the current network, for example, the 4G network is released. Among them, steps BZ1 and BZ01 can be selected to be executed in actual applications.
[0075] BZ2. The signaling plane of the first session border control entity (SBC1) controls the sending of reminder information to the media plane of the first session border control entity (SBC1) to the second terminal.
[0076] BZ3. The first session border control entity (SBC1) media plane sends a reminder message and a prompt tone to the second terminal via the second session border control entity (SBC2) media plane, wherein the reminder message is sent based on the real-time transport control protocol, and the prompt tone is sent based on the real-time transport protocol.
[0077] BZ4. The second terminal parses the reminder information and the prompt tone, and outputs them to the user.
[0078] Figure 7 The signaling diagram of another method for notifying the quality of media stream transmission provided by the embodiment of the present disclosure is shown in FIG. 1 , wherein both the first terminal and the second terminal are real terminals capable of making calls, and a call relationship has been established. Figure 7 As shown, the method includes:
[0079] BZ5. The first terminal sends a media stream message to the media plane of the first session border control entity (SBC1). This step begins with the first terminal establishing a call relationship with the second terminal.
[0080] BZ6. The first session border control entity (SBC1) sets an observation window on the media plane to detect whether a current network service quality parameter of the first terminal is in a corresponding preset abnormal range.
[0081] BZ7. The first session border control entity (SBC1) media plane sends a reminder message, a prompt tone, and a transmission rate adjustment instruction to the second terminal via the second session border control entity (SBC2) media plane. The reminder message and the transmission rate adjustment instruction are sent based on the real-time transport control protocol, and the prompt tone is sent based on the real-time transport protocol.
[0082] BZ8. The second terminal parses the reminder information and the prompt tone, and outputs them to the user; parses the transmission rate adjustment instruction, and sends the instruction to the corresponding internal application media stream processing module.
[0083] BZ9, the application media stream processing module of the second terminal adjusts the media stream transmission rate according to the transmission rate adjustment instruction by adjusting the sampling frequency and encoding and decoding. The adjustment process is based on the real-time transport control protocol, and the interaction of the adjustment process with the first terminal is completed through the second session border control entity (SBC2) media plane, the first session border control entity (SBC1) media plane and the first session border control entity (SBC1) signaling plane.
[0084] An embodiment of the present disclosure provides a session border control entity, including: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement any media stream transmission quality notification method as described in the above embodiments.
[0085] An embodiment of the present disclosure provides a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the steps in any of the media stream transmission quality notification methods in the above embodiments can be implemented.
[0086] It will be appreciated by those skilled in the art that all or some of the steps in the method disclosed above, the functional modules / units in the device may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0087] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for limiting purposes. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly noted, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, those skilled in the art will appreciate that various changes in form and detail may be made without departing from the scope of the present disclosure as set forth in the appended claims.
Claims
1. A method for notifying media stream transmission quality, wherein: include: Detecting whether the network status of the first terminal is abnormal; When it is detected that the network state of the first terminal is abnormal, a reminder message is sent to a second terminal, where the second terminal is a communication peer of the first terminal; The step of detecting whether the network status of the first terminal is abnormal specifically includes: determining whether the network switching process is abnormal when the first terminal is in the network switching process, and when it is determined that the network switching process is abnormal, detecting that the network state of the first terminal is abnormal; When it is determined that the network switching process is abnormal, the reminder information sent to the second terminal includes: network switching abnormality reminder information.
2. The method for notifying media stream transmission quality according to claim 1, wherein: When it is detected that the network state of the first terminal is abnormal, the method further includes: Send a transmission rate adjustment instruction to the second terminal.
3. The method for notifying media stream transmission quality according to claim 1, wherein: The step of detecting whether the network status of the first terminal is abnormal specifically includes: Determining whether the current network service quality of the first terminal meets a preset abnormality determination condition; When it is determined that the current network service quality of the first terminal meets the abnormality determination condition, it is detected that the network state of the first terminal is abnormal.
4. The method for notifying media stream transmission quality according to claim 3, wherein: When it is determined that the current network service quality of the first terminal meets the abnormality determination condition, the reminder information sent to the second terminal includes: network quality abnormality reminder information.
5. The method for notifying media stream transmission quality according to claim 4, wherein: The reminder information also includes: a source identifier.
6. The method for notifying media stream transmission quality according to claim 3, wherein: The step of determining whether the current network service quality of the first terminal meets a preset abnormality determination condition specifically includes: receiving a media stream message of the first terminal and setting an observation window to obtain at least one current network service quality parameter of the first terminal; Detecting whether the current network service quality parameter is in a corresponding preset abnormal range; When it is detected that the current network service quality parameter is in the corresponding preset abnormal range, it is determined that the current network service quality of the first terminal meets the preset abnormal determination condition.
7. The method for notifying media stream transmission quality according to claim 6, wherein: The at least one current network service quality parameter includes: at least one of packet loss rate, delay and jitter.
8. The method for notifying media stream transmission quality according to claim 1, wherein: The step of determining whether the network switching process is abnormal when the first terminal is in the network switching process specifically includes: Determining that the first terminal starts to perform network switching; Detecting whether the first terminal completes the network switching process within a preset time period; When it is detected that the first terminal has not completed the network switching process within the preset time period, it is determined that the network switching process is abnormal.
9. A session border control entity, comprising: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the media stream transmission quality notification method as described in any one of claims 1 to 8.
10. A computer readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the steps of the media stream transmission quality notification method according to any one of claims 1 to 8 are implemented.