Call making method, device, computer equipment and storage medium

文档序号:72957 发布日期:2021-10-01 浏览:34次 中文

阅读说明:本技术 拨打电话方法、装置、计算机设备和存储介质 (Call making method, device, computer equipment and storage medium ) 是由 张上进 王太虎 于 2020-03-31 设计创作,主要内容包括:本申请涉及一种拨打电话方法、装置、计算机设备和计算机可读存储介质。所述方法包括:获取通信框架层中存在的通话进程,以及调制解调器中存在的通话进程;当所述通信框架层中存在的通话进程与所述调制解调器中存在的通话进程不一致时,获取所述通信框架层中的冗余通话进程;清除所述通信框架层中的冗余通话进程,并清除与所述通信框架层相连接的通信应用层中的所述冗余通话进程。采用本方法能够提高通话效率。(The application relates to a method and a device for making a call, computer equipment and a computer readable storage medium. The method comprises the following steps: acquiring a call process existing in a communication framework layer and a call process existing in a modem; when the communication process existing in the communication framework layer is inconsistent with the communication process existing in the modem, acquiring a redundant communication process in the communication framework layer; and clearing the redundant call process in the communication framework layer, and clearing the redundant call process in the communication application layer connected with the communication framework layer. The method can improve the conversation efficiency.)

1. A method of making a telephone call, the method comprising:

acquiring a call process existing in a communication framework layer and a call process existing in a modem;

when the communication process existing in the communication framework layer is inconsistent with the communication process existing in the modem, acquiring a redundant communication process in the communication framework layer;

and clearing the redundant call process in the communication framework layer, and clearing the redundant call process in the communication application layer connected with the communication framework layer.

2. The method of claim 1, further comprising:

and when the terminal is restarted or enters an airplane mode, executing the step of acquiring the call process existing in the communication framework layer and the call process existing in the modem.

3. The method of claim 1, further comprising:

when a call making request is detected, detecting a call process existing in the communication application layer;

when the communication process existing in the communication application layer is in a connection state, detecting whether the communication process existing in the communication application layer is the redundant communication process;

and when the communication process existing in the communication application layer is the redundant communication process, clearing the communication process existing in the communication application layer and clearing the communication process existing in the communication framework layer.

4. The method of claim 3, further comprising:

and when the communication process existing in the communication application layer is in a call state, clearing the communication process existing in the communication application layer and clearing the communication process existing in the communication framework layer.

5. The method according to claim 3 or 4, characterized in that the method further comprises:

and after the communication process existing in the communication application layer is eliminated and the communication process existing in the communication framework layer is eliminated, establishing the communication process corresponding to the call making request.

6. The method of claim 3, further comprising:

and when the call progress existing in the communication application layer is not the redundant call progress, establishing the call progress corresponding to the call dialing request.

7. The method of claim 1, wherein clearing the redundant call process in the communication application layer connected to the communication framework layer comprises:

and controlling the communication framework layer to send notification information to the communication application layer, wherein the notification information is used for notifying the communication application layer to clear the redundant call progress.

8. A device for making a telephone call, the device comprising:

the acquisition module is used for acquiring a call process existing in a communication framework layer and a call process existing in a modem;

the obtaining module is further configured to obtain a redundant call process in the communication framework layer when the call process existing in the communication framework layer is inconsistent with the call process existing in the modem;

and the clearing module is used for clearing the redundant call progress in the communication framework layer and clearing the redundant call progress in the communication application layer connected with the communication framework layer.

9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.

Technical Field

The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for making a call, a computer device, and a computer-readable storage medium.

Background

With the development of network technology and communication technology, communication terminals such as mobile phones and fixed phones have become essential tools in people's lives. Taking a mobile phone as an example, a user inputs a number on a dialing page, and can communicate with the user corresponding to the number by clicking to dial.

However, in the process of calling or talking, after the call is passively disconnected due to network abnormality and the like, the user often fails to dial again, which greatly affects the conversation efficiency.

Disclosure of Invention

In view of the foregoing, there is a need to provide a method, an apparatus, a computer device and a computer readable storage medium for making a call, which can improve the call efficiency.

Acquiring a call process existing in a communication framework layer and a call process existing in a modem;

when the communication process existing in the communication framework layer is inconsistent with the communication process existing in the modem, acquiring a redundant communication process in the communication framework layer;

and clearing the redundant call process in the communication framework layer, and clearing the redundant call process in the communication application layer connected with the communication framework layer.

