CN113555025A - Mute description frame sending and negotiating method and device - Google Patents

Mute description frame sending and negotiating method and device Download PDF

Info

Publication number
CN113555025A
CN113555025A CN202010340428.6A CN202010340428A CN113555025A CN 113555025 A CN113555025 A CN 113555025A CN 202010340428 A CN202010340428 A CN 202010340428A CN 113555025 A CN113555025 A CN 113555025A
Authority
CN
China
Prior art keywords
network element
terminal device
sid frame
period
media negotiation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010340428.6A
Other languages
Chinese (zh)
Other versions
CN113555025B (en
Inventor
郭俊元
叶进洲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010340428.6A priority Critical patent/CN113555025B/en
Publication of CN113555025A publication Critical patent/CN113555025A/en
Application granted granted Critical
Publication of CN113555025B publication Critical patent/CN113555025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/012Comfort noise or silence coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a method and a device for sending and negotiating silence description frames. The method comprises the following steps: the first network element determines the period of receiving SID frames by the second terminal equipment; when a first cycle in the cycle arrives, a first network element sends a first SID frame to a second terminal device; the first SID frame is generated by the first network element according to the second SID frame; the second SID frame is a SID frame from the first terminal device and obtained by the first network element for the last time before the first period is reached, and the second SID frame is sent to the first network element when the background noise variation value of the first terminal device in the call mute period between the first terminal device and the second terminal device is determined to be larger than a preset threshold value; and when the first network element arrives in the second period of the period, if the first network element determines that the SID frame sent by the first terminal equipment is not received after the second SID frame is received, the first network element continues to send the first SID frame to the second terminal equipment.

Description

Mute description frame sending and negotiating method and device
Technical Field
The present application relates to the field of voice communication technologies, and in particular, to a method and an apparatus for sending and negotiating silence description frames.
Background
In voice communication, since human voice is not continuous, and there is about 70% of idle time without voice, it is obvious that performing voice codec at the same rate all the time is a waste of communication channel resources. Based on this consideration, Voice Activity Detector (VAD) technology is introduced into the existing Voice encoder, and this technology can effectively distinguish the speech with speech from the speech without speech, and when speech is present, the speech is encoded at a normal encoding rate to form a Voice frame, and the speech without speech is composed of some background noise and Silence, so that the speech with speech Descriptor (SID) frame can be formed by simple encoding. By the variable-rate coding mode, the average coding rate in the whole call process is effectively reduced, communication channel resources are saved, and the call quality is better ensured.
In the prior art, a fixed period is usually adopted to send SID frames in a mute period without speech sounds, and the period determination is difficult to meet the requirements of different call conditions, if SID frames are sent too much, bandwidth resources are wasted, and if SID frames are sent too little, network equipment may be caused to consider that the calls of both voice calls are interrupted, so that the network equipment may be mistakenly judged as a broken call, thereby possibly causing user complaints.
Disclosure of Invention
The application provides a SID frame sending method, a SID frame negotiation method and a SID frame negotiation device, which are used for reducing the problem that a user considers that a call is interrupted or a network side considers that a communication connection is interrupted and the call is disconnected by the network side while sending the SID frame.
In a first aspect, the present application provides a method for transmitting a silence description frame, where a first network element determines a period in which a second terminal device receives an SID frame; the first network element sends a first SID frame to the second terminal equipment when a first period in the periods arrives; the first SID frame is generated by the first network element according to a second SID frame; the second SID frame is a SID frame from a first terminal device, which is obtained by the first network element for the last time before the first period arrives, and the second SID frame is sent to the first network element when it is determined that a background noise variation value of the first terminal device in a call silence period with the second terminal device is greater than a preset threshold value; when the first network element arrives in the second period of the period, if it is determined that the SID frame sent by the first terminal device is not received after the second SID frame is received, continuing to send the first SID frame to the second terminal device; wherein the second period is any one period after the first period.
Based on the method, the first terminal equipment transmits the SID frame only when the background noise variation value is larger than the preset threshold value, so that the number of the SID frames transmitted in the silent period of the call between the first terminal equipment and the second terminal equipment can be reduced, and the occupation of uplink transmission resources is further reduced. In addition, when the first period arrives, a first SID frame is sent to the second terminal device, and when the second period arrives, if it is determined that other SID frames sent by the first terminal device are not received after the second SID frame is received, the first SID frame can be continuously sent to the second terminal device, so that it can be ensured that the second terminal device can receive the SID frame in a period in which the second terminal device receives the SID frame, and the problem that a user thinks that a call is interrupted or a network side thinks that a communication connection is interrupted and the user is disconnected from the network side is avoided.
In a possible implementation manner, when the first network element arrives at the second period in the period, the first network element may send a third SID frame to the second terminal device; the third SID frame is generated by the first network element according to a fourth SID frame; the fourth SID frame is a SID frame from a first terminal device, which is acquired by the first network element for the last time before the second period arrives, and the fourth SID frame is sent to the first network element when it is determined that a background noise variation value of the first terminal device in a call silence period with the second terminal device is greater than a preset threshold value.
By the method, if the first network element receives a new SID frame, namely a fourth SID frame, in the second period, the first network element can generate the third SID frame according to the newly received fourth SID frame, and send the third SID frame to the second terminal device when the second period arrives, so that the new SID frame received by the second terminal device can be generated according to the background noise in the silent period of the call between the first terminal device and the second terminal device, and the user experience is improved.
In a possible implementation manner, when each first media stream absence detection period is reached, if it is detected that an SID frame sent by the first terminal device is not received in the reached first media stream absence detection period, the first network element may end the call between the first terminal device and the second terminal device; the first no-media stream detection period is a no-media stream detection period corresponding to the first terminal device when the SID frame optimization capability is started; the first no-media stream detection period is greater than the second no-media stream detection period; the second detection period without media stream is a corresponding detection period without media stream when the first terminal device does not start SID frame optimization capability; the definition of SID frame optimization capability may be: and instructing the first terminal device to send a SID frame to the first network element when determining that a background noise variation value in a call silence period between the first terminal device and the second terminal device is greater than a preset threshold, where the SID frame optimization capabilities mentioned below are all applicable to the definition description herein, and are not repeated.
By the method, the first network element sets the first no-media stream detection period to be larger than the second no-media stream detection period, so that the problem that the first network element considers that the call between the first terminal device and the second terminal device is dropped because the SID frame is not sent to the first network element for a long time when the background noise is unchanged for a long time by the first terminal device is avoided.
In a possible implementation manner, the first network element may further close a function of triggering a call release for the first terminal device without detecting a media stream when it is determined that the SID frame optimization capability is enabled by the first terminal device.
By the method, the function of triggering the call release by the media-stream-free detection of the first terminal equipment is closed, so that the problem that the SID frame is not sent to the first network element for a long time and is considered as a call drop between the first terminal equipment and the second terminal equipment by the first network element because the background noise of the first terminal equipment is unchanged for a long time can be avoided.
In a possible implementation manner, before the first network element continues to send the first SID frame to the second terminal device, the first network element may further obtain a media negotiation request first; the media negotiation request is sent by the first terminal device or the second terminal device; the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the media negotiation request includes: indicating that the first terminal equipment supports SID frame optimization capability; the first network element returns the media negotiation result of the media negotiation request; the media negotiation result comprises: indicating that the first network element supports SID frame proxy capability; the definition of the SID frame proxy capability may be: when the first network element is indicated to arrive in the second period of the period, if it is determined that other SID frames sent by the first terminal device are not received after the second SID frame is received, the first SID frame is continuously sent to the second terminal device, and the following SID frame proxy capabilities are all applicable to the definition description herein and are not repeated; and the first network element determines that the first terminal equipment starts the SID frame optimization capability according to the media negotiation result.
Through the media negotiation between the first terminal device and the first network element, the first network element can determine that the first terminal device supports the SID frame optimization capability and the first network element supports the SID frame proxy capability, so that the first network element can continuously send the first SID frame to the second terminal device when not receiving the SID frame sent by the first terminal device in the second period, and the problem that a user thinks that the call is interrupted or the network side thinks that the communication connection is interrupted and the network side disconnects the call is avoided.
In another possible implementation manner, before the first network element continues to send the first SID frame to the second terminal device, the first network element may further receive the media negotiation request through the second network element; the media negotiation request includes: indicating that the first terminal equipment supports SID frame optimization capability; the first network element sends the media negotiation result to the first terminal device or the second terminal device through the second network element; the media negotiation result comprises: indicating that the first network element supports SID frame proxy capability; and the first network element determines that the first terminal equipment starts the SID frame optimization capability according to the media negotiation result.
Through media negotiation between the first terminal device and the first network element and between the first terminal device and the second network element, the first network element can determine that the first terminal device supports SID frame optimization capability and the first network element supports SID frame proxy capability, so that the first network element can continue to send the first SID frame to the second terminal device when the SID frame sent by the first terminal device is not received in the second period, and the problem that a user thinks that a call is interrupted or a network side thinks that a communication connection is interrupted and the call is disconnected by the network side is avoided.
In a possible implementation manner, the media negotiation request may be sent to the first network element when the second network element determines that the second network element does not support SID frame proxy capability when receiving a media negotiation request of a first terminal device or a second terminal device; or, the media negotiation request may also be sent to the first network element when the second network element determines that the second network element supports SID frame proxy capability and the first network element is an edge access device of the second terminal device when receiving the media negotiation request of the first terminal device or the second terminal device.
In the media negotiation process, the second network element determines that the SID frame proxy capability is not supported, and when the first network element supports the SID frame proxy capability, the first network element is used as a SID frame proxy network element of the first terminal device, or when the first network element is an edge access device of the second terminal device, the first network element is used as a SID frame proxy network element of the first terminal device, so as to further reduce SID frames which are forwarded between the first network element and the second network element and are sent to the second terminal device by the first terminal device, and thus occupation of transmission resources between the network elements can be reduced.
In a possible implementation manner, before the first network element sends the first SID frame to the second terminal device, the first network element may further receive a first parameter from the first terminal device; the first parameter is used for scrambling the frame content of the second SID frame; the first network element may further scramble frame contents of the second SID frame using the first parameter, thereby generating the first SID frame.
By the method, the second SID frame is scrambled through the first parameter sent by the first terminal device, so that the first SID frame sent by the first network element in the first period or the second period can be closer to the effect of background noise, and the user experience is improved.
In a second aspect, the present application further provides a negotiation method for SID frame transmission, where a first terminal device initiates a media negotiation request to a second terminal device through a first network element; the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the media negotiation request includes: the first terminal equipment supports SID frame optimization capability; the first terminal equipment acquires a media negotiation result returned by the first network element; the media negotiation result comprises: the first network element supports SID frame proxy capability; and the first terminal equipment starts SID frame optimization capability according to the media negotiation result.
When the first terminal device is a calling terminal device, the first terminal device may initiate a media negotiation request to implement media negotiation between the first terminal device and the first network element, so that the first terminal device determines that the first terminal device itself supports SID frame optimization capability, and determines to start SID frame optimization capability when the first network element supports SID frame proxy capability, and uses the first network element as a SID frame proxy network element of the first terminal device. The first terminal device can send the SID frame to the first network element according to the fact that the background noise variation value in the call silence period between the first terminal device and the second terminal device is larger than the preset threshold value, and therefore the number of SIDs sent by the first terminal device to the first network element can be reduced. And when each receiving period of the second terminal device arrives, if it is determined that a new SID frame sent by the first terminal device has not been newly received, the first network element may repeatedly send the SID frame that was sent to the second terminal device last time to the second terminal device. Furthermore, the problem that the user thinks that the call is interrupted or the network side thinks that the communication connection is interrupted and the call is disconnected by the network side can be avoided.
In a possible implementation manner, the first terminal device may send the media negotiation request to the first network element through a second network element, and the first network element forwards the media negotiation request to the second terminal device; the second network element is an edge access device of the first terminal device; the first network element is an edge access device of the second terminal device; and the first terminal equipment receives a media negotiation result from the first network element, which is returned by the second network element.
In a possible implementation manner, the first terminal device sends the media negotiation request to a second network element through the first network element, and the second network element forwards the media negotiation request to the second terminal device; the first network element is an edge access device of the first terminal device; the second network element is an edge access device of the second terminal device; the first terminal equipment receives a media negotiation result from the second network element, which is returned by the first network element; the media negotiation result comprises: the first network element supports SID frame proxy capability.
Through media negotiation between the first terminal device and the first network element and between the first terminal device and the second network element, the first network element determines that the first terminal device supports SID frame optimization capability and the first network element supports SID frame proxy capability, the first terminal device starts the SID frame optimization capability and takes the first network element as the SID frame proxy network element of the first terminal device, so that the first terminal device can send SID frames to the first network element according to the condition that a background noise variation value in a call silence period between the first terminal device and the second terminal device is larger than a preset threshold value, and the number of SIDs sent to the first network element by the first terminal device can be reduced. And when each receiving period of the second terminal device arrives, if it is determined that a new SID frame sent by the first terminal device has not been newly received, the first network element may repeatedly send the SID frame that was sent to the second terminal device last time to the second terminal device. Furthermore, the problem that the user thinks that the call is interrupted or the network side thinks that the communication connection is interrupted and the call is disconnected by the network side can be avoided.
In a possible implementation manner, the media negotiation request may be sent to the first network element when the second network element determines that the second network element does not support SID frame proxy capability when receiving a media negotiation request of a first terminal device or a second terminal device; or, the media negotiation request may also be sent to the first network element when the second network element determines that the second network element supports SID frame proxy capability and the first network element is an edge access device of the second terminal device when receiving the media negotiation request of the first terminal device or the second terminal device.
In the media negotiation process, the second network element determines that the SID frame proxy capability is not supported, and when the first network element supports the SID frame proxy capability, the first network element is used as a SID frame proxy network element of the first terminal device, or when the first network element is an edge access device of the second terminal device, the first network element is used as a SID frame proxy network element of the first terminal device, so as to further reduce SID frames which are forwarded between the first network element and the second network element and are sent to the second terminal device by the first terminal device, and thus occupation of transmission resources between the network elements can be reduced.
In a possible implementation manner, the first terminal device may further determine a first parameter according to a background noise of the first terminal device during a silent period of a call with the second terminal device, and the first terminal device sends the first parameter to the first network element; the first parameter is used for the first network element to scramble the frame content of a second SID frame sent by the first terminal equipment; the first network element may scramble the second SID frame using the first parameter to generate a first SID frame, and send the first SID frame to the second terminal device.
By the method, the first terminal equipment generates the first parameter according to the background noise, so that the first network element can scramble the second SID frame according to the first parameter, the first SID frame sent by the first network element is closer to the effect of the background noise, and the user experience is improved.
In a third aspect, the present application provides a negotiation method for SID frame transmission mode, where a second terminal device receives a media negotiation request from a first terminal device through a first network element; the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the media negotiation request includes: the first network element supports SID frame proxy capability; the second terminal equipment sends a media negotiation result to the first terminal equipment through the first network element; the media negotiation result comprises: the second terminal equipment supports SID frame optimization capability; and the second terminal equipment starts SID frame optimization capability according to the media negotiation result.
When the second terminal device is a called terminal device, the second terminal device can implement media negotiation between the second terminal device and the first network element through a media negotiation request initiated by the first terminal device, so that the second terminal device determines that the second terminal device supports SID frame optimization capability, and when the first network element supports SID frame proxy capability, the second terminal device starts SID frame optimization capability, and the first network element is used as the SID frame proxy network element of the second terminal device. Furthermore, the second terminal device may send the SID frame to the first network element only when the background noise variation value in the silent period of the call between the first terminal device and the second terminal device is greater than the preset threshold, so that the number of SID frames sent by the second terminal device to the first network element may be reduced, and the occupation of uplink transmission resources may be further reduced. And when each receiving period of the first terminal device arrives, if it is determined that a new SID frame sent by the second terminal device has not been newly received, the first network element may repeatedly send the SID frame sent to the first terminal device last time to the first terminal device. Furthermore, the problem that the user thinks that the call is interrupted or the network side thinks that the communication connection is interrupted and the call is disconnected by the network side can be avoided.
In a possible implementation manner, the second terminal device may receive, by a second network element, the media negotiation request from the first network element, where the media negotiation request is sent to the first network element by the first terminal device; the second network element is an edge access device of the second terminal device; the first network element is an edge access device of the first terminal device; and the second terminal equipment sends the media negotiation result to the first network element through the second network element, and the first network element forwards the media negotiation result to the first terminal equipment.
In another possible implementation manner, the second terminal device may also receive, by the first network element, the media negotiation request from a second network element, where the media negotiation request is sent to the second network element by the first terminal device; the first network element is an edge access device of the second terminal device; the second network element is an edge access device of the first terminal device; and the second terminal equipment sends the media negotiation result to the second network element through the first network element, and the second network element forwards the media negotiation result to the first terminal equipment.
And through the media negotiation between the second terminal equipment and the first network element and the second network element, the first network element determines that the second terminal equipment supports the SID frame optimization capability and starts the SID frame optimization capability when the first network element supports the SID frame proxy capability, and the first network element is used as the SID frame proxy network element of the second terminal equipment. Furthermore, the second terminal device may send the SID frame to the first network element only when the background noise variation value in the silent period of the call between the first terminal device and the second terminal device is greater than the preset threshold, so that the number of SID frames sent by the second terminal device to the first network element may be reduced, and the occupation of uplink transmission resources may be further reduced. And when each receiving period of the first terminal device arrives, if it is determined that a new SID frame sent by the second terminal device has not been newly received, the first network element may repeatedly send the SID frame sent to the first terminal device last time to the first terminal device. Furthermore, the problem that the user thinks that the call is interrupted or the network side thinks that the communication connection is interrupted and the call is disconnected by the network side can be avoided.
In a possible implementation manner, the media negotiation request may be sent to the first network element when the second network element determines that the second network element does not support SID frame proxy capability when receiving a media negotiation request of a first terminal device or a second terminal device; or, the media negotiation request may also be sent to the first network element when the second network element determines that the second network element supports SID frame proxy capability and the first network element is an edge access device of the second terminal device when receiving the media negotiation request of the first terminal device or the second terminal device.
In the media negotiation process, the second network element determines that the SID frame proxy capability is not supported, and when the first network element supports the SID frame proxy capability, the first network element is used as a SID frame proxy network element of the second terminal device, or when the first network element is an edge access device of the first terminal device, the first network element is used as a SID frame proxy network element of the second terminal device, so that the number of SID frames transmitted to the first terminal device by the second terminal device forwarded between the first network element and the second network element can be further reduced, and the occupation of transmission resources between the network elements can be reduced.
In a possible implementation manner, the second terminal device may further determine a second parameter according to the background noise of the first terminal device during the silent period of the call with the second terminal device, and report the second parameter to the first network element, so that the first network element may scramble a SID frame reported by the second terminal device using the second parameter to obtain a new SID frame, and send the new SID frame to the first terminal device.
By the method, the second parameter is generated by the second terminal device according to the background noise, so that the first network element can scramble the SID frame sent to the first terminal device according to the second parameter, the SID frame sent to the first terminal device by the first network element in the period that the first terminal device receives the SID frame is closer to the background noise effect, and the user experience is improved.
In a fourth aspect, a communications apparatus is provided for implementing the various methods described above. The communication device may be the first network element of the first aspect described above, or a device comprising the first network element described above. The communication device comprises corresponding modules, units or means (means) for implementing the above method, and the modules, units or means can be implemented by hardware, software or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.
In a fifth aspect, a communications apparatus is provided for implementing the various methods described above. The communication device may be the first terminal device in the second aspect, or a device including the first terminal device. Alternatively, the communication device may be the second terminal device in the third aspect, or a device including the second terminal device. The communication device comprises corresponding modules, units or means (means) for implementing the above method, and the modules, units or means can be implemented by hardware, software or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.
In a sixth aspect, a communication apparatus is provided, including: a processor and a memory; the memory is configured to store computer instructions that, when executed by the processor, cause the communication device to perform the method of any of the above aspects. The communication device may be the first network element of the first aspect described above, or a device comprising the first network element described above.
In a seventh aspect, a communication apparatus is provided, including: a processor; the processor is configured to be coupled to the memory, and to execute the method according to any one of the above aspects after reading the instruction in the memory. The communication device may be the first terminal device in the second aspect or a device including the first terminal device, or the communication device may be the second terminal device in the third aspect or a device including the second terminal device.
In an eighth aspect, a computer-readable storage medium is provided, having stored therein instructions, which when run on a computer, cause the computer to perform the method of any of the above aspects.
In a ninth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the above aspects.
In a tenth aspect, there is provided a communication device (which may be a chip or a system of chips, for example) comprising a processor for implementing the functionality referred to in any of the above aspects. In one possible design, the communication device further includes a memory for storing necessary program instructions and data. When the communication device is a chip system, the communication device may be constituted by a chip, or may include a chip and other discrete devices.
In an eleventh aspect, a communication system is provided, which may include the communication apparatus provided in the fourth aspect and the communication apparatus provided in the fifth aspect; or the communication system may include the communication apparatus provided in the sixth aspect and the communication apparatus provided in the seventh aspect.
For technical effects brought by any one of the design manners of the fourth aspect to the eleventh aspect, reference may be made to the technical effects brought by different design manners of the first aspect, the second aspect, or the third aspect, and details are not repeated here.
Drawings
Fig. 1 a-1 c are schematic diagrams illustrating an architecture of a network system according to the present application;
fig. 2 is a schematic structural diagram of a terminal device provided in the present application;
fig. 3 is a flowchart illustrating a negotiation method for SID frame transmission mode provided in the present application;
fig. 4A-4B are schematic diagrams illustrating a flow of a SID frame transmission method provided in the present application;
fig. 5A-5B are schematic flow charts of a SID frame transmission method provided in the present application;
fig. 6 is a schematic structural diagram of a communication device provided in the present application;
fig. 7 is a schematic structural diagram of a communication device provided in the present application;
fig. 8 is a schematic structural diagram of a communication device provided in the present application;
fig. 9 is a schematic structural diagram of a communication device provided in the present application.
Detailed Description
The technical scheme of the embodiment of the application can be applied to various communication systems, for example: a fourth Generation (4th Generation, 4G) communication system, a fifth Generation (5th Generation, 5G) communication system, or other evolved systems in the future, or other various wireless communication systems using radio access technologies.
Fig. 1a is a schematic diagram of a network architecture applicable to the embodiment of the present application. As shown in fig. 1a, the network architecture may include a terminal device, a Packet Switch (PS) network, and an Internet Protocol (IP) multimedia subsystem (IMS). IMS can provide various multimedia services such as audio, video, text, and data for a terminal device based on a PS network, and can be understood as services carried by a Circuit Switched (CS) network, such as voice telephony, video telephony, short messages, and the like, which can be collectively referred to as IMS services, based on the PS network.
The terminal device, IMS and PS networks are described below, respectively.
(1) A Terminal device, which may also be referred to as a Terminal, a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), etc., is a device that provides voice or data connectivity to a User, and may also be an internet of things device. For example, the terminal includes a handheld device, a vehicle-mounted device, and the like having a wireless connection function. Currently, the terminal may be: mobile Phone (Mobile Phone), tablet computer, notebook computer, palmtop computer, Mobile Internet Device (MID), wearable Device (e.g., smart watch, smart bracelet, pedometer, etc.), vehicle, vehicular Device (e.g., automobile, bicycle, electric vehicle, airplane, ship, train, high-speed rail, etc.), Virtual Reality (VR) Device, Augmented Reality (AR) Device, wireless terminal in Industrial Control (Industrial Control), smart home Device (e.g., refrigerator, television, air conditioner, electric meter, etc.), smart robot, workshop Device, wireless terminal in driverless (self driving), wireless terminal in remote surgery (remote medical supply), wireless terminal in smart grid (smart grid), wireless terminal in transportation safety, wireless terminal in city (smart city), or a wireless terminal in a smart home (smart home), a flying device (e.g., a smart robot, a hot air balloon, a drone, an airplane), etc.
(2) IMS, which is a network system for providing multimedia services in an IP network, can provide various multimedia services, such as voice call, video call, etc., for a terminal device through IMS. For voice services, the 5G network needs to provide voice quality assurance for the voice services through the IMS system.
The IMS may include a proxy-call session control function (P-CSCF) network element and a serving-call session control function (S-CSCF) network element.
The P-CSCF network element is an edge network node between the PS network and the IMS, and interacts with the terminal equipment through the user plane of the PS network. Further, the P-CSCF network element is a connection point from the PS network to the IMS, i.e. a contact point of the terminal device in the IMS. The role of the P-CSCF network element in the IMS is similar to performing proxy services, and information from or sent to the terminal device needs to be forwarded through the P-CSCF network element. The P-CSCF network element is responsible for sending authentication requests in the IMS, forwarding the authenticated requests to the specified targets, and processing and forwarding the response information.
An edge session controller (SBC) network element, which is used for an IMS network edge to implement IP access, interworking, and security protection, exists between an access network and an IMS network or between different IMS networks, and is an entry point for a user to access the IMS. The SBC serves as a B2BUA to isolate the user from the IMS core network. The main functions of SBCs include: registration management function, NAT traversal function, signaling firewall function, media resource management, QoS policy control and IP security function. SBCs need to implement functions such as signaling firewalls and QoS policy control, and therefore need to have Application Layer Gateway (ALG) and SIP signaling processing capabilities. SBC deployment has two schemes: the SBC and the P-CSCF network element are independently arranged; but the SBC network element and the P-CSCF are co-located. In the scenario where the SBC and the P-CSCF are independently configured, therefore, in order to ensure the security of the network, the SBC must be in a full proxy mode, i.e. both signaling and media pass through the SBC. For the full proxy SBC deployment, each local and city uses the SBC as a proxy to uniformly access the IMS session to the P-CSCF in the province center or the regional center. The SBC and P-CSCF combined setting method comprises two schemes: 1) integrated SBC: the P-CSCF function, the SBC signaling control part and the SBC media processing part are all integrated in one physical device. In the integrated SBC deployment mode, the SBC and the P-CSCF are combined, the combined SBC/P-CSCF is deployed in each local city, the provincial center or the regional center does not set the P-CSCF for each local city in a centralized way, and the IMS session is accessed to the I/S/E-CSCF of the provincial center or the regional center in a unified way by the SBC/P-CSCF of each local city. 2) A split SBC: the P-CSCF integrates the SBC signaling control part, and the SBC media processing part is independently arranged and controlled by the P-CSCF through the H.248 protocol. Under the deployment mode of the separated SBC, the signaling control function of the separated SBC and the P-CSCF are combined and arranged in a provincial center or an area center (can be combined with the I/S-CSCF). BGW is a media processing section in the SBC, and BGW is set in each city in province.
By taking the SBC network element as an example, in the process of accessing the terminal device to the IMS network, the access process may access the SBC network element near the terminal device according to the position of the terminal device. For example, as shown in fig. 1b, the terminal device 1 accesses the IMS through the SBC1 network element, and the SBC1 network element is an SBC network element close to the location of the terminal device 1 as an example. The terminal device 2 accesses the IMS through the SBC2 network element, and the SBC2 network element is an SBC network element close to the location of the terminal device 2.
The S-CSCF network element is a service processing node of the IMS and is responsible for IMS registration of the terminal equipment and related calling and called service processing.
Other possible network elements may also be included in the IMS, such as an interrogating-call session control function (I-CSCF) network element, which may be connected to an S-CSCF network element and a P-CSCF network element, and configured to provide an entry to a home network for a user; when the terminal equipment roams to other networks, the message is sent to the P-CSCF network element, the P-CSCF network element can forward the message from the terminal equipment to the I-CSCF network element, and the message from the terminal equipment is sent to the S-CSCF network element through the I-CSCF network element.
(3) As shown in fig. 1c, the network architecture of the PS network includes a Radio Access Network (RAN), an access and mobility management function (AMF) network element, a Session Management Function (SMF) network element, a User Plane Function (UPF) network element, a Data Network (DN), and the like. A user data management network node (SDMN), a policy management network node (PMN), a session management network node (SMN), a user plane network node (UPN), and a mobile management network node (MMN) may also be included. Although not shown, other possible nodes may also be included in the PS network.
For example, the PS network may also be referred to as an operator network or a mobile communication network, and is mainly a network in which a Mobile Network Operator (MNO) provides a mobile broadband access service for a user. The operator network described in the embodiment of the present application may be a network meeting the requirements of the third generation partnership project (3 GPP) standard, which is referred to as a 3GPP network for short. Typically, the 3GPP network is operated by an operator, including but not limited to a fifth generation mobile communication technology (5th-generation, 5G) network, a fourth generation mobile communication technology (4th-generation, 4G) network, and so on. Among them, the 5G network may also be referred to as a New Radio (NR) network, and the 4G network may also be referred to as a Long Term Evolution (LTE) network.
If the PS network is a 4G network, the function of the SDMN may be implemented by a Home Subscriber Server (HSS), the function of the PMN may be implemented by a Policy and Charging Rules Function (PCRF) network element, the function of the SMN may be implemented by a packet data network gateway control plane function (PGW-C) network element and a serving gateway control plane function (SGW-C) network element, the function of the UPN may be implemented by a packet data network gateway user plane function (PGW-U) network element and a serving gateway user plane function (SGW-U) network element, and the function of the n may be implemented by a mobility management network element (MME) MME.
If the PS network is a 5G network, the function of the SDMN may be implemented by a Unified Data Management (UDM) network element, the function of the PMN may be implemented by a Policy Control Function (PCF) network element, the function of the SMN may be implemented by a Session Management Function (SMF) network element, the function of the UPN may be implemented by a User Plane Function (UPF) network element, and the function of the MMN may be implemented by an access and mobility management function (AMF) network element.
The network architecture further includes a Radio Access Network (RAN), an access and mobility management function (AMF) network element, a Session Management Function (SMF) network element, a User Plane Function (UPF) network element, a Data Network (DN), and the like.
The main function of the RAN is to control the user's access to the mobile communication network via radio. The terminal device may access the PS network through a (radio) access network (R) AN device, which may also be referred to as a base station or a network device in this embodiment of the present application. RAN equipment includes, but is not limited to: a eNodeB, a Radio Network Controller (RNC), a Node B (NB), a Base Station Controller (BSC), a Base Transceiver Station (BTS), a home base station (e.g., home evolved node B or home node B, HNB), a Base Band Unit (BBU), a transmission point (TRP), a Transmission Point (TP), a mobile switching center, etc., in 5G, and may further include a wireless fidelity (wifi) Access Point (AP), etc. In addition, in one network configuration, the network device may include a Centralized Unit (CU) node, or a Distributed Unit (DU) node, or a RAN device including a CU node and a DU node. Furthermore, the network device may be other means for providing wireless communication functionality for the terminal device, where possible. The RAN is part of a mobile communication system. It implements a wireless access technology. Conceptually, it resides between certain devices (e.g., a mobile phone, a computer, or any remote control machine) and provides connectivity to its core network. In this embodiment of the present application, the RAN device may locally decrypt and verify the integrity of the message sent by the terminal device, and send the obtained data to the UPF network element.
In the embodiment of the present application, the UPF network element may be deployed at a location close to the RAN, and may provide a timely service for the terminal device. In one possible implementation, the UPF network element may be deployed near the base station. In a call scenario, a terminal device registers with an AMF network element in a PS network, and a UE may reside on a RAN to establish a PDU session between the terminal and the RAN to a UPF. A PDU session is established for IMS services through the SMF network elements, which may be referred to as an IMS session. And then, establishing voice call for the terminal equipment through the IMS network.
In order to reduce the data transmission amount in the voice call, a discontinuous transmission system (DTX) system may be adopted during the voice call, and the DTX system may adopt discontinuous coding and voice frame transmission to reduce the occupation of the channel bandwidth during the mute period of the voice communication, while still ensuring sufficient subjective call quality. The terminal device 100 of fig. 2 may be a terminal device suitable for a DTX system, and the terminal device 100 may include an encoder 110 and a decoder 120.
The encoder 110 may truncate an input time-domain speech signal into a speech frame, encode the speech frame, and then transmit the encoded speech frame to the decoder 120. The decoder 120 may receive the encoded speech frames from the encoder 110, decode the encoded speech frames, and then output decoded time-domain speech signals.
The encoder 110 may also include a Voice Activity Detector (VAD) 110 a. VAD110a may detect whether the current input speech frame is a voice activity frame or a silence frame. Wherein the voice activity frame may represent a frame containing a call voice signal, and the mute frame may represent a frame not containing a call voice signal. Here, the mute frame may include a silence frame having energy lower than a mute threshold, and may also include a background noise frame. The encoder 110 may have two operating states, a continuous transmission state and a discontinuous transmission state. When the encoder 110 operates in a continuous transmission state, the encoder 110 may encode and transmit each input speech frame. When the encoder 110 operates in the discontinuous transmission state, the encoder 110 may not encode the input speech frame or may encode it as a SID frame. In general, the encoder 110 operates in a discontinuous transmission state only when the input speech frame is a silence frame.
The SID frame may include some information characterizing the silence signal. The decoding end can autonomously generate noise which makes the subjective sense of hearing of the user comfortable according to the characteristic information describing the mute signal in the discontinuously received SID frame. This Comfort Noise (CN) is not intended to faithfully restore the original mute signal, but to satisfy the subjective auditory quality requirements of the decoding end user, and to make the decoding end user feel as little discomfort as possible. For example, SID frames may include energy information and spectral information for a silence signal. For example, the energy information of the mute signal may include energy of an excitation signal in a Code Excited Linear Prediction (CELP) model, or time-domain energy of the mute signal. The spectral information may include Line Spectral Frequency (LSF) coefficients, Line Spectral Pair (LSP) coefficients, Immitance Spectral Frequency (ISF) coefficients, Immitance Spectral Pair (ISP) coefficients, Linear Predictive Coding (LPC) coefficients, Fast Fourier Transform (FFT) coefficients, or Modified Discrete Cosine Transform (MDCT) coefficients, etc.
The encoded speech frames may include three types: speech encoded frames, SID frames, and NO _ DATA frames. Where speech encoded frames are frames encoded by the encoder 110 in a continuous transmission state, the NO _ DATA frames may represent frames without any encoded bits, i.e., frames that do not physically exist, such as unencoded silence frames between SID frames, etc.
The encoder 110 intermittently encodes SID frames after the encoder enters the discontinuous transmission state. SID frames typically include some energy and spectral information that describes the silence signal. The DTX system does not encode any other signal frames between two adjacent SID frames.
If the currently input silence frame is the FIRST frame after the end of the voice activity segment, and the encoding end transitions to the discontinuous transmission state when transitioning from the voice activity segment to the silence segment, the encoder 110 may encode the silence frame into an SID frame, where SID _ FIRST may be used to represent the SID frame. If the currently incoming silence frame is the nth frame after the last SID frame, where n is a positive integer, and there is no speech activity frame between the current incoming silence frame and the last SID frame, the encoder 110 may encode the silence frame as a SID frame, which may be represented by SID _ UPDATE.
The decoder 120 may receive the encoded speech frames from the encoder 110 and decode the encoded speech frames. When a speech encoded frame is received, the decoder can directly decode the frame and output a time domain speech frame. When a SID frame is received, the decoder can decode the SID frame and obtain the energy and spectral information in the SID frame.
When the SID frame is SID _ FIRST, the decoder obtains the information of energy and spectrum in the frame according to the characteristic information in the SID frame to obtain CN parameters, thereby generating a time domain CN frame, wherein m is a positive integer.
When the input of the decoder is a NO _ DATA frame, the decoder obtains CN parameters according to the last received SID frame in combination with other information, thereby generating a time domain CN frame.
When the SID frame is SID _ UPDATE, the decoder may obtain the energy information and the spectrum information of the silence signal, that is, obtain the CN parameter, according to the information in the current SID frame, or according to the information in the current SID frame in combination with other information, so as to generate the time domain CN frame according to the CN parameter.
At present, when the change of the actual silence signal is smaller than the preset threshold, it can be considered that the background noise is basically unchanged, at this time, the SID frame may be encoded and transmitted once every several frames, so when encoding the SID frame, the information of the SID frame may be obtained by the encoder through statistics on the currently input silence frame and several previous silence frames. However, if the interval time between the SID frames is too long, the network may consider that the communication is abnormal and terminate the session.
In order to solve the above technical problems, embodiments of the present application provide a SID frame sending method, a negotiation method, and a device, so as to reduce the number of SID frames sent by an encoding end, and avoid a problem that a user considers that a call is interrupted or a network side considers that a communication connection is interrupted and the call is disconnected by the network side. In the following description, the technical solution provided by the embodiment of the present application is applied to the communication system shown in fig. 1a to 1c as an example, which is described with reference to the accompanying drawings.
It should be understood that the terms "system" and "network" in the embodiments of the present application may be used interchangeably. "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
Unless stated to the contrary, the embodiments of the present application refer to the ordinal numbers "first", "second", etc., for distinguishing between a plurality of objects, and do not limit the sequence, timing, priority, or importance of the plurality of objects. For example, the first priority criterion and the second priority criterion are only used for distinguishing different criteria, and do not represent the difference of the content, priority, importance, and the like of the two criteria.
Furthermore, the terms "comprising" and "having" in the description of the embodiments and claims of the present application and the drawings are not intended to be exclusive. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but may include other steps or modules not listed.
In order to facilitate understanding of the technical solutions of the embodiments, some concepts related to the embodiments of the present application are described below.
1) And the SID frame optimizing capability is used for indicating the capability of generating the SID frame when the change of the background noise of the terminal equipment is larger than a preset threshold value and sending the SID frame to the terminal equipment at the opposite end of the conversation of the terminal equipment through the network equipment. Hereinafter, the calling terminal device is referred to as a first terminal device, the called terminal device is referred to as a second terminal device, the first terminal device may send a SID frame to the second terminal device in a mute period of a call with the second terminal device, the second terminal device may send a SID frame to the first terminal device in a mute period of a call with the first terminal device, and the network element including the first network element and/or the second network element is described as an example.
For example, the first terminal device starts the SID frame optimization capability, and then the first terminal device may send a SID frame to the first network element when it is determined that a background noise variation value in a call silence period between the first terminal device and the second terminal device is greater than a preset threshold, so that the SID frame is forwarded to the second terminal device through the first network element.
The first terminal device may create a background noise model of the SID frame based on the actual silence signal to generate the SID frame. The method for establishing the background noise model of the SID frame can refer to the method in the prior art, and is not described herein again.
When the first terminal device determines that the change of the actual mute signal is smaller than the preset threshold, it may be considered that the background noise is substantially unchanged, and at this time, the first terminal device may not send a SID frame to the second terminal device, so as to save the uplink bandwidth resource. When the first terminal device determines that the change of the actual silence signal is greater than or equal to the preset threshold, the first terminal device may determine information of the SID frame according to the actual silence signal of the SID frame sent last time to the currently acquired actual silence signal, so as to generate the SID frame to be sent. The information of the SID frame may be obtained by the encoder through statistics on the currently input silence frame and a number of silence frames before the currently input silence frame. For example, the information of the current encoded SID frame may be statistically obtained in the current SID frame and a plurality of silence frames between the current SID frame and the previous SID frame in a continuous silence interval.
Of course, the first terminal device may also generate the information of the SID frame only according to the currently acquired actual mute signal, which is not limited herein. When the first terminal equipment starts the SID frame optimization capability, the first terminal equipment can send the SID frame when the background noise variation value is larger than the preset threshold value, so that the uplink bandwidth resource waste caused by the fact that the SID frame is sent too frequently at small intervals is avoided, and the uplink bandwidth resource in the conversation process is saved.
Meanwhile, in order to avoid the problem of call disconnection caused by that the network device does not receive the SID frame sent by the first terminal device for a long time, the first network element may be a network element having SID frame proxy capability, and when the first terminal device starts the SID frame optimization capability, the first network element correspondingly starts the SID frame proxy capability. For convenience of description, in the following description, a network element corresponding to the capability of starting the SID frame proxy when the terminal device starts the SID frame optimization capability is referred to as a SID frame proxy network element of the terminal device.
2) The SID frame proxy capability refers to a capability of a network device to generate a derived SID frame for a terminal device that starts a SID frame optimization capability, and specifically, refers to a capability of a network device to generate a new first SID frame according to a second SID frame sent by a terminal device that starts the SID frame optimization capability and forward the new first SID frame to a call opposite terminal, so as to avoid a problem that the network device and the call opposite terminal are considered to have a call interrupted or a network side is considered to have a communication connection interrupted and is disconnected by the network side because the terminal device does not send the SID frame to the network device for a long time without changing background noise when the terminal device has the SID frame optimization capability, and the network device can generate the first SID frame according to the second SID frame sent by the terminal device last time and continuously forward the generated SID frame to the call opposite terminal.
Taking a first terminal device accessing a first network element on an IMS network side, and taking an example that a session is established between the first terminal device and a second terminal device, when the first terminal device starts a SID optimization capability, sending a second SID frame to the second terminal device when detecting that a change of background noise is greater than a preset threshold, that is, the second SID frame is a SID frame from the first terminal device that is last acquired by the first terminal device before a first period, in which the second terminal device receives the SID frame, arrives, and the second SID frame is sent to the first terminal device when the change value of background noise in a call silence period between the first terminal device and the second terminal device is determined to be greater than the preset threshold; when a first period in a period of receiving SID frames by a second terminal device arrives, the first network element generates a first SID frame according to a second SID frame and sends the first SID frame to the second terminal device; next, when a second period in a period in which a second terminal device receives a SID frame arrives, if it is determined that other SID frames sent by the first terminal device are not received after the second SID frame is received, the first network element continues to send the last sent first SID frame to the second terminal device; wherein the second period may be any one period after the first period.
By the method, on the basis that the number of SIDs sent to the first network element by the first terminal equipment is reduced, the first network element on the IMS network side can also send the SID frame to the second terminal equipment in each period when the SID frame is received by the second terminal equipment, so that uplink bandwidth resources are prevented from being wasted, the IMS network and the second terminal equipment can be in a normal connection state, and the problem that the IMS network and the second terminal equipment consider that the communication is disconnected because the SID frame is not received for a long time is avoided.
Based on the above scheme, before the SID frame optimization capability is enabled, the calling terminal device, the called terminal device and the network element in the IMS network may complete the enabling of the SID frame optimization capability of the terminal device through a media negotiation process, reduce the number of SID frames transmitted in uplink, and enable the SID frame proxy capability of the network element in the IMS network, so that the network element (e.g., the first network element) that enables the SID frame proxy capability sets a corresponding detection period without media stream for the terminal device (e.g., the first terminal device) that enables the SID frame optimization capability (e.g., turns off the detection without media stream for the first terminal device, or sets the detection period without media stream for the first terminal device to be greater than the detection period without media stream for the terminal device that does not enable the SID frame optimization capability), the first network element does not consider that the communication between the first network element and the first terminal device is disconnected, and the first network element can still send the SID frame to the second terminal device according to the detection period of no media stream corresponding to the second terminal device, so that the second terminal device can still receive the SID frame in a short period in the downlink sending process, and the communication disconnection is avoided.
Referring to fig. 3, a schematic flow chart of implementing media negotiation for a calling terminal device, a called terminal device, and a network element in an IMS network before a call is made by the terminal device is shown. Through the media negotiation process, whether a scheme for optimizing SID frames is started in the conversation process between the first terminal device and the second terminal device can be determined. The first network element below may be an SBC network element or a P-CSCF network element, and the second network element may also be an SBC network element or a P-CSCF network element. In the embodiment of fig. 3, taking as an example that the first network element is SBC1, the second network element may be SBC2, the first terminal device accesses the IMS network through SBC1, and the second terminal device accesses the IMS network through SBC 2. The embodiment of fig. 3 may be referred to in the embodiment where the first network element is SBC2, and the second network element is SBC1, where the first terminal device may access the IMS network through SBC2, and the second terminal device accesses the IMS network through SBC1, and details are not described here. As shown in fig. 3, the media negotiation process of SID frame transmission mode includes the following steps:
step 301, a first terminal device initiates a media negotiation request to a second terminal device through a first network element;
wherein the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the first network element is configured to receive a media negotiation request (e.g., invite message) from a calling party (first terminal device). The media negotiation request may include, but is not limited to: identification of the called party (second terminal device), whether the first terminal device supports SID frame optimization capabilities.
Step 302, a first network element sends a media negotiation request to a second network element.
The media negotiation request sent by the first network element to the second network element may include at least one of the following: whether the first terminal equipment supports the SID frame optimization capability and whether the first network element supports the SID frame proxy capability.
With reference to the above example, after receiving the media negotiation request of the first terminal device, the SBC1 may add the capability of whether or not it supports SID frame proxy to the media negotiation request, and send the media negotiation request to the SBC 2.
Step 303, the second network element sends a media negotiation request to the second terminal device.
In connection with the above example, SBC2 may add to the media negotiation request whether it supports SID frame proxy capability itself, and send it to the second end device.
The media negotiation request sent by the second network element to the called terminal device may include at least one of the following: whether the first terminal equipment supports the SID frame optimization capability, whether the first network element supports the SID frame proxy capability, and whether the second network element supports the SID frame proxy capability.
Step 304, after receiving the media negotiation request, the second terminal device returns a media negotiation result to the second network element.
For example, the media negotiation result returned to the second network element may be a 200OK message. The 200OK message sent by the second terminal device to the second network element may include at least one of the following: whether the first terminal equipment starts SID frame optimization capability, whether the first network element has SID frame proxy capability, and whether the second network element has SID frame proxy capability.
In a possible implementation manner, the first terminal device determines whether SID frame optimization capability can be started or not according to a media negotiation result returned by the second terminal device. With reference to the above example, whether the SID frame optimization capability of the first terminal device can be turned on can be determined by whether the first terminal device supports the SID frame optimization capability and whether the first network element and the second network element support the SID frame proxy capability.
Further, when determining that the SID frame optimization capability of the first terminal device is enabled, the network element corresponding to the SID frame proxy capability that needs to be enabled as the SID frame optimization capability supporting the first terminal device may also be determined according to a plurality of ways. The SID proxy network element corresponding to the first terminal device may be determined according to the SID frame proxy capability of the first network element and the SID frame proxy capability of the second network element.
In scenario 1, if only one of the first network element and the second network element supports SID frame proxy capability, the network element supporting SID frame proxy capability is used as a network element supporting terminal equipment that starts SID frame optimization capability. For example, if the first network element is a network element that supports the SID frame proxy capability, and the second network element does not support the SID frame proxy capability, the first network element is used as a supporting network element of the first terminal device that starts the SID frame optimization capability.
In scenario 2, if both the first network element and the second network element support SID frame proxy capability, at this time, a network element serving as a terminal device supporting the start of SID frame optimization capability may be determined by a preset rule. In scenario 2, there may be a variety of ways, exemplified below by way 1 and way 2.
In the mode 1, in order to save the sending of the uplink data, a possible implementation manner may be that a network element corresponding to the terminal device that receives the uplink data and accesses the IMS network is used as a network element of the terminal device that supports the capability of starting SID frame optimization. For example, if it is determined that the first terminal device can start the SID frame optimization capability, the second network element may be used as a SID frame proxy capability supporting the first terminal device.
In the mode 2, a possible implementation manner may determine, according to the processing capabilities of the first network element and the second network element, whether the first network element or the second network element is a network element of the first terminal device that supports starting the SID frame optimization capability. At this time, if there are multiple determination methods, the second network element may further notify the determination result of the first network element in an indication manner. For example, if the second network element determines, according to the priorities of the second network element and the first network element, that the first network element is preferentially used as a network element of the first terminal device that supports starting the SID frame optimization capability, at this time, the first terminal device may determine that the SID frame proxy capability is started by the first network element and use the activated SID frame proxy capability as a SID frame proxy network element of the first terminal device by carrying indication information for indicating that the first network element is a SID frame proxy network element of the first terminal device in a media negotiation result sent to the first network element, where the second network element is not used as the SID frame proxy network element of the first terminal device.
The determination of whether the SID frame optimization capability can be turned on and corresponds to turning on the SID frame proxy capability of the first network element or the second network element is illustrated in the following manner a 1-manner a 3.
In the manner a1, if it is determined that the first terminal device supports the SID frame optimization capability and SBC1 supports the SID frame proxy capability, SBC2 may determine to turn on the SID frame optimization capability of the first terminal device, and SBC1 turns on the SID frame proxy capability to support the SID frame optimization capability of the first terminal device.
In the manner a2, if it is determined that the first terminal device supports the SID frame optimization capability, SBC2 supports the SID frame proxy capability, SBC2 may determine to turn on the SID frame optimization capability of the first terminal device, and SBC2 turns on the SID frame proxy capability to support the SID frame optimization capability of the first terminal device.
In the mode a3, if it is determined that the first terminal device supports the SID frame optimization capability, and SBC1 and SBC2 both support the SID proxy capability, SBC2 may determine to turn on the SID frame optimization capability of the first terminal device, and determine whether SBC1 or SBC2 turns on the SID frame proxy capability according to a preset rule, so as to support the SID frame optimization capability of the first terminal device.
The preset rule may have a plurality of types, for example, the network element capable of starting the SID frame proxy capability may be randomly selected, or the network element capable of starting the SID frame proxy capability may be selected according to the load capability of the network element.
Furthermore, in order to save bandwidth resources in the IMS network, a network element that starts the SID frame proxy capability may also be determined according to a terminal device that supports the SID frame optimization capability. For example, if the SID frame optimization capability of the first terminal device is turned on, the network element accessed by the second terminal device may be selected as the network element supporting the SID frame optimization capability of the first terminal device, and in combination with the above example, the SBC2 may be specifically selected as the network element supporting the SID frame optimization capability of the first terminal device. At this time, since the SID frame proxy capability is turned on at SBC2, after the first terminal device transmits the SID frame to SBC1, SBC1 needs to forward the SID frame to SBC2, and SBC2 transmits the SID frame to the second terminal device according to the preset transmission interval. Therefore, it can be seen that, between SBC1 and SBC2, bandwidth resources occupied by SID frames between SBC1 and SBC2 can be saved, compared to a scheme in which SID frames are transmitted to the second terminal device at SBC1 with a preset transmission interval.
Similarly, in the media negotiation process, the first terminal device may further send a media negotiation request to the second terminal device through the first gateway and the second gateway, where the media negotiation request is used to negotiate whether the second terminal device starts the SID frame optimization capability.
Furthermore, the media negotiation result returned from the second terminal device to the second gateway may carry indication information indicating whether the second terminal device starts the SID frame optimization capability, so that the second terminal device, the first gateway, and the second gateway determine whether the second terminal device supports the SID frame optimization capability according to whether the second terminal device supports the SID frame optimization capability and whether the first network element and the second network element support the SID frame proxy capability. Furthermore, it may be determined whether the first network element or the second network element needs to start the corresponding SID frame proxy capability corresponding to the SID frame optimization capability of the second terminal device.
Further, to avoid repeated transmission of the media negotiation request and the media negotiation result in the media negotiation process, the second terminal device may also carry indication information whether the second terminal device supports the SID frame optimization capability in the media negotiation result of step 304, so as to determine whether the second terminal device can start the SID frame optimization capability in the call process.
Furthermore, the first terminal device may determine whether the second terminal device may start SID frame optimization capability according to a media negotiation result returned by the second terminal device.
For example, step 304', the second terminal device determines whether the second terminal device can start the SID frame optimization capability according to the media negotiation result.
In connection with the above example, it may be determined whether the SID frame optimization capability of the second terminal device can be turned on by whether the second terminal device supports the SID frame optimization capability, and whether SBC1 and SBC2 support the SID proxy capability. The following is exemplified in the manner b 1-manner b 3.
In the manner b1, if it is determined that the second terminal device supports the SID frame optimization capability and SBC1 supports the SID frame proxy capability, SBC2 may determine to turn on the SID frame optimization capability of the second terminal device, and SBC1 turns on the SID frame proxy capability to support the SID frame optimization capability of the second terminal device.
In the manner b2, if it is determined that the second terminal device supports the SID frame optimization capability and SBC2 supports the SID frame proxy capability, SBC2 may determine to turn on the SID frame optimization capability of the second terminal device, and SBC2 turns on the SID frame proxy capability to support the SID frame optimization capability of the second terminal device.
In the mode b3, if it is determined that the second terminal device supports the SID frame optimization capability, and SBC1 and SBC2 both support the SID frame proxy capability, SBC2 may determine to start the SID frame optimization capability of the second terminal device, and determine whether SBC1 or SBC2 starts the SID frame proxy capability according to a preset rule, so as to support the SID frame optimization capability of the second terminal device.
The preset rule may have a plurality of types, for example, the network element capable of starting the SID frame proxy capability may be randomly selected, or the network element capable of starting the SID frame proxy capability may be selected according to the load capability of the network element.
Furthermore, in order to save bandwidth resources in the IMS network, the capability may be determined according to the terminal device that supports SID frame optimization. For example, if the SID frame proxy network element of the second terminal device is selected, the network element accessed by the second terminal device may be selected as the SID frame proxy network element of the second terminal device, and in combination with the above example, the SBC1 may be selected as the SID frame proxy network element of the second terminal device here. At this time, since the SID frame proxy capability is turned on at SBC1, after the second terminal device sends the SID frame to SBC2, SBC2 needs to forward the SID frame to SBC1, and SBC1 sends the SID frame to the first terminal device according to the period in which the first terminal device receives the SID frame. Therefore, it can be seen that, between SBC1 and SBC2, bandwidth resources occupied by SID frames between SBC1 and SBC2 can be saved compared to a scheme that transmits SID frames to a first terminal device at SBC2 in a period in which the first terminal device receives SID frames.
Step 305, after receiving the media negotiation result returned by the second terminal device, the second network element returns the media negotiation result to the first network element.
Step 305', the second network element may determine whether the first terminal device or the second terminal device starts the SID frame optimization capability according to the received media negotiation result returned by the second terminal device, and determine whether the second network element needs to start the SID frame proxy capability according to whether the first terminal device or the second terminal device starts the SID frame optimization capability when the second network element supports the SID frame proxy capability. The specific determination manner may refer to the determination manner in step 304, and is not described herein again.
Step 306, after receiving the media negotiation result returned by the second terminal device, the first network element returns the media negotiation result to the first terminal device.
Step 306', the first network element may determine whether the first terminal device or the second terminal device starts the SID frame optimization capability according to the received media negotiation result returned by the second terminal device, and determine whether the second network element needs to start the SID frame proxy capability according to whether the first terminal device or the second terminal device starts the SID frame optimization capability when the first network element supports the SID frame proxy capability. The specific determination manner may refer to the determination manner in step 304, and is not described herein again.
Correspondingly, the first terminal device receives the media negotiation result returned by the first network element. The media negotiation result may carry indication information indicating that the first network element starts the SID frame proxy capability, so as to indicate that the first terminal device may start the SID frame optimization capability.
Step 307, the first terminal device determines whether the first terminal device can start SID frame optimization capability according to the media negotiation result.
At this point, the media negotiation process is complete. The core network element may establish a voice bearer for the called terminal device based on an IMS session of the called terminal device, where the voice bearer may be a bearer whose quality of service (QoS) level identifier (QCI) ═ 1, and is used to carry a voice service. And when the P-CSCF network element in the IMS network determines that the voice bearer is successfully established, the P-CSCF network element can execute subsequent processes so as to realize the voice call between the calling terminal equipment and the called terminal equipment.
Based on the scenario that the first terminal device starts the SID frame optimization capability and the first network element starts the SID frame proxy capability, the scheme of the communication method according to the embodiment of the present application is described in detail by taking the process that the first terminal device sends the uplink SID frame of the SID frame as an example. As shown in fig. 4A, in this embodiment, a possible implementation flow will be described by taking an example in which the method in the embodiment of the present application is applied to the network architectures illustrated in fig. 1a to 1 c.
Step 401: and the first terminal equipment determines that the first terminal equipment starts SID frame optimization capability according to the media negotiation result.
Correspondingly, the first network element is a SID frame proxy network element of the first terminal device, and when the first network element determines that the first terminal device starts the SID frame optimization capability, and the first network element starts the SID frame proxy capability, the first network element may set a function of starting the detection of the non-media stream under the SID frame optimization to trigger the call release for the first terminal device.
One possible way may be to set a function of closing the call release triggered by the detection of no media stream for the first terminal device, so as to avoid a dropped call caused by the disconnection between the first terminal device and the first network element when the SID frame of the first terminal device is not received for a long time.
In another possible manner, the first network element may set a detection period without media stream when SID frame optimization is turned on, and a detection period without media stream when SID frame optimization is turned off. When the detection period without the media stream arrives, the first network element may detect whether there is a SID frame received from the first terminal device in the current period. And if the SID frame sent by the first terminal equipment is not received in the current period, triggering the call release. And if the SID frame sent by the first terminal equipment is received in the current period, not triggering the call release.
There are various specific methods for setting the detection period without the media stream. For example, the detection period of no media stream when the optimization of the SID frame is turned on is set to be greater than that when the optimization of the SID frame is turned off. In a specific setting mode, the detection period without the media stream when the optimization of the SID frame is started may be determined according to the transmission period in which the SID frame may be transmitted by the first terminal device. For example, if it is determined that the background noise fluctuation is large in the current scene, and the period of the SID frame sent by the first terminal device is small when the SID frame optimization is turned on, the detection period of the non-media stream when the SID frame optimization is turned on may be set to be larger than the detection period of the non-media stream when the SID frame optimization is turned off. If it is determined that the background noise fluctuation is small in the current scene, and the period of the transmitted SID frame is large when the first terminal device starts the SID frame optimization, the detection period of the absence of the media stream when the SID frame optimization is started may be set to be much longer than the detection period of the absence of the media stream when the SID frame optimization is closed, so as to ensure that the period of the transmission of the SID frame by the first terminal device is smaller than the detection period of the absence of the media stream by the first network element for the first terminal device.
Here, the peer device of the first terminal device is the second terminal device, and therefore, the first network element may send the SID frame to the second terminal device according to the period in which the second terminal device correspondingly receives the SID frame. The period of receiving the SID frame by the second terminal device may be determined according to the detection period of no media stream when the second terminal device closes SID frame optimization. For example, the period for the second terminal device to receive the SID frame may be set to be slightly smaller than the detection period without the media stream when the second terminal device closes the SID frame optimization, so as to ensure that the first network element sends the first SID frame before the detection period without the media stream arrives, and the second terminal device may receive the first SID frame, so that the second terminal device and the network may not be considered as a session disruption and a session is not torn down. The period of receiving the SID frame by the second terminal device may be set by the network side, or may be determined by negotiation between the second terminal device and a network element of the network side, which is not limited herein.
Step 402: and the first terminal equipment sends a second SID frame to the first network element when determining that the first terminal equipment starts SID frame optimization capability. Correspondingly, the first network element receives the second SID frame sent by the first terminal device.
The second SID frame is a SID frame from a first terminal device, which is acquired by the first network element last before the first period arrives. The first period may be any period in which the second terminal device receives the SID frame.
For example, the second SID frame may be the FIRST SID frame, i.e., SID _ FIRST, generated by switching from a speech period to a silence period. The generation manner of the SID frame of the second frame may refer to the method described in the above embodiment, which is not limited herein. Or, the second SID frame may also be a SID _ UPDATE generated when the first terminal device determines that the energy and the spectrum information of the actual mute signal are greater than preset thresholds during the mute period. The preset threshold may be determined according to actual needs, and is not limited herein. For example, the encoder of the first terminal device may generate the second SID frame according to the actual silence signal of the current frame when the energy and the spectrum information of the actual silence signal between the nth frame and the last SID frame are greater than the preset threshold. Where n is a positive integer.
The first network element is an SID frame proxy network element of the first terminal device, and the first network element may be SBC1 or SBC 2. Next, step 402a, step 403a and step 404a are the scenario where the first network element may be SBC1, and step 402b, step 403b and step 404b are the scenario where the first network element may be SBC 1.
Step 402 a: the first end device may send the second SID frame to SBC2 through SBC 1.
Step 402 b: the first end device may send the second SID frame to SBC 1. Specifically, the first network element may be a second SID frame generated when the first period arrives or before the first period arrives. For a specific manner of generating the second SID frame, reference may be made to the following description of the embodiments, which is not repeated herein.
Step 403 a: SBC2 generates a first SID frame from the second SID frame.
Step 403 b: SBC1 generates a first SID frame from the second SID frame.
If the second SID frame is SID _ FIRST, when the FIRST terminal device starts the SID frame optimization capability, the FIRST terminal device switches from the speech period to the silence period, the sending time of the SID frame to be sent may be the same as the sending time of the SID frame sent when the SID frame optimization capability is not started, and the generated second SID frame may be the same as the SID frame sent when the SID frame optimization capability is not started.
If the second SID frame is SID _ UPDATE, at this time, before the first terminal device sends the second SID frame, at least one frame of SID frame has been sent, so as to ensure the smooth characteristic of the sent SID frame, and further, when the second terminal device decodes the first SID frame to generate a CN frame, the second terminal device keeps smooth transition with the CN frame decoded by the last received SID frame. The first network element may generate the first SID frame based on a weighted average result of the second SID frame and the SID frame transmitted before. Of course, the SID frame last transmitted to the second terminal device may also be updated according to the second SID frame.
For example, as shown in fig. 4B, at a FIRST time, the FIRST terminal device sends a second SID frame 1 (e.g., SID _ FIRST1) to the FIRST network element, and the FIRST network element may generate the FIRST SID frame 1 to be sent to the second terminal device according to the second SID frame 1 when the FIRST period arrives or within the FIRST period.
Further, the first network element may add the first parameter on the basis of the second SID frame 1, so that the first SID frame generated by the first network element during the next reception of the second SID frame is closer to the fluctuation characteristic of the background noise on the basis of maintaining the parameter characteristic of the second SID frame 1. At this time, the first parameter may be a random number, or may also be a function that changes with time, or the first parameter may also be a disturbance parameter that is determined by the first terminal device according to a change trend of the background noise, so that the first network element may generate, according to the first parameter, the first SID frame that is closer to the background noise when the first terminal device does not send the second SID frame. The first parameter may be set according to actual needs, and is not limited herein. The first parameter may be preset, or may be dynamically indicated by the first terminal device, which is not limited herein.
When the first network element determines that the second period 1 in which the second terminal device receives the SID frame arrives (for example, as shown in fig. 4B, the second period 1 arrives or is within the second period 1), the first network element generates a first SID frame 2 according to the second SID frame 1. Of course, the first network element may also generate the first SID frame 2 according to the first SID frame 1 and the second SID frame 1, so as to achieve better noise characteristics. For example, the first SID frame 2 may be generated by adding the first parameter based on the first SID frame 1. As another example, the first SID frame 2 may be generated based on the second SID frame 1 and according to the first parameters. The specific generation manner may be generated according to the determination manner of the first parameter, and is not limited herein.
Another possible scenario is that, in the second period 2 (for example, as shown in fig. 4A, in the second period 2 or within the second period 2) when the second terminal device receives the SID frame, the first network element receives the fourth SID frame 1 (for example, SID _ UPDATE1) from the first terminal device, and the first network element may generate the third SID frame 1 according to the fourth SID frame 1 and the second SID frame 1.
The second time may be a time when the second period is reached, the second period may be any period after the first period, may be a period adjacent to the first period, or may be a period after the first period is separated by several periods, which is not limited herein.
When the first network element determines that the transmission period (i.e., the second period) for transmitting the SID frame to the second terminal device has arrived, the first network element may generate a third SID frame 1 according to the fourth SID frame 1. Alternatively, the first network element may further generate a third SID frame 1 according to the first SID frame 2 and the fourth SID frame 1.
Step 404 a: SBC2 may receive the second SID frame via SBC1, generate the first SID frame according to the second SID frame, and send the first SID frame to the second terminal device when the period for receiving the SID frame by the second terminal device arrives.
Step 404 b: after SBC1 receives the second SID frame, when the period for the second terminal device to receive the SID frame arrives, it sends the first SID frame to SBC2, and further forwards the first SID frame to the second terminal device through SBC 2.
In a possible implementation manner, the first network element may send the first SID frame to the second terminal device when the first period in the period in which the second terminal device receives the SID frame arrives. For example, as shown in fig. 4B, the first network element receives a second SID frame 1 sent by the first terminal device in a first period, and sends a first SID frame 1 to the second terminal device when the first period arrives, where the first SID frame 1 is generated according to the second SID frame 1.
In another possible implementation manner, when a second period in a period in which a second terminal device receives a SID frame arrives, if it is determined that a SID frame sent by the first terminal device is not received after the second SID frame is received, the first network element may continue to send the last sent first SID frame to the second terminal device; wherein the second period is any one period after the first period. For example, as shown in fig. 4B, the first network element does not receive the SID frame sent by the first terminal device in the second period 1, and continues to send the first SID frame 2 to the second terminal device when the second period 1 arrives, where the first SID frame 2 is generated according to the second SID frame 1.
In another possible scenario, when a second period in a period in which a second terminal device receives a SID frame arrives, the first network element sends a third SID frame to the second terminal device; wherein the third SID frame is generated by the first network element according to a fourth SID frame; the fourth SID frame is a SID frame from a first terminal device, which is acquired by the first network element for the last time before the second period arrives, and the fourth SID frame is sent to the first network element when it is determined that a background noise variation value of the first terminal device in a call silence period with the second terminal device is greater than a preset threshold value. For example, as shown in fig. 4B, the first network element receives the fourth SID frame 1 sent by the first terminal device in the second period 2, and sends the third SID frame 1 to the second terminal device when the second period 2 arrives, where the third SID frame 1 is generated according to the fourth SID frame 1.
Furthermore, the second terminal device can determine the CN parameter according to the received first SID frame, and then generate a time domain CN frame, so as to obtain an effect closer to real background noise than the unchanged SID frame.
Based on the scenario that the second terminal device starts the SID frame optimization capability, the scheme of the communication method according to the embodiment of the present application is described in detail by taking the process that the second terminal device sends the uplink SID frame of the SID frame, and taking the SID frame proxy network element that the first network element is the second terminal device as an example. As shown in fig. 5A, in this embodiment, a possible implementation flow will be described by taking an example in which the method in the embodiment of the present application is applied to the network architectures illustrated in fig. 1a to 1 c.
Step 501: and the second terminal equipment determines that the second terminal equipment starts the optimization capability of sending the SID frame to the first terminal equipment according to the media negotiation result.
Correspondingly, when the first network element determines that the second terminal device starts the SID frame optimization capability and the first network element starts the SID frame proxy capability, the first network element may set, for the second terminal device, a function of starting the no-media-stream detection-triggered call release under the SID frame optimization, for example, may set, for the second terminal device, a function of closing the no-media-stream detection-triggered call release, so as to avoid a call drop caused by disconnection between the second terminal device and the first network element when the SID frame of the second terminal device is not received for a long time. In another possible manner, the first network element and the second terminal device may set a detection period without media stream when SID frame optimization is started and a detection period without media stream when SID frame optimization is closed, for example, the detection period without media stream when SID frame optimization is started is set to be greater than the detection period without media stream when SID frame optimization is closed. In a specific setting mode, the detection period without the media stream when the optimization of the SID frame is started may be determined according to the transmission period in which the SID frame may be transmitted by the second terminal device. For example, if it is determined that the background noise fluctuation is large in the current scene, and the period for sending the SID frame is small when the second terminal device starts the SID frame optimization, the detection period of the non-media stream when the SID frame optimization is started may be set to be larger than the detection period of the non-media stream when the SID frame optimization is closed. If it is determined that the background noise fluctuation is small in the current scene, and the period for sending the SID frame is large when the second terminal device starts the SID frame optimization, the detection period without the media stream when the SID frame optimization is started can be set to be much longer than the detection period without the media stream when the SID frame optimization is closed, so as to ensure that the period for sending the SID frame by the second terminal device is smaller than the detection period without the media stream by the first terminal device.
Here, the first network element is a SID frame proxy network element of the second terminal device, and the receiving end device is the first terminal device, so that the first network element may send the fifth SID frame to the first terminal device according to a period in which the first terminal device correspondingly receives the SID frame. For example, the period of receiving the SID frame by the first terminal device may be determined according to a detection period of no media stream set when the first network element closes the SID frame optimization for the first terminal device. For example, the period for the first terminal device to receive the SID frame may be set to be slightly smaller than the detection period without the media stream when the first terminal device closes the optimization of the SID frame, so as to ensure that the first network element may send the fifth SID frame before the detection period without the media stream arrives, and the first terminal device may receive the fifth SID frame, so that the network may not disconnect the session if the session between the first terminal device and the network is interrupted. The period of receiving the SID frame by the first terminal device may be set by the network side, or may be determined by negotiation between the first terminal device and a network element of the network side, which is not limited herein.
Step 502: and the second terminal equipment sends a sixth SID frame to the first network element. Correspondingly, the first network element receives the second SID frame sent by the first terminal device.
The sixth SID frame may be the FIRST SID frame, i.e., SID _ FIRST, generated by converting from the speech period to the silence period. The generation manner of the first SID frame may refer to the method described in the above embodiment, which is not limited herein. The sixth SID frame may also be a SID _ UPDATE generated when the second terminal device determines that the energy and the spectrum information of the actual mute signal are greater than preset thresholds during the mute period. For example, the encoder of the second terminal device may generate a sixth SID frame according to the actual silence signal of the current frame when the energy and the spectrum information of the actual silence signal between the nth frame and the last SID frame are greater than the preset threshold. Where n is a positive integer.
With reference to the embodiment in fig. 5A, the first network element is an SID frame proxy network element of the second terminal device, and the first network element may be SBC1 or SBC 2. If the first network element is SBC2, the second end device may send the sixth SID frame to SBC2, so that SBC2 may send the fifth SID frame to the first end device through SBC 1. If the first network element is SBC1, the second end device may send the sixth SID frame to SBC1 through SBC2, so that SBC1 may send the fifth SID frame to the first end device.
Step 503: and the first network element generates a fifth SID frame according to the sixth SID frame.
If the sixth SID frame is SID _ FIRST, when the second terminal device starts the SID frame optimization capability, the second terminal device switches from the speech period to the silence period, the sending time of the SID frame to be sent may be the same as the sending time of the SID frame sent when the SID frame optimization capability is not started, the generated sixth SID frame may be the same as the SID frame sent when the SID frame optimization capability is not started, and at this time, the FIRST network element may use the sixth SID frame as the fifth SID frame. If the sixth SID frame is SID _ UPDATE, at this time, before the second terminal device sends the sixth SID frame, at least one frame of SID frame has been sent, so as to ensure the smooth characteristic of the sent SID frame, and further, when the first terminal device decodes the fifth SID frame to generate a CN frame, the first terminal device keeps smooth transition with the CN frame decoded by the last received SID frame. The first network element may generate the fifth SID frame based on a weighted average result of the sixth SID frame and the SID frame transmitted before. Of course, the SID frame last transmitted to the first terminal device may also be updated according to the sixth SID frame.
For example, as shown in fig. 5B, when the FIRST period of receiving the SID frame by the FIRST terminal arrives, a sixth SID frame 1 (e.g., SID _ FIRST2) is transmitted, and the FIRST network element generates a fifth SID frame 1 to be transmitted to the second terminal device according to the sixth SID frame 1.
Further, the first network element may add the second parameter on the basis of the sixth SID frame 1, so that the fifth SID frame generated by the first network element during the next reception of the sixth SID frame is closer to the fluctuation characteristic of the background noise on the basis of maintaining the parameter characteristic of the sixth SID frame 1. At this time, the second parameter may be a random number, or may also be a function that changes with time, or the second parameter may also be a disturbance parameter that is determined by the second terminal device according to a change trend of the background noise, so that the first network element may generate, according to the second parameter, a fifth SID frame that is closer to the background noise when the second terminal device does not send the sixth SID frame. The second parameter may be set according to actual needs, and is not limited herein. The second parameter may be preset, or may be dynamically indicated by the second terminal device, which is not limited herein.
And when the first network element determines that the second cycle 1 of receiving the SID frame by the first terminal equipment is reached, the first network element generates a fifth SID frame 2 according to the sixth SID frame 1. Of course, the first network element may also generate the fifth SID frame 2 according to the fifth SID frame 1, so as to achieve better noise characteristics. For example, the fifth SID frame 2 may be generated by adding the second parameter based on the fifth SID frame 1. For another example, the fifth SID frame 2 may be generated based on the sixth SID frame 1 and according to the second parameters. The specific generation manner may be generated according to the determination manner of the second parameter, and is not limited herein.
The first network element receives a sixth SID frame 2 (e.g., SID _ UPDATE2) from the second terminal device before the first network element determines that the second period 2 in which the first terminal device receives the SID frame arrives, and may generate a fifth SID frame 3 from the sixth SID frame 2 when the first network element determines that the second period 2 in which the first terminal device receives the SID frame arrives. Alternatively, the first network element may generate the fifth SID frame 3 from the sixth SID frame 2 and the sixth SID frame 1.
Step 504: and the first network element sends the fifth SID frame to the first terminal equipment when the second period of the SID frame received by the first terminal equipment arrives.
With reference to the embodiment in fig. 3, the first network element is an SID frame proxy network element of the second terminal device, and the first network element may be SBC1 or SBC 2. If the first network element is SBC2, SBC2 sends the fifth SID frame to SBC1 after receiving the sixth SID frame and when the period for the first terminal device to receive the SID frame arrives, and further forwards the fifth SID frame to the first terminal device through SBC 1. If the first network element is SBC1, SBC1 may generate a fifth SID frame according to the sixth SID frame after receiving the sixth SID frame via SBC2, and send the fifth SID frame to the first terminal device when the period for receiving the SID frame by the first terminal device arrives.
Furthermore, the first terminal device can determine the CN parameter according to the fifth SID frame by the decoder according to the received fifth SID frame, and further generate a time domain CN frame, so as to obtain an effect closer to real background noise than the unchanged SID frame.
The above-mentioned scheme provided by the embodiments of the present application is introduced mainly from the perspective of interaction between each network element and a terminal. It is to be understood that the above-described implementation of each network element and terminal includes, in order to implement the above-described functions, a corresponding hardware structure and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
As shown in fig. 6, which is a possible exemplary block diagram of a communication device according to the embodiment of the present application, the device 600 may exist in the form of software or hardware. The apparatus 600 may comprise: a processing unit 602 and a communication unit 601. As one implementation, the communication unit 601 may include a receiving unit and a transmitting unit. The processing unit 602 is configured to control and manage operations of the apparatus 600. The communication unit 601 is used to support communication of the apparatus 600 with other network entities.
The processing unit 602 may be a processor or a controller, and may be, for example, a general-purpose Central Processing Unit (CPU), a general-purpose processor, a Digital Signal Processing (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure of the embodiments of the application. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 601 is an interface circuit of the apparatus for receiving signals from other apparatuses. For example, when the device is implemented in the form of a chip, the communication unit 601 is an interface circuit for the chip to receive signals from other chips or devices, or an interface circuit for the chip to transmit signals to other chips or devices.
The apparatus 600 may be the first network element or the second network element in the foregoing embodiments, and may also be a chip for the first network element or a chip for the second network element. For example, when the apparatus 600 is a first network element or a second network element, the processing unit 602 may be a processor, for example, and the communication unit 601 may be a transceiver, for example. Optionally, the transceiver may comprise radio frequency circuitry and the storage unit may be, for example, a memory. For example, when the apparatus 600 is a chip for a first network element or a second network element, the processing unit 602 may be a processor, for example, and the communication unit 601 may be an input/output interface, a pin, a circuit, or the like, for example. The processing unit 602 may execute computer-executable instructions stored in a storage unit, which may be, optionally, a storage unit in the chip, such as a register, a cache, and the like, and the storage unit may also be, in the first network element or the second network element, a storage unit located outside the chip, such as a read-only memory (ROM) or another type of static storage device that may store static information and instructions, a Random Access Memory (RAM), and the like.
In one embodiment, the apparatus 600 is the first network element in the above embodiments. A processing unit 602, configured to determine a period in which the second terminal device receives the SID frame; when a first period in a period in which the second terminal device receives the SID frame arrives, a first SID frame is transmitted to the second terminal device through the communication unit 601; the first SID frame is generated by the first network element according to the second SID frame; the second SID frame is a SID frame from the first terminal device and obtained by the first network element for the last time before the first period is reached, and the second SID frame is sent to the first network element when the background noise variation value of the first terminal device in the call mute period between the first terminal device and the second terminal device is determined to be larger than a preset threshold value; when a second period in the period of receiving the SID frame by the second terminal device arrives, if it is determined that the SID frame sent by the first terminal device is not received after the second SID frame is received, the first SID frame is continuously sent to the second terminal device through the communication unit 601; wherein the second period is any one period after the first period.
In a possible implementation manner, the processing unit 602 is configured to, when a second period in a period in which the second terminal device receives the SID frame arrives, send a third SID frame to the second terminal device by the communication unit 601; the third SID frame is generated by the first network element according to the fourth SID frame; the fourth SID frame is a SID frame from the first terminal device, which is acquired by the first network element for the last time before the second period arrives, and the fourth SID frame is sent to the first network element when it is determined that a background noise variation value of the first terminal device in a call mute period with the second terminal device is greater than a preset threshold value.
In a possible implementation manner, the processing unit 602 is configured to, when each first absence detection period is reached, if it is detected that an SID frame sent by the first terminal device is not received in the reached first absence detection period, end the call between the first terminal device and the second terminal device; the first no-media stream detection period is a no-media stream detection period corresponding to the first terminal device when the SID frame optimization capability is started; the first no-media stream detection period is larger than the second no-media stream detection period; the second detection period without media stream is the corresponding detection period without media stream when the first terminal device does not start the SID frame optimization capability.
In a possible implementation manner, the processing unit 602 is configured to turn off the media stream-free detection for the first terminal device when it is determined that the SID frame optimization capability is turned on by the first terminal device.
In a possible implementation manner, the processing unit 602 is configured to obtain a media negotiation request before continuing to send the first SID frame to the second terminal device through the communication unit 601; the media negotiation request is sent by the first terminal equipment or the second terminal equipment; the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the media negotiation request includes: indicating that the first terminal equipment supports SID frame optimization capability; returning a media negotiation result of the media negotiation request; the media negotiation result comprises: indicating that the first network element supports SID frame proxy capability; when the SID frame proxy capability is used to indicate that the first network element arrives in the second period of the period in which the second terminal device receives the SID frame, if it is determined that the SID frame sent by the first terminal device is not received after the second SID frame is received, the first SID frame is continuously sent to the second terminal device; the processing unit 602 is configured to determine, according to the media negotiation result, that the first terminal device starts SID frame optimization capability.
In a possible implementation manner, the processing unit 602 is configured to receive, by the second network element, a media negotiation request before the communication unit 601 continues to send the first SID frame to the second terminal device; the media negotiation request includes: indicating that the first terminal equipment supports SID frame optimization capability; sending a media negotiation result to the first terminal equipment or the second terminal equipment through the second network element; the media negotiation result comprises: indicating that the first network element supports SID frame proxy capability; when the SID frame proxy capability is used to indicate that the first network element arrives in the second period of the period, if it is determined that the SID frame sent by the first terminal device is not received after the second SID frame is received, the first SID frame is continuously sent to the second terminal device; and determining that the first terminal equipment starts SID frame optimization capability according to the media negotiation result.
In one possible implementation manner, the media negotiation request is sent to the first network element when the second network element determines that the second network element does not support SID frame proxy capability when receiving the media negotiation request of the first terminal device or the second terminal device; or, the media negotiation request is sent to the first network element when the second network element determines that the second network element supports SID frame proxy capability and the first network element is an edge access device of the second terminal device when the second network element receives the media negotiation request of the first terminal device or the second terminal device.
In a possible implementation manner, the processing unit 602 is configured to receive a first parameter from the first terminal device before the communication unit 601 sends the first SID frame to the second terminal device; the first parameter is used for scrambling the frame content of the second SID frame; a processing unit 602, configured to scramble frame content of the second SID frame using the first parameter, and generate a first SID frame.
It should be noted that, the SID frame optimization capability and the SID frame proxy capability mentioned in the embodiment of the present application are all applicable to the definition description of the SID frame optimization capability and the SID frame proxy capability in the above embodiments, and are not repeated.
As shown in fig. 7, which is a possible exemplary block diagram of a communication device according to an embodiment of the present application, the device 700 may exist in the form of software or hardware. The apparatus 700 may include: a processing unit 702 and a communication unit 701. As an implementation manner, the communication unit 701 may include a receiving unit and a transmitting unit. The processing unit 702 is configured to control and manage operations of the apparatus 700. The communication unit 701 is configured to support communication of the apparatus 700 with other network entities.
The processing unit 702 may be a processor or a controller, and may be, for example, a CPU, a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure of the embodiments of the application. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. The communication unit 701 is an interface circuit or a communication interface of the apparatus for receiving signals from other apparatuses. For example, when the device is implemented in the form of a chip, the communication unit 701 is an interface circuit or a communication interface of the chip for receiving signals from other chips or devices, or an interface circuit or a communication interface of the chip for transmitting signals to other chips or devices.
The apparatus 700 may be the first terminal device or the second terminal device in the above embodiments, and may also be a chip for the first terminal device or a chip for the second terminal device. For example, when the apparatus 700 is a first terminal device or a second terminal device, the processing unit 702 may be a processor, for example, and the communication unit 701 may be a transceiver, for example. Optionally, the transceiver may comprise radio frequency circuitry and the storage unit may be, for example, a memory. For example, when the apparatus 700 is a chip for a first terminal device or a second terminal device, the processing unit 702 may be a processor, for example, and the communication unit 701 may be an input/output interface, a pin, a circuit, or the like, for example. The processing unit 702 can execute computer executable instructions stored in a storage unit, optionally, the storage unit is a storage unit in the chip, such as a register, a cache, and the like, and the storage unit can also be a storage unit located outside the chip in the first terminal device or the second terminal device, such as a ROM or other types of static storage devices that can store static information and instructions, a RAM, and the like.
In one embodiment, the apparatus 700 is the first terminal device in the above embodiments. At this time, the communication unit 701 is configured to initiate a media negotiation request to the second terminal device through the first network element; the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the media negotiation request includes: the first terminal equipment supports SID frame optimization capability; acquiring a media negotiation result returned by the first network element; the media negotiation result comprises: the first network element supports SID frame proxy capability;
the processing unit 702 is configured to determine, according to the media negotiation result, that the first terminal device starts SID frame optimization capability.
In a possible implementation manner, the communication unit 701 is configured to send a media negotiation request to the first network element through the second network element, and the first network element forwards the media negotiation request to the second terminal device; the second network element is an edge access device of the first terminal device; the first network element is an edge access device of the second terminal device; and receiving a media negotiation result from the first network element returned by the second network element.
A possible implementation manner, the communication unit 701 is configured to send a media negotiation request to a second network element through a first network element, and forward the media negotiation request to a second terminal device by the first network element; the first network element is an edge access device of the first terminal device; the second network element is an edge access device of the second terminal device; receiving a media negotiation result from a second network element returned by a first network element; the media negotiation result comprises: the first network element supports SID frame proxy capability.
In one possible implementation manner, the media negotiation request is sent to the first network element when the second network element determines that the second network element does not support SID frame proxy capability when receiving the media negotiation request of the first terminal device or the second terminal device; or, the media negotiation request is sent to the first network element when the second network element determines that the second network element supports SID frame proxy capability and the first network element is an edge access device of the second terminal device when the second network element receives the media negotiation request of the first terminal device or the second terminal device.
In a possible implementation manner, the processing unit 702 is configured to determine a first parameter according to a background noise of a silent period of a call between a first terminal device and a second terminal device; the first parameter is used for the first network element to scramble the frame content of the second SID frame; the first SID frame is generated by the first network element according to the second SID frame; the second SID frame is a SID frame from the first terminal device and obtained by the first network element for the last time before the first period is reached, and the second SID frame is sent to the first network element when the background noise variation value of the first terminal device in the call mute period between the first terminal device and the second terminal device is determined to be larger than a preset threshold value; the first parameters are sent to the first network element via the communication unit 701.
In one embodiment, the apparatus 700 is the second terminal device in the above embodiments. At this time, a communication unit 701, configured to receive a media negotiation request from a first terminal device through a first network element; the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the media negotiation request includes: the first network element supports SID frame proxy capability; sending a media negotiation result to a first terminal device through a first network element; the media negotiation result comprises: the second terminal equipment supports SID frame optimization capability; the processing unit 702 is configured to determine, according to the media negotiation result, that the second terminal device starts SID frame optimization capability.
In a possible implementation manner, the communication unit 701 is configured to receive, by a second network element, a media negotiation request from a first network element, where the media negotiation request is sent to the first network element by a first terminal device; the second network element is an edge access device of the second terminal device; the first network element is an edge access device of the first terminal device; and sending the media negotiation result to the first network element through the second network element, and forwarding the media negotiation result to the first terminal equipment by the first network element.
In a possible implementation manner, the communication unit 701 is configured to receive, by a first network element, a media negotiation request from a second network element, where the media negotiation request is sent to the second network element by a first terminal device; the first network element is an edge access device of the second terminal device; the second network element is an edge access device of the first terminal device; and sending the media negotiation result to the second network element through the first network element, and forwarding the media negotiation result to the first terminal equipment by the second network element.
In one possible implementation manner, the media negotiation request is sent to the first network element when the second network element determines that the second network element does not support SID frame proxy capability when receiving the media negotiation request of the first terminal device or the second terminal device; or, the media negotiation request is sent to the first network element when the second network element determines that the second network element supports SID frame proxy capability and the first network element is an edge access device of the second terminal device when the second network element receives the media negotiation request of the first terminal device or the second terminal device.
In a possible implementation manner, the processing unit 702 is configured to determine a second parameter according to a background noise of a silent period of a call between the first terminal device and the second terminal device; the second parameter is used for scrambling the frame content of the SID frame sent to the first network element by the second terminal equipment; a communication unit 701, configured to send the second parameter to the first network element.
It can be understood that, when the apparatus is used for the SID sending method, a specific implementation process and corresponding beneficial effects may refer to the related description in the foregoing method embodiment, and are not described again here.
As shown in fig. 8, a schematic diagram of a communication apparatus provided in an embodiment of the present application is shown, where the apparatus may be the first terminal device and/or the second terminal device in the foregoing embodiments. The apparatus 800 comprises: a processor 802 and a communication interface 803. optionally, the apparatus 800 may also include a memory 801. Optionally, the apparatus 800 may also include a communication line 804. The communication interface 803, the processor 802, and the memory 801 may be connected to each other via a communication line 804; the communication line 804 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication lines 804 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
The processor 802 may be a CPU, microprocessor, ASIC, or one or more integrated circuits configured to control the execution of programs according to embodiments of the present application. The communication interface 803 may be any device, such as a transceiver, for communicating with other devices or communication networks, such as an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), a wired access network, etc.
A processor 802, which can be configured to determine a period during which a SID frame is received by a second terminal device; upon arrival of a first one of the periods, a first SID frame is sent to the second terminal device over the communication interface 803; the first SID frame is generated by the first network element according to the second SID frame; the second SID frame is a SID frame from the first terminal device and obtained by the first network element for the last time before the first period is reached, and the second SID frame is sent to the first network element when the background noise variation value of the first terminal device in the call mute period between the first terminal device and the second terminal device is determined to be larger than a preset threshold value; when the second period in the period arrives, if it is determined that the SID frame sent by the first terminal device is not received after the second SID frame is received, the first SID frame is continuously sent to the second terminal device through the communication interface 803; wherein the second period is any one period after the first period.
The specific implementation of the above scheme is described in detail in the above method embodiments, and is not described herein again.
The memory 801 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be separate and coupled to the processor via a communication line 804. The memory may also be integral to the processor.
The memory 801 is used for storing computer-executable instructions for implementing the embodiments of the present application, and is controlled by the processor 802 to execute the instructions. The processor 802 is configured to execute computer-executable instructions stored in the memory 801, so as to implement the SID frame sending method provided in the foregoing embodiments of the present application.
Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
The specific implementation of the above scheme is described in detail in the above method embodiments, and is not described herein again.
The memory 801 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be separate and coupled to the processor via a communication line 804. The memory may also be integral to the processor.
The memory 801 is used for storing computer-executable instructions for implementing the embodiments of the present application, and is controlled by the processor 802 to execute the instructions. The processor 802 is configured to execute computer-executable instructions stored in the memory 801, so as to implement the SID frame sending method provided in the foregoing embodiments of the present application.
Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
As shown in fig. 9, a schematic diagram of a communication apparatus provided in an embodiment of the present application is shown, where the apparatus may be the first terminal device and/or the second terminal device in the foregoing embodiments. The apparatus 900 includes: a processor 902 and a communication interface 903, and optionally, the apparatus 900 may further comprise a memory 901. Optionally, the apparatus 900 may also include a communication line 904. Wherein the communication interface 903, the processor 902, and the memory 901 may be connected to each other through a communication line 904; the communication line 904 may be a PCI bus or an EISA bus, etc. The communication lines 904 may be divided into address buses, data buses, control buses, and the like. For ease of illustration, only one thick line is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
The processor 902 may be a CPU, microprocessor, ASIC, or one or more integrated circuits configured to control the execution of programs according to embodiments of the present application. The communication interface 903, which may be any transceiver or the like, is used for communicating with other devices or communication networks, such as ethernet, RAN, WLAN, wired access networks, etc.
In one embodiment, the apparatus 900 is the first terminal device in the above embodiments. At this time, the communication interface 901 initiates a media negotiation request to the second terminal device through the first network element; the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the media negotiation request includes: the first terminal equipment supports SID frame optimization capability; the SID frame optimization capability is used for indicating the first terminal equipment to send the SID frame to the first network element when determining that the background noise variation value in the call mute period between the first terminal equipment and the second terminal equipment is greater than a preset threshold value; acquiring a media negotiation result returned by the first network element; the media negotiation result comprises: the first network element supports SID frame proxy capability; when the SID frame proxy capability is used to indicate that the first network element arrives in the second period of the period, if it is determined that the SID frame sent by the first terminal device is not received after the second SID frame is received, the first SID frame is continuously sent to the second terminal device; a processor 902, configured to determine, according to the media negotiation result, that the first terminal device starts SID frame optimization capability.
In one embodiment, the apparatus 900 is the second terminal device in the above embodiments. At this time, the communication interface 901 is configured to receive a media negotiation request from a first terminal device through a first network element; the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the media negotiation request includes: the first network element supports SID frame proxy capability; when the SID frame proxy capability is used to indicate that the first network element arrives in the second period of the period, if it is determined that the SID frame sent by the first terminal device is not received after the second SID frame is received, the first SID frame is continuously sent to the second terminal device; sending a media negotiation result to a first terminal device through a first network element; the media negotiation result comprises: the second terminal equipment supports SID frame optimization capability; the SID frame optimization capability is used for indicating the first terminal equipment to send the SID frame to the first network element when determining that the background noise variation value in the call mute period between the first terminal equipment and the second terminal equipment is greater than a preset threshold value; and a processor 902, configured to determine, according to the media negotiation result, that the second terminal device starts SID frame optimization capability.
The specific implementation of the above scheme is described in detail in the above method embodiments, and is not described herein again.
The memory 901 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disk read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be separate and coupled to the processor via a communication line 904. The memory may also be integral to the processor.
The memory 901 is used for storing computer-executable instructions for executing the embodiments of the present application, and is controlled by the processor 902 to execute the instructions. The processor 902 is configured to execute the computer-executable instructions stored in the memory 901, so as to implement the SID frame sending method provided in the foregoing embodiments of the present application.
Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
In the description of the present application, a "/" indicates a relationship in which the objects associated before and after are an "or", for example, a/B may indicate a or B; in the present application, "and/or" is only an association relationship describing an associated object, and means that there may be three relationships, for example, a and/or B, and may mean: a exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. Also, in the description of the present application, "a plurality" means two or more than two unless otherwise specified. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple. In addition, in order to facilitate clear description of technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish the same items or similar items having substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance. Also, in the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or illustrations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion for ease of understanding.
In addition, the network architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not constitute a limitation to the technical solution provided in the embodiment of the present application, and it can be known by a person skilled in the art that the technical solution provided in the embodiment of the present application is also applicable to similar technical problems along with the evolution of the network architecture and the appearance of a new service scenario.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The various illustrative logical units and circuits described in this application may be implemented or operated upon by design of a general purpose processor, a digital signal processor, an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.
The steps of a method or algorithm described in the embodiments herein may be embodied directly in hardware, in a software element executed by a processor, or in a combination of the two. The software cells may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. For example, a storage medium may be coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although the present application has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and figures are merely exemplary of the present application as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the present application. It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include such modifications and variations.

