WO2022228046A1 - Call method, and electronic device - Google Patents

Call method, and electronic device Download PDF

Info

Publication number
WO2022228046A1
WO2022228046A1 PCT/CN2022/085098 CN2022085098W WO2022228046A1 WO 2022228046 A1 WO2022228046 A1 WO 2022228046A1 CN 2022085098 W CN2022085098 W CN 2022085098W WO 2022228046 A1 WO2022228046 A1 WO 2022228046A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
card
information
user
call
Prior art date
Application number
PCT/CN2022/085098
Other languages
French (fr)
Chinese (zh)
Inventor
朱珂
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022228046A1 publication Critical patent/WO2022228046A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Definitions

  • the embodiments of the present application relate to the technical field of terminals, and in particular, to a calling method and an electronic device.
  • a terminal such as a smart phone and a Bluetooth device such as a Bluetooth headset or a Bluetooth speaker are connected through Bluetooth, and the Bluetooth device can invoke the communication capability of the terminal to initiate a call.
  • Multiple calling cards can be installed in the mobile phone.
  • the user can initiate a call through the mobile phone using a Bluetooth device. If the user does not want to use the default card set in the mobile phone to make calls or does not set the default card, the user also needs to operate the mobile phone to select the calling card for the current call. The operation is cumbersome and inconvenient, and the efficiency is low.
  • the embodiment of the present application discloses a calling method and an electronic device, so that a user can conveniently select a user card on an electronic device connected to the Bluetooth device on the Bluetooth device to conduct a call.
  • a first aspect of the present application discloses a calling method, which is applied to a first electronic device, the method comprising: receiving the second electronic device based on a first communication connection between the first electronic device and a second electronic device Additional call information transmitted by the device; wherein the additional call information includes first user card information and second user card information, wherein the first user card information is the first user card installed in the second electronic device.
  • the second user card information is the information of the second user card installed in the second electronic device; present the first user card information and the second user card information; receive the first user card information Card information or the first operation of the card information of the second user; in response to the first operation, select one of the first user card and the second user card as a designated card; send the information of the designated card to the second electronic device, so that the second electronic device uses the designated card to initiate a call request to a third party.
  • the second electronic device can synchronize the user card information on the second electronic device to the first electronic device through the first communication connection, and the first electronic device can specify the user-selected designation through the first communication connection.
  • the card information is transmitted to the second electronic device, the user can operate on the first electronic device to select a designated card, and the second electronic device can initiate a call request according to the user's selection of the designated card. It is realized that the user can select the user card used for the current call on the watch without having to select the operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
  • the presenting the first user card information and the second user card information includes: acquiring the first user card information and the second user card information in the additional call information card information; user card options respectively corresponding to the first user card information and the second user card information are presented on the dialing interface of the first electronic device, so that the user can select a designated card for the current call.
  • the first communication connection includes one of a Bluetooth connection and a Wi-Fi connection.
  • the sending the information of the designated card to the second electronic device, so that the second electronic device uses the designated card to initiate a call request to a third party includes: The first communication connection between the first electronic device and the second electronic device transmits the information of the designated card to the second electronic device; based on the second communication between the first electronic device and the second electronic device Connect, and transmit the call command corresponding to the first operation to the second electronic device, so that the second electronic device uses the designated card to initiate a call request to a third party.
  • the sending the information of the designated card to the second electronic device, so that the second electronic device uses the designated card to initiate a call request includes: based on the first The first communication connection between the electronic device and the second electronic device transmits the information of the designated card and the call command corresponding to the first operation to the second electronic device, so that the second electronic device uses the The specified card initiates a call request to a third party.
  • the method before the receiving the additional call information transmitted by the second electronic device, the method further includes: when detecting a communication between the first electronic device and the second electronic device When the establishment of the communication connection is completed, based on the communication connection between the first electronic device and the second electronic device, request the second electronic device for the user card information of the user card installed in the second electronic device; or , when a dialing operation for inputting a dialing number is detected, based on the communication connection between the first electronic device and the second electronic device, request the second electronic device for the device installed in the second electronic device User card information of the user card; or, in response to the received trigger operation, the first electronic device requests the second electronic device based on the communication connection between the first electronic device and the second electronic device User card information of the user card installed in the second electronic device.
  • the receiving the additional call information transmitted by the second electronic device comprises: receiving the second electronic device based on the communication connection between the first electronic device and the second electronic device When the device detects that the user card information of the user card installed in the second electronic device is updated, the additional call information transmitted according to the updated user card information; or based on the relationship between the first electronic device and the first electronic device.
  • the communication connection between two electronic devices receives additional call information transmitted by the second electronic device when it detects that the establishment of the communication connection between the first electronic device and the second electronic device is completed.
  • the user card includes one or more of the following: a user identification card, a global user identification card, a user identification card and a data card; the call request includes an operator voice call request or VOIP voice call request.
  • the additional call information further includes one or more of the following: an address book corresponding to the user card, number attribution, caller number marking information, call time and call type .
  • a second aspect of the present application discloses a method for calling, which is applied to a second electronic device.
  • the method includes: based on a first communication connection between the first electronic device and the second electronic device, sending a call to the first electronic device.
  • the device transmits additional call information, wherein the additional call information includes first user card information and second user card information, wherein the first user card information is information of the first user card installed in the second electronic device , the second user card information is the information of the second user card installed in the second electronic device; receive the information of the designated card sent by the first electronic device, and use the designated card to initiate a call request to a third party , the designated card is one of the first user card and the second user card.
  • the first electronic device After receiving the additional call information, the first electronic device presents the first user card information and the second user card information, and then the first electronic device receives the user's response to the first user card information or the selection of the second user card information, and in response to the selection, select a user card from the first user card and the second user card, and send the selected user card to the second electronic device .
  • the first communication connection includes one of a Bluetooth connection and a Wi-Fi connection.
  • the receiving the designated card information sent by the first electronic device, and using the designated card to initiate a call request to a third party includes: based on the first electronic device and the second electronic device based on the first communication connection between the first electronic device and the designated card sent by the first electronic device; based on the second communication connection between the first electronic device and the second electronic device, receive the call sent by the first electronic device command; based on the call command, use the designated card to initiate a call request to a third party.
  • the receiving the designated card information sent by the first electronic device, and using the designated card to initiate a call request to a third party includes: based on the first electronic device and the second electronic device A first communication connection between the two devices, receiving the information of the designated card and a call command sent by the first electronic device; based on the call command, using the designated card to initiate a call request to a third party.
  • the method before transmitting the additional call information to the first electronic device, the method further includes: based on the communication connection between the first electronic device and the second electronic device, receiving the When the first electronic device detects that the establishment of the communication connection between the first electronic device and the second electronic device is completed, it sends to the second electronic device a request for a user installed in the second electronic device or, based on the communication connection between the first electronic device and the second electronic device, when the first electronic device detects a dialing operation for inputting a dialed number, the receiving A request sent by the second electronic device for requesting user card information of a user card installed in the second electronic device.
  • transmitting the additional call information by the first electronic device includes: when it is detected that the establishment of the communication connection between the first electronic device and the second electronic device is completed, based on the first electronic device The communication connection between the electronic device and the second electronic device transmits additional call information to the first electronic device; or, when detecting the update of the user card information of the user card installed in the second electronic device, according to the update The subsequent user card information transmits additional call information to the first electronic device.
  • the user card includes one or more of the following: a user identification card, a global user identification card, a user identification card and a data card; the call request includes an operator voice call request or VOIP voice call request.
  • the additional call information further includes one or more of the following: an address book corresponding to the user card, number attribution, caller number marking information, call time and call type .
  • a third aspect of the present application discloses a calling method, the method comprising:
  • the first electronic device receives additional call information transmitted by the second electronic device based on the first communication connection between the first electronic device and the second electronic device; wherein the additional call information includes the first user card information and the first user card information.
  • Two user card information wherein the first user card information is the information of the first user card installed in the second electronic device, and the second user card information is the second user card installed in the second electronic device.
  • the first electronic device presents the first user card information and the second user card information; the first electronic device receives the first user card information or the second user card information the first operation of the information; the first electronic device selects one of the first user card and the second user card as a designated card in response to the first operation; the first electronic device The card information is sent to the second electronic device; the second electronic device uses the designated card to initiate a call request to a third party.
  • a fourth aspect of the present application discloses an electronic device, including a processor and a memory; the memory is used to store instructions; the processor is used to call the instructions in the memory, so that the electronic device executes the described call method.
  • a fifth aspect of the present application is a computer-readable storage medium, where the computer-readable storage medium stores at least one instruction, and the at least one instruction implements the calling method when executed by a processor.
  • FIG. 1 is a schematic diagram of a call scenario provided by 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 schematic structural diagram of another electronic device according to an embodiment of the present application.
  • FIG. 4a is a schematic structural diagram of a communication system according to an embodiment of the present application.
  • FIG. 4b is a schematic structural diagram of another call system provided by an embodiment of the present application.
  • FIG. 4c is a schematic structural diagram of another call system according to an embodiment of the present application.
  • FIG. 5a provides a schematic diagram of an instruction interaction flow between Bluetooth modules according to an embodiment of the present application.
  • FIG. 5b provides a schematic diagram of another instruction interaction flow between Bluetooth modules according to an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a calling method according to an embodiment of the present application.
  • FIG. 7a is a schematic diagram of a watch address book provided by an embodiment of the present application.
  • FIG. 7b is a schematic diagram of a call record of a watch provided by an embodiment of the present application.
  • FIG. 7c is a schematic diagram of a watch dial provided by an embodiment of the present application.
  • FIG. 8a is a schematic diagram of a dialing interface provided by an embodiment of the present application.
  • FIG. 8b is a schematic diagram of another dialing interface provided by an embodiment of the present application.
  • FIG. 8c is a schematic diagram of another dialing interface provided by an embodiment of the present application.
  • FIG. 8d is a schematic diagram of another dialing interface provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a dialing state provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of another dialing state provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of another dialing state provided by an embodiment of the present application.
  • FIG. 12 is a schematic flowchart of another calling method provided by an embodiment of the present application.
  • FIG. 13 is a schematic flowchart of another calling method provided by an embodiment of the present application.
  • FIG. 14 is a schematic flowchart of another calling method provided by an embodiment of the present application.
  • FIG. 15 is a schematic flowchart of another calling method provided by an embodiment of the present application.
  • FIG. 1 is a schematic diagram of a call scenario provided by an embodiment of the present application.
  • the call scenario includes a first electronic device 200 and a second electronic device 300 .
  • the first electronic device 200 and the second electronic device 300 have a Bluetooth call function, and the first electronic device 200 and the second electronic device 300 can communicate through Bluetooth technology (including classic Bluetooth and Bluetooth Low Energy (BLE) ) to communicate.
  • Bluetooth technology including classic Bluetooth and Bluetooth Low Energy (BLE)
  • the first electronic device 200 supports the software (Hands-free Profile, HFP) that controls the phone through the Bluetooth device to call the second electronic device 300 call capability to initiate a call.
  • the second electronic device 300 may be an audio gateway (Audio Gate, AG), which is an audio input/output gateway.
  • the first electronic device 200 can be used as a hands-free component (Hands Free, HF), which is the remote audio input/output mechanism of the audio gateway, and can provide several remote control functions, such as being able to control calls, such as answering, hanging up, rejecting, Voice dialing, etc.
  • the first electronic device may include a smart watch, a bluetooth speaker, a bluetooth wristband, a bluetooth smart glasses, a car device, a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, a super A mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a cellular phone, an artificial intelligence (artificial intelligence (AI) device, etc.), the specific type of the first electronic device is not particularly limited in this embodiment of the present application.
  • UMPC ultra-mobile personal computer
  • AI artificial intelligence
  • FIG. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the smart watch may include: a processor 201 , a memory 202 , a sensor 203 , at least one receiver 204 , at least one microphone 205 , a power source 206 and a Bluetooth device 207 .
  • the memory 202 may be used to store application program codes, such as application program codes for pairing the smart watch with the above-mentioned second electronic device.
  • the processor 201 may control the application code for executing the calling method of the embodiment of the present application, so as to realize the function of the smart watch in the embodiment of the present application.
  • the memory 202 may also store a Bluetooth address for uniquely identifying the smart watch.
  • the memory 202 may also store connection data with the electronic device that has been successfully paired with the smart watch before.
  • the connection data may be the Bluetooth address of the electronic device successfully paired with the smart watch. Based on the connection data, the smart watch can be automatically paired with the electronic device without having to configure the connection therewith, such as legality verification.
  • the above Bluetooth address may be a media access control (media access control, MAC) address.
  • Sensors 203 may include distance sensors, proximity light sensors, gravity sensors, and/or gyroscopes, among others.
  • the processor 201 of the smart watch can use the sensor 203 to determine whether it is worn by the user, and can also use the sensor 203 to determine some actions of the user when the watch is worn, such as a wrist lift.
  • the processor 201 of the smart watch can use the proximity light sensor to detect whether there is an object near the smart watch, so as to determine whether the smart watch is worn by the user.
  • the processor 201 of the smart watch may turn on the receiver 204 .
  • the smart watch may also include a bone conduction sensor in combination with a bone conduction earphone.
  • the bone conduction sensor can acquire the vibration signal of the vibrating bone mass of the voice part, and the processor 201 parses the voice signal to realize the control function corresponding to the voice signal.
  • the smart watch may further include a touch sensor or a pressure sensor for detecting a user's touch operation and pressing operation, respectively.
  • the smart watch may further include a fingerprint sensor for detecting the user's fingerprint, identifying the user's identity, and the like.
  • the smart watch may further include an ambient light sensor, and the processor 201 of the smart watch may adaptively adjust some parameters, such as volume, according to the brightness of the ambient light sensed by the ambient light sensor.
  • the Bluetooth device 207 is used to establish a Bluetooth connection with other electronic devices (eg, the second electronic device), so that short-distance data exchange can be performed between the first electronic device and the other electronic devices.
  • the receiver 204 which may also be referred to as an "earpiece", may be used to convert audio electrical signals into sound signals and play them back.
  • the receiver 204 can convert the received audio electrical signal into a sound signal and play it.
  • the microphone 205 also referred to as “microphone” or “microphone”, is used to convert sound signals into audio electrical signals.
  • the microphone 205 can collect the user's voice signal and convert it into an audio electrical signal.
  • the power supply 206 can be used to supply power to various components included in the smart watch.
  • the power source 206 may be a battery, such as a rechargeable battery.
  • the structure illustrated in this embodiment does not constitute a specific limitation on the smart watch. It may have more or fewer components than shown in Figure 2, may combine two or more components, or may have a different configuration of components.
  • the smart watch may also include components such as an indicator light (which can indicate the state of power, etc.), a dust filter (which can be used in conjunction with an earpiece).
  • the various components shown in Figure 2 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.
  • the second electronic device may include a cell phone, tablet, desktop, laptop, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, and cellular telephone , personal digital assistant (personal digital assistant, PDA), augmented reality (augmented reality, AR) ⁇ virtual reality (virtual reality, VR) equipment, media player, television and other equipment, this embodiment is specific to the second electronic equipment
  • PDA personal digital assistant
  • augmented reality augmented reality, AR
  • VR virtual reality
  • FIG. 3 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
  • the second electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, and an antenna 1 , antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, camera 193, display screen 194, etc., and a subscriber identification module module, SIM) card interface 195 and so on.
  • SIM subscriber identification module
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device.
  • the electronic device may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural-network processing unit neural-network processing unit
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface 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 transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device. While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G etc. applied on the electronic device.
  • the mobile communication module 150 may include one or more filters, switches, power amplifiers, low noise amplifiers (LNAs), and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator 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 passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on electronic devices including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems ( global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite systems
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating one or more communication processing modules.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna
  • the antenna 1 of the electronic device is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the electronic device realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the electronic device can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
  • Video codecs are used to compress or decompress digital video.
  • An electronic device may support one or more video codecs.
  • the electronic device can play or record videos in various encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 moving picture experts group
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store one or more computer programs including instructions.
  • the processor 110 may execute the above-mentioned instructions stored in the internal memory 121, thereby causing the electronic device to execute the calling methods provided in some embodiments of the present application, as well as various functional applications and data processing.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the stored program area may store the operating system; the stored program area may also store one or more application programs (such as gallery, contacts, etc.) and the like.
  • the storage data area can store data (such as photos, contacts, etc.) created during the use of the electronic device.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, universal flash storage (UFS), and the like.
  • the processor 110 causes the electronic device to execute the calling method provided in the embodiments of the present application by executing the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor, As well as various functional applications and data processing.
  • the second electronic device may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the second electronic device can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be received by placing the receiver 170B close to the human ear.
  • Microphone 170C also known as “microphone” and “microphone” is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device may be provided with one or more microphones 170C. In other embodiments, the electronic device may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
  • the touch sensor can be arranged on the display screen, and the touch screen is composed of the touch sensor and the display screen, also called "touch screen”.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 employs an eSIM, ie: an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the above electronic device may also include one or more components such as buttons, motors, indicators, etc., which are not limited in this embodiment of the present application.
  • the mobile phone can By default, a default card is used to dial the phone number, wherein the default card is a user card preset by the user and used for a certain service (such as dialing, sending text messages, or using traffic to access the Internet) by default.
  • the user does not want to use the default card to make calls, or when the default card is not set, or when the user wants to select a certain card to dial the phone number, the user also needs to operate the second electronic device to select the The current call card is cumbersome and inconvenient to operate, and the efficiency is low.
  • an embodiment of the present application provides a call method.
  • the first electronic device receives additional call information transmitted by the second electronic device, and the additional call information includes: Information of the user card installed in the second electronic device.
  • the additional call information may include first user card information and second user card information, wherein the user card information is the information of the user card installed in the second electronic device, and the first user card information is the first user card information installed in the second electronic device.
  • Information of a user card, the second user card information is the information of the second user card installed in the second electronic device, and then the first user card information and the second user card information are presented, and the user enters the first user card information on the first electronic device.
  • a first operation of user card information or second user card information the first electronic device receives the first operation and responds to select one of the first user card and the second user card as the designated card, the first electronic device will The information of the designated card is sent to the second electronic device, so that the second electronic device uses the designated card to initiate a call request to a third party. In this way, the user can select the designated card for the current call on the first electronic device, and the second electronic device can use the designated card to initiate a call request to a third party.
  • the user card is the user identity card, which may include a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and a User Identity Module (UIM) , data cards and other cards used to identify the user of the mobile terminal.
  • SIM Subscriber Identity Module
  • USIM Universal Subscriber Identity Module
  • UIM User Identity Module
  • the user identity module card commonly referred to as a "SIM card”
  • SIM card is a smart card mainly used to store user identity identification data, text message data, and phone numbers.
  • the SIM card is the key for the Global System for Mobile Communications (GSM) mobile phone to connect to the GSM network. Once the SIM card is removed from the mobile phone, the mobile phone will not be able to enjoy various services provided by the network operator except for emergency calls.
  • GSM Global System for Mobile Communications
  • Datacard also known as wireless network card, broadband network card, USB modem (USB modem), etc.
  • data card can pass GSM (Global System for Mobile communications, global digital mobile phone system) UMTS (Universal Mobile Telecommunication System) , Universal Mobile Communication System), CDMA (Code Division Multiple Access, Code Division Multiple Access) and other mobile communication technologies are connected to the wireless network to realize functions such as voice, SMS, and data services.
  • GSM Global System for Mobile communications, global digital mobile phone system
  • UMTS Universal Mobile Telecommunication System
  • CDMA Code Division Multiple Access, Code Division Multiple Access
  • the main function of the data card is to connect to the Internet through dial-up for data services.
  • the user card information may include: the number of the user card, the type of the user card, the card number information of the user card, the address book on the user card or the short message on the user card, and the like.
  • the additional call information includes the user card information of the multiple user cards, such as the user card type corresponding to each user card, the card number information corresponding to each user card, and the information on each user card.
  • the number of the user card is the number set by the telephone management department.
  • the number is the Mobile Directory Number (MDN) number, that is, the number that the calling user needs to dial when the user on this network is called.
  • MDN Mobile Directory Number
  • the user card type includes a SIM card, a UIM card or a USIM card, a data card, and the like.
  • the card number information may include an integrated circuit card identification code (ICCID, Integrate circuit card identity), a mobile subscriber's number (MSISDN, Mobile Subscriber International ISDN/PSTN number).
  • ICCID integrated circuit card identification code
  • MSISDN Mobile Subscriber International ISDN/PSTN number
  • the address book on the user card is the address book stored on the user card, which can be included in an object name, corresponding to the stored landline, mobile phone, home electricity, work unit, fax, address, email or number attribution information, etc. multiple content.
  • the number attribution information includes the attribution information of the user's phone number and/or the geographical information of the physical address of the user terminal.
  • the short message on the user card is the short message information stored on the user card.
  • the designated card is a user card installed on the second electronic device, which is for the user to operate the first electronic device, and the user designates the user card used for the current call on the first electronic device.
  • the designated card information is the information of the designated card, that is, the information of the user card designated by the user for the current call, and the designated card information may include the card type and card number information of the designated card.
  • the user card information may also include other information stored in the user card or information associated with the user card but not stored in the user card, such as the usage of the monthly package corresponding to the user identification card. This application does not specifically limit this.
  • the call system includes a first electronic device and a second electronic device.
  • the first electronic device is a smart watch, which is collectively referred to as a watch hereinafter, and the second electronic device is a mobile phone.
  • the specific types of electronic devices are specifically limited.
  • FIG. 4a is a schematic structural diagram of a communication system according to an embodiment of the present application.
  • the call system includes a mobile phone and a watch
  • the mobile phone includes a card management module 40 , a first Bluetooth module 41 and a second call management module 42
  • the watch includes a second Bluetooth module 401 , a first call management module 402 and an application layer 403 .
  • the mobile phone and the watch can interact based on the first communication connection and the second communication connection.
  • the first communication connection includes a Bluetooth connection.
  • the second communication connection includes a Bluetooth connection.
  • the first channel is used to transmit standard call information.
  • the standard call information may include the phone number dialed by the user, the content of the call, the state of the call, and the like.
  • the phone number dialed by the user is the phone number of the call object called by the user, that is, the phone number of the object to be called.
  • the call content is the call content between the user and the call object, such as the voice information of the call.
  • the call state is the state in which the user initiates the call, and the call state includes at least one of the following: dialing state DIALING, ringing state ALERTING, connection state ACTIVE, call waiting state CALL_WAITING, connection timeout DISCONNECTED/IDLE state, etc.
  • the second channel is used to transmit additional call information, and the additional call information includes user card information, designated card information, caller ID mark information, and call type.
  • the user card information of all user cards installed on the mobile phone can be transmitted to the watch through the second channel, if the first user card and the second user card are installed on the mobile phone, the first user card and the second user card
  • the card information is transmitted to the watch through the second channel, so as to inform the watch of the user card information of the user card installed on the mobile phone.
  • the designated card information is sent to the watch through the second channel.
  • the marking information of the incoming call number is the information that the telephone number of the incoming call received by the user is marked by the user or other users. When the number is displayed, the marked information "Express Delivery" corresponding to the number is displayed.
  • the call type may include a carrier voice call type or a VOIP voice call type
  • the carrier voice call type is a call transmitted through a traditional telephone network of a telecom operator.
  • the VOIP voice call type is the transmission of voice over IP (Internet Protocol) over the Internet.
  • the standard call information is information transmitted during a normal Bluetooth call
  • the additional call information is information other than the standard call information provided by the call method of the embodiment of the present application, so as to enhance the call function through the additional call information.
  • the first Bluetooth module 41 may include multiple submodules
  • the second Bluetooth module 401 may include multiple submodules.
  • the first Bluetooth module 41 includes a first submodule and a second submodule
  • the second Bluetooth module 41 includes a first submodule and a second submodule.
  • Module 401 includes a third sub-module and a fourth sub-module.
  • a first communication connection is established between the first sub-module and the third sub-module, that is, a first channel exists between the first sub-module and the third sub-module.
  • a channel establishes a first communication connection, and transmits additional call information such as user card information and designated card information based on the first communication connection.
  • a second channel exists between the second sub-module and the fourth sub-module, and a second channel is established through the second channel.
  • the second communication connection transmits standard call information such as the phone number dialed by the user and the call status based on the second communication connection, which is not specifically limited in this application.
  • the Bluetooth protocol is a specification for various possible and general application scenarios, such as A2DP (advanced audio distribution profile), HFP (hands-free profile) and so on.
  • the core protocols include but are not limited to the Bluetooth basic service protocol SDP (Service Discover Protocol), the logical link control and adaptation protocol L2CAP (Logical Link Control and Adaptation Protocol) and so on.
  • an RFCOMM signaling channel is established between the mobile phone and the watch by means of the software for pairing the mobile phone and the watch (such as Huawei Wear), that is, the first communication connection is established.
  • the watch sends an RFCOMM connection request to the mobile phone to request the establishment of an RFCOMM signaling channel with the mobile phone.
  • the mobile phone After the mobile phone receives the RFCOMM connection request sent by the watch, it can return the RFCOMM connection response (connection response) to the watch.
  • the mobile phone sends an RFCOMM connection request (connection request) to the watch for requesting to establish an RFCOMM signaling channel with the watch.
  • the watch After the watch receives the RFCOMM connection request sent by the mobile phone, it can return an RFCOMM connection response (connection response) to the mobile phone. Then, the establishment of the RFCOMM signaling channel between the mobile phone and the watch is completed, that is, the first communication connection is established, and the mobile phone and the watch can transmit data based on the first communication connection.
  • RFCOMM is a serial linear simulation protocol based on the European Telecommunications Standards Institute ETSI07.10 regulations.
  • Both the mobile phone and the watch support the service function of the hands-free profile (HFP), then the mobile phone and the watch can transmit signals based on HFP control commands, and the watch can establish an RFCOMM connection with the mobile phone, that is, establish a second communication connection, and then, The mobile phone and the watch can establish a service connection based on the HFP function to transmit HFP control commands.
  • HFP hands-free profile
  • the mobile phone and the watch establish an RFCOMM data channel.
  • the watch can send an RFCOMM connection request to the mobile phone to establish an RFCOMM data channel with the mobile phone.
  • the watch After the watch receives the RFCOMM connection request sent by the mobile phone, it can return an RFCOMM connection response to the mobile phone. Therefore, the establishment of the RFCOMM data channel between the mobile phone and the watch is completed, that is, the second communication connection is established, and the mobile phone and the watch can transmit data based on the second communication connection.
  • the RFCOMM data channel can be the RFCOMM socket channel, that is, the channel established by the endpoints in the respective communication connections between the mobile phone and the watch.
  • the RFCOMM data channel can transmit signals based on HFP control commands.
  • the card management module 40 is used to monitor the user card installed on the mobile phone, so as to obtain the status change information of the user card, and when the user card status changes, obtain the information of the user card installed on the mobile phone, and Send the information of the user card to the first Bluetooth module 41 .
  • the status change of the user card on the mobile phone includes the change of any user card on the mobile phone.
  • the state change information of the user card on the mobile phone includes the user card information after any user card on the mobile phone is changed. Whether there is a current user card change event can be determined by detecting the integrated circuit card identity ("ICCID" for short) or the International Mobile Subscriber Identification Number ("IMSI" for short).
  • ICCID integrated circuit card identity
  • IMSI International Mobile Subscriber Identification Number
  • mobile phone card 1 ie, the first user card
  • card slot 2 ie, the card slot where the second user identification card is located
  • the mobile phone can read the ICCID (or IMSI) of the mobile phone card 1 in the card slot 1 and the ICCID (or IMSI) of the mobile phone card 2 in the card slot 2, respectively,
  • the ICCID of the mobile phone card 1 is compared with the original stored ICCID corresponding to the card slot 1
  • the ICCID of the mobile phone card 2 is compared with the stored ICCID corresponding to the original card slot 2 .
  • the first user card is installed in the card slot 1 of the mobile phone
  • the second user card is installed in the card slot 2. If the first user card is taken out and replaced with another user card, the mobile phone can determine that the state of the user card has changed.
  • card 1 is a China Mobile card
  • card 2 is a China Unicom card.
  • the user takes out the card 1 and the card 2, installs the China Unicom card in the card slot 1 corresponding to the card 1, and installs the China Telecom card in the card slot 2 corresponding to the card 2.
  • the card management module 40 monitors the change of the state of the user card on the mobile phone, the user card in the card slot 1 is changed from China Mobile card to China Unicom card, and the user card in card slot 2 is changed from China Unicom card to China Telecom card.
  • the card management module 40 sends the changed user card information to the first Bluetooth module 41 , that is, the card 1 China Unicom card and the card 2 China Telecom card are sent to the first Bluetooth module 41 .
  • the first Bluetooth module 41 is used to establish a Bluetooth connection between the mobile phone and the watch and transmit data. After the first bluetooth module 41 establishes a connection with the second bluetooth module 401, the user card information on the mobile phone is transmitted to the second bluetooth module 401 of the watch based on the first communication connection, and the changed user card information (card 1 China Unicom card) , card 2, China Telecom card) to the second bluetooth module 401 to synchronize the user card information on the mobile phone to the watch.
  • the changed user card information card 1 China Unicom card
  • card 2 China Telecom card
  • the second Bluetooth module 401 is used to establish a Bluetooth connection between the mobile phone and the watch and transmit data. After the first bluetooth module 41 establishes a connection with the second bluetooth module 401, the second bluetooth module 401 sends the received user card information to the first call management module 402, that is, the first call management module 402 receives the user on the current mobile phone.
  • the card information is card 1 China Unicom card, card 2 China Telecom card.
  • the first call management module 402 is configured to transmit the received user card information to the application layer 403, so that the application layer 403 can present user card options corresponding to the user card information according to the received user card information, that is, the application layer 403 can present user card options corresponding to the user card information according to the received user card information.
  • the user card information refreshes the dialing interface.
  • the user card options presented on the dial-up interface include card 1 and card 2 options, of which the card 1 option is China Unicom card, and the card 2 option is China Telecom card.
  • the phone number corresponding to each card may also be displayed, for example, card 1 is 13111111111, and card 2 is 13300000000.
  • the application layer 403 is used to refresh the user card options according to the user card information transmitted by the first call management module 402, and receive the user's first operation on the user card options, that is, obtain the user's first user card information or the second user card information.
  • the first operation of the user card information is to obtain the designated card information selected by the user, and send the designated card information to the first call management module 402 . If it is detected that the user triggers a certain user card option, the user card information corresponding to the triggered user card option is obtained, that is, the specified card information is obtained.
  • the user card information corresponding to the card 1 can be obtained, including the card 1, the China Unicom card and the ICCID corresponding to the card 1, that is, the specified card information is obtained.
  • the specified card is the user card selected by the user for the current user call.
  • the designated card information may be information that can distinguish the first user card and the second user card installed on the second electronic device.
  • the designated card information may be card 1 or card 2, or It is the ICCID of the user card, and can also be the number of the user card.
  • the first user card is card 1
  • the ICCID of the first user card is A
  • the number of the first user card is 13100000000
  • the second user card is card 2
  • the ICCID of the second user card is B
  • the second user card is The number is 18100000000.
  • the specified card information can be obtained as the specified card is card 1, or the ICCID of the specified card is A, or the number of the specified card is 13100000000.
  • the first call management module 402 sends the designated card information, the phone number dialed by the user and the call status to the second Bluetooth module 401 .
  • the second bluetooth module 401 sends the specified card information selected by the user to the first bluetooth module 41 based on the first communication connection, and the second bluetooth module 401 sends information such as the phone number dialed by the user and the call status to the first bluetooth module 41 based on the second communication connection.
  • the Bluetooth module 41 , the first Bluetooth module 41 sends the received designated card information, the phone number dialed by the user and the call status information to the second call management module 42 . Realize that the designated card designated by the user for the current call on the watch is sent to the mobile phone, so that the mobile phone uses the designated card to initiate a call request.
  • the second call management module 42 is configured to initiate a call request according to the received designated card information. In one possible implementation manner, the second call management module 42 performs different processing on the designated card information, and if the designated card information is valid, searches for a corresponding card account according to the designated card information, and makes a call with this card account. If the specified card information is invalid, the default card or the main card of the mobile phone is used to make calls.
  • the existing mobile terminal usually only supports one high-level access mode. Therefore, even if multiple SIM cards that can support different access modes are inserted into the mobile terminal, only one SIM card can work in the high-level access mode at the same time, while the other SIM cards can only work in the low-level access mode.
  • the SIM card working in the high-level access mode is usually called the primary card
  • the SIM card working in the low-level access mode is usually called the secondary card.
  • the operator provides the user with a main card and a supplementary card at the same time, the main and supplementary cards are combined for payment, and the main card is used as the payment account, then the card account is the user card of the payment account main card.
  • the mobile phone uses card 1 to dial phone number 1340000000.
  • the designated card information it can be judged whether the designated card information is legal according to whether the designated card exists on the mobile phone, if the designated card is not locally on the mobile phone, the designated card information is illegal, otherwise it is legal. It is also possible to obtain the ICCID corresponding to the specified card information and the ICCID of the current user card on the mobile phone, and compare whether the ICCID corresponding to the specified card information matches the ICCID of any user card on the mobile phone. If they match, the specified card information is legal, otherwise illegal.
  • the standard call information such as the phone number dialed by the user and the call status is transmitted through the RFCOMM data channel for HFP.
  • the mobile phone and watch pairing software such as Huawei Wear
  • a new RFCOMM signaling channel is established between the mobile phone and the watch, and additional call information including user card information and designated card information is transmitted through the new RFCOMM signaling channel.
  • FIG. 4b is a schematic structural diagram of another call system according to an embodiment of the present application.
  • the difference between the second embodiment and the first embodiment is that the mobile phone further includes a first communication module 43 , and the watch further includes a second communication module 404 .
  • the card management module 40 is communicatively connected to the first communication module 43 instead of the first Bluetooth module 41.
  • the card management module 40 sends the user card information of the user card installed on the mobile phone to the first communication module 43 instead of the first communication module 41. is sent to the first Bluetooth module 41 .
  • the first communication module 43 is also connected to the second call management module 42 for transmitting the designated card information and the like to the second call management module 42 .
  • the first communication module 41 is connected to the second communication module 404 , and transmits the user card information of the user card installed on the mobile phone or the designated card information selected by the user to the second communication module 404 .
  • the second communication module 404 is connected to the first call management module 402 and transmits the designated card information to the second communication module 404 .
  • the first communication module 43 is used to establish a communication connection between the mobile phone and the watch and transmit data.
  • the first communication module 43 is used to receive the user card information transmitted by the card management module 40, and after the first communication module 43 establishes a connection with the second communication module 404, and transmits the received user card information to the second communication module.
  • the second communication module 404 is used to establish a communication connection between the mobile phone and the watch and transmit data. After the first communication module 43 and the second communication module 404 are connected, the second communication module 404 will receive the received data installed on the mobile phone.
  • the user card information of the user card is sent to the first call management module 402 .
  • the second communication module 404 is further configured to send the designated card information obtained from the first call management module 402 to the first communication module 43 .
  • the mobile phone and the watch can interact based on the first communication connection and the second communication connection.
  • a second communication connection is established between the first Bluetooth module 41 and the second Bluetooth module 401 , and the second communication connection is a Bluetooth connection.
  • a first communication connection is established between the first communication module 43 and the second communication module 404, and the first communication connection may be a wireless connection or a wired connection, such as a Wi-Fi connection.
  • the mobile phone and the watch Based on the second communication connection established between the first Bluetooth module 41 and the second Bluetooth module 401, the mobile phone and the watch transmit standard call information such as the phone number to be dialed by the user and the call status. Based on the first communication connection established between the first communication module 43 and the second communication module 404, the mobile phone and the watch transmit additional call information including user card information, designated card information and other additional call information.
  • a new channel is established between the mobile phone and the watch, that is, the first communication connection is established.
  • the watch sends a connection request to the mobile phone for requesting to establish a Wi-Fi connection with the mobile phone.
  • the mobile phone After the mobile phone receives the connection request sent by the watch, it can return a connection response to the watch.
  • the mobile phone sends a connection request to the watch to request to establish a Wi-Fi connection with the watch.
  • the watch After the watch receives the connection request sent by the mobile phone, it can return a connection response to the mobile phone.
  • the establishment of the Wi-Fi connection channel between the mobile phone and the watch is completed, that is, the first communication connection is established, and the mobile phone and the watch can transmit data based on the first communication connection.
  • a Wi-Fi connection can also be established between the mobile phone and the watch, and additional call information including user card information and designated card information can be transmitted through the new Wi-Fi connection channel, so that the user can use the watch on the watch.
  • the designated card used for the current call can be selected on the mobile phone without the need for selection operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
  • FIG. 4c is a schematic structural diagram of another communication system provided by an embodiment of the present application.
  • the difference between the third embodiment and the first embodiment is that only one Bluetooth channel is used between the mobile phone and the watch to transmit information such as user card information, designated card information, phone number dialed by the user, call status and other information. That is, additional call information such as user card information and designated card information, and standard call information such as the phone number dialed by the user and the call status are transmitted between the mobile phone and the watch through the first communication connection.
  • the mobile phone and the watch can transmit not only standard call information such as the phone number dialed by the user, call status, etc., but also additional call information, including user card information, based on the HFP RFCOMM data channel. , designated card information, address book corresponding to the user card, number attribution, marking information of incoming call number, call time and call type and other additional call information.
  • the first call management module 402 and the second Bluetooth module 401 can transmit standard information such as the phone number dialed by the user, call status, etc., as well as user card information and designated card information.
  • the first Bluetooth module 41 and the second Bluetooth module 401 can transmit standard information such as the phone number dialed by the user, call status, etc., as well as user card information and designated card information.
  • the second call management module 42 and the first Bluetooth module 41 can transmit standard call information such as the phone number dialed by the user, call status, etc., as well as user card information and designated card information.
  • FIG. 5a provides a schematic diagram of an instruction interaction flow between Bluetooth modules according to an embodiment of the present application.
  • the watch receives the dialing command, and sends the ATD13111110000 command to the mobile phone, which tells the mobile phone to dial the phone number "13111110000". OK, the call is successful.
  • an instruction can be added to transmit additional call information between the mobile phone and the watch.
  • the specified card information instructs the mobile phone to use card 1 to make calls, and the mobile phone uses card 1 to dial the phone number "13111110000".
  • a new parameter is added to the interface between the first call management module 402 and the second Bluetooth module 401 to transmit user card information and designated card information.
  • a new parameter is added to the interface between the second call management module 42 and the first Bluetooth module 41 to transmit user card information and designated card information.
  • an AT command such as CALLSLOT, is added to transmit the additional call information, including user card information, designated card information, The address book corresponding to the user card, the number attribution, the marking information of the incoming call number, the call time and the call type, etc.
  • the mobile phone Bluetooth protocol stack After the mobile phone Bluetooth protocol stack receives the CALLSLOT instruction, it parses out the specified card information and uploads it to the first Bluetooth module 41.
  • the first Bluetooth module 41 encapsulates the specified card information into the original Bluetooth call object and uploads it to the second call Management module 42 .
  • the call request received by the second call management module 42 also includes the designated card information. Therefore, the second call management module 42 can use the designated card information according to the information of the designated card. Select the corresponding card account to make a call.
  • an AT command needs to be added, which is not specifically limited in this application.
  • call standard information and additional additional call information such as user card information, designated card information, and the user
  • the mobile phone can receive the above information at the same time, so that the user can select the user card used for the current call on the watch without having to select the operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
  • FIG. 6 is a schematic flowchart of a calling method provided by an embodiment of the present application.
  • Step S601 Based on the first communication connection between the first electronic device and the second electronic device, the second electronic device sends additional call information to the first electronic device.
  • the first electronic device and the second electronic device perform a Bluetooth pairing connection, whereby the first electronic device can invoke the call capability of the second electronic device to initiate a call.
  • a Huawei watch as the first electronic device and a Huawei mobile phone as the second electronic device.
  • the Huawei watch prompts the user to use Android Wear (Huawei wear) to pair with the mobile phone, and the user downloads and installs Android on the mobile phone according to the prompt.
  • Wear app the user opens the Android Wear app (Huawei Wear) downloaded on the Huawei mobile phone, and the mobile phone will prompt the user to pair it.
  • the user After the user has successfully paired according to the prompt, the user can use the Huawei watch to call the Huawei mobile phone call function.
  • a first communication connection is established between the first electronic device and the second electronic device.
  • the first communication connection may be a Bluetooth connection or a Wi-Fi connection. Please refer to FIGS. 4a to 4c together.
  • the first communication connection may be established in any of the manners shown in FIG. 4a to FIG. 4c , which is not specifically limited in this application.
  • the second electronic device may send additional call information to the first electronic device, wherein the additional call information includes first user card information and second user card information, wherein the first user card information is the information of the first user card installed in the second electronic device, and the second user card information is the information of the second user card installed in the second electronic device.
  • the user card installed in the second electronic device may include card 1 and card 2
  • the first user card information in the additional call information may include one or more of the following information: card 1, Card 1's phone number, home carrier, ICCID or IMSI.
  • the second user card information in the additional call information may include one or more of the following information: card 2, phone number of card 2, home operator, ICCID or IMSI.
  • the phone number of card 1 is 151XXXXXXXX
  • card 1 is China Mobile card
  • the phone number of card 2 is 186XXXXXXXX
  • card 2 is China Unicom card.
  • the additional call information may further include information corresponding to the user card, such as address book, number attribution, caller number marking information, call time and call type, and the like.
  • the information corresponding to the user card is the information related to the user card stored in the corresponding user card.
  • the address book is the address book on the user card, which can include a number of contents such as landline phone, mobile phone, house electricity, work unit, fax, address, email or number attribution information stored under one object name.
  • the marking information of the incoming call number is the information that the telephone number of the incoming call received by the user is marked by the user or other users. When the number is displayed, the marked information "Express Delivery" corresponding to the number is displayed.
  • the call duration is the call record corresponding to the user card, including the contact of the call and the duration of the call with the contact.
  • the call type may include a carrier voice call type or a VOIP voice call type
  • the carrier voice call type is a call transmitted through a traditional telephone network of a telecom operator.
  • the VOIP voice call type is the transmission of voice over IP (Internet Protocol) over the Internet.
  • the second electronic device includes two user cards, which are China Mobile cards and China Unicom cards respectively.
  • the address book included in the China Mobile card includes Zhang San and Li Si.
  • Zhang San's hometown is Beijing and Li Si.
  • the place of attribution is Shenzhen, and the marking information of the caller number can be that Zhang San's number is marked for food delivery, etc.
  • the call time with Zhang San is 3 minutes, and the call time with Li Si is 4 minutes.
  • the call type with Zhang San is the operator's voice call, and the call type with Li Si is the VOIP voice call.
  • the contacts included in the China Unicom card include Xiaohong and Xiaobai, Xiaohong's hometown is Guangzhou, Xiaobai's hometown is Shanghai, and the marking information of the caller number can be that Xiaobai's number is marked for food delivery and express delivery, etc.
  • Xiaohong's talk time is 2 minutes, and the talk time with Li Si is 3 minutes.
  • the call type with Xiaohong is the operator's voice call
  • the call type with Xiaobai is the VOIP voice call.
  • the user card is used to provide services for the electronic device after the electronic device establishes a communication connection with the network.
  • the user card can be used to access the GSM network, and then various services provided by the network operator can be enjoyed.
  • the user card can be used to access the Internet, and then various services provided based on the Internet can be enjoyed.
  • the subscriber card may include one or more of the following: Subscriber Identity Module (SIM), Universal Subscriber Identity Module (USIM), User Identity Module (UIM) and data card.
  • SIM Subscriber Identity Module
  • USIM Universal Subscriber Identity Module
  • UIM User Identity Module
  • the user identification card includes standard card, Micro SIM, Nano SIM, eSIM card, etc. This application does not specifically limit the types of cards.
  • the data card can be connected with the electronic device in a wired or wireless manner, establishes a communication connection between the electronic device and a communication network, and provides data services for the electronic device.
  • the situation in which the second electronic device sends additional call information to the first electronic device may include, but is not limited to, the following:
  • Scenario 1 When the second electronic device detects that the communication connection between the first electronic device and the second electronic device is established, based on the communication connection between the first electronic device and the second electronic device, the second electronic device sends the first electronic device to the first electronic device.
  • the device transmits additional call information. That is, once a communication connection is established between the first electronic device and the second electronic device, the second electronic device transmits additional call information to the first electronic device.
  • Scenario 2 When the second electronic device detects that the user card information of the user card installed in the second electronic device is updated, the second electronic device transmits additional call information to the first electronic device according to the updated user card information, and the additional call
  • the information may include updated first user card information and/or updated second user card information.
  • the second electronic device detects that the user card information of the user card installed in the second electronic device is updated, that is, detects that any one of the user cards installed on the second electronic device has changed, and then obtains the second electronic device.
  • the state change information of the user card on the user card that is, the updated information of the user card installed in the second electronic device is obtained.
  • a first user card with an ICCID of A is installed in the card slot 1 of the mobile phone
  • a second user card with an ICCID of B is installed in the card slot 2
  • the first user card is taken out
  • another user card with an ICCID of C is replaced.
  • the mobile phone can detect the update of the user card information of the user card installed on it, and the mobile phone will send the updated user card information to the watch, and the additional call information transmitted by the mobile phone to the watch includes the following:
  • Card 1 is the ICCID of User card of A
  • card 2 is the user card of ICCID B.
  • Scenario 3 Based on the communication connection between the first electronic device and the second electronic device, when it is detected that the establishment of the communication connection between the first electronic device and the second electronic device is completed, the first electronic device requests the second electronic device for a second User card information of the user card installed in the electronic device. That is, once a communication connection is established between the first electronic device and the second electronic device, the first electronic device actively sends a request to the second electronic device to request user card information of the user card installed in the second electronic device.
  • Scenario 4 Based on the communication connection between the first electronic device and the second electronic device, when the first electronic device detects a dialing operation for inputting a dialed number, the first electronic device requests the second electronic device for the second electronic device.
  • User card information of the installed user card That is, when the first electronic device detects that the user inputs the phone number to be dialed, the first electronic device actively sends a request to the second electronic device to request the user card information of the user card installed in the second electronic device.
  • Scenario 5 When the user wants to make a call, he can also actively trigger the first electronic device to request user card information from the second electronic device. For example, the user can click the dial button to trigger the first electronic device to request the user card from the second electronic device. Card information; that is, the first electronic device requests user card information from the second electronic device in response to a user's trigger operation.
  • the first electronic device can actively request additional call information from the second electronic device, and the first electronic device can also receive additional call information actively sent by the second electronic device.
  • the specific information of the additional call information can be determined according to actual needs, For example, it may be a call type, etc., which is not specifically limited in this application.
  • Step S602 The first electronic device presents the first user card information and the second user card information.
  • the first electronic device may present the additional call information, and the additional call information includes the user card information of the user card installed on the second electronic device, and the address book corresponding to the user card. , number attribution, caller number tag information, call time and call type, etc.
  • the first user card and the second user card are installed on the second electronic device, and the additional call information includes the first user card information and the second user card information, and the first electronic device presents the first user card information and second user card information, wherein the user card information of the first user card includes but is not limited to: the number of the first user card, the user card type of the first user card, the card number information of the first user card, the first user card The address book on the first user card or the text message on the first user card, etc.
  • the user card information of the second user card includes but is not limited to: the number of the second user card, the user card type of the second user card, the card number information of the second user card, the address book on the second user card or the second user card. SMS on the user card, etc.
  • presenting the first user card information and the second user card information includes: acquiring the first user card information and the second user card information in the additional call information; User card options corresponding to the first user card information and the second user card information are respectively presented on the dialing interface of the first electronic device, so that the user can select a designated card for the current call.
  • the first electronic device obtains the user card information of the user card installed on the second electronic device in the additional call information, including the first user card information and the second user card information, and then presents the user card information on the dialing interface.
  • the corresponding user card options include a user card option corresponding to the first user card and a user card option corresponding to the second user card, for the user to select a designated card for the current call. That is, after receiving the additional call information, the first electronic device refreshes the dialing interface according to the user card information of the user card installed in the second electronic device in the additional call information, that is, refreshes the dialing interface according to the first user card information and the second user card information respectively.
  • the user card option in the dialing interface so that the user card option in the current dialing interface can correspond to the user card installed on the second electronic device.
  • the second electronic device includes a first user card and a second user card
  • the first user card is the card 1 China Mobile card
  • the second user card is the card 2 China Unicom card
  • the first electronic device presents the first user card information
  • the second user card information can be the user card options corresponding to the first user card and the second user card respectively presented on the dialing interface, that is, the user card options in the dialing interface include card 1 China Mobile card option and card 2 China Unicom card options.
  • the user card option can be displayed in various scenarios, and in these scenarios, the interface presented by the first electronic device (ie, the watch) is a dialing interface.
  • the interface presented by the first electronic device ie, the watch
  • the interfaces involved in these operations can be called dialing interfaces.
  • FIGS. 7 a to 7 c if the user wants to use the smart watch to make a call, please refer to FIGS. 7 a to 7 c together, and the dialing interface can be entered in the following manner as shown in FIGS. 7 a to 7 c .
  • the first way the user opens the address book in the watch, as shown in Figure 7a, records the names of each contact in the address book, the user selects the call object to be contacted in the address book, that is, enters the dial operation into the watch, After selection, the dialing interface can be entered, and the first user card information and the second user card information are displayed in the dialing interface.
  • the dialing interface presents the name of the caller "Lucy”, and its corresponding phone number "131XXXXXX", and also presents the attribution and operator of the phone number "131XXXXXXX” , and presents the user card options of the user card installed on the corresponding second electronic device according to the received first user card information and second user card information, the second electronic device includes card 1 China Mobile card and card 2 China Unicom card, the card 1 China Mobile card option and the card 2 China Unicom card option are also presented on the dial-up interface.
  • the second way the user opens the call record of the watch as shown in Figure 7b, records the names of the contacts who have been in contact in the call record, the user selects the call object to be contacted in the call record, that is, the dial operation is input to the watch , the dialing interface can be entered after selection, and the first user card information and the second user card information are presented in the dialing interface.
  • the dialing interface After selecting, enter the dialing interface as shown in Figure 8b, the dialing interface presents the name of the call object "Jack", and its corresponding phone number "181XXXXXXX", and can also present the attribution and operator of the phone number "181XXXXXXX", And according to the received first user card information and the second user card information, the user card option of the user card installed on the corresponding second electronic device is presented, and the second electronic device includes card 1 China Mobile card and card 2 China Unicom card , the card 1 China Mobile card option and the card 2 China Unicom card option are also presented on the dialing interface.
  • the user opens the dial pad of the watch, as shown in Figure 7c, enters the phone number of the person to be contacted on the dial pad, and clicks the dial button after entering the phone number, that is, the dial operation is input to the watch, and the dialing is entered.
  • interface in which the first user card information and the second user card information are presented in the dialing interface.
  • the user inputs the phone number "12345" on the dial pad, and selects the call object of the call.
  • the dialing interface After selecting, enter the dialing interface as shown in Figure 8c, the dialing interface presents the phone number "12345" of the object to be called, and presents on the corresponding second electronic device according to the received first user card information and second user card information
  • the second electronic device For the user card options of the installed user card, the second electronic device includes the card 1 China Mobile card and the card 2 China Unicom card, and the card 1 China Mobile card option and the card 2 China Unicom card option are also displayed on the dialing interface.
  • a default card option can be displayed on the dialing interface, and the default card option can display the default card, and the user can directly select the default card to dial. More options may also be presented on the dialing interface, and after clicking more options, user card options of the user card installed on the corresponding second electronic device may be presented. For example, if the user enters the phone number "12345", please refer to Figure 8d together, and the default card option will be displayed on the dialing interface. If the default card is China Mobile card, the default card option will display the default card as China Mobile card. There are still many options.
  • dialing interface will appear as shown in Figure 8c, that is, the user can choose to use card 1 or card 2 to dial in Figure 8c, and the user can make calls without using the default card. There are many choices, and you can choose the designated card for the current call of the user according to your own needs.
  • Step S603 The first electronic device receives a first operation on the first user card information or the second user card information.
  • the user selects the first user card information and the second user card information displayed on the first electronic device, selects the first user card information or selects the second user card information, that is, the user sends the first user card information to the first user card information and the second user card information.
  • the electronic device inputs the first operation, and the first electronic device receives the user's first operation on the first user card information or the second user card information.
  • the user clicks the user card option presented on the dialing interface, that is, the user inputs the first operation, and the first electronic device receives the user's triggering of the user card option on the dialing interface.
  • the dial interface as shown in Figure 9(1) (same as Figure 8a) or Figure 10(1) (same as Figure 8b) or Figure 11 (same as Figure 8c)
  • the dial of the watch presents card 1 China Mobile card options and card 2 China Unicom card options, in which card 1 is the China Mobile card 151XXXXXXX belonging to Shenzhen, Guangdong, and card 2 is the China Unicom card 186XXXXXXX belonging to Guangzhou, Guangdong; the user clicks the card 1 China Mobile card option or clicks the card 2 China Unicom card option, then The user inputs a first operation to the first electronic device.
  • the user clicks the card 2 China Unicom card option and the watch can receive the user's first operation on the card 2 China Unicom card.
  • the user clicks the China Mobile Card option of Card 1 and the watch can receive the user's first operation on the China Mobile Card of Card 1.
  • Step S604 In response to the first operation, the first electronic device selects one of the first user card and the second user card as a designated card.
  • the first electronic device responds to the first operation input by the user, and selects one of the first user card and the second user card as the designated card according to the first operation. That is, the user card selected by the first operation is taken as the designated card.
  • the first user card is used as a designated card in response to the first operation.
  • the second user card is used as a designated card. That is, the user clicks the card 1 China Mobile card option, and the card 1 China Mobile card on the second electronic device is the designated card.
  • Step S605 The first electronic device sends the information of the designated card to the second electronic device.
  • Step S606 The second electronic device uses the designated card to initiate a call request to a third party.
  • the first electronic device acquires the specified card selected by the user, and based on the first communication connection between the first electronic device and the second electronic device, the first electronic device sends the information of the specified card to the second electronic device.
  • the first electronic device sends the information of the designated card to the second electronic device
  • a call command is also sent, and the call command is used to make the second electronic device initiate a call request.
  • the second electronic device uses the designated card to initiate a call request.
  • the call request includes an operator voice call request or a VOIP voice call request, that is, the call in the embodiment of the present application may be a call transmitted through the traditional telephone network of a telecommunication operator (for example, the call in the embodiment of the present application is called operation Voice over Internet Protocol (Voice over Internet Protocol, VoIP) calls transmitted via the Internet.
  • VoIP Voice over Internet Protocol
  • VoIP Voice over Internet Protocol
  • IP Internet Protocol
  • Other informal names are IP telephony, Internet telephony, broadband telephony, and broadband telephony service.
  • VoIP technology is a technology that converts voice into IP data packets and transmits them partially or entirely based on IP networks.
  • an operator voice call refers to a call conducted using a telecommunication network set up by an operator, where the operator may include China Mobile, China Unicom, China Telecom, or other operators.
  • the first electronic device sends the designated card to the second electronic device as the card 1 China Mobile card
  • the second electronic device will use the card 1 China Mobile card to initiate a call request to Lucy, then the phone is installed
  • the electronic device of the user card with the number "131XXXXXXX” the call made by the user using the card 1 will be received
  • the electronic device with the phone number "131XXXXXXX" installed with the user card presents the user The caller number "151XXXXXXXX" and the operator China Mobile corresponding to the caller number.
  • the first electronic device sends the designated card to the second electronic device as the card 2 China Unicom card
  • the second electronic device will use the card 2 China Unicom card to initiate a call request to Jack
  • the installed phone number is "" 181XXXXXXX” user card will receive calls made by the user using China Unicom card
  • the user’s incoming call will be displayed on the electronic device with the user card installed with the phone number “181XXXXXX”
  • the first electronic device sends the designated card to the second electronic device as the card 1 China Mobile card
  • the second electronic device will use the card 1 China Mobile card to initiate a call request to the phone number "12345”
  • the call made by the user using the China Mobile card will be received.
  • the device presents the user's caller number "151XXXXXXX" and the operator China Mobile corresponding to the caller number.
  • the first electronic device transmits the information of the designated card to the second electronic device, based on the The second communication connection between the first electronic device and the second electronic device transmits the call command corresponding to the first operation to the second electronic device, and the second electronic device uses the designated card to initiate a call request .
  • the first communication connection can be used to transmit additional call information and designated card information.
  • the second communication connection may be used to transmit information such as the phone number dialed by the user, the call status, and the like.
  • the information of the designated card and the call command corresponding to the first operation are transmitted to the first electronic device.
  • the second electronic device uses the designated card to initiate a call request. That is, the first communication connection can be used to transmit additional call information, designated card information, phone numbers dialed by the user, call status and other information.
  • the second electronic device can synchronize the user card information on the second electronic device to the first electronic device through the first communication connection, and the first electronic device can specify the user-selected designation through the first communication connection.
  • the card information is transmitted to the second electronic device, the user can operate on the first electronic device to select a designated card, and the second electronic device can initiate a call request according to the user's selection of the designated card. It is realized that the user can select the user card used for the current call on the watch without having to select the operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
  • FIG. 12 is a schematic flowchart of another calling method provided by an embodiment of the present application. Take the first electronic device as a watch and the second electronic device as a mobile phone as an example.
  • Step S1200 The user performs a dialing operation.
  • FIGS. 7a to 7c Please refer to FIGS. 7a to 7c together.
  • the user can input dialing operations through call records, contacts or dial pads, which are not specifically limited in this application.
  • Step S1201 a dialing instruction is received.
  • the application layer of the watch After the application layer of the watch detects that the user performs a dialing operation, it receives the dialing instruction input by the user.
  • Step S1202 the watch establishes a first communication connection with the mobile phone.
  • the watch can establish the first communication connection with the mobile phone through any of the methods shown in FIGS. 4a to 4c , which is not specifically limited in this application.
  • Step S1203 The watch determines whether the establishment is successful.
  • the watch determines whether the first communication connection with the mobile phone is successfully established. If no, go to step S1204, if yes, go to step S1207.
  • Step S1204 The watch is reconnected to the preset number of times.
  • the watch re-establishes the first communication connection with the mobile phone until the preset number of times. If the preset number of times is 3 times, the watch reconnects to the mobile phone for 3 times.
  • Step S1205 The watch determines whether the reconnection is successful.
  • the watch determines whether the reconnection is successful, and if not, it continues to perform step S1204, and if the number of times of performing step S1204 reaches a preset number of times, the reconnection is stopped. If yes, execute step S1206 and step S1207.
  • Step S1206 the watch stops reconnecting.
  • steps S1203 to S1206 are optional steps.
  • Step S1207 The watch requests the user card information on the mobile phone.
  • the watch After the reconnection is successful, the watch actively requests the user card information of the user card installed on the mobile phone.
  • Step S120 The mobile phone registers the first broadcast receiver to monitor the status change information of the user card.
  • Step S121 Monitor the status change information of the user card, and save the user card information.
  • step S120 and step S121 can be performed before step S1207, or can be performed after step S1207, for example, step S120 and step S121 can be performed on the mobile phone before the first communication connection between the mobile phone and the watch, or in the first communication connection between the mobile phone and the watch.
  • the mobile phone After a communication connection, the mobile phone performs steps S120 and S121, or, after step S1207, that is, after the watch requests the user card information on the mobile phone, the mobile phone performs steps S120 and S121, which are not specifically limited in this application.
  • Step S1208 The mobile phone sends the user card information to the watch.
  • the mobile phone sends the user card information on the mobile phone to the watch.
  • the user card information can be the user card information on the mobile phone after the status of the user card on the mobile phone changes. For example, if the card 1 of the user card changes from China Mobile to China Unicom and the card 2 changes from China Unicom to China Telecom, then The user card information on the mobile phone includes that card 1 is China Unicom, and card 2 is China Telecom.
  • the user card information may also be information that has not changed on the mobile phone. That is, the first broadcast receiver does not monitor the status change information of the user card, and the mobile phone can inform the watch that the user card information has not changed, or the mobile phone sends the original user card information to the watch. As mentioned above, the user card information on the mobile phone includes that card 1 is China Mobile, and card 2 is China Unicom.
  • Step S1209 The watch receives the user card information on the mobile phone, and refreshes the user card options according to the user card information.
  • the watch may not refresh the dialing interface nor update the user card options.
  • Step S1210 The user operates the user card option and selects a designated card.
  • the user operates the updated dial interface of the watch, and selects the corresponding designated card from the updated user card options, that is, the user performs the first operation.
  • the dialing interface may not be refreshed, and the user operates the dialing interface presented by the watch and selects a designated card.
  • the user operates the user card option, and the user card option corresponds to the user card information on the mobile phone. If the user card information on the mobile phone changes, the user card option is updated. If the user card information on the mobile phone has not changed, the user card option may not be updated, and only the user card option needs to correspond to the current user card information on the mobile phone. That is, the current user card information on the mobile phone includes card 1 China Mobile card and card 2 China Unicom card, then the user card options on the watch include card 1 option and card 2 option, where the card 1 option is China Mobile card, and the card 2 option is China Unicom card.
  • Step S1211 the watch acquires the designated card information.
  • the watch detects the user's selection operation on the user card option, that is, detects the user's first operation, responds to the user's triggering of the user card option, and obtains the user card corresponding to the triggered user card option.
  • the triggered user card option corresponds to The user card is the designated card, obtain the designated card information, such as card 1 China Mobile card.
  • Step S1212 The watch sends the designated card information.
  • the watch sends the specified card information to the phone, and the watch sends the phone to the phone that the user card dialed by the current user is Card 1 China Mobile Card.
  • Step S1213 The watch sends a call command.
  • the watch detects the user's selection of the user card option, responds to the user's triggering of the user card option, and sends a call command to the mobile phone to inform the mobile phone of standard call information such as the phone number to dial.
  • standard call information such as the phone number to dial.
  • the phone number to be dialed by the user is 13111110000.
  • the call command may include standard call information such as the phone number dialed by the mobile phone and the call status.
  • the watch can send the designated card information and the call command to the watch at the same time, or not at the same time.
  • the watch can send the designated card information and the calling command to the mobile phone through the first communication connection described in Figures 4a to 4b, and the mobile phone can receive the designated card information and the calling command at the same time, or not at the same time. If the watch can send the designated card information and the call command to the mobile phone through the first communication connection shown in FIG. 4c, the mobile phone receives the designated card information and the call command at the same time. This application does not specifically limit this.
  • Step S1214 The mobile phone stores the designated card information.
  • the mobile phone After the mobile phone receives the designated card information sent by the watch, it will store the designated card information.
  • Step S1215 The mobile phone creates a call.
  • the phone After the phone receives the call command sent by the watch, the phone creates a call.
  • the mobile phone may receive the designated card information and the call command at the same time, or may first receive the designated card information and then receive the call command, or may receive the designated card information after receiving the call command first.
  • Step S1216 The mobile phone determines whether it is a Bluetooth call.
  • the call management module of the mobile phone can judge that the call is a Bluetooth call according to the call command transmitted by the Bluetooth module. If it is not a Bluetooth call, go to step S1221, if it is a Bluetooth call, go to step S1217.
  • Step S1217 Determine whether the designated card information sent by the watch is found in the mobile phone.
  • the mobile phone After receiving the designated card information, the mobile phone will store the designated card information in the memory. The mobile phone will first try to obtain the designated card information from the memory. If the designated card information is obtained, step S1222 is performed. If the designated card information is not found, step S1218 is performed. Or go to step S1221.
  • Step S1218 The mobile phone registers the second broadcast receiver and monitors whether the designated card information is received.
  • the mobile phone registers the second broadcast receiver and monitors whether the designated card information sent by the watch is received.
  • Step S1219 The mobile phone starts a timer.
  • a timer is also started, and the timer is used for timing.
  • Step S1220 The mobile phone determines whether the designated card information is received within the preset time.
  • the preset time may be set by default or set by the user, such as 3 seconds or 5 seconds, which is not specifically limited in this application.
  • Step S1221 The mobile phone initiates a call request by using the default card or the main card, that is, using the default card or the main card to make a call.
  • the mobile phone uses the default card or the main card to make calls.
  • Step S1222 The mobile phone uses the designated card to initiate a call request, that is, uses the designated card to make a call.
  • the mobile phone receives the designated card information, and directly finds the card account corresponding to the designated card according to the designated card information. There is a one-to-one correspondence between the card account and the user card, in which the ICCID of the user card is stored. After selecting the card account, you can make calls from the designated user card.
  • the mobile phone can synchronize the user card information to the watch, the watch refreshes the dial interface according to the synchronized information, the user can operate the user card option on the dial interface after synchronization, and the watch obtains the specified card corresponding to the triggered user card option , send the designated card information to the mobile phone, and the mobile phone uses the designated card to initiate a call request. It is realized that the user can select the user card used for the current call on the watch without having to select the operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
  • FIG. 13 is a schematic flowchart of another calling method provided by an embodiment of the present application.
  • the first electronic device is a watch
  • the second electronic device is a mobile phone. In the following steps, the same steps as those in FIG. 12 will not be repeated.
  • Step S1300 The user performs a dialing operation.
  • Step S1301 The watch receives a dialing instruction.
  • Step S1302 The watch reads the locally stored user card information, and refreshes the user card options.
  • the watch is based on the first communication connection with the mobile phone, such as any one of the first communication connections described in Figure 4a to Figure 4c, the watch receives the user card information synchronized by the mobile phone, and the watch receives the synchronization of the mobile phone.
  • the user card information After the user card information is stored, the user card information will be stored in an XML file in the following format:
  • slot1_index indicates that the corresponding SIM card is available
  • slot1_index indicates that the corresponding SIM card is unavailable
  • slot1_description indicates the description information of the corresponding card
  • slot2 is similar and will not be repeated here.
  • a default_slot value of -1 indicates that the default dial-up card is not configured
  • a default_slot value of 0 indicates that the default dial-up card is SIM card 1
  • a default_slot value of 1 indicates that the default dial-up card is SIM card 2.
  • the SIM card status information stored in the XML file in the watch will be read to refresh the dialing interface.
  • the dialing interface will display the style of the default dialing card, and it also includes more options, such as shown in Figure 8d. If the default dial-up card is not configured, but only one SIM card is in normal state, the dial-up interface displays the SIM card information. If the default dial-up card is not configured, and both SIM cards are in normal state, after the user clicks dial, the watch will pop up the dial-up interface and display the information of the two SIM cards, as shown in Figure 8c.
  • Step S1303 The user operates the user card option and selects a designated card.
  • the selected SIM card information will be transmitted to the mobile phone after making a call.
  • the message encapsulates the dialed phone number and SIM card information in TLV format.
  • Step S1304 The watch acquires the designated card information.
  • Step S1305 The watch establishes a first communication connection with the mobile phone.
  • Step S1306 The watch determines whether the establishment is successful.
  • step S1307 is executed; if the establishment is successful, step S1310 is executed.
  • Step S1307 The watch is reconnected to the preset number of times.
  • Step S1308 The watch determines whether the reconnection is successful.
  • step S1309 and step S1310 are executed. If the reconnection is unsuccessful, step S1307 is executed.
  • Step S1309 The watch stops reconnecting.
  • steps S1306 to S1308 are optional steps.
  • Step S1310 The watch sends the designated card information and a call command.
  • the watch can send designated card information and call commands to the watch at the same time, or not at the same time.
  • the watch can send the designated card information and the calling command to the mobile phone through the first communication connection described in Figures 4a to 4b, and the mobile phone can receive the designated card information and the calling command at the same time, or not at the same time. If the watch can send the designated card information and the call command to the mobile phone through the first communication connection shown in FIG. 4c, the mobile phone receives the designated card information and the call command at the same time.
  • Step S1311 The mobile phone stores the specified card information and creates a call.
  • the mobile phone can receive the designated card information and the call command at the same time, and can transmit the designated card information and the call command through any one of the first communication connections in FIG. 4a to FIG. 4c.
  • the first communication connection is a Bluetooth connection or a Wi-Fi connection
  • the mobile phone may receive the designated card information and the call command at the same time, or not at the same time.
  • There is a communication connection between the mobile phone and the watch that is, by modifying the HFP protocol, the dialed phone number, user card information, and designated card information sent by the watch can be simultaneously received.
  • Step S1312 The mobile phone uses the designated card to initiate a call request, that is, uses the designated card to make a call.
  • the mobile phone receives the designated card information, and directly finds the card account corresponding to the designated card according to the designated card information. There is a one-to-one correspondence between the card account and the user card, in which the ICCID of the user card is stored. After selecting the card account, you can make calls from the designated user card.
  • the difference between the sixth embodiment and the fifth embodiment is that the first communication connection is established when the user selects the designated card, that is, the user card information and the designated card information can be transmitted after the user selects the designated card.
  • the local user card information described in step S1302 may be the user card information stored in the watch obtained by the watch based on the last communication connection between the watch and the mobile phone. It can be understood that the establishment of the first communication connection can also be established under other nodes. For example, when the mobile phone is paired with the watch, the first communication connection is established, which is not specifically limited in this application.
  • the user card information and the designated card information transmitted in the fifth embodiment may be transmitted through the first communication connection, and the transmitted standard call information such as call commands and dial phone numbers are transmitted through the second communication connection.
  • the designated card information and the call command transmitted in the sixth embodiment may be transmitted through the same channel, that is, the first communication connection transmits standard call information such as the call command and the dialed phone number, as well as the user card information and the designated card information.
  • the designated card information and call command transmitted in the sixth embodiment may also be transmitted through the first communication connection, and the transmitted call command and standard call information such as dialing a phone number are transmitted through the second communication connection.
  • the timing of establishing the first communication connection may be when the user performs the first operation, that is, the user selects the designated card, then the first communication connection is established, and the designated card selected by the user is sent to the mobile phone, so that the user can
  • the user card used for the current call can be selected on the watch, without the need to select an operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
  • FIG. 14 is a schematic flowchart of another calling method provided by an embodiment of the present application.
  • the first electronic device is a watch
  • the second electronic device is a mobile phone. In the following steps, the same steps as those in FIG. 12 or FIG. 13 will not be repeated.
  • Step S1400 The user performs a pairing operation.
  • the user pairs the mobile phone with the watch through software (such as Huawei wear).
  • Step S1401 The watch establishes a first communication connection with the mobile phone.
  • the mobile phone and the watch When the mobile phone and the watch are paired, the mobile phone and the watch establish a first communication connection, which can be established for the mobile phone to request the watch, or for the watch to request the mobile phone to establish a first communication connection, which is not specifically limited in this application.
  • Step S1402 The watch determines whether the establishment is successful.
  • step S1403 If not successful, go to step S1403, if successful, go to step S1406. It can also be determined by the mobile phone whether the establishment is successful.
  • Step S1403 The watch is reconnected to a preset number of times.
  • the mobile phone can also be reconnected to a preset number of times.
  • Step S1404 The watch determines whether the reconnection is successful.
  • step S1403 is performed; if successful, steps S1405 and S1406 are performed. Among them, it can also judge whether the reconnection is successful for the mobile phone.
  • Step S1405 the watch stops reconnecting.
  • steps S1402 to S1405 are optional steps.
  • Step S1406 The watch requests the user card information on the mobile phone.
  • step S1406 can be deleted, that is, the mobile phone actively sends the user card information on the mobile phone to the watch, and synchronizes the user card information on the mobile phone with the mobile phone.
  • Step S1407 The mobile phone sends the user card information to the watch.
  • the mobile phone may perform the following steps: Step S140: The mobile phone registers the first broadcast receiver to monitor the status change information of the user card. Step S141: The mobile phone monitors the status change information of the user card, and saves the user card information.
  • Step S1408 The watch receives the user card information on the mobile phone, and refreshes the user card options according to the user card information.
  • Step S1409 The user operates the user card option and selects a designated card.
  • the user may perform a first operation on the user card option to obtain a designated card corresponding to the first operation.
  • Step S1410 The watch acquires the designated card information.
  • Step S1411 The watch sends the designated card information and a call command.
  • Step S1412 The mobile phone stores the specified card information and creates a call.
  • Step S1413 The mobile phone uses the designated card to initiate a call request, that is, uses the designated card to make a call.
  • the mobile phone receives the designated card information, and directly finds the card account corresponding to the designated card according to the designated card information. There is a one-to-one correspondence between the card account and the user card, in which the ICCID of the user card is stored. After selecting the card account, you can make calls from the designated user card.
  • the difference between the seventh embodiment and the sixth embodiment is that the first communication connection is established when the user successfully pairs the mobile phone and the watch, that is, the user card information and the designated card information can be transmitted after the mobile phone and the watch are successfully paired.
  • the mobile phone can actively synchronize the user card information to the watch, and can also actively request the user card information on the mobile phone for the watch.
  • the user card information and the designated card information transmitted in the fifth embodiment are transmitted through the first communication connection, and the transmitted standard call information such as call commands and dial phone numbers are transmitted through the second communication connection.
  • the designated card information and the call command transmitted in the seventh embodiment may be transmitted through the same channel, that is, the first communication connection transmits standard call information such as call commands and dialed phone numbers, as well as user card information and designated card information.
  • the designated card information transmitted in the seventh embodiment may be transmitted through the first communication connection, and the transmitted standard call information such as call commands and dialing phone numbers are transmitted through the second communication connection.
  • the timing of establishing the first communication connection can be when the user performs a pairing operation, that is, when the user pairs the mobile phone with the watch, the first communication connection is established, and the mobile phone and the watch can synchronize the user card information on the mobile phone,
  • the designated card selected by the user is also sent to the mobile phone, so that the user can select the user card used for the current call on the watch without having to select an operation on the mobile phone.
  • the operation is simple and efficient, and the user experience is improved.
  • FIG. 15 is a schematic flowchart of another calling method provided by an embodiment of the present application.
  • the first electronic device is a watch
  • the second electronic device is a mobile phone.
  • the same steps as those in FIG. 12 or FIG. 13 or FIG. 14 will not be repeated.
  • Step S1500 The mobile phone registers the first broadcast receiver to monitor the status change information of the user card.
  • Step S1501 The mobile phone monitors the status change information of the user card, and saves the user card information.
  • Steps S1500 and S1501 can be deleted when the status of the user card has not changed.
  • Step S1502 The mobile phone establishes a first communication connection with the watch.
  • Step S1503 The mobile phone determines whether the establishment is successful.
  • step S1504 If unsuccessful, go to step S1504, if successful, go to step S1507.
  • Step S1504 The mobile phone is reconnected to the preset number of times.
  • Step S1505 The mobile phone determines whether the reconnection is successful.
  • step S1506 and step S1507 are executed. If the reconnection is unsuccessful, step S1504 is executed.
  • Step S1506 Stop reconnecting.
  • Step S1507 The mobile phone sends the user card information to the watch.
  • the mobile phone When the state of the user card on the mobile phone does not change, the mobile phone establishes a communication connection with the watch without updating the user card information to the watch.
  • Step S1508 The watch receives the user card information on the mobile phone, and refreshes the user card options according to the user card information.
  • Step S1509 The user operates the user card option and selects a designated card.
  • Step S1510 The watch acquires the designated card information.
  • the watch responds to the user's selection operation on the user card option, and obtains the specified card information selected by the user.
  • Step S1511 The watch sends the designated card information.
  • Step S1512 the watch sends a call command.
  • step S1511 and step S1512 may be the same step, that is, the watch may perform step S1511 and step S1512 at the same time.
  • Step S1513 The mobile phone stores the designated card information.
  • Step S1514 The mobile phone creates a call.
  • Step S1515 The mobile phone determines whether it is a Bluetooth call.
  • step S1516 is performed, and if the mobile phone determines that the current call is not a Bluetooth call, step S1520 is performed.
  • Step S1516 The mobile phone determines whether the designated card information sent by the watch is found in the mobile phone.
  • step S1517 If not, go to step S1517, if yes, go to step S1521.
  • Step S1517 The mobile phone registers the second broadcast receiver.
  • the second broadcast receiver is used to monitor whether the designated card information is received.
  • Step S1518 The mobile phone starts the timer.
  • Step S1519 The mobile phone determines whether the designated card information is received within the preset time.
  • step S1520 is performed, and if the specified card information is received within the preset time content, step S1521 is performed.
  • Step S1520 The mobile phone initiates a call request by using the default card or the main card, that is, using the default card or the main card to make a call.
  • Step S1521 The mobile phone uses the designated card to initiate a call request, that is, uses the designated card to make a call.
  • the difference between the eighth embodiment and the fifth embodiment is that the first communication connection is established by the mobile phone, and the mobile phone actively synchronizes the user card information to the watch, so that the watch can update the dialing interface in real time.
  • a computer program product for realizing license plate number recognition includes one or more computer instructions for performing license plate number recognition.
  • FIG. 12, FIG. 13, FIG. 14 and FIG. 15, or, in whole or in part, are generated according to the processes or functions described in FIG. 14 in the embodiment of the present application.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, digital versatile disc (DVD)), or semiconductor media (eg, solid state disk (SSD)) )Wait.