In one embodiment, the method further comprises:

and when the terminal is restarted or enters an airplane mode, executing the step of acquiring the call process existing in the communication framework layer and the call process existing in the modem.

In one embodiment, the method further comprises:

when a call making request is detected, detecting a call process existing in the communication application layer;

when the communication process existing in the communication application layer is in a connection state, detecting whether the communication process existing in the communication application layer is the redundant communication process;

and when the communication process existing in the communication application layer is the redundant communication process, clearing the communication process existing in the communication application layer and clearing the communication process existing in the communication framework layer.

In one embodiment, the method further comprises:

and when the communication process existing in the communication application layer is in a call state, clearing the communication process existing in the communication application layer and clearing the communication process existing in the communication framework layer.

In one embodiment, the method further comprises:

and after the communication process existing in the communication application layer is eliminated and the communication process existing in the communication framework layer is eliminated, establishing the communication process corresponding to the call making request.

In one embodiment, the method further comprises:

and when the call progress existing in the communication application layer is not the redundant call progress, establishing the call progress corresponding to the call dialing request.

In one embodiment, the clearing the redundant call process in the communication application layer connected to the communication framework layer includes:

and controlling the communication framework layer to send notification information to the communication application layer, wherein the notification information is used for notifying the communication application layer to clear the redundant call progress.

A device for making a telephone call, the device comprising:

the acquisition module is used for acquiring a call process existing in a communication framework layer and a call process existing in a modem;

the obtaining module is further configured to obtain a redundant call process in the communication framework layer when the call process existing in the communication framework layer is inconsistent with the call process existing in the modem;

and the clearing module is used for clearing the redundant call progress in the communication framework layer and clearing the redundant call progress in the communication application layer connected with the communication framework layer.

A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:

acquiring a call process existing in a communication framework layer and a call process existing in a modem;

when the communication process existing in the communication framework layer is inconsistent with the communication process existing in the modem, acquiring a redundant communication process in the communication framework layer;

and clearing the redundant call process in the communication framework layer, and clearing the redundant call process in the communication application layer connected with the communication framework layer.

A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:

acquiring a call process existing in a communication framework layer and a call process existing in a modem;

when the communication process existing in the communication framework layer is inconsistent with the communication process existing in the modem, acquiring a redundant communication process in the communication framework layer;

and clearing the redundant call process in the communication framework layer, and clearing the redundant call process in the communication application layer connected with the communication framework layer.

According to the method, the device, the computer equipment and the computer readable storage medium for dialing, the call progress existing in the communication framework layer and the call progress existing in the modem are obtained, when the call progress existing in the communication framework layer is inconsistent with the call progress existing in the modem, the redundant call progress in the communication framework layer is obtained, the redundant call progress in the communication framework layer is cleared, and the redundant call progress in the communication application layer connected with the communication framework layer is cleared, so that the redundant call progress in the communication framework layer and the communication application layer is deleted, the redundant call progress is prevented from blocking the call progress corresponding to the call dialing request, and the call efficiency is improved.

Drawings

FIG. 1 is a diagram of an application environment of a method for placing a call in one embodiment;

FIG. 2 is a flow diagram illustrating a method for placing a call in one embodiment;

FIG. 3 is a block diagram illustrating the structure of a telephone call in one embodiment;

FIG. 4 is a flow chart illustrating a method for making a call in another embodiment;

FIG. 5 is a block diagram of the structure of a telephone dialing apparatus in one embodiment;

FIG. 6 is a block diagram showing the construction of a telephone dialing apparatus according to another embodiment;

FIG. 7 is a block diagram showing the construction of a telephone dialing apparatus according to still another embodiment;

FIG. 8 is a block diagram showing the construction of a telephone dialing apparatus in a further embodiment;

FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

The dialing method provided by the application can be applied to the application environment shown in fig. 1. The terminal 102 may be, but is not limited to, a smart phone, a tablet computer, and a portable wearable device with a call function. Firstly, the terminal 102 acquires a call process existing in a communication framework layer and a call process existing in a modem; then, when the call process existing in the communication framework layer is inconsistent with the call process existing in the modem, the terminal 102 acquires a redundant call process in the communication framework layer; then, the terminal 102 clears the redundant call process in the communication framework layer, and clears the redundant call process in the communication application layer connected to the communication framework layer.

In one embodiment, as shown in fig. 2, a method for making a call is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:

step 202, obtaining the communication process existing in the communication framework layer and the communication process existing in the modem.

In one embodiment, as shown in fig. 3, the dialing system of the terminal may include: a UI interface, a communication application layer, a communication framework layer, and a modem.

The UI interface can be used for generating a call making request, and the UI interface can comprise dialing keys based on which a user can trigger the call making request. Optionally, the user inputs a number based on a dialing interface of the UI interface, clicks a dialing key, and triggers a dialing request; a user selects a number based on an address list interface of a UI interface, clicks a dialing key and triggers a dialing request; and clicking a number key on a dialing interface of the UI by the user, wherein the number key is pre-associated with a number, and clicking the dialing key to trigger a telephone dialing request.

The communication application layer is used for managing information related to conversation and terminal states, and when detecting that a call-making request or events such as a call-in request, a terminal state or a network state and the like arrive at the bottom layer, the communication application layer triggers a related event processing flow and updates the events on a UI (user interface). Alternatively, the communication application layer may be TelecomApp.

The various functions of the communication application layer may interact through the communication framework layer. On one hand, the communication framework Layer receives various requests of the upper Layer, the requests are transmitted to the modem through a Radio Interface Layer (RIL), and the modem returns the requests to the communication framework Layer after processing; on the other hand, the communication framework layer monitors active reporting events of the modem, such as restart of the modem, incoming call request, short message, signal, network state, SIM card state and the like, updates the events to related object entities, and informs the upper layer of related information, so that the upper layer can update UI interface display in time according to the reported information.

The communication framework layer and the modem can be connected by a serial port or a USB. Modems, or modems, are short for Modulator and Demodulator. Modulation is the conversion of digital signals into analog signals, demodulation is the conversion of analog signals into digital signals, telephone lines carry analog signals, and terminals carry digital signals. The modem translates the digital signals from the terminal into analog signals that can be transmitted along a conventional telephone line, which can be received by another modem at the other end of the line and translated into digital signals for the terminal, which completes the communication between the two terminals. The modem and the base station perform data interaction to realize communication. The base station is an interface device for the terminal to access the internet, and is a form of radio station, which refers to a radio transceiver station for information transmission with the terminal through a mobile communication switching center in a certain radio coverage area. The modem can monitor incoming call requests, short messages, signals, network states, SIM card states, and the like, and report to an upper layer.

When a call is established, a call process is established in the communication application layer, the communication framework layer and the modem, and the call process is used for representing the call state of the terminal. The call includes a call process and a call completion process. The call can be established by a call dialing request initiated by the local phone, and can also be established according to an external call request.

Step 204, when the communication process existing in the communication framework layer is inconsistent with the communication process existing in the modem, acquiring a redundant communication process in the communication framework layer.

Wherein, the redundant conversation process in the communication framework layer is: a call process exists in the communication framework layer but not in the modem. Specifically, when a call is established, a call process is established in the communication application layer, the communication framework layer and the modem. When the call is passively suspended due to network abnormality and the like, the user often fails to dial again, and the suspended call progress may not be removed in time in the communication application layer and the communication framework layer, so that the suspended call progress hinders the establishment of a new call progress. After the call is passively hung up, the modem is disconnected with the base station, and the modem can remove the hung up call process in time, so that the redundant call process can be determined by comparing the call process existing in the communication framework layer with the call process existing in the modem.

Specifically, the communication framework layer compares the existing call process with the call process existing in the modem to determine the redundant call process in the communication framework layer, and the redundant call process is the redundant call process in the communication framework layer.

And step 206, clearing the redundant call process in the communication framework layer, and clearing the redundant call process in the communication application layer connected with the communication framework layer.

In one embodiment, the communication framework layer clears the redundant call process and notifies the communication application layer to clear the redundant call process.

In one embodiment, the synchronous operation between the communication framework layer and the modem can be executed in real time or in a timing mode so as to clear redundant call processes in the communication framework layer and the communication application layer and avoid the redundant call processes in the communication framework layer and the communication application layer.

In one embodiment, a synchronization operation between the communication framework layer and the modem may be performed to clear redundant call progress in the communication framework layer and the communication application layer when the terminal restarts or enters the airplane mode.

In one embodiment, a synchronization operation between the communication framework layer and the modem may be performed to clear redundant call progress in the communication framework layer and the communication application layer upon detection of a call-making request or an incoming call request.

