CN112235472A - Call processing method and device - Google Patents

Call processing method and device Download PDF

Info

Publication number
CN112235472A
CN112235472A CN202011025027.8A CN202011025027A CN112235472A CN 112235472 A CN112235472 A CN 112235472A CN 202011025027 A CN202011025027 A CN 202011025027A CN 112235472 A CN112235472 A CN 112235472A
Authority
CN
China
Prior art keywords
call
target
operation instruction
sending
detecting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011025027.8A
Other languages
Chinese (zh)
Inventor
李静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011025027.8A priority Critical patent/CN112235472A/en
Publication of CN112235472A publication Critical patent/CN112235472A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • H04M7/0081Network operation, administration, maintenance, or provisioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to a method and a device for processing a call, wherein the method comprises the following steps: when a target device and a first opposite terminal device carry out a first call, receiving a first call request of a second call sent by a second opposite terminal device, wherein the first call is an operator call, and the second call is a VOIP call; detecting a first operation instruction, wherein the first operation instruction is used for selecting a corresponding first target call in a first call and a second call; and sending a target message to the corresponding opposite terminal device according to the first operation instruction, wherein the target message is used for indicating the current call state of the target device. The method and the device solve the technical problem that the user call experience is poor.

Description

Call processing method and device
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for processing a call.
Background
With the development of the internet, even though most communication applications support VOIP (including voice call and video call), the frequency of using the voice and video services of the instant communication applications is rapidly increasing from the use habit of users, and gradually replaces the voice call of operators. From the perspective of an operator, unlike a Voice Service provided by the operator, the Voice and video call services provided by these instant messaging applications are only common data services, and have no difference from data streams browsing a web page, and a higher QoS (Quality of Service) level is not granted to the instant messaging applications to ensure the call Quality thereof, so that a situation that a VoIP (Voice over Internet Protocol) call established by the instant messaging applications is interrupted by a Voice Service of the operator often occurs when both parties of the instant messaging applications do not have any preparation, and a VoIP opposite end established by the instant messaging applications cannot know the current situation, and only receives a message of being passively hung up, which affects the user experience.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The application provides a call processing method and device, which are used for at least solving the technical problem of poor call experience of users in the related technology.
According to an aspect of an embodiment of the present application, a method for processing a call is provided, including: when a target device and a first opposite terminal device carry out a first call, receiving a first call request of a second call sent by a second opposite terminal device, wherein the first call is an operator call, and the second call is a VOIP call; detecting a first operation instruction, wherein the first operation instruction is used for selecting a corresponding first target call in the first call and the second call; and sending a target message to corresponding opposite terminal equipment according to the first operation instruction, wherein the target message is used for indicating the current call state of the target equipment.
Optionally, the receiving the first call request of the second call sent by the second peer device includes: detecting the network type of the target equipment; and receiving the first call request when the network type meets a preset condition.
Optionally, the detecting the first operation instruction includes at least one of: detecting the first operation instruction for controlling the target device to end the first call; detecting the first operation instruction for controlling the target device to reject the first call request; detecting the first operation instruction for controlling the target device to switch to the second call.
Optionally, sending the target message to the corresponding peer device according to the first operation instruction includes: under the condition that the first call is ended, switching an audio focus of the target device from the first call to the second call, wherein the audio focus is used for bearing the call connected on the target device; and sending a first target message to the first peer device through a first call protocol corresponding to the first call.
Optionally, sending the target message to the corresponding peer device according to the first operation instruction includes: and under the condition that the first call request is rejected, sending the third target message to the second opposite terminal equipment through a second call protocol corresponding to a second call.
Optionally, sending the target message to the corresponding peer device according to the first operation instruction includes: under the condition that the current call is switched to the second call, switching the audio focus of the target equipment from the first call to the second call; and when the audio focus of the target equipment is switched from the first call to the second call, sending a fourth target message to the first opposite end equipment of the first call through the first call protocol corresponding to the first call.
Optionally, after the fourth target message is sent to the first peer device of the first call through the first call protocol corresponding to the first call, the method further includes: detecting a call state of the second call; and when the second call is detected to be ended, switching the audio focus from the second call to the first call.
Optionally, after detecting the first operation instruction, the method further includes: when the target device and the second opposite terminal device carry out the second call, receiving a second call request of a third call sent by a third opposite terminal device, wherein the third call is an operator call; detecting a second operation instruction, wherein the second operation instruction is used for selecting a corresponding second target call in the second call and the third call; and sending a second target message to the corresponding opposite terminal device according to the second operation instruction, wherein the second target message is used for indicating the current call state of the target device.
According to another aspect of the embodiments of the present application, there is also provided a processing apparatus for a call, including:
the device comprises a first receiving module, a second receiving module and a first sending module, wherein the first receiving module is used for receiving a first call request of a second call sent by a second opposite terminal device when a target device and the first opposite terminal device carry out a first call, the first call is an operator call, and the second call is a VOIP call;
the first detection module is used for detecting a first operation instruction, wherein the first operation instruction is used for selecting a corresponding first target call in the first call and the second call;
and the first sending module is used for sending a target message to the corresponding opposite terminal device according to the first operation instruction, wherein the target message is used for indicating the current call state of the target device.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program which, when executed, performs the above-described method.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above method through the computer program.
In the embodiment of the application, when a target device and a first opposite terminal device perform a first call, a first call request of a second call sent by a second opposite terminal device is received, wherein the first call is an operator call, and the second call is a VOIP call; detecting a first operation instruction, wherein the first operation instruction is used for selecting a corresponding first target call in a first call and a second call; the method comprises the steps of sending a target message to corresponding opposite-end equipment according to a first operation instruction, wherein the target message is used for indicating the current call state of the target equipment, receiving a call request of VOIP call from second opposite-end equipment while the target equipment and the first opposite-end equipment carry out voice call between operators, and therefore the purpose of simultaneously answering the operator call and the VOIP call is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware environment of a processing method of a call according to an embodiment of the present application;
fig. 2 is a flow chart of an alternative call processing method according to an embodiment of the present application;
fig. 3 is a schematic diagram of an alternative call processing method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an alternative call processing device according to an embodiment of the present application;
fig. 5 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present application, an embodiment of a method for processing a call is provided.
Alternatively, in this embodiment, the processing method of the call may be applied to a hardware environment formed by the terminal 101 and the server 103 as shown in fig. 1. As shown in fig. 1, a server 103 is connected to a terminal 101 through a network, which may be used to provide services (such as game services, application services, etc.) for the terminal or a client installed on the terminal, and a database may be provided on the server or separately from the server for providing data storage services for the server 103, and the network includes but is not limited to: the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, and the like. The call processing method according to the embodiment of the present application may be executed by the server 103, the terminal 101, or both the server 103 and the terminal 101. The method for the terminal 101 to perform the call processing according to the embodiment of the present application may be performed by a client installed thereon.
Fig. 2 is a flowchart of an alternative call processing method according to an embodiment of the present application, and as shown in fig. 2, the method may include the following steps:
step S202, when a target device and a first opposite terminal device carry out a first call, receiving a first call request of a second call sent by a second opposite terminal device, wherein the first call is an operator call, and the second call is a VOIP call;
step S204, detecting a first operation instruction, wherein the first operation instruction is used for selecting a corresponding first target call in the first call and the second call;
step S206, sending a target message to the corresponding opposite terminal device according to the first operation instruction, wherein the target message is used for indicating the current call state of the target device.
Through the steps S202 to S206, when the target device and the first peer device perform the voice call between operators, the call request of the VOIP call from the second peer device may also be received, so as to achieve the purpose of simultaneously answering the operator call and the VOIP call, and in addition, the notification message may also be sent to the corresponding terminal device based on the first operation instruction, so that the user of the corresponding terminal device can know the current use state of the target terminal device, thereby achieving the technical effect of improving the call experience of the user, and further solving the technical problem of poor call experience of the user.
In the technical solution provided in step S202, the VOIP call may include, but is not limited to, a voice call and a video call.
Optionally, in this embodiment, the first peer device and the second peer device may be, but are not limited to, an internet access device including a smart phone, a tablet computer, and a personal computer.
Optionally, in this embodiment, when an operator calls with a first peer device, a first call request from a second peer device may be received, and at this time, the first call request may be displayed on a screen of the target device on the premise that the first call is not affected.
In the technical solution provided in step S204, the first operation instruction may be generated by the user by touching a designated area on the screen of the target device or pressing a specific key on the target device.
Optionally, in this embodiment, the call operation performed by the target device for each call according to the first operation instruction may include, but is not limited to: ending the first call, rejecting the call request for the second call, switching the call from the first call to the second call, holding the second call, and so on, such as: and answering the second call after the first call is hung up, or keeping the first call to answer the second call, and switching on the first call after the second call is ended.
In the technical solution provided in step S206, the target message may be a preset text message or a preset voice message, and the user may set different target messages for different peer devices, for example: different target messages can be set for the opposite terminal equipment used by family and the opposite terminal equipment used by friend according to the classification.
Optionally, in this embodiment, the target device may be, but is not limited to, a communication device including a smartphone, a tablet computer, and the like.
As an alternative embodiment, the receiving the first call request of the second call sent by the second peer device includes:
s11, detecting the network type of the target device;
and S12, receiving the first call request when the network type meets a preset condition.
Optionally, in this embodiment, the network type of the target device may include, but is not limited to, network information of the target device, operator information of the target device, whether the target device registers a Voice over Long-Term Evolution (lte) service, and the like.
Alternatively, in this example, the predetermined condition may include, but is not limited to, that the target device resides on 5G (5th generation mobile networks), LTE (Long Term Evolution), WCDMA (Wideband Code Division Multiple Access), such as: when the first call is an operator call and the second call is a VOIP call, the target device may receive the first call request of the VOIP call when detecting that the target device resides on 5G, LTE, WCDMA, and when detecting that the target device resides on 1x (CDMA 20001X network, which is the second generation Mobile phone communication specification of telecommunications), GSM (Global System for Mobile Communications) network, the target device may not receive the first call request of the VOIP call.
Through the steps, the target equipment with the network type meeting the preset requirement can receive the first call request sent by the second opposite end equipment by detecting the network type of the target equipment, so that the call request of the VOIP call can be received on the basis of not influencing the first call when the call of an operator is established.
As an alternative embodiment, the detecting the first operation instruction includes at least one of:
s21, detecting the first operation instruction for controlling the target device to end the first call;
s22, detecting the first operation instruction for controlling the target device to reject the first call request;
s23, detecting the first operation instruction for controlling the target device to switch to the second call.
As an optional embodiment, sending the target message to the corresponding peer device according to the first operation instruction includes:
s31, when the first call is ended, switching an audio focus of the target device from the first call to the second call, where the audio focus is used to carry a call connected to the target device;
s32, sending a first target message to the first peer device through a first session protocol corresponding to the first session.
Optionally, in this embodiment, when a first operation instruction generated by a user by touching a fixed area on a screen of the target device or pressing a designated key on the target device is detected, the target device is controlled to end the first call according to the first operation instruction, at this time, the home application of the second call acquires an audio focus of the target device, and the acquiring of the audio focus of the target device by the home application of the second call may include, but is not limited to: acquiring the exclusive authority of the input and output equipment of the system and the exclusive authority of the audio coding equipment, and ensuring that the input and output operation control authority of the audio stream is handed to the application to which the new incoming call belongs.
Optionally, in this embodiment, the first call is an operator call, when the operator call is performed with the first peer device, the first call request of the second call is received, and when the first call is selected to be ended and the second call is connected, the operator network sends a message to notify the peer device of a reason of the current hang-up, for example: and sending a first target message to the opposite terminal equipment of the first call through a short message or the extension of a hang-up instruction in a call protocol.
Optionally, in this embodiment, the first target message is sent to the first peer device to notify a user of the first peer device of a current call situation of the target device, where the first target message may be, but is not limited to, a text message or a voice message, and the first target message may be set on the target device by the user, for example: the content is a text message that "i am listening to an important phone and later contacting you".
Through the steps, when the target equipment and the first opposite end equipment carry out operator conversation, the VOIP conversation request sent by the second opposite end equipment can be received, and when the operator is selected to hang up to put through the VOIP conversation, the notification message of the current hanging up reason can be sent to the first opposite end equipment through the operator network, so that the conversation experience of a user is improved.
As an optional embodiment, sending the target message to the corresponding peer device according to the operation instruction includes:
s41, sending the third target message to the second peer device through a second communication protocol corresponding to a second communication when the first communication request is rejected.
Optionally, in this embodiment, the second call is a VOIP call, when an operator call is performed with the first peer device, the call request of the VOIP call sent by the second peer device is received, when the call request of the VOIP call is selected to be rejected, the operator call is not affected, and the current hang-up reason of the peer device is notified through a data connection channel established by the corresponding application, for example: and sending a third notification message to the opposite terminal equipment of the second call by using the extension of sending a text message or referring to a hang-up instruction in the VOIP link management protocol of the third call.
As an optional embodiment, sending the target message to the corresponding peer device according to the first operation instruction includes:
s51, under the condition that the current conversation is switched to the second conversation, the audio focus of the target device is switched from the first conversation to the second conversation;
s52, when the audio focus of the target device is switched from the first call to the second call, sending a fourth target message to the first peer device of the first call through the first call protocol corresponding to the first call.
Optionally, in this embodiment, when the target device performs a first call with the first peer device, a first call request of a second call sent by the second peer device may be received, and the user may select to switch the first call to the second call, for example, a switching operation generated by touching a fixed area on a screen of the target device or a specific button on the target device, at this time, the first call enters a hold state, the target device system controls an audio focus to be switched from the first call to the second call, and meanwhile, a message is sent through the operator network to notify the peer device of a reason for currently holding the call, for example: and sending a notification message with the content of 'the other party is answering an important call, not hanging up and contacting with you later' to the opposite terminal equipment of the first call through a short message or the extension of a hanging up instruction in a call protocol.
As an optional embodiment, after sending the fourth target message to the first peer device of the first call through the first call protocol corresponding to the first call, the method further includes:
s61, detecting a call state of the second call;
and S62, when the second call is detected to be ended, switching the audio focus from the second call to the first call.
Optionally, in this embodiment, the detecting the call state of the second call may be, but is not limited to, implemented by detecting an occupation state of an audio focus of the target device by a home application of the second call, and when it is detected that the occupation of the audio focus of the target device by the home application of the second call is ended, transferring the audio focus of the target device to the home application of the first call, and automatically activating the first call in the call hold state.
As an alternative embodiment, after detecting the first operation instruction, the method further comprises:
s71, when the target device and the second peer device perform the second call, receiving a second call request of a third call sent by a third peer device, where the third call is an operator call;
s72, detecting a second operation instruction, wherein the second operation instruction is used for selecting a corresponding second target call in the second call and the third call;
and S73, sending a second target message to the corresponding opposite terminal device according to the second operation instruction, wherein the second target message is used for indicating the current call state of the target device.
Optionally, in this embodiment, when the first call is switched to the second call, the target device may also receive a call request of an operator call sent by a third peer device, and at this time, on the premise that the second call is not affected, the second call request may be displayed on a screen of the target device.
Alternatively, in this embodiment, the second operation instruction may be generated by the user by touching a designated area on the screen of the target device or pressing a specific key on the target device.
Optionally, in this embodiment, the call operation performed by the target device for each call according to the second operation instruction may include, but is not limited to: ending the second call, rejecting the second call request for the third call, switching the call from the second call to the third call, holding the third call, and so on, such as: and answering the third call after the second call is hung up, or keeping the second call to answer the third call, and switching on the second call after the third call is ended.
As an optional embodiment, the receiving the second call request of the third call sent by the third peer device includes: detecting the network type of the target equipment; and receiving the second communication request when the network type meets a preset condition.
Optionally, in this embodiment, when the second call is a VOIP call and the third call is an operator call, when the target device resides on a 5G, LTE or EVDO (CDMA 20001 xEV-DO, third generation telecommunication technology) network and the target device is not registered with volt, it is determined that the network type of the target device does not satisfy the predetermined condition, and at this time, when it is detected that the target device receives a call request of the operator call, the VOIP call is passively hung up, and when the target device resides on an LTE or 5G network and the terminal is registered with volt, the two calls may coexist.
As an alternative embodiment, the detecting the second operation instruction includes at least one of: detecting the second operation instruction for controlling the target device to end the second call; detecting the second operation instruction for controlling the target device to reject the second communication request; detecting the second operation instruction for controlling the target device to switch to the third call.
As an optional embodiment, sending the second target message to the corresponding peer device according to the second operation instruction includes: under the condition that the second call is ended, switching an audio focus of the target device from the second call to the third call, wherein the audio focus is used for bearing the call connected on the target device; and sending a fifth target message to the second opposite terminal device through a second communication protocol corresponding to the second communication.
As an optional embodiment, sending the second target message to the corresponding peer device according to the second operation instruction includes: and under the condition that the second call request is rejected, sending the sixth target message to the third opposite-end equipment through a third call protocol corresponding to a third call.
As an optional embodiment, sending the target message to the corresponding peer device according to the second operation instruction includes: under the condition that the current call is switched to the third call, switching the audio focus of the target device from the second call to the third call; and when the audio focus of the target equipment is switched from the second call to the third call, sending a seventh target message to a second opposite end equipment of the second call through the second call protocol corresponding to the second call.
As an optional embodiment, after the seventh target message is sent to the second peer device of the second call through the second communication protocol corresponding to the second call, the method further includes: detecting a call state of the third call; and when the third call is detected to be ended, switching the audio focus from the third call to the second call.
Fig. 3 is a schematic diagram of a method for processing an optional call according to an embodiment of the present application, where a first call is an operator call, and a second call is a VOIP call, as shown in fig. 3:
in step S301, the target device connects a first call with the first peer device,
step S302, when the target device performs a first call with the first peer device, a call request of a second call from the second peer device is monitored.
Step S303, judging the attribute information of the target device, when the target device resides on 5G, LTE and WCDMA, the second call can coexist with the first call, and at this time, executing step S304 on the basis of not influencing the first call; when the target device resides on the 1x GSM network, the target device cannot use the data network, and the target device cannot receive the call request of the second call, step S310 is executed.
And step S304, displaying an incoming call prompt of the second call on a screen of the target device under the condition that the second call and the first call can coexist.
In step S305, it is determined whether to answer the second call.
Step S306, when detecting an operation instruction for hanging up the second call generated by touching a designated area on the screen of the target device or pressing a designated key on the target device, hanging up the second call and executing step S310.
Step S307, when it is detected that an operation instruction for hanging up the first call and answering the second call is generated by touching a designated area on a screen of the target device or pressing a designated key on the target device, the application to which the second call belongs obtains an audio focus of the target device (including obtaining an exclusive right of a system input/output device and an exclusive right of an audio codec device, and ensuring that an input and output operation control right of an audio stream is handed to an application to which a new incoming call belongs, and connects the incoming call), at this time, a notification message is sent to the first peer device through an operator network, such as a short message or an extension of a hanging up instruction in a call protocol, to notify the peer device of hanging up caused by answering the second call, or notify the first peer device of a specific hanging up reason through a reason code carried by the hanging up instruction.
Step S308, when detecting an operation instruction for keeping the first call to answer the second call, which is generated by touching a designated area on a screen of the target device or pressing a designated key on the target device, the first call enters a holding state, an audio focus of the target device is transferred to an application to which the second call belongs, the second call is automatically activated, and meanwhile, a notification message is sent to the first peer device through an operator network, such as a short message or an extension of the holding call instruction in a call protocol, so as to inform the peer device of call holding caused by answering the second call, or inform the first peer device of a reason for keeping the specific call holding through a reason code carried by the holding call instruction.
Step S309, when it is detected that the second call is ended, the home application of the first call acquires the audio focus of the target device, and automatically activates the first call.
In step S310, the user ends the last call on the target device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
According to another aspect of the embodiment of the present application, there is also provided a call processing apparatus for implementing the call processing method. Fig. 4 is a schematic diagram of an alternative call processing apparatus according to an embodiment of the present application, and as shown in fig. 4, the apparatus may include:
the first receiving module 42 is configured to receive a first call request of a second call sent by a second peer device when a target device and the first peer device perform a first call, where the first call is an operator call, and the second call is a VOIP call;
a first detection module 44, configured to detect a first operation instruction, where the first operation instruction is used to select a corresponding first target call in the first call and the second call;
a first sending module 46, configured to send a target message to a corresponding peer device according to the first operation instruction, where the target message is used to indicate a current call state of the target device.
It should be noted that the first receiving module 42 in this embodiment may be configured to execute step S202 in this embodiment, the first detecting module 44 in this embodiment may be configured to execute step S204 in this embodiment, and the first sending module 46 in this embodiment may be configured to execute step S206 in this embodiment.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 1, and may be implemented by software or hardware.
Through the module, the technical effect of improving the conversation experience of the user is achieved, and the technical problem of poor conversation experience of the user is solved.
As an alternative embodiment, the receiving module comprises:
the first detection unit is used for detecting the network type of the target equipment;
and the receiving unit is used for receiving the first call request when the network type meets a preset condition.
As an alternative embodiment, the detection module includes at least one of:
a second detecting unit, configured to detect the first operation instruction for controlling the target device to end the first call;
a third detecting unit, configured to detect the first operation instruction for controlling the target device to reject the first call request;
a fourth detecting unit, configured to detect the first operation instruction for controlling the target device to switch to the second call.
As an alternative embodiment, the first sending module comprises:
a first switching unit, configured to switch an audio focus of the target device from the first call to the second call when the first call is ended, where the audio focus is used to carry a call that is connected to the target device;
and the first sending unit is used for sending a first target message to the first peer device through a first call protocol corresponding to the first call.
As an alternative embodiment, the first sending module comprises:
a second sending unit, configured to send the third target message to the second peer device through a second communication protocol corresponding to a second communication when the first communication request is rejected.
As an alternative embodiment, the first sending module comprises:
the second switching unit is used for switching the audio focus of the target equipment from the first call to the second call under the condition that the current call is switched to the second call;
a third sending unit, configured to send a fourth target message to a first peer device of the first call through the first call protocol corresponding to the first call when the audio focus of the target device is switched from the first call to the second call.
As an optional embodiment, after sending the fourth target message to the first peer device of the first call through the first call protocol corresponding to the first call, the apparatus further includes:
the second detection module is used for detecting the call state of the second call;
and the switching module is used for switching the audio focus from the second call to the first call when the second call is detected to be ended.
As an alternative embodiment, the apparatus further comprises:
a second receiving module, configured to receive, after detecting the first operation instruction, a second call request of a third call sent by a third peer device when the target device and the second peer device perform the second call, where the third call is an operator call;
the third detection module is used for detecting a second operation instruction, wherein the second operation instruction is used for selecting a corresponding second target call in the second call and the third call;
and a second sending module, configured to send a second target message to a corresponding peer device according to the second operation instruction, where the second target message is used to indicate a current call state of the target device.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to another aspect of the embodiment of the application, a server or a terminal for implementing the processing method of the call is also provided.
Fig. 5 is a block diagram of a terminal according to an embodiment of the present application, and as shown in fig. 5, the terminal may include: one or more processors 501 (only one of which is shown in fig. 5), a memory 503, and a transmission means 505. as shown in fig. 5, the terminal may further include an input-output device 507.
The memory 503 may be used to store software programs and modules, such as program instructions/modules corresponding to the call processing method and apparatus in the embodiment of the present application, and the processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 503, that is, implements the call processing method described above. The memory 503 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 503 may further include memory located remotely from the processor 501, which may be connected to the terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 505 is used for receiving or sending data via a network, and may also be used for data transmission between the processor and the memory. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 505 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 505 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Among them, the memory 503 is used to store an application program in particular.
The processor 501 may call the application stored in the memory 503 through the transmission means 505 to perform the following steps:
when a target device and a first opposite terminal device carry out a first call, receiving a first call request of a second call sent by a second opposite terminal device, wherein the first call is an operator call, and the second call is a VOIP call;
detecting a first operation instruction, wherein the first operation instruction is used for selecting a corresponding first target call in the first call and the second call;
and sending a target message to corresponding opposite terminal equipment according to the first operation instruction, wherein the target message is used for indicating the current call state of the target equipment.
The embodiment of the application provides a method and a device for processing a call. The method comprises the steps that when voice call between operators is carried out between target equipment and first opposite-end equipment, call requests of VOIP calls from second opposite-end equipment can be received, so that the purpose of simultaneously answering the operator calls and the VOIP calls is achieved, in addition, notification messages can be sent to corresponding terminal equipment based on operation instructions, so that users of the corresponding terminal equipment can know the current using state of the target terminal equipment, the technical effect of improving user call experience is achieved, and the technical problem of poor user call experience is solved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 5 is only an illustration, and the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 5 is a diagram illustrating a structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 5, or have a different configuration than shown in FIG. 5.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Embodiments of the present application also provide a storage medium. Alternatively, in this embodiment, the storage medium may be a program code for executing a processing method of a call.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
when a target device and a first opposite terminal device carry out a first call, receiving a first call request of a second call sent by a second opposite terminal device, wherein the first call is an operator call, and the second call is a VOIP call;
detecting a first operation instruction, wherein the first operation instruction is used for selecting a corresponding first target call in the first call and the second call;
and sending a target message to corresponding opposite terminal equipment according to the first operation instruction, wherein the target message is used for indicating the current call state of the target equipment.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method described in the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (11)