Claims (24)

1. A method for transmitting a silence description SID frame, comprising:
the first network element determines the period of receiving SID frames by the second terminal equipment;
the first network element sends a first SID frame to the second terminal equipment when a first period in the periods arrives; the first SID frame is generated by the first network element according to a second SID frame; the second SID frame is a SID frame from a first terminal device, which is obtained by the first network element for the last time before the first period arrives, and the second SID frame is sent to the first network element when it is determined that a background noise variation value of the first terminal device in a call silence period with the second terminal device is greater than a preset threshold value;
when the first network element arrives in the second period of the period, if it is determined that the SID frame sent by the first terminal device is not received after the second SID frame is received, continuing to send the first SID frame to the second terminal device; wherein the second period is any one period after the first period.
2. The method of claim 1, further comprising:
the first network element sends a third SID frame to the second terminal device when the second period of the period is reached; the third SID frame is generated by the first network element according to a fourth SID frame; the fourth SID frame is a SID frame from a first terminal device, which is acquired by the first network element for the last time before the second period arrives, and the fourth SID frame is sent to the first network element when it is determined that a background noise variation value of the first terminal device in a call silence period with the second terminal device is greater than a preset threshold value.
3. The method of claim 1 or 2, wherein the method further comprises:
when the first network element reaches each first media stream absence detection period, if detecting that the SID frame sent by the first terminal equipment is not received in the first media stream absence detection period, ending the conversation between the first terminal equipment and the second terminal equipment;
the first no-media stream detection period is a no-media stream detection period corresponding to the first terminal device when the SID frame optimization capability is started; the first no-media stream detection period is greater than the second no-media stream detection period; the second detection period without media stream is a corresponding detection period without media stream when the first terminal device does not start SID frame optimization capability; and the SID frame optimization capability is used for indicating the first terminal device to send a SID frame to the first network element when determining that a background noise variation value in a call mute period between the first terminal device and the second terminal device is greater than a preset threshold value.
4. The method of claim 1 or 2, wherein the method further comprises:
when the first network element determines that the first terminal equipment starts SID frame optimization capability, closing the media-free stream detection of the first terminal equipment; and the SID frame optimization capability is used for indicating the first terminal device to send a SID frame to the first network element when determining that a background noise variation value in a call mute period between the first terminal device and the second terminal device is greater than a preset threshold value.
5. The method of claim 1, wherein before the first network element continues to send the first SID frame to the second terminal device, further comprising:
the first network element acquires a media negotiation request; the media negotiation request is sent by the first terminal device or the second terminal device; the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the media negotiation request includes: indicating that the first terminal equipment supports SID frame optimization capability; the SID frame optimization capability is used for indicating the first terminal device to send a SID frame to the first network element when determining that a background noise variation value in a call mute period between the first terminal device and the second terminal device is greater than a preset threshold value;
the first network element returns the media negotiation result of the media negotiation request; the media negotiation result comprises: indicating that the first network element supports SID frame proxy capability; when the SID frame proxy capability is used to indicate that the first network element arrives in a second period of the period, if it is determined that a SID frame sent by the first terminal device is not received after the second SID frame is received, continuing to send the first SID frame to the second terminal device;
and the first network element determines that the first terminal equipment starts the SID frame optimization capability according to the media negotiation result.
6. The method of claim 1, wherein before the first network element continues to send the first SID frame to the second terminal device, further comprising:
the first network element receives the media negotiation request through the second network element; the media negotiation request includes: indicating that the first terminal equipment supports SID frame optimization capability; the SID frame optimization capability is used for indicating the first terminal device to send a SID frame to the first network element when determining that a background noise variation value in a call mute period between the first terminal device and the second terminal device is greater than a preset threshold value;
the first network element sends the media negotiation result to the first terminal device or the second terminal device through the second network element; the media negotiation result comprises: indicating that the first network element supports SID frame proxy capability; when the SID frame proxy capability is used to indicate that the first network element arrives in a second period of the period, if it is determined that a SID frame sent by the first terminal device is not received after the second SID frame is received, continuing to send the first SID frame to the second terminal device;
and the first network element determines that the first terminal equipment starts the SID frame optimization capability according to the media negotiation result.
7. The method of claim 6, wherein the media negotiation request is sent to the first network element when the second network element determines that the second network element does not support SID frame proxy capability when receiving the media negotiation request of the first terminal device or the second terminal device; or,
and when the second network element receives the media negotiation request of the first terminal device or the second terminal device, the media negotiation request is sent to the first network element when the second network element determines that the second network element supports SID frame proxy capability and the first network element is the edge access device of the second terminal device.
8. The method of any of claims 1-7, wherein prior to the first network element sending the first SID frame to the second terminal device, further comprising:
the first network element receives a first parameter from the first terminal equipment; the first parameter is used for scrambling the frame content of the second SID frame;
the generating, by the first network element, the first SID frame according to the second SID frame includes:
and the first network element scrambles the frame content of the second SID frame by using the first parameter to generate the first SID frame.
9. A negotiation method for silence description SID frame transmission mode is characterized by comprising:
a first terminal device initiates a media negotiation request to a second terminal device through a first network element; the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the media negotiation request includes: the first terminal equipment supports SID frame optimization capability; the SID frame optimization capability is used for indicating the first terminal device to send a SID frame to the first network element when determining that a background noise variation value in a call mute period between the first terminal device and the second terminal device is greater than a preset threshold value;
the first terminal equipment acquires a media negotiation result returned by the first network element; the media negotiation result comprises: the first network element supports SID frame proxy capability; when the SID frame proxy capability is used to indicate that the first network element arrives at a second period in a period in which a second terminal device receives a SID frame, if it is determined that a SID frame sent by the first terminal device is not received after a second SID frame sent by the first terminal device is received, continuing to send a first SID frame to the second terminal device; the first SID frame is generated by the first network element according to a second SID frame; the second SID frame is a SID frame from the first terminal device, which is acquired by the first network element for the last time before a first period in a period in which the second terminal device receives SID frames arrives, and the second SID frame is sent to the first network element when it is determined that a background noise variation value in a call silence period between the first terminal device and the second terminal device is greater than a preset threshold value; the second period is any period after the first period;
and the first terminal equipment starts SID frame optimization capability according to the media negotiation result.
10. The method of claim 9, wherein the first terminal device initiating a media negotiation request to a second terminal device through a first network element, comprising:
the first terminal equipment sends the media negotiation request to the first network element through a second network element, and the first network element forwards the media negotiation request to the second terminal equipment; the second network element is an edge access device of the first terminal device; the first network element is an edge access device of the second terminal device;
the obtaining, by the first terminal device, the media negotiation result returned by the first network element includes:
and the first terminal equipment receives a media negotiation result from the first network element, which is returned by the second network element.
11. The method of claim 9, wherein the first terminal device initiating a media negotiation request to a second terminal device through a first network element, comprising:
the first terminal equipment sends the media negotiation request to a second network element through the first network element, and the second network element forwards the media negotiation request to the second terminal equipment; the first network element is an edge access device of the first terminal device; the second network element is an edge access device of the second terminal device;
the obtaining, by the first terminal device, the media negotiation result returned by the first network element includes:
and the first terminal equipment receives a media negotiation result from the second network element, which is returned by the first network element.
12. The method according to claim 9 or 10, wherein the media negotiation request is sent to the first network element when the second network element determines that the second network element does not support SID frame proxy capability when receiving the media negotiation request of the first terminal device; or,
and when the second network element receives the media negotiation request of the first terminal device, the media negotiation request is sent to the first network element when the second network element determines that the second network element supports SID frame proxy capability and the first network element is the edge access device of the second terminal device.
13. The method of any one of claims 9-12, further comprising:
the first terminal equipment determines a first parameter according to background noise of the first terminal equipment and the second terminal equipment in a silent period of the call; the first parameter is used for the first network element to scramble the frame content of the second SID frame;
and the first terminal equipment sends the first parameter to the first network element.
14. A negotiation method for silence description SID frame transmission mode is characterized by comprising:
the second terminal equipment receives a media negotiation request from the first terminal equipment through the first network element; the media negotiation request is used for establishing a session between the first terminal device and the second terminal device; the media negotiation request includes: the first network element supports SID frame proxy capability; when the SID frame proxy capability is used to indicate that the first network element arrives at a second period in a period in which a first terminal device receives a SID frame, if it is determined that a SID frame sent by the first terminal device is not received after a sixth SID frame sent by the second terminal device is received, continuing to send a fifth SID frame to the first terminal device; the fifth SID frame is generated by the first network element according to a sixth SID frame; the sixth SID frame is a SID frame from the second terminal device, which is acquired by the first network element for the last time before a first period in a period in which the first terminal device receives SID frames arrives, and is sent to the first network element when it is determined that a background noise variation value in a call silence period between the second terminal device and the first terminal device is greater than a preset threshold value; the second period is any period after the first period;
the second terminal equipment sends a media negotiation result to the first terminal equipment through the first network element; the media negotiation result comprises: the second terminal equipment supports SID frame optimization capability; the SID frame optimization capability is used for indicating the second terminal device to send a SID frame to the first network element when determining that a background noise variation value in a call mute period between the second terminal device and the first terminal device is greater than a preset threshold value;
and the second terminal equipment starts SID frame optimization capability according to the media negotiation result.
15. The method of claim 14, wherein the second terminal device receiving a media negotiation initiation request from the first terminal device via the first network element, comprises:
the second terminal device receives the media negotiation request from the first network element through a second network element, wherein the media negotiation request is sent to the first network element by the first terminal device; the second network element is an edge access device of the second terminal device; the first network element is an edge access device of the first terminal device;
the second terminal device sends the media negotiation result to the first terminal device through the first network element, including:
and the second terminal equipment sends the media negotiation result to the first network element through the second network element, and the first network element forwards the media negotiation result to the first terminal equipment.
16. The method of claim 14, wherein the second terminal device receiving a media negotiation initiation request from the first terminal device via the first network element, comprises:
the second terminal device receives the media negotiation request from a second network element through the first network element, wherein the media negotiation request is sent to the second network element by the first terminal device; the first network element is an edge access device of the second terminal device; the second network element is an edge access device of the first terminal device;
the second terminal device sends the media negotiation result to the first terminal device through the first network element, including:
and the second terminal equipment sends the media negotiation result to the second network element through the first network element, and the second network element forwards the media negotiation result to the first terminal equipment.
17. The method according to claim 14 or 15, wherein the media negotiation request is sent to the first network element when the second network element determines that the second network element does not support SID frame proxy capability when receiving the media negotiation request of the second terminal device; or,
and when the second network element receives the media negotiation request of the second terminal device, determining that the second network element supports SID frame proxy capability and the first network element is sent to the first network element when the first network element is an edge access device of the second terminal device.
18. The method of any one of claims 14-17, further comprising:
the second terminal equipment determines a second parameter according to the background noise of the first terminal equipment and the second terminal equipment in the silent period of the call; the second parameter is used for scrambling the frame content of the sixth SID frame;
and the second terminal equipment sends the second parameter to the first network element.
19. A communication device arranged to implement the method of any of claims 1 to 8.
20. A communication device arranged to implement the method of any of claims 9 to 18.
21. A communication device comprising a processor and a communication interface;
the communication interface is used for receiving code instructions and transmitting the code instructions to the processor; the processor executes the code instructions to perform the method of any of claims 1 to 8.
22. A communication device comprising a processor and a communication interface;
the communication interface is used for receiving code instructions and transmitting the code instructions to the processor; the processor executes the code instructions to perform the method of any of claims 9 to 18.
23. A readable storage medium, characterized in that the readable storage medium stores instructions that, when executed, cause the method of any of claims 1-8 to be implemented.
24. A readable storage medium, characterized in that the readable storage medium stores instructions that, when executed, cause the method of any of claims 9-18 to be implemented.
CN202010340428.6A 2020-04-26 2020-04-26 Mute description frame sending and negotiating method and device Active CN113555025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010340428.6A CN113555025B (en) 2020-04-26 2020-04-26 Mute description frame sending and negotiating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010340428.6A CN113555025B (en) 2020-04-26 2020-04-26 Mute description frame sending and negotiating method and device