Abstract

Provided in the embodiments of the present application are a call method, and an electronic device, which are applied to the technical field of calls. The method comprises: on the basis of a first communication connection between a first electronic device and a second electronic device, receiving additional call information transmitted by the second electronic device; presenting first user card information and second user card information; receiving a first operation for the first user card information or the second user card information; in response to the first operation, selecting one of a first user card and a second user card to be a specified card; and sending information of the specified card to the second electronic device, such that the second electronic device initiates a call request to a third party by using the specified card. A user can select, on a watch, a user card which is used for the current call without performing a selection operation on a mobile phone, such that the operation is simple, convenient and efficient, thereby improving the use experience of the user.

Description

通话方法及电子设备Communication method and electronic device
本申请要求于2021年4月30日提交中国专利局、申请号为202110485732.4,发明名称为“通话方法及电子设备”的中国专利的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent with an application number of 202110485732.4 and an invention title of "communication method and electronic device" filed with the China Patent Office on April 30, 2021, the entire contents of which are incorporated into this application by reference.
技术领域technical field
本申请的实施例涉及终端技术领域,尤其涉及一种通话方法及电子设备。The embodiments of the present application relate to the technical field of terminals, and in particular, to a calling method and an electronic device.
背景技术Background technique
智能手机等终端与蓝牙耳机或蓝牙音箱等蓝牙设备之间通过蓝牙连接,蓝牙设备可以调用终端的通话能力发起通话。手机中可以安装多个电话卡,用户使用蓝牙设备通过手机发起通话,若用户不想使用手机中设置的默认卡拨打电话或没有设置默认卡时,用户还需要操作手机以选择用于当前通话的电话卡,操作繁琐且不便,效率低下。A terminal such as a smart phone and a Bluetooth device such as a Bluetooth headset or a Bluetooth speaker are connected through Bluetooth, and the Bluetooth device can invoke the communication capability of the terminal to initiate a call. Multiple calling cards can be installed in the mobile phone. The user can initiate a call through the mobile phone using a Bluetooth device. If the user does not want to use the default card set in the mobile phone to make calls or does not set the default card, the user also needs to operate the mobile phone to select the calling card for the current call. The operation is cumbersome and inconvenient, and the efficiency is low.
发明内容SUMMARY OF THE INVENTION
本申请实施例公开了一种通话方法及电子设备,使得用户能够方便的在蓝牙设备上选择与该蓝牙设备连接的电子设备上的用户卡进行通话。The embodiment of the present application discloses a calling method and an electronic device, so that a user can conveniently select a user card on an electronic device connected to the Bluetooth device on the Bluetooth device to conduct a call.
本申请第一方面公开了一种通话方法,应用于第一电子设备中,所述方法包括:基于所述第一电子设备与第二电子设备间的第一通信连接,接收所述第二电子设备传输的附加通话信息;其中所述附加通话信息包括第一用户卡信息和第二用户卡信息,其中,所述第一用户卡信息为所述第二电子设备中安装的第一用户卡的信息,所述第二用户卡信息为所述第二电子设备中安装的第二用户卡的信息;呈现所述第一用户卡信息和所述第二用户卡信息;接收对所述第一用户卡信息或所述第二用户卡信息的第一操作;响应所述第一操作,从所述第一用户卡和所述第二用户卡中选择一个作为指定卡;所述指定卡的信息发送给所述第二电子设备,以使得所述第二电子设备使用所述指定卡向第三方发起通话请求。A first aspect of the present application discloses a calling method, which is applied to a first electronic device, the method comprising: receiving the second electronic device based on a first communication connection between the first electronic device and a second electronic device Additional call information transmitted by the device; wherein the additional call information includes first user card information and second user card information, wherein the first user card information is the first user card installed in the second electronic device. information, the second user card information is the information of the second user card installed in the second electronic device; present the first user card information and the second user card information; receive the first user card information Card information or the first operation of the card information of the second user; in response to the first operation, select one of the first user card and the second user card as a designated card; send the information of the designated card to the second electronic device, so that the second electronic device uses the designated card to initiate a call request to a third party.
在本申请实施例中,第二电子设备通过第一通信连接可以同步第二电子设备上的用户卡信息给所述第一电子设备,第一电子设备通过第一通信连接可以将用户选择的指定卡信息传输给第二电子设备,用户可以在第一电子设备上进行操作,就可以选择指定卡,并使得所述第二电子设备可以根据用户选择指定卡发起通话请求。实现用户可以在手表上可以选择用于当前通话的用户卡,而无需在手机上进行选择操作,操作简便且效率高,提高用户的使用体验。In this embodiment of the present application, the second electronic device can synchronize the user card information on the second electronic device to the first electronic device through the first communication connection, and the first electronic device can specify the user-selected designation through the first communication connection. The card information is transmitted to the second electronic device, the user can operate on the first electronic device to select a designated card, and the second electronic device can initiate a call request according to the user's selection of the designated card. It is realized that the user can select the user card used for the current call on the watch without having to select the operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
在一些可选的实施方式中,所述呈现所述第一用户卡信息和所述第二用户卡信息包括:获取所述附加通话信息中的所述第一用户卡信息和所述第二用户卡信息;在所述第一电子设备的拨号界面上呈现分别与所述第一用户卡信息和所述第二用户卡信息对应的用户卡选项,以供用户选择用于当前通话的指定卡。In some optional implementation manners, the presenting the first user card information and the second user card information includes: acquiring the first user card information and the second user card information in the additional call information card information; user card options respectively corresponding to the first user card information and the second user card information are presented on the dialing interface of the first electronic device, so that the user can select a designated card for the current call.
在一些可选的实施方式中,所述第一通信连接包括蓝牙连接和Wi-Fi连接中的一种。In some optional embodiments, the first communication connection includes one of a Bluetooth connection and a Wi-Fi connection.
在一些可选的实施方式中,所述将所述指定卡的信息发送给所述第二电子设备,以使得所述第二电子设备使用所述指定卡向第三方发起通话请求包括:基于所述第一电子设备与第二电子设备间的第一通信连接,将所述指定卡的信息传输给所述第二电子设备;基于所述第一电子设备与第二 电子设备间的第二通信连接,将所述第一操作对应的呼叫命令传输给所述第二电子设备,以使得所述第二电子设备使用所述指定卡向第三方发起通话请求。In some optional implementation manners, the sending the information of the designated card to the second electronic device, so that the second electronic device uses the designated card to initiate a call request to a third party includes: The first communication connection between the first electronic device and the second electronic device transmits the information of the designated card to the second electronic device; based on the second communication between the first electronic device and the second electronic device Connect, and transmit the call command corresponding to the first operation to the second electronic device, so that the second electronic device uses the designated card to initiate a call request to a third party.
在一些可选的实施方式中,所述将所述指定卡的信息发送给所述第二电子设备,以使得所述第二电子设备使用所述指定卡发起通话请求包括:基于所述第一电子设备与第二电子设备间的第一通信连接,将所述指定卡的信息和所述第一操作对应的呼叫命令传输给所述第二电子设备,以使得所述第二电子设备使用所述指定卡向第三方发起通话请求。In some optional implementation manners, the sending the information of the designated card to the second electronic device, so that the second electronic device uses the designated card to initiate a call request includes: based on the first The first communication connection between the electronic device and the second electronic device transmits the information of the designated card and the call command corresponding to the first operation to the second electronic device, so that the second electronic device uses the The specified card initiates a call request to a third party.
在一些可选的实施方式中,在所述接收所述第二电子设备传输的附加通话信息之前,所述方法还包括:当检测到所述第一电子设备与所述第二电子设备间的通信连接建立完成时,基于所述第一电子设备与所述第二电子设备间的通信连接,向所述第二电子设备请求所述第二电子设备中安装的用户卡的用户卡信息;或,当检测到用于输入拨号号码的拨号操作时,基于所述第一电子设备与所述第二电子设备间的通信连接,向所述第二电子设备请求所述第二电子设备中安装的用户卡的用户卡信息;或,响应于接收到的触发操作,所述第一电子设备基于所述第一电子设备与所述第二电子设备间的通信连接,向所述第二电子设备请求所述第二电子设备中安装的用户卡的用户卡信息。In some optional implementation manners, before the receiving the additional call information transmitted by the second electronic device, the method further includes: when detecting a communication between the first electronic device and the second electronic device When the establishment of the communication connection is completed, based on the communication connection between the first electronic device and the second electronic device, request the second electronic device for the user card information of the user card installed in the second electronic device; or , when a dialing operation for inputting a dialing number is detected, based on the communication connection between the first electronic device and the second electronic device, request the second electronic device for the device installed in the second electronic device User card information of the user card; or, in response to the received trigger operation, the first electronic device requests the second electronic device based on the communication connection between the first electronic device and the second electronic device User card information of the user card installed in the second electronic device.
在一些可选的实施方式中,所述接收所述第二电子设备传输的附加通话信息包括:基于所述第一电子设备与所述第二电子设备间的通信连接,接收所述第二电子设备在检测到所述第二电子设备中安装的用户卡的用户卡信息更新时,根据更新后的所述用户卡信息所传输的附加通话信息;或基于所述第一电子设备与所述第二电子设备间的通信连接,接收所述第二电子设备在检测到所述第一电子设备与所述第二电子设备间的通信连接建立完成时所传输的附加通话信息。In some optional implementation manners, the receiving the additional call information transmitted by the second electronic device comprises: receiving the second electronic device based on the communication connection between the first electronic device and the second electronic device When the device detects that the user card information of the user card installed in the second electronic device is updated, the additional call information transmitted according to the updated user card information; or based on the relationship between the first electronic device and the first electronic device. The communication connection between two electronic devices receives additional call information transmitted by the second electronic device when it detects that the establishment of the communication connection between the first electronic device and the second electronic device is completed.
在一些可选的实施方式中,所述用户卡包括以下中的一种或多种:用户身份识别卡、全球用户识别卡、用户识别卡和数据卡;所述通话请求包括运营商语音通话请求或VOIP语音通话请求。In some optional implementations, the user card includes one or more of the following: a user identification card, a global user identification card, a user identification card and a data card; the call request includes an operator voice call request or VOIP voice call request.
在一些可选的实施方式中,所述附加通话信息还包括以下中的一种或多种:与所述用户卡对应的通讯录、号码归属地、来电号码的标记信息、通话时间和通话类型。In some optional implementation manners, the additional call information further includes one or more of the following: an address book corresponding to the user card, number attribution, caller number marking information, call time and call type .
本申请第二方面公开了一种通话方法,应用于第二电子设备中,所述方法包括:基于第一电子设备与所述第二电子设备间的第一通信连接,向所述第一电子设备传输附加通话信息,其中所述附加通话信息包括第一用户卡信息和第二用户卡信息,其中,所述第一用户卡信息为所述第二电子设备中安装的第一用户卡的信息,所述第二用户卡信息为所述第二电子设备中安装的第二用户卡的信息;接收所述第一电子设备发送的指定卡的信息,使用所述指定卡向第三方发起通话请求,所述指定卡为所述第一用户卡和所述第二用户卡中的一个。其中,所述第一电子设备接收到附加通话信息后,呈现所述第一用户卡信息和所述第二用户卡信息后,然后所述第一电子设备接收用户对所述第一用户卡信息或所述第二用户卡信息的选择,且响应该选择,从所述第一用户卡和所述第二用户卡中所选择的一个用户卡,并将选择的用户卡发送给第二电子设备。A second aspect of the present application discloses a method for calling, which is applied to a second electronic device. The method includes: based on a first communication connection between the first electronic device and the second electronic device, sending a call to the first electronic device. The device transmits additional call information, wherein the additional call information includes first user card information and second user card information, wherein the first user card information is information of the first user card installed in the second electronic device , the second user card information is the information of the second user card installed in the second electronic device; receive the information of the designated card sent by the first electronic device, and use the designated card to initiate a call request to a third party , the designated card is one of the first user card and the second user card. After receiving the additional call information, the first electronic device presents the first user card information and the second user card information, and then the first electronic device receives the user's response to the first user card information or the selection of the second user card information, and in response to the selection, select a user card from the first user card and the second user card, and send the selected user card to the second electronic device .
在一些可选的实施方式中,所述第一通信连接包括蓝牙连接和Wi-Fi连接中的一种。In some optional embodiments, the first communication connection includes one of a Bluetooth connection and a Wi-Fi connection.
在一些可选的实施方式中,所述接收所述第一电子设备发送的指定卡的信息,使用所述指定卡向第三方发起通话请求包括:基于所述第一电子设备与第二电子设备间的第一通信连接,接收所述第一电子设备发送的指定卡的信息;基于所述第一电子设备与第二电子设备间的第二通信连接,接收所述第一电子设备发送的呼叫命令;基于所述呼叫命令,使用所述指定卡向第三方发起通话请求。In some optional implementation manners, the receiving the designated card information sent by the first electronic device, and using the designated card to initiate a call request to a third party includes: based on the first electronic device and the second electronic device based on the first communication connection between the first electronic device and the designated card sent by the first electronic device; based on the second communication connection between the first electronic device and the second electronic device, receive the call sent by the first electronic device command; based on the call command, use the designated card to initiate a call request to a third party.
在一些可选的实施方式中,所述接收所述第一电子设备发送的指定卡的信息,使用所述指定 卡向第三方发起通话请求包括:基于所述第一电子设备与第二电子设备间的第一通信连接,接收第一电子设备发送的所述指定卡的信息和呼叫命令;基于所述呼叫命令,使用所述指定卡向第三方发起通话请求。In some optional implementation manners, the receiving the designated card information sent by the first electronic device, and using the designated card to initiate a call request to a third party includes: based on the first electronic device and the second electronic device A first communication connection between the two devices, receiving the information of the designated card and a call command sent by the first electronic device; based on the call command, using the designated card to initiate a call request to a third party.
在一些可选的实施方式中在向所述第一电子设备传输附加通话信息之前,所述方法还包括:基于所述第一电子设备与所述第二电子设备间的通信连接,接收所述第一电子设备在检测到所述第一电子设备与所述第二电子设备间的通信连接建立完成时,向所述第二电子设备发送的用于请求所述第二电子设备中安装的用户卡的用户卡信息的请求;或,基于所述第一电子设备与所述第二电子设备间的通信连接,接收所述第一电子设备在检测到用于输入拨号号码的拨号操作时,向所述第二电子设备发送的用于请求所述第二电子设备中安装的用户卡的用户卡信息的请求。In some optional implementation manners, before transmitting the additional call information to the first electronic device, the method further includes: based on the communication connection between the first electronic device and the second electronic device, receiving the When the first electronic device detects that the establishment of the communication connection between the first electronic device and the second electronic device is completed, it sends to the second electronic device a request for a user installed in the second electronic device or, based on the communication connection between the first electronic device and the second electronic device, when the first electronic device detects a dialing operation for inputting a dialed number, the receiving A request sent by the second electronic device for requesting user card information of a user card installed in the second electronic device.
在一些可选的实施方式中,所述第一电子设备传输附加通话信息包括:当检测到所述第一电子设备与所述第二电子设备间的通信连接建立完成时,基于所述第一电子设备与所述第二电子设备间的通信连接,向所述第一电子设备传输附加通话信息;或,当检测所述第二电子设备中安装的用户卡的用户卡信息更新时,根据更新后的所述用户卡信息向所述第一电子设备传输附加通话信息。In some optional implementation manners, transmitting the additional call information by the first electronic device includes: when it is detected that the establishment of the communication connection between the first electronic device and the second electronic device is completed, based on the first electronic device The communication connection between the electronic device and the second electronic device transmits additional call information to the first electronic device; or, when detecting the update of the user card information of the user card installed in the second electronic device, according to the update The subsequent user card information transmits additional call information to the first electronic device.
在一些可选的实施方式中,所述用户卡包括以下中的一种或多种:用户身份识别卡、全球用户识别卡、用户识别卡和数据卡;所述通话请求包括运营商语音通话请求或VOIP语音通话请求。In some optional implementations, the user card includes one or more of the following: a user identification card, a global user identification card, a user identification card and a data card; the call request includes an operator voice call request or VOIP voice call request.
在一些可选的实施方式中,所述附加通话信息还包括以下中的一种或多种:与所述用户卡对应的通讯录、号码归属地、来电号码的标记信息、通话时间和通话类型。In some optional implementation manners, the additional call information further includes one or more of the following: an address book corresponding to the user card, number attribution, caller number marking information, call time and call type .
本申请第三方面公开一种通话方法,所述方法包括:A third aspect of the present application discloses a calling method, the method comprising:
第一电子设备基于所述第一电子设备与第二电子设备间的第一通信连接,接收所述第二电子设备传输的附加通话信息;其中所述附加通话信息包括第一用户卡信息和第二用户卡信息,其中,所述第一用户卡信息为所述第二电子设备中安装的第一用户卡的信息,所述第二用户卡信息为所述第二电子设备中安装的第二用户卡的信息;所述第一电子设备呈现所述第一用户卡信息和所述第二用户卡信息;所述第一电子设备接收对所述第一用户卡信息或所述第二用户卡信息的第一操作;所述第一电子设备响应所述第一操作,从所述第一用户卡和所述第二用户卡中选择一个作为指定卡;所述第一电子设备将所述指定卡的信息发送给所述第二电子设备;所述第二电子设备使用所述指定卡向第三方发起通话请求。The first electronic device receives additional call information transmitted by the second electronic device based on the first communication connection between the first electronic device and the second electronic device; wherein the additional call information includes the first user card information and the first user card information. Two user card information, wherein the first user card information is the information of the first user card installed in the second electronic device, and the second user card information is the second user card installed in the second electronic device. user card information; the first electronic device presents the first user card information and the second user card information; the first electronic device receives the first user card information or the second user card information the first operation of the information; the first electronic device selects one of the first user card and the second user card as a designated card in response to the first operation; the first electronic device The card information is sent to the second electronic device; the second electronic device uses the designated card to initiate a call request to a third party.
本申请第四方面公开一种电子设备,包括处理器和存储器;所述存储器,用于存储指令;所述处理器,用于调用所述存储器中的指令,使得所述电子设备执行所述的通话方法。A fourth aspect of the present application discloses an electronic device, including a processor and a memory; the memory is used to store instructions; the processor is used to call the instructions in the memory, so that the electronic device executes the described call method.
本申请第五方面一种计算机可读存储介质,所述计算机可读存储介质存储有至少一个指令,所述至少一个指令被处理器执行时实现所述的通话方法。A fifth aspect of the present application is a computer-readable storage medium, where the computer-readable storage medium stores at least one instruction, and the at least one instruction implements the calling method when executed by a processor.
第二方面、第三方面、第四方面及第五方面所带来的技术效果可参见上述方法部分各涉及的方法相关的描述,此处不再赘述。For the technical effects brought about by the second aspect, the third aspect, the fourth aspect, and the fifth aspect, reference may be made to the descriptions related to the methods involved in the above method section, which will not be repeated here.
附图说明Description of drawings
图1为本申请实施例提供的通话场景示意图。FIG. 1 is a schematic diagram of a call scenario provided by an embodiment of the present application.
图2为本申请实施例提供的一种电子设备的结构示意图。FIG. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
图3为本申请实施例提供的另一种电子设备的结构示意图。FIG. 3 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
图4a为本申请实施例提供的一种通话系统结构示意图。FIG. 4a is a schematic structural diagram of a communication system according to an embodiment of the present application.
图4b为本申请实施例提供的另一通话系统结构示意图。FIG. 4b is a schematic structural diagram of another call system provided by an embodiment of the present application.
图4c为本申请实施例提供的另一通话系统结构示意图。FIG. 4c is a schematic structural diagram of another call system according to an embodiment of the present application.
图5a为本申请实施例提供蓝牙模块之间的指令交互流程示意图。FIG. 5a provides a schematic diagram of an instruction interaction flow between Bluetooth modules according to an embodiment of the present application.
图5b为本申请实施例提供蓝牙模块之间的另一指令交互流程示意图。FIG. 5b provides a schematic diagram of another instruction interaction flow between Bluetooth modules according to an embodiment of the present application.
图6为本申请实施例提供的一种通话方法流程示意图。FIG. 6 is a schematic flowchart of a calling method according to an embodiment of the present application.
图7a为本申请实施例提供的手表通信录示意图。FIG. 7a is a schematic diagram of a watch address book provided by an embodiment of the present application.
图7b为本申请实施例提供的手表通话记录示意图。FIG. 7b is a schematic diagram of a call record of a watch provided by an embodiment of the present application.
图7c为本申请实施例提供的手表拨号盘示意图。FIG. 7c is a schematic diagram of a watch dial provided by an embodiment of the present application.
图8a为本申请实施例提供的一种拨号界面示意图。FIG. 8a is a schematic diagram of a dialing interface provided by an embodiment of the present application.
图8b为本申请实施例提供的另一种拨号界面示意图。FIG. 8b is a schematic diagram of another dialing interface provided by an embodiment of the present application.
图8c为本申请实施例提供的另一种拨号界面示意图。FIG. 8c is a schematic diagram of another dialing interface provided by an embodiment of the present application.
图8d为本申请实施例提供的另一种拨号界面示意图。FIG. 8d is a schematic diagram of another dialing interface provided by an embodiment of the present application.
图9为本申请实施例提供的一种拨号状态示意图。FIG. 9 is a schematic diagram of a dialing state provided by an embodiment of the present application.
图10为本申请实施例提供的另一种拨号状态示意图。FIG. 10 is a schematic diagram of another dialing state provided by an embodiment of the present application.
图11为本申请实施例提供的另一种拨号状态示意图。FIG. 11 is a schematic diagram of another dialing state provided by an embodiment of the present application.
图12为本申请实施例提供的另一种通话方法流程示意图。FIG. 12 is a schematic flowchart of another calling method provided by an embodiment of the present application.
图13为本申请实施例提供的另一种通话方法流程示意图。FIG. 13 is a schematic flowchart of another calling method provided by an embodiment of the present application.
图14为本申请实施例提供的另一种通话方法流程示意图。FIG. 14 is a schematic flowchart of another calling method provided by an embodiment of the present application.
图15为本申请实施例提供的另一种通话方法流程示意图。FIG. 15 is a schematic flowchart of another calling method provided by an embodiment of the present application.
具体实施方式Detailed ways
需要说明的是,本申请实施例中“至少一个”是指一个或者多个,“多个”是指两个或多于两个。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。本申请的说明书和权利要求书及附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不是用于描述特定的顺序或先后次序。It should be noted that, in the embodiments of the present application, "at least one" refers to one or more, and "multiple" refers to two or more. "And/or", which describes the relationship between the associated objects, means that there can be three relationships, for example, A and/or B can mean: A alone exists, A and B exist at the same time, and B exists alone, where A, B Can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if present) in the description and claims of this application and the drawings are used to distinguish similar objects, not to Describe a particular order or sequence.
在对本申请实施例进行详细的解释说明之前,先对本申请实施例涉及的应用场景予以介绍。Before the detailed explanation of the embodiments of the present application, the application scenarios involved in the embodiments of the present application are introduced.
请参阅图1,图1为本申请实施例提供的通话场景示意图。如图1所示,该通话场景中包括第一电子设备200和第二电子设备300。所述第一电子设备200与所述第二电子设备300具有蓝牙通话功能,第一电子设备200与第二电子设备300可以通过蓝牙技术(包括经典蓝牙和低功耗蓝牙(Bluetooth Low Energy,BLE)进行通信。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a call scenario provided by an embodiment of the present application. As shown in FIG. 1 , the call scenario includes a first electronic device 200 and a second electronic device 300 . The first electronic device 200 and the second electronic device 300 have a Bluetooth call function, and the first electronic device 200 and the second electronic device 300 can communicate through Bluetooth technology (including classic Bluetooth and Bluetooth Low Energy (BLE) ) to communicate.
在其中一种情形中,当第一电子设备200和第二电子设备300配对完成后,第一电子设备200支持通过蓝牙设备控制电话的软件(Hands-free Profile,HFP)调用第二电子设备300的通话能力发起通话。其中,第二电子设备300可以为音频网关(Audio Gate,AG),其为音频的输入/输出网关。第一电子设备200可以作为免提组件(Hands Free,HF),其为音频网关的远程音频输入/输出机制,并可提供若干遥控功能,如可以控制电话,如接听、挂断、拒接、语音拨号等。In one case, after the pairing of the first electronic device 200 and the second electronic device 300 is completed, the first electronic device 200 supports the software (Hands-free Profile, HFP) that controls the phone through the Bluetooth device to call the second electronic device 300 call capability to initiate a call. The second electronic device 300 may be an audio gateway (Audio Gate, AG), which is an audio input/output gateway. The first electronic device 200 can be used as a hands-free component (Hands Free, HF), which is the remote audio input/output mechanism of the audio gateway, and can provide several remote control functions, such as being able to control calls, such as answering, hanging up, rejecting, Voice dialing, etc.
可选地,所述第一电子设备可以包括智能手表、蓝牙音箱、蓝牙手环、蓝牙智能眼镜、车载设备、手机、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、人工智能(artificial intelligence, AI)设备等设备,本申请实施例对第一电子设备的具体类型不作特殊限制。Optionally, the first electronic device may include a smart watch, a bluetooth speaker, a bluetooth wristband, a bluetooth smart glasses, a car device, a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, a super A mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a cellular phone, an artificial intelligence (artificial intelligence (AI) device, etc.), the specific type of the first electronic device is not particularly limited in this embodiment of the present application.
以第一电子设备为智能手表作为示例,如图2所示,图2为本申请实施例提供的一种电子设备的结构示意图。智能手表可以包括:处理器201、存储器202、传感器203、至少一个受话器204、至少一个麦克风205、电源206和蓝牙装置207。Taking the first electronic device as a smart watch as an example, as shown in FIG. 2 , FIG. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The smart watch may include: a processor 201 , a memory 202 , a sensor 203 , at least one receiver 204 , at least one microphone 205 , a power source 206 and a Bluetooth device 207 .
其中,存储器202可以用于存储应用程序代码,如使得智能手表与上述第二电子设备进行配对的应用程序代码。处理器201可以控制执行本申请实施例的通话方法的应用程序代码,以实现本申请实施例中智能手表的功能。Wherein, the memory 202 may be used to store application program codes, such as application program codes for pairing the smart watch with the above-mentioned second electronic device. The processor 201 may control the application code for executing the calling method of the embodiment of the present application, so as to realize the function of the smart watch in the embodiment of the present application.
存储器202中还可以存储有用于唯一标识该智能手表的蓝牙地址。另外,该存储器202中还可以存储有与该智能手表之前成功配对过的电子设备的连接数据。例如,该连接数据可以是与该智能手表成功配对过的电子设备的蓝牙地址。基于该连接数据,该智能手表能够与该电子设备自动配对,而不必配置与其之间的连接,如进行合法性验证等。上述蓝牙地址可以为媒体访问控制(media access control,MAC)地址。The memory 202 may also store a Bluetooth address for uniquely identifying the smart watch. In addition, the memory 202 may also store connection data with the electronic device that has been successfully paired with the smart watch before. For example, the connection data may be the Bluetooth address of the electronic device successfully paired with the smart watch. Based on the connection data, the smart watch can be automatically paired with the electronic device without having to configure the connection therewith, such as legality verification. The above Bluetooth address may be a media access control (media access control, MAC) address.
传感器203可以包括距离传感器、接近光传感器、重力传感器和/或陀螺仪等。智能手表的处理器201可以通过该传感器203确定是否被用户佩戴,也可以通过传感器203判断手表被佩戴时用户的一些动作,例如抬腕动作。例如,智能手表的处理器201可以利用接近光传感器来检测智能手表附近是否有物体,从而确定智能手表是否被用户佩戴。在确定智能手表被佩戴时,智能手表的处理器201可以打开受话器204。在一些实施例中,该智能手表还可以包括骨传导传感器,结合成骨传导耳机。该骨传导传感器可以获取声部振动骨块的振动信号,处理器201解析出语音信号,实现语音信号对应的控制功能。在另一些实施例中,该智能手表还可以包括触摸传感器或压力传感器,分别用于检测用户的触摸操作和按压操作。在另一些实施例中,该智能手表还可以包括指纹传感器,用于检测用户指纹,识别用户身份等。在另一些实施例中,该智能手表还可以包括环境光传感器,智能手表的处理器201可以根据该环境光传感器感知的环境光的亮度,自适应调节一些参数,如音量大小。 Sensors 203 may include distance sensors, proximity light sensors, gravity sensors, and/or gyroscopes, among others. The processor 201 of the smart watch can use the sensor 203 to determine whether it is worn by the user, and can also use the sensor 203 to determine some actions of the user when the watch is worn, such as a wrist lift. For example, the processor 201 of the smart watch can use the proximity light sensor to detect whether there is an object near the smart watch, so as to determine whether the smart watch is worn by the user. Upon determining that the smart watch is being worn, the processor 201 of the smart watch may turn on the receiver 204 . In some embodiments, the smart watch may also include a bone conduction sensor in combination with a bone conduction earphone. The bone conduction sensor can acquire the vibration signal of the vibrating bone mass of the voice part, and the processor 201 parses the voice signal to realize the control function corresponding to the voice signal. In other embodiments, the smart watch may further include a touch sensor or a pressure sensor for detecting a user's touch operation and pressing operation, respectively. In other embodiments, the smart watch may further include a fingerprint sensor for detecting the user's fingerprint, identifying the user's identity, and the like. In other embodiments, the smart watch may further include an ambient light sensor, and the processor 201 of the smart watch may adaptively adjust some parameters, such as volume, according to the brightness of the ambient light sensed by the ambient light sensor.
蓝牙装置207用于与其它电子设备(如第二电子设备)建立蓝牙连接,使得第一电子设备与其它电子设备之间可以进行短距离数据交互。The Bluetooth device 207 is used to establish a Bluetooth connection with other electronic devices (eg, the second electronic device), so that short-distance data exchange can be performed between the first electronic device and the other electronic devices.
受话器204,也可以称为“听筒”,可以用于将音频电信号转换成声音信号并播放。例如,当智能手表作为上述第二电子设备的音频输出设备时,受话器204可以将接收到的音频电信号转换为声音信号并播放。The receiver 204, which may also be referred to as an "earpiece", may be used to convert audio electrical signals into sound signals and play them back. For example, when the smart watch is used as the audio output device of the above-mentioned second electronic device, the receiver 204 can convert the received audio electrical signal into a sound signal and play it.
麦克风205,也可以称为“话筒”,“传声器”,用于将声音信号转换为音频电信号。例如,当智能手表作为上述第二电子设备的音频输入设备时,在用户说话(如通话或发语音消息)时,麦克风205可以采集用户的声音信号,并将其转换为音频电信号。The microphone 205, also referred to as "microphone" or "microphone", is used to convert sound signals into audio electrical signals. For example, when the smart watch is used as the audio input device of the above-mentioned second electronic device, when the user speaks (such as talking or sending a voice message), the microphone 205 can collect the user's voice signal and convert it into an audio electrical signal.
电源206,可以用于向智能手表包含的各个部件供电。在一些实施例中,该电源206可以是电池,如可充电电池。The power supply 206 can be used to supply power to various components included in the smart watch. In some embodiments, the power source 206 may be a battery, such as a rechargeable battery.
可以理解的是,本实施例示意的结构并不构成对智能手表的具体限定。其可以具有比图2中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。例如,该智能手表还可以包括指示灯(可以指示电量等状态)、防尘网(可以配合听筒使用)等部件。图2中所示出的各种部件可以在包括一个或多个信号处理或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the smart watch. It may have more or fewer components than shown in Figure 2, may combine two or more components, or may have a different configuration of components. For example, the smart watch may also include components such as an indicator light (which can indicate the state of power, etc.), a dust filter (which can be used in conjunction with an earpiece). The various components shown in Figure 2 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing or application specific integrated circuits.
在一些实施例中,第二电子设备可以包括手机、平板电脑、桌面型、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备、媒体播放器、电视机等设备,本实施例对第二电子设备的具体形态不作特殊限制。In some embodiments, the second electronic device may include a cell phone, tablet, desktop, laptop, handheld computer, notebook computer, ultra-mobile personal computer (UMPC), netbook, and cellular telephone , personal digital assistant (personal digital assistant, PDA), augmented reality (augmented reality, AR)\virtual reality (virtual reality, VR) equipment, media player, television and other equipment, this embodiment is specific to the second electronic equipment The form is not particularly limited.
以第二电子设备为手机作为示例,如图3所示,图3为本申请实施例提供的另一种电子设备的结构示意图。其中,第二电子设备可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,摄像头193,显示屏194等,以及用户标识模块(subscriber identification module,SIM)卡接口195等。Taking the second electronic device as a mobile phone as an example, as shown in FIG. 3 , FIG. 3 is a schematic structural diagram of another electronic device according to an embodiment of the present application. The second electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, and an antenna 1 , antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, camera 193, display screen 194, etc., and a subscriber identification module module, SIM) card interface 195 and so on.
可以理解的是,本发明实施例示意的结构并不构成对电子设备的具体限定。在本申请另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device. In other embodiments of the present application, the electronic device may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface 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 transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device. While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器 110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。 Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括一个或多个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G etc. applied on the electronic device. The mobile communication module 150 may include one or more filters, switches, power amplifiers, low noise amplifiers (LNAs), and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator 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 passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备上的包括无线局域网(wirelesslocal area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(Bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成一个或多个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on electronic devices including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems ( global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating one or more communication processing modules. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
在一些实施例中,电子设备的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
电子设备通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110 可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device realizes the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device may include 1 or N display screens 194 , where N is a positive integer greater than 1.
电子设备可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device may include 1 or N cameras 193 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
视频编解码器用于对数字视频压缩或解压缩。电子设备可以支持一种或多种视频编解码器。这样,电子设备可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. An electronic device may support one or more video codecs. In this way, the electronic device can play or record videos in various encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
内部存储器121可以用于存储一个或多个计算机程序,该一个或多个计算机程序包括指令。处理器110可以通过运行存储在内部存储器121的上述指令,从而使得电子设备执行本申请一些实施例中所提供的通话方法,以及各种功能应用和数据处理等。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统;该存储程序区还可以存储一个或多个应用程序(比如图库、联系人等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如照片,联系人等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。在另一些实施例中,处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,来使得电子设备执行本申请实施例中提供的通话方法,以及各种功能应用和数据处理。Internal memory 121 may be used to store one or more computer programs including instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, thereby causing the electronic device to execute the calling methods provided in some embodiments of the present application, as well as various functional applications and data processing. The internal memory 121 may include a storage program area and a storage data area. Wherein, the stored program area may store the operating system; the stored program area may also store one or more application programs (such as gallery, contacts, etc.) and the like. The storage data area can store data (such as photos, contacts, etc.) created during the use of the electronic device. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, universal flash storage (UFS), and the like. In other embodiments, the processor 110 causes the electronic device to execute the calling method provided in the embodiments of the present application by executing the instructions stored in the internal memory 121 and/or the instructions stored in the memory provided in the processor, As well as various functional applications and data processing.
第二电子设备可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The second electronic device may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。第二电子设备可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. The second electronic device can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device answers a call or a voice message, the voice can be received by placing the receiver 170B close to the human ear.
克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备可以设置一个或多个麦克风170C。在另一些实施例中,电子设备可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。 Microphone 170C, also known as "microphone" and "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C. The electronic device may be provided with one or more microphones 170C. In other embodiments, the electronic device may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone jack 170D is used to connect wired earphones. The earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
传感器模块180可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。触摸传感器可以设置于显示屏,由触摸传感器与显示屏组成触摸屏,也称“触控屏”。The sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like. The touch sensor can be arranged on the display screen, and the touch screen is composed of the touch sensor and the display screen, also called "touch screen".
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used to connect a SIM card. The SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 . The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 100 employs an eSIM, ie: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
另外,上述电子设备中还可以包括按键、马达、指示器等一种或多种部件,本申请实施例对此不做任何限制。In addition, the above electronic device may also include one or more components such as buttons, motors, indicators, etc., which are not limited in this embodiment of the present application.
在第一电子设备调用第二电子设备的通话能力进行通话时,用户需要先在第一电子设备上进行操作,如需要进行拨号操作,选择要拨打的电话号码;然后,现有技术中手机会默认使用默认卡拨打该电话号码,其中,默认卡即为用户预先设置的默认用于进行某一项业务(如拨号、发短信或用流量上网)的用户卡。若用户不想使用默认卡拨打电话,或没有设置默认卡时,或用户想要选择某一张卡拨打该电话号码时,用户还需要操作第二电子设备,以在第二电子设备上选择用于当前通话的卡,操作繁琐且不便,效率低下。When the first electronic device invokes the call capability of the second electronic device to make a call, the user needs to operate on the first electronic device first, and if a dialing operation is required, select the phone number to be dialed; then, in the prior art, the mobile phone can By default, a default card is used to dial the phone number, wherein the default card is a user card preset by the user and used for a certain service (such as dialing, sending text messages, or using traffic to access the Internet) by default. If the user does not want to use the default card to make calls, or when the default card is not set, or when the user wants to select a certain card to dial the phone number, the user also needs to operate the second electronic device to select the The current call card is cumbersome and inconvenient to operate, and the efficiency is low.
基于此,本申请实施例提供一种通话方法,基于第一电子设备与第二电子设备间的第一通信连接,第一电子设备接收到第二电子设备传输的附加通话信息,附加通话信息包括安装于第二电子设备的用户卡的信息。其中附加通话信息可以包括第一用户卡信息和第二用户卡信息,其中,用户卡信息即第二电子设备中安装的用户卡的信息,第一用户卡信息为第二电子设备中安装的第一用户卡 的信息,第二用户卡信息为第二电子设备中安装的第二用户卡的信息,然后呈现第一用户卡信息和第二用户卡信息,用户在第一电子设备上输入对第一用户卡信息或第二用户卡信息的第一操作,第一电子设备接收该第一操作并响应,以从第一用户卡和第二用户卡中选择一个作为指定卡,第一电子设备将指定卡的信息发送给第二电子设备,以使得第二电子设备使用指定卡向第三方发起通话请求。由此,可以实现用户在第一电子设备上选择用于当前通话的指定卡,并能让第二电子设备使用指定卡向第三方发起通话请求。Based on this, an embodiment of the present application provides a call method. Based on a first communication connection between a first electronic device and a second electronic device, the first electronic device receives additional call information transmitted by the second electronic device, and the additional call information includes: Information of the user card installed in the second electronic device. The additional call information may include first user card information and second user card information, wherein the user card information is the information of the user card installed in the second electronic device, and the first user card information is the first user card information installed in the second electronic device. Information of a user card, the second user card information is the information of the second user card installed in the second electronic device, and then the first user card information and the second user card information are presented, and the user enters the first user card information on the first electronic device. A first operation of user card information or second user card information, the first electronic device receives the first operation and responds to select one of the first user card and the second user card as the designated card, the first electronic device will The information of the designated card is sent to the second electronic device, so that the second electronic device uses the designated card to initiate a call request to a third party. In this way, the user can select the designated card for the current call on the first electronic device, and the second electronic device can use the designated card to initiate a call request to a third party.
其中,用户卡即用户身份识别卡,可以包括用户身份鉴别模块卡(Subscribe Identification Moudle,SIM),全球用户识别模块卡(Universal Subscriber Identity Module,USIM),用户识别模块卡(User Identity Module,UIM)、数据卡等用于对移动终端的用户进行识别的卡。Among them, the user card is the user identity card, which may include a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and a User Identity Module (UIM) , data cards and other cards used to identify the user of the mobile terminal.
其中,用户身份模块卡,通常称为“SIM卡”,其是主要用于存储用户身份识别数据、短信数据和电话号码等的智能卡。SIM卡是全球移动通信系统(Global System for Mobile Communications,GSM)手机连接到GSM网络的钥匙,一旦SIM卡从手机拔出,除了紧急呼叫外,手机将无法享受网络运营者提供的各种服务。Among them, the user identity module card, commonly referred to as a "SIM card", is a smart card mainly used to store user identity identification data, text message data, and phone numbers. The SIM card is the key for the Global System for Mobile Communications (GSM) mobile phone to connect to the GSM network. Once the SIM card is removed from the mobile phone, the mobile phone will not be able to enjoy various services provided by the network operator except for emergency calls.
其中,数据卡(Datacard),又称无线上网卡、宽带上网卡、USB modem(USB调制解调器)等,数据卡可以通过GSM(Global System for Mobile communications,全球数字移动电话系统)UMTS(Universal Mobile Telecommunication System,通用移动通信系统)、CDMA(Code Division Multiple Access,码分多路访问)等移动通信技术连接无线网络,实现语音、短信、数据业务等功能。数据卡最主要的功能是通过拨号连接互联网,进行数据业务。Among them, data card (Datacard), also known as wireless network card, broadband network card, USB modem (USB modem), etc., data card can pass GSM (Global System for Mobile communications, global digital mobile phone system) UMTS (Universal Mobile Telecommunication System) , Universal Mobile Communication System), CDMA (Code Division Multiple Access, Code Division Multiple Access) and other mobile communication technologies are connected to the wireless network to realize functions such as voice, SMS, and data services. The main function of the data card is to connect to the Internet through dial-up for data services.
其中,用户卡信息可以包括:用户卡的号码、用户卡类型、用户卡的卡号信息、用户卡上的通讯录或用户卡上的短信等。在电子设备上安装有多个用户卡时,则该附加通话信息包括多个用户卡的用户卡信息,如各个用户卡对应的用户卡类型、各个用户卡对应的卡号信息、各个用户卡上的通讯录、各个用户卡对应的短信或各个用户卡上联系号码的归属地信息等。The user card information may include: the number of the user card, the type of the user card, the card number information of the user card, the address book on the user card or the short message on the user card, and the like. When multiple user cards are installed on the electronic device, the additional call information includes the user card information of the multiple user cards, such as the user card type corresponding to each user card, the card number information corresponding to each user card, and the information on each user card. The address book, the short message corresponding to each user card, or the attribution information of the contact number on each user card, etc.
其中,用户卡的号码是电话管理部门设定的号码。号码即移动目录号码(Mobile Directory Number,MDN)号码,即本网用户作被叫时,主叫用户所需拨的号码。The number of the user card is the number set by the telephone management department. The number is the Mobile Directory Number (MDN) number, that is, the number that the calling user needs to dial when the user on this network is called.
其中,用户卡类型包括SIM卡、UIM卡或USIM卡、数据卡等。The user card type includes a SIM card, a UIM card or a USIM card, a data card, and the like.
其中,卡号信息可以包括集成电路卡识别码(ICCID,Integrate circuit card identity)、移动用户的号码(MSISDN,Mobile Subscriber International ISDN/PSTN number)。The card number information may include an integrated circuit card identification code (ICCID, Integrate circuit card identity), a mobile subscriber's number (MSISDN, Mobile Subscriber International ISDN/PSTN number).
其中,用户卡上的通讯录即存储至用户卡上的通讯录,可以包括在一个对象名下,对应存储的座机、手机、宅电、单位、传真、地址、电子邮件或号码归属地信息等多项内容。Among them, the address book on the user card is the address book stored on the user card, which can be included in an object name, corresponding to the stored landline, mobile phone, home electricity, work unit, fax, address, email or number attribution information, etc. multiple content.
其中,号码归属地信息包括用户电话号码的归属地信息和/或用户终端物理地址的地域信息。The number attribution information includes the attribution information of the user's phone number and/or the geographical information of the physical address of the user terminal.
其中,用户卡上的短信即存储至该用户卡上的短信信息。The short message on the user card is the short message information stored on the user card.
其中,指定卡为安装于第二电子设备上的用户卡,其为用户操作第一电子设备,用户在第一电子设备上指定用于当前通话的用户卡。指定卡信息即指定卡的信息,即用户指定的用于当前通话的用户卡的信息,指定卡信息可以包括指定卡的卡类型以及卡号信息等。Wherein, the designated card is a user card installed on the second electronic device, which is for the user to operate the first electronic device, and the user designates the user card used for the current call on the first electronic device. The designated card information is the information of the designated card, that is, the information of the user card designated by the user for the current call, and the designated card information may include the card type and card number information of the designated card.
可以理解,用户卡信息还可以包括其他存储至该用户卡的信息或与该用户卡关联未存储至该用户卡的信息,如用户身份标识卡对应每月套餐使用情况等。本申请对此不做具体限定。It can be understood that the user card information may also include other information stored in the user card or information associated with the user card but not stored in the user card, such as the usage of the monthly package corresponding to the user identification card. This application does not specifically limit this.
接下来对本申请实施例提供的通话系统架构进行介绍。Next, the call system architecture provided by the embodiments of the present application is introduced.
该通话系统包括第一电子设备与第二电子设备,下文以第一电子设备为智能手表,以下统称为 手表,第二电子设备为手机进行举例说明,可以理解,并不对第一电子设备和第二电子设备的具体类型做具体限定。The call system includes a first electronic device and a second electronic device. The first electronic device is a smart watch, which is collectively referred to as a watch hereinafter, and the second electronic device is a mobile phone. Second, the specific types of electronic devices are specifically limited.
实施例一Example 1
请参阅图4a,图4a为本申请实施例提供的一种通话系统结构示意图。所述通话系统包括手机和手表,手机包括卡管理模块40、第一蓝牙模块41和第二通话管理模块42,手表包括第二蓝牙模块401、第一通话管理模块402和应用层403。Please refer to FIG. 4a, which is a schematic structural diagram of a communication system according to an embodiment of the present application. The call system includes a mobile phone and a watch, the mobile phone includes a card management module 40 , a first Bluetooth module 41 and a second call management module 42 , and the watch includes a second Bluetooth module 401 , a first call management module 402 and an application layer 403 .
手机和手表之间可以基于第一通信连接和第二通信连接进行交互。其中,所述第一通信连接包括蓝牙连接。所述第二通信连接包括蓝牙连接。The mobile phone and the watch can interact based on the first communication connection and the second communication connection. Wherein, the first communication connection includes a Bluetooth connection. The second communication connection includes a Bluetooth connection.
以第一通信连接为蓝牙连接为例,在第一蓝牙模块41与第二蓝牙模块401之间可以存在两条通道(第一通道和第二通道)。其中第一通道用于传输标准通话信息。标准通话信息可以包括用户拨打的电话号码、通话内容、通话状态等。其中,用户拨打的电话号码即为用户呼叫的通话对象的电话号码,即要进行通话的对象的电话号码。其中,通话内容即用户与通话对象的通话内容,如通话的语音信息。其中,通话状态即用户发起该通话的状态,通话状态包括以下至少之一:拨号状态DIALING,振铃状态ALERTING,接通状态ACTIVE,呼叫等待状态CALL_WAITING,连接超时DISCONNECTED/IDLE状态等。第二通道用于传输附加通话信息,附加通话信息包括用户卡信息、指定卡信息、来电号码的标记信息和通话类型等。如可以将手机上所安装的所有的用户卡的用户卡信息通过该第二通道传输给手表,如手机上安装了第一用户卡和第二用户卡,则将第一用户卡和第二用户卡的信息通过该第二通道传输给手表,以将手机上安装的用户卡的用户卡信息告知手表。或,用户在手表上选择用于当前通话的指定卡时,将该指定卡信息通过该第二通道发送给手表。其中,来电号码的标记信息即用户接收到的该来电的电话号码被用户或其他用户所标记的信息,如用户或其他用户可以标记某一号码为“快递送餐”,在接收到该号码来电时,显示该号码对应的标记信息“快递送餐”。通话类型可以包括运营商语音通话类型或VOIP语音通话类型,运营商语音通话类型是通过电信运营商的传统电话网络进行传输的通话。VOIP语音通话类型是经由互联网进行传输的基于IP(互联网协议)的语音传输。其中,标准通话信息为正常蓝牙通话过程中所传输的信息,而附加通话信息为通过本申请实施例的通话方法所提供的除标准通话信息之外的信息,以通过附加通话信息增强通话功能。Taking the first communication connection as a Bluetooth connection as an example, there may be two channels (a first channel and a second channel) between the first Bluetooth module 41 and the second Bluetooth module 401 . The first channel is used to transmit standard call information. The standard call information may include the phone number dialed by the user, the content of the call, the state of the call, and the like. The phone number dialed by the user is the phone number of the call object called by the user, that is, the phone number of the object to be called. The call content is the call content between the user and the call object, such as the voice information of the call. The call state is the state in which the user initiates the call, and the call state includes at least one of the following: dialing state DIALING, ringing state ALERTING, connection state ACTIVE, call waiting state CALL_WAITING, connection timeout DISCONNECTED/IDLE state, etc. The second channel is used to transmit additional call information, and the additional call information includes user card information, designated card information, caller ID mark information, and call type. If the user card information of all user cards installed on the mobile phone can be transmitted to the watch through the second channel, if the first user card and the second user card are installed on the mobile phone, the first user card and the second user card The card information is transmitted to the watch through the second channel, so as to inform the watch of the user card information of the user card installed on the mobile phone. Or, when the user selects the designated card for the current call on the watch, the designated card information is sent to the watch through the second channel. Among them, the marking information of the incoming call number is the information that the telephone number of the incoming call received by the user is marked by the user or other users. When the number is displayed, the marked information "Express Delivery" corresponding to the number is displayed. The call type may include a carrier voice call type or a VOIP voice call type, and the carrier voice call type is a call transmitted through a traditional telephone network of a telecom operator. The VOIP voice call type is the transmission of voice over IP (Internet Protocol) over the Internet. The standard call information is information transmitted during a normal Bluetooth call, and the additional call information is information other than the standard call information provided by the call method of the embodiment of the present application, so as to enhance the call function through the additional call information.
在其中一个可能实现方式中,第一蓝牙模块41可以包括多个子模块,第二蓝牙模块401可以包括多个子模块,如第一蓝牙模块41包括第一子模块和第二子模块,第二蓝牙模块401包括第三子模块和第四子模块,第一子模块与第三子模块之间建立第一通信连接,即第一子模块与第三子模块之间存在第一通道,通过该第一通道建立第一通信连接,基于该第一通信连接传输用户卡信息和指定卡信息等附加通话信息,第二子模块与第四子模块之间存在第二通道,通过该第二通道建立第二通信连接,基于该第二通信连接传输用户拨打的电话号码、通话状态等标准通话信息,本申请对此不做具体限定。In one possible implementation manner, the first Bluetooth module 41 may include multiple submodules, and the second Bluetooth module 401 may include multiple submodules. For example, the first Bluetooth module 41 includes a first submodule and a second submodule, and the second Bluetooth module 41 includes a first submodule and a second submodule. Module 401 includes a third sub-module and a fourth sub-module. A first communication connection is established between the first sub-module and the third sub-module, that is, a first channel exists between the first sub-module and the third sub-module. A channel establishes a first communication connection, and transmits additional call information such as user card information and designated card information based on the first communication connection. A second channel exists between the second sub-module and the fourth sub-module, and a second channel is established through the second channel. The second communication connection transmits standard call information such as the phone number dialed by the user and the call status based on the second communication connection, which is not specifically limited in this application.
蓝牙协议为各种可能的、有通用意义的应用场景制定的规范,如A2DP(advanced audio distribution profile)、HFP(hands-free profile)等等。核心协议包括但不限于蓝牙基本的服务协议SDP(Service Discover Protocol)、逻辑链路控制和适配协议L2CAP(Logical Link Control and Adaptation Protocol)等。The Bluetooth protocol is a specification for various possible and general application scenarios, such as A2DP (advanced audio distribution profile), HFP (hands-free profile) and so on. The core protocols include but are not limited to the Bluetooth basic service protocol SDP (Service Discover Protocol), the logical link control and adaptation protocol L2CAP (Logical Link Control and Adaptation Protocol) and so on.
在本申请实施例中,借助手机和手表配对的软件(如华为穿戴),在手机和手表之间建立一条 RFCOMM信令通道,即建立第一通信连接。手表向手机发送RFCOMM连接请求(connection request),用于请求与手机建立RFCOMM信令通道。手机接收到手表发送的RFCOMM连接请求后,可以返回RFCOMM连接响应(connection response)给手表。或,手机向手表发送RFCOMM连接请求(connection request),用于请求与手表建立RFCOMM信令通道。手表接收到手机发送的RFCOMM连接请求后,可以返回RFCOMM连接响应(connection response)给手机。于是,手机与手表之间的RFCOMM信令通道建立完成,即建立了第一通信连接,则手机与手表可以基于该第一通信连接传输数据。其中,RFCOMM是基于欧洲电信标准协会ETSI07.10规程的串行线性仿真协议。In the embodiment of the present application, an RFCOMM signaling channel is established between the mobile phone and the watch by means of the software for pairing the mobile phone and the watch (such as Huawei Wear), that is, the first communication connection is established. The watch sends an RFCOMM connection request to the mobile phone to request the establishment of an RFCOMM signaling channel with the mobile phone. After the mobile phone receives the RFCOMM connection request sent by the watch, it can return the RFCOMM connection response (connection response) to the watch. Or, the mobile phone sends an RFCOMM connection request (connection request) to the watch for requesting to establish an RFCOMM signaling channel with the watch. After the watch receives the RFCOMM connection request sent by the mobile phone, it can return an RFCOMM connection response (connection response) to the mobile phone. Then, the establishment of the RFCOMM signaling channel between the mobile phone and the watch is completed, that is, the first communication connection is established, and the mobile phone and the watch can transmit data based on the first communication connection. Among them, RFCOMM is a serial linear simulation protocol based on the European Telecommunications Standards Institute ETSI07.10 regulations.
手机和手表均支持免提规范(hands-free profile,HFP)的服务功能,则手机和手表可以基于HFP的控制指令传输信号,手表可以与手机建立RFCOMM连接,即建立第二通信连接,然后,手机与手表即可建立基于HFP功能的服务连接,进行HFP控制指令的传输。Both the mobile phone and the watch support the service function of the hands-free profile (HFP), then the mobile phone and the watch can transmit signals based on HFP control commands, and the watch can establish an RFCOMM connection with the mobile phone, that is, establish a second communication connection, and then, The mobile phone and the watch can establish a service connection based on the HFP function to transmit HFP control commands.
在本申请实施例中,手机与手表建立一条RFCOMM数据通道。例如,手表可以向手机发送RFCOMM连接请求,用于与手机建立RFCOMM数据通道。手表在接收到手机发送的RFCOMM连接请求后,可以返回RFCOMM连接响应给手机。于是,手机与手表之间的RFCOMM数据通道建立完成,即建立了第二通信连接,则手机与手表可以基于该第二通信连接传输数据。其中,RFCOMM数据通道可以为RFCOMM socket通道,即通过手机与手表两个网络各自通信连接中的端点所建立的通道。该RFCOMM数据通道可以基于HFP的控制指令传输信号。In this embodiment of the present application, the mobile phone and the watch establish an RFCOMM data channel. For example, the watch can send an RFCOMM connection request to the mobile phone to establish an RFCOMM data channel with the mobile phone. After the watch receives the RFCOMM connection request sent by the mobile phone, it can return an RFCOMM connection response to the mobile phone. Therefore, the establishment of the RFCOMM data channel between the mobile phone and the watch is completed, that is, the second communication connection is established, and the mobile phone and the watch can transmit data based on the second communication connection. Among them, the RFCOMM data channel can be the RFCOMM socket channel, that is, the channel established by the endpoints in the respective communication connections between the mobile phone and the watch. The RFCOMM data channel can transmit signals based on HFP control commands.
在本申请实施例中,卡管理模块40用于监听手机上安装的用户卡,以获取用户卡的状态变化信息,在用户卡状态发生变化时,获取手机上所安装的用户卡的信息,并将用户卡的信息发送给第一蓝牙模块41。手机上用户卡的状态变化包括手机上任意一张用户卡发生变化。而手机上用户卡的状态变化信息包括手机上任意一张用户卡发生变化后的用户卡信息。可通过检测集成电路卡识别码(Integrate circuit card identity,简称“ICCID”)或国际移动用户识别码(International Mobile Subscriber Identification Number,简称“IMSI”)来判断当前是否存在用户卡发生变化事件。比如手机中存在设置于卡槽1(即第一用户识别卡所在的卡槽)的手机卡1(即第一用户卡)和设置于卡槽2(即第二用户识别卡所在的卡槽)的手机卡2(即第二用户卡),则手机可通过分别读取该卡槽1的手机卡1的ICCID(或IMSI),以及该卡槽2的手机卡2的ICCID(或IMSI),并将该手机卡1的ICCID与存储的原来的该卡槽1对应的ICCID进行比较,和/或将手机卡2的ICCID与存储的原来的该卡槽2对应的ICCID进行比较。当确定任一卡槽的ICCID(或IMSI)发生改变,则可确定用户卡的状态发生变化。In the embodiment of the present application, the card management module 40 is used to monitor the user card installed on the mobile phone, so as to obtain the status change information of the user card, and when the user card status changes, obtain the information of the user card installed on the mobile phone, and Send the information of the user card to the first Bluetooth module 41 . The status change of the user card on the mobile phone includes the change of any user card on the mobile phone. The state change information of the user card on the mobile phone includes the user card information after any user card on the mobile phone is changed. Whether there is a current user card change event can be determined by detecting the integrated circuit card identity ("ICCID" for short) or the International Mobile Subscriber Identification Number ("IMSI" for short). For example, there are mobile phone card 1 (ie, the first user card) set in the card slot 1 (ie, the card slot where the first user identification card is located) and card slot 2 (ie, the card slot where the second user identification card is located) in the mobile phone. mobile phone card 2 (that is, the second user card), the mobile phone can read the ICCID (or IMSI) of the mobile phone card 1 in the card slot 1 and the ICCID (or IMSI) of the mobile phone card 2 in the card slot 2, respectively, The ICCID of the mobile phone card 1 is compared with the original stored ICCID corresponding to the card slot 1 , and/or the ICCID of the mobile phone card 2 is compared with the stored ICCID corresponding to the original card slot 2 . When it is determined that the ICCID (or IMSI) of any card slot has changed, it can be determined that the state of the user card has changed.
示例性地,手机的卡槽1安装第一用户卡,卡槽2上安装第二用户卡,将第一用户卡取出,换上另一张用户卡,则手机可确定用户卡状态发生变化。Exemplarily, the first user card is installed in the card slot 1 of the mobile phone, and the second user card is installed in the card slot 2. If the first user card is taken out and replaced with another user card, the mobile phone can determine that the state of the user card has changed.
示例性地,手机上原有两张用户卡,其中卡1为中国移动卡,卡2为中国联通卡。用户将卡1和卡2取出,在卡1对应的卡槽1装上中国联通卡,在卡2对应的卡槽2装上中国电信卡。卡管理模块40监听到手机上用户卡的状态发生变化,卡槽1上的用户卡由中国移动卡变为中国联通卡,卡槽2上的用户卡由中国联通卡变为中国电信卡。卡管理模块40将变化后的用户卡信息发送给第一蓝牙模块41,即将卡1中国联通卡、卡2中国电信卡发送给第一蓝牙模块41。Exemplarily, there are originally two user cards on the mobile phone, wherein card 1 is a China Mobile card, and card 2 is a China Unicom card. The user takes out the card 1 and the card 2, installs the China Unicom card in the card slot 1 corresponding to the card 1, and installs the China Telecom card in the card slot 2 corresponding to the card 2. The card management module 40 monitors the change of the state of the user card on the mobile phone, the user card in the card slot 1 is changed from China Mobile card to China Unicom card, and the user card in card slot 2 is changed from China Unicom card to China Telecom card. The card management module 40 sends the changed user card information to the first Bluetooth module 41 , that is, the card 1 China Unicom card and the card 2 China Telecom card are sent to the first Bluetooth module 41 .
第一蓝牙模块41用于在手机与手表之间建立蓝牙连接并传输数据。第一蓝牙模块41与第二蓝牙模块401建立连接后,将手机上的用户卡信息基于第一通信连接传输给手表的第二蓝牙模块401,即将变化后的用户卡信息(卡1中国联通卡、卡2中国电信卡)发送给第二蓝牙模块401,实现将 手机上的用户卡信息同步至手表。The first Bluetooth module 41 is used to establish a Bluetooth connection between the mobile phone and the watch and transmit data. After the first bluetooth module 41 establishes a connection with the second bluetooth module 401, the user card information on the mobile phone is transmitted to the second bluetooth module 401 of the watch based on the first communication connection, and the changed user card information (card 1 China Unicom card) , card 2, China Telecom card) to the second bluetooth module 401 to synchronize the user card information on the mobile phone to the watch.
第二蓝牙模块401用于在手机与手表之间建立蓝牙连接并传输数据。第一蓝牙模块41与第二蓝牙模块401建立连接后,第二蓝牙模块401将接收到的用户卡信息发送给第一通话管理模块402,即第一通话管理模块402接收到当前手机上的用户卡信息为卡1中国联通卡、卡2中国电信卡。The second Bluetooth module 401 is used to establish a Bluetooth connection between the mobile phone and the watch and transmit data. After the first bluetooth module 41 establishes a connection with the second bluetooth module 401, the second bluetooth module 401 sends the received user card information to the first call management module 402, that is, the first call management module 402 receives the user on the current mobile phone. The card information is card 1 China Unicom card, card 2 China Telecom card.
第一通话管理模块402用于将接收到的用户卡信息传输给应用层403,以使得应用层403可以根据接收到的用户卡信息呈现与用户卡信息对应的用户卡选项,即应用层403根据用户卡信息刷新拨号界面。如在接收到用户卡信息为卡1中国联通卡、卡2中国电信卡时,则拨号界面呈现的用户卡选项包括卡1和卡2选项,其中卡1选项为中国联通卡,卡2选项为中国电信卡。在其中一种可能实现方式中,还可以显示各个卡对应的电话号码,如卡1为13111111111,卡2为13300000000。The first call management module 402 is configured to transmit the received user card information to the application layer 403, so that the application layer 403 can present user card options corresponding to the user card information according to the received user card information, that is, the application layer 403 can present user card options corresponding to the user card information according to the received user card information. The user card information refreshes the dialing interface. For example, when the received user card information is card 1 China Unicom card and card 2 China Telecom card, the user card options presented on the dial-up interface include card 1 and card 2 options, of which the card 1 option is China Unicom card, and the card 2 option is China Telecom card. In one of the possible implementations, the phone number corresponding to each card may also be displayed, for example, card 1 is 13111111111, and card 2 is 13300000000.
应用层403用于根据第一通话管理模块402传输的用户卡信息刷新用户卡选项,并接收用户对用户卡选项的第一操作,即获取用户对所述第一用户卡信息或所述第二用户卡信息的第一操作,以得到用户选择的指定卡信息,并将指定卡信息发送给第一通话管理模块402。如检测到用户触发某一用户卡选项,获取该被触发的用户卡选项对应的用户卡信息,即获取指定卡信息。示例性地,用户对卡1选项进行操作,如点击或长按等,则可以得到卡1对应的用户卡信息包括卡1、中国联通卡以及卡1对应的ICCID,即得到指定卡信息,该指定卡为用户选择的用于当前用户通话的用户卡。The application layer 403 is used to refresh the user card options according to the user card information transmitted by the first call management module 402, and receive the user's first operation on the user card options, that is, obtain the user's first user card information or the second user card information. The first operation of the user card information is to obtain the designated card information selected by the user, and send the designated card information to the first call management module 402 . If it is detected that the user triggers a certain user card option, the user card information corresponding to the triggered user card option is obtained, that is, the specified card information is obtained. Exemplarily, if the user operates the card 1 option, such as clicking or long pressing, etc., the user card information corresponding to the card 1 can be obtained, including the card 1, the China Unicom card and the ICCID corresponding to the card 1, that is, the specified card information is obtained. The specified card is the user card selected by the user for the current user call.
在其中一种可能实现方式中,指定卡信息可以为能区分第二电子设备上所安装的第一用户卡和第二用户卡的信息,如指定卡信息可以为卡1或卡2,还可以为用户卡的ICCID,还可以为用户卡的号码。示例地,第一用户卡为卡1,第一用户卡的ICCID为A,第一用户卡的号码为13100000000,第二用户卡为卡2,第二用户卡的ICCID为B,第二用户卡的号码为18100000000。用户点击卡1对应的用户卡选项,则可以获取指定卡信息为指定卡为卡1,或指定卡的ICCID为A,或指定卡的号码为13100000000。In one possible implementation manner, the designated card information may be information that can distinguish the first user card and the second user card installed on the second electronic device. For example, the designated card information may be card 1 or card 2, or It is the ICCID of the user card, and can also be the number of the user card. For example, the first user card is card 1, the ICCID of the first user card is A, the number of the first user card is 13100000000, the second user card is card 2, the ICCID of the second user card is B, and the second user card is The number is 18100000000. When the user clicks the user card option corresponding to card 1, the specified card information can be obtained as the specified card is card 1, or the ICCID of the specified card is A, or the number of the specified card is 13100000000.
第一通话管理模块402将指定卡信息、用户拨打的电话号码和通话状态发送给第二蓝牙模块401。第二蓝牙模块401将用户选择的指定卡信息基于第一通信连接发送给第一蓝牙模块41,第二蓝牙模块401将用户拨打的电话号码和通话状态等信息基于第二通信连接发送给第一蓝牙模块41,第一蓝牙模块41将接收到的指定卡信息、用户拨打的电话号码和通话状态信息发送给第二通话管理模块42。实现将用户在手表上指定的用于当前通话的指定卡发送给手机,以使得手机使用该指定卡发起通话请求。第二通话管理模块42用于根据接收到的指定卡信息发起通话请求。在其中一种可能实现方式中,第二通话管理模块42对指定卡信息进行不同的处理,若指定卡信息合法,则根据该指定卡信息查找对应的卡账户,并以此卡账户拨打电话。若指定卡信息非法,则使用默认卡或手机主卡拨打电话,其中为节省移动终端的电量消耗,现有移动终端通常只支持一路高等级接入模式。因此,即便移动终端中插入了多个能够支持不同接入模式的SIM卡,在同一时刻也只能有一个SIM卡工作在高等级接入模式,而其它SIM卡只能工作在低等级接入模式,工作在高等级接入模式的SIM卡通常被称为主卡,而工作在低等级接入模式的SIM卡则通常被称为副卡。在其中一种可能实现方式中,运营商为用户同时提供一张主卡与一张副卡,主副卡实现合帐缴费,并以主卡为缴费账户,则卡账户为缴费账户的用户卡为主卡。The first call management module 402 sends the designated card information, the phone number dialed by the user and the call status to the second Bluetooth module 401 . The second bluetooth module 401 sends the specified card information selected by the user to the first bluetooth module 41 based on the first communication connection, and the second bluetooth module 401 sends information such as the phone number dialed by the user and the call status to the first bluetooth module 41 based on the second communication connection The Bluetooth module 41 , the first Bluetooth module 41 sends the received designated card information, the phone number dialed by the user and the call status information to the second call management module 42 . Realize that the designated card designated by the user for the current call on the watch is sent to the mobile phone, so that the mobile phone uses the designated card to initiate a call request. The second call management module 42 is configured to initiate a call request according to the received designated card information. In one possible implementation manner, the second call management module 42 performs different processing on the designated card information, and if the designated card information is valid, searches for a corresponding card account according to the designated card information, and makes a call with this card account. If the specified card information is invalid, the default card or the main card of the mobile phone is used to make calls. In order to save the power consumption of the mobile terminal, the existing mobile terminal usually only supports one high-level access mode. Therefore, even if multiple SIM cards that can support different access modes are inserted into the mobile terminal, only one SIM card can work in the high-level access mode at the same time, while the other SIM cards can only work in the low-level access mode. Mode, the SIM card working in the high-level access mode is usually called the primary card, and the SIM card working in the low-level access mode is usually called the secondary card. In one of the possible implementations, the operator provides the user with a main card and a supplementary card at the same time, the main and supplementary cards are combined for payment, and the main card is used as the payment account, then the card account is the user card of the payment account main card.
示例地,手机的第二通话管理模块42得到指定卡信息为指定卡为卡1,拨打的电话号码为1340000000,则手机使用卡1拨打电话号码1340000000。For example, if the second call management module 42 of the mobile phone obtains the specified card information, the specified card is card 1, and the dialed phone number is 1340000000, then the mobile phone uses card 1 to dial phone number 1340000000.
在本申请实施例中,可以根据手机上是否存在该指定卡判断指定卡信息是否合法,若手机本地 上没有该指定卡,则该指定卡信息非法,反之则合法。还可以获取该指定卡信息对应的ICCID与当前手机上用户卡的ICCID,比较指定卡信息对应的ICCID是否和手机上任一用户卡的ICCID匹配,若匹配,则该指定卡信息合法,反之非法。In the embodiment of this application, it can be judged whether the designated card information is legal according to whether the designated card exists on the mobile phone, if the designated card is not locally on the mobile phone, the designated card information is illegal, otherwise it is legal. It is also possible to obtain the ICCID corresponding to the specified card information and the ICCID of the current user card on the mobile phone, and compare whether the ICCID corresponding to the specified card information matches the ICCID of any user card on the mobile phone. If they match, the specified card information is legal, otherwise illegal.
在本申请实施例中,基于手机和手表配对的软件(如华为穿戴),通过用于HFP的RFCOMM数据通道传输用户拨打的电话号码、通话状态等标准通话信息。借助手机和手表配对的软件(如华为穿戴),在手机和手表之间建立一条新的RFCOMM信令通道,通过该新的RFCOMM信令通道传输包括用户卡信息、指定卡信息的附加通话信息,以实现用户可以在手表上选择用于当前通话的用户卡,而无需在手机上进行选择操作,操作简便且效率高,提高用户的使用体验。In the embodiment of the present application, based on the software for pairing the mobile phone and the watch (such as Huawei Wear), the standard call information such as the phone number dialed by the user and the call status is transmitted through the RFCOMM data channel for HFP. With the help of the mobile phone and watch pairing software (such as Huawei Wear), a new RFCOMM signaling channel is established between the mobile phone and the watch, and additional call information including user card information and designated card information is transmitted through the new RFCOMM signaling channel. In order to realize that the user can select the user card used for the current call on the watch without having to select the operation on the mobile phone, the operation is simple and efficient, and the use experience of the user is improved.
实施例二 Embodiment 2
请参阅图4b,图4b为本申请实施例提供的另一通话系统结构示意图。实施例二与实施例一的区别在于手机上还包括第一通信模块43,手表上还包括第二通信模块404。卡管理模块40与第一通信模块43通信连接,而非与第一蓝牙模块41通信连接,卡管理模块40将手机上所安装的用户卡的用户卡信息发送给第一通信模块43,而非是发送给第一蓝牙模块41。第一通信模块43还与第二通话管理模块42连接,用于将指定卡信息等传输给第二通话管理模块42。第一通信模块41与第二通信模块404连接,将手机上安装的用户卡的用户卡信息或用户选择的指定卡信息传输给第二通信模块404。第二通信模块404与第一通话管理模块402连接,将指定卡信息传输给第二通信模块404。Please refer to FIG. 4b. FIG. 4b is a schematic structural diagram of another call system according to an embodiment of the present application. The difference between the second embodiment and the first embodiment is that the mobile phone further includes a first communication module 43 , and the watch further includes a second communication module 404 . The card management module 40 is communicatively connected to the first communication module 43 instead of the first Bluetooth module 41. The card management module 40 sends the user card information of the user card installed on the mobile phone to the first communication module 43 instead of the first communication module 41. is sent to the first Bluetooth module 41 . The first communication module 43 is also connected to the second call management module 42 for transmitting the designated card information and the like to the second call management module 42 . The first communication module 41 is connected to the second communication module 404 , and transmits the user card information of the user card installed on the mobile phone or the designated card information selected by the user to the second communication module 404 . The second communication module 404 is connected to the first call management module 402 and transmits the designated card information to the second communication module 404 .
其中,第一通信模块43用于在手机与手表之间建立通信连接并传输数据。所述第一通信模块43用于接收卡管理模块40传输的用户卡信息,并在第一通信模块43与第二通信模块404建立连接后,并将接收到的用户卡信息传输给第二通信模块404。第二通信模块404用于在手机与手表之间建立通信连接并传输数据,第一通信模块43与第二通信模块404建立连接后,第二通信模块404将接收到的所述手机上安装的用户卡的用户卡信息发送给第一通话管理模块402。第二通信模块404还用于从第一通话管理模块402处获得的指定卡信息发送给第一通信模块43。The first communication module 43 is used to establish a communication connection between the mobile phone and the watch and transmit data. The first communication module 43 is used to receive the user card information transmitted by the card management module 40, and after the first communication module 43 establishes a connection with the second communication module 404, and transmits the received user card information to the second communication module. Module 404. The second communication module 404 is used to establish a communication connection between the mobile phone and the watch and transmit data. After the first communication module 43 and the second communication module 404 are connected, the second communication module 404 will receive the received data installed on the mobile phone. The user card information of the user card is sent to the first call management module 402 . The second communication module 404 is further configured to send the designated card information obtained from the first call management module 402 to the first communication module 43 .
手机和手表之间可以基于第一通信连接和第二通信连接进行交互。第一蓝牙模块41与第二蓝牙模块401之间建立第二通信连接,该第二通信连接为蓝牙连接。第一通信模块43与第二通信模块404之间建立第一通信连接,该第一通信连接可以无线连接或有线连接,如可以为Wi-Fi连接。The mobile phone and the watch can interact based on the first communication connection and the second communication connection. A second communication connection is established between the first Bluetooth module 41 and the second Bluetooth module 401 , and the second communication connection is a Bluetooth connection. A first communication connection is established between the first communication module 43 and the second communication module 404, and the first communication connection may be a wireless connection or a wired connection, such as a Wi-Fi connection.
手机与手表基于第一蓝牙模块41与第二蓝牙模块401之间建立的第二通信连接,传输用户要拨打的电话号码、通话状态等标准通话信息。手机与手表基于第一通信模块43与第二通信模块404之间建立的第一通信连接,传输附加通话信息包括用户卡信息、指定卡信息等附加通话信息。Based on the second communication connection established between the first Bluetooth module 41 and the second Bluetooth module 401, the mobile phone and the watch transmit standard call information such as the phone number to be dialed by the user and the call status. Based on the first communication connection established between the first communication module 43 and the second communication module 404, the mobile phone and the watch transmit additional call information including user card information, designated card information and other additional call information.
在本申请实施例中,基于手机与手表位于同一网络,在手机和手表之间建立一条新通道,即建立第一通信连接。以第一通信连接为Wi-Fi连接为例,手表向手机发送连接请求(connection request),用于请求与手机建立Wi-Fi连接。手机接收到手表发送的连接请求后,可以返回连接响应(connection response)给手表。或,手机向手表发送连接请求(connection request),用于请求与手表建立Wi-Fi连接。手表接收到手机发送的连接请求后,可以返回连接响应(connection response)给手机。于是,手机与手表之间的Wi-Fi连接通道建立完成,即建立了第一通信连接,则手机与手表可以基于该第一通信连接传输数据。在本申请实施例中,手机与手表之间还可以建立一条Wi-Fi连接,通过该新的Wi-Fi连接通道传输包括用户卡信息、指定卡信息的附加通话信息,以实现用户可以在手表上可以选择用于当前通话的指定卡,而无需在手机上进行选择操作,操作简便且效率高,提高用户的使 用体验。In the embodiment of the present application, based on the fact that the mobile phone and the watch are located on the same network, a new channel is established between the mobile phone and the watch, that is, the first communication connection is established. Taking the Wi-Fi connection as the first communication connection as an example, the watch sends a connection request to the mobile phone for requesting to establish a Wi-Fi connection with the mobile phone. After the mobile phone receives the connection request sent by the watch, it can return a connection response to the watch. Or, the mobile phone sends a connection request to the watch to request to establish a Wi-Fi connection with the watch. After the watch receives the connection request sent by the mobile phone, it can return a connection response to the mobile phone. Thus, the establishment of the Wi-Fi connection channel between the mobile phone and the watch is completed, that is, the first communication connection is established, and the mobile phone and the watch can transmit data based on the first communication connection. In the embodiment of the present application, a Wi-Fi connection can also be established between the mobile phone and the watch, and additional call information including user card information and designated card information can be transmitted through the new Wi-Fi connection channel, so that the user can use the watch on the watch. The designated card used for the current call can be selected on the mobile phone without the need for selection operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
实施例三 Embodiment 3
请参阅图4c,图4c为本申请实施例提供的另一通话系统结构示意图。实施例三与实施例一的区别在手机与手表之间仅使用一蓝牙通道传输用户卡信息、指定卡信息以及用户拨打的电话号码、通话状态等信息。即,在手机与手表之间通过第一通信连接传输用户卡信息、指定卡信息等附加通话信息以及用户拨打的电话号码、通话状态等标准通话信息。Please refer to FIG. 4c. FIG. 4c is a schematic structural diagram of another communication system provided by an embodiment of the present application. The difference between the third embodiment and the first embodiment is that only one Bluetooth channel is used between the mobile phone and the watch to transmit information such as user card information, designated card information, phone number dialed by the user, call status and other information. That is, additional call information such as user card information and designated card information, and standard call information such as the phone number dialed by the user and the call status are transmitted between the mobile phone and the watch through the first communication connection.
在本申请实施例中,可以通过修改HFP协议,使得手机与手表基于HFP的RFCOMM数据通道,不但能传输用户拨打的电话号码、通话状态等标准通话信息,还能传输附加通话信息包括用户卡信息、指定卡信息、与所述用户卡对应的通讯录、号码归属地、来电号码的标记信息、通话时间和通话类型等附加通话信息。In the embodiment of the present application, by modifying the HFP protocol, the mobile phone and the watch can transmit not only standard call information such as the phone number dialed by the user, call status, etc., but also additional call information, including user card information, based on the HFP RFCOMM data channel. , designated card information, address book corresponding to the user card, number attribution, marking information of incoming call number, call time and call type and other additional call information.
具体地,使得第一通话管理模块402与第二蓝牙模块401之间可以传输用户拨打的电话号码、通话状态等标准信息,还可以传输用户卡信息以及指定卡信息。且使得所述第一蓝牙模块41与第二蓝牙模块401之间可以传输用户拨打的电话号码、通话状态等标准信息,还可以传输用户卡信息以及指定卡信息。第二通话管理模块42与第一蓝牙模块41之间可以传输用户拨打的电话号码、通话状态等标准通话信息,还可以传输用户卡信息以及指定卡信息。Specifically, the first call management module 402 and the second Bluetooth module 401 can transmit standard information such as the phone number dialed by the user, call status, etc., as well as user card information and designated card information. In addition, the first Bluetooth module 41 and the second Bluetooth module 401 can transmit standard information such as the phone number dialed by the user, call status, etc., as well as user card information and designated card information. The second call management module 42 and the first Bluetooth module 41 can transmit standard call information such as the phone number dialed by the user, call status, etc., as well as user card information and designated card information.
请一并参阅图5a,图5a为本申请实施例提供蓝牙模块之间的指令交互流程示意图。用户在手表上拨打电话,则手表接收到拨号命令,则向手机发送ATD13111110000指令,即告知手机拨打电话号码“13111110000”,手机使用默认卡或手机主卡拨打电话号码“13111110000”后,向手机返回OK,即拨打成功。手机向手表返回“+CIEV:(callsetup=2)”,向手表上报事件,告知手表当前通话建立,通话状态是拨号状态。Please also refer to FIG. 5a. FIG. 5a provides a schematic diagram of an instruction interaction flow between Bluetooth modules according to an embodiment of the present application. When the user makes a call on the watch, the watch receives the dialing command, and sends the ATD13111110000 command to the mobile phone, which tells the mobile phone to dial the phone number "13111110000". OK, the call is successful. The mobile phone returns "+CIEV: (callsetup=2)" to the watch, reports the event to the watch, and informs the watch that the current call is established, and the call state is the dialing state.
在本申请实施例,通过修改HFP协议,可以新增指令,以在手机与手表之间传输附加通话信息。请一并参阅图5b,图5b与图5a的区别在于,手表接收用户选择的指定卡,手表在向手机发送ATD13111110000指令时,还发送“AT+CALLSLOT:slot1_index=1”,即手表传输用户选择的指定卡信息,指示手机使用卡1拨打电话,手机则使用卡1拨打电话号码“13111110000”。In the embodiment of the present application, by modifying the HFP protocol, an instruction can be added to transmit additional call information between the mobile phone and the watch. Please refer to Figure 5b together. The difference between Figure 5b and Figure 5a is that the watch receives the designated card selected by the user, and when the watch sends the ATD13111110000 command to the mobile phone, it also sends "AT+CALLSLOT: slot1_index=1", that is, the watch transmits the user's selection. The specified card information, instructs the mobile phone to use card 1 to make calls, and the mobile phone uses card 1 to dial the phone number "13111110000".
在本申请实施例中,第一通话管理模块402和第二蓝牙模块401之间的接口增加一新的参数用来传递用户卡信息和指定卡信息。同理,第二通话管理模块42与第一蓝牙模块41之间的接口增加一新的参数用来传递用户卡信息和指定卡信息。第一蓝牙模块41与第二蓝牙模块401之间在基于HFP的RFCOMM数据通道传递附加通话信息时,新增AT指令,如CALLSLOT,用来传递附加通话信息,包括用户卡信息、指定卡信息、与所述用户卡对应的通讯录、号码归属地、来电号码的标记信息、通话时间和通话类型等。手机蓝牙协议栈收到CALLSLOT指令后,解析出其中的指定卡信息,上传给第一蓝牙模块41,第一蓝牙模块41将指定卡信息封装至原有的蓝牙通话对象中,上传给第二通话管理模块42。第二通话管理模块42接收到的拨打电话请求里除了基本通话标准数据信息(拨打的电话号码、通话状态)之外也还包含了指定卡信息,因此第二通话管理模块42可以根据指定卡信息选择对应的卡账户拨打电话。In this embodiment of the present application, a new parameter is added to the interface between the first call management module 402 and the second Bluetooth module 401 to transmit user card information and designated card information. Similarly, a new parameter is added to the interface between the second call management module 42 and the first Bluetooth module 41 to transmit user card information and designated card information. When the additional call information is transmitted between the first Bluetooth module 41 and the second Bluetooth module 401 based on the RFCOMM data channel of HFP, an AT command, such as CALLSLOT, is added to transmit the additional call information, including user card information, designated card information, The address book corresponding to the user card, the number attribution, the marking information of the incoming call number, the call time and the call type, etc. After the mobile phone Bluetooth protocol stack receives the CALLSLOT instruction, it parses out the specified card information and uploads it to the first Bluetooth module 41. The first Bluetooth module 41 encapsulates the specified card information into the original Bluetooth call object and uploads it to the second call Management module 42 . In addition to the basic call standard data information (dialed phone number, call status), the call request received by the second call management module 42 also includes the designated card information. Therefore, the second call management module 42 can use the designated card information according to the information of the designated card. Select the corresponding card account to make a call.
在本申请实施例中,如需新增传输的数据类型,比如传递当前通话是运营商通话还是VOIP通话,还需要另外增加AT指令,本申请对此不做具体限定。In this embodiment of the present application, if a new type of data to be transmitted needs to be added, such as whether the current call is an operator call or a VOIP call, an AT command needs to be added, which is not specifically limited in this application.
在本申请实施例中,通过修改HFP协议,可以基于第一蓝牙模块41与第二蓝牙模块401直接传输通话标准信息和额外的附加通话信息,如用户卡信息、指定卡信息、与所述用户卡对应的通讯 录、号码归属地、来电号码的标记信息、通话时间和通话类型等。手机可以同时接收到上述信息,实现用户可以在手表上可以选择用于当前通话的用户卡,而无需在手机上进行选择操作,操作简便且效率高,提高用户的使用体验。In the embodiment of the present application, by modifying the HFP protocol, call standard information and additional additional call information, such as user card information, designated card information, and the user The address book corresponding to the card, the number attribution, the marking information of the caller number, the call time and the call type, etc. The mobile phone can receive the above information at the same time, so that the user can select the user card used for the current call on the watch without having to select the operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
接下来对本申请实施例提供的通话方法进行介绍。Next, the calling method provided by the embodiment of the present application will be introduced.
本申请中使用了流程图用来说明根据本申请的实施例的装置所执行的操作。应当理解的是,前面或下面操作不一定按照顺序来精确地执行。相反,根据需要,可以按照倒序或同时处理各种步骤。同时,也可以将其他操作添加到这些过程中,或从这些过程移除某一步或数步操作。Flowcharts are used in this application to illustrate operations performed by an apparatus according to an embodiment of the application. It should be understood that the preceding or following operations are not necessarily performed in exact order. Rather, the various steps may be processed in reverse order or concurrently, as desired. At the same time, other actions can be added to these procedures, or a step or steps can be removed from these procedures.
实施例四 Embodiment 4
请一并参阅图6,图6为本申请实施例提供的一种通话方法流程示意图。Please refer to FIG. 6 together. FIG. 6 is a schematic flowchart of a calling method provided by an embodiment of the present application.
步骤S601:基于第一电子设备与第二电子设备间的第一通信连接,第二电子设备向第一电子设备发送附加通话信息。Step S601: Based on the first communication connection between the first electronic device and the second electronic device, the second electronic device sends additional call information to the first electronic device.
在本申请实施例中,所述第一电子设备与所述第二电子设备进行蓝牙配对连接,由此所述第一电子设备可以调用第二电子设备的通话能力发起通话。以第一电子设备为华为手表,第二电子设备为华为手机进行举例说明,华为手表开机后,华为手表上提示用户使用Android Wear(华为穿戴)与手机配对,用户根据提示在手机上下载安装Android Wear app,用户打开华为手机上下载的Android Wear app(华为穿戴),手机上会提示用户进行配对,用户根据提示配对成功后,则用户可以使用华为手表调用华为手机通话功能。In the embodiment of the present application, the first electronic device and the second electronic device perform a Bluetooth pairing connection, whereby the first electronic device can invoke the call capability of the second electronic device to initiate a call. Take a Huawei watch as the first electronic device and a Huawei mobile phone as the second electronic device. After the Huawei watch is turned on, the Huawei watch prompts the user to use Android Wear (Huawei wear) to pair with the mobile phone, and the user downloads and installs Android on the mobile phone according to the prompt. Wear app, the user opens the Android Wear app (Huawei Wear) downloaded on the Huawei mobile phone, and the mobile phone will prompt the user to pair it. After the user has successfully paired according to the prompt, the user can use the Huawei watch to call the Huawei mobile phone call function.
在本申请实施例中,第一电子设备与第二电子设备之间建立第一通信连接,该第一通信连接可以为蓝牙连接还可以为Wi-Fi连接,请一并参阅图4a至图4c,可以以图4a至图4c中任一种方式建立第一通信连接,本申请对此不做具体限定。基于该第一通信连接,第二电子设备可以向第一电子设备发送附加通话信息,其中所述附加通话信息包括第一用户卡信息和第二用户卡信息,其中,所述第一用户卡信息为所述第二电子设备中安装的第一用户卡的信息,所述第二用户卡信息为所述第二电子设备中安装的第二用户卡的信息。示例性地,,第二电子设备中所安装的用户卡可以包括卡1和卡2,则附加通话信息中的第一用户卡信息包括可以包括如下信息中的一种或多种:卡1、卡1的电话号码、归属的运营商、ICCID或IMSI。附加通话信息中的第二用户卡信息包括可以包括如下信息中的一种或多种:卡2、卡2的电话号码、归属的运营商、ICCID或IMSI。如卡1的电话号码为151XXXXXXXX,卡1为中国移动卡,卡2的电话号码为186XXXXXXXX,卡2为中国联通卡。In this embodiment of the present application, a first communication connection is established between the first electronic device and the second electronic device. The first communication connection may be a Bluetooth connection or a Wi-Fi connection. Please refer to FIGS. 4a to 4c together. , the first communication connection may be established in any of the manners shown in FIG. 4a to FIG. 4c , which is not specifically limited in this application. Based on the first communication connection, the second electronic device may send additional call information to the first electronic device, wherein the additional call information includes first user card information and second user card information, wherein the first user card information is the information of the first user card installed in the second electronic device, and the second user card information is the information of the second user card installed in the second electronic device. Exemplarily, the user card installed in the second electronic device may include card 1 and card 2, and the first user card information in the additional call information may include one or more of the following information: card 1, Card 1's phone number, home carrier, ICCID or IMSI. The second user card information in the additional call information may include one or more of the following information: card 2, phone number of card 2, home operator, ICCID or IMSI. For example, the phone number of card 1 is 151XXXXXXXX, card 1 is China Mobile card, the phone number of card 2 is 186XXXXXXXX, and card 2 is China Unicom card.
在其中一种可能实现方式中,所述附加通话信息还可以包括与所述用户卡对应的信息,如通讯录、号码归属地、来电号码的标记信息、通话时间和通话类型等。In one of the possible implementations, the additional call information may further include information corresponding to the user card, such as address book, number attribution, caller number marking information, call time and call type, and the like.
所述用户卡对应的信息即对应该用户卡所存储的与该用户卡相关的信息。其中,通讯录即用户卡上的通信录,可以包括在一个对象名下,对应存储的座机、手机、宅电、单位、传真、地址、电子邮件或号码归属地信息等多项内容。其中,来电号码的标记信息即用户接收到的该来电的电话号码被用户或其他用户所标记的信息,如用户或其他用户可以标记某一号码为“快递送餐”,在接收到该号码来电时,显示该号码对应的标记信息“快递送餐”。其中,通话时间即该用户卡对应的通话记录,包括通话的联系人,与该联系人的通话时长。其中,通话类型可以包括运营商语音通话类型或VOIP语音通话类型,运营商语音通话类型是通过电信运营商的传统电话网络进行传输的通话。VOIP语音通话类型是经由互联网进行传输的基于IP(互联网协议)的语音传输。The information corresponding to the user card is the information related to the user card stored in the corresponding user card. Among them, the address book is the address book on the user card, which can include a number of contents such as landline phone, mobile phone, house electricity, work unit, fax, address, email or number attribution information stored under one object name. Among them, the marking information of the incoming call number is the information that the telephone number of the incoming call received by the user is marked by the user or other users. When the number is displayed, the marked information "Express Delivery" corresponding to the number is displayed. Wherein, the call duration is the call record corresponding to the user card, including the contact of the call and the duration of the call with the contact. The call type may include a carrier voice call type or a VOIP voice call type, and the carrier voice call type is a call transmitted through a traditional telephone network of a telecom operator. The VOIP voice call type is the transmission of voice over IP (Internet Protocol) over the Internet.
示例性地,第二电子设备上包括两张用户卡,分别为中国移动卡和中国联通卡,如中国移动卡包括的通讯录有张三和李四,张三的归属地为北京,李四的归属地为深圳,来电号码的标记信息可以为张三的号码被标记送餐快递等,与张三的通话时间为3分钟,与李四的通话时间为4分钟。与张三的通话类型为运营商语音通话,与李四的通话类型为VOIP语音通话。如中国联通卡包括的联系人有小红和小白,小红的归属地为广州,小白的归属地为上海,来电号码的标记信息可以为小白的号码被标记送餐快递等,与小红的通话时间为2分钟,与李四的通话时间为3分钟。与小红的通话类型为运营商语音通话,与小白的通话类型为VOIP语音通话。Exemplarily, the second electronic device includes two user cards, which are China Mobile cards and China Unicom cards respectively. For example, the address book included in the China Mobile card includes Zhang San and Li Si. Zhang San's hometown is Beijing and Li Si. The place of attribution is Shenzhen, and the marking information of the caller number can be that Zhang San's number is marked for food delivery, etc. The call time with Zhang San is 3 minutes, and the call time with Li Si is 4 minutes. The call type with Zhang San is the operator's voice call, and the call type with Li Si is the VOIP voice call. For example, the contacts included in the China Unicom card include Xiaohong and Xiaobai, Xiaohong's hometown is Guangzhou, Xiaobai's hometown is Shanghai, and the marking information of the caller number can be that Xiaobai's number is marked for food delivery and express delivery, etc. Xiaohong's talk time is 2 minutes, and the talk time with Li Si is 3 minutes. The call type with Xiaohong is the operator's voice call, and the call type with Xiaobai is the VOIP voice call.
在本申请实施例中,所述用户卡用于在电子设备与网络建立通信连接之后,可以为电子设备提供服务。如电子设备在插入用户卡后,通过该用户卡可以接入GSM网络,进而可以享受网络运营者提供的各种服务。或,电子设备在插入用户卡后,通过该用户卡可以接入互联网,进而可以享受基于互联网提供的各种服务。所述用户卡可以包括以下中的一种或多种:用户身份识别卡(Subscriber Identity Module,SIM)、全球用户识别卡(Universal Subscriber Identity Module,USIM)、用户识别卡(User Identity Module,UIM)和数据卡。其中用户身份识别卡包括标准卡、Micro SIM、Nano SIM、eSIM卡等。本申请对卡的种类不做具体限定。其中,数据卡可以通过有线方式或无线方式与电子设备连接,在电子设备与通信网络之间建立通信连接,为电子设备提供数据业务。In this embodiment of the present application, the user card is used to provide services for the electronic device after the electronic device establishes a communication connection with the network. For example, after the user card is inserted into the electronic device, the user card can be used to access the GSM network, and then various services provided by the network operator can be enjoyed. Or, after the user card is inserted into the electronic device, the user card can be used to access the Internet, and then various services provided based on the Internet can be enjoyed. The subscriber card may include one or more of the following: Subscriber Identity Module (SIM), Universal Subscriber Identity Module (USIM), User Identity Module (UIM) and data card. Among them, the user identification card includes standard card, Micro SIM, Nano SIM, eSIM card, etc. This application does not specifically limit the types of cards. Wherein, the data card can be connected with the electronic device in a wired or wireless manner, establishes a communication connection between the electronic device and a communication network, and provides data services for the electronic device.
在本申请实施例中,第二电子设备向第一电子设备发送附加通话信息的情形可以包括但不限如下:In this embodiment of the present application, the situation in which the second electronic device sends additional call information to the first electronic device may include, but is not limited to, the following:
情形一:当第二电子设备检测到第一电子设备与第二电子设备间的通信连接建立完成时,基于第一电子设备与第二电子设备间的通信连接,第二电子设备向第一电子设备传输附加通话信息。即,第一电子设备与第二电子设备一旦建立通信连接,第二电子设备就向第一电子设备传输附加通话信息。Scenario 1: When the second electronic device detects that the communication connection between the first electronic device and the second electronic device is established, based on the communication connection between the first electronic device and the second electronic device, the second electronic device sends the first electronic device to the first electronic device. The device transmits additional call information. That is, once a communication connection is established between the first electronic device and the second electronic device, the second electronic device transmits additional call information to the first electronic device.
情形二:当第二电子设备检测到第二电子设备中安装的用户卡的用户卡信息更新时,第二电子设备根据更新后的用户卡信息向第一电子设备传输附加通话信息,该附加通话信息可以包括更新后的第一用户卡信息和/或更新后的第二用户卡信息。其中,第二电子设备检测到第二电子设备中安装的用户卡的用户卡信息更新,即检测到第二电子设备上安装的用户卡中任一张用户卡发生变化,则获取第二电子设备上用户卡的状态变化信息,即获取第二电子设备中安装的用户卡更新后的信息。示例性地,手机的卡槽1安装ICCID为A的第一用户卡,卡槽2上安装ICCID为B的第二用户卡,将第一用户卡取出,换上另一张ICCID为C的用户卡,此可手机检测到其上所安装的用户卡的用户卡信息更新,手机就将更新后的用户卡信息发送给手表,则手机传输给手表的附加通话信息包括如下:卡1为ICCID为A的用户卡,卡2为ICCID为B的用户卡。Scenario 2: When the second electronic device detects that the user card information of the user card installed in the second electronic device is updated, the second electronic device transmits additional call information to the first electronic device according to the updated user card information, and the additional call The information may include updated first user card information and/or updated second user card information. The second electronic device detects that the user card information of the user card installed in the second electronic device is updated, that is, detects that any one of the user cards installed on the second electronic device has changed, and then obtains the second electronic device. The state change information of the user card on the user card, that is, the updated information of the user card installed in the second electronic device is obtained. Exemplarily, a first user card with an ICCID of A is installed in the card slot 1 of the mobile phone, a second user card with an ICCID of B is installed in the card slot 2, the first user card is taken out, and another user card with an ICCID of C is replaced. Card, the mobile phone can detect the update of the user card information of the user card installed on it, and the mobile phone will send the updated user card information to the watch, and the additional call information transmitted by the mobile phone to the watch includes the following: Card 1 is the ICCID of User card of A, card 2 is the user card of ICCID B.
情形三:基于第一电子设备与第二电子设备间的通信连接,在检测到第一电子设备与第二电子设备间的通信连接建立完成时,第一电子设备向第二电子设备请求第二电子设备中安装的用户卡的用户卡信息。即,第一电子设备与第二电子设备一旦建立通信连接,第一电子设备就主动向第二电子设备发送请求,以请求第二电子设备中安装的用户卡的用户卡信息。Scenario 3: Based on the communication connection between the first electronic device and the second electronic device, when it is detected that the establishment of the communication connection between the first electronic device and the second electronic device is completed, the first electronic device requests the second electronic device for a second User card information of the user card installed in the electronic device. That is, once a communication connection is established between the first electronic device and the second electronic device, the first electronic device actively sends a request to the second electronic device to request user card information of the user card installed in the second electronic device.
情形四:基于第一电子设备与第二电子设备间的通信连接,第一电子设备在检测到用于输入拨号号码的拨号操作时,第一电子设备向第二电子设备请求第二电子设备中安装的用户卡的用户卡信息。即,第一电子设备检测到用户输入要拨打的电话号码,第一电子设备就主动向第二电子设备发送请求,以请求第二电子设备中安装的用户卡的用户卡信息。Scenario 4: Based on the communication connection between the first electronic device and the second electronic device, when the first electronic device detects a dialing operation for inputting a dialed number, the first electronic device requests the second electronic device for the second electronic device. User card information of the installed user card. That is, when the first electronic device detects that the user inputs the phone number to be dialed, the first electronic device actively sends a request to the second electronic device to request the user card information of the user card installed in the second electronic device.
情形五:用户在想要拨打电话时,也可以主动触发第一电子设备向第二电子设备请求用户卡信息,例如,用户可以点击拨号键,以触发第一电子设备向第二电子设备请求用户卡信息;即,第一电子设备响应于用户的触发操作,向第二电子设备请求用户卡信息。Scenario 5: When the user wants to make a call, he can also actively trigger the first electronic device to request user card information from the second electronic device. For example, the user can click the dial button to trigger the first electronic device to request the user card from the second electronic device. Card information; that is, the first electronic device requests user card information from the second electronic device in response to a user's trigger operation.
可以理解,第一电子设备可以主动向第二电子设备请求附加通话信息,第一电子设备也可以接收第二电子设备主动发送的附加通话信息,该附加通话信息的具体信息可以根据实际需要确定,如可以为通话类型等,本申请对此不作具体限定。It can be understood that the first electronic device can actively request additional call information from the second electronic device, and the first electronic device can also receive additional call information actively sent by the second electronic device. The specific information of the additional call information can be determined according to actual needs, For example, it may be a call type, etc., which is not specifically limited in this application.
步骤S602:第一电子设备呈现所述第一用户卡信息和所述第二用户卡信息。Step S602: The first electronic device presents the first user card information and the second user card information.
在本申请实施例中,第一电子设备接收到附加通话信息后,可以呈现该附加通话信息,附加通话信息包括第二电子设备上安装的用户卡的用户卡信息、与用户卡对应的通讯录、号码归属地、来电号码的标记信息、通话时间和通话类型等。In the embodiment of the present application, after receiving the additional call information, the first electronic device may present the additional call information, and the additional call information includes the user card information of the user card installed on the second electronic device, and the address book corresponding to the user card. , number attribution, caller number tag information, call time and call type, etc.
在本申请实施例中,第二电子设备上安装第一用户卡和第二用户卡,附加通话信息包括第一用户卡信息和第二用户卡信息,则第一电子设备呈现第一用户卡信息和第二用户卡信息,其中第一用户卡的用户卡信息包括但不限于此:第一用户卡的号码、第一用户卡的用户卡类型、第一用户卡的卡号信息、第一用户卡上的通讯录或第一用户卡上的短信等。其中第二用户卡的用户卡信息包括但不限于此:第二用户卡的号码、第二用户卡的用户卡类型、第二用户卡的卡号信息、第二用户卡上的通讯录或第二用户卡上的短信等。In the embodiment of the present application, the first user card and the second user card are installed on the second electronic device, and the additional call information includes the first user card information and the second user card information, and the first electronic device presents the first user card information and second user card information, wherein the user card information of the first user card includes but is not limited to: the number of the first user card, the user card type of the first user card, the card number information of the first user card, the first user card The address book on the first user card or the text message on the first user card, etc. The user card information of the second user card includes but is not limited to: the number of the second user card, the user card type of the second user card, the card number information of the second user card, the address book on the second user card or the second user card. SMS on the user card, etc.
在本申请实施例中,呈现所述第一用户卡信息和所述第二用户卡信息包括:获取所述附加通话信息中的所述第一用户卡信息和所述第二用户卡信息;在所述第一电子设备的拨号界面上分别呈现与所述第一用户卡信息和所述第二用户卡信息对应的用户卡选项,以供用户选择用于当前通话的指定卡。In this embodiment of the present application, presenting the first user card information and the second user card information includes: acquiring the first user card information and the second user card information in the additional call information; User card options corresponding to the first user card information and the second user card information are respectively presented on the dialing interface of the first electronic device, so that the user can select a designated card for the current call.
具体地,第一电子设备获取附加通话信息中的第二电子设备上安装的用户卡的用户卡信息,包括第一用户卡信息和第二用户卡信息,然后在拨号界面上呈现与用户卡信息对应的用户卡选项,包括第一用户卡对应的用户卡选项和第二用户卡对应的用户卡选项,以供用户选择用于当前通话的指定卡。即第一电子设备接收到附加通话信息后,根据附加通话信息中的第二电子设备所安装的用户卡的用户卡信息刷新拨号界面,即根据第一用户卡信息和第二用户卡信息分别刷新拨号界面中的用户卡选项,以此实现当前拨号界面中的用户卡选项可以对应到第二电子设备上所安装的用户卡。如第二电子设备包括第一用户卡和第二用户卡,第一用户卡为卡1中国移动卡,第二用户卡为卡2中国联通卡,则第一电子设备呈现第一用户卡信息和第二用户卡信息,可以为在拨号界面上分别呈现第一用户卡和第二用户卡对应的用户卡选项,即拨号界面中的用户卡选项就包括卡1中国移动卡选项和卡2中国联通卡选项。Specifically, the first electronic device obtains the user card information of the user card installed on the second electronic device in the additional call information, including the first user card information and the second user card information, and then presents the user card information on the dialing interface. The corresponding user card options include a user card option corresponding to the first user card and a user card option corresponding to the second user card, for the user to select a designated card for the current call. That is, after receiving the additional call information, the first electronic device refreshes the dialing interface according to the user card information of the user card installed in the second electronic device in the additional call information, that is, refreshes the dialing interface according to the first user card information and the second user card information respectively. The user card option in the dialing interface, so that the user card option in the current dialing interface can correspond to the user card installed on the second electronic device. If the second electronic device includes a first user card and a second user card, the first user card is the card 1 China Mobile card, and the second user card is the card 2 China Unicom card, then the first electronic device presents the first user card information and The second user card information can be the user card options corresponding to the first user card and the second user card respectively presented on the dialing interface, that is, the user card options in the dialing interface include card 1 China Mobile card option and card 2 China Unicom card options.
本申请中用户卡选项可以显示在多种场景下,在这些场景下第一电子设备(即手表)所呈现的界面均为拨号界面。用户为了拨打电话,需要进行一系列操作,这些操作所涉及的界面都可以称为拨号界面。In this application, the user card option can be displayed in various scenarios, and in these scenarios, the interface presented by the first electronic device (ie, the watch) is a dialing interface. In order to make a call, a user needs to perform a series of operations, and the interfaces involved in these operations can be called dialing interfaces.
具体地,用户想要使用智能手表拨打电话,请一并参阅图7a至图7c,可以通过图7a至图7c所示的下方式进入拨号界面。Specifically, if the user wants to use the smart watch to make a call, please refer to FIGS. 7 a to 7 c together, and the dialing interface can be entered in the following manner as shown in FIGS. 7 a to 7 c .
第一种方式:用户打开手表中的通信录如图7a所示,在通讯录中记录各个联系人的名称,用户在通讯录中选择想要联系的通话对象,即向手表输入拨号操作,在选择后即可进入拨号界面,在拨号界面中呈现第一用户卡信息和第二用户卡信息。示例性地,如图7a所示,用户点击通讯录的 联系人“露西”,即选择了此次通话的通话对象。在选择之后进入拨号界面如图8a所示,拨号界面上呈现通话对象的名称“露西”,和其对应的电话号码“131XXXXXXXX”,还可以呈现该电话号码“131XXXXXXXX”的归属地和运营商,并根据接收到的第一用户卡信息和第二用户卡信息呈现相应第二电子设备上所安装的用户卡的用户卡选项,第二电子设备上包括卡1中国移动卡和卡2中国联通卡,则在拨号界面上还呈现卡1中国移动卡选项和卡2中国联通卡选项。The first way: the user opens the address book in the watch, as shown in Figure 7a, records the names of each contact in the address book, the user selects the call object to be contacted in the address book, that is, enters the dial operation into the watch, After selection, the dialing interface can be entered, and the first user card information and the second user card information are displayed in the dialing interface. Exemplarily, as shown in Fig. 7a, the user clicks the contact "Lucy" in the address book, that is, the call object of this call is selected. After selecting, enter the dialing interface as shown in Figure 8a, the dialing interface presents the name of the caller "Lucy", and its corresponding phone number "131XXXXXXXX", and also presents the attribution and operator of the phone number "131XXXXXXXX" , and presents the user card options of the user card installed on the corresponding second electronic device according to the received first user card information and second user card information, the second electronic device includes card 1 China Mobile card and card 2 China Unicom card, the card 1 China Mobile card option and the card 2 China Unicom card option are also presented on the dial-up interface.
第二种方式:用户打开手表通话记录如图7b所示,在通话记录中记录各个曾经联系过的联系人的名称,用户在通话记录中选择想要联系的通话对象,即向手表输入拨号操作,在选择后即可进入拨号界面,在拨号界面中呈现第一用户卡信息和第二用户卡信息。示例性地,如图7b所示,用户点击通话记录的联系人“杰克”,即选择了此次通话的通话对象。在选择之后进入拨号界面如图8b所示,拨号界面上呈现通话对象的名称“杰克”,和其对应的电话号码“181XXXXXXXX”,还可以呈现该电话号码“181XXXXXXXX”的归属地和运营商,并根据接收到的第一用户卡信息和第二用户卡信息呈现相应第二电子设备上所安装的用户卡的用户卡选项,第二电子设备上包括卡1中国移动卡和卡2中国联通卡,则在拨号界面上还呈现卡1中国移动卡选项和卡2中国联通卡选项。The second way: the user opens the call record of the watch as shown in Figure 7b, records the names of the contacts who have been in contact in the call record, the user selects the call object to be contacted in the call record, that is, the dial operation is input to the watch , the dialing interface can be entered after selection, and the first user card information and the second user card information are presented in the dialing interface. Exemplarily, as shown in Fig. 7b, the user clicks the contact "Jack" of the call record, that is, the call object of the call is selected. After selecting, enter the dialing interface as shown in Figure 8b, the dialing interface presents the name of the call object "Jack", and its corresponding phone number "181XXXXXXXX", and can also present the attribution and operator of the phone number "181XXXXXXXX", And according to the received first user card information and the second user card information, the user card option of the user card installed on the corresponding second electronic device is presented, and the second electronic device includes card 1 China Mobile card and card 2 China Unicom card , the card 1 China Mobile card option and the card 2 China Unicom card option are also presented on the dialing interface.
第三种方式,用户打开手表的拨号盘如图7c所示,在拨号盘上输入想要联系对象的电话号码,在输入电话号码之后点击拨号按钮,即向手表输入拨号操作,即可进入拨号界面,在拨号界面中呈现第一用户卡信息和第二用户卡信息。示例性地,如图7c所示,用户在拨号盘上输入电话号码“12345”,选择了此次通话的通话对象。在选择之后进入拨号界面如图8c所示,拨号界面上呈现要呼叫的对象的电话号码“12345”,并根据接收到的第一用户卡信息和第二用户卡信息呈现相应第二电子设备上所安装的用户卡的用户卡选项,第二电子设备上包括卡1中国移动卡和卡2中国联通卡,则在拨号界面上还呈现卡1中国移动卡选项和卡2中国联通卡选项。In the third method, the user opens the dial pad of the watch, as shown in Figure 7c, enters the phone number of the person to be contacted on the dial pad, and clicks the dial button after entering the phone number, that is, the dial operation is input to the watch, and the dialing is entered. interface, in which the first user card information and the second user card information are presented in the dialing interface. Exemplarily, as shown in Fig. 7c, the user inputs the phone number "12345" on the dial pad, and selects the call object of the call. After selecting, enter the dialing interface as shown in Figure 8c, the dialing interface presents the phone number "12345" of the object to be called, and presents on the corresponding second electronic device according to the received first user card information and second user card information For the user card options of the installed user card, the second electronic device includes the card 1 China Mobile card and the card 2 China Unicom card, and the card 1 China Mobile card option and the card 2 China Unicom card option are also displayed on the dialing interface.
在其中一种可能实现方式中,在用户配置了默认卡,则拨号界面上可以呈现默认卡选项,该默认卡选项可以展示默认卡,用户可以直接选择默认卡进行拨打。拨号界面上还可以呈现更多选项,点击更多选项后,可以呈现相应第二电子设备上所安装的用户卡的用户卡选项。如以用户输入电话号码“12345”,请一并参阅图8d,在拨号界面上呈现默认卡选项,如默认卡为中国移动卡,则该默认卡选项展示默认卡为中国移动卡,拨号界面上还有很多选项,点击更多选项后,拨号界面的呈现如图8c所示,即用户可以在图8c中选择使用卡1或卡2进行拨打,用户可以无需根据默认卡拨打电话,可以有更多的选择,根据自己的需求选择用户当前通话的指定卡。In one possible implementation manner, after the user configures a default card, a default card option can be displayed on the dialing interface, and the default card option can display the default card, and the user can directly select the default card to dial. More options may also be presented on the dialing interface, and after clicking more options, user card options of the user card installed on the corresponding second electronic device may be presented. For example, if the user enters the phone number "12345", please refer to Figure 8d together, and the default card option will be displayed on the dialing interface. If the default card is China Mobile card, the default card option will display the default card as China Mobile card. There are still many options. After clicking more options, the dialing interface will appear as shown in Figure 8c, that is, the user can choose to use card 1 or card 2 to dial in Figure 8c, and the user can make calls without using the default card. There are many choices, and you can choose the designated card for the current call of the user according to your own needs.
步骤S603:第一电子设备接收对所述第一用户卡信息或所述第二用户卡信息的第一操作。Step S603: The first electronic device receives a first operation on the first user card information or the second user card information.
在本申请实施例中,用户对第一电子设备上所呈现的第一用户卡信息和第二用户卡信息进行选择,选择第一用户卡信息或选择第二用户卡信息,即用户向第一电子设备输入了第一操作,第一电子设备接收用户对第一用户卡信息或第二用户卡信息的第一操作。In the embodiment of the present application, the user selects the first user card information and the second user card information displayed on the first electronic device, selects the first user card information or selects the second user card information, that is, the user sends the first user card information to the first user card information and the second user card information. The electronic device inputs the first operation, and the first electronic device receives the user's first operation on the first user card information or the second user card information.
具体地,用户点击拨号界面上所呈现的用户卡选项,即用户输入第一操作,第一电子设备接收用户对拨号界面上用户卡选项的触发。以拨号界面如图9(1)(同图8a)或者图10(1)(同图8b)或者图11(同图8c)所示,手表的表盘上呈现卡1中国移动卡选项和卡2中国联通卡选项,其中卡1为归属于广东深圳的中国移动卡151XXXXXXXX,卡2为归属于广东广州的中国联通卡186XXXXXXXX;用户点击卡1中国移动卡选项或点击卡2中国联通卡选项,则用户向第一电子设备输入第一操作。如图9(1)所示,用户点击卡1中国移动卡选项,手表可以接收用户对卡1中国移动卡的第一操作。如图10(1)所示,用户点击卡2中国联通卡选项,手表可以接收用户对 卡2中国联通卡的第一操作。如图11(1)所示,用户点击卡1中国移动卡选项,手表可以接收用户对卡1中国移动卡的第一操作。Specifically, the user clicks the user card option presented on the dialing interface, that is, the user inputs the first operation, and the first electronic device receives the user's triggering of the user card option on the dialing interface. With the dial interface as shown in Figure 9(1) (same as Figure 8a) or Figure 10(1) (same as Figure 8b) or Figure 11 (same as Figure 8c), the dial of the watch presents card 1 China Mobile card options and card 2 China Unicom card options, in which card 1 is the China Mobile card 151XXXXXXXX belonging to Shenzhen, Guangdong, and card 2 is the China Unicom card 186XXXXXXXX belonging to Guangzhou, Guangdong; the user clicks the card 1 China Mobile card option or clicks the card 2 China Unicom card option, then The user inputs a first operation to the first electronic device. As shown in Figure 9(1), the user clicks the China Mobile card option of card 1, and the watch can receive the user's first operation on the China Mobile card of card 1. As shown in Figure 10 (1), the user clicks the card 2 China Unicom card option, and the watch can receive the user's first operation on the card 2 China Unicom card. As shown in Figure 11(1), the user clicks the China Mobile Card option of Card 1, and the watch can receive the user's first operation on the China Mobile Card of Card 1.
步骤S604:第一电子设备响应所述第一操作,从所述第一用户卡和所述第二用户卡中选择一个作为指定卡。Step S604: In response to the first operation, the first electronic device selects one of the first user card and the second user card as a designated card.
在本申请实施例中,第一电子设备响应用户输入的第一操作,根据第一操作从第一用户卡和第二用户卡中选择一个作为指定卡。即将第一操作所选中的用户卡作为指定卡。用户对第一用户卡信息进行第一操作,则响应该第一操作,将第一用户卡作为指定卡。用户对第二用户卡信息进行第一操作,则响应该第一操作,将第二用户卡作为指定卡。即用户点击卡1中国移动卡选项,则第二电子设备上的卡1中国移动卡为指定卡。用户点击卡2中国联通卡选项,则第二电子设备上的卡2中国联通卡选项为指定卡。In this embodiment of the present application, the first electronic device responds to the first operation input by the user, and selects one of the first user card and the second user card as the designated card according to the first operation. That is, the user card selected by the first operation is taken as the designated card. When the user performs a first operation on the first user card information, the first user card is used as a designated card in response to the first operation. When the user performs a first operation on the second user card information, in response to the first operation, the second user card is used as a designated card. That is, the user clicks the card 1 China Mobile card option, and the card 1 China Mobile card on the second electronic device is the designated card. The user clicks the card 2 China Unicom card option, then the card 2 China Unicom card option on the second electronic device is the designated card.
步骤S605:第一电子设备将所述指定卡的信息发送给所述第二电子设备。Step S605: The first electronic device sends the information of the designated card to the second electronic device.
步骤S606:所述第二电子设备使用所述指定卡向第三方发起通话请求。Step S606: The second electronic device uses the designated card to initiate a call request to a third party.
在本申请实施例中,第一电子设备获取用户选择的指定卡,基于第一电子设备与第二电子设备的第一通信连接,第一电子设备将指定卡的信息发送给第二电子设备。在第一电子设备将指定卡的信息发送给第二电子设备时,还发送呼叫命令,该呼叫命令用于使得所述第二电子设备发起通话请求。在本申请实施例中,第二电子设备接收到第一电子设备发送的呼叫命令和指定卡,就使用所述指定卡发起通话请求。其中,所述通话请求包括运营商语音通话请求或VOIP语音通话请求,即本申请实施例中的通话可以是通过电信运营商的传统电话网络进行传输的通话(如本申请实施例中称为运营商语音通话),也可以是经由互联网进行传输的基于IP(互联网协议)的语音传输(Voice over Internet Protocol,VoIP)通话。In the embodiment of the present application, the first electronic device acquires the specified card selected by the user, and based on the first communication connection between the first electronic device and the second electronic device, the first electronic device sends the information of the specified card to the second electronic device. When the first electronic device sends the information of the designated card to the second electronic device, a call command is also sent, and the call command is used to make the second electronic device initiate a call request. In this embodiment of the present application, after receiving the call command and the designated card sent by the first electronic device, the second electronic device uses the designated card to initiate a call request. Wherein, the call request includes an operator voice call request or a VOIP voice call request, that is, the call in the embodiment of the present application may be a call transmitted through the traditional telephone network of a telecommunication operator (for example, the call in the embodiment of the present application is called operation Voice over Internet Protocol (Voice over Internet Protocol, VoIP) calls transmitted via the Internet.
本申请实施例中涉及的基于IP的语音传输(Voice over Internet Protocol,VoIP)是一种语音通话技术,经由网际协议(Internet Protocol,IP)来达成语音通话与多媒体会议,也就是经由互联网来进行通信。其他非正式的名称有IP电话、互联网电话、宽带电话以及宽带电话服务。VoIP技术是将语音转化为IP数据包,部分或全部基于IP网络进行传输的技术。The IP-based voice transmission (Voice over Internet Protocol, VoIP) involved in the embodiments of the present application is a voice call technology, which achieves voice calls and multimedia conferences through the Internet Protocol (Internet Protocol, IP), that is, through the Internet. communication. Other informal names are IP telephony, Internet telephony, broadband telephony, and broadband telephony service. VoIP technology is a technology that converts voice into IP data packets and transmits them partially or entirely based on IP networks.
在本申请实施例中,运营商语音通话是指使用运营商架设的电信网络进行的通话,其中运营商可以包括移动、联通、电信或者其他运营商。In this embodiment of the present application, an operator voice call refers to a call conducted using a telecommunication network set up by an operator, where the operator may include China Mobile, China Unicom, China Telecom, or other operators.
具体地,如图9所示,第一电子设备向第二电子设备发送指定卡为卡1中国移动卡,第二电子设备将使用卡1中国移动卡向露西发起通话请求,则安装了电话号码为“131XXXXXXXX”的用户卡的电子设备上,会接收到用户使用卡1拨打的电话;如图9(2)所示,在安装了用户卡的电话号码为“131XXXXXXXX”的电子设备呈现用户的来电号码“151XXXXXXXX”和该来电号码对应的运营商中国移动。或如图10所示,第一电子设备向第二电子设备发送指定卡为卡2中国联通卡,第二电子设备将使用卡2中国联通卡向杰克发起通话请求,则安装了电话号码为“181XXXXXXXX”的用户卡的电子设备上,会接收到用户使用中国联通卡拨打的电话,如图10(2)所示,在安装了用户卡的电话号码为“181XXXXXXXX”的电子设备呈现用户的来电号码“186XXXXXXXX”和该来电号码对应的运营商中国联通。或如图11所示,第一电子设备向第二电子设备发送指定卡为卡1中国移动卡,第二电子设备将使用卡1中国移动卡向电话号码为“12345”发起通话请求,则安装了电话号码为“12345”的用户卡的电子设备上,会接收到用户使用中国移动卡拨打的电话,如图11(2)所示,在安装了用户卡的电话号码为“12345”的电子设备呈现用 户的来电号码“151XXXXXXXX”和该来电号码对应的运营商中国移动。在其中一种可能实现方式中,基于所述第一电子设备与第二电子设备间的第一通信连接,第一电子设备将所述指定卡的信息传输给所述第二电子设备,基于所述第一电子设备与第二电子设备间的第二通信连接,将所述第一操作对应的呼叫命令传输给所述第二电子设备,所述第二电子设备使用所述指定卡发起通话请求。即第一通信连接可以用于传输附加通话信息和指定卡信息。第二通信连接可以用于传输用户拨打的电话号码、通话状态等信息。Specifically, as shown in FIG. 9 , the first electronic device sends the designated card to the second electronic device as the card 1 China Mobile card, the second electronic device will use the card 1 China Mobile card to initiate a call request to Lucy, then the phone is installed On the electronic device of the user card with the number "131XXXXXXXX", the call made by the user using the card 1 will be received; as shown in Figure 9(2), the electronic device with the phone number "131XXXXXXXX" installed with the user card presents the user The caller number "151XXXXXXXX" and the operator China Mobile corresponding to the caller number. Or as shown in Figure 10, the first electronic device sends the designated card to the second electronic device as the card 2 China Unicom card, the second electronic device will use the card 2 China Unicom card to initiate a call request to Jack, then the installed phone number is "" 181XXXXXXXX” user card will receive calls made by the user using China Unicom card, as shown in Figure 10(2), the user’s incoming call will be displayed on the electronic device with the user card installed with the phone number “181XXXXXXXX” The number "186XXXXXXXX" and the operator China Unicom corresponding to the caller number. Or as shown in Figure 11, the first electronic device sends the designated card to the second electronic device as the card 1 China Mobile card, the second electronic device will use the card 1 China Mobile card to initiate a call request to the phone number "12345", then install On the electronic device with the user card with the phone number "12345", the call made by the user using the China Mobile card will be received. The device presents the user's caller number "151XXXXXXXX" and the operator China Mobile corresponding to the caller number. In one possible implementation manner, based on the first communication connection between the first electronic device and the second electronic device, the first electronic device transmits the information of the designated card to the second electronic device, based on the The second communication connection between the first electronic device and the second electronic device transmits the call command corresponding to the first operation to the second electronic device, and the second electronic device uses the designated card to initiate a call request . That is, the first communication connection can be used to transmit additional call information and designated card information. The second communication connection may be used to transmit information such as the phone number dialed by the user, the call status, and the like.
在其中一种可能实现方式中,基于所述第一电子设备与第二电子设备间的第一通信连接,将所述指定卡的信息和所述第一操作对应的呼叫命令传输给所述第二电子设备,所述第二电子设备使用所述指定卡发起通话请求。即第一通信连接可以用于传输附加通话信息、指定卡信息、用户拨打的电话号码、通话状态等信息。In one possible implementation manner, based on the first communication connection between the first electronic device and the second electronic device, the information of the designated card and the call command corresponding to the first operation are transmitted to the first electronic device. Two electronic devices, the second electronic device uses the designated card to initiate a call request. That is, the first communication connection can be used to transmit additional call information, designated card information, phone numbers dialed by the user, call status and other information.
在本申请实施例中,第二电子设备通过第一通信连接可以同步第二电子设备上的用户卡信息给所述第一电子设备,第一电子设备通过第一通信连接可以将用户选择的指定卡信息传输给第二电子设备,用户可以在第一电子设备上进行操作,就可以选择指定卡,并使得所述第二电子设备可以根据用户选择指定卡发起通话请求。实现用户可以在手表上可以选择用于当前通话的用户卡,而无需在手机上进行选择操作,操作简便且效率高,提高用户的使用体验。In this embodiment of the present application, the second electronic device can synchronize the user card information on the second electronic device to the first electronic device through the first communication connection, and the first electronic device can specify the user-selected designation through the first communication connection. The card information is transmitted to the second electronic device, the user can operate on the first electronic device to select a designated card, and the second electronic device can initiate a call request according to the user's selection of the designated card. It is realized that the user can select the user card used for the current call on the watch without having to select the operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
实施例五 Embodiment 5
请参阅图12,图12为本申请实施例提供的另一种通话方法流程示意图。以第一电子设备为手表,第二电子设备为手机为例。Please refer to FIG. 12. FIG. 12 is a schematic flowchart of another calling method provided by an embodiment of the present application. Take the first electronic device as a watch and the second electronic device as a mobile phone as an example.
步骤S1200:用户进行拨号操作。Step S1200: The user performs a dialing operation.
请一并参阅图7a至7c,用户可以通过通话记录、联系人或拨号盘输入拨号操作,本申请对此不做具体限定。Please refer to FIGS. 7a to 7c together. The user can input dialing operations through call records, contacts or dial pads, which are not specifically limited in this application.
步骤S1201:接收到拨号指令。Step S1201: a dialing instruction is received.
手表的应用层检测到用户进行拨号操作之后,接收到用户输入的拨号指令。After the application layer of the watch detects that the user performs a dialing operation, it receives the dialing instruction input by the user.
步骤S1202:手表建立与手机的第一通信连接。Step S1202: the watch establishes a first communication connection with the mobile phone.
请一并参阅图4a至图4c,手表可以通过图4a至图4c中任一种方式建立与手机的第一通信连接,本申请对此不做具体限定。Please refer to FIG. 4a to FIG. 4c together. The watch can establish the first communication connection with the mobile phone through any of the methods shown in FIGS. 4a to 4c , which is not specifically limited in this application.
步骤S1203:手表判断是否建立成功。Step S1203: The watch determines whether the establishment is successful.
手表判断与手机的第一通信连接是否建立成功。若否,则执行步骤S1204,若是,则执行步骤S1207。The watch determines whether the first communication connection with the mobile phone is successfully established. If no, go to step S1204, if yes, go to step S1207.
步骤S1204:手表重新连接至预设次数。Step S1204: The watch is reconnected to the preset number of times.
手表重新建立与手机的第一通信连接直至预设次数,如预设次数为3次,则手表重新连接手机至3次。The watch re-establishes the first communication connection with the mobile phone until the preset number of times. If the preset number of times is 3 times, the watch reconnects to the mobile phone for 3 times.
步骤S1205:手表判断重新连接是否成功。Step S1205: The watch determines whether the reconnection is successful.
手表判断重新连接是否成功,若否,则继续执行步骤S1204,若执行步骤S1204的次数达到预设次数,则停止重新连接。若是,则执行步骤S1206和步骤S1207。The watch determines whether the reconnection is successful, and if not, it continues to perform step S1204, and if the number of times of performing step S1204 reaches a preset number of times, the reconnection is stopped. If yes, execute step S1206 and step S1207.
步骤S1206:手表停止重新连接。Step S1206: the watch stops reconnecting.
其中,步骤S1203至步骤S1206为可选步骤。Among them, steps S1203 to S1206 are optional steps.
步骤S1207:手表请求手机上的用户卡信息。Step S1207: The watch requests the user card information on the mobile phone.
在重新连接成功后,手表主动请求手机上所安装的用户卡的用户卡信息。After the reconnection is successful, the watch actively requests the user card information of the user card installed on the mobile phone.
步骤S120:手机注册第一广播接收器,以监听用户卡状态变化信息。Step S120: The mobile phone registers the first broadcast receiver to monitor the status change information of the user card.
步骤S121:监测到用户卡状态变化信息,保存用户卡信息。Step S121: Monitor the status change information of the user card, and save the user card information.
其中步骤S120和步骤S121可以在步骤S1207之前执行,也可以在步骤S1207之后执行,如,可以在手机与手表的第一通信连接之前手机就执行步骤S120和步骤S121,或在手机与手表的第一通信连接之后手机就执行步骤S120和步骤S121,或,在步骤S1207之后,即手表请求手机上的用户卡信息之后,手机再执行步骤S120和步骤S121,本申请对此不作具体限定。Wherein step S120 and step S121 can be performed before step S1207, or can be performed after step S1207, for example, step S120 and step S121 can be performed on the mobile phone before the first communication connection between the mobile phone and the watch, or in the first communication connection between the mobile phone and the watch. After a communication connection, the mobile phone performs steps S120 and S121, or, after step S1207, that is, after the watch requests the user card information on the mobile phone, the mobile phone performs steps S120 and S121, which are not specifically limited in this application.
步骤S1208:手机向手表发送用户卡信息。Step S1208: The mobile phone sends the user card information to the watch.
手机向手表发送手机上的用户卡信息。其中,该用户卡信息可以为手机上用户卡的状态发生变化后,手机上的用户卡信息,如用户卡的卡1由中国移动变为中国联通,卡2由中国联通变为中国电信,则手机上的用户卡信息包括卡1为中国联通,卡2为中国电信。该用户卡信息还可以为手机上没有发生变化的信息。即第一广播接收器并没有监听到用户卡状态变化信息,则手机可以告知手表用户卡信息没有发生变化,或手机将原用户卡信息发送给手表。如上述,手机上的用户卡信息包括卡1为中国移动,卡2为中国联通。The mobile phone sends the user card information on the mobile phone to the watch. The user card information can be the user card information on the mobile phone after the status of the user card on the mobile phone changes. For example, if the card 1 of the user card changes from China Mobile to China Unicom and the card 2 changes from China Unicom to China Telecom, then The user card information on the mobile phone includes that card 1 is China Unicom, and card 2 is China Telecom. The user card information may also be information that has not changed on the mobile phone. That is, the first broadcast receiver does not monitor the status change information of the user card, and the mobile phone can inform the watch that the user card information has not changed, or the mobile phone sends the original user card information to the watch. As mentioned above, the user card information on the mobile phone includes that card 1 is China Mobile, and card 2 is China Unicom.
步骤S1209:手表接收手机上的用户卡信息,根据用户卡信息刷新用户卡选项。Step S1209: The watch receives the user card information on the mobile phone, and refreshes the user card options according to the user card information.
手表接收到手机发送的用户卡信息之后,请一并参阅图8a至图8d,根据用户卡信息刷新拨号界面,更新用户卡选项。After the watch receives the user card information sent by the mobile phone, please refer to Figure 8a to Figure 8d together, refresh the dialing interface according to the user card information, and update the user card options.
在其中一种可能实现方式中,若用户卡信息并没有发生变化,则手表可以不刷新拨号界面,也不更新用户卡选项。In one possible implementation manner, if the user card information has not changed, the watch may not refresh the dialing interface nor update the user card options.
步骤S1210:用户对用户卡选项进行操作,选择指定卡。Step S1210: The user operates the user card option and selects a designated card.
用户对手表更新后的拨号界面进行操作,从更新后的用户卡选项中选择对应的指定卡,即用户进行第一操作。The user operates the updated dial interface of the watch, and selects the corresponding designated card from the updated user card options, that is, the user performs the first operation.
在其中一种可能实现方式中,拨号界面可以未刷新,用户对手表呈现的拨号界面进行操作,选择指定卡。In one possible implementation manner, the dialing interface may not be refreshed, and the user operates the dialing interface presented by the watch and selects a designated card.
在本申请实施中,用户对用户卡选项操作,该用户卡选项对应手机上的用户卡信息,若手机上的用户卡信息变化,则用户卡选项更新。若手机上的用户卡信息未发生变化,则该用户卡选项可以不更新,仅需该用户卡选项对应当前手机上的用户卡信息。即当前手机上的用户卡信息包括卡1中国移动卡,卡2中国联通卡,则手表上的用户卡选项包括卡1选项和卡2选项,其中卡1选项为中国移动卡,卡2选项为中国联通卡。In the implementation of this application, the user operates the user card option, and the user card option corresponds to the user card information on the mobile phone. If the user card information on the mobile phone changes, the user card option is updated. If the user card information on the mobile phone has not changed, the user card option may not be updated, and only the user card option needs to correspond to the current user card information on the mobile phone. That is, the current user card information on the mobile phone includes card 1 China Mobile card and card 2 China Unicom card, then the user card options on the watch include card 1 option and card 2 option, where the card 1 option is China Mobile card, and the card 2 option is China Unicom card.
步骤S1211:手表获取指定卡信息。Step S1211: the watch acquires the designated card information.
手表检测到用户对用户卡选项的选择操作,即检测到用户的第一操作,响应用户对用户卡选项的触发,获取被触发的用户卡选项对应的用户卡,该被触发的用户卡选项对应的用户卡即为指定卡,获取该指定卡信息,指定卡信息如卡1中国移动卡。The watch detects the user's selection operation on the user card option, that is, detects the user's first operation, responds to the user's triggering of the user card option, and obtains the user card corresponding to the triggered user card option. The triggered user card option corresponds to The user card is the designated card, obtain the designated card information, such as card 1 China Mobile card.
步骤S1212:手表发送指定卡信息。Step S1212: The watch sends the designated card information.
手表向手机发送指定卡信息,手表向手机发送当前用户拨号的用户卡为卡1中国移动卡。The watch sends the specified card information to the phone, and the watch sends the phone to the phone that the user card dialed by the current user is Card 1 China Mobile Card.
步骤S1213:手表发送呼叫命令。Step S1213: The watch sends a call command.
手表检测到用户对用户卡选项的选择操作,响应用户对用户卡选项的触发,向手机发送呼叫命令,以告知手机拨打的电话号码等标准通话信息,如用户要拨打的电话号码为13111110000。其中, 呼叫命令中可以包括手机拨打的电话号码、通话状态等标准通话信息。The watch detects the user's selection of the user card option, responds to the user's triggering of the user card option, and sends a call command to the mobile phone to inform the mobile phone of standard call information such as the phone number to dial. For example, the phone number to be dialed by the user is 13111110000. The call command may include standard call information such as the phone number dialed by the mobile phone and the call status.
可以理解,手表可以同时向手表发送指定卡信息和呼叫命令,也可以不同时。手表可以通过上述图4a至图4b所述的第一通信连接向手机发送指定卡信息和呼叫命令,则手机可以同时接收指定卡信息和呼叫命令,也可以不同时。若手表可以通过上述图4c所述的第一通信连接向手机发送指定卡信息和呼叫命令,则手机同时接收到指定卡信息和呼叫命令。本申请对此不做具体限定。It can be understood that the watch can send the designated card information and the call command to the watch at the same time, or not at the same time. The watch can send the designated card information and the calling command to the mobile phone through the first communication connection described in Figures 4a to 4b, and the mobile phone can receive the designated card information and the calling command at the same time, or not at the same time. If the watch can send the designated card information and the call command to the mobile phone through the first communication connection shown in FIG. 4c, the mobile phone receives the designated card information and the call command at the same time. This application does not specifically limit this.
步骤S1214:手机存储指定卡信息。Step S1214: The mobile phone stores the designated card information.
手机接收到手表发送的指定卡信息后,会将该指定卡信息存储起来。After the mobile phone receives the designated card information sent by the watch, it will store the designated card information.
步骤S1215:手机创建通话。Step S1215: The mobile phone creates a call.
手机接收到手表发送的呼叫命令后,手机创建通话。After the phone receives the call command sent by the watch, the phone creates a call.
在本申请实施例中,手机可以同时接收到指定卡信息和呼叫命令,也可以先接收到指定卡信息后接收到呼叫命令,或,先接收到呼叫命令后接收到指定卡信息。In the embodiment of the present application, the mobile phone may receive the designated card information and the call command at the same time, or may first receive the designated card information and then receive the call command, or may receive the designated card information after receiving the call command first.
步骤S1216:手机判断是否为蓝牙通话。Step S1216: The mobile phone determines whether it is a Bluetooth call.
手机创建通话后,判断该通话是否为蓝牙通话,如手机通话管理模块可以根据该呼叫命令是蓝牙模块传输过来的,则判断该通话为蓝牙通话。若不是蓝牙通话,执行步骤S1221,若是蓝牙通话,执行步骤S1217。After the mobile phone creates a call, it is judged whether the call is a Bluetooth call. For example, the call management module of the mobile phone can judge that the call is a Bluetooth call according to the call command transmitted by the Bluetooth module. If it is not a Bluetooth call, go to step S1221, if it is a Bluetooth call, go to step S1217.
步骤S1217:判断是否在手机内查找到手表发送的指定卡信息。Step S1217: Determine whether the designated card information sent by the watch is found in the mobile phone.
手机接收到指定卡信息后会将指定卡信息存储在内存中,手机会先尝试从内存中获取指定卡信息,如果获取到指定卡信息,执行步骤S1222,若没有找到指定卡信息,执行步骤S1218或者执行步骤S1221。After receiving the designated card information, the mobile phone will store the designated card information in the memory. The mobile phone will first try to obtain the designated card information from the memory. If the designated card information is obtained, step S1222 is performed. If the designated card information is not found, step S1218 is performed. Or go to step S1221.
步骤S1218:手机注册第二广播接收器,监听是否接收到指定卡信息。Step S1218: The mobile phone registers the second broadcast receiver and monitors whether the designated card information is received.
手机注册第二广播接收器,监听是否接收到手表发送的指定卡信息。The mobile phone registers the second broadcast receiver and monitors whether the designated card information sent by the watch is received.
步骤S1219:手机启动定时器。Step S1219: The mobile phone starts a timer.
手机注册第二广播接收器还启动定时器,通过定时器计时。When the mobile phone registers with the second broadcast receiver, a timer is also started, and the timer is used for timing.
步骤S1220:手机判断是否在预设时间内接收到指定卡信息。Step S1220: The mobile phone determines whether the designated card information is received within the preset time.
其中,预设时间可以默认设置也可以由用户自行设置,如为3秒或5秒,本申请对此不做具体限定。判断第二广播接收器监听是否在预设时间内接收到指定卡信息,若没有在预设时间内接收到指定卡信息,则执行步骤S1221,若在预设时间内接收到指定卡信息,则执行步骤S1222。The preset time may be set by default or set by the user, such as 3 seconds or 5 seconds, which is not specifically limited in this application. Determine whether the second broadcast receiver monitors whether the designated card information is received within the preset time. If the designated card information is not received within the preset time, step S1221 is executed. If the designated card information is received within the preset time, then Step S1222 is executed.
步骤S1221:手机使用默认卡或主卡发起通话请求,即使用默认卡或主卡拨打电话。Step S1221: The mobile phone initiates a call request by using the default card or the main card, that is, using the default card or the main card to make a call.
若第一通信连接异常,无法接收到指定卡信息或用户未选择指定卡,则手机以默认卡或主卡拨打电话。If the first communication connection is abnormal, the designated card information cannot be received, or the user does not select the designated card, the mobile phone uses the default card or the main card to make calls.
步骤S1222:手机使用指定卡发起通话请求,即使用指定卡拨打电话。Step S1222: The mobile phone uses the designated card to initiate a call request, that is, uses the designated card to make a call.
手机接收到指定卡信息,根据该指定卡信息直接找到指定卡对应的卡账户。卡账户和用户卡是一一对应的关系,其中存有用户卡的ICCID,选择了卡账户,就能从指定的用户卡拨打电话。The mobile phone receives the designated card information, and directly finds the card account corresponding to the designated card according to the designated card information. There is a one-to-one correspondence between the card account and the user card, in which the ICCID of the user card is stored. After selecting the card account, you can make calls from the designated user card.
在本申请实施例中,手机可以将用户卡信息同步至手表,手表根据同步的信息刷新拨号界面,用户可以操作同步后拨号界面上的用户卡选项,手表获取触发的用户卡选项对应的指定卡,将指定卡信息发送给手机,手机使用该指定卡发起通话请求。实现用户可以在手表上可以选择用于当前通话的用户卡,而无需在手机上进行选择操作,操作简便且效率高,提高用户的使用体验。In the embodiment of the present application, the mobile phone can synchronize the user card information to the watch, the watch refreshes the dial interface according to the synchronized information, the user can operate the user card option on the dial interface after synchronization, and the watch obtains the specified card corresponding to the triggered user card option , send the designated card information to the mobile phone, and the mobile phone uses the designated card to initiate a call request. It is realized that the user can select the user card used for the current call on the watch without having to select the operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
实施例六 Embodiment 6
请参阅图13,图13为本申请实施例提供的另一种通话方法流程示意图。以第一电子设备为手表,第二电子设备为手机。下述步骤中与图12中步骤相同的不再赘述。Please refer to FIG. 13 , FIG. 13 is a schematic flowchart of another calling method provided by an embodiment of the present application. The first electronic device is a watch, and the second electronic device is a mobile phone. In the following steps, the same steps as those in FIG. 12 will not be repeated.
步骤S1300:用户进行拨号操作。Step S1300: The user performs a dialing operation.
步骤S1301:手表接收到拨号指令。Step S1301: The watch receives a dialing instruction.
步骤S1302:手表读取本地存储的用户卡信息,刷新用户卡选项。Step S1302: The watch reads the locally stored user card information, and refreshes the user card options.
以用户卡为SIM卡举例,手表基于与手机的第一通信连接,如图4a至图4c所述的任一种第一通信连接,手表接收手机同步的用户卡信息,手表在接收到手机同步的用户卡信息后,会将用户卡信息存入XML文件中,存储的格式如下:Taking the user card as an example of the SIM card, the watch is based on the first communication connection with the mobile phone, such as any one of the first communication connections described in Figure 4a to Figure 4c, the watch receives the user card information synchronized by the mobile phone, and the watch receives the synchronization of the mobile phone. After the user card information is stored, the user card information will be stored in an XML file in the following format:
<?xml versio="1.0”encoding=“utf-8"?><? xml versio="1.0" encoding="utf-8"? >
<preferences version=“1.0”><preferences version="1.0">
<string key=“slot1_index">1</string><string key="slot1_index">1</string>
<string key=“slot1_description">中国移动</string><string key="slot1_description">China Mobile</string>
<string key=“slot2_index">1</string><string key="slot2_index">1</string>
<string key=“slot2_description">中国联通</string><string key="slot2_description">China Unicom</string>
<string key=“default_slot">-1</string><string key="default_slot">-1</string>
</preference></preference>
其中,slot1_index的值为1表示对应SIM卡为可用状态、slot1_index的值为0表示对应SIM卡不可用;slot1_description的值表示对应卡的描述信息;slot2含义类似,在此不在赘述。default_slot值为-1表示未配置默认拨号卡,default_slot值为0表示默认拨号卡为SIM卡1,default_slot值为1表示默认拨号卡为SIM卡2。Among them, the value of slot1_index indicates that the corresponding SIM card is available, the value of slot1_index indicates that the corresponding SIM card is unavailable; the value of slot1_description indicates the description information of the corresponding card; the meaning of slot2 is similar and will not be repeated here. A default_slot value of -1 indicates that the default dial-up card is not configured, a default_slot value of 0 indicates that the default dial-up card is SIM card 1, and a default_slot value of 1 indicates that the default dial-up card is SIM card 2.
用户在手表上拨打电话时,会读取手表中XML文件中存的SIM卡状态信息来刷新拨号界面,如果配置了默认拨号卡,拨号界面呈现默认拨号卡的样式,还包括更多选项,如图8d所示。如果未配置默认拨号卡,但是只有一个SIM卡状态是正常的,拨号界面呈现该SIM卡信息。如果未配置默认拨号卡,同时两个SIM卡状态都是正常的,那么用户点击拨号之后,手表会弹出拨号界面,显示两张SIM卡信息,如图8c所示。When the user makes a call on the watch, the SIM card status information stored in the XML file in the watch will be read to refresh the dialing interface. If the default dialing card is configured, the dialing interface will display the style of the default dialing card, and it also includes more options, such as shown in Figure 8d. If the default dial-up card is not configured, but only one SIM card is in normal state, the dial-up interface displays the SIM card information. If the default dial-up card is not configured, and both SIM cards are in normal state, after the user clicks dial, the watch will pop up the dial-up interface and display the information of the two SIM cards, as shown in Figure 8c.
步骤S1303:用户对用户卡选项进行操作,选择指定卡。Step S1303: The user operates the user card option and selects a designated card.
不管SIM卡状态是什么样,拨打电话后都会将选择的SIM卡信息传输给手机。消息以TLV的格式封装了拨打的电话号码以及SIM卡信息。Regardless of the status of the SIM card, the selected SIM card information will be transmitted to the mobile phone after making a call. The message encapsulates the dialed phone number and SIM card information in TLV format.
步骤S1304:手表获取指定卡信息。Step S1304: The watch acquires the designated card information.
步骤S1305:手表建立与手机的第一通信连接。Step S1305: The watch establishes a first communication connection with the mobile phone.
步骤S1306:手表判断是否建立成功。Step S1306: The watch determines whether the establishment is successful.
若没有建立成功,执行步骤S1307,若建立成功,执行步骤S1310。If the establishment is not successful, step S1307 is executed; if the establishment is successful, step S1310 is executed.
步骤S1307:手表重新连接至预设次数。Step S1307: The watch is reconnected to the preset number of times.
步骤S1308:手表判断重新连接是否成功。Step S1308: The watch determines whether the reconnection is successful.
若重新连接成功,执行步骤S1309和步骤S1310。若重新连接没有成功,执行步骤S1307。If the reconnection is successful, step S1309 and step S1310 are executed. If the reconnection is unsuccessful, step S1307 is executed.
步骤S1309:手表停止重新连接。Step S1309: The watch stops reconnecting.
其中,步骤S1306至步骤S1308为可选步骤。Among them, steps S1306 to S1308 are optional steps.
步骤S1310:手表发送指定卡信息和呼叫命令。Step S1310: The watch sends the designated card information and a call command.
手表可以同时向手表发送指定卡信息和呼叫命令,也可以不同时。手表可以通过上述图4a至图4b所述的第一通信连接向手机发送指定卡信息和呼叫命令,则手机可以同时接收指定卡信息和呼叫命令,也可以不同时。若手表可以通过上述图4c所述的第一通信连接向手机发送指定卡信息和呼叫命令,则手机同时接收到指定卡信息和呼叫命令。The watch can send designated card information and call commands to the watch at the same time, or not at the same time. The watch can send the designated card information and the calling command to the mobile phone through the first communication connection described in Figures 4a to 4b, and the mobile phone can receive the designated card information and the calling command at the same time, or not at the same time. If the watch can send the designated card information and the call command to the mobile phone through the first communication connection shown in FIG. 4c, the mobile phone receives the designated card information and the call command at the same time.
步骤S1311:手机存储指定卡信息并创建通话。Step S1311: The mobile phone stores the specified card information and creates a call.
手机可以同时接收到指定卡信息和呼叫命令,可以通过图4a至图4c中任一种第一通信连接传输指定卡信息和呼叫命令。在手机与手表之间存在两个通信连接,且所述第一通信连接为蓝牙连接或Wi-Fi连接时,手机可以同时接收到指定卡信息和呼叫命令,也可以不同时。在手机与手表之间存在一条通信连接,即通过修改HFP协议,使得可以同时接收到手表发送的拨打的电话号码、用户卡信息、指定卡信息。The mobile phone can receive the designated card information and the call command at the same time, and can transmit the designated card information and the call command through any one of the first communication connections in FIG. 4a to FIG. 4c. When there are two communication connections between the mobile phone and the watch, and the first communication connection is a Bluetooth connection or a Wi-Fi connection, the mobile phone may receive the designated card information and the call command at the same time, or not at the same time. There is a communication connection between the mobile phone and the watch, that is, by modifying the HFP protocol, the dialed phone number, user card information, and designated card information sent by the watch can be simultaneously received.
步骤S1312:手机使用指定卡发起通话请求,即使用指定卡拨打电话。Step S1312: The mobile phone uses the designated card to initiate a call request, that is, uses the designated card to make a call.
手机接收到指定卡信息,根据该指定卡信息直接找到指定卡对应的卡账户。卡账户和用户卡是一一对应的关系,其中存有用户卡的ICCID,选择了卡账户,就能从指定的用户卡拨打电话。The mobile phone receives the designated card information, and directly finds the card account corresponding to the designated card according to the designated card information. There is a one-to-one correspondence between the card account and the user card, in which the ICCID of the user card is stored. After selecting the card account, you can make calls from the designated user card.
在本申请实施例中,实施例六与实施例五的区别在于,在用户选择指定卡时建立第一通信连接,即用户选择指定卡后即可以传输用户卡信息和指定卡信息。其中,步骤S1302中所述的本地的用户卡信息,可以是手表基于上一次手表和手机之间的通信连接获取到的,存储至手表中的用户卡信息。可以理解,建立第一通信连接还可以在其他节点下建立,如在手机与手表配对时,则建立第一通信连接,本申请对此不做具体限定。In the embodiment of the present application, the difference between the sixth embodiment and the fifth embodiment is that the first communication connection is established when the user selects the designated card, that is, the user card information and the designated card information can be transmitted after the user selects the designated card. Wherein, the local user card information described in step S1302 may be the user card information stored in the watch obtained by the watch based on the last communication connection between the watch and the mobile phone. It can be understood that the establishment of the first communication connection can also be established under other nodes. For example, when the mobile phone is paired with the watch, the first communication connection is established, which is not specifically limited in this application.
实施例五中传输的用户卡信息和指定卡信息可以是通过第一通信连接传输的,传输的呼叫命令和拨打电话号码等标准通话信息是通过第二通信连接传输的。而实施例六中传输的指定卡信息和呼叫命令可以是由同一通道传输,即均由第一通信连接传输呼叫命令和拨打电话号码等标准通话信息以及用户卡信息和指定卡信息。实施例六中传输的指定卡信息和呼叫命令还可以是通过第一通信连接传输的,传输的呼叫命令和拨打电话号码等标准通话信息是通过第二通信连接传输的。The user card information and the designated card information transmitted in the fifth embodiment may be transmitted through the first communication connection, and the transmitted standard call information such as call commands and dial phone numbers are transmitted through the second communication connection. The designated card information and the call command transmitted in the sixth embodiment may be transmitted through the same channel, that is, the first communication connection transmits standard call information such as the call command and the dialed phone number, as well as the user card information and the designated card information. The designated card information and call command transmitted in the sixth embodiment may also be transmitted through the first communication connection, and the transmitted call command and standard call information such as dialing a phone number are transmitted through the second communication connection.
在本申请实施例中,建立第一通信连接的时机可以在用户进行第一操作时,即用户选择指定卡,则建立第一通信连接,将用户选择的指定卡发送给手机,实现用户可以在手表上可以选择用于当前通话的用户卡,而无需在手机上进行选择操作,操作简便且效率高,提高用户的使用体验。In the embodiment of the present application, the timing of establishing the first communication connection may be when the user performs the first operation, that is, the user selects the designated card, then the first communication connection is established, and the designated card selected by the user is sent to the mobile phone, so that the user can The user card used for the current call can be selected on the watch, without the need to select an operation on the mobile phone, the operation is simple and efficient, and the user experience is improved.
实施例七 Embodiment 7
请参阅图14,图14为本申请实施例提供的另一种通话方法流程示意图。以第一电子设备为手表,第二电子设备为手机。下述步骤中与图12或图13中步骤相同的不再赘述。Please refer to FIG. 14. FIG. 14 is a schematic flowchart of another calling method provided by an embodiment of the present application. The first electronic device is a watch, and the second electronic device is a mobile phone. In the following steps, the same steps as those in FIG. 12 or FIG. 13 will not be repeated.
步骤S1400:用户进行配对操作。Step S1400: The user performs a pairing operation.
即用户将手机与手表通过软件(如华为佩戴)进行配对。That is, the user pairs the mobile phone with the watch through software (such as Huawei wear).
步骤S1401:手表建立与手机的第一通信连接。Step S1401: The watch establishes a first communication connection with the mobile phone.
在手机与手表配对时,则手机与手表建立第一通信连接,可以为手机请求手表建立第一通信连接,也可以为手表请求手机建立第一通信连接,本申请对此不作具体限定。When the mobile phone and the watch are paired, the mobile phone and the watch establish a first communication connection, which can be established for the mobile phone to request the watch, or for the watch to request the mobile phone to establish a first communication connection, which is not specifically limited in this application.
步骤S1402:手表判断是否建立成功。Step S1402: The watch determines whether the establishment is successful.
若没有成功,执行步骤S1403,若成功,执行步骤S1406。还可以由手机判断是否建立成功。If not successful, go to step S1403, if successful, go to step S1406. It can also be determined by the mobile phone whether the establishment is successful.
步骤S1403:手表重新连接至预设次数。Step S1403: The watch is reconnected to a preset number of times.
其中,还可以为手机重新连接至预设次数。Among them, the mobile phone can also be reconnected to a preset number of times.
步骤S1404:手表判断重新连接是否成功。Step S1404: The watch determines whether the reconnection is successful.
若重新连接没有成功,执行步骤S1403,若成功,执行步骤S1405和步骤S1406。其中,还可以为手机判断重新连接是否成功。If the reconnection is unsuccessful, step S1403 is performed; if successful, steps S1405 and S1406 are performed. Among them, it can also judge whether the reconnection is successful for the mobile phone.
步骤S1405:手表停止重新连接。Step S1405: the watch stops reconnecting.
其中,还可以为手机停止重新连接。Among them, you can also stop the reconnection for the mobile phone.
其中,步骤S1402至步骤S1405为可选步骤。Among them, steps S1402 to S1405 are optional steps.
步骤S1406:手表请求手机上的用户卡信息。Step S1406: The watch requests the user card information on the mobile phone.
其中,步骤S1406可以删除,即可以为手机主动向手表发送手机上的用户卡信息,向手机同步手机上的用户卡信息。Wherein, step S1406 can be deleted, that is, the mobile phone actively sends the user card information on the mobile phone to the watch, and synchronizes the user card information on the mobile phone with the mobile phone.
步骤S1407:手机向手表发送用户卡信息。Step S1407: The mobile phone sends the user card information to the watch.
其中,在执行步骤S1407之前,手机可以执行如下步骤:步骤S140:手机注册第一广播接收器,以监听用户卡状态变化信息。步骤S141:手机监测到用户卡状态变化信息,保存用户卡信息。Wherein, before performing step S1407, the mobile phone may perform the following steps: Step S140: The mobile phone registers the first broadcast receiver to monitor the status change information of the user card. Step S141: The mobile phone monitors the status change information of the user card, and saves the user card information.
步骤S1408:手表接收手机上的用户卡信息,根据用户卡信息刷新用户卡选项。Step S1408: The watch receives the user card information on the mobile phone, and refreshes the user card options according to the user card information.
步骤S1409:用户对用户卡选项进行操作,选择指定卡。Step S1409: The user operates the user card option and selects a designated card.
其中,用户可以对用户卡选项进行第一操作,以获取第一操作对应的指定卡。The user may perform a first operation on the user card option to obtain a designated card corresponding to the first operation.
步骤S1410:手表获取指定卡信息。Step S1410: The watch acquires the designated card information.
步骤S1411:手表发送指定卡信息和呼叫命令。Step S1411: The watch sends the designated card information and a call command.
步骤S1412:手机存储指定卡信息和创建通话。Step S1412: The mobile phone stores the specified card information and creates a call.
步骤S1413:手机使用指定卡发起通话请求,即使用指定卡拨打电话。Step S1413: The mobile phone uses the designated card to initiate a call request, that is, uses the designated card to make a call.
手机接收到指定卡信息,根据该指定卡信息直接找到指定卡对应的卡账户。卡账户和用户卡是一一对应的关系,其中存有用户卡的ICCID,选择了卡账户,就能从指定的用户卡拨打电话。The mobile phone receives the designated card information, and directly finds the card account corresponding to the designated card according to the designated card information. There is a one-to-one correspondence between the card account and the user card, in which the ICCID of the user card is stored. After selecting the card account, you can make calls from the designated user card.
在本申请实施例中,实施例七与实施例六的区别在于,在用户将手机与手表配对成功时建立第一通信连接,即手机与手表配对成功后即可以传输用户卡信息和指定卡信息。可以手机主动同步用户卡信息给手表,还可以为手表主动请求手机上的用户卡信息。实施例五中传输的用户卡信息和指定卡信息是通过第一通信连接传输的,传输的呼叫命令和拨打电话号码等标准通话信息是通过第二通信连接传输的。而实施例七中传输的指定卡信息和呼叫命令可以是由同一通道传输,即均有第一通信连接传输呼叫命令和拨打电话号码等标准通话信息以及用户卡信息和指定卡信息。或者,实施例七中传输的指定卡信息可以是通过第一通信连接传输的,传输的呼叫命令和拨打电话号码等标准通话信息是通过第二通信连接传输的。In the embodiment of the present application, the difference between the seventh embodiment and the sixth embodiment is that the first communication connection is established when the user successfully pairs the mobile phone and the watch, that is, the user card information and the designated card information can be transmitted after the mobile phone and the watch are successfully paired. . The mobile phone can actively synchronize the user card information to the watch, and can also actively request the user card information on the mobile phone for the watch. The user card information and the designated card information transmitted in the fifth embodiment are transmitted through the first communication connection, and the transmitted standard call information such as call commands and dial phone numbers are transmitted through the second communication connection. The designated card information and the call command transmitted in the seventh embodiment may be transmitted through the same channel, that is, the first communication connection transmits standard call information such as call commands and dialed phone numbers, as well as user card information and designated card information. Alternatively, the designated card information transmitted in the seventh embodiment may be transmitted through the first communication connection, and the transmitted standard call information such as call commands and dialing phone numbers are transmitted through the second communication connection.
在本申请实施例中,建立第一通信连接的时机可以在用户进行配对操作时,即用户将手机与手表配对时,则建立第一通信连接,手机与手表可以同步手机上的用户卡信息,还将用户选择的指定卡发送给手机,实现用户可以在手表上可以选择用于当前通话的用户卡,而无需在手机上进行选择操作,操作简便且效率高,提高用户的使用体验。In the embodiment of the present application, the timing of establishing the first communication connection can be when the user performs a pairing operation, that is, when the user pairs the mobile phone with the watch, the first communication connection is established, and the mobile phone and the watch can synchronize the user card information on the mobile phone, The designated card selected by the user is also sent to the mobile phone, so that the user can select the user card used for the current call on the watch without having to select an operation on the mobile phone. The operation is simple and efficient, and the user experience is improved.
实施例八 Embodiment 8
请参阅图15,图15为本申请实施例提供的另一种通话方法流程示意图。以第一电子设备为手表,第二电子设备为手机。下述步骤中与图12或图13或图14中步骤相同的不再赘述。Please refer to FIG. 15 , FIG. 15 is a schematic flowchart of another calling method provided by an embodiment of the present application. The first electronic device is a watch, and the second electronic device is a mobile phone. In the following steps, the same steps as those in FIG. 12 or FIG. 13 or FIG. 14 will not be repeated.
步骤S1500:手机注册第一广播接收器,以监听用户卡状态变化信息。Step S1500: The mobile phone registers the first broadcast receiver to monitor the status change information of the user card.
步骤S1501:手机监测到用户卡状态变化信息,保存用户卡信息。Step S1501: The mobile phone monitors the status change information of the user card, and saves the user card information.
在用户卡状态未发生变化时,步骤S1500和步骤S1501可以删除。Steps S1500 and S1501 can be deleted when the status of the user card has not changed.
步骤S1502:手机建立与手表的第一通信连接。Step S1502: The mobile phone establishes a first communication connection with the watch.
步骤S1503:手机判断是否建立成功。Step S1503: The mobile phone determines whether the establishment is successful.
若未成功,执行步骤S1504,若成功,执行步骤S1507。If unsuccessful, go to step S1504, if successful, go to step S1507.
步骤S1504:手机重新连接至预设次数。Step S1504: The mobile phone is reconnected to the preset number of times.
步骤S1505:手机判断重新连接是否成功。Step S1505: The mobile phone determines whether the reconnection is successful.
若重新连接成功,执行步骤S1506和步骤S1507。若重新连接没有成功,执行步骤S1504。If the reconnection is successful, step S1506 and step S1507 are executed. If the reconnection is unsuccessful, step S1504 is executed.
步骤S1506:停止重新连接。Step S1506: Stop reconnecting.
其中,步骤S1503至步骤S1506为可选步骤。步骤S1507:手机向手表发送用户卡信息。Among them, steps S1503 to S1506 are optional steps. Step S1507: The mobile phone sends the user card information to the watch.
在手机上的用户卡状态未发生变化时,则手机建立与手表的通信连接,而无需向手表更新用户卡信息。When the state of the user card on the mobile phone does not change, the mobile phone establishes a communication connection with the watch without updating the user card information to the watch.
步骤S1508:手表接收手机上的用户卡信息,根据用户卡信息刷新用户卡选项。Step S1508: The watch receives the user card information on the mobile phone, and refreshes the user card options according to the user card information.
然后,在用户需要拨打电话时,可以执行以下步骤。Then, when the user needs to make a call, the following steps can be performed.
步骤S1509:用户对用户卡选项进行操作,选择指定卡。Step S1509: The user operates the user card option and selects a designated card.
步骤S1510:手表获取指定卡信息。Step S1510: The watch acquires the designated card information.
手表响应用户对用户卡选项的选择操作,获取用户选择的指定卡信息。The watch responds to the user's selection operation on the user card option, and obtains the specified card information selected by the user.
步骤S1511:手表发送指定卡信息。Step S1511: The watch sends the designated card information.
步骤S1512:手表发送呼叫命令。Step S1512: the watch sends a call command.
其中,步骤S1511和步骤S1512可以为同一个步骤,即手表可以同时执行步骤S1511和步骤S1512。Wherein, step S1511 and step S1512 may be the same step, that is, the watch may perform step S1511 and step S1512 at the same time.
步骤S1513:手机存储指定卡信息。Step S1513: The mobile phone stores the designated card information.
步骤S1514:手机创建通话。Step S1514: The mobile phone creates a call.
步骤S1515:手机判断是否为蓝牙通话。Step S1515: The mobile phone determines whether it is a Bluetooth call.
手机判断当前通话为蓝牙通话,则执行步骤S1516,若手机判断当前通话不为蓝牙通话,则执行步骤S1520。If the mobile phone determines that the current call is a Bluetooth call, step S1516 is performed, and if the mobile phone determines that the current call is not a Bluetooth call, step S1520 is performed.
步骤S1516:手机判断是否在手机内查找到手表发送的指定卡信息。Step S1516: The mobile phone determines whether the designated card information sent by the watch is found in the mobile phone.
如没有,执行步骤S1517,若有,执行步骤S1521。If not, go to step S1517, if yes, go to step S1521.
步骤S1517:手机注册第二广播接收器。Step S1517: The mobile phone registers the second broadcast receiver.
其中,第二广播接收器用于监听是否接收到指定卡信息。Wherein, the second broadcast receiver is used to monitor whether the designated card information is received.
步骤S1518:手机启动定时器。Step S1518: The mobile phone starts the timer.
步骤S1519:手机判断是否在预设时间内容接收到指定卡信息。Step S1519: The mobile phone determines whether the designated card information is received within the preset time.
若没有在预设时间内容接收到指定卡信息,执行步骤S1520,若在预设时间内容接收到指定卡信息,执行步骤S1521。If the specified card information is not received within the preset time content, step S1520 is performed, and if the specified card information is received within the preset time content, step S1521 is performed.
步骤S1520:手机使用默认卡或主卡发起通话请求,即使用默认卡或主卡拨打电话。Step S1520: The mobile phone initiates a call request by using the default card or the main card, that is, using the default card or the main card to make a call.
步骤S1521:手机使用指定卡发起通话请求,即使用指定卡拨打电话。Step S1521: The mobile phone uses the designated card to initiate a call request, that is, uses the designated card to make a call.
在本申请实施例中,实施例八与实施例五的区别在于,是由手机建立第一通信连接的,由手机主动同步用户卡信息给手表,以使得手表可以实时更新拨号界面。In the embodiment of the present application, the difference between the eighth embodiment and the fifth embodiment is that the first communication connection is established by the mobile phone, and the mobile phone actively synchronizes the user card information to the watch, so that the watch can update the dialing interface in real time.
上述各个附图对应的流程的描述各有侧重,某个流程中没有详述的部分,可以参见其他 流程的相关描述。The descriptions of the processes corresponding to the above-mentioned drawings have their own emphasis. For the parts that are not described in detail in a certain process, please refer to the relevant descriptions of other processes.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。实现车牌号码识别的计算机程序产品包括一个或多个进行车牌号码识别的计算机指令,在计算机上加载和执行这些计算机程序指令时,全部或部分地产生按照本申请实施例图6、图10、图11图12、图13、图14及图15的流程或功能,或者,全部或部分的产生按照本申请实施例图14所述的流程或功能。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product. A computer program product for realizing license plate number recognition includes one or more computer instructions for performing license plate number recognition. When these computer program instructions are loaded and executed on a computer, all or part of the computer program instructions according to the embodiments of the present application are generated. 11. The processes or functions of FIG. 12, FIG. 13, FIG. 14 and FIG. 15, or, in whole or in part, are generated according to the processes or functions described in FIG. 14 in the embodiment of the present application.
所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如:同轴电缆、光纤、数据用户线(digital subscriber line,DSL))或无线(例如:红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如:软盘、硬盘、磁带)、光介质(例如:数字通用光盘(digital versatile disc,DVD))、或者半导体介质(例如:固态硬盘(solid state disk,SSD))等。The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media. The available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, digital versatile disc (DVD)), or semiconductor media (eg, solid state disk (SSD)) )Wait.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, etc.
以上所述为本申请提供的实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above-mentioned examples provided for this application are not intended to limit this application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the protection scope of this application. Inside.