Specifically, when a call-making request is detected, whether a call process exists in a communication application layer is detected, if the call process exists in the communication application layer, the communication application layer informs a communication framework layer to execute synchronous operation with a modem so as to detect whether the existing call process is a redundant call process, if so, the communication framework layer clears the redundant call process and informs the communication application layer to clear the redundant call process so as to establish the call process corresponding to the call-making request. When the incoming call request is detected, the modem reports the incoming call request, whether a communication framework layer has a communication process or not is detected, if the communication framework layer has the communication process, the communication framework layer executes synchronous operation between the communication framework layer and the modem so as to detect whether the existing communication process is a redundant communication process or not, if so, the communication framework layer clears the redundant communication process and informs a communication application layer to clear the redundant communication process so as to establish the communication process corresponding to the incoming call request.

In the method for dialing, the call progress existing in the communication framework layer and the call progress existing in the modem are obtained, and when the call progress existing in the communication framework layer is inconsistent with the call progress existing in the modem, the redundant call progress in the communication framework layer is obtained, the redundant call progress in the communication framework layer is cleared, and the redundant call progress in the communication application layer connected with the communication framework layer is cleared, so that the redundant call progress in the communication framework layer and the communication application layer is deleted, the call progress corresponding to the call dialing request is prevented from being established by the redundant call progress, and the call efficiency is improved.

In one embodiment, the method further comprises: and when the terminal is restarted or enters an airplane mode, executing the step of acquiring the call process existing in the communication framework layer and the call process existing in the modem.

Specifically, when the terminal enters an airplane mode or is restarted, the radio communication module of the terminal is restarted, and the radio communication module is used for realizing communication between the terminal and other terminals. When the terminal enters a flight mode or is restarted, whether a call process exists in the communication framework layer or not is detected, if the call process exists in the communication framework layer, the communication framework layer obtains the call process existing in the modem to detect whether the call process existing in the communication framework layer is a redundant call process or not, if yes, the communication framework layer clears the redundant call process and informs the communication application layer to clear the redundant call process.

In the above-mentioned call making method, when the terminal restarts or enters into flight mode, the synchronous operation between the communication framework layer and the modem is executed to clear the redundant call process in the communication framework layer and the communication application layer.

In one embodiment, as shown in fig. 4, the method further comprises:

step 402, when a call making request is detected, detecting a call process existing in the communication application layer;

wherein the call placement request is used to initiate a call or a talk operation. Alternatively, the call placement request may be triggered by a dial key, such as when the dial interface detects an entered number and the dial key is triggered, the call placement request is established.

Step 404, when the communication process existing in the communication application layer is in a connected state, detecting whether the communication process existing in the communication application layer is the redundant communication process;

here, the on state refers to a state of a call.

In one embodiment, when a call-making request is detected, whether a call process exists in a communication application layer is detected, if the call process exists in the communication application layer, the state of the existing call process is detected, if the communication process is in a connection state, whether the communication process is a redundant call process is detected, if the communication process is the redundant call process, a clearing operation is executed, and if the communication process is not the redundant call process, a multi-party call can be established.

And 406, when the communication process existing in the communication application layer is the redundant communication process, clearing the communication process existing in the communication application layer, and clearing the communication process existing in the communication framework layer.

In one embodiment, the communication framework layer clears the redundant call process and informs the communication application layer to clear the redundant call process, so that the call process corresponding to the call making request can be established in the communication application layer, the communication framework layer and the modem.

In the method for dialing, when a dialing request is detected, a call process existing in a communication application layer is detected, when the call process existing in the communication application layer is in a connection state, whether the call process existing in the communication application layer is a redundant call process is detected, when the call process existing in the communication application layer is the redundant call process, the call process existing in the communication application layer is cleared, and the call process existing in a communication framework layer is cleared, so that the situation that the redundant call process in the communication application layer and the communication framework layer obstructs the establishment of a new call process is avoided.

In one embodiment, the method further comprises: and when the communication process existing in the communication application layer is in a call state, clearing the communication process existing in the communication application layer and clearing the communication process existing in the communication framework layer.

The call state is a state in which the call is not connected during a call.

In one embodiment, when a call request is detected, whether a call process exists in a communication application layer is detected, if the call process exists in the communication application layer, the state of the existing call process is detected, and if the call process is in a call state, the call process existing in the communication application layer and the call process existing in a communication framework layer can be directly cleared to establish the call process corresponding to the call request.

In the method for dialing, when the conversation process existing in the communication application layer is in a calling state, the conversation process existing in the communication application layer is eliminated, and the conversation process existing in the communication framework layer is eliminated, so that the situation that the redundant conversation process in the communication application layer and the communication framework layer obstructs the establishment of a new conversation process is avoided.

In one embodiment, the method further comprises: and after the communication process existing in the communication application layer is eliminated and the communication process existing in the communication framework layer is eliminated, establishing the communication process corresponding to the call making request.

Specifically, after the call progress existing in the communication application layer is cleared and the call progress existing in the communication framework layer is cleared, the communication application layer may establish a call progress corresponding to the call making request, and the communication application layer may issue the call making request, so that the communication framework layer and the modem establish a call progress corresponding to the call making request.

In the method for dialing, after the communication process existing in the communication application layer is cleared and the communication process existing in the communication framework layer is cleared, the communication process corresponding to the dialing request is established, so that the situation that the communication application layer and the communication framework layer are cleared to prevent redundant communication processes from blocking the establishment of a new communication process is avoided.

In one embodiment, the method further comprises: and when the call progress existing in the communication application layer is not the redundant call progress, establishing the call progress corresponding to the call dialing request.

In one embodiment, when a call-making request is detected, whether a call process exists in a communication application layer is detected, if the call process exists in the communication application layer, the state of the existing communication process is detected, if the communication process is in a connection state, whether the communication process is a redundant call process can be detected, if the communication process is the redundant call process, a clearing operation is executed, and if the communication process is not the redundant call process, a multi-party call can be established. Specifically, when the call process existing in the communication application layer is not a redundant call process, the call process can be maintained, and a call process corresponding to the call making request is established, so as to realize multi-person call. In one application scenario: when the user A and the user B are in a conversation, the user A can initiate a call making request to the user C, and therefore the user A can be connected with the user B and the user C at the same time. Optionally, the user a and the user B keep a connection state, and the user a and the user C communicate with each other, in the process, the user a can switch to the communication with the user B at any time; alternatively, user A and user B are simultaneously in a conversation state,

in the method for dialing the call, when the call process existing in the communication application layer is not the redundant call process, the call process corresponding to the call dialing request is established, so that multi-party call is realized, and the call efficiency is improved.

In one embodiment, the clearing the redundant call process in the communication application layer connected to the communication framework layer includes: and controlling the communication framework layer to send notification information to the communication application layer, wherein the notification information is used for notifying the communication application layer to clear the redundant call progress.

Specifically, the communication framework layer and the communication application layer can communicate in an intent or notify manner.

In the method for dialing the call, the communication framework layer is controlled to send the notification information to the communication application layer, and the notification information is used for notifying the communication application layer to clear the redundant call process, so that the communication framework layer and the communication application layer synchronously clear the redundant call process.

It should be understood that, although the steps in the flowcharts of fig. 2 and 4 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and 4 may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.

In one embodiment, as shown in fig. 5, there is provided a dialing apparatus 500 comprising: an acquisition module 502 and a purge module 504, wherein:

an obtaining module 502, configured to obtain a call process existing in a communication framework layer and a call process existing in a modem;

the obtaining module 502 is further configured to obtain a redundant call process in the communication framework layer when the call process existing in the communication framework layer is inconsistent with the call process existing in the modem;

a clearing module 504, configured to clear the redundant call process in the communication framework layer, and clear the redundant call process in the communication application layer connected to the communication framework layer.

The dialing device 500 obtains the call process existing in the communication frame layer and the call process existing in the modem, and when the call process existing in the communication frame layer is inconsistent with the call process existing in the modem, obtains the redundant call process in the communication frame layer, clears the redundant call process in the communication frame layer, and clears the redundant call process in the communication application layer connected with the communication frame layer, so that the redundant call process in the communication frame layer and the communication application layer is deleted, the redundant call process in the communication frame layer and the communication application layer is prevented from blocking the call process corresponding to the dialing request, and the call efficiency is improved.

In one embodiment, as shown in fig. 6, the telephone dialing apparatus 500 further includes: an execution module 506, wherein the execution module 506 is configured to: and when the terminal is restarted or enters an airplane mode, executing the step of acquiring the call process existing in the communication framework layer and the call process existing in the modem.

In one embodiment, as shown in fig. 7, the telephone dialing apparatus 500 further includes: a detection module 508, the detection module 508 to: when a call making request is detected, detecting a call process existing in the communication application layer; the detection module 508 is further configured to: when the communication process existing in the communication application layer is in a connection state, detecting whether the communication process existing in the communication application layer is the redundant communication process; the purge module 504 is further configured to: and when the communication process existing in the communication application layer is the redundant communication process, clearing the communication process existing in the communication application layer and clearing the communication process existing in the communication framework layer.