Publications (2)

Publication Number Publication Date
CN113555025A true CN113555025A (en) 2021-10-26
CN113555025B CN113555025B (en) 2024-08-09

Family

ID=78129888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010340428.6A Active CN113555025B (en) 2020-04-26 2020-04-26 Mute description frame sending and negotiating method and device

Country Status (1)

Country Link
CN (1) CN113555025B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1391212A (en) * 2001-06-11 2003-01-15 阿尔卡塔尔公司 Method for detecting phonetic activity in signals and phonetic signal encoder including device thereof
CN101447932A (en) * 2008-12-31 2009-06-03 华为技术有限公司 Method for transmitting and receiving voice message and device and system thereof
CN102088681A (en) * 2009-12-03 2011-06-08 华为技术有限公司 Method, equipment and system for processing voice call continuity service
US20120163312A1 (en) * 2010-12-23 2012-06-28 Texas Instruments Incorporated Reducing the Number of Silencing Frames Transmitted in a Coexistence Network
US20150351028A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Power save for volte during silence periods
US20180308509A1 (en) * 2017-04-25 2018-10-25 Qualcomm Incorporated Optimized uplink operation for voice over long-term evolution (volte) and voice over new radio (vonr) listen or silent periods

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1391212A (en) * 2001-06-11 2003-01-15 阿尔卡塔尔公司 Method for detecting phonetic activity in signals and phonetic signal encoder including device thereof
CN101447932A (en) * 2008-12-31 2009-06-03 华为技术有限公司 Method for transmitting and receiving voice message and device and system thereof
CN102088681A (en) * 2009-12-03 2011-06-08 华为技术有限公司 Method, equipment and system for processing voice call continuity service
US20120163312A1 (en) * 2010-12-23 2012-06-28 Texas Instruments Incorporated Reducing the Number of Silencing Frames Transmitted in a Coexistence Network
US20150351028A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Power save for volte during silence periods
US20180308509A1 (en) * 2017-04-25 2018-10-25 Qualcomm Incorporated Optimized uplink operation for voice over long-term evolution (volte) and voice over new radio (vonr) listen or silent periods