Claims (19)

  1. 一种通话方法,应用于第一电子设备中,其特征在于,所述方法包括:A calling method, applied in a first electronic device, characterized in that the method comprises:
    基于所述第一电子设备与第二电子设备间的第一通信连接,接收所述第二电子设备传输的附加通话信息;其中所述附加通话信息包括第一用户卡信息和第二用户卡信息,其中,所述第一用户卡信息为所述第二电子设备中安装的第一用户卡的信息,所述第二用户卡信息为所述第二电子设备中安装的第二用户卡的信息;Based on the first communication connection between the first electronic device and the second electronic device, additional call information transmitted by the second electronic device is received; wherein the additional call information includes first user card information and second user card information , wherein the first user card information is information of a first user card installed in the second electronic device, and the second user card information is information of a second user card installed in the second electronic device ;
    呈现所述第一用户卡信息和所述第二用户卡信息;presenting the first user card information and the second user card information;
    接收对所述第一用户卡信息或所述第二用户卡信息的第一操作;receiving a first operation on the first user card information or the second user card information;
    响应所述第一操作,从所述第一用户卡和所述第二用户卡中选择一个作为指定卡;In response to the first operation, selecting one of the first user card and the second user card as a designated card;
    将所述指定卡的信息发送给所述第二电子设备,以使得所述第二电子设备使用所述指定卡向第三方发起通话请求。Sending the information of the designated card to the second electronic device, so that the second electronic device uses the designated card to initiate a call request to a third party.
  2. 如权利要求1所述的方法,其特征在于,所述呈现所述第一用户卡信息和所述第二用户卡信息包括:The method of claim 1, wherein the presenting the first user card information and the second user card information comprises:
    获取所述附加通话信息中的所述第一用户卡信息和所述第二用户卡信息;acquiring the first user card information and the second user card information in the additional call information;
    在所述第一电子设备的拨号界面上呈现分别与所述第一用户卡信息和所述第二用户卡信息对应的用户卡选项,以供用户选择用于当前通话的指定卡。User card options respectively corresponding to the first user card information and the second user card information are presented on the dialing interface of the first electronic device for the user to select a designated card for the current call.
  3. 如权利要求1至2任一项所述的方法,其特征在于,所述第一通信连接包括蓝牙连接和Wi-Fi连接中的任一种。The method according to any one of claims 1 to 2, wherein the first communication connection includes any one of a Bluetooth connection and a Wi-Fi connection.
  4. 如权利要求1至3任一项所述的方法,其特征在于,所述将所述指定卡的信息发送给所述第二电子设备,以使得所述第二电子设备使用所述指定卡向第三方发起通话请求包括:The method according to any one of claims 1 to 3, wherein the sending the information of the designated card to the second electronic device, so that the second electronic device uses the designated card to send A call request initiated by a third party includes:
    基于所述第一电子设备与所述第二电子设备间的所述第一通信连接,将所述指定卡的信息传输给所述第二电子设备;based on the first communication connection between the first electronic device and the second electronic device, transmitting the information of the designated card to the second electronic device;
    基于所述第一电子设备与所述第二电子设备间的第二通信连接,将所述第一操作对应的呼叫命令传输给所述第二电子设备,以使得所述第二电子设备使用所述指定卡向第三方发起通话请求。Based on the second communication connection between the first electronic device and the second electronic device, the call command corresponding to the first operation is transmitted to the second electronic device, so that the second electronic device uses the The specified card initiates a call request to a third party.
  5. 如权利要求1至4任一项所述的方法,其特征在于,所述将所述指定卡的信息发送给所述第二电子设备,以使得所述第二电子设备使用所述指定卡向第三方发起通话请求包括:The method according to any one of claims 1 to 4, wherein the sending the information of the designated card to the second electronic device, so that the second electronic device uses the designated card to send A call request initiated by a third party includes:
    基于所述第一电子设备与所述第二电子设备间的所述第一通信连接,将所述指定卡的信息和所述第一操作对应的呼叫命令传输给所述第二电子设备,以使得所述第二电子设备使用所述指定卡向第三方发起通话请求。Based on the first communication connection between the first electronic device and the second electronic device, the information of the designated card and the call command corresponding to the first operation are transmitted to the second electronic device, so as to The second electronic device uses the designated card to initiate a call request to a third party.
  6. 如权利要求1至5中任一项所述的方法,其特征在于,在所述接收所述第二电子设备传输的附加通话信息之前,所述方法还包括:The method according to any one of claims 1 to 5, wherein before the receiving the additional call information transmitted by the second electronic device, the method further comprises:
    当检测到所述第一电子设备与所述第二电子设备间的通信连接建立完成时,基于所述第一电子设备与所述第二电子设备间的通信连接,向所述第二电子设备请求所述第二电子设备中安装的用户卡的用户卡信息;或,When it is detected that the establishment of the communication connection between the first electronic device and the second electronic device is completed, based on the communication connection between the first electronic device and the second electronic device, to the second electronic device requesting user card information of the user card installed in the second electronic device; or,
    当检测到用于输入拨号号码的拨号操作时,基于所述第一电子设备与所述第二电子设备间的通信连接,向所述第二电子设备请求所述第二电子设备中安装的用户卡的用户卡信息;或,When a dial operation for inputting a dial number is detected, based on the communication connection between the first electronic device and the second electronic device, request the second electronic device for a user installed in the second electronic device user card information for the card; or,
    响应于接收到的触发操作,所述第一电子设备基于所述第一电子设备与所述第二电子设备间的 通信连接,向所述第二电子设备请求所述第二电子设备中安装的用户卡的用户卡信息。In response to the received trigger operation, based on the communication connection between the first electronic device and the second electronic device, the first electronic device requests the second electronic device for the device installed in the second electronic device. User card information of the user card.
  7. 如权利要求1至5中任一项所述的方法,其特征在于,所述接收所述第二电子设备传输的附加通话信息包括:The method according to any one of claims 1 to 5, wherein the receiving additional call information transmitted by the second electronic device comprises:
    基于所述第一电子设备与所述第二电子设备间的通信连接,接收所述第二电子设备在检测到所述第二电子设备中安装的用户卡的用户卡信息更新时,根据更新后的所述用户卡信息所传输的附加通话信息;或Based on the communication connection between the first electronic device and the second electronic device, when the second electronic device detects that the user card information of the user card installed in the second electronic device is updated, according to the updated Additional call information transmitted by the user card information; or
    基于所述第一电子设备与所述第二电子设备间的通信连接,接收所述第二电子设备在检测到所述第一电子设备与所述第二电子设备间的通信连接建立完成时所传输的附加通话信息。Based on the communication connection between the first electronic device and the second electronic device, receive the information from the second electronic device when it detects that the establishment of the communication connection between the first electronic device and the second electronic device is completed. Transfer call extension information.
  8. 如权利要求1至7任一项所述的方法,其特征在于,所述用户卡包括以下中的一种或多种:The method according to any one of claims 1 to 7, wherein the user card includes one or more of the following:
    用户身份识别卡、全球用户识别卡、用户识别卡和数据卡;Subscriber Identity Cards, Global Subscriber Identity Cards, Subscriber Identity Cards and Data Cards;
    所述通话请求包括运营商语音通话请求或VOIP语音通话请求。The call request includes an operator voice call request or a VOIP voice call request.
  9. 如权利要求1至8任一项所述的方法,其特征在于,所述附加通话信息还包括以下中的一种或多种:The method according to any one of claims 1 to 8, wherein the additional call information further comprises one or more of the following:
    与各个用户卡对应的通讯录、号码归属地、来电号码的标记信息、通话时间和通话类型。The address book, number attribution, caller number mark information, call time and call type corresponding to each user card.
  10. 一种通话方法,应用于第二电子设备中,其特征在于,所述方法包括:A calling method, applied in a second electronic device, characterized in that the method comprises:
    基于第一电子设备与所述第二电子设备间的第一通信连接,向所述第一电子设备传输附加通话信息,其中所述附加通话信息包括第一用户卡信息和第二用户卡信息,其中,所述第一用户卡信息为所述第二电子设备中安装的第一用户卡的信息,所述第二用户卡信息为所述第二电子设备中安装的第二用户卡的信息;Based on the first communication connection between the first electronic device and the second electronic device, additional call information is transmitted to the first electronic device, wherein the additional call information includes first user card information and second user card information, Wherein, the first user card information is information of a first user card installed in the second electronic device, and the second user card information is information of a second user card installed in the second electronic device;
    接收所述第一电子设备发送的指定卡的信息,使用所述指定卡向第三方发起通话请求,其中所述指定卡为所述第一用户卡和所述第二用户卡中的一个。Receive the designated card information sent by the first electronic device, and use the designated card to initiate a call request to a third party, where the designated card is one of the first user card and the second user card.
  11. 如权利要求10所述的方法,其特征在于,所述第一通信连接包括蓝牙连接和Wi-Fi连接中的一种。The method of claim 10, wherein the first communication connection comprises one of a Bluetooth connection and a Wi-Fi connection.
  12. 如权利要求10或11所述的方法,其特征在于,所述接收所述第一电子设备发送的指定卡的信息,使用所述指定卡向第三方发起通话请求包括:The method according to claim 10 or 11, wherein the receiving the designated card information sent by the first electronic device, and using the designated card to initiate a call request to a third party comprises:
    基于所述第一电子设备与所述第二电子设备间的所述第一通信连接,接收所述第一电子设备发送的指定卡的信息;Receive, based on the first communication connection between the first electronic device and the second electronic device, the designated card information sent by the first electronic device;
    基于所述第一电子设备与所述第二电子设备间的第二通信连接,接收所述第一电子设备发送的呼叫命令;receiving a call command sent by the first electronic device based on the second communication connection between the first electronic device and the second electronic device;
    基于所述呼叫命令,使用所述指定卡向第三方发起通话请求。Based on the call command, use the designated card to initiate a call request to a third party.
  13. 如权利要求10所述的方法,其特征在于,所述接收所述第一电子设备发送的指定卡的信息,使用所述指定卡向第三方发起通话请求包括:The method according to claim 10, wherein the receiving the information of the designated card sent by the first electronic device, and using the designated card to initiate a call request to a third party comprises:
    基于所述第一电子设备与所述第二电子设备间的所述第一通信连接,接收第一电子设备发送的所述指定卡的信息和呼叫命令;Based on the first communication connection between the first electronic device and the second electronic device, receive the information and call command of the designated card sent by the first electronic device;
    基于所述呼叫命令,使用所述指定卡向第三方发起通话请求。Based on the call command, use the designated card to initiate a call request to a third party.
  14. 如权利要求10至13中任一项所述的方法,其特征在于,所述第一电子设备传输附加通话信息包括:The method according to any one of claims 10 to 13, wherein the transmitting the additional call information by the first electronic device comprises:
    当检测到所述第一电子设备与所述第二电子设备间的通信连接建立完成时,基于所述第一电子 设备与所述第二电子设备间的通信连接,向所述第一电子设备传输附加通话信息;或,When it is detected that the establishment of the communication connection between the first electronic device and the second electronic device is completed, based on the communication connection between the first electronic device and the second electronic device, to the first electronic device transmit additional call information; or,
    当检测所述第二电子设备中安装的用户卡的用户卡信息更新时,根据更新后的所述用户卡信息向所述第一电子设备传输附加通话信息。When it is detected that the user card information of the user card installed in the second electronic device is updated, additional call information is transmitted to the first electronic device according to the updated user card information.
  15. 如权利要求1至14任一项所述的方法,其特征在于,所述用户卡包括以下中的一种或多种:The method according to any one of claims 1 to 14, wherein the user card includes one or more of the following:
    用户身份识别卡、全球用户识别卡、用户识别卡和数据卡;Subscriber Identity Cards, Global Subscriber Identity Cards, Subscriber Identity Cards and Data Cards;
    所述通话请求包括运营商语音通话请求或VOIP语音通话请求。The call request includes an operator voice call request or a VOIP voice call request.
  16. 如权利要求1至15任一项所述的方法,其特征在于,所述附加通话信息还包括以下中的一种或多种:The method according to any one of claims 1 to 15, wherein the additional call information further comprises one or more of the following:
    与所述用户卡对应的通讯录、号码归属地、来电号码的标记信息、通话时间和通话类型。The address book corresponding to the user card, the number attribution, the marking information of the incoming call number, the call time and the call type.
  17. 一种通话方法,其特征在于,所述方法包括:A calling method, characterized in that the method comprises:
    第一电子设备基于所述第一电子设备与第二电子设备间的第一通信连接,接收所述第二电子设备传输的附加通话信息;其中所述附加通话信息包括第一用户卡信息和第二用户卡信息,其中,所述第一用户卡信息为所述第二电子设备中安装的第一用户卡的信息,所述第二用户卡信息为所述第二电子设备中安装的第二用户卡的信息;The first electronic device receives additional call information transmitted by the second electronic device based on the first communication connection between the first electronic device and the second electronic device; wherein the additional call information includes the first user card information and the first user card information. Two user card information, wherein the first user card information is the information of the first user card installed in the second electronic device, and the second user card information is the second user card installed in the second electronic device. User card information;
    所述第一电子设备呈现所述第一用户卡信息和所述第二用户卡信息;the first electronic device presents the first user card information and the second user card information;
    所述第一电子设备接收对所述第一用户卡信息或所述第二用户卡信息的第一操作;the first electronic device receives a first operation on the first user card information or the second user card information;
    所述第一电子设备响应所述第一操作,从所述第一用户卡和所述第二用户卡中选择一个作为指定卡;The first electronic device selects one of the first user card and the second user card as a designated card in response to the first operation;
    所述第一电子设备将所述指定卡的信息发送给所述第二电子设备;The first electronic device sends the information of the designated card to the second electronic device;
    所述第二电子设备使用所述指定卡向第三方发起通话请求。The second electronic device uses the designated card to initiate a call request to a third party.
  18. 一种电子设备,其特征在于,包括处理器和存储器;所述存储器,用于存储指令;所述处理器,用于调用所述存储器中的指令,使得所述电子设备执行如权利要求1至16中任一项所述的通话方法。An electronic device, characterized in that it includes a processor and a memory; the memory is used to store instructions; the processor is used to call the instructions in the memory, so that the electronic device executes the steps according to claims 1 to 1. The calling method described in any one of 16.
  19. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有至少一个指令,所述至少一个指令被处理器执行时实现如权利要求1至16中任一项所述的通话方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, implements the call according to any one of claims 1 to 16 method.