In one embodiment, the purge module 504 is further configured to: and when the communication process existing in the communication application layer is in a call state, clearing the communication process existing in the communication application layer and clearing the communication process existing in the communication framework layer.

In one embodiment, the purge module 504 is further configured to: and after the communication process existing in the communication application layer is eliminated and the communication process existing in the communication framework layer is eliminated, establishing the communication process corresponding to the call making request.

In one embodiment, as shown in fig. 8, the dialing apparatus 500 further includes: a setup module 510, the setup module 510 configured to: and when the call progress existing in the communication application layer is not the redundant call progress, establishing the call progress corresponding to the call dialing request.

In one embodiment, the purge module 504 is further configured to: and controlling the communication framework layer to send notification information to the communication application layer, wherein the notification information is used for notifying the communication application layer to clear the redundant call progress.

For specific limitations of the device for making a call, reference may be made to the above limitations of the method for making a call, which are not described herein again. The various modules in the above-described telephone dialing apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.

In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of making a telephone call. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.

Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.

In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:

acquiring a call process existing in a communication framework layer and a call process existing in a modem;

when the communication process existing in the communication framework layer is inconsistent with the communication process existing in the modem, acquiring a redundant communication process in the communication framework layer;

and clearing the redundant call process in the communication framework layer, and clearing the redundant call process in the communication application layer connected with the communication framework layer.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

and when the terminal is restarted or enters an airplane mode, executing the step of acquiring the call process existing in the communication framework layer and the call process existing in the modem.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

when a call making request is detected, detecting a call process existing in the communication application layer;

when the communication process existing in the communication application layer is in a connection state, detecting whether the communication process existing in the communication application layer is the redundant communication process;

and when the communication process existing in the communication application layer is the redundant communication process, clearing the communication process existing in the communication application layer and clearing the communication process existing in the communication framework layer.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

and when the communication process existing in the communication application layer is in a call state, clearing the communication process existing in the communication application layer and clearing the communication process existing in the communication framework layer.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

and after the communication process existing in the communication application layer is eliminated and the communication process existing in the communication framework layer is eliminated, establishing the communication process corresponding to the call making request.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

and when the call progress existing in the communication application layer is not the redundant call progress, establishing the call progress corresponding to the call dialing request.

In one embodiment, the processor, when executing the computer program, further performs the steps of:

and controlling the communication framework layer to send notification information to the communication application layer, wherein the notification information is used for notifying the communication application layer to clear the redundant call progress.

In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:

acquiring a call process existing in a communication framework layer and a call process existing in a modem;

when the communication process existing in the communication framework layer is inconsistent with the communication process existing in the modem, acquiring a redundant communication process in the communication framework layer;

and clearing the redundant call process in the communication framework layer, and clearing the redundant call process in the communication application layer connected with the communication framework layer.

In one embodiment, the computer program when executed by the processor further performs the steps of:

and when the terminal is restarted or enters an airplane mode, executing the step of acquiring the call process existing in the communication framework layer and the call process existing in the modem.

In one embodiment, the computer program when executed by the processor further performs the steps of:

when a call making request is detected, detecting a call process existing in the communication application layer;

when the communication process existing in the communication application layer is in a connection state, detecting whether the communication process existing in the communication application layer is the redundant communication process;

and when the communication process existing in the communication application layer is the redundant communication process, clearing the communication process existing in the communication application layer and clearing the communication process existing in the communication framework layer.

In one embodiment, the computer program when executed by the processor further performs the steps of:

and when the communication process existing in the communication application layer is in a call state, clearing the communication process existing in the communication application layer and clearing the communication process existing in the communication framework layer.

In one embodiment, the computer program when executed by the processor further performs the steps of:

and after the communication process existing in the communication application layer is eliminated and the communication process existing in the communication framework layer is eliminated, establishing the communication process corresponding to the call making request.

In one embodiment, the computer program when executed by the processor further performs the steps of:

and when the call progress existing in the communication application layer is not the redundant call progress, establishing the call progress corresponding to the call dialing request.

In one embodiment, the computer program when executed by the processor further performs the steps of:

and controlling the communication framework layer to send notification information to the communication application layer, wherein the notification information is used for notifying the communication application layer to clear the redundant call progress.

It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.

The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电商平台隐私号码语音通信方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类