A call method, apparatus, electronic device, and storage medium
By merging the media stream information of the calling terminal through the communication network and the Internet via the intermediate number platform, the call quality problem of VoLTE audio and video calls in weak network environments is solved, and a more stable and clearer call experience is achieved.
Patent Information
- Application Number
- CN202411222404.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2044-09-02
AI Technical Summary
Traditional VoLTE audio and video calling technology suffers from poor call quality in weak network environments, often resulting in stuttering, silence, or interruptions. Furthermore, inconsistent RTCP support across terminals prevents effective improvement of the user experience.
The intermediate number platform receives requests from the calling terminal, sends call enhancement commands, merges media stream information sent by the calling terminal through the communication network and the Internet, performs deduplication and merging processing, and then sends it to the called terminal to improve call quality.
It effectively improves the quality of users' calls, especially in weak network environments, reducing stuttering and interruptions, and enhancing the stability and clarity of audio and video calls.
Smart Images

Figure CN119342162B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of communication, and particularly relates to a call method and device, electronic equipment and storage medium. BACKGROUND
[0002] The Volte audio / video call technology used in traditional audio / video call or inter-call has poor ability in weak network confrontation, and users are prone to audio / video lag, voicelessness or even call interruption in a weak network environment. In addition, the traditional Volte audio / video call technology generally relies on terminal control and media protocol control to solve the weak network problem. The terminal can start the RTCP message in the call signaling to feed back the current receiving and sending conditions, and the sending terminal can control the code rate and play, but it cannot effectively improve the call quality of users, and not all types of packages of the RTCP are supported by both terminals.
[0003] Therefore, a call method capable of effectively improving the call quality of users is needed. SUMMARY
[0004] The embodiments of the present application provide a call method, which can effectively improve the call quality of users.
[0005] In a first aspect, the embodiments of the present application provide a call method, which comprises the following steps: when a request of a calling terminal for enhancing a call is received, sending a call enhancement instruction to the calling terminal, the call enhancement instruction being used to instruct the calling terminal to enhance the call; receiving first media stream information and second media stream information sent by the calling terminal, the first media stream information being call media stream information sent by the calling terminal through a communication network, and the second media stream information being call media stream information sent by the calling terminal through the Internet; performing de-duplication and merging processing on the first media stream information and the second media stream information to determine third media stream information; and sending the third media stream information to a called terminal to perform the call.
[0006] In a second aspect, an embodiment of the present application provides a call device, which comprises: a first receiving module, configured to send a call enhancement instruction to a calling terminal when receiving a request of the calling terminal for requesting call enhancement, the call enhancement instruction being used to instruct the calling terminal to enhance the call; a second receiving module, configured to receive first media stream information and second media stream information sent by the calling terminal, the first media stream information being call media stream information sent by the calling terminal through a communication network, and the second media stream information being call media stream information sent by the calling terminal through the Internet; a first determining module, configured to perform de-duplication and merging processing on the first media stream information and the second media stream information, and determine third media stream information; and a first sending module, configured to send the third media stream information to a called terminal to perform the call.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction is executed by the processor to implement the steps of the method in the first aspect.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, which stores a program or instruction, and the program or instruction is executed by a processor to implement the steps of the method in the first aspect.
[0009] In a fifth aspect, an embodiment of the present application provides a computer program product, which is executed by a processor to implement the steps of the method in the first aspect.
[0010] In a sixth aspect, an embodiment of the present application provides a chip, which comprises a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or instruction to implement the method in the first aspect.
[0011] In the embodiment of the present application, when receiving a request of a calling terminal for requesting call enhancement, a call enhancement instruction is sent to the calling terminal, the call enhancement instruction is used to instruct the calling terminal to enhance the call; first media stream information and second media stream information sent by the calling terminal are received, the first media stream information is call media stream information sent by the calling terminal through a communication network, and the second media stream information is call media stream information sent by the calling terminal through the Internet; de-duplication and merging processing is performed on the first media stream information and the second media stream information, and third media stream information is determined; and the third media stream information is sent to a called terminal to perform the call, thereby effectively improving the call quality of a user. BRIEF DESCRIPTION OF DRAWINGS
[0012] Figure 1 is a flowchart of a call method provided by an embodiment of the present application;
[0013] Figure 2 is a schematic diagram of a call enhancement principle provided by an embodiment of the present application;
[0014] Figure 3 is a swim lane diagram of a call method provided by an embodiment of the present application;
[0015] Figure 4 is a schematic diagram of an interface display of a calling terminal asynchronous call mode provided by an embodiment of the present application;
[0016] Figure 5 is a swim lane diagram of a second call method provided by an embodiment of the present application;
[0017] Figure 6 is a schematic diagram of a structure of a call device provided by an embodiment of the present application;
[0018] Figure 7 is a schematic diagram of a structure of a call device provided by an embodiment of the present application; DETAILED DESCRIPTION
[0019] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of the present application.
[0020] The terms "first", "second", and the like 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 interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", and the like are generally of a kind and are not limited in number. For example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.
[0021] The call method provided by the embodiments of the present application will be described in detail below with reference to the drawings, specific embodiments and application scenarios.
[0022] Figure 1An embodiment of the present application provides a call method, which can be executed by an electronic device, the electronic device can include a server and / or a terminal device, wherein the terminal device can be, for example, a vehicle terminal or a mobile phone terminal, and the server can be, for example, an intermediate number service platform. In other words, the method can be executed by software or hardware installed in a call device, and the method includes the following steps:
[0023] Step 102: sending a call enhancement instruction to the calling terminal when receiving a request of the calling terminal for enhancing the call;
[0024] The call enhancement instruction is used to instruct the calling terminal to enhance the call.
[0025] When receiving a request of the calling terminal for enhancing the call, the intermediate number platform sends a call enhancement instruction to the calling terminal, and the call enhancement instruction is used to instruct the calling terminal to enhance the call. That is, the calling terminal sends a request for enhancing the call with the called terminal to the intermediate number platform, and the intermediate number platform sends a call enhancement instruction to the calling terminal according to the request sent by the calling terminal, and the call enhancement instruction can be used to instruct the calling terminal to enhance the call.
[0026] Specifically, the call enhancement instruction sent by the intermediate number platform to the calling terminal can instruct the calling terminal to enter a call enhancement mode, that is, instruct the calling terminal to send to-be-enhanced call information to the intermediate number platform, so that the intermediate number platform performs call enhancement processing based on the to-be-enhanced call information, and then the calling terminal and the called terminal can enhance the call.
[0027] Step 104: receiving first media stream information and second media stream information sent by the calling terminal;
[0028] The first media stream information is call media stream information sent by the calling terminal through a communication network, and the second media stream information is call media stream information sent by the calling terminal through the Internet.
[0029] After the intermediate number platform sends the call enhancement instruction to the calling terminal, the intermediate number platform receives to-be-enhanced call information sent by the calling terminal, that is, the first media stream information and the second media stream information, wherein the first media stream information is call media stream information sent by the calling terminal through a communication network, and the second media stream information is call media stream information sent by the calling terminal through the Internet. That is, after the intermediate number platform sends the call enhancement instruction to the calling terminal and makes the calling terminal enter the call enhancement mode, the calling terminal not only sends the call media stream information to the intermediate number platform through the communication network, but also sends the call media stream information to the intermediate number platform through the Internet.
[0030] Specifically, when the calling terminal sends the call media stream information to the intermediate number platform through the communication network, the calling terminal can start the call process through the native keyboard and send the first media stream information to the intermediate number platform through the native call function. When the calling terminal sends the call media stream information to the intermediate number platform through the Internet, the intermediate number APP (or other APPs integrated with the media stream information acquisition function) installed on the calling terminal can acquire the call media stream information of the user in the call and send the call media stream information to the intermediate number platform through the Internet.
[0031] More specifically, the call media stream information sent by the calling terminal through the communication network can be complete media stream information for a normal call, and the call media stream information sent through the Internet can be complete media stream information or partial media stream information. When the partial media stream information of the user in the call is acquired and sent to the intermediate number platform, the media stream information of the user in the call can be acquired and sent according to a preset proportion (such as 10%), and the intermediate number platform can determine the preset proportion and send it to the calling terminal.
[0032] Step 106: De-duplication and merging processing is performed on the first media stream information and the second media stream information to determine third media stream information.
[0033] After receiving the first media stream information and the second media stream information, the intermediate number platform performs de-duplication and merging processing on the first media stream information and the second media stream information, so as to determine the de-duplication and merging result as the third media stream information. Generally, when the calling terminal sends the call media stream information to the intermediate number platform through the communication network or the Internet, part of the call media stream information can be lost in the transmission process. Therefore, the intermediate number platform can de-duplicate and merge the call media stream information received through the communication network and the call media stream information received through the Internet, so as to obtain more complete user call media stream information.
[0034] Specifically, the first media stream information and the second media stream information received by the intermediate number platform are RTP data packet information. Therefore, the intermediate number platform can perform TS value sorting and de-duplication processing on the RTP data packets in the first media stream information and the RTP data packets in the second media stream information, to obtain the merged RTP data packets, i.e., the third media stream information.
[0035] Step 108: Send the third media stream information to the called terminal for call.
[0036] After determining the third media stream information, the intermediate number platform sends the third media stream information to the called terminal to complete the enhanced call between the calling terminal and the called terminal.
[0037] Figure 2 FIG. 1 is a schematic diagram of a call enhancement principle provided by an embodiment of the present application. In terms of communication network transmission, the calling terminal A sends first media stream information RTP1, RTP2, RTP5 and RTP10 to the core network through a call (communication network). Due to data loss in the data transmission process, the core network only transmits RTP1, RTP2 and RTP10 to the intermediate number platform. In terms of Internet transmission, the calling terminal A sends second media stream information RTP1 and RTP5 to the intermediate number platform through udp (i.e. the Internet). The intermediate number platform performs de-duplication and merging processing on the received first media stream information (i.e. RTP1, RTP2 and RTP10) and second media stream information (i.e. RTP1 and RTP5), obtains third media stream information (i.e. RTP1, RTP2, RTP5 and RTP10), and sends the obtained third media stream information to the called terminal B through the communication network.
[0038] The call method provided by the embodiment of the present application can effectively improve the call quality of the user by sending a call enhancement instruction to the calling terminal when receiving a request of the calling terminal for enhancing the call, the call enhancement instruction being used to instruct the calling terminal to enhance the call, receiving first media stream information and second media stream information sent by the calling terminal, the first media stream information being call media stream information sent by the calling terminal through a communication network, the second media stream information being call media stream information sent by the calling terminal through the Internet, performing de-duplication and merging processing on the first media stream information and the second media stream information to determine third media stream information, and sending the third media stream information to a called terminal to make a call.
[0039] In an implementation manner, the sending of the call enhancement instruction to the calling terminal when receiving a request of the calling terminal for enhancing the call (step 102) can be performed by steps A1-A2.
[0040] Step A1: receiving a call enhancement request sent by the calling terminal and generating an intermediate number based on the call enhancement request.
[0041] The call enhancement request is used for the calling terminal to request to enhance the call.
[0042] When the calling terminal requests to enhance the call, a call enhancement request can be sent to the calling terminal, so that the intermediate number platform generates an intermediate number and starts the call enhancement function of the calling terminal according to the intermediate number. After receiving the call enhancement request sent by the calling terminal, the intermediate number platform can generate an intermediate number based on the call enhancement request and implement the call enhancement function through the intermediate number.
[0043] Specifically, the call enhancement request sent by the user can be:
[0044] {
[0045] "caller":"86137xxxx0292", # caller number
[0046] "callee":"86184xxxx0920", # callee number
[0047] "method":"0000"
[0048] }
[0049] Step A2: sending the intermediate number to the calling terminal, so that the calling terminal sends a call request to the called terminal through the intermediate number and performs enhanced call.
[0050] The intermediate number platform sends the intermediate number to the calling terminal, and then the calling terminal sends a call request to the called terminal through the intermediate number and performs enhanced call. The intermediate number information sent by the intermediate number platform to the calling terminal can be:
[0051] {
[0052] "telX":"86170xxxx0662", # available intermediate number
[0053] "Code":"0000"
[0054] }
[0055] Specifically, after receiving the intermediate number, the calling terminal dials the intermediate number (i.e. 86170xxxx0662) to send the call media stream information to the intermediate number platform, and then the intermediate number platform performs call enhancement processing according to the received media stream information.
[0056] In an implementation manner, before the step of receiving the first media stream information and the second media stream information sent by the calling terminal (step 104), steps B1-B2 can also be performed:
[0057] Step B1: receiving call answering information sent by the called terminal;
[0058] The call answering information is information for answering the call generated by the called terminal after receiving the call request sent by the calling terminal.
[0059] The intermediate number platform receives the call receiving information sent by the called terminal, and the call receiving information is information for receiving the call generated by the called terminal after receiving the call request sent by the calling terminal. That is, the calling terminal sends the call request to the called terminal through the intermediate number platform, and the called terminal sends the call receiving information to the intermediate number platform after receiving the call.
[0060] Step B2: generating an information statistics instruction based on the call receiving information, and sending the information statistics instruction to the calling terminal;
[0061] The information statistics instruction is used to instruct the calling terminal to count the media stream information sent by the calling terminal.
[0062] After receiving the call receiving information sent by the called terminal, the intermediate number platform generates an information statistics instruction based on the call receiving information, and sends the information statistics instruction to the calling terminal. After receiving the information statistics instruction sent by the intermediate number platform, the calling terminal can not only determine that the called terminal has received the call request and has a call with the called terminal based on the information statistics instruction, but also can count the call media stream information sent to the called terminal.
[0063] Specifically, the statistical information determined by the calling terminal by counting the sent media stream information is RTCP information, and the information statistics instruction generated by the intermediate number platform can instruct the calling terminal to start the sender receiver report of the calling RTCP, the missing of the PLI key frame, the FIR retransmission function, and add the SDP description line as follows:
[0064] a=rtcp-fb:* nack # start nack
[0065] a= rtcp-fb:* ccm fir # start fir retransmission
[0066] a=rtcp-fb:* ccm tmmbr # start code rate dynamic control
[0067] That is, after the intermediate number platform sends the information statistics instruction to the calling terminal, the calling terminal can not only generate statistical information (i.e. RTCP information) when the called terminal supports RTCP and related capabilities, but also can generate statistical information (i.e. RTCP information) when the called terminal does not support RTCP and related capabilities.
[0068] In an implementation mode, after the de-merging processing of the first media stream information and the second media stream information is performed, and the third media stream information is determined (step 106), steps C1-C3 can be further performed:
[0069] Step C1: receiving the media stream statistics information sent by the calling terminal;
[0070] The media stream statistical information is used to represent information determined by the calling terminal in counting the media stream information sent by the calling terminal.
[0071] After determining the third media stream information, the intermediate number platform receives media stream statistical information sent by the calling terminal, wherein the media stream statistical information is used to represent information determined by the calling terminal in counting the media stream information sent by the calling terminal.
[0072] That is, after the calling terminal sends the first media stream information and the second media stream information to the intermediate number platform, the calling terminal also counts the first media stream information and / or the second media stream information sent by the calling terminal, and then determines media stream statistical information, and sends the determined media stream statistical information to the intermediate number platform, wherein the media stream statistical information can be information determined by the calling terminal in counting the first media stream information, can be information determined by the calling terminal in counting the second media stream information, or can be information determined by the calling terminal in counting the first media stream information and the second media stream information.
[0073] Step C2: determining a media stream information packet loss rate based on the media stream statistical information and the third media stream information.
[0074] The media stream information packet loss rate is used to represent a packet loss rate of the third media stream information.
[0075] After receiving the media stream statistical information sent by the calling terminal, the intermediate number platform determines a media stream information packet loss rate based on the media stream statistical information and the third media stream information, wherein the media stream information packet loss rate is used to represent a packet loss rate of the third media stream information.
[0076] Specifically, the media stream statistical information includes number information of the call media stream information sent by the calling terminal, such as the number of RTP data packets sent, and the intermediate number platform can determine number information of the call media stream information after enhancement, such as the number of RTP data packets after enhancement, based on the third media stream information, and then determine the packet loss rate of the third media stream information, wherein the third media stream information packet loss rate=(the number of RTP data packets sent-the number of RTP data packets after enhancement) / the number of RTP data packets sent.
[0077] Step C3: when the media stream information packet loss rate is less than a first preset threshold, sending the third media stream information to the called terminal.
[0078] After determining the media stream information packet loss rate, the intermediate number platform sends the third media stream information to the called terminal when the media stream information packet loss rate is less than a first preset threshold, wherein the first preset threshold is a threshold set in advance according to actual conditions.
[0079] Specifically, when the media stream information packet loss rate is less than the first preset threshold, it indicates that the enhanced call stream information can meet the normal communication of the user, and at this time the enhanced third media stream information can be sent to the called terminal.
[0080] In an implementation manner, after the first media stream information and the second media stream information are subjected to the de-coincidence merging processing and the third media stream information is determined (step 106), steps D1-D3 can be further performed:
[0081] Step D1: receiving the first statistical information and the second statistical information sent by the calling terminal;
[0082] The first statistical information is used to represent information determined by the calling terminal in the statistics of the first media stream information sent by the calling terminal, and the second statistical information is used to represent information determined by the calling terminal in the statistics of the second media stream information sent by the calling terminal.
[0083] After the third media stream information is determined, the intermediate number platform receives the first statistical information and the second statistical information sent by the calling terminal, wherein the first statistical information is information determined by the calling terminal in the statistics of the first media stream information, and the second statistical information is information determined by the calling terminal in the statistics of the second media stream information.
[0084] That is, after the calling terminal sends the first media stream information and the second media stream information to the intermediate number platform, the calling terminal will further perform statistics on the first media stream information and the second media stream information, thereby determining the first statistical information and the second statistical information respectively, and sending the first statistical information and the second statistical information to the intermediate number platform.
[0085] Specifically, when the calling terminal determines and sends the first statistical information, the calling terminal can acquire and send the first statistical information (i.e. RTCP packet) to the intermediate number platform according to the normal call process. When the calling terminal determines and sends the second statistical information, the calling terminal can perform statistics on the second media stream information sent by the calling terminal through the intermediate number APP of the calling terminal, construct and send the second statistical information (i.e. RTCP packet).
[0086] Step D2: determining statistical data based on the first statistical information and the second statistical information;
[0087] The statistical data includes one or more of a first packet loss rate, a second packet loss rate and a line delay, the first packet loss rate is used to represent the packet loss rate of the first media stream information, the second packet loss rate is used to represent the packet loss rate of the second media stream information, and the line delay is used to represent the difference between the time required for the first media stream information to arrive at the intermediate number platform and the time required for the second media stream information to arrive at the intermediate number platform.
[0088] That is, after obtaining the first statistical information and the second statistical information, the intermediate number platform can determine one or more of the first packet loss rate, the second packet loss rate and the line delay according to the first statistical information and the second statistical information.
[0089] Specifically, the intermediate number platform can determine the first packet loss rate and the time required for the first media stream information to arrive at the intermediate number platform according to the first statistical information, determine the second packet loss rate and the time required for the second media stream information to arrive at the intermediate number platform according to the second statistical information, and then determine the line delay according to the time required for the first media stream information to arrive at the intermediate number platform and the time required for the second media stream information to arrive at the intermediate number platform.
[0090] Step D3: when the statistical data meets the preset condition, sending the third media stream information to the called terminal.
[0091] The preset condition comprises one or more of the first packet loss rate being less than a third preset threshold, the second packet loss rate being less than a fourth preset threshold, and the line delay being less than a fifth preset threshold.
[0092] When the statistical data determined based on the first statistical information and the second statistical information meets the preset condition, the third media stream information is sent to the called terminal, wherein the preset condition is constituted based on one or more of the first packet loss rate, the second packet loss rate and the line delay. That is, the intermediate number platform can judge the data included in the statistical data, that is, when the statistical data is the line delay, the intermediate number platform can send the third media stream information to the called terminal when the line delay is less than the fifth preset threshold, and when the statistical data is the first packet loss rate and the second packet loss rate, the intermediate number platform can send the third media stream information to the called terminal when the first packet loss rate is less than the third preset threshold and the second packet loss rate is less than the fourth preset threshold.
[0093] In an implementation manner, after the receiving (step C1) of the media stream statistical information sent by the calling terminal, steps E1-E3 can also be performed:
[0094] Step E1: determining a calling call level based on the media stream statistical information.
[0095] The calling call level is used to represent the call quality level of the calling terminal.
[0096] After receiving the media stream statistical information sent by the calling terminal, the intermediate number platform determines a calling call level based on the media stream statistical information, wherein the calling call level is used to represent the call quality level of the calling terminal. That is, the intermediate number platform can determine the quality level of the call made by the calling terminal according to the media stream statistical information of the calling terminal.
[0097] Specifically, when the intermediate number platform determines the call quality level of the calling terminal according to the media stream statistical information, the intermediate number platform can directly determine the current call quality of the calling terminal according to the information included in the media stream statistical information, and then determine the current call quality as the calling call level. In addition, the intermediate number platform can also determine the historical call quality level of the calling terminal according to the media stream information, and then determine the historical call quality level as the calling call level.
[0098] Step E2: determining a first acquisition ratio based on the calling call level, and then determining a first acquisition instruction according to the first acquisition ratio;
[0099] The first acquisition instruction is used to instruct the calling terminal to acquire the call media stream information based on the first acquisition ratio.
[0100] After determining the calling call level, the intermediate number platform determines a first acquisition ratio based on the calling call level, and then determines a first acquisition instruction according to the first acquisition ratio. The first acquisition instruction is used to instruct the calling terminal to acquire the call media stream information based on the first acquisition ratio.
[0101] Specifically, when the intermediate number platform determines the first acquisition ratio based on the calling terminal level, the first acquisition ratio can be set to be negatively correlated with the calling call level, that is, the higher the calling call level quality is, the lower the first acquisition ratio is.
[0102] Step E3: sending the first acquisition instruction to the calling terminal, so that the calling terminal sends the call media stream information acquired based on the first acquisition ratio to the intermediate number platform through the Internet.
[0103] After determining the first acquisition instruction, the intermediate number platform sends the first acquisition instruction to the calling terminal, so that the calling terminal acquires the call media stream information according to the first acquisition ratio, and sends the call media stream information acquired according to the first acquisition ratio to the intermediate number platform through the Internet.
[0104] That is, when the calling terminal acquires the call media stream information sent to the intermediate number platform through the Internet, that is, the second media stream information, the calling terminal can acquire the call media stream information according to a preset first acquisition ratio. The first acquisition ratio is determined by the calling terminal according to the first acquisition instruction sent by the intermediate number platform, and the first acquisition instruction is used to instruct the calling terminal to acquire the call media stream information according to the first acquisition ratio, and send the acquired call media stream information (i.e. the second media stream information) to the intermediate number platform.
[0105] In one implementation, the calling call level is determined based on the media stream statistical information (step E1), which can perform steps F1-F3:
[0106] Step F1: determining first base station information based on the media stream statistical information;
[0107] The first base station information is base station information of a first base station connected by the calling terminal during a call.
[0108] The intermediate number platform determines first base station information based on the obtained media stream statistical information. The first base station information is base station information of a first base station connected by the calling terminal during a call. That is, the intermediate number platform determines the base station information of the first base station used by the calling terminal during a call included in the media stream statistical information, wherein the base station information of the first base station includes ID information of the first base station. Specifically, the media stream statistical information sent by the calling terminal includes PANI information, and the intermediate number platform can determine the ID information of the base station connected by the calling terminal based on the PANI information.
[0109] Step F2: determining historical terminal call information based on the first base station information;
[0110] The historical terminal call information includes historical normal call information and historical abnormal call information of the first base station.
[0111] After determining the first base station information, the intermediate number platform determines historical terminal call information based on the first base station information. The historical terminal call information includes historical normal call information and historical abnormal call information of the first base station. That is, the intermediate number platform determines the historical normal call information and the historical abnormal call information in historical calls through the first base station based on the ID information of the first base station.
[0112] Specifically, when determining the historical terminal call information based on the first base station information, the historical normal call information and the historical abnormal call information of all terminals calling through the first base station can be determined based on the first base station information, and the historical normal call information and the historical abnormal call information of the calling terminal calling through the first base station can also be determined. For example, based on the ID information of the first base station and the user mobile phone number of the calling terminal, the call volume S1 and the number of abnormal call signals S2 of the historical call data of the user calling through the first base station are queried.
[0113] Step F3: determining an abnormal call proportion based on the historical normal call information and the historical abnormal call information, and further determining the calling level of the calling terminal based on the abnormal call proportion.
[0114] After determining the historical terminal call information (i.e., the historical normal call information and the historical abnormal call information), the intermediate number platform determines an abnormal call proportion based on the historical normal call information and the historical abnormal call information, i.e., the abnormal call proportion = the number of historical abnormal calls / (the number of historical normal calls + the number of historical abnormal calls). After determining the abnormal call proportion, the intermediate number platform determines the calling call level based on the abnormal call proportion, e.g., the higher the abnormal call proportion is, the lower the calling call level is.
[0115] Specifically, the intermediate number platform can multiply the determined abnormal call proportion K by a proportion coefficient to determine a growth step P, where the proportion coefficient is a pre-set value, and the growth step is used to represent the growth speed of the first preset proportion, and the first preset proportion is the proportion of the calling terminal obtaining the call media stream information.
[0116] Figure 3 is a swim lane diagram of a second call method provided by an embodiment of the present specification, as shown in Figure 3 the swim lane diagram includes:
[0117] Step 3.1: The calling terminal sends a call enhancement request to the intermediate number platform.
[0118] The call enhancement request is used for the calling terminal to request to enhance the call.
[0119] Step 3.2: The intermediate number platform generates an intermediate number based on the received call enhancement request.
[0120] Step 3.3: The intermediate number platform sends the intermediate number to the calling terminal.
[0121] Step 3.4: The calling terminal sends a first call request to the intermediate number platform based on the intermediate number.
[0122] The first call request is used to request the intermediate number platform to send a second call request to the called terminal based on the intermediate number, and the second call request is used to request the called terminal to call the intermediate number.
[0123] Step 3.5: The intermediate number platform sends the second call request to the called terminal.
[0124] Step 3.6: The called terminal sends call answering information to the intermediate number platform.
[0125] The call answering information is information generated for the called terminal to answer the call.
[0126] Step 3.7: The intermediate number platform generates an information statistics instruction based on the call answering information.
[0127] The information statistics instruction is used to instruct the calling terminal to count the media stream information sent by the calling terminal.
[0128] Step 3.8: The intermediate number platform sends the information statistics instruction to the calling terminal.
[0129] Step 3.9: After receiving the information statistics instruction, the calling terminal sends the first media stream information, the second media stream information and the media stream statistics information to the intermediate number platform.
[0130] The first media stream information is the call media stream information sent by the calling terminal through the communication network, the second media stream information is the call media stream information sent by the calling terminal through the Internet, and the media stream statistics information is used to represent the information determined by counting the media stream information sent by the calling terminal.
[0131] Step 3.10: The intermediate number platform receives the first media stream information and the second media stream information, and performs de-duplication and merging processing on the first media stream information and the second media stream information to determine the third media stream information.
[0132] Step 3.11: The intermediate number platform receives the media stream statistics information, and determines the media stream information packet loss rate based on the media stream statistics information and the third media stream information.
[0133] Step 3.12: When the media stream information packet loss rate is less than a first preset threshold, the third media stream information is sent to the called terminal for call.
[0134] Step 3.13: The intermediate number platform determines the first base station information based on the media stream statistics information.
[0135] The first base station information is the base station information of the first base station connected by the calling terminal during the call.
[0136] Step 3.14: The intermediate number platform determines the historical terminal call information based on the first base station information.
[0137] The historical terminal call information includes historical normal call information and historical abnormal call information of the first base station.
[0138] Step 3.15: The intermediate number platform determines the abnormal call proportion based on the historical abnormal call information included in the historical terminal call information and the historical abnormal call information, and further determines the calling call level according to the abnormal call proportion.
[0139] The calling call level is used to represent the call quality level of the calling terminal.
[0140] Step 3.16: The intermediate number platform determines a first acquisition ratio based on the calling call level, and then determines a first acquisition instruction according to the first acquisition ratio;
[0141] The first acquisition instruction is used to instruct the calling terminal to acquire the call media stream information based on the first acquisition ratio.
[0142] Step 3.17: The intermediate number platform sends the first acquisition instruction to the calling terminal.
[0143] Step 3.18: The calling terminal acquires the call media stream information based on the first acquisition ratio included in the first acquisition instruction, and sends the acquired call media stream information to the intermediate number platform through the Internet.
[0144] In the embodiment of the description, by determining the calling call level according to the media stream information packet loss rate, and determining the first acquisition instruction according to the calling call level, and then making the calling terminal acquire the media stream information sent through the Internet according to the first acquisition ratio included in the first acquisition instruction, the ability of signal enhancement for the calling terminal can be flexibly controlled according to the current call level of the calling terminal.
[0145] In an implementation manner, after the media stream information packet loss rate is determined based on the media stream statistical information and the third media stream information (step C2), steps G1-G2 can also be performed:
[0146] Step G1: When the media stream information packet loss rate is less than a second preset threshold, the first media stream information is sent to the called terminal for call.
[0147] The second preset threshold is less than the first preset threshold.
[0148] After the media stream information packet loss rate is determined based on the media stream statistical information and the third media stream information, the intermediate number platform can also send the first media stream information to the called terminal for call when the media stream information packet loss rate is less than a second preset threshold, wherein the second preset threshold is less than the first preset threshold.
[0149] That is, when the media stream information packet loss rate is less than the second preset threshold, it can be determined that the current communication network call signal of the calling terminal is good, and therefore the current call of the calling terminal can not be enhanced, so that the call media stream information sent by the calling terminal through the communication network is directly sent to the called terminal.
[0150] Step G2: When the media stream information packet loss rate is greater than the first preset threshold, the second media stream information is sent to the called terminal for call.
[0151] After determining the media stream information packet loss rate based on the media stream statistics information and the third media stream information, the intermediate number platform can further send the third media stream information to the called terminal for communication when the media stream information packet loss rate is greater than the first preset threshold. That is, when the media stream information packet loss rate is greater than the first preset threshold, it can be determined that the communication network communication signal of the current calling terminal is poor, and therefore the received communication media stream information sent by the calling terminal through the Internet can be directly sent to the called terminal.
[0152] Specifically, after determining the media stream information packet loss rate, the intermediate number platform judges the size relationship between the media stream information packet loss rate and the first preset threshold and the second preset threshold, and then sends the first media stream information to the called terminal when the media stream information packet loss rate is less than the second preset threshold, sends the third media stream information to the called terminal when the media stream information packet loss rate is greater than the second preset threshold but less than the first preset threshold, and sends the second media stream information to the called terminal when the media stream information packet loss rate is greater than the first preset threshold.
[0153] In an implementation manner, after determining the media stream information packet loss rate based on the media stream statistics information and the third media stream information (step C2), steps H1-H4 can be further performed:
[0154] Step H1: sending a calling asynchronous communication prompt to the calling terminal when the media stream information packet loss rate is greater than the first preset threshold.
[0155] The calling asynchronous communication prompt is used to remind the calling terminal to perform asynchronous communication.
[0156] After determining the media stream information packet loss rate, the intermediate number platform can further send a calling asynchronous communication prompt to the calling terminal when the media stream information packet loss rate is greater than the first preset threshold, wherein the calling asynchronous communication prompt is used to remind the calling terminal to perform asynchronous communication. That is, when the media stream information packet loss rate is greater than the first preset threshold, it can be determined that the communication signal of the calling terminal is poor, and therefore an asynchronous communication prompt is sent to the calling terminal, prompting the calling terminal to perform asynchronous communication mode.
[0157] After the calling terminal enters the asynchronous communication mode, the calling terminal can first save the user's communication media stream information locally, and then send the complete communication media stream information to the intermediate number platform through the Internet after the user determines that the communication media stream information input is complete.
[0158] Specifically, after the calling terminal enters the asynchronous call mode, the intermediate number platform can also send a prompt information to the called terminal, which is used to prompt the calling terminal entering the asynchronous call mode, such as the intermediate number platform negotiating with the called terminal to become a video call and playing the current calling state text display information, which can be "the opposite party has entered the quasi-real-time call mode, the opposite party is inputting, please wait" and the like.
[0159] Step H2: receiving the first call information sent by the calling terminal;
[0160] The first call information is the complete call information sent by the calling terminal.
[0161] After sending the asynchronous call prompt, the intermediate number platform receives the first call information sent by the calling terminal, wherein the first call information is the complete call information sent by the calling terminal. That is, after receiving the calling asynchronous call prompt, the calling terminal packs the user inputted call content to be sent into a file format, and sends the packed file to the intermediate number platform through the Internet.
[0162] Specifically, the calling terminal can generate text, voice and video messages through the APP, such as recording video information by clicking the video recording button in the APP, capturing inputted voice information through the APP, and saving the voice information and video information into a file, i.e. the first call information. After generating the first call information, the calling terminal can send the text, voice and video information to the intermediate number platform through the Http protocol, and the intermediate number platform can cache the current message completely and determine the first call information.
[0163] Step H3: converting the first call information into media stream information to obtain fourth media stream information;
[0164] After receiving the first call information, the intermediate number platform converts the first call information into media stream information to obtain the fourth media stream information. That is, the calling terminal converts the whole call media stream information to be sent to the called terminal into the first call information, and sends the first call information to the intermediate number platform through the Internet. The intermediate number platform receives the first call information and converts the first call information into complete call media stream information, i.e. the fourth media stream information.
[0165] Step H4: sending the fourth media stream information to the called terminal for call.
[0166] After determining the fourth media stream information, the intermediate number platform sends the fourth media stream information to the called terminal, thereby completing the call between the calling terminal and the called terminal.
[0167] Figure 4Fig. 1 is a schematic diagram of an interface display of a calling terminal in an asynchronous communication mode according to an embodiment of the present disclosure. Figure 4 As shown in Fig. 1, after the calling terminal receives the asynchronous communication prompt from the intermediate number platform, the intermediate number platform can negotiate with the calling terminal, send a Bye request, close the communication network telephone connection of the calling terminal, and trigger the calling terminal APP to pop up a chat dialogue box, i.e., the interface of the calling terminal in the asynchronous communication mode. The user can send a text message to the called terminal through a first button in the chat dialogue box, send a voice message to the called terminal through a second button, and send a video message to the called terminal through a third button.
[0168] In an implementation manner, after the determination of the packet loss rate of the media stream information based on the media stream statistical information and the third media stream information (step C2), steps I1-I4 can be further performed.
[0169] Step I1: sending a called asynchronous communication prompt to the called terminal when the packet loss rate of the media stream information is greater than the first preset threshold.
[0170] The called asynchronous communication prompt is used to remind the called terminal to perform asynchronous communication.
[0171] After the determination of the packet loss rate of the media stream information, the intermediate number platform can further send a called asynchronous communication prompt to the called terminal when the packet loss rate of the media stream information is greater than the first preset threshold, where the called asynchronous communication prompt is used to remind the called terminal to perform asynchronous communication. That is, when the packet loss rate of the media stream information is greater than the first preset threshold, it can be determined that the current communication network signal of the calling terminal is poor, and at this time, the media stream information to be sent by the calling terminal can be sent in whole, and therefore the called terminal needs to be reminded to enter the asynchronous communication mode, and the called terminal is prompted to wait for the media stream information sent by the intermediate number platform or reminded to send the communication media stream information to the calling terminal in the asynchronous communication mode.
[0172] Step I2: receiving fifth media stream information sent by the called terminal.
[0173] The fifth media stream information is the media stream information sent by the called terminal.
[0174] After the called terminal is reminded to enter the asynchronous communication mode, the intermediate number platform receives the media stream information sent by the called terminal, i.e., the fifth media stream information.
[0175] Specifically, after entering the asynchronous call mode, the called terminal can prompt the intermediate number platform to start and end the recording of the media stream information by inputting a first preset character and a second preset character in the call keyboard, respectively. The first preset character and the second preset character can be the same or different. For example, the called user starts the reply by inputting "#*" in the call keyboard, and the intermediate number platform synchronously records the RTP data packet in the background. After the called user finishes the reply, the called user inputs "#*".
[0176] Step I3: performing format conversion on the fifth media stream information to obtain second call information;
[0177] The second call information is complete call information sent by the called terminal.
[0178] After obtaining the fifth media stream information, the intermediate number platform performs format conversion on the fifth media stream information to obtain second call information. That is, the intermediate number platform packs the obtained fifth media stream information into a complete file, i.e., the second call information. For example, the intermediate number platform can convert the recorded RTP data packet into an mp4 file after ending the recording.
[0179] Step I4: sending the second call information to the calling terminal to perform the call.
[0180] After determining the second call information, the intermediate number platform sends the second call information to the calling terminal to perform the call between the called terminal and the calling terminal. For example, the intermediate number platform sends the converted mp4 file to the calling terminal.
[0181] Figure 5 is a swim lane diagram of a third call method provided by an embodiment of the present specification, as shown in the swim lane diagram includes: Figure 5
[0182] Step 5.1: the calling terminal sends a call enhancement request to the intermediate number platform;
[0183] The call enhancement request is used to request the intermediate number platform to perform call enhancement on the calling terminal.
[0184] Step 5.2: the intermediate number platform sends a call enhancement instruction to the calling terminal;
[0185] The call enhancement instruction is used to instruct the calling terminal to perform enhanced call.
[0186] Step 5.3: the calling terminal sends first media stream information, second media stream information, and media stream statistical information to the intermediate number platform;
[0187] The first media stream information is the call media stream information sent by the calling terminal through a communication network, the second media stream information is the call media stream information sent by the calling terminal through the Internet, and the media stream statistical information is information determined by the calling terminal in the statistical process of the media stream information sent by the calling terminal.
[0188] Step 5.4: The intermediate number platform performs de-merging and merging processing on the first media stream information and the second media stream information, and determines third media stream information.
[0189] Step 5.5: The intermediate number platform determines a media stream information packet loss rate based on the media stream statistical information and the third media stream statistical information.
[0190] The media stream information packet loss rate is used to represent the packet loss rate of the third media stream information.
[0191] Step 5.6: When the media stream information packet loss rate is greater than the first preset threshold, the intermediate number platform sends a calling asynchronous call prompt to the calling terminal.
[0192] The calling asynchronous call prompt is used to remind the calling terminal to make an asynchronous call.
[0193] Step 5.7: When the media stream information packet loss rate is greater than the first preset threshold, the intermediate number platform sends a called asynchronous call prompt to the called terminal.
[0194] The called asynchronous call prompt is used to remind the called terminal to make an asynchronous call.
[0195] Step 5.8: The calling terminal generates first call information based on the call media stream information, and sends the first call information to the intermediate number platform.
[0196] The first call information is complete call information sent by the calling terminal.
[0197] Step 5.9: The intermediate number platform performs media stream information conversion based on the first call information to obtain fourth media stream information.
[0198] Step 5.10: The intermediate number platform sends the fourth media stream information to the called terminal.
[0199] Step 5.11: The called terminal sends fifth media stream information to the intermediate number platform.
[0200] The fifth media stream information is the media stream information sent by the called terminal.
[0201] Step 5.12: The intermediate number platform performs format conversion based on the fifth media stream information to obtain second call information.
[0202] The second call information is complete call information sent by the called terminal.
[0203] Step 5.13: The intermediate number platform sends the second call information to the calling terminal.
[0204] In the embodiment of the description, by converting the received first call information into fourth media stream information and sending the fourth media stream information to the called terminal, and converting the received fifth media stream information into second call information and sending the second call information to the calling terminal when the communication network signal of the calling terminal is poor, i.e., the media stream information packet loss rate is greater than the first preset threshold, the normal call between the calling terminal and the called terminal can be ensured when the communication network signal of the calling terminal is poor.
[0205] It should be noted that the calling method provided in the embodiment of the application can be executed by a calling device or a control module in the calling device for executing the calling method. In the embodiment of the application, the calling device executes the calling method as an example to illustrate the calling device provided in the embodiment of the application.
[0206] Figure 6 is a structural schematic diagram of the calling device according to the embodiment of the application. As shown in Figure 6 The calling device includes a first receiving module 602, a second receiving module 604, a first determining module 606, and a first sending module 608.
[0207] The first receiving module 602 is configured to send a call enhancement instruction to the calling terminal when receiving a request of the calling terminal for requesting to enhance the call, the call enhancement instruction being used to instruct the calling terminal to enhance the call.
[0208] The second receiving module 604 is configured to receive first media stream information and second media stream information sent by the calling terminal, the first media stream information being call media stream information sent by the calling terminal through a communication network, and the second media stream information being call media stream information sent by the calling terminal through the Internet.
[0209] The first determining module 606 is configured to perform de-duplication and merging processing on the first media stream information and the second media stream information, and determine third media stream information.
[0210] The first sending module 608 is configured to send the third media stream information to the called terminal for the call.
[0211] The call device in the embodiments of the present application can be a device, or a component, an integrated circuit, or a chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and 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., and the embodiments of the present application are not limited in this regard.
[0212] The call device in the embodiments of the present application can be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, and the embodiments of the present application are not limited in this regard.
[0213] The call device provided in the embodiments of the present application can implement the method Figures 1 to 5 The processes implemented in the method embodiments are not repeated here to avoid repetition.
[0214] Based on the same technical concept, the embodiments of the present application further provide an electronic device for executing the call method described above, Figure 7 A structural schematic diagram of an electronic device for implementing the embodiments of the present application. The electronic device can have great differences due to different configurations or performances, and can include a processor 702, a communications interface 704, a memory 706, and a communications bus 708, wherein the processor 702, the communications interface 704, and the memory 706 complete mutual communication through the communications bus 708. The processor 702 can invoke a computer program stored on the memory 706 and executable on the processor 702 to perform the following steps:
[0215] When receiving a request of a calling terminal for enhancing a call, a call enhancement instruction is sent to the calling terminal, and the call enhancement instruction is used to instruct the calling terminal to enhance the call;
[0216] receive first media stream information and second media stream information sent by the calling terminal, the first media stream information being call media stream information sent by the calling terminal through a communication network, and the second media stream information being call media stream information sent by the calling terminal through the Internet;
[0217] perform de-duplication and merging processing on the first media stream information and the second media stream information to determine third media stream information;
[0218] send the third media stream information to the called terminal for a call.
[0219] In an implementation manner, when receiving a request of the calling terminal for call enhancement, the method further includes:
[0220] receive a call enhancement request sent by the calling terminal, and generate an intermediate number based on the call enhancement request, the call enhancement request being used for the calling terminal to request call enhancement;
[0221] send the intermediate number to the calling terminal, so that the calling terminal sends a call request to the called terminal through the intermediate number and performs an enhanced call.
[0222] In an implementation manner, before the receiving of the first media stream information and the second media stream information sent by the calling terminal, the method further includes:
[0223] receive call answering information sent by the called terminal, the call answering information being information for answering a call generated by the called terminal after receiving a call request sent by the calling terminal;
[0224] generate an information statistics instruction based on the call answering information, and send the information statistics instruction to the calling terminal, the information statistics instruction being used for instructing the calling terminal to perform statistics on media stream information sent by the calling terminal.
[0225] In an implementation manner, after the de-duplication and merging processing on the first media stream information and the second media stream information to determine the third media stream information, the method further includes:
[0226] receive media stream statistics information sent by the calling terminal, the media stream statistics information being used for representing information determined by the calling terminal through statistics on media stream information sent by the calling terminal;
[0227] determine a media stream information packet loss rate based on the media stream statistics information and the third media stream information, the media stream information packet loss rate being used for representing a packet loss rate of the third media stream information;
[0228] When the media stream information packet loss rate is less than a first preset threshold, the third media stream information is sent to the called terminal.
[0229] In an implementation manner, after the first media stream information and the second media stream information are processed by the de-duplication and merging, and the third media stream information is determined, the method further includes:
[0230] The first statistical information and the second statistical information sent by the calling terminal are received, the first statistical information is used to represent information determined by the calling terminal in statistics of the first media stream information sent by the calling terminal, and the second statistical information is used to represent information determined by the calling terminal in statistics of the second media stream information sent by the calling terminal;
[0231] The statistical data is determined based on the first statistical information and the second statistical information, the statistical data includes one or more of a first packet loss rate, a second packet loss rate and a line delay, the first packet loss rate is used to represent the packet loss rate of the first media stream information, the second packet loss rate is used to represent the packet loss rate of the second media stream information, and the line delay is used to represent the difference between the time required for the first media stream information to arrive at the intermediate number platform and the time required for the second media stream information to arrive at the intermediate number platform;
[0232] When the statistical data meets a preset condition, the third media stream information is sent to the called terminal, the preset condition includes one or more of the first packet loss rate being less than a third preset threshold, the second packet loss rate being less than a fourth preset threshold, and the line delay being less than a fifth preset threshold.
[0233] In an implementation manner, after the media stream statistical information sent by the calling terminal is received, the method further includes:
[0234] The calling call level is determined based on the media stream statistical information, and the calling call level is used to represent the call quality level of the calling terminal;
[0235] The first acquisition ratio is determined based on the calling call level, and then the first acquisition instruction is determined according to the first acquisition ratio, the first acquisition instruction is used to instruct the calling terminal to acquire call media stream information based on the first acquisition ratio;
[0236] The first acquisition instruction is sent to the calling terminal, so that the calling terminal sends the call media stream information acquired based on the first acquisition ratio to the intermediate number platform through the Internet.
[0237] In an implementation manner, the calling call level is determined based on the media stream statistical information, and includes:
[0238] determining first base station information based on the media stream statistical information, the first base station information being base station information of a first base station to which the calling terminal is connected when making a call;
[0239] determining historical terminal call information based on the first base station information, the historical terminal call information including historical normal call information and historical abnormal call information of the first base station;
[0240] determining an abnormal call proportion based on the historical normal call information and the historical abnormal call information, and determining the calling call level according to the abnormal call proportion.
[0241] In an implementation manner, after the media stream information packet loss rate is determined based on the media stream statistical information and the third media stream information, the method further includes:
[0242] when the media stream information packet loss rate is less than a second preset threshold, sending the first media stream information to the called terminal to make a call, the second preset threshold being less than the first preset threshold;
[0243] when the media stream information packet loss rate is greater than the first preset threshold, sending the second media stream information to the called terminal to make a call.
[0244] In an implementation manner, after the media stream information packet loss rate is determined based on the media stream statistical information and the third media stream information, the method further includes:
[0245] when the media stream information packet loss rate is greater than the first preset threshold, sending a calling asynchronous call prompt to the calling terminal, the calling asynchronous call prompt being used to remind the calling terminal to make an asynchronous call;
[0246] receiving first call information sent by the calling terminal, the first call information being complete call information sent by the calling terminal;
[0247] converting the first call information into media stream information to obtain fourth media stream information;
[0248] sending the fourth media stream information to the called terminal to make a call.
[0249] In an implementation manner, after the media stream information packet loss rate is determined based on the media stream statistical information and the third media stream information, the method further includes:
[0250] when the media stream information packet loss rate is greater than the first preset threshold, sending a called asynchronous call prompt to the called terminal, the called asynchronous call prompt being used to remind the called terminal to make an asynchronous call;
[0251] receiving fifth media stream information sent by the called terminal, the fifth media stream information being media stream information sent by the called terminal;
[0252] format-converting the fifth media stream information to obtain second call information, the second call information being complete call information sent by the called terminal;
[0253] sending the second call information to the calling terminal to perform a call.
[0254] The specific implementation steps can refer to the steps of the call method embodiments, and the same technical effects can be achieved. To avoid repetition, details are not described herein.
[0255] It should be noted that the electronic device in the embodiments of the present application includes a server, a terminal, or other devices in addition to the terminal.
[0256] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device can include more or fewer components than those shown, or combine certain components, or have a different arrangement of components. For example, the input unit can include a graphics processing unit (GPU) and a microphone, and the display unit can be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes at least one of a touch panel and other input devices. The touch panel is also referred to as a touch screen. The other input devices can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), a trackball, a mouse, a joystick, and the like, and details are not described herein.
[0257] The memory can be used to store software programs and various data. The memory can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory can include a volatile memory or a non-volatile memory, or the memory can include both a volatile memory and a non-volatile memory. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synchlink DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM).
[0258] The processor can include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor.
[0259] The embodiment of the present application further provides a readable storage medium, and the readable storage medium stores programs or instructions, the programs or instructions are executed by a processor to realize various processes of the above-mentioned call method embodiment, and the same technical effects can be achieved, and thus details are not described herein again.
[0260] The processor is the processor in the electronic device described in the above embodiments. 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, etc.
[0261] The embodiment of the present application further provides a computer program product, which is executed by a processor to realize each process of the above-mentioned call method embodiment and achieve the same technical effects. To avoid repetition, details are not described herein.
[0262] The embodiment of the present application further provides a chip, which includes a processor and a communication interface. The communication interface is coupled with the processor. The processor is used to run a program or an instruction to realize each process of the above-mentioned call method embodiment and achieve the same technical effects. To avoid repetition, details are not described herein.
[0263] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0264] It should be noted that, in this document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or device. Without more limitations, the element defined by the statement "comprising a" does 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 method and device in the embodiment of the present application is not limited to the order of performing the functions as shown or discussed, but can also include performing the functions in a substantially simultaneous manner or in a reverse order according to the functions involved, for example, the described method can be performed in an order different from that described, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.
[0265] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned example methods can be realized by means of software and a necessary general hardware platform, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product in essence or in the form of a part that contributes to the prior art. The computer software product is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a plurality of instructions for causing a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
[0266] The embodiments of the present application are described above in combination with the drawings, but the present application is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative and not restrictive. Those skilled in the art can make many forms without departing from the scope of the present application under the inspiration of the present application, and all of them belong to the protection of the present application.
Claims
1. A method for a call, comprising: sending a call enhancement instruction to a calling terminal when a request for enhancing the call is received from the calling terminal, the call enhancement instruction being used to instruct the calling terminal to enhance the call; receiving first media stream information and second media stream information sent by the calling terminal, the first media stream information being call media stream information sent by the calling terminal through a communication network, and the second media stream information being call media stream information sent by the calling terminal through the Internet; performing deduplication and merging processing on the first media stream information and the second media stream information to determine third media stream information; sending the third media stream information to a called terminal to make the call; wherein after the deduplication and merging processing on the first media stream information and the second media stream information to determine the third media stream information, the method further comprises: receiving media stream statistics information sent by the calling terminal, the media stream statistics information being information determined by the calling terminal in statistics of media stream information sent by the calling terminal; determining a media stream information packet loss rate based on the media stream statistics information and the third media stream information, the media stream information packet loss rate being used to represent a packet loss rate of the third media stream information; when the media stream information packet loss rate is less than a first preset threshold, sending the third media stream information to the called terminal. 2.The method of claim 1, wherein the sending of the call enhancement instruction to the calling terminal when the request for enhancing the call is received from the calling terminal comprises: receiving a call enhancement request sent by the calling terminal, and generating an intermediate number based on the call enhancement request, the call enhancement request being used to request the calling terminal to enhance the call; sending the intermediate number to the calling terminal, so that the calling terminal sends a call request to the called terminal through the intermediate number and enhances the call. 3.The method of claim 1, wherein before the receiving of the first media stream information and the second media stream information sent by the calling terminal, the method further comprises: receiving call answering information sent by the called terminal, the call answering information being information generated by the called terminal to answer the call after receiving a call request sent by the calling terminal; generating information statistics instructions based on the call answering information, and sending the information statistics instructions to the calling terminal, the information statistics instructions being used to instruct the calling terminal to perform statistics on media stream information sent by the calling terminal. 4.The method of claim 1, wherein after the deduplication and merging processing on the first media stream information and the second media stream information to determine the third media stream information, the method further comprises: receiving first statistics information and second statistics information sent by the calling terminal, the first statistics information being information determined by the calling terminal in statistics of the first media stream information sent by the calling terminal, and the second statistics information being information determined by the calling terminal in statistics of the second media stream information sent by the calling terminal. determine statistical data based on the first statistical information and the second statistical information, the statistical data comprising one or more of a first packet loss rate, a second packet loss rate, and a line delay, the first packet loss rate being used to represent a packet loss rate of the first media stream information, the second packet loss rate being used to represent a packet loss rate of the second media stream information, and the line delay being used to represent a difference between a time required for the first media stream information to reach an intermediate number platform and a time required for the second media stream information to reach the intermediate number platform; send the third media stream information to the called terminal when the statistical data satisfies a preset condition, the preset condition comprising one or more of the first packet loss rate being less than a third preset threshold, the second packet loss rate being less than a fourth preset threshold, and the line delay being less than a fifth preset threshold.
5. The method of claim 1, after the receiving the media stream statistical information sent by the calling terminal, the method further comprising: determining a calling call level based on the media stream statistical information, the calling call level being used to represent a call quality level of the calling terminal; determining a first acquisition ratio based on the calling call level, and then determining a first acquisition instruction according to the first acquisition ratio, the first acquisition instruction being used to instruct the calling terminal to acquire call media stream information based on the first acquisition ratio; sending the first acquisition instruction to the calling terminal, so that the calling terminal sends the call media stream information acquired based on the first acquisition ratio to an intermediate number platform through the Internet.
6. The method of claim 5, the determining a calling call level based on the media stream statistical information, comprising: determining first base station information based on the media stream statistical information, the first base station information being base station information of a first base station connected by the calling terminal during a call; determining historical terminal call information based on the first base station information, the historical terminal call information comprising historical normal call information and historical abnormal call information of the first base station; determining an abnormal call ratio based on the historical normal call information and the historical abnormal call information, and then determining the calling call level according to the abnormal call ratio.
7. The method of claim 1, after the determining a media stream information packet loss rate based on the media stream statistical information and the third media stream information, the method further comprising: when the media stream information packet loss rate is less than a second preset threshold, sending the first media stream information to the called terminal for a call, the second preset threshold being less than the first preset threshold; when the media stream information packet loss rate is greater than the first preset threshold, sending the second media stream information to the called terminal for a call.
8. The method of claim 1, after the determining a media stream information packet loss rate based on the media stream statistical information and the third media stream information, the method further comprising: when the media stream information packet loss rate is greater than the first preset threshold, sending a calling asynchronous call prompt to the calling terminal, the calling asynchronous call prompt being used to remind the calling terminal to make an asynchronous call; receiving first call information sent by the calling terminal, the first call information being complete call information sent by the calling terminal; performing media stream information conversion on the first call information to obtain fourth media stream information; sending the fourth media stream information to the called terminal to make a call.
9. The method of claim 1, after determining the media stream information packet loss rate based on the media stream statistical information and the third media stream information, the method further comprising: when the media stream information packet loss rate is greater than the first preset threshold, sending a called asynchronous call prompt to the called terminal, the called asynchronous call prompt being used to remind the called terminal to make an asynchronous call; receiving fifth media stream information sent by the called terminal, the fifth media stream information being media stream information sent by the called terminal; performing format conversion on the fifth media stream information to obtain second call information, the second call information being complete call information sent by the called terminal; sending the second call information to the calling terminal to make a call.
10. A call device, comprising: a first receiving module configured to, when receiving a request of a calling terminal requesting call enhancement, send a call enhancement instruction to the calling terminal, the call enhancement instruction being used to instruct the calling terminal to make an enhanced call; a second receiving module configured to receive first media stream information and second media stream information sent by the calling terminal, the first media stream information being call media stream information sent by the calling terminal through a communication network, and the second media stream information being call media stream information sent by the calling terminal through the Internet; a first determining module configured to perform de-duplication and merging processing on the first media stream information and the second media stream information to determine third media stream information; a first sending module configured to send the third media stream information to a called terminal to make a call; wherein, after the de-duplication and merging processing on the first media stream information and the second media stream information to determine the third media stream information, the first determining module is further configured to: receive media stream statistical information sent by the calling terminal, the media stream statistical information being used to represent information determined by the calling terminal in statistics of media stream information sent thereby; determine a media stream information packet loss rate based on the media stream statistical information and the third media stream information, the media stream information packet loss rate being used to represent a packet loss rate of the third media stream information; when the media stream information packet loss rate is less than a first preset threshold, send the third media stream information to the called terminal.
11. A computer device, comprising: The apparatus comprises: a processor; and a memory arranged to store computer-executable instructions configured to be executed by the processor, the computer-executable instructions comprising instructions for performing steps in the method of any one of claims 1 to 9.
12. A storage medium, characterized by The storage medium is configured to store computer-executable instructions that cause a computer to perform the method of any one of claims 1 to 9.
Citation Information
Patent Citations
System, device and chip for assisting link to compensate conversation
CN116390044A
Data transmission method and device, storage medium and electronic equipment
CN118118426A