PCT/CN2022/085098 2021-04-30 2022-04-02 Call method, and electronic device WO2022228046A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110485732.4A CN115277923A (en) 2021-04-30 2021-04-30 Call method and electronic equipment
CN202110485732.4 2021-04-30

Publications (1)

Publication Number Publication Date
WO2022228046A1 true WO2022228046A1 (en) 2022-11-03

Family

ID=83745999

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/085098 WO2022228046A1 (en) 2021-04-30 2022-04-02 Call method, and electronic device

Country Status (2)

Country Link
CN (1) CN115277923A (en)
WO (1) WO2022228046A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560812A (en) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Bluetooth communication method and device
CN104123064A (en) * 2014-07-10 2014-10-29 广州三星通信技术研究有限公司 Device and method for controlling communication of communication terminal in intelligent wearable device
CN204089900U (en) * 2014-07-29 2015-01-07 邓新辉 A kind of two machine one number service T units
CN105049559A (en) * 2015-07-10 2015-11-11 捷开通讯科技(上海)有限公司 System and method for communication using wearable electronic equipment
US20160028869A1 (en) * 2013-03-15 2016-01-28 Apple Inc. Providing remote interactions with host device using a wireless device
CN106658678A (en) * 2016-10-28 2017-05-10 青岛海信移动通信技术股份有限公司 Bluetooth connection method of wearable device, and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160028869A1 (en) * 2013-03-15 2016-01-28 Apple Inc. Providing remote interactions with host device using a wireless device
CN103560812A (en) * 2013-10-31 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Bluetooth communication method and device
CN104123064A (en) * 2014-07-10 2014-10-29 广州三星通信技术研究有限公司 Device and method for controlling communication of communication terminal in intelligent wearable device
CN204089900U (en) * 2014-07-29 2015-01-07 邓新辉 A kind of two machine one number service T units
CN105049559A (en) * 2015-07-10 2015-11-11 捷开通讯科技(上海)有限公司 System and method for communication using wearable electronic equipment
CN106658678A (en) * 2016-10-28 2017-05-10 青岛海信移动通信技术股份有限公司 Bluetooth connection method of wearable device, and device