Also Published As

Publication number Publication date
CN113555025B (en) 2024-08-09

Similar Documents

Publication Publication Date Title
US10965719B2 (en) Service capabilities in heterogeneous network
US11799922B2 (en) Network core facilitating terminal interoperation
CN101313525B (en) Infrastructure for enabling high quality real-time audio
US9525569B2 (en) Enhanced circuit-switched calls
JP5528811B2 (en) Receiver operation and implementation for efficient media handling
US9826072B1 (en) Network-terminal interoperation using compatible payloads
CN110622481A (en) Session control for network gateways capable of sensing transcoder utilization
KR20130054291A (en) Codec deployment using in-band signals
US11856149B2 (en) Method for establishing call connection, first terminal, server, and storage medium
CN107005352A (en) Method of adjustment, system and the relevant device of voice auto-adaptive parameter
CN107689945B (en) Media conversion equipment control method and device and media gateway
CN102137093A (en) Method for processing media stream and media gateway
US20120095760A1 (en) Apparatus, a method and a computer program for coding
CN113555025B (en) Mute description frame sending and negotiating method and device
WO2018076376A1 (en) Voice data transmission method, user device, and storage medium
EP3440871B1 (en) Codec-specific radio link adaptation
Waltermann et al. A technique for seamless VoIP-codec switching in next generation networks
Mkwawa et al. Performance modelling and evaluation of handover mechanism in ip multimedia subsystems
Vetoshko et al. Possibilities of improving the voice services quality in 5G networks
CN109104295B (en) Encoding and decoding processing method, terminal, network equipment and computer storage medium
Bruhn et al. System aspects of the 3GPP evolution towards enhanced voice services
CN108476383B (en) Method, device and storage medium for negotiating maximum packing interval
Choi et al. Voice-activity-based vertical handover in 3G-WLAN interworking networks
CA3061833A1 (en) Managing network device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant