CN117812547A - Call transfer method and electronic equipment - Google Patents

Call transfer method and electronic equipment Download PDF

Info

Publication number
CN117812547A
CN117812547A CN202211217116.1A CN202211217116A CN117812547A CN 117812547 A CN117812547 A CN 117812547A CN 202211217116 A CN202211217116 A CN 202211217116A CN 117812547 A CN117812547 A CN 117812547A
Authority
CN
China
Prior art keywords
call
equipment
mobile phone
target
signaling
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
CN202211217116.1A
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211217116.1A priority Critical patent/CN117812547A/en
Publication of CN117812547A publication Critical patent/CN117812547A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a call transfer method and electronic equipment, which relate to the technical field of communication, and can transfer a call between a main device and opposite side equipment in a distributed call system between any two devices in the distributed call system where the main device is located. Specifically, the call can be transferred from the master device to the slave device, and the call can be transferred from one slave device to another slave device, so that the call on the master device side can be arbitrarily transferred, multiple times of transfer is supported, various call transfer requirements of a user are met, the user can use any one device in the distributed call system to continue to communicate with the other device, namely, the call is kept, the call restriction is reduced, and the call experience of the user is improved.

Description

Call transfer method and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a call transfer method and an electronic device.
Background
With the development of mobile terminals (such as mobile phones), voice communication (i.e., talking) is one of the most common scenes in modern life, and brings great convenience to interpersonal communication. During the process of communicating with the other party device (such as the calling device or the called device), the user does not want to continue to use the mobile phone to communicate with the other party device (such as the tablet computer) for some reasons, and hopes to use other devices to continue to communicate with the other party device. Therefore, a call transfer method is needed to transfer the call of the mobile phone to other devices so that the user can continue to talk with the other devices.
Disclosure of Invention
In view of this, the present application provides a call transfer method and an electronic device, so as to implement call transfer, so that a user can use other devices to continue to talk with a counterpart device in the process of talking between a mobile phone and the counterpart device.
In a first aspect, the present application provides a call transfer method, in a process of performing a voice call between a first device and a counterpart device, in response to a first operation performed on the first device by a user, the first device displaying a device list, where the device list includes at least one device identifier, and the at least one device identifier includes a device identifier of the first device and/or a device identifier of at least one second device; the first device and the respective second devices are based on a near field communication connection.
When a user selects a device identifier of a first target device in the device list, if the first device collects voice data and performs voice communication with the opposite device, the first device sends transfer signaling to the first target device based on a data transmission channel between the first device and the first target device. When the first target equipment receives the transfer signaling, continuing the voice call between the first equipment and the opposite side equipment, carrying out voice call between the first target equipment and the opposite side equipment through the first equipment, and updating the call state of the first target equipment into a call in-process state;
The first target device performs voice communication with the opposite device through the first device, and includes:
the first target device sends first voice data collected by a microphone in the first target device to the first device based on a sound transmission channel between the first target device and the first device so as to send the first voice data to the opposite device through the first device;
when the first device receives second voice data sent by the opposite device, the second voice data is sent to the first target device based on a sound transmission channel between the first device and the first target device, so that the first target device plays the second voice data through a loudspeaker in the first target device.
The data transmission channel is used for transmitting call signaling and/or call data; the call signaling includes transfer signaling and/or disconnect signaling; the call data includes a telephone number of the counterpart device; the disconnect signaling is used to trigger the second device to disconnect the call. The sound transmission channel is used for transmitting call voice data.
In the application, in the process of the conversation between the first equipment and the opposite side equipment, when the user is inconvenient to use the first equipment to continue the conversation, the conversation can be continued by means of the second equipment, so that the situation that the user can keep the conversation only by using the first equipment in the process of the conversation between the first equipment and the opposite side equipment is avoided, the limitation of the conversation using equipment is reduced, and the conversation experience of the user is improved. And the call of the master device is transferred to the selected slave device, so that the normal use of the first device by the user is not influenced, and the requirement of immersive experience of the user is met. And when the call transfer is carried out, the data transmission channels are used for transmitting call signaling, call data and other data, the voice transmission channels are used for transmitting call voice data, so that the data of different types can be transmitted successfully in a multi-channel mode, the problem that the data to be transmitted possibly cannot be transmitted in time due to long-time occupation of the channels during single-channel transmission can be avoided, and the call transfer efficiency is improved.
In one possible design, the call of the first device is actually on the second device, that is, the second target device in the second device collects voice data and performs voice call with the opposite device through the first device, where the first target device is the first device, which indicates that the user wants to transfer the call from the second device, that is, the second target device, to the first device, and the first device continues to collect voice data and perform voice call with the opposite device. The transfer process of the voice call comprises the following steps:
the first device sends disconnection signaling to the second target device based on a data transmission channel between the first device and the second target device; the second target device receives the disconnection signaling; the second target device responds to the disconnection signaling, stops collecting voice data to carry out voice communication with the opposite side device through the first device, and updates the communication state of the second target device into a disconnection state; the first equipment collects voice data and carries out voice call with the opposite equipment, so that the call is transferred from the second equipment to the first equipment, the call transfer requirement of a user is met, and the call experience of the user is improved.
Wherein, the stopping of collecting the voice data performs a voice call with the counterpart device through the first device, including:
The second target device stops sending the first voice data to the first device and stops playing the second voice data.
In one possible design, the call of the first device is actually on one second device, that is, the second target device in the second devices collects voice data to perform voice call with the opposite device through the first device, and the first target device is a device which does not perform voice call with the opposite device in the second devices, that is, the first target device is a second device different from the first target device, so as to indicate that the user wants to transfer the call from one second device to another second device, and the other second device continues to collect voice data to perform voice call with the opposite device. The transfer process of the voice call comprises the following steps:
the first device sends a disconnect signaling to the second target device based on a data transmission path between the first device and the second target device, and the first device sends a transfer signaling to the first target device based on the data transmission path between the first device and the first target device.
The second target device receives the disconnect signaling. The second target device responds to the disconnection signaling, stops collecting voice data to carry out voice communication with the opposite side device through the first device, and updates the communication state of the second target device to be a disconnection state. The first target equipment receives the transfer signaling, responds to the transfer signaling, continues the voice call between the first equipment and the opposite side equipment, and carries out the voice call between the first target equipment and the opposite side equipment through the first equipment, and updates the call state of the first target equipment into the call state. Based on the technical scheme, the call can be transferred from one second device to another second device, the call transfer requirement of a user is met, and the call experience of the user is improved
In one possible design, the first device sends a session establishment request to the first target device before sending transfer signaling to the first target device;
the first target device receives the session establishment request and establishes a data transmission channel with the first device in response to the session establishment request for transmitting the transfer signaling by using the data transmission call. And when the first device needs to transmit the call signaling to the first target device, the first device establishes a data transmission channel with the first target device, so that the waste of resources caused by the early establishment of the channel can be avoided.
In one possible design, the first target device establishes a voice transmission channel with the first device in response to the transfer signaling, and also avoids resource waste caused by early establishment of the channel.
In one possible design, the first device starts timing after the voice data for the call is transmitted through the voice transmission channel between the first target device and the first device; when the duration that the voice transmission channel does not transmit the call voice data reaches the preset duration, the voice transmission channel is indicated to be unused for a long time, and the first device can close the voice transmission channel, so that the waste of resources is reduced.
In one possible design, the transfer signaling includes a telephone number of the counterpart device.
The updating, by the first target device, the call state of the first target device to the in-call state includes: the first target device displays a call interface, wherein the call interface comprises the telephone number of the opposite device and first prompt information, and the first prompt information indicates the device to which the voice call on the first target device actually belongs, so that a user can intuitively determine that the call has been successfully transferred and clearly know the device to which the call actually belongs.
In one possible design, the updating the call state of the second target device to the disconnected state includes:
the second target device stops displaying the call interface so that the user can intuitively determine that the call is not already on the second target device.
In one possible design, the first device includes a first distributed converged awareness platform DMSDP service and the second device includes a second DMSDP service;
when the first target device transmits the first voice data to the first device, the second DMSDP service in the first target device transmits the first voice data to the first DMSDP service based on a sound transmission channel between the second DMSDP service and the first DMSDP service in the first target device, so that successful and rapid transmission of the voice data is realized.
In one possible design, the first target device starts the second DMSDP service in the first target device in response to the transfer signaling, so as to avoid resource waste caused by early starting of the service.
In a second aspect, the present application provides a call transfer method, which is applied to a first device in a distributed call system, where the distributed call system further includes at least one second device, and the first device is connected with each second device in the at least one second device based on near field communication; a voice call is established between the first equipment and opposite equipment;
the method comprises the following steps:
in response to a first operation of the first device by a user, the first device displays a device list including at least one device identification including a device identification of the first device and/or a device identification of at least one second device;
responding to the selection operation of a user on the equipment identifier of a first target equipment in the equipment list, and if the first equipment collects voice data and carries out voice communication with the opposite equipment, sending transfer signaling to the first target equipment by the first equipment based on a data transmission channel between the first equipment and the first target equipment; the data transmission channel is used for transmitting call signaling and/or call data; the call signaling comprises transfer signaling and/or disconnection signaling; the call data comprises the telephone number of the opposite side equipment; the disconnection signaling is used for triggering the second equipment to disconnect the call; the transfer signaling is used for triggering the first target equipment to update the call state of the first target equipment to the call state;
The first device receives first voice data sent by the first target device based on a voice transmission channel between the first device and the first target device, and sends the first voice data to the opposite device; wherein the first voice data is collected by a microphone in the first target device;
the first device receives second voice data sent by the opposite device, and sends the second voice data to the first target device based on a sound transmission channel between the first device and the first target device.
In a third aspect, the present application provides a call transfer method, applied to a second device in a distributed call system, where the distributed call system further includes a first device, where the first device and the second device are connected based on near field communication; a voice call is established between the first equipment and opposite equipment;
the method comprises the following steps:
if the first device collects voice data and carries out voice communication with the opposite device, the second device receives transfer signaling sent by the first device based on a data transmission channel between the first device and the second device; the data transmission channel is used for transmitting call signaling and/or call data; the call signaling comprises transfer signaling and/or disconnection signaling; the call data comprises the telephone number of the opposite side equipment; the disconnection signaling is used for triggering the second equipment to disconnect the call; the transfer signaling is generated by the first device in response to a user selection operation of the device identification of the second device in the device list displayed by the first device;
The second equipment responds to the transfer signaling, continues the voice call between the first equipment and the opposite side equipment, and the second equipment carries out the voice call with the opposite side equipment through the first equipment and updates the call state of the second equipment into the call state;
the second device performs voice communication with the opposite device through the first device, and the method comprises the following steps:
the second device sends first voice data collected by a microphone in the second device to the first device based on a sound transmission channel between the second device and the first device; the sound transmission channel is used for transmitting call voice data; the first voice data is used for triggering the first equipment to send the first voice data to the opposite equipment;
the second device receives second voice data sent by the first device based on a sound transmission channel between the second device and the first device, and plays the second voice data through a loudspeaker in the second device.
In a fourth aspect, the present application provides an electronic device, the electronic device being a first device, the electronic device comprising a display screen, a memory, one or more subscriber identity module, SIM, card interfaces, and one or more processors; the display screen, the memory, the SIM card interface and the processor are coupled; the SIM card interface is used for being connected with the SIM card, the display screen is used for displaying the image generated by the processor, the memory is used for storing computer program codes, and the computer program codes comprise computer instructions; the computer instructions, when executed by the processor, cause the electronic device to perform the method as described in the second aspect.
In a fifth aspect, the present application provides an electronic device that is a second device, the electronic device comprising a display screen, a memory, and one or more processors; the display screen, the memory and the processor are coupled; the display screen is used for displaying images generated by the processor, and the memory is used for storing computer program codes, and the computer program codes comprise computer instructions; the computer instructions, when executed by the processor, cause the electronic device to perform the method according to the third aspect.
In a sixth aspect, the present application provides a computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of the second aspect above.
In a seventh aspect, the present application provides a computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of the above third aspect.
In an eighth aspect, the present application provides a computer program product which, when run on an electronic device, causes the electronic device to perform the method of the second aspect above.
In a ninth aspect, the present application provides a computer program product which, when run on an electronic device, causes the electronic device to perform the method as described in the third aspect above.
It may be appreciated that, the foregoing provides the call transfer method according to the second aspect, the call transfer method according to the third aspect, the electronic device according to the fourth aspect, the call transfer method according to the fifth aspect, the computer readable storage medium according to the sixth aspect, the computer readable storage medium according to the seventh aspect, and the computer program product according to the eighth aspect, and the ninth aspect, where the advantages obtained by the computer readable storage medium according to the first aspect and any of the possible design manners thereof may be referred to, and will not be repeated herein.
Drawings
Fig. 1 is a schematic diagram of a distributed call system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 3 is a block diagram of a master device and a slave device according to an embodiment of the present invention;
fig. 4 is a flow chart of a call transfer method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a call interface provided in an embodiment of the present application;
fig. 6 is a schematic diagram two of a call interface provided in the embodiment of the present application;
Fig. 7 is a schematic diagram III of a call interface according to an embodiment of the present application;
fig. 8 is a schematic diagram of a call interface provided in an embodiment of the present application;
fig. 9A is a schematic diagram fifth of a call interface provided in an embodiment of the present application;
fig. 9B is a schematic diagram sixth of a call interface provided in an embodiment of the present application;
fig. 10 is a schematic diagram seventh of a call interface provided in the embodiment of the present application;
fig. 11 is a schematic diagram of a transmission channel according to an embodiment of the present application;
fig. 12 is a second flow chart of a call forwarding method according to the embodiment of the present application;
fig. 13 is a schematic flow chart of voice data transmission according to an embodiment of the present application;
fig. 14 is a flowchart illustrating a call forwarding method according to an embodiment of the present application;
fig. 15 is a flow chart diagram of a call transfer method according to an embodiment of the present application;
fig. 16 is a flow chart diagram of a call transfer method according to an embodiment of the present application;
fig. 17 is a flowchart illustrating a call forwarding method according to an embodiment of the present application.
Detailed Description
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.
When the mobile phone receives an incoming call of the calling device, after the user answers the incoming call, the mobile phone establishes a call with the calling device. Or the user uses the mobile phone to call the called equipment, and after the called equipment answers, the mobile phone establishes a call with the called equipment.
After the mobile phone establishes a call with the other device (such as the calling device or the called device), for some reasons, the user does not want to continue to use the mobile phone to talk with the other device to continue to talk with the other device, that is, want to realize the call transfer. For example, a cell phone needs to be charged in one location and the user wants to go to another location, where the user is inconvenient to carry the cell phone, but does not want to end the call, and wants to use other devices to continue the call with the other device. For another example, if the user wants to use the mobile phone to play video, at this time, if the user continues to use the mobile phone to talk with the other party device, the talking party and the video played by the mobile phone will interfere with each other, the talking party will hear the video sound played by the mobile phone side, and the video sound played by the mobile phone will also affect the sound of the talking party played by the mobile phone.
Therefore, in order to realize call transfer, the application provides a call transfer method based on a distributed call system. As shown in fig. 1, the distributed telephony system includes a master device 100 and at least one slave device 200. The master device 100 establishes a connection with each of the at least one slave device 200 based on a near field communication manner, respectively. After the master device 100 establishes a call with the counterpart device, when the user wants to transfer the call to one slave device 200, that is, when the user wants to continue to hold the call between the mobile phone and the counterpart device using the one slave device 200, the user may select a device identifier of one slave device from a device list on a call interface displayed on the master device 100, where the device list includes device identifiers of at least one slave device 200. The master device 100 transmits corresponding transfer signaling to the selected slave device based on a data transmission channel between the master device and the selected slave device in response to a selection operation of the device list by the user. The data transmission channel is a session channel, which is used for transmitting call signaling and/or call data. The call data includes a telephone number of the counterpart device. The selected slave device then switches the local in-call state to the in-call state in response to the transfer signaling.
Then, the master device 100 acquires the first voice data collected by the microphone in the selected slave device based on the voice transmission channel, and transmits the first voice data to the counterpart device, so that the counterpart device can learn the speaking content of the user on the side of the selected slave device. And the master device 100 sends second voice data to the selected slave device based on the voice transmission channel, wherein the second voice data is the speaking content of the calling party, so that the interaction of the speaking content is realized, and the successful transfer of the call is realized, so that the selected slave device can share the communication capability of the master device 100 to continue the call with the other party, and in the process of the call between the master device 100 and the other party, when the user is inconvenient to use the master device 100 to continue the call, the call can be continued by means of the slave device 200, the limitation of the call using device is reduced, and the call experience of the user is improved. In addition, the call of the master device is transferred to the selected slave device, so that the normal use of the master device 100 by a user is not influenced, and the requirement of immersive experience of the user is met. And transmitting different types of data through the sub-channels, so that the successful transmission of the different types of data can be ensured, and the data transmission efficiency can be improved.
It should be understood that the master device 100 and the slave device 200 in the distributed telephony system in fig. 1 are connected based on the near field communication manner. The number of slave devices 200 in fig. 1 is only one example, and the present application does not limit the number of slave devices 200. For example, the number of slaves in a distributed telephony system may be 8.
The host device may be a mobile phone, a tablet computer, a wearable device (such as a smart watch), or the like, which is provided with a subscriber identity module (subscriber identity module, SIM) card. The slave device may be a device with audio input/output capability such as a mobile phone, a tablet computer, a notebook computer, a wearable device, a vehicle-mounted terminal, a personal digital assistant (personal digital assistant, PDA), or the like. The slave device may not be provided with a SIM card, or may be provided with a SIM card, and the present application is not limited thereto.
For example, the structure of the master device or the slave device described above may refer to the structure of the electronic device 300 shown in fig. 2.
The electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (universal serial bus, USB) interface 330, a charge management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an ear-piece interface 370D, a sensor module 380, keys 390, a motor 391, an indicator 392, a camera 393, a display screen 394, and a SIM card interface 395, among others.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 300. In other embodiments of the present application, electronic device 300 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 310 may include one or more processing units, such as: the processor 310 may include an application processor (application processor, AP), a Modem (Modem), a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signalprocessor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 300, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 310 for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may hold instructions or data that the processor 310 has just used or recycled. If the processor 310 needs to reuse the instruction or data, it may be called directly from the memory. Repeated accesses are avoided and the latency of the processor 310 is reduced, thereby improving the efficiency of the system.
In some embodiments, processor 310 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a SIM interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present invention is only illustrative, and is not meant to limit the structure of the electronic device 300. In other embodiments of the present application, the electronic device 300 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 340 is configured to receive a charge input from a charger.
The power management module 341 is configured to connect the battery 342, the charge management module 340 and the processor 310. The power management module 341 receives input from the battery 342 and/or the charge management module 340 to power the processor 310, the internal memory 321, the external memory, the display screen 394, the camera 393, the wireless communication module 360, and the like.
The wireless communication function of the electronic device 300 may be implemented by the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, a modem, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 300 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 350 may provide a solution for wireless communication, including 2G/3G/4G/5G, etc., applied on the electronic device 300. The mobile communication module 350 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 350 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the electromagnetic waves to a modem for demodulation. The mobile communication module 350 may amplify the signal modulated by the modem, and convert the signal into electromagnetic waves through the antenna 1 to radiate the electromagnetic waves. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be disposed in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be provided in the same device as at least some of the modules of the processor 310.
The modem may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 370A, receiver 370B, etc.), or displays images or video through display screen 394. In some embodiments, the modem may be a stand-alone device. In other embodiments, the modem may be provided in the same device as the mobile communication module 350 or other functional module, independent of the processor 310.
The wireless communication module 360 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 300. The wireless communication module 360 may be one or more devices that integrate at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 310. The wireless communication module 360 may also receive a signal to be transmitted from the processor 310, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 350 of electronic device 300 are coupled, and antenna 2 and wireless communication module 360 are coupled, such that electronic device 300 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code divisionmultiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (longterm evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (globalpositioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 300 implements display functions through a GPU, a display screen 394, an application processor, and the like. The GPU is a microprocessor for image processing, connected to the display screen 394 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 310 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 394 is used for displaying images, videos, and the like. The display screen 394 includes a display panel. The display panel may employ a liquid crystal display (liquidcrystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 300 may include 1 or N display screens 394, N being a positive integer greater than 1.
Electronic device 300 may implement capture functionality through an ISP, camera 393, video codec, GPU, display 394, and application processor, among others.
The ISP is used to process the data fed back by camera 393. Camera 393 is used to capture still images or video.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. Video codecs are used to compress or decompress digital video.
The NPU is a neural-network (NN) computing processor. Applications such as intelligent cognition of the electronic device 300 may be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 320 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 300.
The internal memory 321 may be used to store computer executable program code comprising instructions. The processor 310 executes various functional applications of the electronic device 300 and data processing by executing instructions stored in the internal memory 321. The internal memory 321 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 300 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 321 may include a high-speed random access memory, and may also include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 300 may implement audio functionality through an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an ear-headphone interface 370D, and an application processor, among others. Such as music playing, recording, etc.
The audio module 370 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 370 may also be used to encode and decode audio signals. In some embodiments, the audio module 370 may be disposed in the processor 310, or some of the functional modules of the audio module 370 may be disposed in the processor 310.
Speaker 370A, also known as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 300 may listen to music, or to hands-free conversations, through the speaker 370A.
A receiver 370B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 300 is answering a telephone call or voice message, voice may be received by placing receiver 370B close to the human ear.
Microphone 370C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 370C through the mouth, inputting a sound signal to the microphone 370C. The electronic device 300 may be provided with at least one microphone 370C. In other embodiments, the electronic device 300 may be provided with two microphones 370C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 300 may also be provided with three, four, or more microphones 370C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 370D is for connecting a wired earphone.
The sensor module 380 may include, among other things, pressure sensors, gyroscopic sensors, barometric pressure sensors, magnetic sensors, acceleration sensors, distance sensors, proximity sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.
The keys 390 include a power on key, a volume key, etc. The motor 391 may generate a vibration alert. The motor 391 may be used for incoming call vibration alerting as well as for touch vibration feedback.
The indicator 392 may be an indicator light, which may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
In some embodiments, the electronic device 300 may also include a high-fidelity (Hi-Fi) chip.
The SIM card interface 395 is for interfacing with a SIM card. The SIM card may be inserted into the SIM card interface 395 or removed from the SIM card interface 395 to enable contact and separation with the electronic device 300. The electronic device 300 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 395 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 395 can be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 395 may also be compatible with different types of SIM cards. The SIM card interface 395 may also be compatible with external memory cards. The electronic device 300 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 300 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 300 and cannot be separated from the electronic device 300.
The software system of the electronic device 300 (such as a master device or a slave device) may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of a master device or a slave device is illustrated.
Fig. 3 is a block diagram of a master device and a slave device according to an embodiment of the present application. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, android will be TM The system is divided into five layers, namely an application layer, a service layer, a device connection layer, a device virtualization layer and a hardware abstraction layer (hardware abstraction layer, HAL) from top to bottom. For example, as shown in fig. 3, the host device may include five software layers, an application layer 10, a service layer 11, a device connection layer 12, a device virtualization layer 13, and a hardware abstraction layer 14. The slave device may include five software layers, an application layer 20, a service layer 21, a device connection layer 22, a device virtualization layer 23, and a hardware abstraction layer 24.
The application layer may include a series of application packages. As shown in fig. 3, the application layer 10 in the host device may include applications such as camera, bluetooth, video, short message, call interface, contacts, contact information management, device management, etc. The application layer 20 in the slave device may include camera, video, bluetooth, talk interface, contacts, contact information management, etc. applications.
Illustratively, the call interface application is responsible for managing interfaces related to a call, such as displaying an incoming call interface, a hang-up interface, and the like.
The contact application is responsible for managing call records for call numbers, such as generating call records for calling phone numbers, storing call records in a call records database, etc.
The contact information management application is responsible for managing contact information and synchronizing contact information between devices. For example, the master device (or a contact information management application in the master device) may store the newly added contact information. For another example, the master device may synchronize its stored contact information to the slave device.
The above-described device management application is used to manage the connection state, the on-line and off-line states, and the like of the slave devices, for example, the slave device that is determined to be in the on-line state, the slave device that is in the off-line state, and the like. The device management application may also be used to trusted authenticate the slave device. The up state indicates that the master device is discovered through the near field communication function, and determines that the device is logged in to the same account, for example, the device is logged in to the same account and is in the same local area network with the master device. The down-line state indicates that the master device has not found a device through a near field communication function or determines that the device has not logged into the same account. For example, when the tablet personal computer is turned on, the mobile phone discovers the tablet personal computer through bluetooth, and determines that the tablet personal computer logs in an account number logged in by the mobile phone, the tablet personal computer is in an online state, otherwise, the tablet personal computer is in a offline state.
The service layer may include a series of services. As shown in fig. 3, the service layer 11 in the host device may include a call framework, a service Profile, a control center, a cellular call service, and a call service. The service layer 21 in the slave device may include a service Profile, a control center, and a call service.
The call service is used for managing calls. For example, management of in-call status (including on, off, etc.). As another example, management of call signaling, such as transmission of transfer signaling.
In some embodiments, the in-call state includes at least one of an incoming call state, an in-call state, a hold state, and a hang-up state. The call signaling includes at least one of answer signaling, disconnect signaling, mute signaling, and dual tone multi-frequency (dual tone multi frequency, DTMF) signaling.
The call framework, also called call management service, is a native service. The call management service is responsible for managing incoming call situations. Specifically, when the host device calls, the call management service determines whether the host device needs to make a call prompt, whether to start a call interface, and the like. For example, when the master device turns on the incoming call intercept function, it indicates that the master device refuses to answer all incoming calls. When the main device is in call, the call management service determines that the main device does not carry out call prompt.
The control center is responsible for displaying all devices in the near field range of a certain device, the communication connection relation between the device and the devices in the near field range, the device condition of the incoming call of the device, and the like. The control center may also disconnect the communication connection between the device and the other device, newly add the communication connection between the device and the other device, and the like based on the operation of the user.
The cellular telephony service described above is responsible for managing cellular telephones, i.e., cellular network-based telephones. Illustratively, the cellular network includes 2G, 3G, 4G, and the like.
The service Profile is responsible for managing the online and offline of the device, the registered services in the service Profile in the other device, and the like. For example, in order for a host device to support distributed telephony service capabilities, a telephony service in the host device may register with the service Profile. The service Profile in the master device may perceive whether the call service in the slave device is registered with the service Profile in the slave device. The account number of the login of the slave device is the same as the account number of the login of the master device when the device is online.
In some embodiments, the service layer may further include an application programming interface (application programming interface, API) module. The API module may provide an API interface or the like for an application of the application layer.
The device connection layer and the device virtualization layer are layers for distributed services (such as distributed call services). As shown in fig. 3, the device connection layer 12 in the master device may include a connection (Link) service. The device connection layer 22 in the slave device may include a connection service.
The connection service is used for providing the capability of transmitting data and signaling between different devices through near field communication. For example, one device may send call signaling to a connection service in another device through a connection service in the device, enabling transmission of the signaling.
In some embodiments, the device connection layer 12 in the master device may further include a device Profile and a distributed rights management module. The device connection layer 22 in the slave device may include a device Profile.
For example, the device Profile may be provided with security capabilities, data transmission capabilities, and connection management capabilities. The security capability means that the device can be trusted authenticated to determine whether the device is secure. The data transmission capability means that data transmission between devices can be performed through near field communication. Connection management capabilities mean managing devices that establish near field connections. For example, the device Profile in the master device knows the slave device that has established a near field connection with the master device.
In some embodiments, device Profile may be device management capable. The device management capability indicates that the device can be managed on-line and off-line.
It should be appreciated that the above device Profile and service Profile constitute a distributed Profile.
The distributed rights management module is responsible for querying rights of the slave device, such as whether the slave device is allowed to be discovered, connected, transmit data, etc. The distributed rights management module may be provided with device management capabilities.
It should be understood that the capabilities provided by each module in the device connection layer described above are only one example, and each module may have other capabilities, which is not limited in this application.
As shown in fig. 3, the device virtualization layer 13 in the master device may include a distributed converged awareness platform (distribute mobilesensing development platform, DMSDP) service. The device virtualization layer 23 in the slave device may include a DMSDP service.
The DMSDP service may also be referred to as an audio virtualization service, for example, that enables the connection of telephony voice data. The device may stream call voice data between devices by invoking virtual device capabilities provided by the DMSDP. For example, the call sound can be switched from the master device to the slave device, and the call sound can be switched from the slave device back to the master device.
In some embodiments, the device virtualization layer 13 in the host device may also include display virtualization services, camera virtualization services, and the like.
The HAL layer is used for abstracting hardware in the hardware layer and providing hardware access service upwards. As shown in fig. 3, the HAL layer 14 in the host device may comprise an RILC (i.e. RIL-C or RIL-c++) HAL, an Audio (Audio) HAL, a near field communication HAL. The HAL layer 24 in the slave device may comprise audio and near field communication HALs.
Wherein the RILC is part of a radio interface layer (radio interface layer, RIL). The RIL is a bridge for communication between the modem and the Android system. RIL can be divided into two parts, one part is RILJ (RIL-Java) framework, and is realized by Java language; the other part is RILC, which is located at the hardware abstraction layer and is implemented in C language or C++ language.
AudioHAL is used to take care of the transmission of call related audio streams inside the device.
The near field communication HAL is used to implement near field communication functions. For example, the near field communication HAL may comprise Bluetooth HAL, wi-FiHAL, NFCHAL, etc. The Bluetooth HAL is used for realizing Bluetooth communication functions. Wi-FiHAL is used to implement Wi-Fi communication functions. Nfcha is used to implement NFC communication functionality.
In some embodiments, the HAL layer in the host device may also include a display (display) HAL, a camera HAL, and the like.
As shown in fig. 3, the hardware layer in the master device may include a Modem, a Hi-Fi chip, and a near field communication chip. The hardware layers in the slave device may include a near field communication chip, a speaker (speaker), a microphone, and the like.
By way of example, the near field communication chip may include a Bluetooth chip, a Wi-Fi chip, an NFC chip, and the like.
In some embodiments, the hardware layer 14 in the host device may also include a display screen, a camera, a speaker, a microphone, and the like.
In some embodiments, the service layer may further be a framework layer, and the device connection layer and the device virtualization layer may further belong to an Android runtime (Android TM runtimes) and system libraries. The framework layer provides APIs and programming frameworks for application layer applications. The application framework layer includes a number of predefined functions. A is thatndroid TM runtimes include core libraries and virtual machines. Android system TM runtime is responsible for scheduling and management of the android system. The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android. The application layer and the framework layer run in virtual machines. The virtual machine executes java files of the application layer and the framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
It will be appreciated that the layers and components contained in the layers in the structure shown in fig. 3 do not constitute a specific limitation on the master or slave. In other embodiments of the present application, the structure may include more or fewer layers than shown, and more or fewer components may be included in each layer, as the present application is not limited.
The application provides a call transfer method based on a distributed call system, wherein the distributed call system comprises a master device and at least one slave device. The master device is a device with a SIM card, the slave devices are under a trust ring of the master device, and the master device is respectively connected with each slave device based on a near field communication mode, namely, the master device is respectively connected with each slave device in a near field mode. In the process of communicating between the main equipment and the opposite equipment, the main equipment is used as a center, and responds to the related operation of a user on an interface displayed by the main equipment, so that the main equipment can transfer the communication of the main equipment side between the equipment in the distributed communication system. Call transfer between devices is largely divided into three cases, one of which is call transfer from a master device to a slave device. Alternatively, the call is diverted from the slave device back to the master device. In another case, the call is transferred from one slave device to another slave device, so that any call transfer is realized, various call transfer requirements of users are met, and the call satisfaction of the users is improved.
In one example, the slave device and the master device in the distributed call system log in the same account.
In another example, each slave device in the distributed call system not only logs in the same account number with the master device, but also is in the same local area network with the master device.
In another example, in order to improve the security of device communication, the slave devices in the distributed communication system further pass trusted authentication. For example, after the master device establishes a near field connection with one device, the master device may perform trusted authentication on the device to obtain an authentication result of the device. And after the authentication result of the device is that the authentication is successful, the device is indicated to be safe and trusted, and the device can be a slave device of the master device. And after the authentication result of the equipment is authentication failure, the fact that the trusted authentication of the equipment is not passed is indicated, the safety of the equipment is low, and the equipment part is a slave equipment of the master equipment. Of course, the trusted authentication may also be performed after the master device establishes a near field connection with the device and logs in to the same account.
The trusted authentication may be, for example, key authentication. The key authentication process may be: the master device encrypts preset data through a private key to obtain encrypted data. The master device may then send the encrypted data to the device. The device then receives the encrypted data and decrypts the encrypted data via the credentials of the logged-in account. The device then transmits the decrypted data to the master device. The host device then receives the decrypted data. And comparing the standard decrypted data corresponding to the preset data with the decrypted data, wherein the standard decrypted data is correct data obtained after the encrypted data is decrypted. If the two are consistent, the certificate of the device is correct, and the master device determines that the authentication result of the device is authentication success. If the two are inconsistent, indicating that the data of the device is wrong, the master device determines that the authentication result of the device is authentication failure.
The preset data may be at least one of a key and a character (such as a number, a text, and a symbol).
It should be noted that, the above-described key authentication process is one implementation manner of key authentication, and key authentication may be implemented by other implementation manners, where the manner of using the key in the authentication process belongs to the implementation manner of password authentication. And the above-mentioned manner of trusted authentication may be other manners as well. For example, the master device determines whether the device is in a preset unsafe list, if so, the master device determines that the authentication result of the device is authentication failure, and the method of trusted authentication is not limited in the application.
In the following, taking the above main device as a mobile phone, the slave device includes a tablet computer and a notebook computer as examples, the call transfer method provided in the embodiment of the present application is divided into three embodiments for description. The embodiment is used for introducing the call transfer to the tablet personal computer on the mobile phone, namely the call is transferred from the master device to the slave device. The second embodiment is used to introduce that the call on the tablet computer is transferred back to the mobile phone, that is, the call is transferred from the slave device back to the master device. Embodiments three are used to introduce the transfer of a call on a tablet to a notebook, i.e., the transfer of a call from one slave device to another.
Example 1
The embodiment of the application provides a call transfer method based on a distributed call system. In this embodiment, after the mobile phone in the distributed call system establishes a call with the other party device, the user may transfer the call on the mobile phone side from the mobile phone to the tablet computer in the distributed call system, so that the user may continue to make a call with the other party through the tablet computer, thereby implementing the transfer of the call from the master device to the slave device. Specifically, as shown in fig. 4, the process of transferring the call from the master device to the slave device may include S401 to S412.
S401, after the call between the mobile phone and the opposite side equipment is established, responding to a first operation of a user on a call interface displayed by the mobile phone, and displaying a list of equipment on the call interface displayed by the mobile phone.
Wherein the device list includes device identifications of at least one slave device capable of performing call transfer. Such as the device identifier of the tablet computer and the device identifier of the notebook computer. The device identification may be a name, model number, etc. of the device.
In some embodiments, in order to allow a call to be transferred back to the handset by the slave device, the device may include a handset identifier, i.e., a master device identifier, that indicates that the call on the handset side is on the handset, i.e., is still the user of the handset in actual communication with the party to the call, rather than the user of the slave device.
In an example, the call interface displayed on the mobile phone includes a preset button, and the first operation may be a click operation of the preset button on the call interface by a user. For example, the preset button is a speaker button (such as speaker button 11 in call interface 10 shown in fig. 5). When the user wants to transfer the phone-side call to a slave device (such as the tablet computer described above), the user can click the speaker button. Here, the operation of clicking the speaker button by the user is the first operation described above. The cellular phone displays a call interface 20 as shown in fig. 6 in response to the user's operation of clicking the speaker button 11, the call interface 20 including a device list 21. The device list 21 includes a tablet computer 1 and a notebook computer 2, where the tablet computer 1 and the notebook computer 2 are device identifiers.
In one possible implementation, as shown in fig. 6, the device list 21 may also include speaker options. The speaker option may be selected when the user wants to play a sound. And the mobile phone responds to the selection operation of the speaker option to play the voice data of the opposite party.
In one possible implementation, since the call transfer is controlled at the mobile phone side, in order to enable the call transfer to the host device, the call list displayed in the call interface may further include a mobile phone identifier, where the mobile phone identifier indicates that the mobile phone continues to call with the other device, that is, the mobile phone continues to play the voice data of the call counterpart, and continues to collect the sound at the mobile phone side, that is, the voice data. For example, the handset identification may be a handset in the device list 21 as shown in fig. 6 above.
In another example, the first operation may be an operation that the user clicks a blank position on a call interface displayed on the mobile phone. The user clicks a blank position on the call interface 30 shown in fig. 7 displayed on the mobile phone, and the mobile phone displays the call interface 31 shown in fig. 8 in response to the clicking operation of the user on the blank position, and the call interface 31 includes the device list 32. The device list 21 includes a tablet computer 1 and a notebook computer 2, where the tablet computer 1 and the notebook computer 2 are device identifiers.
In another example, the first triggering operation may be a preset gesture, such as an S-type gesture, a v-type gesture, or the like, input by the user on the call interface displayed on the mobile phone. In response to a preset handset entered by a user at a call interface displayed by the handset, the handset displays a list of devices (such as the list of devices 32 shown in fig. 8 above) at the interface.
In one possible implementation, the device list may further include a call prompt identifier, where the call prompt identifier may indicate a device in which the call is currently located. For example, a "v" as shown in fig. 6 is a call prompt identifier, so that the user can learn that the device where the call is currently located.
In some embodiments, the opposite device is a calling device, and the mobile phone is a called device. After the incoming call of the opposite side equipment is answered, the mobile phone establishes a call with the opposite side equipment. For example, the mobile phone displays an incoming call interface after receiving an incoming call from the calling device. And the mobile phone responds to the incoming call answering operation of the user on the incoming call interface, and establishes a call with the calling equipment. For example, the incoming call answering operation is an operation in which the user clicks an answer button of the incoming call interface.
In other embodiments, the opposite device is a called device, and the mobile phone is a calling device. After the opposite side equipment answers the incoming call of the mobile phone, the mobile phone establishes a call with the opposite side equipment.
S402, responding to the selection operation of the user on the device identification of the tablet personal computer in the device list, and sending a session establishment request to the tablet personal computer by the mobile phone.
S403, the tablet computer receives the session establishment request.
S404, the tablet computer responds to the session establishment request and establishes a data transmission channel with the mobile phone.
The data transmission channel is a session channel and is used for transmitting call signaling and/or call data. Of course, the data transmission channel may also transmit other types of signaling, data, etc., which is not limited in this application.
By way of example, the call signaling may include transfer signaling, disconnect signaling, hang-up signaling, answer signaling, mute signaling, and the like.
The transfer signaling is used to trigger the mobile phone to transfer the call on the mobile phone side from the current device to another device. For example, a user performs a call with a counterpart device corresponding to a mobile phone through a tablet computer, and the tablet computer is the current device of the call on the mobile phone side.
Wherein the disconnect signaling is used to trigger a disconnect of a call on the slave device, i.e. the slave device is no longer holding the call, i.e. the user cannot continue the call using the slave device. The hang-up signaling is used for triggering the mobile phone to end the call with the opposite device. The answering signaling is used for triggering the mobile phone to answer the incoming call sent by the opposite side equipment, namely triggering the mobile phone to establish a call with the opposite side equipment. The mute signaling is used for triggering the mobile phone to mute the call, so that the opposite party cannot hear the sound of the mobile phone.
It should be noted that the call signaling may also include other signaling, such as recording signaling, DTMF signaling, add call signaling, video signaling, etc., related to a button on the call interface. The DTMF signaling includes digits entered by the user on the keypad during the call. For example, when a user inputs a number on a numeric keypad displayed on the tablet, the tablet transmits DTMF signaling including the number to the mobile phone based on the data transmission channel, so that the mobile phone converts the number into corresponding audio data and transmits the audio data to a local device.
Illustratively, the call data includes a telephone number and/or number information of a call partner (i.e., the partner device).
Wherein the number information indicates details of the calling telephone number. The number information may include one or more of a region to which the calling telephone number belongs, strange number indication information, carrier information, tag information, contact information.
The strange number indication information indicates that the calling telephone number is a strange number and does not belong to the telephone number of the stored contact person of the mobile phone. For example, the strange number indication information is a strange number. When the calling telephone number is a strange number, the incoming call information may include the calling telephone number and the strange number.
The marking information indicates that the calling telephone number is a marking number, for example, the marking information is express, and the calling telephone number is express. When the calling telephone number is a tag number, the incoming call information may include the calling telephone number and the tag information of the calling telephone number.
For example, the contact information may include one or more of a name, an avatar, a company, a position, and remark information of a contact to which the calling phone number belongs. When the calling phone number is the phone number of the stored contact person of the mobile phone, the incoming call information may include the calling phone number and the contact person information of the calling phone number. Of course, the incoming call information may also include the region to which the calling telephone number belongs.
In this embodiment of the present application, when a user wants to transfer a call on the mobile phone side from the mobile phone to a slave device (such as the tablet computer described above), that is, when the user wants to use the tablet computer to continue to communicate with a call counterpart, the user may select a device identifier corresponding to the tablet computer from a device list displayed on the mobile phone. When the user selects the device identifier corresponding to the tablet personal computer in the device list, the tablet personal computer and the mobile phone are indicated to perform data interaction (such as interaction of call voice data, i.e. call audio data), and in order to improve interaction efficiency, the mobile phone can establish a session with the tablet personal computer. Specifically, the mobile phone sends a session establishment request to the tablet computer. After receiving the session establishment request, the tablet computer establishes a session with the mobile phone, that is, establishes a session channel with the mobile phone, where the session channel may be a data transmission channel.
The mobile phone or tablet may assign a unique session identification number (identity document, ID) to the session. That is, after the session between the mobile phone and the tablet computer is established successfully, the session will have a corresponding session ID. When the mobile phone and the tablet personal computer need to interact, the mobile phone can quickly interact with the other party based on the session ID.
S405, the mobile phone sends a first transfer signaling to the tablet personal computer based on the data transmission channel.
The first transfer signaling may include a phone number and/or number information of the call counterpart, so that when the tablet computer displays the call interface, the relevant information of the call counterpart may be displayed, so that the user of the tablet computer may clearly and intuitively know the situation of the call counterpart.
S406, the tablet computer receives the first transfer signaling.
S407, the tablet personal computer responds to the first transfer signaling, switches the local call in-process state to the call in-process state, and establishes a sound transmission channel with the mobile phone.
Illustratively, the sound transmission channel is also a conversation channel.
In the embodiment of the application, because the mobile phone needs to transfer the call to the tablet personal computer, the mobile phone transmits the first transfer signaling to the tablet personal computer based on the data transmission channel between the mobile phone and the tablet personal computer so as to trigger the tablet personal computer to switch the local call in-call state to the call in-call state, so that the connection of the call in-call state is realized, and a user can call with the opposite device through the tablet personal computer.
Because the user needs to transmit sound in the process of talking with the user corresponding to the talking counterpart, namely the counterpart device, the tablet computer establishes a sound transmission channel with the mobile phone. The voice transmission channel is also a conversation channel and is used for transmitting audio data, namely voice data related to conversation, so that the conversation is ensured to be normally carried out. In addition, the sound transmission channel is established after the tablet personal computer is switched to the in-call state, namely before the voice data is required to be transmitted, so that the waste of resources caused by the fact that the sound transmission channel is established in advance is avoided.
In one example, the in-call status indication displays a call interface. The call interface may include a telephone number and/or number information of a call partner. Because the user wants to answer the mobile phone call by using the tablet personal computer, the tablet personal computer needs to keep consistent with the call state of the mobile phone, when the tablet personal computer receives the first transfer signaling, the tablet personal computer can display a call interface to realize the connection of the call state, the user can intuitively know that the call of the mobile phone side is transferred to the tablet personal computer, and the tablet personal computer can communicate with a calling party.
In this example, the call interface may be displayed in a banner manner, and the call interface 40A shown in fig. 9A may be displayed in a banner manner. Or the call interface may be displayed in full screen, as shown in fig. 9B for call interface 40B. The display mode of the call interface can be switched. For example, when the tablet computer displays the call interface in a banner display mode, the user performs related operations on the tablet computer (such as clicking a blank of the interface displayed by the tablet computer), and the tablet computer may display the call interface in a full screen display mode.
In some embodiments, the call interface displayed by the tablet computer may further include a first prompt (for example, the first prompt 41 in fig. 9A or fig. 9B), where the first prompt indicates a device to which the call on the tablet computer actually belongs.
In another example, the in-call status indication displays the second prompt information in a status bar on a display screen of the tablet computer. When the user wants the tablet computer to display the call interface, the user can click the second prompt information. And the tablet personal computer responds to clicking operation for the second prompt information to display a call interface. The second prompt may be represented by an icon and/or text. For example, as shown in fig. 10, the tablet computer is loading an interface of a certain game application, at this time, the tablet computer does not display a call interface any more, but displays the second prompt information 42 in the status bar.
S408, the tablet personal computer sends first voice data collected by a microphone in the tablet personal computer to the mobile phone based on the voice transmission channel.
S409, the mobile phone receives the first voice data and sends the first voice data to the opposite device.
S410, the mobile phone receives second voice data sent by the opposite side equipment.
S411, the mobile phone sends the second voice data to the tablet computer based on the sound transmission channel.
S412, the tablet computer receives the second voice data and plays the second voice data through a loudspeaker in the tablet computer.
The first voice data represents speaking content of a user of the tablet computer. The second voice data represents the speaking content of the user of the counterpart device, i.e. the counterpart of the conversation.
In the embodiment of the application, when a user of the tablet personal computer speaks, the tablet personal computer collects the voice of the user of the tablet personal computer through a microphone in the tablet personal computer to obtain the first voice data. After that, because the tablet computer cannot directly communicate with the calling device, the tablet computer needs to communicate with the opposite device by using the mobile phone to realize interaction of call content, so that the tablet computer can send the first voice data to the mobile phone based on the voice transmission channel. After the mobile phone receives the first voice data, the first voice data is sent to the opposite side equipment to realize connection of audio streams, so that a call opposite side can successfully receive the speaking content of the opposite side, a user can continue to call with the call opposite side through the tablet personal computer, the user is prevented from having to use the mobile phone to call with the call opposite side, and the restriction of call is reduced.
And when the conversation partner speaks, the microphone in the partner device can collect the voice of the conversation partner to obtain second voice data. And then, the opposite device sends the second voice data to the mobile phone so that the mobile phone side obtains the speaking content of the opposite party. However, since the call is transferred to the tablet computer, the mobile phone does not need to play the second voice data, and therefore, the mobile phone sends the second voice data to the tablet computer based on the voice transmission channel. After receiving the second voice data, the tablet personal computer plays the second voice data through a loudspeaker in the tablet personal computer, so that the connection of the audio stream is realized, a user of the tablet personal computer can successfully receive the speaking content of a calling party, normal operation of a call is ensured, the user can communicate with the calling party through the tablet personal computer, the user is prevented from having to use a mobile phone to communicate with the calling party, and the restriction of the call is reduced.
In some embodiments, to ensure that the tablet computer can collect or play voice normally, before S408, the mobile phone may send an opening signaling to the tablet computer based on the data transmission channel to trigger the tablet computer to open a microphone or a speaker in the tablet computer.
In some embodiments, the handset may also turn off the microphone and/or speaker in the handset prior to S408 described above. When a user uses the tablet personal computer to communicate with the opposite device, the mobile phone can close the microphone in the mobile phone, and open the microphone in the tablet personal computer, namely, in the communication process, the microphone in the mobile phone does not collect audio, so that the opposite device receives the audio collected by the tablet personal computer, the interference of the audio collected by the microphone in the mobile phone to the communication is avoided, the communication quality is ensured, and the power consumption can be reduced.
And the mobile phone can close the loudspeaker in the mobile phone and open the loudspeaker in the tablet personal computer, namely, in the call process, the mobile phone can not play the voice data of the call counterpart, the tablet personal computer plays the voice data of the call counterpart, people around the mobile phone are prevented from hearing the call content between the call counterpart and the user of the tablet personal computer, the call safety is ensured, and the leakage of the call content is avoided. And the interference to personnel around the mobile phone is not caused, and the power consumption can be reduced.
In other embodiments, in order to avoid that the microphone or the speaker in the mobile phone is turned off to affect the user's use of the mobile phone, the mobile phone may not turn off the microphone and/or the speaker in the mobile phone after the call is transferred. The mobile phone only needs to cut off the audio stream of the mobile phone side, namely the mobile phone does not send the voice data collected by the microphone in the mobile phone to the opposite side equipment, and the mobile phone also does not play the voice data transmitted by the opposite side equipment through the loudspeaker in the mobile phone, but sends the voice data transmitted by the opposite side equipment to the tablet personal computer so as to play the voice data transmitted by the opposite side equipment through the loudspeaker in the tablet personal computer. The method can also avoid the interference of the audio collected by the microphone in the mobile phone to the call, ensure the call safety, and avoid influencing the normal use of the mobile phone by the user, but cannot reduce the power consumption.
In some embodiments, to reduce the waste of resources, the mobile phone may perform keep-alive processing on the session channel (such as the voice transmission channel and/or the data transmission channel).
Illustratively, the keep-alive process indicates that the mobile phone starts timing after transmitting data by using the session channel; if the timing reaches the preset keep-alive time length and the session channel does not transmit data yet, the mobile phone can close the session channel, namely recover the session channel, so that the problem of resource waste caused by invalid occupation of resources due to long-time non-use of the session channel is avoided.
The data transmission by using the session channel comprises that the mobile phone receives the data sent by the tablet personal computer by using the session channel or the mobile phone sends the data to the tablet personal computer by using the session channel.
In this embodiment, in one case, the mobile phone may keep alive the sound transmission channel between the mobile phone and the tablet computer. After the mobile phone uses the voice transmission channel to transmit voice data (such as first voice data and second voice data), timing is started, and when the timing reaches a preset duration, if the voice transmission channel still does not transmit voice data, the voice transmission channel is indicated to have long time, so that the mobile phone can close the voice transmission channel in order to avoid waste of resources.
For example, the preset duration is 10 seconds. After the mobile phone sends the second voice data to the tablet computer based on the sound transmission channel, if the second voice data is not sent to the tablet computer based on the sound transmission channel for more than 10 seconds, and the mobile phone does not receive the first voice data sent by the tablet computer based on the sound transmission channel, which indicates that both parties of the call do not speak for a long time, namely, the sound transmission channel is not utilized for a long time so as to reduce the waste of resources, the mobile phone can close the sound transmission channel between the mobile phone and the tablet computer.
For another example, the preset duration is 10 seconds. After the tablet computer sends the first voice data to the mobile phone based on the sound transmission channel, if the second voice data is not sent to the tablet computer based on the sound transmission channel, and the first voice data sent by the tablet computer is not received based on the sound transmission channel, the tablet computer indicates that both parties of a call are not speaking for a long time, namely the sound transmission channel is not utilized for a long time, and in order to reduce the waste of resources, the mobile phone can close the sound transmission channel between the mobile phone and the tablet computer.
In another case, the mobile phone can keep-alive the data transmission channel between the mobile phone and the tablet computer. After the mobile phone uses the data transmission channel to transmit data, the mobile phone starts timing, when the timing reaches the preset duration, if the data transmission channel still does not transmit data, the mobile phone indicates that the data transmission channel is not used for a long time, and in order to avoid the waste of resources, the mobile phone can close the sound transmission channel.
For example, the preset duration is 10 seconds. The data transmission channel is used for transmitting call signaling. After the mobile phone sends the call signaling to the tablet computer based on the data transmission channel, if the mobile phone exceeds 10 seconds, the mobile phone does not send the call signaling to the tablet computer based on the data transmission channel, and does not receive the call signaling sent by the tablet computer based on the sound transmission channel, which indicates that the data transmission channel is not used for a long time, and in order to reduce the waste of resources, the mobile phone can close the data transmission channel between the mobile phone and the tablet computer.
For another example, the preset duration is 10 seconds. The data transmission channel is used for transmitting call data. After the mobile phone sends call data to the tablet computer based on the data transmission channel, if the mobile phone exceeds 10 seconds, the mobile phone does not send call data to the tablet computer based on the data transmission channel and does not receive call data sent by the tablet computer based on the sound data transmission channel, which indicates that the data transmission channel is not utilized for a long time, and in order to reduce waste of resources, the mobile phone can close the data transmission channel between the mobile phone and the tablet computer.
For another example, the preset duration is 10 seconds. The data transmission channel is used for transmitting call data and call signaling. After the mobile phone sends call data or call signaling to the tablet computer based on the data transmission channel, if the mobile phone exceeds 10 seconds, the mobile phone does not send call data or call signaling to the tablet computer based on the data transmission channel, and does not receive call data or call signaling sent by the tablet computer based on the sound data transmission channel, which indicates that the data transmission channel is not used for a long time, and in order to reduce resource waste, the mobile phone can close the data transmission channel between the mobile phone and the tablet computer.
In another case, the mobile phone can keep-alive the data transmission channel and the sound transmission channel between the mobile phone and the tablet computer. The process of the mobile phone in this case performing keep-alive processing on the data transmission channel is similar to the process of the mobile phone in this case performing keep-alive processing on the data transmission channel, and the process of the mobile phone in this case performing keep-alive processing on the sound transmission channel is similar to the process of the mobile phone in this case performing keep-alive processing on the sound transmission channel, which will not be described herein.
In some embodiments, a session channel between the mobile phone and other devices has a corresponding channel ID, and the session channel has a corresponding relationship with other devices, that is, the session channel has a corresponding relationship with the other devices. When the session channel is not closed, the session state of the session channel may be an active state. When a session channel is closed, the session state of the session channel may be a closed state. The mobile phone has a session channel table. The session channel table includes at least one channel ID and session states corresponding to the respective channel IDs.
Accordingly, when the mobile phone sends data to the tablet computer based on the session channel, the mobile phone can firstly inquire the channel ID corresponding to the tablet computer and the session state corresponding to the channel ID corresponding to the tablet computer from the session channel table. And when the session state is an active state, indicating that the session channel belongs to an available state, the mobile phone can transmit data to the tablet computer based on the session channel. For example, after obtaining the second voice data sent by the opposite device, the mobile phone indicates that the second voice data needs to be sent to the tablet computer, and then the mobile phone can query whether a voice transmission channel between the mobile phone and the tablet computer is available, that is, the mobile phone can query a session state corresponding to the voice transmission channel from a session channel table. When the session state is an active state, the mobile phone may send second voice data to the tablet computer based on the voice transmission channel.
When the session state is in a closed state, the session channel is not available, and the mobile phone can reestablish the session channel between the mobile phone and the flat plate so that the mobile phone can transmit data by using the session channel, and normal transmission of the data is ensured.
It should be appreciated that the keep-alive process described above can also be performed by a tablet computer. And before the tablet computer sends data to the mobile phone, the tablet computer can also query the session state of the session channel so as to determine whether the session channel is available or not by the tablet computer. The channel ID of the session channel may be the same as or different from the session ID to which the session channel belongs, and the application is not limited thereto.
In some embodiments, link services and DMSDP services exist in both the mobile phone and the tablet computer. As shown in fig. 11, the Link service in the mobile phone and the tablet computer transmits data such as call signaling/call data, and the voice transmission channel based on the DMSDP service in the mobile phone and the tablet computer transmits call audio data. A possible implementation procedure for transferring a call from a master device to a slave device based on the Link service and the DMSDP service will be described below with reference to fig. 12.
As shown in fig. 12, before a call is established with a counterpart device, for example, when the mobile phone is started, the call service in the mobile phone initializes the Link service and the DMSDP service, so as to enable the mobile phone to realize the start of the Link service and the DMSDP service in the mobile phone, so that the mobile phone can realize the transfer of the distributed call when dialing or receiving an incoming call to establish the call.
When a call is established between a mobile phone and a counterpart device, a user may want to continue the call through a slave device (such as the tablet computer) that is to say, the call is transferred from the mobile phone to the slave device, and then a call service in the mobile phone may send Link service initiation signaling to the slave device (such as the tablet computer) based on near field communication.
And then, the call service in the slave device (such as the tablet personal computer) receives the Link service starting signaling, and can initialize the Link service in the tablet personal computer to realize the starting of the Link service. And on the basis of not influencing call transfer, the resource waste caused by starting Link service in advance can be avoided.
And then, selecting a device identifier corresponding to the tablet personal computer from a device list on a call interface displayed by the mobile phone by the user, namely, when the user selects to transfer the call of the mobile phone side to the tablet personal computer, responding to the selection operation, and sending a session establishment request to the tablet personal computer by a call service in the mobile phone. The session establishment request is used for pulling up the session of the tablet personal computer, namely triggering the call service in the tablet personal computer to trigger the Link service to establish a data transmission channel with the Link service in the mobile phone, so as to establish the data transmission channel between the mobile phone and the tablet personal computer. The data transmission channel belongs to a session channel, and a corresponding channel ID exists, so that when a mobile phone and a tablet computer need to perform call signaling/call data interaction, the corresponding data transmission channel can be quickly searched according to the call ID, and quick data transmission is realized. And on the basis of not influencing data transmission, the waste of resources caused by the fact that a data transmission channel is established in advance can be avoided.
After the data transmission channel between the tablet computer and the mobile phone is established, the call service in the mobile phone can send a first transfer signaling to the Link service in the mobile phone.
And then, the Link service in the mobile phone can send the first transfer signaling to the tablet computer based on the data transmission channel. The Link service in the tablet computer receives the first transfer signaling and can send the first transfer signaling to the call service in the tablet computer.
And then, the call service in the tablet personal computer receives the first transfer signaling, and can respond to the first transfer signaling to switch the call state of the tablet personal computer to the call state, such as pulling up a call interface, so that a user can intuitively know that the call has been transferred, and the user can use the tablet personal computer to continue communicating with other equipment.
Since call transfer involves switching of call audio, the call partner receives a sound not on the mobile phone side but on the tablet computer side. Therefore, when the call service in the tablet computer receives the first transfer signaling, not only the call state of the tablet computer needs to be switched to the in-call state, but also the DMSDP service in the tablet computer needs to be initialized to start the DMSDP service, so as to complete the preparation work of call audio transfer. And on the basis of not influencing call transfer, the resource waste caused by starting the DMSDP service in advance can be avoided.
And then, the call service in the tablet computer can send a first transfer success response message to the Link service in the tablet computer. The Link service in the tablet computer receives the first transfer success response information, and sends the first transfer success response information to the mobile phone based on the data transmission channel, so that the mobile phone can know that the tablet computer is switched to a call state, and can switch sound to the tablet computer.
And then, the Link service in the mobile phone receives the first transfer success response information and can send the first transfer success response information to the call service in the mobile phone, so that the mobile phone determines that the tablet computer successfully responds to the first transfer signaling and can continue to perform the next operation.
And then, the call service in the mobile phone receives the first transfer success response information, can respond to the first transfer success response information, enables the DMSDP service in the tablet personal computer, and triggers the DMSDP service in the tablet personal computer to transfer call audio so as to switch call sound to the tablet personal computer side, so that a user can use the tablet personal computer to replace the mobile phone to continue to call with a call counterpart.
After the DMSDP service in the tablet computer is started, the mobile phone cannot directly utilize the DMSDP service in the tablet computer, and the DMSDP service in the tablet computer needs to be activated, so that the DMSDP service in the tablet computer is in a controllable state. Illustratively, a call service in a handset sends a related control instruction to a Link service in the handset. After receiving the control instruction, the Link service in the mobile phone sends the control instruction to the Link service in the tablet computer through a data transmission channel between the Link service in the mobile phone and the Link service in the tablet computer. Then, link service in the tablet computer sends the control instruction to call service in the tablet computer, so that the call service switches the state of DMSDP service in the tablet computer into a controllable state, and the mobile phone can remotely control the DMSDP service in the tablet computer.
The foregoing mobile phone triggers the DMSDP service in the tablet computer to transfer the call audio, specifically, the call service in the mobile phone triggers the DMSDP service in the mobile phone to establish a sound transmission channel with the DMSDP service in the tablet computer, and cuts off a call audio stream on the mobile phone side, that is, after receiving second voice data of the opposite device, the mobile phone does not play the second voice data through a speaker in the mobile phone, but transmits the second voice data to the DMSDP service in the tablet computer through the sound transmission channel, so that the DMSDP service plays the call audio by using the speaker in the tablet computer; and the mobile phone does not send the sound collected by the microphone in the mobile phone to the opposite device, but receives the first voice data transmitted by the DMSDP service in the tablet computer through the sound transmission channel, wherein the first voice data is the sound collected by the microphone in the tablet computer, so that the switching of call audio is realized. And on the basis of not influencing data transmission, the waste of resources caused by the fact that the sound transmission channel is established in advance can be avoided.
In the embodiment of the application, in the call transfer process, the mobile phone is responsible for transferring the audio streams of both parties of the call, so that the transfer of the audio streams is realized, and the normal running of the call is ensured. In the embodiment of the present application, a specific manner of implementing audio stream transfer by the mobile phone is illustrated herein with reference to the structure shown in fig. 3. For example, as shown in FIG. 13, the implementation of the above-described audio stream transfer may include steps a-j.
a: when a user of the tablet computer speaks, a microphone in the tablet computer transmits first voice data acquired by the microphone to a DMSDP service in the tablet computer.
b: the DMSDP service in the tablet computer sends the first voice data to the DMSDP service in the mobile phone based on the voice transmission channel.
c: the DMSDP service in the handset sends the first voice data to the AudioHAL in the handset.
d: the AudioHAL in the mobile phone sends the first voice data to a Hi-Fi chip in the mobile phone.
e: the Modem in the mobile phone reads the first voice data from the Hi-Fi chip in the mobile phone to send the first voice data to the opposite equipment, so that a call opposite party can know what the user of the tablet computer speaks.
f: when the Modem in the mobile phone receives the second voice data sent by the opposite side equipment, the Modem in the mobile phone sends the second voice data to the Hi-Fi chip in the mobile phone so that the Hi-Fi chip stores the second voice data.
g: the AudioHAL in the mobile phone reads the second voice data from the Hi-Fi chip.
h: the DMSDP service in the handset reads the second voice data from the AudioHAL in the handset.
i: the DMSDP service in the mobile phone sends the second voice data to the DMSDP service in the tablet computer based on the sound transmission channel.
j: the DMSDP service in the tablet computer sends the second voice data to a loudspeaker in the tablet computer so as to play the second voice data through the loudspeaker, so that a user of the tablet computer can know the speaking content of the opposite party.
In this embodiment of the present application, when the mobile phone receives the second voice data, the speaker in the mobile phone does not acquire and play the second voice data, and the AudioHAL in the mobile phone may directly read the second voice data from the Hi-Fi chip in the mobile phone and transmit the second voice data to the DMSDP service in the mobile phone. And then, based on the sound transmission channel, the DMSDP service in the mobile phone sends the second voice data to the DMSDP service in the tablet personal computer where the mobile phone side channel is currently located. And then, the DMSDP service in the tablet computer can play the second voice data through a loudspeaker in the tablet computer, so that a user of the tablet computer can acquire the speaking content of the opposite party of the conversation, and the connection of the audio streams, namely the switching of the conversation audio streams, is realized. And because the mobile phone can not play the call audio and can not collect the call audio, the leakage of call content and the interference to the user of the mobile phone can be avoided.
Similarly, when the user of the tablet computer speaks, the DMSDP service in the tablet computer sends the first voice data to the DMSDP service in the mobile phone based on the voice transmission channel. After that, the DMSDP service in the mobile phone transmits the first voice data to the opposite party equipment through the Modem through content circulation, so that the opposite party can know the content of the opposite party, and the connection of the audio stream is realized.
It should be understood that when the call on the mobile phone side is switched to the slave device, although the call is on the slave device, the communication function of the mobile phone is still shared by the tablet computer and the other device is interacted through the mobile phone. For example, when the call at the mobile phone side is switched to the tablet personal computer, the tablet personal computer can send the collected voice data of the user to the mobile phone so as to send the voice data to the opposite device by utilizing the Modem in the mobile phone, thereby realizing the transmission of call sound. Moreover, the influence on the call counterpart is avoided, and the call counterpart cannot perceive that the mobile phone side call has been switched to the tablet computer by the mobile phone.
It should be noted that, in the above implementation, when the call is introduced to be transferred from the master device to the slave device, the call on the master device may be transferred from the slave device to the master device, or the call may be initially placed on the mobile phone. For example, a user answers an incoming call of a counterpart device on a mobile phone, the mobile phone responds to the incoming call answering operation to establish a call with the counterpart device, and at this time, the call is initially on the mobile phone.
Example two
The embodiment of the application provides a call transfer method based on a distributed call system. In the embodiment, when the call of the mobile phone side is in the tablet computer, the call of the mobile phone side is transferred from the tablet computer to the mobile phone, so that a user can continue to make a call with a call counterpart through the mobile phone, and the call is transferred from the slave device to the master device. Specifically, as shown in fig. 14, the process of transferring a call from a slave device to a master device may include S501-S507.
S501, establishing a call between a mobile phone and opposite side equipment, and after the call is in a tablet personal computer, responding to a first operation of a user on a call interface displayed by the mobile phone, and displaying an equipment list on the call interface displayed by the mobile phone.
The device list includes a mobile phone identifier. Such as the handset in the device list 21 shown in fig. 6 described above.
S502, responding to the selection operation of the user on the mobile phone identification in the equipment list, and sending a disconnection signaling to the tablet computer by the mobile phone based on a data transmission channel between the mobile phone and the tablet computer.
The reason why the call on the mobile phone side is in the tablet pc may be the following two cases.
In one case, the call on the tablet may be transferred to the tablet by the mobile phone (as described in the first embodiment, the call is transferred from the master device to the slave device). In another case, the call on the tablet computer is established by the mobile phone through the tablet computer. For example, when the mobile phone receives an incoming call of the opposite device, the mobile phone controls the tablet computer to perform incoming call co-vibration. After the user answers the call by the tablet personal computer, the mobile phone responds to the call answering operation of the user on the tablet personal computer, and establishes a call with the opposite equipment to answer the call. And the user can talk to the opposite side device through the tablet personal computer, namely the mobile phone sends the first voice data acquired by the tablet personal computer to the opposite side device, and sends the second voice data sent by the opposite side device to the tablet personal computer.
It should be noted that, no matter what the reason why the phone-side call is in the tablet computer is, the tablet computer and the mobile phone are related to the transmission of call signaling and call voice data, that is, the DMSDP service and Link service in the mobile phone and the DMSDP service and Link service in the tablet computer are started, the mobile phone and the tablet computer have established a voice transmission channel and a data transmission channel, so when the call is converted from the tablet computer to the mobile phone, the mobile phone can interact with the tablet computer directly based on the data transmission channel/voice transmission channel, for example, the mobile phone can send the disconnection signaling to the tablet computer directly based on the mobile phone data transmission channel.
In some embodiments, the data transmission channel between the mobile phone and the tablet pc is stored in the keep-alive mechanism, so that when the data transmission channel is in a closed state, the mobile phone can reestablish the data transmission channel between the mobile phone and the tablet pc, so as to transmit data such as call signaling, call data and the like by using the data transmission channel.
In some embodiments, the first operation may also be other operations on the host device, not just the call interface. For example, when a user clicks an icon of a specific application on the host device, the specific application starts and displays an interface including the above-described device list, where an operation of clicking the icon of the specific application by the user becomes the first operation.
S503, the tablet computer receives the disconnection signaling.
S504, the tablet personal computer responds to the disconnection signaling, stops sending the first voice data to the mobile phone, and stops playing the second voice data.
In this embodiment of the present application, the disconnection signaling is used to trigger the tablet computer to disconnect the call, so that the call is transferred back to the mobile phone. When the tablet personal computer receives a disconnection signaling sent by the mobile phone, the mobile phone side call is indicated to be switched back to the mobile phone by the tablet personal computer, so that call audio data are required to be switched back to the mobile phone, the tablet personal computer can stop collecting the speaking content of the user of the tablet personal computer, and voice data of the tablet personal computer side collected by a microphone in the tablet personal computer are not sent to the mobile phone. And, the tablet computer can control the loudspeaker in the tablet computer to stop playing the second voice data.
For example, the tablet computer may turn off the microphone and the speaker in the tablet computer, so that the microphone in the tablet computer stops collecting voice data, and the speaker in the tablet computer stops playing voice data. Or, in order not to influence the normal use of the microphone and the loudspeaker in the tablet personal computer by the user, the tablet personal computer does not send the voice data collected by the microphone in the tablet personal computer to the mobile phone even if the microphone in the tablet personal computer collects the voice data. And the tablet personal computer does not play the second voice data through a loudspeaker in the tablet personal computer even if the tablet personal computer receives the second voice data transmitted by the mobile phone.
S505, the tablet personal computer switches the local call in-process state to the disconnection state.
S506, the tablet personal computer sends a disconnection success response message to the mobile phone based on the data transmission channel.
For example, the disconnection state indicates that the tablet computer disconnects the call, the call on the mobile phone side is no longer on the tablet computer, and the user can not use the tablet computer to communicate with the opposite party. For example, the disconnected state includes content related to indicating that the call is on the tablet computer, such as not displaying the call interface or displaying the second prompt information, so that the user knows that the call is not on the tablet computer.
S507, the mobile phone sends third voice data collected by a microphone in the mobile phone to the opposite device, and when the second voice data sent by the opposite device is received, the second voice data is played through the microphone in the mobile phone.
In the embodiment of the application, when the mobile phone receives the disconnection success response information sent by the tablet personal computer, the mobile phone indicates that the call on the tablet personal computer is successfully disconnected, and the mobile phone can interact with the other party equipment for call audio data, that is, the mobile phone can send the voice data of the mobile phone side to the other party equipment and receive and play the voice data sent by the other party equipment, so that the successful switching of the call audio is realized, the call is successfully transferred from the slave equipment to the mobile phone, the call requirement of a user is met, and the call restriction is reduced.
One possible implementation of the above call transfer from the slave device to the handset (i.e., master device) is described further below in conjunction with fig. 15. As shown in fig. 15, before the call is in the tablet computer, the Link service and the DMSDP service in the mobile phone are started, the Link service and the DMSDP service in the tablet computer are started, the Link service in the mobile phone and the Link service in the tablet computer have established data transmission channels, and the DMSDP service in the mobile phone and the DMSDP service in the tablet computer have established sound transmission channels.
The user selects a mobile phone identifier from the device list on the call interface displayed by the mobile phone, that is, when the user selects to transfer the call on the mobile phone side from other devices to the mobile phone, the call service in the mobile phone responds to the selection operation and can send a disconnection signaling to the Link service in the mobile phone. The disconnection signaling is used for triggering the tablet computer to disconnect the call so that the call can be transferred back to the mobile phone by the tablet computer.
And then, the Link service in the mobile phone can send the disconnection signaling to the tablet computer based on a data transmission channel between the mobile phone and the tablet computer. The Link service in the tablet computer receives the disconnection signaling and can send the disconnection signaling to the call service in the tablet computer.
And then, the call service in the tablet computer receives the disconnection signaling, and can respond to the disconnection signaling to hang up the current call (if a call interface is not displayed any more), and cut back the call sound to the mobile phone, so that the user can use the mobile phone to continue the call with the opposite party, and the successful transfer of the call is realized.
And then, the call service in the tablet computer sends disconnection success response information to the Link service in the tablet computer. The Link service in the tablet computer sends the disconnection success response information to the Link service in the mobile phone based on the data transmission channel.
And then, the Link service in the mobile phone sends the disconnection success response information to the call service in the mobile phone to inform the call service tablet computer in the mobile phone that the disconnection signaling is successfully responded, namely the call on the tablet computer is disconnected, so that the call service in the mobile phone can continue relevant call processing, such as playing of second voice data and the like.
The call service in the tablet computer switches call sound back to the mobile phone, specifically, the call service in the tablet computer triggers the DMSDP service in the tablet computer to stop acquiring voice data acquired by the microphone in the tablet computer, so that the DMSDP service is prevented from sending voice data of the tablet computer side to the mobile phone, and the call service in the tablet computer triggers the DMSDP service in the tablet computer to stop receiving the voice data sent by the mobile phone based on the sound transmission channel, so that the interception of the audio stream of the tablet computer side is realized, the interference of the voice data of the tablet computer side to the call is avoided, and meanwhile, the call content or the voice data of the tablet computer side can be leaked, so that the privacy of a user is protected.
Example III
The embodiment of the application provides a call transfer method based on a distributed call system. In this embodiment, when the phone-side call is on the tablet computer, the phone-side call is transferred from the tablet computer to other slave devices (such as a notebook computer) in the distributed call system where the mobile phone is located, so that the user can continue to make a call with the opposite party through the notebook computer, and the call is transferred from the slave device to the slave device. Specifically, as shown in fig. 16, the process of transferring a call from a slave device to a slave device may include S601-S616.
S601, when a call is established between the mobile phone and the opposite side equipment and the call is in the tablet personal computer, responding to a first operation of a user on a call interface displayed by the mobile phone, and displaying an equipment list on the call interface displayed by the mobile phone.
Wherein the device list includes device identifications of a plurality of slave devices. The tablet 1, the notebook 1, and the tablet 2 in the device list 21 shown in fig. 6 are all identifiers of the slave devices.
S602, responding to the selection operation of a user on the notebook computer identifier in the equipment list, sending a disconnection signaling to the tablet computer by the mobile phone based on a data transmission channel between the mobile phone and the tablet computer, and sending a session establishment request to the notebook computer by responding to the selection operation of the user on the notebook computer identifier in the equipment list.
S603, the tablet computer receives the disconnection signaling.
S604, the tablet personal computer responds to the disconnection signaling, stops sending the first voice data to the mobile phone, and stops playing the second voice data.
S605, the tablet personal computer switches the local in-call state to the disconnection state.
S606, the tablet personal computer sends second transfer success response information to the mobile phone based on the data transmission channel.
In S602, the implementation process of sending the disconnection signaling to the tablet pc based on the data transmission channel between the mobile phone and the tablet pc in response to the user' S selection operation of the notebook computer identifier in the device list and S603-S606 is similar to the implementation process of S502-S506, and will not be described herein.
S607, the notebook computer receives the session establishment request.
S608, the notebook computer responds to the session establishment request and establishes a data transmission channel with the mobile phone.
S609, the mobile phone sends a second transfer signaling to the notebook computer based on the data transmission channel.
S610, the notebook computer receives the second transfer signaling.
S611, the notebook computer responds to the second transfer signaling to switch the local call state to the call state, and establishes a sound transmission channel with the mobile phone.
S612, the notebook computer sends fourth voice data collected by a microphone in the notebook computer to the mobile phone based on the voice transmission channel.
S613, the mobile phone receives the fourth voice data and sends the fourth voice data to the opposite device.
S614, the mobile phone receives the second voice data sent by the opposite side equipment.
S615, the mobile phone sends the second voice data to the notebook computer based on the voice transmission channel.
S616, the notebook computer receives the second voice data and plays the second voice data through a loudspeaker in the notebook computer.
In S602, in response to the user selecting the identifier of the notebook computer in the device list, the implementation process of sending the session establishment request to the notebook computer and S607-S616 is similar to the implementation process of S402-S412, and will not be described herein.
It should be noted that, when a call is initially placed on the mobile phone, the user may transfer the call from the mobile phone to the slave device. When the call is transferred to the slave device, the user can transfer the call from the slave device to another slave device or transfer the call from the slave device to the mobile phone according to the call requirement, so as to meet various call transfer requirements of the user. For example, a user answers an incoming call of a counterpart device on a mobile phone, the mobile phone responds to the incoming call answering operation to establish a call with the counterpart device, and at this time, the call is initially on the mobile phone.
When a call is initially on a slave device, the user may transfer the call from the slave device to another slave device or transfer the call from the slave device to the handset. When the call is transferred to the other slave device or the mobile phone, the call can be transferred to any one device in the distributed call system, so that various call transfer requirements of users are met. For example, when the mobile phone receives the incoming call of the opposite device, the mobile phone triggers the tablet computer to perform incoming call synchronous vibration. When the user answers the incoming call on the tablet computer, the mobile phone responds to the incoming call answering operation to establish a call with the opposite device, and the call can be considered to be initiated on the tablet computer.
One possible implementation of the above call transfer from the slave device to the handset is described further below in connection with fig. 17. As shown in fig. 17, before a call between a mobile phone and a counterpart device is in a tablet computer, link service and DMSDP service in the mobile phone are started, link service and DMSDP service in the tablet computer are started, and a data transmission channel is established between Link service in the mobile phone and Link service in the tablet computer, and a sound transmission channel is established between DMSDP service in the mobile phone and DMSDP service in the tablet computer.
When a call is established between a mobile phone and a counterpart device, a user may want to continue the call through a slave device (such as the tablet computer) that is to say, the call is transferred from the mobile phone to the slave device, and then a call service in the mobile phone may send Link service initiation signaling to the slave device (such as the notebook computer) based on near field communication.
And then, the call service in the slave equipment (such as the notebook computer) receives the Link service starting signaling, and can initialize the Link service in the notebook computer to realize the starting of the Link service.
And then, selecting the equipment identifier corresponding to the notebook computer from the equipment list on the call interface displayed by the mobile phone by the user, namely when the user selects to transfer the call of the mobile phone side to the notebook computer, responding to the selection operation, and sending a disconnection signaling to the Link service in the mobile phone by the call service in the mobile phone. The disconnection signaling is used for triggering the tablet computer to disconnect the call.
And the call service in the mobile phone sends a session establishment request to the notebook computer. The session establishment request is used for pulling up the session of the notebook computer, namely triggering Link service in the notebook computer and Link service in the mobile phone to establish a data transmission channel, so that the establishment of the data transmission channel between the mobile phone and the notebook computer is realized, the data transmission channel belongs to the session channel, and a corresponding channel ID exists, so that when the mobile phone and the notebook computer need to perform call signaling/call data interaction, the corresponding data transmission channel can be quickly searched according to the call ID, and the quick transmission of data is realized.
Next, in one aspect, for the tablet computer described above:
the Link service in the mobile phone can send the disconnection signaling to the tablet computer based on a data transmission channel between the mobile phone and the tablet computer. The Link service in the tablet computer receives the disconnection signaling and can send the disconnection signaling to the call service in the tablet computer.
And then, the call service in the tablet computer receives the disconnection signaling, and can hang up the current call (if the call interface is not displayed any more) in response to the disconnection signaling.
And then, the call service in the tablet computer sends disconnection success response information to the Link service in the tablet computer. The Link service in the tablet computer sends the disconnection success response information to the Link service in the mobile phone based on the data transmission channel.
And then, the Link service in the mobile phone sends the disconnection success response information to the call service in the mobile phone to inform the call service tablet computer in the mobile phone that the call has been disconnected, so that the call service in the mobile phone can continue relevant call processing, for example, the second voice data is transmitted to the tablet computer.
On the other hand, for the above notebook computer:
after the data transmission channel between the notebook computer and the mobile phone is established, the call service in the mobile phone can send a second transfer signaling to the Link service in the mobile phone.
And then, the Link service in the mobile phone can send the second transfer signaling to the notebook computer based on the data transmission channel. The Link service in the notebook computer receives the second transfer signaling and can send the second transfer signaling to the call service in the notebook computer.
And then, the call service in the notebook computer receives the second transfer signaling, and can respond to the second transfer signaling to switch the call state of the notebook computer to the call state, such as pulling up a call interface, so that a user can intuitively know that the call has been transferred, and the user can use the notebook computer to continue communicating with other equipment.
Since call transfer involves switching of call audio, the call partner receives not a sound on the mobile phone side but a sound on the notebook computer side. Therefore, when the call service in the notebook computer receives the second transfer signaling, not only the call state of the notebook computer needs to be switched to the in-call state, but also the DMSDP service in the notebook computer needs to be initialized to start the DMSDP service, so as to complete the preparation work of call audio transfer.
And then, the call service in the notebook computer can send a second transfer success response message to the Link service in the notebook computer. The Link service in the notebook computer receives the second transfer success response information, and sends the second transfer success response information to the mobile phone based on the data transmission channel, so that the mobile phone can know that the notebook computer is switched to a call state, and can switch sound to the notebook computer.
And then, the Link service in the mobile phone receives the second transfer success response information and can send the second transfer success response information to the call service in the mobile phone.
And then, the call service in the mobile phone receives the second transfer success response information, can respond to the second transfer success response information, enables the DMSDP service in the notebook computer, and triggers the DMSDP service in the notebook computer to transfer the call audio so as to switch the call sound to the notebook computer side, so that the user can use the notebook computer to continue the call with the call counterpart.
After the DMSDP service in the notebook computer is started, the mobile phone cannot directly utilize the DMSDP service in the notebook computer, and the DMSDP service in the notebook computer needs to be enabled first, that is, the DMSDP service in the notebook computer is activated, so that the DMSDP service in the notebook computer is in a controllable state. Illustratively, a call service in a handset sends a related control instruction to a Link service in the handset. After receiving the control instruction, the Link service in the mobile phone sends the control instruction to the Link service in the notebook computer through a data transmission channel between the Link service in the mobile phone and the Link service in the notebook computer. Then, link service in the notebook computer sends the control instruction to call service in the notebook computer, so that the call service switches the state of DMSDP service in the notebook computer to a controllable state, and the mobile phone can remotely control the DMSDP service in the notebook computer.
For example, the process of triggering the DMSDP service in the notebook computer to transfer the call audio by the mobile phone is similar to the process of triggering the DMSDP service in the tablet computer by the mobile phone to transfer the call audio, and will not be described herein.
It should be noted that, although the DMSDP service performs data transmission based on a voice transmission channel, the voice transmission channel is still implemented based on near field communication, that is, based on a Link service in the device. When the Link service is needed to realize multi-device sharing in other distributed service scenarios (such as distributed short message service), the call switching, that is, the sharing process can be realized based on the Link service as described above.
It will be appreciated that if a Link service or DMSDP service in a slave device (e.g., tablet, notebook, as described above) has been initialized, i.e., if it has been started, the master device need not trigger the slave device to start the Link service or DMSDP service any more, e.g., the master device does not send Link service start signaling to the tablet. And, if the session between the master device and the slave device is already established, the master device does not need to send a session request to the slave device to establish the session with the slave device, that is, if the session channel (such as the above-mentioned voice transmission channel and data transmission channel) between the master device and the slave device is in an active state, the session channel does not need to be re-established, and the corresponding data can be directly transmitted by using the session channel.
In the embodiment of the present application, as shown in fig. 1, the call between the master device 100 and the counterpart device may be transferred between any two devices in the distributed call system where the master device 100 is located. For example, the call may be transferred from the master device 100 to the slave device 200, the call may be transferred from one slave device 200 to another slave device 200, the call may be transferred from the slave device 200 to the master device 100, the slave device 200 may maintain the call by sharing the communication function of the master device 100, so that any transfer of the call on the master device 100 side may be implemented, and multiple transfers may be supported, various call transfer requirements of the user may be satisfied, so that the user may use any device in the distributed call system to continue the call with the other device, and call restriction may be reduced. And when the call transfer is carried out, the data such as call signaling/call data are transmitted by utilizing the data transmission channel, the call audio data are transmitted by utilizing the sound transmission channel, so that the fact that the data cannot be transmitted in time due to long-time occupation of the channel when the call transfer is carried out on the basis of single channel transmission can be avoided, the data can quickly reach a service module to be processed, the data can be quickly processed, and the call transfer efficiency is improved.
Embodiments of the present application also provide a computer-readable storage medium including computer instructions that, when executed on an electronic device described above, cause the electronic device to perform the functions or steps of the method embodiments described above.
Embodiments of the present application also provide a computer program product comprising a computer program for causing an electronic device to perform the functions or steps of the above-described method embodiments when the computer program is run on the electronic device.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A call transfer method, the method comprising:
in the process of carrying out voice communication between a first device and a counterpart device, responding to a first operation of a user on the first device, displaying a device list by the first device, wherein the device list comprises at least one device identifier, and the at least one device identifier comprises a device identifier of the first device and/or a device identifier of at least one second device; each of the first device and the at least one second device is based on a near field communication connection;
responding to the selection operation of a user on the equipment identifier of a first target equipment in the equipment list, and if the first equipment collects voice data and carries out voice communication with the opposite equipment, sending transfer signaling to the first target equipment by the first equipment based on a data transmission channel between the first equipment and the first target equipment; the data transmission channel is used for transmitting call signaling and/or call data; the call signaling comprises transfer signaling and/or disconnection signaling; the call data comprises the telephone number of the opposite side equipment; the disconnection signaling is used for triggering the second equipment to disconnect the call;
The first target equipment receives the transfer signaling, responds to the transfer signaling, continues the voice call between the first equipment and the opposite side equipment, carries out voice call between the first target equipment and the opposite side equipment through the first equipment, and updates the call state of the first target equipment into a call state;
the voice communication between the first target device and the opposite device is carried out by the first target device, and the voice communication comprises the following steps:
the first target device sends first voice data collected by a microphone in the first target device to the first device based on a sound transmission channel between the first target device and the first device; the sound transmission channel is used for transmitting call voice data;
the first equipment receives the first voice data and sends the first voice data to the opposite equipment;
the first device receives second voice data sent by the opposite device and sends the second voice data to the first target device based on a sound transmission channel between the first device and the first target device;
the first target device receives the second voice data and plays the second voice data through a loudspeaker in the first target device.
2. The method of claim 1, wherein the first target device is the first device, the method further comprising:
responding to the selection operation of a user on the equipment identifier of the first target equipment in the equipment list, and if a second target equipment in the at least one second equipment collects voice data and carries out voice communication with the opposite equipment through the first equipment, sending a disconnection signaling to the second target equipment by the first equipment based on a data transmission channel between the first equipment and the second target equipment;
the second target device receives the disconnection signaling;
the second target device responds to the disconnection signaling, stops collecting voice data to carry out voice communication with the opposite side device through the first device, and updates the communication state of the second target device to be a disconnection state;
the first device collects voice data and performs voice communication with the opposite device.
3. The method of claim 1, wherein the first target device is a device of the at least one second device that is not engaged in a voice call, the method further comprising:
Responding to a selection operation of a user on the device identifier of the first target device in the device list, if a second target device in the at least one second device collects voice data and performs voice communication with the opposite device through the first device, the first device sends a disconnection signaling to the second target device based on a data transmission channel between the first device and the second target device, and the first device sends a transfer signaling to the first target device based on the data transmission channel between the first device and the first target device;
the second target device receives the disconnection signaling;
the second target device responds to the disconnection signaling, stops collecting voice data to carry out voice communication with the opposite side device through the first device, and updates the communication state of the second target device to be a disconnection state;
the first target device receives the transfer signaling, responds to the transfer signaling, continues the voice call between the first device and the opposite device, and carries out the voice call between the first target device and the opposite device through the first device, and updates the call state of the first target device into the call state.
4. The method according to claim 1, wherein the method further comprises:
the first device sends a session establishment request to the first target device;
the first target device receives the session establishment request and establishes a data transmission channel with the first device in response to the session establishment request.
5. The method according to claim 1, wherein the method further comprises:
the first target device establishes a voice transmission channel with the first device in response to the transfer signaling.
6. The method according to any one of claims 1, 4 to 5, further comprising:
after the voice transmission channel between the first target device and the first device transmits call voice data, the first device starts timing;
and when the timing reaches the preset duration and the voice transmission channel does not transmit call voice data, the first device closes the voice transmission channel between the first target device and the first device.
7. The method according to any of claims 1, 3 to 6, wherein the transfer signaling comprises a telephone number of the counterpart device;
The updating the call state of the first target device to the call state comprises the following steps:
the first target device displays a call interface, wherein the call interface comprises a telephone number of the opposite device and first prompt information, and the first prompt information indicates the device to which the voice call on the first target device actually belongs.
8. A method according to claim 2 or 3, wherein said updating the call state of the second target device to a disconnected state comprises:
and the second target equipment stops displaying the call interface.
9. The method of any of claims 1, 3-6, wherein the first device comprises a first distributed fusion awareness platform, DMSDP, service and the second device comprises a second DMSDP service;
the first target device sends first voice data collected by a microphone in the first target device to the first device based on a sound transmission channel between the first target device and the first device, and the method comprises the following steps:
the second DMSDP service in the first target device sends the first voice data to the first DMSDP service based on a voice transmission channel between the second DMSDP service and the first DMSDP service in the first target device;
The method further comprises the steps of:
the first target device initiates a second DMSDP service in the first target device in response to the transfer signaling.
10. A call transfer method, which is characterized by being applied to first equipment in a distributed call system, wherein the distributed call system further comprises at least one second equipment, and the first equipment is respectively connected with each second equipment in the at least one second equipment based on near field communication; a voice call is established between the first equipment and opposite equipment;
the method comprises the following steps:
in response to a first operation of the first device by a user, the first device displays a device list including at least one device identification including a device identification of the first device and/or a device identification of at least one second device;
responding to the selection operation of a user on the equipment identifier of a first target equipment in the equipment list, and if the first equipment collects voice data and carries out voice communication with the opposite equipment, sending transfer signaling to the first target equipment by the first equipment based on a data transmission channel between the first equipment and the first target equipment; the data transmission channel is used for transmitting call signaling and/or call data; the call signaling comprises transfer signaling and/or disconnection signaling; the call data comprises the telephone number of the opposite side equipment; the disconnection signaling is used for triggering the second equipment to disconnect the call; the transfer signaling is used for triggering the first target equipment to update the call state of the first target equipment to the call state;
The first device receives first voice data sent by the first target device based on a voice transmission channel between the first device and the first target device, and sends the first voice data to the opposite device; wherein the first voice data is collected by a microphone in the first target device;
the first device receives second voice data sent by the opposite device, and sends the second voice data to the first target device based on a sound transmission channel between the first device and the first target device.
11. A call transfer method, which is applied to a second device in a distributed call system, wherein the distributed call system further comprises a first device, and the first device and the second device are connected based on near field communication; a voice call is established between the first equipment and opposite equipment;
the method comprises the following steps:
if the first device collects voice data and carries out voice communication with the opposite device, the second device receives transfer signaling sent by the first device based on a data transmission channel between the first device and the second device; the data transmission channel is used for transmitting call signaling and/or call data; the call signaling comprises transfer signaling and/or disconnection signaling; the call data comprises the telephone number of the opposite side equipment; the disconnection signaling is used for triggering the second equipment to disconnect the call; the transfer signaling is generated by the first device in response to a user selection operation of the device identification of the second device in the device list displayed by the first device;
The second equipment responds to the transfer signaling, continues the voice call between the first equipment and the opposite side equipment, and the second equipment carries out the voice call with the opposite side equipment through the first equipment and updates the call state of the second equipment into the call state;
the second device performs voice communication with the opposite device through the first device, and the method comprises the following steps:
the second device sends first voice data collected by a microphone in the second device to the first device based on a sound transmission channel between the second device and the first device; the sound transmission channel is used for transmitting call voice data; the first voice data is used for triggering the first equipment to send the first voice data to the opposite equipment;
the second device receives second voice data sent by the first device based on a sound transmission channel between the second device and the first device, and plays the second voice data through a loudspeaker in the second device.
12. An electronic device, wherein the electronic device is a first device, the electronic device comprising a display screen, a memory, one or more subscriber identity module, SIM, card interfaces, and one or more processors; the display screen, the memory, the SIM card interface and the processor are coupled; the SIM card interface is used for being connected with the SIM card, the display screen is used for displaying the image generated by the processor, the memory is used for storing computer program codes, and the computer program codes comprise computer instructions; the computer instructions, when executed by the processor, cause the electronic device to perform the method of claim 10.
13. An electronic device, wherein the electronic device is a second device, the electronic device comprising a display screen, a memory, and one or more processors; the display screen, the memory and the processor are coupled; the display screen is used for displaying images generated by the processor, and the memory is used for storing computer program codes, and the computer program codes comprise computer instructions; the computer instructions, when executed by the processor, cause the electronic device to perform the method of claim 11.
14. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of claim 10 or 11.
CN202211217116.1A 2022-09-30 2022-09-30 Call transfer method and electronic equipment Pending CN117812547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211217116.1A CN117812547A (en) 2022-09-30 2022-09-30 Call transfer method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211217116.1A CN117812547A (en) 2022-09-30 2022-09-30 Call transfer method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117812547A true CN117812547A (en) 2024-04-02

Family

ID=90427553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211217116.1A Pending CN117812547A (en) 2022-09-30 2022-09-30 Call transfer method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117812547A (en)

Similar Documents

Publication Publication Date Title
CN110621013B (en) SIM module management method and electronic equipment
US11653398B2 (en) Bluetooth connection method and device
US11805350B2 (en) Point-to-multipoint data transmission method and device
EP4192057A1 (en) Bluetooth communication method, wearable device, and system
CN112887926B (en) Calling method and device
CN109327613B (en) Negotiation method based on voice call translation capability and electronic equipment
CN112789934B (en) Bluetooth service query method and electronic equipment
CN114175701A (en) Method for using remote SIM module and electronic equipment
CN112543447A (en) Device discovery method based on address list, audio and video communication method and electronic device
CN114928831B (en) Communication method and electronic equipment
CN114697955A (en) Encrypted call method, device, terminal and storage medium
CN114466324B (en) Calling method and related device
CN117812547A (en) Call transfer method and electronic equipment
CN117812548A (en) Distributed communication method and electronic equipment
CN117915308A (en) Power-off method and electronic equipment
CN114338891B (en) Communication method and device
WO2023216988A1 (en) Call method and communication system
CN116743924B (en) Color ringing sound processing method and electronic equipment
EP4290840A1 (en) Incoming call notification system and electronic device
CN116708674B (en) Communication method and electronic equipment
WO2023025150A1 (en) Call method, electronic device, and system
CN117014843A (en) Mobile communication method and electronic equipment
CN117793655A (en) Incoming call prompting method and electronic equipment
CN115277923A (en) Call method and electronic equipment
CN116347424A (en) Method for making call and electronic equipment

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