1. A method for processing a call, comprising:
when a target device and a first opposite terminal device carry out a first call, receiving a first call request of a second call sent by a second opposite terminal device, wherein the first call is an operator call, and the second call is a VOIP call;
detecting a first operation instruction, wherein the first operation instruction is used for selecting a corresponding first target call in the first call and the second call;
and sending a target message to corresponding opposite terminal equipment according to the first operation instruction, wherein the target message is used for indicating the current call state of the target equipment.
2. The method of claim 1, wherein receiving the first call request for the second call sent by the second peer device comprises:
detecting the network type of the target equipment;
and receiving the first call request when the network type meets a preset condition.
3. The method of claim 1, wherein detecting the first operation instruction comprises at least one of:
detecting the first operation instruction for controlling the target device to end the first call;
detecting the first operation instruction for controlling the target device to reject the first call request;
detecting the first operation instruction for controlling the target device to switch to the second call.
4. The method of claim 3, wherein sending the target message to the corresponding peer device according to the first operation instruction comprises:
under the condition that the first call is ended, switching an audio focus of the target device from the first call to the second call, wherein the audio focus is used for bearing the call connected on the target device;
and sending a first target message to the first peer device through a first call protocol corresponding to the first call.
5. The method of claim 3, wherein sending the target message to the corresponding peer device according to the first operation instruction comprises:
and under the condition that the first call request is rejected, sending a third target message to the second opposite terminal device through a second call protocol corresponding to a second call.
6. The method of claim 3, wherein sending the target message to the corresponding peer device according to the first operation instruction comprises:
under the condition that the current call is switched to the second call, switching the audio focus of the target equipment from the first call to the second call;
and when the audio focus of the target equipment is switched from the first call to the second call, sending a fourth target message to a first opposite terminal equipment of the first call through a first call protocol corresponding to the first call.
7. The method of claim 6, wherein after sending the fourth target message to the first peer device of the first call via the first call protocol corresponding to the first call, the method further comprises:
detecting a call state of the second call;
and when the second call is detected to be ended, switching the audio focus from the second call to the first call.
8. The method of claim 1, wherein after detecting the first operation instruction, the method further comprises:
when the target device and the second opposite terminal device carry out the second call, receiving a second call request of a third call sent by a third opposite terminal device, wherein the third call is an operator call;
detecting a second operation instruction, wherein the second operation instruction is used for selecting a corresponding second target call in the second call and the third call;
and sending a second target message to the corresponding opposite terminal device according to the second operation instruction, wherein the second target message is used for indicating the current call state of the target device.
9. A device for processing a call, comprising:
the device comprises a first receiving module, a second receiving module and a first sending module, wherein the first receiving module is used for receiving a first call request of a second call sent by a second opposite terminal device when a target device and the first opposite terminal device carry out a first call, the first call is an operator call, and the second call is a VOIP call;
the first detection module is used for detecting a first operation instruction, wherein the first operation instruction is used for selecting a corresponding first target call in the first call and the second call;
and the first sending module is used for sending a target message to the corresponding opposite terminal device according to the first operation instruction, wherein the target message is used for indicating the current call state of the target device.
10. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method of any of the preceding claims 1 to 8.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the method of any of the preceding claims 1 to 8 by means of the computer program.
CN202011025027.8A 2020-09-25 2020-09-25 Call processing method and device Pending CN112235472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011025027.8A CN112235472A (en) 2020-09-25 2020-09-25 Call processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011025027.8A CN112235472A (en) 2020-09-25 2020-09-25 Call processing method and device

Publications (1)

Publication Number Publication Date
CN112235472A true CN112235472A (en) 2021-01-15

Family

ID=74108677

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011025027.8A Pending CN112235472A (en) 2020-09-25 2020-09-25 Call processing method and device

Country Status (1)

Country Link
CN (1) CN112235472A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023025150A1 (en) * 2021-08-24 2023-03-02 华为技术有限公司 Call method, electronic device, and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809191A (en) * 2006-02-07 2006-07-26 宇龙计算机通信科技(深圳)有限公司 Multi-communication network call processing method for multi-mode terminal
CN101404699A (en) * 2008-11-19 2009-04-08 中国电信股份有限公司 Method, system and service platform for reminding incoming call in call
US20140368889A1 (en) * 2013-06-18 2014-12-18 Canon Kabushiki Kaisha Communication apparatus, method of controlling the same and storage medium
CN108668033A (en) * 2017-03-30 2018-10-16 展讯通信(上海)有限公司 Processing method, device, mobile terminal and the network side equipment newly sent a telegram here in call
CN110324913A (en) * 2019-07-04 2019-10-11 中国联合网络通信集团有限公司 5G network communication method, terminal, device, the network equipment and functional entity
CN111182598A (en) * 2019-12-31 2020-05-19 惠州Tcl移动通信有限公司 Call switching method and device, storage medium and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1809191A (en) * 2006-02-07 2006-07-26 宇龙计算机通信科技(深圳)有限公司 Multi-communication network call processing method for multi-mode terminal
CN101404699A (en) * 2008-11-19 2009-04-08 中国电信股份有限公司 Method, system and service platform for reminding incoming call in call
US20140368889A1 (en) * 2013-06-18 2014-12-18 Canon Kabushiki Kaisha Communication apparatus, method of controlling the same and storage medium
CN108668033A (en) * 2017-03-30 2018-10-16 展讯通信(上海)有限公司 Processing method, device, mobile terminal and the network side equipment newly sent a telegram here in call
CN110324913A (en) * 2019-07-04 2019-10-11 中国联合网络通信集团有限公司 5G network communication method, terminal, device, the network equipment and functional entity
CN111182598A (en) * 2019-12-31 2020-05-19 惠州Tcl移动通信有限公司 Call switching method and device, storage medium and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023025150A1 (en) * 2021-08-24 2023-03-02 华为技术有限公司 Call method, electronic device, and system

