Call service processing method, system, electronic device and storage medium
Patent Information
- Application Number
- CN202310365735.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2043-04-03
AI Technical Summary
[0003]本申请提供了一种呼叫业务的处理方法、系统、电子设备和存储介质,以解决现有技术中以固定的声码器、码率和发包间隔传输数据导致数据传输效果较差的问题
[0011] The method provided in this application embodiment allows a terminal to select corresponding call negotiation parameters based on its current network standard after obtaining a call service initiation instruction, initiating a call service to the server, and determining the network standard it currently uses. This enables the terminal to upload data corresponding to the call service to the server based on the selected call negotiation parameters. In other words, this application allows for the selection of different call negotiation parameters based on different network standards, ensuring data transmission from the terminal to the server, improving user experience, and solving the problem of poor data transmission quality caused by transmitting data with fixed vocoders, bitrates, and packet intervals in existing technologies.
Smart Images

Figure CN118827644B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a method, system, electronic device, and storage medium for processing call services. Background Technology
[0002] In current network communication systems, once a call is initiated using the PoC (push-to-talk over cellular) service, the call parameters, such as the vocoder used, voice bitrate, and network packet interval, can no longer be automatically adjusted according to network conditions. This leads to poor network scenarios, such as GPRS (General Packet Radio Services), EDGE (Enhanced Data Rate for GSM Evolution), HSPA (High-Speed Packet Access), or poor 4G networks. If a user initiates a call on these networks and uses a high-resolution vocoder, a high bitrate, or a packet format with short intervals, it will result in a very poor user experience. For example, if each call uses a fixed vocoder, bitrate, and packet interval, using a high vocoder, high bitrate, and low packet interval will result in a very poor user experience on GPRS, EDGE, HSPA, or poor 4G networks, with continuous packet loss, word loss, and voice stuttering. Summary of the Invention
[0003] This application provides a method, system, electronic device, and storage medium for processing call services to solve the problem of poor data transmission quality caused by transmitting data with a fixed vocoder, bit rate, and packet interval in the prior art.
[0004] In a first aspect, this application provides a method for processing call services, applied to a terminal, comprising: obtaining a call service initiation instruction and initiating a call service request to a server; triggering a current network standard query based on the call service initiation instruction, determining the current network standard and obtaining call negotiation parameters corresponding to the current network standard, wherein different network standards correspond to different call negotiation parameters; and, after receiving a call service request response sent by the server, uploading data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard.
[0005] Secondly, this application provides a call service processing system, including a terminal and a server; wherein, the terminal is configured to obtain a call service initiation instruction, initiate a call service to the server, and trigger a current network standard query based on the call service initiation instruction to determine the current network standard and obtain the call negotiation parameters corresponding to the current network standard, wherein different network standards correspond to different call negotiation parameters; the server is configured to send a call response to the terminal; the terminal is further configured to upload data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard.
[0006] Thirdly, an electronic device is provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0007] Memory, used to store computer programs;
[0008] When a processor executes a program stored in memory, it implements the steps of the method described in any embodiment of the first aspect.
[0009] Fourthly, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the method as described in any embodiment of the first aspect.
[0010] The technical solutions provided in this application have the following advantages compared with the prior art:
[0011] The method provided in this application embodiment allows a terminal to select corresponding call negotiation parameters based on its current network standard after obtaining a call service initiation instruction, initiating a call service to the server, and determining the network standard it currently uses. This enables the terminal to upload data corresponding to the call service to the server based on the selected call negotiation parameters. In other words, this application allows for the selection of different call negotiation parameters based on different network standards, ensuring data transmission from the terminal to the server, improving user experience, and solving the problem of poor data transmission quality caused by transmitting data with fixed vocoders, bitrates, and packet intervals in existing technologies. Attached Figure Description
[0012] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0013] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 One of the flowcharts illustrating a method for processing call services applied to the terminal side, provided in an embodiment of this application;
[0015] Figure 2 A second schematic flowchart illustrating a method for processing call services applied to the terminal side, provided in an embodiment of this application;
[0016] Figure 3 A flowchart illustrating a method for processing call services applied to the server side, provided in an embodiment of this application;
[0017] Figure 4 A flowchart illustrating a method for processing call services involving terminal-server interaction provided in an embodiment of this application;
[0018] Figure 5 A schematic diagram of the structure of a call service processing system provided in an embodiment of this application;
[0019] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0021] Figure 1 This application provides a flowchart illustrating a method for processing call services, which is applied to a terminal. Figure 1 As shown, the steps of this method include:
[0022] Step 101: Obtain a call service initiation instruction and send a call service request to the server;
[0023] Step 102: Trigger current network standard query according to the call service initiation instruction, determine the current network standard and obtain the call negotiation parameters corresponding to the current network standard, wherein different network standards correspond to different call negotiation parameters;
[0024] Step 103: After receiving the call service request response from the server, upload the current network standard data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard.
[0025] Through steps 101 to 103 in this embodiment, after obtaining a call service initiation instruction, initiating a call service to the server, and determining the network standard currently corresponding to the terminal, the terminal can select corresponding call negotiation parameters based on the current network standard. This allows it to upload data corresponding to the call service to the server based on the selected call negotiation parameters. In other words, this application allows for the selection of different call negotiation parameters based on different network standards, ensuring data transmission from the terminal to the server, improving user experience, and solving the problem of poor data transmission quality caused by transmitting data with fixed vocoders, bitrates, and packet intervals in the prior art.
[0026] In optional embodiments of this application, the method steps involved in step 102 above are as follows: Figure 2 As shown, it may further include: determining the call negotiation parameters corresponding to the current network standard based on a mapping table stored locally on the terminal, wherein the mapping table is used to represent the correspondence between different call negotiation parameters corresponding to different network standards; or, querying the server for the call negotiation parameters corresponding to the current network standard, wherein the negotiation parameters include: vocoder, vocoder bitrate and packet interval.
[0027] It should be noted that different network standards have different uplink bandwidths. For example, the maximum uplink bandwidth of GPRS is 42.8kbps, while that of 3G networks is 2Mbps. Therefore, by selecting the appropriate vocoder and its bitrate based on the call negotiation parameters corresponding to different network standards, and setting different packet intervals for different uplink bandwidths, it is possible to save on different IP headers, RTP (Real-time Transport Protocol) headers, etc.
[0028] In this embodiment of the application, the method of uploading data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard involved in step 102 above may further include:
[0029] Step 11: When the network standard is General Packet Radio Service (GPRS), determine the following call negotiation parameters corresponding to GPRS: the vocoder is determined to be Narrowband Vocoder (NVOC) or Advanced Multiband Excited Vocoder (AMBE), the code rate of NVOC is 2.4kbps or the code rate of AMBE is 3.6kbps, and the packet interval is set to 200ms.
[0030] Step 21: Upload the data corresponding to the call service to the server based on the call negotiation parameters corresponding to GPRS.
[0031] Therefore, in this embodiment, if the current network standard is GPRS, the corresponding vocoder can be selected as NVOC or AMBE, with a bitrate of 2.4kbps for VOC and 3.6kbps for AMBE, and a packet interval of 200ms. In other words, when the network bandwidth corresponding to the current network standard is low, the corresponding vocoder bitrate is set accordingly lower, and the packet interval is set relatively longer to ensure the accuracy of data transmission.
[0032] In this embodiment of the application, the method of uploading data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard involved in step 102 above may further include:
[0033] Step 21: When the network standard is Enhanced Data Rate GSM Evolution Technology EDGE, determine the following call negotiation parameters corresponding to EDGE: the vocoder is determined to be Narrowband Vocoder NVOC or Advanced Multiband Excited Vocoder AMBE, the code rate of NVOC is 2.4kbps or the code rate of AMBE is 3.6kbps, and the packet interval is set to 120ms.
[0034] Step 22: Upload the data corresponding to the call service to the server based on the call negotiation parameters corresponding to EDGE.
[0035] It should be noted that, comparatively, EDGE has a higher uplink network bandwidth than GPRS. However, since the difference is not significant, it is sufficient to ensure that the bit rate is consistent with GPRS. However, the packet transmission interval needs to be further reduced to fully utilize the uplink network bandwidth of EDGE.
[0036] In this embodiment of the application, the method of uploading data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard involved in step 102 above may further include:
[0037] Step 31: When the network standard is 3G, determine the following call negotiation parameters corresponding to 3G: the vocoder is determined to be either an Enhanced Voice Service (EVS) vocoder or an Adaptive Multi-Rate (AMR) vocoder, the bit rate of the EVS vocoder is 6.6kbps or the bit rate of the AMR vocoder is 5.9kbps, and the packet interval is set to 60ms.
[0038] Step 32: Upload the data corresponding to the call service to the server based on the call negotiation parameters corresponding to 3G.
[0039] It should be noted that the maximum uplink bandwidth of GPRS is 42.8kbps, while the uplink bandwidth of 3G network is 2Mbps. It can be seen that the uplink bandwidth of 3G network is much higher than that of EDGE and GPRS. Therefore, the bit rate of the vocoder is relatively higher than that of EDGE and GPRS, and the packet sending interval needs to be further reduced in order to make full use of the uplink bandwidth of 3G network.
[0040] In this embodiment of the application, the method of uploading data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard involved in step 102 above may further include:
[0041] Step 41: When the network standard is 4G, determine the following call negotiation parameters corresponding to 4G: the vocoder is determined to be either an Enhanced Voice Service (EVS) vocoder or an Adaptive Multi-Rate (AMR) vocoder, the bit rate of the EVS vocoder is 12.65kbps or the bit rate of the AMR vocoder is 24.2kbps, and the packet interval is set to 20ms.
[0042] Step 42: Upload the data corresponding to the call service to the server based on the call negotiation parameters corresponding to 4G.
[0043] It should be noted that, comparatively, the uplink bandwidth of 4G is much higher than that of 3G. Therefore, the bitrate of the vocoder needs to be higher than that of 3G, and the packet interval needs to be further reduced in order to make full use of the uplink bandwidth of the 4G network.
[0044] In this embodiment of the application, the method of uploading data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard involved in step 102 above may further include:
[0045] Step 51: When the network standard is 5G, determine the following call negotiation parameters corresponding to 5G: the vocoder is determined to be either an Enhanced Voice Service (EVS) vocoder or an Adaptive Multi-Rate (AMR) vocoder, the bit rate of the EVS vocoder is 23.85kbps or the bit rate of the AMR vocoder is 128kbps, and the packet interval is set to 20ms.
[0046] Step 52: Upload data corresponding to the call service to the server based on the call negotiation parameters corresponding to 5G.
[0047] It should be noted that, comparatively, the uplink bandwidth of 5G is much higher than that of 4G. Therefore, the bitrate of the vocoder needs to be higher than that of 4G, and the packet interval needs to be further reduced in order to make full use of the uplink bandwidth of the 5G network.
[0048] The above explanation describes the present application from the terminal side of the embodiments. The following explanation describes the present application from the server side. Figure 3 As shown, this application also provides a method for processing call services, which is applied to a server, and the steps of the method include:
[0049] Step 301: Receive a call service request initiated by the terminal;
[0050] Step 302: In response to the call service, send a call service request response to the terminal;
[0051] Step 303: The receiving terminal uploads data corresponding to the call service based on the call negotiation parameters corresponding to the current network standard. Different network standards correspond to different call negotiation parameters.
[0052] As can be seen, in this embodiment, the terminal can select corresponding call negotiation parameters according to different network standards. For example, when the current network standard is GPRS, the corresponding vocoder can be selected as NVOC or AMBE, with a vocoder bitrate of 2.4kbps for VOC or 3.6kbps for AMBE, and a packet interval of 200ms. When the network standard is 4G, the following call negotiation parameters corresponding to 4G are determined: the vocoder is determined to be either an Enhanced Voice Service (EVS) vocoder or an Adaptive Multi-Rate (AMR) vocoder, the EVS vocoder bitrate is 12.65kbps or the AMR vocoder bitrate is 24.2kbps, and the packet interval is set to 20ms to ensure that the data sent by the terminal can be accurately transmitted to the server.
[0053] The overall process of the embodiments of this application will be explained below with reference to Table 1, as follows: Figure 4 As shown, the overall process includes:
[0054] Step 401: The UE initiates a PoC call and simultaneously obtains the current network standard and uses an appropriate vocoder, fixed bit rate, and fixed packet interval according to the network standard.
[0055] Step 402: After receiving the call request, the server replies with a response result;
[0056] Step 403: The terminal starts uploading data, using the vocoder, bitrate, and packet interval corresponding to the current network standard's call settings for voice encoding.
[0057] It is evident that in a PoC call scenario, when a terminal initiates a call, it should automatically select the most suitable vocoder, bitrate, and packet interval parameters based on the network standard and carry them into the calling signaling. This will enable better voice transmission based on the network information at the time, ensuring that the uplink voice of the call can be transmitted normally to the server.
[0058]
[0059] Table 1
[0060] Based on the embodiments of the call service processing method in the above-described embodiments of this application, this application also provides a call service processing system, such as... Figure 5 As shown, the system includes a terminal and a server;
[0061] The terminal is used to obtain a call service initiation instruction, initiate a call service to the server, and trigger a current network standard query based on the call service initiation instruction to determine the current network standard and obtain the call negotiation parameters corresponding to the current network standard. Different network standards correspond to different call negotiation parameters.
[0062] The server is used to send call responses to the terminal;
[0063] The terminal is also used to upload data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard.
[0064] In specific examples, the methods for setting call negotiation parameters for different network standards include:
[0065] Method 1) When the network standard is General Packet Radio Service (GPRS), determine the following call negotiation parameters corresponding to GPRS: the vocoder is determined to be Narrowband Vocoder (NVOC) or Advanced Multiband Excited Vocoder (AMBE), the code rate of NVOC is 2.4kbps or the code rate of AMBE is 3.6kbps, and the packet interval is set to 200ms.
[0066] Method 2) When the network standard is Enhanced Data Rate GSM Evolution Technology EDGE, determine the following call negotiation parameters corresponding to EDGE: the vocoder is determined to be Narrowband Vocoder NVOC or Advanced Multiband Excited Vocoder AMBE, the code rate of NVOC is 2.4kbps or the code rate of AMBE is 3.6kbps, and the packet interval is set to 120ms.
[0067] Method 3) When the network standard is 3G, determine the following call negotiation parameters corresponding to 3G: the vocoder is determined to be either an Enhanced Voice Service (EVS) vocoder or an Adaptive Multi-Rate (AMR) vocoder, the bit rate of the EVS vocoder is 6.6kbps or the bit rate of the AMR vocoder is 5.9kbps, and the packet interval is set to 60ms.
[0068] Method 4) When the network standard is 4G, determine the following call negotiation parameters corresponding to 4G: the vocoder is determined to be either an Enhanced Voice Service (EVS) vocoder or an Adaptive Multi-Rate (AMR) vocoder, the bit rate of the EVS vocoder is 12.65kbps or the bit rate of the AMR vocoder is 24.2kbps, and the packet interval is set to 20ms.
[0069] Method 5) When the network standard is 5G, determine the following call negotiation parameters corresponding to 5G: the vocoder is determined to be either an Enhanced Voice Service (EVS) vocoder or an Adaptive Multi-Rate (AMR) vocoder, the bit rate of the EVS vocoder is 23.85kbps or the bit rate of the AMR vocoder is 128kbps, and the packet interval is set to 20ms.
[0070] As can be seen, in this application, after the terminal initiates a call service to the server and determines the network standard currently corresponding to the terminal, it can select the corresponding call negotiation parameters according to the current network standard. Therefore, it can upload data corresponding to the call service to the server based on the selected call negotiation parameters. In other words, in this application, different call negotiation parameters can be selected based on different network standards, thereby ensuring data transmission from the terminal to the server, improving the user experience, and solving the problem of poor data transmission quality caused by transmitting data with a fixed vocoder, bitrate, and packet interval in the prior art.
[0071] like Figure 6 As shown in the figure, this application provides an electronic device, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0072] Memory 113 is used to store computer programs;
[0073] In one embodiment of this application, when the processor 111 executes the program stored in the memory 113, it implements the call service processing method provided in any of the aforementioned method embodiments, and its function is similar.
[0074] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the call service processing method provided in any of the foregoing method embodiments.
[0075] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0076] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for processing call services, applied to a terminal, characterized in that, include: Obtain a call service initiation instruction and initiate the call service request to the server; The current network standard is queried based on the call service initiation instruction, the current network standard is determined and the call negotiation parameters corresponding to the current network standard are obtained, wherein different network standards correspond to different call negotiation parameters; After receiving the call service request response from the server, the system uploads data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard.
2. The method according to claim 1, characterized in that, The step of determining the current network standard and obtaining the call negotiation parameters corresponding to the current network standard includes: The call negotiation parameters corresponding to the current network standard are determined based on the mapping table stored locally on the terminal, wherein the mapping table is used to represent the correspondence between different call negotiation parameters corresponding to different network standards; or, Query the server for call negotiation parameters corresponding to the current network standard; The negotiation parameters include: vocoder, the bitrate of the vocoder, and the packet interval.
3. The method according to claim 2, characterized in that, The step of uploading data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard includes: When the network standard is General Packet Radio Service (GPRS), the following call negotiation parameters corresponding to GPRS are determined: the vocoder is determined to be Narrowband Vocoder (NVOC) or Advanced Multiband Excited Vocoder (AMBE), the code rate of NVOC is 2.4 kbps or the code rate of AMBE is 3.6 kbps, and the packet interval is set to 200 ms. Data corresponding to the call service is uploaded to the server based on the call negotiation parameters corresponding to the GPRS.
4. The method according to claim 2, characterized in that, The step of uploading data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard includes: When the network standard is Enhanced Data Rate GSM Evolution Technology EDGE, the following call negotiation parameters corresponding to EDGE are determined: the vocoder is determined to be Narrowband Vocoder NVOC or Advanced Multiband Excited Vocoder AMBE, the code rate of NVOC is 2.4kbps or the code rate of AMBE is 3.6kbps, and the packet interval is set to 120ms. Data corresponding to the call service is uploaded to the server based on the call negotiation parameters corresponding to the EDGE.
5. The method according to claim 2, characterized in that, The step of uploading data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard includes: When the network standard is 3G, the following call negotiation parameters corresponding to 3G are determined: the vocoder is determined to be either an Enhanced Voice Service (EVS) vocoder or an Adaptive Multi-Rate (AMR) vocoder, the bit rate of the EVS vocoder is 6.6 kbps or the bit rate of the AMR vocoder is 5.9 kbps, and the packet transmission interval is set to 60 ms. Data corresponding to the call service is uploaded to the server based on the call negotiation parameters corresponding to the 3G.
6. The method according to claim 2, characterized in that, The step of uploading data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard includes: When the network standard is 4G, the following call negotiation parameters corresponding to 4G are determined: the vocoder is determined to be either an Enhanced Voice Service (EVS) vocoder or an Adaptive Multi-Rate (AMR) vocoder, the bit rate of the EVS vocoder is 12.65kbps or the bit rate of the AMR vocoder is 24.2kbps, and the packet transmission interval is set to 20ms. Data corresponding to the call service is uploaded to the server based on the call negotiation parameters corresponding to the 4G.
7. The method according to claim 2, characterized in that, The step of uploading data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard includes: When the network standard is 5G, the following call negotiation parameters corresponding to 5G are determined: the vocoder is determined to be an Enhanced Voice Service (EVS) vocoder or an Adaptive Multi-Rate (AMR) vocoder, the bit rate of the EVS vocoder is 23.85kbps or the bit rate of the AMR vocoder is 128kbps, and the packet transmission interval is set to 20ms. Data corresponding to the call service is uploaded to the server based on the call negotiation parameters corresponding to the 5G.
8. A call service processing system, characterized in that, Includes terminals and servers; The terminal is used to obtain a call service initiation instruction, initiate a call service to the server, and trigger a current network type query according to the call service initiation instruction to determine the current network type and obtain the call negotiation parameters corresponding to the current network type, wherein different network types correspond to different call negotiation parameters; The server is used to send a call response to the terminal; The terminal is also used to upload data corresponding to the call service to the server based on the call negotiation parameters corresponding to the current network standard.
9. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the method described in any one of claims 1-7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Communication method, system and related device
CN115397009A
Code rate configuration method and device, and storage medium
CN115835311A