Call processing method and call processing device
By detecting the abnormal situation of voice packets in IMS calls and sending switching signaling to the network server, the intermittent and silent calls caused by poor network environment or abnormal audio encryption/decryption algorithms in IMS calls are solved, and the call quality is improved and the effect of efficiency.
Patent Information
- Application Number
- CN202111108025.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-22
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2041-09-22
AI Technical Summary
In the case of poor network environment or abnormal audio encryption/decryption algorithm, IMS calls are prone to intermittent and silent problems, which affects the quality of the call.
Provide a call processing method and device, by receiving voice data packets and detecting abnormalities, sending a first signaling to a network server, requiring switching of the media server that generates voice data packets and the domain that transmits voice data packets to avoid media Call exceptions caused by abnormal server audio encryption/decryption algorithm or poor network environment.
It effectively reduces the occurrence of silence of calls, improves call efficiency and experience, and eliminates call problems caused by abnormal media server algorithms or network abnormalities by switching media servers or transmission domains.
Smart Images

Figure CN113612890B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of data calls, and in particular relates to a call processing method and a call processing device. Background Art
[0002] In the related art, when an IMS call encounters a poor network environment or an abnormal audio encryption / decryption algorithm, problems such as call interruption and silence may occur, affecting the call quality. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a call processing method and a call processing device, which can reduce the problem of silent calls in IMS calls.
[0004] In a first aspect, an embodiment of the present application provides a call processing method for a terminal, the method comprising:
[0005] Receive voice data packets sent by a network server;
[0006] In the case of an abnormal voice data packet, a first signaling is sent to the network server, wherein the first signaling is used to enable the network server to switch at least one of a media server that generates the voice data packet and a domain that transmits the voice data packet.
[0007] In a second aspect, an embodiment of the present application provides a call processing method for a network server, the method comprising:
[0008] Receive call data packets sent by the terminal;
[0009] Generate a corresponding voice data packet according to the call data packet, and send the voice data packet to the sending terminal;
[0010] When the first signaling sent by the terminal is received, at least one of a media server for generating a voice data packet and a domain for transmitting the voice data packet is switched.
[0011] In a third aspect, an embodiment of the present application provides a call processing device, including:
[0012] A first receiving module, used for receiving a voice data packet sent by a network server;
[0013] The first sending module is used to send a first signaling to the network server when the voice data packet is abnormal, wherein the first signaling is used to enable the network server to switch at least one of the media server that generates the voice data packet and the domain that transmits the voice data packet.
[0014] In a fourth aspect, an embodiment of the present application provides a call processing device, including:
[0015] A second receiving module receives a call data packet sent by the terminal;
[0016] A second sending module generates a corresponding voice data packet according to the call data packet and sends the voice data packet to the sending terminal;
[0017] The switching module is used to switch at least one of a media server for generating voice data packets and a domain for transmitting voice data packets when receiving a first signaling sent by a terminal.
[0018] In a fifth aspect, an embodiment of the present application provides a first electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method of the first aspect.
[0019] In a sixth aspect, an embodiment of the present application provides a second electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method of the second aspect.
[0020] In a seventh aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect and the second aspect are implemented.
[0021] In an eighth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the steps of the methods of the first and second aspects.
[0022] In an embodiment of the present application, the terminal can be a calling terminal or a called terminal of an IMS call. The terminal conducting the IMS call collects the user's call voice through a microphone, and forms a call data packet to send to a network server. At the same time, it receives a voice data packet sent by the network server that includes the call voice of the other terminal of the call.
[0023] After receiving the voice data packet, the terminal parses the voice data packet and detects whether the parsed call voice has any abnormality, such as silence, noise, etc. through the sound module. If there is silence, noise, etc., the voice data packet is judged to be abnormal. At this time, a first signaling is generated and sent to the network server. The first signaling is used to inform the network server of the abnormality of the voice data packet. After receiving the first signaling, the network server switches the method of generating the voice data packet and / or the method of transmitting the voice data packet, such as switching the media server that generates the voice data packet, so that the voice data packet is generated through the new media server, avoiding call abnormalities caused by abnormalities in the audio encryption / decryption algorithm of the media server, or switching the domain for voice data packet transmission, such as switching from the PS domain to the CS domain, avoiding call abnormalities caused by abnormalities in the specific domain network, thereby effectively reducing the occurrence of problems such as silent calls and improving call efficiency and call experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 One of the flow charts of the call processing method according to an embodiment of the present application is shown;
[0025] Figure 2 A second flowchart of a call processing method according to an embodiment of the present application is shown;
[0026] Figure 3 One of the structural block diagrams of the call processing device according to an embodiment of the present application is shown;
[0027] Figure 4 A second structural block diagram of a call processing device according to an embodiment of the present application is shown;
[0028] Figure 5 A structural block diagram of a first electronic device according to an embodiment of the present application is shown;
[0029] Figure 6 A structural block diagram of a second electronic device according to an embodiment of the present application is shown;
[0030] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0032] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0033] The call processing method and the call processing device provided in the embodiments of the present application are described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0034] In some embodiments of the present application, a call processing method is provided. Figure 1 FIG. 1 shows one of the flow charts of the call processing method according to an embodiment of the present application. Figure 1 As shown, the method includes:
[0035] Step 102, receiving a voice data packet sent by a network server;
[0036] Step 104: When the voice data packet is abnormal, a first signaling is sent to a network server.
[0037] The first signaling is used to enable the network server to switch at least one of a media server for generating voice data packets and a domain for transmitting voice data packets.
[0038] In an embodiment of the present application, the terminal can be a calling terminal or a called terminal of an IMS call. The terminal conducting the IMS call collects the user's call voice through a microphone, and forms a call data packet to send to a network server. At the same time, it receives a voice data packet sent by the network server that includes the call voice of the other terminal of the call.
[0039] After receiving the voice data packet, the terminal parses the voice data packet and detects through the sound module whether there is any abnormality in the parsed call voice, such as silence, noise, etc. If there is silence, noise, etc., the voice data packet is judged to be abnormal. At this time, a first signaling is generated and sent to the network server. The first signaling is used to inform the network server that the voice data packet is abnormal. In some embodiments, the first signaling is a SIP signaling, wherein SIP is a Session Initiation Protocol (SIP) signaling.
[0040] After receiving the first signaling, the network server switches the method for generating voice data packets and / or the method for transmitting voice data packets, such as switching the media server for generating voice data packets, thereby generating voice data packets through the new media server, avoiding call abnormalities caused by abnormalities in the media server audio encryption / decryption algorithm, or switching the domain for voice data packet transmission, such as switching from the PS domain to the CS domain, avoiding call abnormalities caused by abnormalities in the specific domain network, thereby effectively reducing the occurrence of problems such as silent calls and improving call efficiency and call experience.
[0041] In some embodiments of the present application, the media server generating the voice data packet includes: generating the voice data packet through a first media server; or generating the voice data packet through a second media server.
[0042] In an embodiment of the present application, the network server receives a call data packet from a terminal, and sends the call data packet to a corresponding media server, and the media server parses and packages the call data packet to obtain a corresponding voice data packet.
[0043] Among them, different media servers may have different audio encryption / decryption algorithms. Therefore, if the voice data packet received by the terminal is abnormal, it may be that the algorithm of the first media server currently responsible for processing the voice call of the terminal is abnormal. At this time, the network server can switch the voice data packet generated by the first media server to the voice data packet generated by the second media server, thereby eliminating the possibility of call abnormality caused by the abnormal algorithm of the first media server.
[0044] The first media server includes a media server currently responsible for processing the terminal voice call service, or a preset preferred media server. The second media server includes an alternative media server other than the first media server, or a preset secondary media server.
[0045] By switching the media server that generates the voice data packets, call anomalies caused by abnormal encryption / decryption algorithms of the media server can be effectively eliminated, thereby improving call efficiency.
[0046] In some embodiments of the present application, the domain for transmitting the voice data packet includes: transmitting the voice data packet through the PS domain; or transmitting the voice data packet through the CS domain.
[0047] In the embodiments of the present application, in the related technology, IMS calls are based on the SIP protocol, and generally by default, call services are performed through a PS domain connected based on a Transmission Control Protocol / Internet Protocol (TCP / IP), that is, related data packets are transmitted through the PS domain. As the network environment of the terminal changes, the network environment on the PS domain may be poor, packet loss may occur, and the voice data packets received by the terminal may be abnormal.
[0048] Therefore, after receiving the first signaling of the terminal, the transmission mode of voice data packets and call data packets between the terminal and the network server can be switched from transmission through the PS domain to transmission through the CS domain, thereby eliminating call anomalies caused by specific network anomalies and improving call efficiency.
[0049] In some embodiments of the present application, after sending the first signaling to the network server, the method further includes:
[0050] receiving a second signaling sent by the network server, wherein the second signaling includes at least one of a switched media server for generating voice data packets and a switched domain for transmitting voice data packets;
[0051] In the case that the second signaling includes a field for transmitting a voice data packet after switching, the voice data packet and the call data packet are sent according to the transmission mode indicated by the second signaling, wherein the voice data packet is generated according to the call data packet.
[0052] In an embodiment of the present application, after the terminal sends a first signaling to the network server to inform the network server that the received voice data packet is abnormal, the network server performs a corresponding operation to switch the media server that processes the voice data packet, or to switch the transmission mode of the voice data packet. After performing the operation, the network server replies to the terminal with a second signaling, which is used to inform the terminal that the media server has been switched, or to inform the terminal that the transmission mode has been switched.
[0053] In the case where the network server switches the transmission mode of the voice data packet, the terminal switches the mode of sending the call data packet according to the instruction of the second signaling, and also changes to send and receive the data packet through the CS domain to adapt to the switching of the data packet transmission mode. The call data packet is a data packet obtained by the current terminal after processing according to the received user voice. After the data packet is processed by the media server, the corresponding voice data packet is generated and transmitted to the other terminal of the voice call, and is played after being unpacked and decoded by the other terminal.
[0054] It is understandable that there are two terminals or multiple terminals in the voice call, including at least one calling party terminal and at least one called party terminal. When sending the second signaling, the network server can simultaneously send the second signaling to all terminals participating in the voice call.
[0055] In some embodiments of the present application, a call processing method is provided for a network server. Figure 2 FIG. 2 shows a second flow chart of a call processing method according to an embodiment of the present application. Figure 2 As shown, the method includes:
[0056] Step 202, receiving a call data packet sent by the terminal;
[0057] Step 204, generating a corresponding voice data packet according to the call data packet, and sending the voice data packet to the sending terminal;
[0058] Step 206: upon receiving the first signaling sent by the terminal, switching at least one of a media server for generating voice data packets and a domain for transmitting voice data packets.
[0059] In an embodiment of the present application, during a voice call at a terminal, the network server receives in real time a call data packet generated by the terminal based on the call voice collected by its own microphone, and processes the call data packet through the encryption / decryption algorithm of the media server to generate a corresponding voice data packet, which is then sent to the other terminal of the voice call.
[0060] During this process, if the network server receives the first signaling from the terminal, it means that the voice data packet received by the terminal is abnormal, resulting in silent call or call noise. At this time, the network server eliminates the cause of the abnormal voice data packet by switching the voice data packet generation method and / or switching the voice data packet transmission method.
[0061] Specifically, the network server parses and packages the call data packet through the media server to obtain the corresponding voice data packet. Different media servers may have different audio encryption / decryption algorithms. Therefore, if the algorithm of the media server currently responsible for processing the voice call of the terminal is abnormal, the voice data packet will be abnormal.
[0062] At this time, switching the media server to generate voice data packets can eliminate the situation where the call abnormality is caused by the abnormal algorithm of the first media server.
[0063] On this basis, voice calls are made through the PS domain by default. When the network environment on the PS domain is poor and packet loss occurs, the voice data packets received by the terminal will be abnormal. At this time, the transmission method of voice data packets and call data packets between the terminal and the network server is switched from transmission through the PS domain to transmission through the CS domain, thereby eliminating call anomalies caused by specific network anomalies and improving call efficiency.
[0064] In some embodiments of the present application, receiving a call data packet sent by a terminal includes:
[0065] Receive call data packets sent by the terminal through the PS domain:
[0066] Sending a voice data packet to a sending terminal includes:
[0067] Send voice data packets to the terminal through the PS domain;
[0068] Switching at least one of a media server generating a voice data packet and a domain transmitting the voice data packet comprises:
[0069] Receive call data packets sent by the terminal through the CS domain, and send voice data packets to the terminal.
[0070] In the embodiment of the present application, the network server receives the call data packet sent by the terminal through the PS domain by default, and sends the voice data packet to the terminal through the PS domain. When the network server receives the first signaling, it can choose to switch the transmission mode of transmitting the data packet between the terminal, specifically, switching from sending and receiving data packets through the PS domain to sending and receiving data packets through the CS domain.
[0071] After the switch, the network server will receive the call data packets sent by the terminal through the CS domain, and send voice data packets to the terminal through the CS domain. By switching the transmission mode of sending and receiving data packets, call anomalies caused by specific network anomalies can be eliminated, improving call efficiency.
[0072] In some embodiments of the present application, receiving a call data packet sent by a terminal through a CS domain, and sending a voice data packet to the terminal, includes:
[0073] Sending a first release instruction to a first network element corresponding to the PS domain, wherein the first release instruction is used to enable the first network element to release network resources;
[0074] Receiving first reply information sent by the first network element, wherein the first reply information corresponds to the first release instruction;
[0075] When the first reply information is received, the preset information is sent to switch the sending mode of the call data packet of the terminal to sending through the CS domain.
[0076] In an embodiment of the present application, when the transmission path for sending and receiving data packets is switched from the PS domain to the CS domain, first, the network server sends a first release instruction to the relevant network element of the PS domain, that is, the first network element, informing the first network element that the current call service is to be switched to the CS domain, and at the same time, the relevant gateway of the PS domain releases network resources.
[0077] After the first network element related to the PS domain releases the network resources according to the first release instruction, the first reply information corresponding to the first release instruction is sent to the network server, notifying the retained server that the first network element has released the resources and the call service can be switched to the CS domain. At this time, the network server completes the switching of the call service from the PS domain to the CS domain by sending a preset server, and the subsequent call service will be executed through the CS domain, thereby eliminating call anomalies caused by PS domain network anomalies and packet loss, and improving call efficiency.
[0078] In some embodiments of the present application, the preset information includes a second signaling, and sending the preset information includes: sending the second signaling to the terminal, wherein the second signaling is used to indicate a transmission method of the voice data packet after switching.
[0079] In this technical solution, the preset information specifically includes a second signaling, which is used to instruct the terminal to switch the transmission path of the data packet, that is, to switch the domain for conducting call services. In some implementations, the second signaling is also used to notify the terminal of the switching of the media server.
[0080] After receiving the second signaling, the terminal switches its own way of sending and receiving data packets according to the second signaling, specifically switching from the PS domain to the CS domain, thereby eliminating call anomalies caused by PS domain network anomalies and packet loss and improving call efficiency.
[0081] In some embodiments of the present application, the preset information includes a CS call instruction, and sending the preset information includes: sending a CS call instruction to a second network element corresponding to the CS domain, wherein the CS call instruction is used to enable the second network element to send CS call signaling to the terminal, and the CS call signaling is used to switch the terminal's call data packet sending method to sending through the CS domain.
[0082] In an embodiment of the present application, the preset information specifically includes a CS call instruction. After receiving the first reply information sent by the first network element related to the PS domain, the network server sends a CS call instruction to the second network element related to the CS domain to notify the second network element in the CS domain that the call service is about to be switched to the CS domain. After that, the second network element in the CS domain will forward the corresponding signaling to the terminals of both parties of the voice call service so that the terminals can switch to the CS domain to send and receive data packets.
[0083] After receiving the signaling, the terminal switches the transmission mode of sending and receiving data packets from the PS domain to the CS domain, thereby eliminating call anomalies caused by PS domain network anomalies and packet loss, and improving call efficiency.
[0084] In some embodiments of the present application, generating a corresponding voice data packet according to a call data packet includes: sending the call data packet to a first media server, and receiving a voice data packet sent by the first media server;
[0085] Switching at least one of a media server for generating voice data packets and a domain for transmitting voice data packets includes: sending a call data packet to a second media server, and receiving a voice data packet sent by the second media server.
[0086] In an embodiment of the present application, the network server receives a call data packet from a terminal, and sends the call data packet to a corresponding media server, and the media server parses and packages the call data packet to obtain a corresponding voice data packet.
[0087] Among them, different media servers may have different audio encryption / decryption algorithms. Therefore, when the first signaling sent by the terminal is received, it may be that the algorithm of the first media server currently responsible for processing the voice call of the terminal is abnormal, causing the voice data packet received by the terminal to be abnormal. At this time, the network server will switch the way of generating voice data packets from generating voice data packets through the first media server to generating voice data packets through the second media server, thereby eliminating the possibility of call abnormality caused by the abnormal algorithm of the first media server.
[0088] The first media server includes a media server currently responsible for processing the terminal voice call service, or a preset preferred media server. The second media server includes an alternative media server other than the first media server, or a preset secondary media server.
[0089] By switching the media server that generates the voice data packets, call anomalies caused by abnormal encryption / decryption algorithms of the media server can be effectively eliminated, thereby improving call efficiency.
[0090] In some embodiments of the present application, sending a call data packet to a second media server includes:
[0091] Sending a second release instruction to the first media server, wherein the second release instruction is used to enable the first media server to release network resources;
[0092] receiving second reply information sent by the first media server, wherein the second reply information corresponds to the second release instruction;
[0093] When receiving the second reply information, sending a third signaling to the second media server, wherein the third signaling is used to enable the second media server to prepare to receive the call data packet;
[0094] receiving third reply information sent by the second media server, wherein the third reply information corresponds to the third signaling;
[0095] When the third reply information is received, a call data packet is sent to the second media server.
[0096] In the embodiment of the present application, when switching the method of generating voice data packets, specifically, the method switches from generating voice data packets through the first media server to generating voice data packets through the second media server. Specifically, the network server sends a second release instruction to the first media server, informing the first media server that it is about to switch to other media servers to perform call services. After receiving the second release instruction, the first media server terminates the corresponding call service and releases the corresponding network resources.
[0097] After the network resources are released, the second media server replies to the network server with a corresponding second reply instruction, informing the network server that the network resources have been released and the call service can be switched to the new media server. At this time, the network server sends a third signaling to the second media server, and the second media server is ready to receive and process the call data packet of the call service.
[0098] After receiving the third signaling, the second media server starts preparing to receive data packets and establishes the corresponding call service. After the second media server is ready, it feeds back the third reply information corresponding to the third signaling to the network server. At this time, the switching of the media server is completed, and the subsequent call data packets received by the network server will be sent to the second media server, which processes the call data packets and generates call data packets.
[0099] The present application generates voice data packets by switching the media server, thereby eliminating the call abnormality caused by the abnormal algorithm of the first media server.
[0100] In some embodiments of the present application, a call processing device is provided for a terminal. Figure 3 FIG. 1 shows one of the structural block diagrams of a call processing device according to an embodiment of the present application. Figure 3 As shown, the call processing device 300 includes:
[0101] The first receiving module 302 is used to receive the voice data packet sent by the network server;
[0102] The first sending module 304 is used to send a first signaling to the network server when the voice data packet is abnormal, wherein the first signaling is used to enable the network server to switch at least one of the media server that generates the voice data packet and the domain that transmits the voice data packet.
[0103] In an embodiment of the present application, the terminal can be a calling terminal or a called terminal of an IMS call. The terminal conducting the IMS call collects the user's call voice through a microphone, and forms a call data packet to send to a network server. At the same time, it receives a voice data packet sent by the network server that includes the call voice of the other terminal of the call.
[0104] After receiving the voice data packet, the terminal parses the voice data packet and detects through the sound module whether there is any abnormality in the parsed call voice, such as silence, noise, etc. If there is silence, noise, etc., the voice data packet is judged to be abnormal. At this time, a first signaling is generated and sent to the network server. The first signaling is used to inform the network server that the voice data packet is abnormal. In some embodiments, the first signaling is a SIP signaling, wherein SIP is a Session Initiation Protocol (SIP) signaling.
[0105] After receiving the first signaling, the network server switches the method for generating voice data packets and / or the method for transmitting voice data packets, such as switching the media server for generating voice data packets, thereby generating voice data packets through the new media server, avoiding call abnormalities caused by abnormalities in the media server audio encryption / decryption algorithm, or switching the domain for voice data packet transmission, such as switching from the PS domain to the CS domain, avoiding call abnormalities caused by abnormalities in the specific domain network, thereby effectively reducing the occurrence of problems such as silent calls and improving call efficiency and call experience.
[0106] In some embodiments of the present application, the media server generating the voice data packet includes: generating the voice data packet through a first media server; or generating the voice data packet through a second media server.
[0107] In the embodiment of the present application, by switching the media server that generates the voice data packet, call anomalies caused by abnormal encryption / decryption algorithms of the media server can be effectively eliminated, thereby improving call efficiency.
[0108] In some embodiments of the present application, the domain for transmitting the voice data packet includes: transmitting the voice data packet through the PS domain; or transmitting the voice data packet through the CS domain.
[0109] In an embodiment of the present application, after receiving the first signaling of the terminal, the transmission mode of voice data packets and call data packets between the terminal and the network server can be switched from transmission through the PS domain to transmission through the CS domain, thereby eliminating call anomalies caused by specific network anomalies and improving call efficiency.
[0110] In some embodiments of the present application, the first receiving module is further used to receive a second signaling sent by the network server, wherein the second signaling includes at least one of a switched media server for generating a voice data packet and a switched domain for transmitting the voice data packet;
[0111] It is also used to receive voice data packets and send call data packets according to the transmission mode indicated by the second signaling when the second signaling includes a domain for transmitting voice data packets after switching, wherein the voice data packets are generated based on the call data packets.
[0112] In an embodiment of the present application, after the terminal sends a first signaling to the network server to inform the network server that the received voice data packet is abnormal, the network server performs a corresponding operation to switch the media server that processes the voice data packet, or to switch the transmission mode of the voice data packet. After performing the operation, the network server replies to the terminal with a second signaling, which is used to inform the terminal that the media server has been switched, or to inform the terminal that the transmission mode has been switched.
[0113] In some embodiments of the present application, a call processing device is provided for use in a network server. Figure 4 FIG. 2 shows a second structural block diagram of a call processing device according to an embodiment of the present application. Figure 4 As shown, the call processing device 400 includes:
[0114] The second receiving module 402 receives a call data packet sent by the terminal;
[0115] The second sending module 404 generates a corresponding voice data packet according to the call data packet and sends the voice data packet to the sending terminal;
[0116] The switching module 406 is configured to switch at least one of a media server for generating voice data packets and a domain for transmitting voice data packets when receiving the first signaling sent by the terminal.
[0117] In an embodiment of the present application, during a voice call at a terminal, the network server receives in real time a call data packet generated by the terminal based on the call voice collected by its own microphone, and processes the call data packet through the encryption / decryption algorithm of the media server to generate a corresponding voice data packet, which is then sent to the other terminal of the voice call.
[0118] During this process, if the network server receives the first signaling from the terminal, it means that the voice data packet received by the terminal is abnormal, resulting in silent call or call noise. At this time, the network server eliminates the cause of the abnormal voice data packet by switching the voice data packet generation method and / or switching the voice data packet transmission method.
[0119] Specifically, the network server parses and packages the call data packet through the media server to obtain the corresponding voice data packet. Different media servers may have different audio encryption / decryption algorithms. Therefore, if the algorithm of the media server currently responsible for processing the voice call of the terminal is abnormal, the voice data packet will be abnormal.
[0120] At this time, switching the media server to generate voice data packets can eliminate the situation where the call abnormality is caused by the abnormal algorithm of the first media server.
[0121] On this basis, voice calls are made through the PS domain by default. When the network environment on the PS domain is poor and packet loss occurs, the voice data packets received by the terminal will be abnormal. At this time, the transmission method of voice data packets and call data packets between the terminal and the network server is switched from transmission through the PS domain to transmission through the CS domain, thereby eliminating call anomalies caused by specific network anomalies and improving call efficiency.
[0122] In some embodiments of the present application, the second receiving module is further configured to receive a call data packet sent by the terminal through the PS domain:
[0123] The second sending module is further used to send a voice data packet to the terminal through the PS domain;
[0124] The second receiving module is further used to receive a call data packet sent by the terminal through the CS domain, and send a voice data packet to the terminal.
[0125] In the embodiment of the present application, the network server receives the call data packet sent by the terminal through the PS domain by default, and sends the voice data packet to the terminal through the PS domain. After receiving the first signaling, the transmission mode of the data packet transmitted between the terminal is switched, the call data packet sent by the terminal is received through the CS domain, and the voice data packet is sent to the terminal through the CS domain. By switching the transmission mode of sending and receiving data packets, call anomalies caused by specific network anomalies can be eliminated, and call efficiency can be improved.
[0126] In some embodiments of the present application, the second sending module is further used to send a first release instruction to the first network element corresponding to the PS domain, wherein the first release instruction is used to enable the first network element to release network resources;
[0127] The second receiving module is further used to receive first reply information sent by the first network element, wherein the first reply information corresponds to the first release instruction;
[0128] The second sending module is further used to send preset information to switch the sending mode of the call data packet of the terminal to sending through the CS domain when the first reply information is received.
[0129] In an embodiment of the present application, when the transmission path for sending and receiving data packets is switched from the PS domain to the CS domain, first, the network server sends a first release instruction to the relevant network element of the PS domain, that is, the first network element, informing the first network element that the current call service is to be switched to the CS domain, and at the same time, the relevant gateway of the PS domain releases network resources.
[0130] After the first network element related to the PS domain releases the network resources according to the first release instruction, the first reply information corresponding to the first release instruction is sent to the network server, notifying the retained server that the first network element has released the resources and the call service can be switched to the CS domain. At this time, the network server completes the switching of the call service from the PS domain to the CS domain by sending a preset server, and the subsequent call service will be executed through the CS domain, thereby eliminating call anomalies caused by PS domain network anomalies and packet loss, and improving call efficiency.
[0131] In some embodiments of the present application, the preset information includes a second signaling, and the second sending module is further used to send the second signaling to the terminal, wherein the second signaling is used to indicate a transmission mode of the voice data packet after switching.
[0132] In this technical solution, the preset information specifically includes a second signaling, which is used to instruct the terminal to switch the transmission path of the data packet, that is, to switch the domain for conducting call services. In some implementations, the second signaling is also used to notify the terminal of the switching of the media server.
[0133] After receiving the second signaling, the terminal switches its own way of sending and receiving data packets according to the second signaling, specifically switching from the PS domain to the CS domain, thereby eliminating call anomalies caused by PS domain network anomalies and packet loss and improving call efficiency.
[0134] In some embodiments of the present application, the preset information includes a CS call instruction, and the second sending module is also used to send a CS call instruction to the second network element corresponding to the CS domain, wherein the CS call instruction is used to enable the second network element to send a CS call signaling to the terminal, and the CS call signaling is used to switch the sending mode of the terminal's call data packet to sending through the CS domain.
[0135] In an embodiment of the present application, the preset information specifically includes a CS call instruction. After receiving the first reply information sent by the first network element related to the PS domain, the network server sends a CS call instruction to the second network element related to the CS domain to notify the second network element in the CS domain that the call service is about to be switched to the CS domain. After that, the second network element in the CS domain will forward the corresponding signaling to the terminals of both parties of the voice call service so that the terminals can switch to the CS domain to send and receive data packets.
[0136] After receiving the signaling, the terminal switches the transmission mode of sending and receiving data packets from the PS domain to the CS domain, thereby eliminating call anomalies caused by PS domain network anomalies and packet loss, and improving call efficiency.
[0137] In some embodiments of the present application, the second sending module is further used to: send the call data packet to the first media server and receive the voice data packet sent by the first media server; send the call data packet to the second media server and receive the voice data packet sent by the second media server.
[0138] In the embodiment of the present application, by switching the media server that generates the voice data packet, call anomalies caused by abnormal encryption / decryption algorithms of the media server can be effectively eliminated, thereby improving call efficiency.
[0139] In some embodiments of the present application, the second sending unit is further used to send a second release instruction to the first media server, wherein the second release instruction is used to enable the first media server to release network resources;
[0140] The second receiving unit is further used to receive second reply information sent by the first media server, wherein the second reply information corresponds to the second release instruction;
[0141] The second sending unit is further configured to send a third signaling to the second media server when receiving the second reply information, wherein the third signaling is used to enable the second media server to prepare to receive the call data packet;
[0142] The second receiving unit is further configured to receive third reply information sent by the second media server, wherein the third reply information corresponds to the third signaling;
[0143] The second sending unit is further configured to send a call data packet to the second media server upon receiving the third reply information.
[0144] In the embodiment of the present application, by switching the media server to generate voice data packets, the call abnormality caused by the abnormality of the algorithm of the first media server can be eliminated.
[0145] The call processing device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0146] The call processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0147] The call processing device provided in the embodiment of the present application can implement each process implemented in the above method embodiment, and will not be described again here to avoid repetition.
[0148] Optionally, the embodiment of the present application further provides a first electronic device 500, Figure 5 A structural block diagram of a first electronic device according to an embodiment of the present application is shown. Figure 5 As shown, it includes a processor 502, a memory 504, and a program or instruction stored in the memory 504 and executable on the processor 502. When the program or instruction is executed by the processor 502, each process of the call processing method for the terminal in the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0149] Optionally, the embodiment of the present application further provides a second electronic device 600, Figure 6 A structural block diagram of a second electronic device according to an embodiment of the present application is shown. Figure 6 As shown, it includes a processor 602, a memory 604, and a program or instruction stored in the memory 604 and executable on the processor 602. When the program or instruction is executed by the processor 602, each process of the call processing method for the server in the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0150] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0151] Figure 7 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0152] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
[0153] Those skilled in the art will appreciate that the electronic device 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0154] In some embodiments, the processor 710 is used to receive a voice data packet sent by a network server; in the event that the voice data packet is abnormal, a first signaling is sent to the network server, wherein the first signaling is used to enable the network server to switch to at least one of a media server that generates the voice data packet and a domain that transmits the voice data packet.
[0155] Optionally, the voice data packet is generated in a manner including: generating the voice data packet through a first media server; or generating the voice data packet through a second media server.
[0156] Optionally, the voice data packet transmission method includes: transmitting the voice data packet through a PS domain; or transmitting the voice data packet through a CS domain.
[0157] Optionally, the processor 710 is also used to receive a second signaling sent by a network server, wherein the second signaling includes at least one of a generation method and a transmission method of the switched voice data packet; when the second signaling includes a transmission method of the voice data packet, the voice data packet and the call data packet are sent according to the transmission method indicated by the second signaling, wherein the voice data packet is generated based on the call data packet.
[0158] In other embodiments, the processor 710 is used to receive a call data packet sent by a terminal; generate a corresponding voice data packet based on the call data packet, and send the voice data packet to the terminal; and switch at least one of the generation method and transmission method of the voice data packet when receiving a first signaling sent by the terminal.
[0159] Optionally, the processor 710 is further configured to receive a call data packet sent by the terminal via the PS domain; send a voice data packet to the terminal via the PS domain; receive a call data packet sent by the terminal via the CS domain, and send a voice data packet to the terminal.
[0160] Optionally, the processor 710 is also used to send a first release instruction to the first network element corresponding to the PS domain, wherein the first release instruction is used to enable the first network element to release network resources; receive a first reply message sent by the first network element, wherein the first reply message corresponds to the first release instruction; and when the first reply message is received, send preset information to switch the terminal's call data packet sending method to sending through the CS domain.
[0161] Optionally, the preset information includes a second signaling, and the processor 710 is further configured to send the second signaling to the terminal, wherein the second signaling is configured to indicate a media server for generating a voice data packet after switching and a domain for transmitting the voice data packet after switching.
[0162] Optionally, the preset information includes a CS call instruction, and the processor 710 is also used to send a CS call instruction to the second network element corresponding to the CS domain, wherein the CS call instruction is used to enable the second network element to send a CS call signaling to the terminal, and the CS call signaling is used to switch the terminal's call data packet sending method to sending through the CS domain.
[0163] Optionally, the processor 710 is further configured to send a call data packet to a first media server and receive a voice data packet sent by the first media server; send a call data packet to a second media server and receive a voice data packet sent by the second media server.
[0164] Optionally, the processor 710 is also used to send a second release instruction to the first media server, wherein the second release instruction is used to enable the first media server to release network resources; receive second reply information sent by the first media server, wherein the second reply information corresponds to the second release instruction; upon receiving the second reply information, send a third signaling to the second media server, wherein the third signaling is used to enable the second media server to prepare to receive a call data packet; receive a third reply information sent by the second media server, wherein the third reply information corresponds to the third signaling; upon receiving the third reply information, send a call data packet to the second media server.
[0165] It should be understood that in an embodiment of the present application, the input unit 704 may include a graphics processor (GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
[0166] The display unit 706 may include a display panel 7061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not repeated here. The memory 709 may be used to store software programs and various data, including but not limited to applications and operating systems. The processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 710.
[0167] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0168] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0169] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0170] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0171] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0172] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0173] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A call processing method, used in a terminal, characterized in that: The method comprises: Receiving a voice data packet sent by a network server, the terminal parses the voice data packet and detects whether the parsed call voice is abnormal through a sound module; In the case where the voice data packet is abnormal, sending a first signaling to the network server, wherein the first signaling is used to inform the network server that the voice data packet sent is abnormal, and to make the network server switch the media server that generates the voice data packet and the domain that transmits the voice data packet; A second signaling sent by the network server is received, where the second signaling is used to inform the terminal that the media server has been switched, or to inform the terminal that the transmission mode has been switched.
2. The call processing method according to claim 1, characterized in that: The media server generating the voice data packet comprises: Generate the voice data packet by a first media server; or The voice data packet is generated by a second media server.
3. The call processing method according to claim 1, characterized in that: The domain for transmitting the voice data packet includes: Transmit the voice data packet via the PS domain; or The voice data packet is transmitted through the CS domain.
4. The call processing method according to claim 1, characterized in that: After sending the first signaling to the network server, the method further includes: The second signaling includes at least one of a switched media server for generating the voice data packet and a switched domain for transmitting the voice data packet; In the case where the second signaling includes a domain for transmitting the voice data packet after switching, the voice data packet and the call data packet are transmitted according to the transmission mode indicated by the second signaling, wherein the voice data packet is generated according to the call data packet.
5. A call processing method, used in a network server, characterized in that: The method comprises: Receive call data packets sent by the terminal; Generate a corresponding voice data packet according to the call data packet, and send the voice data packet to the terminal; Upon receiving a first signaling sent by the terminal, switching a media server that generates the voice data packet and a domain that transmits the voice data packet, wherein the first signaling is used to inform the network server that the voice data packet sent is abnormal; The network server replies to the terminal with a second signaling, where the second signaling is used to inform the terminal that the media server has been switched, or to inform the terminal that the transmission mode has been switched.
6. The call processing method according to claim 5, characterized in that: The call data packet sent by the receiving terminal includes: Receiving the call data packet sent by the terminal through the PS domain: The sending the voice data packet to the terminal includes: Sending the voice data packet to the terminal via the PS domain; The switching generates at least one of a media server for generating the voice data packet and a domain for transmitting the voice data packet, comprising: The call data packet sent by the terminal is received through the CS domain, and the voice data packet is sent to the terminal.
7. The call processing method according to claim 6, characterized in that: The receiving the call data packet sent by the terminal through the CS domain, and sending the voice data packet to the terminal, comprises: Sending a first release instruction to a first network element corresponding to the PS domain, wherein the first release instruction is used to enable the first network element to release network resources; receiving first reply information sent by the first network element, wherein the first reply information corresponds to the first release instruction; When the first reply information is received, preset information is sent to switch the sending mode of the call data packet of the terminal to sending through the CS domain.
8. The call processing method according to claim 7, characterized in that: The preset information includes second signaling, and the sending of the preset information includes: The second signaling is sent to the terminal, wherein the second signaling is used to indicate a transmission mode of the voice data packet after switching.
9. The call processing method according to claim 7, characterized in that: The preset information includes a CS call instruction, and the sending of the preset information includes: The CS call instruction is sent to the second network element corresponding to the CS domain, wherein the CS call instruction is used to enable the second network element to send CS call signaling to the terminal, and the CS call signaling is used to switch the sending mode of the terminal's call data packet to sending through the CS domain.
10. The call processing method according to claim 5, characterized in that: The generating a corresponding voice data packet according to the call data packet comprises: Sending the call data packet to a first media server, and receiving the voice data packet sent by the first media server; The switching generates at least one of a media server for generating the voice data packet and a domain for transmitting the voice data packet, comprising: The call data packet is sent to a second media server, and the voice data packet sent by the second media server is received.
11. The call processing method according to claim 10, characterized in that: The sending the call data packet to the second media server includes: Sending a second release instruction to the first media server, wherein the second release instruction is used to enable the first media server to release network resources; receiving second reply information sent by the first media server, wherein the second reply information corresponds to the second release instruction; In case of receiving the second reply information, sending a third signaling to the second media server, wherein the third signaling is used to enable the second media server to prepare to receive the call data packet; receiving third reply information sent by the second media server, wherein the third reply information corresponds to the third signaling; When the third reply information is received, the call data packet is sent to the second media server.
12. A call processing device, used in a terminal, characterized in that: include: The first receiving module is used to receive the voice data packet sent by the network server, the terminal parses the voice data packet, and detects whether the parsed call voice is abnormal through the sound module; A first sending module, configured to send a first signaling to the network server when the voice data packet is abnormal, wherein the first signaling is used to inform the network server that the voice data packet sent is abnormal, and to enable the network server to switch the media server that generates the voice data packet and the domain that transmits the voice data packet; A second signaling sent by the network server is received, where the second signaling is used to inform the terminal that the media server has been switched, or to inform the terminal that the transmission mode has been switched.
13. A call processing device, used in a network server, characterized in that: include: A second receiving module receives a call data packet sent by the terminal; A second sending module generates a corresponding voice data packet according to the call data packet, and sends the voice data packet to the sending terminal; A switching module, configured to switch the media server generating the voice data packet and the domain transmitting the voice data packet upon receiving a first signaling sent by the terminal, wherein the first signaling is used to inform the network server that the voice data packet sent is abnormal; The network server replies to the terminal with a second signaling, where the second signaling is used to inform the terminal that the media server has been switched, or to inform the terminal that the transmission mode has been switched.
Citation Information
Patent Citations
Terminal handover method, network element, device and system in non-stable voice over ip (VoIP) calling
CN102474789A
Network service processing method and device
CN113271639A