Similar Documents

Publication Publication Date Title
US9462495B2 (en) System and method for evaluating performance of concurrent mobile services of mobile devices
CN107251510B (en) System, device and method for establishing and maintaining VOIP call
CN105916149A (en) Operator network switching method and communication terminal
CN103517266B (en) Method for activating mobile terminal on mobile network side and mobile gateway system
CN105515937B (en) Instant messaging method, terminal, server and system
WO2018072656A1 (en) Multi-terminal communication method, server, terminal, and storage medium
CN112867074A (en) Data transmission method, electronic device and storage medium
CN105323720A (en) Trunking communication business processing method, trunking core network equipment, and user equipment
US10594859B2 (en) Communication method, apparatus, and system
CN105704106A (en) Visualization IVR realization method and mobile terminal
CN112235472A (en) Call processing method and device
CN110650254B (en) Information transmission method, information reception method, terminal, and storage medium
CN109905901B (en) Network selection method and device and computer readable storage medium
JP2018521583A (en) Application implementation method and service controller
JP2016225973A (en) Calling system, control device, program and calling method
CN109246311B (en) Switch selection method and device, equipment and storage medium
CN108271192A (en) A kind of VoLTE exceptions scene localization method and mobility management entity
CN107888482B (en) Instant messaging method and device
JP5664458B2 (en) Wireless terminal
CN104580272A (en) Method and apparatus for sharing data of UE
KR100678712B1 (en) Method and system for providing call waiting holding service
JP5951846B1 (en) CALLING SYSTEM, CONTROL DEVICE, PROGRAM, AND CALLING METHOD
US20170374691A1 (en) Systems and methods for managing communication sessions at endpoints accessible via more than one network
CN110602301B (en) Incoming call processing method, terminal device and computer readable storage medium
CN105722041B (en) Method and terminal for connecting multimedia message agent

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210115

RJ01 Rejection of invention patent application after publication