Also Published As

Publication number Publication date
CN115277923A (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN110381485B (en) Bluetooth communication method, TWS (two way communication system) Bluetooth headset and terminal
WO2020224486A1 (en) Calling method, device and system
EP3972262A1 (en) Screencasting display method, and electronic apparatus
US11805350B2 (en) Point-to-multipoint data transmission method and device
WO2021027616A1 (en) Terminal device, method and system for realizing one-touch screen projection through remote control
US20220039179A1 (en) Bluetooth Connection Method and Device
CN112469013B (en) Bluetooth connection method and related device
WO2022007848A1 (en) Call method, apparatus, and system
WO2020078330A1 (en) Voice call-based translation method and electronic device
US20230299806A1 (en) Bluetooth Communication Method, Wearable Device, and System
WO2021175268A1 (en) Method and apparatus for sharing mobile network hotspot, and hotspot sharing device
WO2022062739A1 (en) Communication method and system for bluetooth pairing of multiple devices
EP4344268A1 (en) Communication method and electronic device
WO2021027623A1 (en) Device capability discovery method and p2p device
CN114466324B (en) Calling method and related device
WO2022228046A1 (en) Call method, and electronic device
CN114844736A (en) Equipment and call control method
CN114697438B (en) Method, device, equipment and storage medium for carrying out call by utilizing intelligent equipment
EP4203409A1 (en) Method and devices for configuring device
WO2023165513A1 (en) Communication method, electronic device, and apparatus
EP4277351A1 (en) Wi-fi access method and related device
CN116981108B (en) Wireless screen-throwing connection method, mobile terminal and computer readable storage medium
WO2023061217A1 (en) Data transmission method and apparatus
WO2023025059A1 (en) Communication system and communication method
WO2022247471A1 (en) Network call transfer method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22794518

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE