CN113114863B - Voice communication method, device, equipment and storage medium - Google Patents

Voice communication method, device, equipment and storage medium Download PDF

Info

Publication number
CN113114863B
CN113114863B CN202110349870.XA CN202110349870A CN113114863B CN 113114863 B CN113114863 B CN 113114863B CN 202110349870 A CN202110349870 A CN 202110349870A CN 113114863 B CN113114863 B CN 113114863B
Authority
CN
China
Prior art keywords
voice communication
identification information
area
user interface
displaying
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.)
Active
Application number
CN202110349870.XA
Other languages
Chinese (zh)
Other versions
CN113114863A (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Beijing Xiaomi Pinecone Electronic Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd, Beijing Xiaomi Pinecone Electronic Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202110349870.XA priority Critical patent/CN113114863B/en
Publication of CN113114863A publication Critical patent/CN113114863A/en
Application granted granted Critical
Publication of CN113114863B publication Critical patent/CN113114863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present disclosure relates to a voice communication method, apparatus, device and storage medium, the method comprising: responding to the establishment of a first voice communication connection with first equipment, and displaying first identification information of the first equipment in a preset conversation area on a user interface; and in response to receiving a second voice communication request sent by a second device in the process of carrying out voice communication with the first device based on the first voice communication connection, displaying second identification information of the second device in a preset waiting communication area on the user interface. The method and the device can display the identification information of the equipment currently in voice communication connection for the user, display the identification information of the equipment currently waiting for voice communication connection, and call again without the need of the user self-estimated time currently waiting for voice communication, so that the communication efficiency can be improved, and the user experience is improved.

Description

Voice communication method, device, equipment and storage medium
Technical Field
The disclosure relates to the technical field of terminal communication, and in particular relates to a voice communication method, device, equipment and storage medium.
Background
With the development of terminal technology, the frequency of communication by using terminals is increasing, including VOIP voice communication based on terminals. VOIP communication software on the market is five-flower eight doors, such as WeChat voice, QQ voice, flying book voice and the like. However, the VOIP communication scheme in the related art has the following disadvantages:
for example, if another terminal user c tries to perform VOIP voice communication with user a in the process of performing VOIP voice communication between terminal user a and user b, the terminal of user c will give a prompt such as busy network, and cannot establish voice call connection for user c.
Disclosure of Invention
To overcome the problems in the related art, embodiments of the present disclosure provide a voice communication method, apparatus, device, and storage medium, which are used to solve the drawbacks in the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a voice communication method, the method comprising:
Responding to the establishment of a first voice communication connection with first equipment, and displaying first identification information of the first equipment in a preset conversation area on a user interface;
and in response to receiving a second voice communication request sent by a second device in the process of carrying out voice communication with the first device based on the first voice communication connection, displaying second identification information of the second device in a preset waiting communication area on the user interface.
In an embodiment, the method further comprises:
in response to receiving a first voice communication request sent by the first device, displaying first identification information of the first device in a preset waiting communication area on the user interface;
and deleting the first identification information from the waiting communication area in response to detection of an operation for accepting the first voice communication request, and executing the operation of displaying the first identification information of the first device in the conversation area preset on the user interface.
In an embodiment, the operation for accepting the first voice communication request includes:
and an operation of moving the first identification information from the waiting communication area to the talking area.
In an embodiment, the method further comprises:
in response to detecting an operation for accepting the second voice communication request, a second voice communication connection with the second device is established, and the second identification information is deleted from the waiting communication area and displayed in the talking area.
In an embodiment, the method further comprises:
in response to detecting an operation for suspending voice communication with the second device, cutting off the second voice communication connection, deleting the second identification information from the in-call area, and displaying the second identification information in the to-be-communicated area.
In an embodiment, the method further comprises:
and in response to detection of an operation for stopping voice communication with the first device, cutting off the first voice communication connection, deleting the first identification information from the conversation-in area, and displaying the first identification information in a hang-up area preset on the user interface.
In an embodiment, the method further comprises:
and deleting the second identification information from the waiting communication area in response to detection of an operation for rejecting the second voice communication request, and displaying the second identification information in a hanging-up area preset on the user interface.
In an embodiment, the method further comprises:
in response to displaying the second identification information in the hang-up area, starting timing;
and deleting the second identification information from the hanging-up area in a set time period after starting timing.
According to a second aspect of embodiments of the present disclosure, there is provided a voice communication apparatus, the apparatus comprising:
the connection display module is used for responding to the establishment of a first voice communication connection with the first equipment and displaying first identification information of the first equipment in a preset conversation area on a user interface;
and the second equipment display module is used for responding to a second voice communication request sent by the second equipment in the process of carrying out voice communication with the first equipment based on the first voice communication connection, and displaying second identification information of the second equipment in a preset waiting communication area on the user interface.
In an embodiment, the apparatus further comprises:
the first equipment display module is used for responding to a first voice communication request sent by the first equipment and displaying first identification information of the first equipment in a preset waiting communication area on the user interface;
The connection establishment display module is further configured to delete the first identification information from the waiting communication area in response to detecting an operation for accepting the first voice communication request, and perform the operation of displaying the first identification information of the first device in the conversation area preset on the user interface.
In an embodiment, the operation for accepting the first voice communication request includes:
and an operation of moving the first identification information from the waiting communication area to the talking area.
In an embodiment, the device further comprises:
and a communication display module for establishing a second voice communication connection with the second device in response to detecting an operation for accepting the second voice communication request, deleting the second identification information from the waiting communication area, and displaying the second identification information in the talking area.
In an embodiment, the device further comprises:
and the pause communication display module is used for responding to the detection of the operation for pausing the voice communication with the second equipment, cutting off the second voice communication connection, deleting the second identification information from the conversation-in area and displaying the second identification information in the area to be communicated.
In an embodiment, the device further comprises:
and the communication stopping display module is used for responding to the detection of the operation for stopping the voice communication with the first equipment, cutting off the first voice communication connection, deleting the first identification information from the conversation-in area and displaying the first identification information in a hanging-up area preset on the user interface.
In an embodiment, the device further comprises:
and the refusal request display module is used for deleting the second identification information from the waiting communication area and displaying the second identification information in a hanging-up area preset on the user interface in response to the detection of the operation for refusing the second voice communication request.
In an embodiment, the device further comprises: an information deletion module;
the information deleting module comprises:
a timing unit for starting timing in response to displaying the second identification information in the hang-up area;
and the deleting unit is used for deleting the second identification information from the hanging-up area after a set time length is counted.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, the device comprising:
A processor and a memory for storing processor-executable instructions;
wherein the processor is configured to:
responding to the establishment of a first voice communication connection with first equipment, and displaying first identification information of the first equipment in a preset conversation area on a user interface;
and in response to receiving a second voice communication request sent by a second device in the process of carrying out voice communication with the first device based on the first voice communication connection, displaying second identification information of the second device in a preset waiting communication area on the user interface.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements:
responding to the establishment of a first voice communication connection with first equipment, and displaying first identification information of the first equipment in a preset conversation area on a user interface;
and in response to receiving a second voice communication request sent by a second device in the process of carrying out voice communication with the first device based on the first voice communication connection, displaying second identification information of the second device in a preset waiting communication area on the user interface.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
according to the method and the device for displaying the identification information of the equipment currently in voice communication connection, the identification information of the equipment currently in voice communication connection can be displayed for a user, the identification information of the equipment currently in voice communication connection can be displayed, the user does not need to wait for the user to call again in a self-estimated time of voice communication, communication efficiency can be improved, and user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1A is a flowchart illustrating a method of voice communication, according to an example embodiment;
FIG. 1B is a schematic diagram of various areas on a user interface shown according to an exemplary embodiment;
FIG. 1C is a diagram illustrating identification information of a calling area display device on a user interface according to an exemplary embodiment;
FIG. 1D is a diagram illustrating identification information of a calling area and a waiting for listening area display devices on a user interface according to an exemplary embodiment;
FIG. 2A is a flow chart illustrating a method of voice communication according to yet another exemplary embodiment;
FIG. 2B is a diagram illustrating identification information of a waiting listening area display device on a user interface according to an exemplary embodiment;
FIG. 2C is a diagram illustrating the display of identification information for two or more devices in a talk region on a user interface according to an exemplary embodiment;
FIG. 2D is a diagram illustrating identification information of a calling area and a hanging up area display device on a user interface according to an exemplary embodiment;
FIG. 3 is a flowchart illustrating the deletion of second identification information from a hang-up area according to an exemplary embodiment;
FIG. 4 is a block diagram of a voice communication apparatus according to an exemplary embodiment;
FIG. 5 is a block diagram of a voice communication apparatus according to yet another exemplary embodiment;
fig. 6 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
FIG. 1A is a flowchart illustrating a method of voice communication, according to an example embodiment; the method of the embodiment can be applied to terminal equipment (such as a smart phone, a tablet computer, a notebook computer, a wearable device and the like) provided with voice communication software.
As shown in fig. 1A, the method includes the following steps S101-S102:
in step S101, in response to establishing a first voice communication connection with a first device, first identification information of the first device is displayed in a preset talking area on a user interface.
In this embodiment, the terminal device may establish a first voice communication connection with the first device based on pre-installed voice communication software, and display first identification information of the first device in a call area preset on a user interface of the voice communication software. The voice communication software may include VOIP communication software, such as WeChat voice software, QQ voice software, flybook voice software, and the like.
For example, FIG. 1B is a schematic diagram of various areas on a user interface shown according to an exemplary embodiment; fig. 1C is a schematic diagram of identification information of a calling area display device on a user interface shown according to an exemplary embodiment.
As shown in fig. 1B, the user interface of the voice communication software pre-installed by the terminal device may be divided into a talking area, a waiting-for-listening area, and a hang-up area. As the name suggests, the area being talk may be used to display an identification of the device with which the terminal device is in voice communication; the waiting answering area may be used to display an identification of the device currently waiting for voice communication with the terminal device; and the hang-up area may be used to display an identification of a device that was denied voice communication by the terminal device for a set time prior to the current time. In this embodiment, assuming that the current user of the terminal device is user a, when the terminal device establishes a first voice communication connection with a first device of user b, first identification information of the first device may be displayed in the above-mentioned in-call area, for example, the identification information "b" may be displayed in the "in-call area" shown in fig. 1C.
The first identification information of the first device may be set based on actual needs, for example, one or more of a user name, a nickname, an avatar, and the like of the first device, which is not limited in this embodiment.
It should be noted that, the terminal device may establish a first voice communication connection with the first device in response to a voice communication request initiated by the first device, or may actively initiate a voice communication request to the first device, so as to establish the first voice communication connection with the first device after the first device responds to the request. In either case, the terminal device may display, on a user interface of the terminal device, first identification information of the first device in a call-in area preset on the user interface of the terminal device when the first voice communication connection with the first device is established.
Considering that different terminal operating systems have different system interfaces, the embodiment takes an Android operating system as an example for explanation. After the terminal equipment establishes a first voice communication connection with the first equipment, voice information from the first equipment can be acquired based on the first voice communication connection, and the voice information from the first equipment is played by adopting an AudioTrack interface; meanwhile, the terminal device can record the voice information of the current user of the terminal device by adopting the AudioRecord interface, and send the recorded voice information to the first device based on the first voice communication connection. In addition, the terminal device may also notify, based on the setMode interface of the AudioManager, that other application programs are currently in a voice communication state, so that the other application programs mute or pause playing of audio information, and the like.
In step S102, in response to receiving a second voice communication request sent by a second device during voice communication with the first device based on the first voice communication connection, second identification information of the second device is displayed in a waiting communication area preset on the user interface.
In this embodiment, if the user of the second device wants to perform voice communication with the terminal device during the process that the terminal device performs voice communication with the first device based on the first voice communication connection, the user of the second device may send a second voice communication request to the terminal device, where the second voice communication request requests the terminal device to establish voice communication connection with the second device, and perform voice communication. On the basis, the terminal device can display second identification information of the second device in a waiting communication area preset on the user interface in response to receiving the second voice communication request.
The second identification information of the second device may be set based on actual needs, for example, set to one or more of a user name, a nickname, and an avatar of the second device, which is not limited in this embodiment.
In an embodiment, when the terminal device receives the second voice communication request sent by the second device, an alert tone such as an incoming ring tone may be played based on the user setting, so that the user of the terminal device knows that a new voice communication request is currently available.
For example, fig. 1D is a schematic diagram showing identification information of a device in a talk zone and a waiting-for-listening zone on a user interface according to an exemplary embodiment. In the process that the terminal device is connected to the first device based on the first voice communication to perform voice communication, if a second voice communication request sent by the second device of the user C is received, second identification information of the second device can be displayed in a waiting communication area preset on the user interface in response to the second voice communication request, for example, the identification information "C" is displayed in a "waiting answer area" shown in fig. 1D.
As can be seen from the foregoing description, in the method of this embodiment, in response to establishing a first voice communication connection with a first device, displaying, in a preset call area on a user interface, first identification information of the first device, and in response to receiving, in a process of performing voice communication with the first device based on the first voice communication connection, a second voice communication request sent by a second device, displaying, in a preset waiting communication area on the user interface, second identification information of the second device, the identification information of a device currently performing voice communication connection may be displayed for a user, and the identification information of a device currently waiting for performing voice communication connection may be displayed, and a user who does not need to currently wait for performing voice communication may call again from an estimated time, so that communication efficiency may be improved, and user experience may be improved.
FIG. 2A is a flow chart illustrating a method of voice communication according to yet another exemplary embodiment; fig. 2B is a schematic diagram showing identification information of a waiting listening area display device on a user interface according to an exemplary embodiment.
The method of the embodiment can be applied to terminal equipment (such as a smart phone, a tablet computer, a notebook computer, a wearable device and the like) provided with voice communication software.
As shown in fig. 2A, the method includes the following steps S201 to S207:
in step S201, in response to receiving a first voice communication request sent by a first device, first identification information of the first device is displayed in a waiting communication area preset on the user interface.
In this embodiment, assuming that the current user of the terminal device is user a, when the terminal device receives a first voice communication request sent by a first device of user b, the first identification information of the first device may be displayed in a waiting communication area preset on a user interface of voice communication software pre-installed in the terminal device. For example, the "waiting communication area" on the user interface shown in fig. 2B displays the first identification information "B" of the first device.
In step S202, in response to detecting the operation for accepting the first voice communication request, a first voice communication connection with a first device is established, the first identification information is deleted from the waiting communication area, and first identification information of the first device is displayed in a conversation area preset on the user interface.
For example, when the terminal device detects an operation triggered by the user to move the first identification information of the first device from the waiting communication area to the communication area, a first voice communication connection may be established between the terminal device and the first device, the first identification information is deleted from the waiting communication area, and the first identification information of the first device is displayed in the communication area preset on the user interface, and a specific display manner may be referred to fig. 1C, which is not described herein.
It can be appreciated that, the present embodiment may implement an operation of moving the first identification information of the first device from the waiting communication area to the in-call area based on the user trigger, establish a first voice communication connection with the first device, and display the first identification information of the first device in the in-call area preset on the user interface.
In step S203, in response to receiving a second voice communication request sent by a second device during voice communication with the first device based on the first voice communication connection, second identification information of the second device is displayed in a waiting communication area preset on the user interface.
The explanation and explanation of steps S203 and S203 may be referred to the embodiment shown in fig. 1A, and will not be repeated here.
In step S204, in response to detecting an operation for accepting the second voice communication request, a second voice communication connection with the second device is established, and the second identification information is deleted from the waiting communication area and displayed in the talking area.
In this embodiment, when second identification information of the second device is displayed in a waiting communication area preset on the user interface, in response to detecting an operation for accepting the second voice communication request, a second voice communication connection with the second device may be established, the second identification information may be deleted from the waiting communication area, and the second identification information may be displayed in the talking area.
For example, fig. 2C is a schematic diagram showing identification information of two or more devices being displayed in a talk region on a user interface according to an example embodiment. In this embodiment, when the terminal device displays the second identification information of the second device in the waiting communication area preset on the user interface, in response to detecting the operation for accepting the second voice communication request, a second voice communication connection with the second device may be established, the second identification information may be deleted from the waiting communication area, and the second identification information may be displayed in the talking area, where the "talking area" on the user interface of the terminal device simultaneously displays the first identification information "b" of the first device and the second identification information "C" of the second device, as shown in fig. 2C.
It can be understood that, after the terminal device establishes the second voice communication connection with the second device, the voice information from the second device can be obtained based on the second voice communication connection, and the voice information from the second device can be played by adopting the AudioTrack interface; meanwhile, the terminal device can record the voice information of the current user of the terminal device by adopting the AudioRecord interface, and send the recorded voice information to the second device based on the second voice communication connection. In addition, the terminal device may also notify, based on the setMode interface of the AudioManager, that other application programs are currently in a voice communication state, so that the other application programs mute or pause playing of audio information, and the like.
It should be noted that, when the terminal device performs voice communication with the first device and the second device at the same time, the first device may also obtain the voice information from the second device through the AudioTrack interface and the AudioRecord interface of the terminal device. Specifically, when the AudioTrack interface of the terminal device plays the voice information from the second device, the AudioRecord interface of the terminal device records the voice information from the second device, and then sends the voice information of the second device to the first device based on the first voice communication connection, so that the first device obtains the voice information from the second device.
Similarly, the second device may obtain the voice information from the first device through the AudioTrack interface and the AudioRecord interface of the terminal device.
In step S205, in response to detection of an operation for suspending voice communication with the second device, the second voice communication connection is disconnected, and the second identification information is deleted from the in-call area and displayed in the to-be-communicated area.
In this embodiment, when the terminal device establishes a second voice communication connection with the second device in response to detection of an operation for accepting the second voice communication request, and deletes the second identification information from the waiting communication area, and after the second identification information is displayed in the talking area, the terminal device may cut off the second voice communication connection in response to detection of an operation for suspending voice communication with the second device, and delete the second identification information from the talking area, and display the second identification information in the waiting communication area.
For example, when the terminal device performs voice communication with the first device of the second user and the second device of the third user at the same time, and the first identification information of the first device and the second identification information of the second device are displayed at the same time in the conversation area of the user interface, if the first user of the terminal device does not want to hang up the voice communication with the second device of the third user, but does not want the third user to hear the conversation content between itself (i.e., the first user) and the second user, an operation for suspending the voice communication with the second device may be triggered, and the terminal device may further cut off the second voice communication connection in response to the operation, such as notifying that the AudioTrack interface for the second device performs mute processing in the terminal device, and the AudioRecord interface for the second device also does not record the voice of the first user of the terminal device. On the other hand, the second identification information "c" may be deleted from the communication area, and the second identification information "c" may be displayed in the communication area, that is, the user interface of the terminal device returns to the interface when the second voice communication request sent by the second device is received, as shown in fig. 1D. In an embodiment, after the user interface returns to the interface when the second voice communication request sent by the second device is received, an alert tone such as an incoming ring tone may be played again based on the user setting, so that the user of the terminal device knows that the second device is waiting for establishing the second voice communication connection.
Wherein the operation for suspending the voice communication with the second device may include an operation of moving the second identification information from the in-call area to the waiting communication area.
In step S206, in response to detecting an operation for stopping voice communication with the first device, the first voice communication connection is disconnected, the first identification information is deleted from the in-call area, and the first identification information is displayed in a hang-up area preset on the user interface.
In this embodiment, when the operation for accepting the second voice communication request is detected in step S204, a second voice communication connection with the second device is established, the second identification information is deleted from the waiting communication area, and after the second identification information is displayed in the talking area, the first voice communication connection may be cut in response to the detection of the operation for stopping voice communication with the first device, for example, the destruction process for the AudioTrack interface and AudioRecord interface of the second device in the terminal device is notified, and the release of the system resource is completed.
On the other hand, the first identification information may be deleted from the conversation-in area, and the first identification information may be displayed in a hang-up area preset on the user interface.
For example, when the terminal device performs voice communication with the first device of the user b and the second device of the user c at the same time, and the first identification information of the first device and the second identification information of the second device are displayed at the same time in the conversation area of the user interface, if the user a of the terminal device wants to hang up the voice communication with the first device of the user b, an operation for stopping the voice communication with the first device may be triggered, and further the terminal device may disconnect the first voice communication connection in response to the operation, delete the first identification information "b" from the conversation area, and display the first identification information "b" in the hang-up area, at this time, the user interface of the terminal device is as shown in fig. 2D.
The operation for stopping voice communication with the first device may include an operation of moving the second identification information from the conversation area to the hang-up area.
In step S207, in response to detection of an operation for rejecting the second voice communication request, the second identification information is deleted from the waiting communication area, and the second identification information is displayed in a hang-up area preset on the user interface.
In this embodiment, after the second identification information of the second device is displayed in the waiting communication area preset on the user interface in response to receiving the second voice communication request sent by the second device during the voice communication with the first device based on the first voice communication connection in step S203, if the user of the terminal device does not wish to accept the second voice communication request, an operation for rejecting the second voice communication request may be triggered, and further the terminal device may delete the second identification information from the waiting communication area in response to detecting the operation for rejecting the second voice communication request, and display the second identification information in the hanging-up area preset on the user interface. At this time, the user interface of the terminal device is similar to that shown in fig. 2D, except that the first identification information "b" of the first device is displayed in the "in-call area", and the second identification information "c" of the second device is displayed in the "hang-up area".
In an embodiment, fig. 3 is a flow chart illustrating the deletion of the second identification information from the hang-up area according to an exemplary embodiment. As shown in fig. 3, on the basis of the embodiment shown in fig. 2A, the method of this embodiment may further include the following steps S301 to S302:
In step S301, in response to displaying the second identification information in the hang-up area, a timer is started.
In step S302, the second identification information is deleted from the hanging-up area for a set period after starting timing.
In this embodiment, when the second identification information is displayed in the hang-up area, the timer may be started, and then the second identification information may be deleted from the hang-up area in a set period after the timer is started.
It should be noted that the above-mentioned set time period may be set based on actual needs, for example, set to 3 seconds, which is not limited in this embodiment.
It should be noted that, the three-party user voice communication scenario between the terminal device and the first device and the second device described in the above embodiment is only used for illustration, and may be extended to more multi-party user voice communication scenarios in practical application, which is not limited in this embodiment.
As can be seen from the above description, by applying the scheme provided by the embodiment, the user can implement voice communication with the corresponding device based on the operation of the identification information of the device displayed in each area of the user interface, or pause and stop the voice communication, so that the operation process of the user can be simplified, the user can select the caller, the communication efficiency can be improved, and the requirements of the user can be met.
FIG. 4 is a block diagram of a voice communication apparatus according to an exemplary embodiment; the device of the embodiment is applied to terminal equipment (such as a smart phone, a tablet computer, a notebook computer, a wearable device and the like) provided with voice communication software. As shown in fig. 4, the apparatus includes: establishing a connection display module 110 and a second device display module 120, wherein:
a connection display module 110, configured to respond to establishment of a first voice communication connection with a first device, and display first identification information of the first device in a preset conversation area on a user interface;
and the second device display module 120 is configured to display second identification information of a second device in a waiting communication area preset on the user interface in response to receiving a second voice communication request sent by the second device in a process of performing voice communication with the first device based on the first voice communication connection.
As can be seen from the foregoing description, the apparatus in this embodiment may display, for a user, the identification information of the device currently being connected to the voice communication device and the identification information of the device currently waiting to be connected to the voice communication device by responding to the establishment of the first voice communication connection with the first device, displaying the first identification information of the first device in a preset conversation area on a user interface, and receiving, during the voice communication with the first device based on the first voice communication connection, a second voice communication request sent by a second device, displaying the second identification information of the second device in a preset waiting communication area on the user interface, thereby enabling the user to display the identification information of the device currently being connected to the voice communication device, enabling the user to display the identification information of the device currently waiting to be connected to the voice communication device, and enabling the user to make a call again without the need of the user's own estimated time currently waiting to be connected to the voice communication device, and improving the communication efficiency and user experience.
FIG. 5 is a block diagram of a voice communication apparatus according to yet another exemplary embodiment; the device of the embodiment is applied to terminal equipment (such as a smart phone, a tablet computer, a notebook computer, a wearable device and the like) provided with voice communication software. The function of the connection establishment display module 210 and the second device display module 220 is the same as that of the connection establishment display module 110 and the second device display module 120 in the embodiment shown in fig. 4, and will not be described herein. As shown in fig. 5, the apparatus may further include:
a first device display module 230, configured to display, in response to receiving a first voice communication request sent by the first device, first identification information of the first device in a waiting communication area preset on the user interface;
the connection establishment display module 210 may be further configured to delete the first identification information from the waiting communication area and perform the operation of displaying the first identification information of the first device in the conversation area preset on the user interface in response to the detection of the operation for accepting the first voice communication request.
In an embodiment, the operation for accepting the first voice communication request may include:
And an operation of moving the first identification information from the waiting communication area to the talking area.
In an embodiment, the apparatus may further include:
the communication display module 240 is configured to establish a second voice communication connection with the second device in response to detecting an operation for accepting the second voice communication request, delete the second identification information from the waiting communication area, and display the second identification information in the talking area.
In an embodiment, the apparatus may further include:
a pause communication display module 250 for cutting off the second voice communication connection and deleting the second identification information from the in-call area and displaying the second identification information in the to-be-communicated area in response to detecting an operation for pausing voice communication with the second device.
In an embodiment, the apparatus may further include:
and a communication stopping display module 260, configured to, in response to detecting an operation for stopping voice communication with the first device, cut off the first voice communication connection, delete the first identification information from the in-call area, and display the first identification information in a hang-up area preset on the user interface.
In an embodiment, the apparatus may further include:
and a reject request display module 270, configured to delete the second identification information from the waiting communication area and display the second identification information in a hang-up area preset on the user interface in response to detecting an operation for rejecting the second voice communication request.
In an embodiment, the apparatus may further include: an information deletion module 280;
the information deletion module 280 may include:
a timing unit 281 for starting timing in response to displaying the second identification information in the hang-up area;
and the deleting unit 282 is configured to delete the second identification information from the hanging-up area after a set duration after starting timing.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 6 is a block diagram of an electronic device, according to an example embodiment. For example, device 900 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, and the like.
Referring to fig. 6, device 900 may include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, and a communication component 916.
The processing component 902 generally controls overall operation of the device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 902 can include one or more modules that facilitate interaction between the processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operations at the device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phonebook data, messages, pictures, videos, and the like. The memory 904 may be implemented by any type of volatile or nonvolatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 906 provides power to the various components of the device 900. Power supply components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 900.
The multimedia component 908 comprises a screen between the device 900 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front-facing camera and/or a rear-facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 900 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 910 is configured to output and/or input audio signals. For example, the audio component 910 includes a Microphone (MIC) configured to receive external audio signals when the device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 904 or transmitted via the communication component 916. In some embodiments, the audio component 910 further includes a speaker for outputting audio signals.
The I/O interface 912 provides an interface between the processing component 902 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 914 includes one or more sensors for providing status assessment of various aspects of the device 900. For example, the sensor assembly 914 may detect the on/off state of the device 900, the relative positioning of the components, such as the display and keypad of the device 900, the sensor assembly 914 may also detect the change in position of the device 900 or one component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration/deceleration of the device 900, and the change in temperature of the device 900. The sensor assembly 914 may also include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate communication between the device 900 and other devices, either wired or wireless. The device 900 may access a wireless network based on a communication standard, such as WiFi,2G or 3G,4G or 5G, or a combination thereof. In one exemplary embodiment, the communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as a memory 904 including instructions executable by the processor 920 of the device 900 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A method of voice communication, the method comprising:
responding to the establishment of a first voice communication connection with first equipment, and displaying first identification information of the first equipment in a preset conversation area on a user interface;
in response to receiving a second voice communication request sent by a second device in the process of carrying out voice communication with the first device based on the first voice communication connection, displaying second identification information of the second device in a preset waiting communication area on the user interface;
Deleting the second identification information from the waiting communication area in response to detection of an operation for rejecting the second voice communication request, and displaying the second identification information in a hanging-up area preset on the user interface;
in response to displaying the second identification information in the hang-up area, starting timing;
and deleting the second identification information from the hanging-up area in a set time period after starting timing.
2. The method according to claim 1, wherein the method further comprises:
in response to receiving a first voice communication request sent by the first device, displaying first identification information of the first device in a preset waiting communication area on the user interface;
and deleting the first identification information from the waiting communication area in response to detection of an operation for accepting the first voice communication request, and executing the operation of displaying the first identification information of the first device in the conversation area preset on the user interface.
3. The method of claim 2, wherein the operation for accepting the first voice communication request comprises:
And an operation of moving the first identification information from the waiting communication area to the talking area.
4. The method according to claim 1, wherein the method further comprises:
in response to detecting an operation for accepting the second voice communication request, a second voice communication connection with the second device is established, and the second identification information is deleted from the waiting communication area and displayed in the talking area.
5. The method according to claim 4, wherein the method further comprises:
in response to detecting an operation for suspending voice communication with the second device, cutting off the second voice communication connection, deleting the second identification information from the in-call area, and displaying the second identification information in the to-be-communicated area.
6. The method according to claim 4, wherein the method further comprises:
and in response to detection of an operation for stopping voice communication with the first device, cutting off the first voice communication connection, deleting the first identification information from the conversation-in area, and displaying the first identification information in a hang-up area preset on the user interface.
7. A voice communication apparatus, the apparatus comprising:
the connection display module is used for responding to the establishment of a first voice communication connection with the first equipment and displaying first identification information of the first equipment in a preset conversation area on a user interface;
a second device display module, configured to display second identification information of a second device in a waiting communication area preset on the user interface in response to receiving a second voice communication request sent by the second device in a process of performing voice communication with the first device based on the first voice communication connection;
a reject request display module, configured to delete the second identification information from the waiting communication area and display the second identification information in a hang-up area preset on the user interface in response to detecting an operation for rejecting the second voice communication request;
the apparatus further comprises: an information deletion module;
the information deleting module comprises:
a timing unit for starting timing in response to displaying the second identification information in the hang-up area;
and the deleting unit is used for deleting the second identification information from the hanging-up area after a set time length is counted.
8. An electronic device, the device comprising:
a processor and a memory for storing processor-executable instructions;
wherein the processor is configured to:
responding to the establishment of a first voice communication connection with first equipment, and displaying first identification information of the first equipment in a preset conversation area on a user interface;
in response to receiving a second voice communication request sent by a second device in the process of carrying out voice communication with the first device based on the first voice communication connection, displaying second identification information of the second device in a preset waiting communication area on the user interface;
deleting the second identification information from the waiting communication area in response to detection of an operation for rejecting the second voice communication request, and displaying the second identification information in a hanging-up area preset on the user interface;
in response to displaying the second identification information in the hang-up area, starting timing;
and deleting the second identification information from the hanging-up area in a set time period after starting timing.
9. A computer readable storage medium having stored thereon a computer program, characterized in that the program when executed by a processor realizes:
Responding to the establishment of a first voice communication connection with first equipment, and displaying first identification information of the first equipment in a preset conversation area on a user interface;
in response to receiving a second voice communication request sent by a second device in the process of carrying out voice communication with the first device based on the first voice communication connection, displaying second identification information of the second device in a preset waiting communication area on the user interface;
deleting the second identification information from the waiting communication area in response to detection of an operation for rejecting the second voice communication request, and displaying the second identification information in a hanging-up area preset on the user interface;
in response to displaying the second identification information in the hang-up area, starting timing;
and deleting the second identification information from the hanging-up area in a set time period after starting timing.
CN202110349870.XA 2021-03-31 2021-03-31 Voice communication method, device, equipment and storage medium Active CN113114863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110349870.XA CN113114863B (en) 2021-03-31 2021-03-31 Voice communication method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110349870.XA CN113114863B (en) 2021-03-31 2021-03-31 Voice communication method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113114863A CN113114863A (en) 2021-07-13
CN113114863B true CN113114863B (en) 2023-05-30

Family

ID=76713336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110349870.XA Active CN113114863B (en) 2021-03-31 2021-03-31 Voice communication method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113114863B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954556A (en) * 2015-05-19 2015-09-30 京东方科技集团股份有限公司 Message prompting method and device
WO2017113322A1 (en) * 2015-12-31 2017-07-06 华为技术有限公司 Call prompting method
CN106534457B (en) * 2016-10-31 2019-05-31 努比亚技术有限公司 Call handover method and device
CN108415753A (en) * 2018-03-12 2018-08-17 广东欧珀移动通信有限公司 Method for displaying user interface, device and terminal

Also Published As

Publication number Publication date
CN113114863A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
KR101894644B1 (en) Method, device and terminal device for playing game in chatting interface
KR101814110B1 (en) Method and apparatus for displaying conversation interface
CN105915521B (en) Multi-party call management method, device and terminal
CN106792937B (en) Method and device for processing call request
CN107846730B (en) Call forwarding method and device
CN106714125B (en) Method and device for setting call forwarding number
CN107172604B (en) Call processing method and device and terminal electronic equipment
CN111246032B (en) Call management method and device
CN107277422B (en) Video call method, device and system
CN113114863B (en) Voice communication method, device, equipment and storage medium
CN107026941B (en) Method and device for processing reply of unread message
CN107193446B (en) Image processing method, device, terminal and storage medium
CN111865767B (en) User display method, device, server, client, terminal and storage medium for indirectly monitoring telephone in instant messaging
CN106535147B (en) Communication signal processing method and device
CN112640569B (en) Connection establishment method and device
CN114615647A (en) Call control method, device and storage medium
CN114268691A (en) Call method, device, terminal equipment and readable storage medium
CN108551459B (en) Method and device for communication between devices and readable storage medium
CN111865769A (en) Method and device for adding contact persons according to call records by instant messaging tool, server, client, terminal and storage medium
CN112511686A (en) Recording method and earphone equipment
CN108234782B (en) Incoming call processing method, device and equipment
CN106170038B (en) Recording method and device
CN111010481B (en) Incoming call monitoring method, incoming call monitoring device and computer storage medium
CN111835919B (en) Service processing method and device of broadband cluster terminal and broadband cluster terminal
EP3276929B1 (en) Method and device for obtaining a call record

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
GR01 Patent grant
GR01 Patent grant