WO2022237609A1 - Procédé de commande de communication, dispositif électronique et écouteurs - Google Patents

Procédé de commande de communication, dispositif électronique et écouteurs Download PDF

Info

Publication number
WO2022237609A1
WO2022237609A1 PCT/CN2022/090912 CN2022090912W WO2022237609A1 WO 2022237609 A1 WO2022237609 A1 WO 2022237609A1 CN 2022090912 W CN2022090912 W CN 2022090912W WO 2022237609 A1 WO2022237609 A1 WO 2022237609A1
Authority
WO
WIPO (PCT)
Prior art keywords
earphone
target application
identification information
communication
electronic device
Prior art date
Application number
PCT/CN2022/090912
Other languages
English (en)
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 WO2022237609A1 publication Critical patent/WO2022237609A1/fr

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
    • 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/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • 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/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • 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/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to a communication control method, electronic equipment and earphones.
  • an earphone can assist the electronic device in realizing playback of audio data.
  • multiple applications Applications, APPs
  • the electronic device will select the application with the highest priority to communicate with the headset according to the priorities of the multiple applications.
  • the electronic device will select the One of the audio APP or the video APP communicates with the headset.
  • the electronic device selects one of the applications to communicate with the headset, which will cause other applications to be unable to communicate with the headset, resulting in users being unable to use other applications provided functionality.
  • the purpose of the embodiments of the present application is to provide a communication control method, an electronic device, and an earphone, which can solve the problem that the functions of some application programs cannot be used when multiple application programs need to communicate with the earphone at the same time.
  • an embodiment of the present application provides a communication control method, which is applied to an electronic device wirelessly connected to an earphone, and the method includes:
  • the target application program is controlled to communicate with the headset having the same communication identification information.
  • the embodiment of the present application provides another communication control method, which includes:
  • the earphone is wirelessly connected to the electronic device, and the electronic device is used to determine that there are no less than two target application programs that have earphone communication requirements among the multiple running application programs, respectively
  • the target application program sets different communication identification information
  • an electronic device which includes:
  • a first determining module configured to determine a target application program with headset communication requirements from multiple running application programs
  • a setting module configured to set different communication identification information for the target application programs respectively when the number of the target application programs is not less than 2;
  • the communication module is used to control the target application program to communicate with the headset having the same communication identification information.
  • an earphone which includes:
  • a determining module configured to determine the communication identification information of the earphone; the earphone is wirelessly connected to the electronic device, and the electronic device is used to determine that there are no less than 2 target applications with earphone communication requirements among the multiple application programs running In the case of each, set different communication identification information for the target application programs respectively;
  • a communication module configured to control the headset to communicate with the target application program having the same communication identification information.
  • the embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and the program or instruction is executed by The processor implements the steps of the method described in the first aspect or the second aspect when executed.
  • the embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the implementation as described in the first aspect or the second aspect is realized. steps of the method.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect Or the method described in the second aspect.
  • the electronic device determines the target application program that has earphone communication requirements from the running multiple application programs, and when the number of target application programs is not less than two, set different
  • the communication identification information is used to control the target application program to communicate with the headset having the same communication identification information.
  • the communication identification information can be used to control multiple applications to communicate with the corresponding headset, so that multiple applications can work at the same time, which can solve the problem that some applications cannot function. problem of use.
  • Fig. 1 is a flowchart of steps of a communication control method provided according to an exemplary embodiment
  • Fig. 2 is a flowchart of steps of another communication control method provided according to an exemplary embodiment
  • Fig. 3 is a schematic diagram of mode setting provided according to an exemplary embodiment
  • Fig. 4 is a schematic diagram of an earphone selection interface provided according to an exemplary embodiment
  • Fig. 5 is a schematic diagram of another earphone selection interface provided according to an exemplary embodiment
  • Fig. 6 is a schematic diagram of a communication establishment process provided according to an exemplary embodiment
  • Fig. 7 is a schematic diagram of an application selection interface provided according to an exemplary embodiment
  • Fig. 8 is a flow chart of the steps of another communication control method provided according to an exemplary embodiment
  • Fig. 9 is a schematic diagram of a chat interface provided according to an exemplary embodiment.
  • Fig. 10 is a schematic flow chart of voice playback provided according to an exemplary embodiment
  • Fig. 11 is a schematic structural diagram of an electronic device according to an exemplary embodiment
  • Fig. 12 is a schematic structural diagram of an earphone provided according to an exemplary embodiment
  • Fig. 13 is a schematic structural diagram of another electronic device provided according to an exemplary embodiment
  • Fig. 14 is a schematic diagram of a hardware structure of an electronic device according to an exemplary embodiment.
  • FIG. 1 is a flow chart of the steps of a communication control method provided according to an exemplary embodiment.
  • the method is applied to an electronic device wirelessly connected to an earphone, and may include:
  • Step 101 Determine a target application program that has a headset communication requirement from multiple running application programs.
  • the communication control method may be executed by an electronic device, such as a terminal device such as a mobile phone, a computer, and a tablet computer.
  • the electronic device and the headset can be connected through a wireless connection, and the electronic device can execute a communication control method to control multiple target application programs in the electronic device to communicate with the corresponding headset.
  • the headset includes a first Bluetooth headset and a second Bluetooth headset
  • the first Bluetooth headset and the second Bluetooth headset can be a set of separate Bluetooth headsets
  • the first Bluetooth headset is set as the main for a pair of headphones.
  • the electronic device can establish a communication connection with the main earphone through the internally integrated Bluetooth module, and the main earphone can receive communication data sent by the electronic device, or send communication data to the electronic device.
  • the main earphone can forward the received communication data to the auxiliary earphone, when the auxiliary earphone sends communication data to the electronic device, it can send the communication data to the main earphone, and the main earphone forwards the communication data to the electronic device.
  • the main earphone is responsible for pairing with the electronic device, setting pairing information to establish a communication connection between the main earphone and the electronic device, and receiving or sending communication data to the electronic device based on the established communication connection.
  • the main earphone can send pairing information to the auxiliary earphone, and the auxiliary earphone can imitate the main earphone according to the pairing information to receive communication data sent by the electronic device, or send communication data to the electronic device.
  • the specific communication methods between the separate Bluetooth headset and the electronic device may include but not limited to the above two communication methods, and any communication methods known or unknown in the art may be applied in this embodiment. It should be noted that when there are multiple Bluetooth headsets, the multiple Bluetooth headsets may also be independent Bluetooth headsets, and each Bluetooth headset may respectively establish a communication connection with an electronic device.
  • the target application program is an application program having a headset communication requirement among multiple currently running applications, and the headset communication requirement includes an audio output requirement or an audio input requirement, or includes both an audio input requirement and an audio output requirement.
  • the target application program can be an audio APP for playing music, a video APP for playing video, and a calling APP for calling. Audio APP, video APP and calling APP can all be Communicate with the Bluetooth headset and output audio data through the Bluetooth headset.
  • the Bluetooth headset may generate a control instruction in response to a user operation, and send the control instruction to a corresponding APP.
  • the electronic device may determine a target application program from multiple currently running application programs, so as to control the target application program to communicate with the earphone.
  • the electronic device may determine that a Bluetooth headset is connected and detects that the application program is started, if the application program needs to output audio data, it may determine that the application program is a target application program that needs to communicate with the headset.
  • the specific process for the electronic device to determine the target application program can be set according to requirements, which is not limited in this embodiment.
  • Step 102 When the number of target application programs is not less than two, set different communication identification information for the target application programs respectively.
  • the electronic device when the electronic device determines that the number of target application programs is greater than or equal to two, it can set different communication identification information for the target application programs, so as to control the communication between the target application programs and the communication identification information of the target application programs. Headphones with the same communication identification information communicate.
  • the user may preset the priority of each target application for all target applications in the electronic device, and the electronic device may set the communication identification information of the target application according to the priority of the target application.
  • the user can preset the priority of the calling APP as 2, the priority of the video APP as 5, and the priority of the audio APP as 7.
  • the electronic device determines that the target application programs include audio APP, video APP and calling APP, it can set the communication identification information of the calling APP to A and the communication identification information of the video APP to A according to the priority order of the audio APP, video APP and calling APP.
  • the communication identification information of the audio APP is C.
  • the specific form of the communication identification information and the specific setting method of the communication identification information may be set according to requirements, which are not limited in this embodiment.
  • Step 103 controlling the target application program to communicate with the headset having the same communication identification information.
  • the earphone can set the communication identification information of the earphone according to the method for setting communication identification information of an electronic device.
  • the user can preset the priority of the main earphone as 1 and the priority of the secondary earphone as 2.
  • the main earphone can set the communication identification information of the main earphone as A, and set the communication identification information of the auxiliary earphone as B according to the order of priority.
  • the main earphone can randomly set the communication identification information of one of the bluetooth earphones to A, and the communication identification information of the other bluetooth earphone to be B.
  • the communication identification information of the main earphone is the same as that of the call APP
  • the communication identification information of the secondary earphone is the same as that of the video APP.
  • the main earphone and the auxiliary earphone can also negotiate with each other, and the main earphone and the auxiliary earphone are set to have different communication identification information respectively.
  • the multiple Bluetooth headsets are independent Bluetooth headsets
  • the multiple Bluetooth headsets can be negotiated to set each Bluetooth headset to have different communication identification information.
  • the specific negotiation process can be set according to requirements, which is not limited in this embodiment.
  • step 103 may be implemented in the following manner:
  • the electronic device when the electronic device communicates with the separate Bluetooth headset in the first communication mode, after the electronic device outputs the audio data from the calling APP, it can first package and generate a data packet including the audio data and communication identification information A, and then send the audio data to the host The headset sends packets.
  • the main earphone after receiving the data packet, the main earphone can determine that the communication identification information A in the data packet is the same as its own communication identification information A, and at this time, the main earphone can directly play the audio data in the data packet.
  • the video APP outputs the audio data
  • the electronic device after the video APP outputs the audio data, the electronic device can first package and generate a data packet including the audio data and communication identification information B, and then send the data packet to the main earphone.
  • the main earphone after the main earphone receives the data packet, it can determine that the communication identification information B in the data packet is different from its own communication identification information. At this time, the main earphone can send the audio data in the data packet to the auxiliary earphone, and the auxiliary earphone can receive And play the audio data forwarded by the main earphone.
  • the main earphone After receiving the user operation and generating the control instruction, the main earphone can package and generate a data packet including the control instruction and communication identification information A, and send the data packet to the electronic device. Correspondingly, after receiving the data packet, the electronic device can determine that the communication identification information A in the data packet is the same as the communication identification information A of the calling APP, and then forward the control instruction in the data packet to the calling APP. Similarly, after receiving a user operation and generating a control instruction, the secondary earphone can send a control instruction to the main earphone. After receiving the control instruction sent by the auxiliary earphone, the main earphone packs and generates a data packet including the control instruction and communication identification information B, and sends the data packet to the electronic device. Correspondingly, after receiving the data packet, the electronic device can determine that the communication identification information B in the data packet is the same as the communication identification information B of the video APP, and can forward the control instruction in the data packet to the video APP.
  • the secondary headset when the electronic device communicates with the separate Bluetooth headset in the second communication mode, when the secondary headset receives the data including the communication identification information B, it can determine the communication identification information B in the data packet and the The communication identification information B of itself is the same, and the audio data in the data packet can be played. Conversely, when a data packet including communication identification information A is received, it can be determined that the communication identification information A in the data packet is different from its own communication identification information B, then discard the packet. Similarly, when the main earphone receives the data packet including the communication identification information A, it plays the audio data in the data packet, and when it receives the data packet including the communication identification information B, it discards the data packet.
  • the electronic device controls the communication between the target application program and the corresponding earphone, it determines the corresponding relationship between the earphone and the target application program according to the communication identification information in the communication data, and can accurately control the communication between the target application program and the corresponding earphone. communication.
  • the electronic device can also package and generate a data packet including the audio data and the communication identification information C, and then send the data packet including the communication identification information C to the main earphone.
  • the communication identification information in the data packet is different from the communication identification information of the primary earphone and the secondary earphone, the data packet is discarded by the primary earphone and the secondary earphone.
  • the separate Bluetooth headset may further include a third Bluetooth headset.
  • the communication identification information of the third Bluetooth headset can be set to C, and at this time the electronic device can control the audio APP to communicate with the third Bluetooth headset.
  • the electronic device can first communicate with the main earphone to determine the number of earphones, and when the number of target applications is greater than the number of bluetooth earphones, it can control the low-priority audio APP to stop outputting audio data according to the priority of the target application.
  • the number of earphones in the separate Bluetooth earphones can be set according to requirements, which is not limited in this embodiment.
  • each earphone may be used by a different user.
  • the primary headset can be worn by user A
  • the secondary headset can be worn by user B.
  • the electronic device stops the audio APP and video APP according to the priorities of the calling APP, audio APP and video APP, and controls the communication between the calling APP and the Bluetooth headset, the audio APP and the video APP cannot provide corresponding functions for the user.
  • the electronic device can control the call APP to communicate with the primary headset, and control the video APP to communicate with the secondary headset.
  • User A can answer calls through the primary headset, and user B can watch videos through the secondary headset.
  • user A and user B can exchange earphones.
  • the electronic device determines the target application program that has earphone communication requirements from among the running multiple application programs. Different communication identification information is set, and the target application program is controlled to communicate with the headset with the same communication identification information.
  • the communication identification information can be used to control multiple applications to communicate with the corresponding headset, so that multiple applications can work at the same time, which can solve the problem that some applications cannot function. problem of use.
  • the method may include:
  • the electronic device may also perform steps 101 to 103 to control the target application program to communicate with the headset with the same communication identification information.
  • the electronic device may not set the communication identification information of the target application program, and not add the communication identification information of the target application program when sending communication data to the earphone.
  • all earphones can receive and process the communication data sent by the electronic device.
  • the electronic device can forward all communication data sent by the headset to the target application.
  • FIG. 2 is a flowchart of steps of another communication control method provided according to an exemplary embodiment.
  • the method may include:
  • step 201 the electronic device determines a target application program that requires earphone communication from multiple running application programs.
  • Step 202 when the number of target application programs is not less than two, the electronic device sets different communication identification information for the target application programs respectively.
  • the method may also include:
  • the communication identification information corresponding to the target application program is sent to the earphone, so that the communication identification information of the earphone is the same as the communication identification information corresponding to the target application program.
  • the headset can receive the communication identification information of the target application sent by the electronic device;
  • the communication identification information of the headset is set to be the same as the communication identification information of at least one target application program.
  • the electronic device may send the communication identification information of the target application programs to the earphone in advance, and the communication identification information is the target information of the target application programs. information to cause the headset to set its own communication identification information to be the same as that of one or more of the target applications.
  • the user can pre-set different modes for the target application, and the electronic device can use the mode information of the target application as communication identification information, or set different communication identification information for the target application based on the mode information.
  • Figure 3 is a schematic diagram of a mode setting provided according to an exemplary embodiment, the desktop of the electronic device displays the application program icons of call APP, audio APP and video APP, and the user can press and hold the call APP An application program icon 301 , and the electronic device displays a mode selection interface 302 in response to a user's long press operation.
  • the mode selection interface 302 includes a mode selection control 303 corresponding to the call mode, and mode selection controls for listening to music mode and video mode.
  • the user can click the mode selection control 303, and the electronic device can set the call APP as the call mode in response to the user's click operation. Similarly, you can set the video APP to the video mode, and set the audio APP to the listening mode.
  • the mode setting method can be set according to requirements, which is not limited in this embodiment.
  • the user can set different modes to have different mode levels, and different modes correspond to different priorities, and the electronic device can determine the priority of the application program according to the mode of the target application program.
  • the mode level of the call mode is 2
  • the mode level of the listening mode is 7
  • the mode level of the video mode is 5.
  • the electronic device can determine the priority of the target application program according to the mode level of the target application program.
  • the first input is used to determine the headset corresponding to the target application.
  • the electronic device may display a headset selection interface, receive a user's first input based on the headset selection interface, and determine the headset corresponding to the target application program in response to the first input.
  • FIG. 4 is a schematic diagram of an earphone selection interface provided according to an exemplary embodiment.
  • the earphone selection interface may include a first target image 401 corresponding to the main earphone, and a first target image 401 corresponding to the secondary earphone.
  • the first input is, for example, a drag operation.
  • the user can press the first control 403 and drag it. If the first control 403 is dragged by the user onto the first target image 401, the electronic device can respond to the user's drag operation to create Correspondence between the main earphone and the call APP, and send a data packet including the mode information of the call mode and the identification information of the main earphone to the main earphone.
  • the mode information in the data packet is the target of the call APP sent by the electronic device to the main earphone information.
  • the electronic device can establish a correspondence between the video APP and the secondary earphone, and send mode information including the video mode and the secondary earphone to the primary earphone.
  • a packet of identification information may be set according to requirements, which is not limited in this embodiment.
  • the main earphone after the main earphone receives the data packet sent by the electronic device, if the data packet includes its own identification information, it can set the main earphone to the call mode according to the mode information in the data packet. Similarly, after the main earphone receives the data packet, if the data packet includes the identification information of the auxiliary earphone, the auxiliary earphone can be set to the video mode according to the mode information in the data packet.
  • the electronic device may use the mode information of the target application program as the communication identification information, and the main earphone may also use the mode information of the earphone as the communication identification information, so that the target application program is the same as the communication identification information of the corresponding earphone.
  • the electronic device can communicate with the main earphone in advance to obtain the identification information of the main earphone and the auxiliary earphone, or the electronic device can use the priority as the identification information of the earphone by default.
  • the electronic device is displaying the earphone selection interface.
  • the target images respectively corresponding to priority 1 and priority 2 may be displayed on the earphone selection interface.
  • the main earphone can set the main earphone with priority 1 to the call mode, and set the secondary earphone with priority 2 to the video mode.
  • the specific forms of the mode information and the identification information can be set according to requirements, which is not limited in this embodiment.
  • the electronic device may control the target application program to communicate with all earphones when the number of target application programs is less than two.
  • an earphone selection interface is displayed, and a target image corresponding to a newly added target application program may be displayed in the earphone selection interface.
  • Figure 5 is a schematic diagram of another earphone selection interface provided according to an exemplary embodiment.
  • the electronic device can control the video APP to communicate with the main The headset and the secondary headset communicate.
  • the electronic device can display the earphone selection interface, which includes the first control 403 corresponding to the newly added call APP and the first target image 401 corresponding to the main earphone The second target image 402 corresponding to the secondary earphone.
  • the user can press and drag the first control 403. If the first control 403 is dragged onto the first target image 401, the corresponding relationship between the main earphone and the call APP will be established, and the call APP will be sent to the main earphone. mode information.
  • the secondary earphone corresponding to the second target image 402 can be automatically set to correspond to the video APP, establish a corresponding relationship between the secondary earphone and the video APP, and send the mode information of the video APP to the secondary earphone.
  • the electronic device can also establish a corresponding relationship between the target application program and multiple earphones based on the earphone selection interface, and send mode information corresponding to the target application program, that is, target information, to each earphone, so that the The target application is the same as the communication identification information of multiple headsets.
  • the earphone selection interface may further include a third target image 406 , and the third target image 406 corresponds to both the primary earphone and the secondary earphone.
  • the electronic device can determine that the calling APP corresponds to the main earphone and the auxiliary earphone at the same time, and send the mode information including the calling APP, the main earphone and the auxiliary earphone to the earphone A packet of identification information.
  • the mode of the main earphone and the auxiliary earphone can be set as the call mode.
  • the mode information of the calling APP, the main earphone and the auxiliary earphone are the same.
  • the calling APP, the main earphone and the auxiliary earphone can be set to have the same communication identification information, and the calling APP can communicate with the main earphone and the auxiliary earphone at the same time.
  • the specific form of the earphone selection interface and the interaction mode between the user and the earphone selection interface can be set according to requirements, which is not limited in this embodiment.
  • the electronic device displays the earphone selection interface, and the user can manually select the earphone corresponding to the target application program through the earphone selection interface, which can facilitate the user to choose the earphone for wearing. corresponding target application.
  • the method may also include:
  • the control target application program communicates with the corresponding audio output module.
  • the audio output module is, for example, a module with an audio output function such as a microphone and a loudspeaker integrated in the electronic device.
  • the second input is used to determine the audio output module corresponding to the target application program
  • the electronic device may also receive the user's second input based on the earphone selection interface, and establish a relationship between the target application program and the audio output module in response to the second input. The corresponding relationship between them, and control the communication between the target application program and the corresponding audio output module.
  • the earphone selection interface may further include a fourth target image 407 corresponding to the audio output module, and the fourth target image 407 corresponds to a speaker integrated in the electronic device.
  • the second input is, for example, a drag operation.
  • the electronic device can determine that the calling APP corresponds to the speaker, and establish a correspondence between the calling APP and the speaker. At this time, after the calling APP outputs the audio data, the electronic device can forward the audio data to the speaker, and play the audio data through the speaker.
  • the specific form of the second input can be set according to requirements, which is not limited in this embodiment.
  • the electronic device may stop other target application programs. For example, when it is determined that the calling APP corresponds to the speaker, the video APP and the audio APP may be stopped. Alternatively, the electronic device may also continue to control other target application programs to communicate with the corresponding headset. For example, when it is determined that the video APP corresponds to the speaker and the call APP corresponds to the main earphone, the call APP can be continuously controlled to communicate with the main earphone. At this time, the user can watch the video played by the video APP through the speaker, and talk through the main earphone.
  • the electronic device establishes the corresponding relationship between the target application program and the audio output module based on the earphone selection interface, and controls the target application program to communicate with the audio output module, which can facilitate the user to operate the electronic device flexibly.
  • the specific process of determining the audio output module corresponding to the target application program based on the earphone selection interface can be set according to requirements, which is not limited in this embodiment.
  • the earphone selection interface may further include an operation control corresponding to the target application program, so as to facilitate the user to quickly operate the target application program.
  • the earphone selection interface may include a text message reply control 408 , and the text message reply control 408 corresponds to the call APP.
  • the electronic device may respond to the user's click operation to enter the text message editing interface, edit the text message, and send the text message to the calling user.
  • the specific content included in the earphone selection interface can be set according to requirements, which is not limited in this embodiment.
  • the method may also include:
  • the communication identification information is the same.
  • the earphone may receive the target information of the target application program sent by the electronic device; based on the target information, set the communication identification information of the earphone to be the same as the communication identification information of at least one target application program.
  • the electronic device may send the target information of the target application to the earphone, so that the earphone outputs indication information corresponding to the target application, and when a user operation corresponding to the indication information is received, set the earphone's
  • the communication identification information is the same as the communication identification information indicating the target application to which the information belongs.
  • the electronic device may send the mode information of the call APP, the mode information of the audio APP, and the mode information of the video APP to the main earphone.
  • the main earphone can control the main earphone and the auxiliary earphone to output corresponding indication information.
  • the main earphone can control the main earphone and the auxiliary earphone to output the first voice at the same time, "Please double-click the pause button to set the earphone to the call mode".
  • the main earphone can respond to the user's double-click operation, and set the main earphone to the call mode.
  • the electronic device and the main earphone can use the mode information as the communication identification information at the same time, so that the calling APP and the main earphone have the same communication identification information.
  • both the main earphone and the auxiliary earphone when both the main earphone and the auxiliary earphone receive the operation of double-clicking the pause button by the user, both the main earphone and the auxiliary earphone can be set to the call mode.
  • the main earphone After outputting the first voice, the main earphone can control the main earphone and the secondary earphone to output the second voice at the same time, "Please click the pause button to set the earphone to video mode". If the user clicks the pause button in the main earphone, the main earphone can respond Based on the user's single-click operation, the main headset is set to video mode.
  • both the primary earphone and the secondary earphone When both the primary earphone and the secondary earphone receive the operation of clicking the pause button by the user, both the primary earphone and the secondary earphone are set to the video mode.
  • the specific type and output mode of the indication information can be set according to the requirement. After the earphone mode is set for the first time, if the user operation corresponding to the indication information is received for the second time, the earphone mode can be continued to be changed.
  • the headset outputs instruction information corresponding to the target application program, instructing the user to operate the headset to set the communication identification information of the headset to determine the target application program corresponding to the headset, which can facilitate the user using the headset to select the target application program corresponding to the headset according to needs .
  • Step 203 the earphone determines the communication identification information of the earphone.
  • the earphone is wirelessly connected with the electronic device, and the electronic device is configured to configure different communication identification information for the target application programs respectively under the condition that there are no less than two target application programs in the currently running application programs.
  • Step 204 the target application program communicates with the headset with the same communication identification information.
  • the method may also include:
  • the control command is determined to be an invalid command.
  • the electronic device may set the control instruction received by the target application program with a lower priority as an invalid instruction according to the priority of the target application program, so as to prevent multiple earphones from simultaneously controlling the electronic device.
  • the electronic device may determine the priority of the target application program according to the mode level of the target application program. After the electronic device receives the data packet sent by the earphone, if the data packet includes the control command sent by the secondary earphone and the mode information of the video mode, the electronic device can determine that the priority of the video APP is low according to the priorities of the video APP and the calling APP.
  • the electronic device may not transmit the control command to the video APP, or control the video APP not to execute the control command.
  • the electronic device may not transmit the control command to the video APP, or control the video APP not to execute the control command.
  • the control command sent by setting the secondary earphone is invalid, only user A wearing the primary earphone can operate the electronic device through the earphone.
  • the electronic device can set the control commands received by the target application program with lower priority as invalid commands according to the priority of the target application program, which can prevent multiple earphones from simultaneously controlling the electronic device and affecting the user's understanding of the electronic device. Normal use.
  • the method may also include:
  • the control instruction does not match other target application programs except the target application program corresponding to the earphone, then it is determined that the control instruction is an invalid instruction.
  • the electronic device after the electronic device receives a control instruction belonging to a certain application program, it can determine that the control instruction that affects other target application programs is invalid according to the influence of the control instruction on other target application programs, so as to avoid multiple headsets When controlling electronic devices at the same time, they interfere with each other.
  • the electronic device after the electronic device receives the data packet sent by the earphone, if the data packet includes the control command sent by the secondary earphone and the mode information of the video mode, it can first determine that the control command belongs to the video APP. At this time, the electronic device can determine whether the execution of the control instruction will affect the calling APP. For example, the electronic device can determine the operation object corresponding to the control instruction.
  • the operation object corresponding to the control instruction is a hardware module such as a keyboard or a display screen in the electronic device, then If it is determined that the execution of the control instruction may affect the operation of the call APP, that is, it will affect the normal call, then it is determined that the control instruction does not match the call APP, and it is determined that the control instruction is an invalid instruction. At this time, the control instruction is not executed and will not affect the user's normal conversation.
  • the specific method for determining that the control instruction does not match the target application program can be set according to requirements, which is not limited in this embodiment.
  • the electronic device After the electronic device receives the control command sent by the earphone, if the control command does not match the target application program other than the target application program corresponding to the earphone, it will determine that the control command is invalid, which can prevent multiple earphones from simultaneously controlling When electronic devices are connected, they interfere with each other and affect user operations. On the contrary, the control instruction can be executed normally, so that the user can operate the application program to which the control instruction belongs.
  • the electronic device determines the target application program that has earphone communication requirements from among the running multiple application programs. Different communication identification information is set, and the target application program is controlled to communicate with the headset with the same communication identification information.
  • the communication identification information can be used to control multiple applications to communicate with the corresponding headset, so that multiple applications can work at the same time, which can solve the problem that some applications cannot function. problem of use.
  • the method may also include:
  • the target application corresponding to the new headset is controlled to communicate with the new headset.
  • the electronic device while controlling the target application program to communicate with the corresponding earphone, can establish a communication connection with the new earphone, so as to control one of the target application programs to communicate with the new earphone.
  • the new headset may be, for example, a newly added third Bluetooth headset.
  • FIG. 6 is a schematic diagram of a communication establishment process provided according to an exemplary embodiment.
  • the electronic device controls the call APP to communicate with the primary earphone, and controls the video APP to communicate with the secondary earphone.
  • user A is using the first bluetooth headset to talk
  • user B is using the second bluetooth headset to watch video
  • user C can operate the third bluetooth headset, send a communication request to the electronic device, and request to pair with the electronic device to receive into the communication process between one of the target applications and the headset.
  • the electronic device may output notification information to notify the main user controlling the electronic device, and the main user may be user A or user B.
  • the electronic device may display a pairing interface in response to the main user's operation of clicking on the notification information. If the main user agrees to pair the electronic device with the third Bluetooth headset, the confirmation button in the pairing interface can be clicked. The electronic device may establish a communication connection with the third Bluetooth headset in response to the main user's operation of clicking the confirmation button. Conversely, if the main user does not agree to the access of the third Bluetooth headset, the electronic device can be operated to reject the communication request of the third Bluetooth headset.
  • the specific process of establishing a communication connection between the electronic device and the new earphone can be set according to requirements, which is not limited in this embodiment.
  • the electronic device may select a corresponding target application program of the new earphone based on the application selection interface.
  • Figure 7 is a schematic diagram of an application selection interface provided according to an exemplary embodiment.
  • the main user can operate the electronic device to make the electronic device display
  • the application selection interface includes the target images of multiple target applications currently running, and the fourth control 701 corresponding to the third Bluetooth headset. If the main user controls the fourth control 701 corresponding to the third Bluetooth headset 701 is dragged onto the target image 702 of the calling APP, and the electronic device may determine that the calling APP corresponds to the third Bluetooth headset in response to the main user's drag operation.
  • the electronic device can send the mode information of the call APP to the third Bluetooth headset, and the third Bluetooth headset can output the corresponding third voice "do you agree to join the call" after receiving the mode information.
  • user C agrees to access, he can click the confirmation button in the Bluetooth headset, and the third Bluetooth headset can respond to the click operation, and set the mode of the third Bluetooth headset as a call mode, that is, set the communication identification information of the third Bluetooth headset and the call APP
  • the communication identification information is the same.
  • the communication identification information of the first Bluetooth earphone and the third Bluetooth earphone are the same as the communication identification information of the call APP, and the electronic device can control the call APP to communicate with the first Bluetooth earphone and the third earphone at the same time, so wearing the first Bluetooth earphone User A with the bluetooth headset and user C with the third bluetooth headset can answer calls at the same time. Conversely, if user C does not agree to access, the earphone can be controlled to refuse access to the communication process between the calling APP and the first Bluetooth earphone.
  • user C who uses the third Bluetooth headset can actively operate the third Bluetooth headset to send an access request to the electronic device, so that the electronic device is set to the same A target application program corresponding to the third Bluetooth headset.
  • user C when the main user does not select a target application program for the third Bluetooth headset, user C can double-click the pause button in the third Bluetooth headset, and the third Bluetooth headset can respond to the double-click operation of user C, to The electronic device sends an access request.
  • the electronic device determines that there is only one target application program currently running, it may directly determine that the third Bluetooth headset corresponds to the calling APP. Alternatively, the electronic device may output notification information to notify user A.
  • the electronic device may display an application program selection interface as shown in FIG. 7 , and configure a corresponding target application program for the third Bluetooth headset.
  • the access process of the third Bluetooth headset can be set according to requirements, which is not specifically limited in this embodiment.
  • the electronic device in the process of controlling the target application program to communicate with the headset, can establish a communication connection with the unconnected headset to add a new headset, and control the new headset to communicate with the target application program, which can facilitate user expansion.
  • the number of headphones in the process of controlling the target application program to communicate with the headset, the electronic device can establish a communication connection with the unconnected headset to add a new headset, and control the new headset to communicate with the target application program, which can facilitate user expansion. The number of headphones.
  • the target application when the target application communicates with multiple earphones at the same time, when the electronic device receives the communication data sent by the earphones, it may add the identification information of the earphones to the communication data. For example, when the electronic device receives the audio data sent by the first Bluetooth headset, it may add the identification information of the first Bluetooth headset to the audio data, and forward the audio data to the calling APP. Similarly, when the electronic device receives the audio data sent by the third Bluetooth headset, it can add the identification information of the third Bluetooth headset to the audio data, and forward the audio data to the calling APP. At this time, the calling APP can determine the source of the audio data according to the identification information in the audio data, so that the calling APP can process the audio data differently according to the source of the audio data. Audio data is stored separately.
  • the user can set different functions of the control commands in different modes.
  • the user can set that in the call mode, the function of the double-click instruction is to activate the assist input function in the target program.
  • the electronic device controls the call APP to communicate with the main earphone
  • the main earphone receives the user's double-click operation, it can generate a double-click instruction and send a data packet including the double-click instruction to the electronic device.
  • the calling APP may respond to the double-click instruction to activate the assist input function of the calling APP.
  • the calling APP can perform voice recognition on the content of the call.
  • the electronic device controls the communication between the audio APP and the earphone, if the earphone receives the user's double-click operation, it can generate a double-click instruction and send a data packet including the double-click instruction to the electronic device.
  • the audio APP can respond to the double-click instruction to activate the collection function and collect the currently playing music.
  • the user can set different modes for the application program, and set different functions of the control commands in different modes, which can facilitate the user to control the electronic device to realize different functions when using different application programs.
  • FIG. 8 is a flowchart of steps of another communication control method provided according to an exemplary embodiment.
  • the method may include:
  • Step 801. Determine communication identification information of the headset.
  • Step 802 controlling the earphone to communicate with the target application program having the same communication identification information.
  • step 802 may be implemented in the following manner:
  • step 801 and step 802 may be performed by the earphone in the foregoing embodiment, which will not be described in detail in this embodiment.
  • the communication identification information of the earphone is determined, and based on the communication identification information of the earphone, the earphone is controlled to communicate with the target application program having the same communication identification information.
  • the communication identification information can be used to control multiple applications to communicate with the corresponding headset, so that multiple applications can work at the same time, which can solve the problem that some applications cannot function. problem of use.
  • the user can set different commands to have different functions, for example, the first command is used to play voice information, and the second command is used to reply to the currently played voice message.
  • the first instruction is, for example, a single-click instruction
  • the second instruction is, for example, a double-click instruction.
  • the first instruction and the second instruction may also be instructions in other forms.
  • Figure 9 is a schematic diagram of a chat interface provided according to an exemplary embodiment
  • Figure 10 is a schematic flowchart of a voice playback provided according to an exemplary embodiment
  • the chat APP may output prompt information when receiving the first voice message 901 .
  • the electronic device can send the prompt information to the bluetooth headset, at this time, the bluetooth headset outputs prompt information, prompting the user user B wearing the bluetooth headset to receive the voice information. If user B clicks the play button in the bluetooth headset, the bluetooth headset can generate a click instruction and send the click instruction to the electronic device.
  • the chat APP may play the received first voice information 901 in response to the click instruction.
  • the Bluetooth headset can generate a double-click instruction.
  • the chat APP receives the double-click instruction forwarded by the electronic device, it can control the chat APP to start replying to the currently playing first voice message 901.
  • User B can input the second voice message 902 through the Bluetooth headset.
  • the chat APP receives the bluetooth headset
  • the second voice information 902 may be sent to user A.
  • user B double-clicks the button again it can reply to user A's first voice information 901 again, generate and send third voice information 903 to user A.
  • the electronic device may continuously play the received voice information.
  • the chat APP continuously sends the second voice message 902 and the third voice message 903 to the user A.
  • the chat APP can continue to send the fourth voice information 904 to the Bluetooth headset, so that the Bluetooth headset can play the fourth voice information 904 .
  • the chat APP may wait for a preset time period, for example, 2 seconds. If the double-click instruction sent by the Bluetooth headset is not received within the preset time period, the fifth voice message 905 will continue to be played. And so on, until the last voice message is played.
  • the last voice message After playing the last voice message, if a double-click instruction is received within the preset time period, the last voice message will be replied. Conversely, if after waiting for a preset period of time, the double-click instruction sent by the Bluetooth headset is not received, then continue to determine whether the voice message sent by other users is received, and if the voice message of other users is received, continue to play the voice message of other users , if no voice messages from other users are received, the voice message playback will end.
  • the chat APP when the chat APP plays the voice information, it can mark the voice information according to the received single-click instruction and double-click instruction, and divide the voice information.
  • FIG. 9 when playing the first voice message 901 sent by user A, user B replies to the second voice message 902 and the third voice message 903 continuously, then the first voice message 901, the second voice message 902 can be and the third voice information 903 are determined as the first topic, and at the same time, the first voice information 901 is marked to determine that user B has replied to the first voice information 901 .
  • the fourth voice message 904 and the fifth voice message 905 sent by user A when the fourth voice message 904 and the fifth voice message 905 sent by user A are played, user B replies to the fifth voice message 905 and replies to the sixth voice message 906 and the seventh voice message 907 continuously.
  • the fifth voice information 905 can be marked to determine that user B has replied to the fifth voice information 905, and at the same time, the fourth voice information 904, the fifth voice information 905, the sixth voice information 906 and the seventh voice information 907 is set as the second topic.
  • the marked fifth voice information can be started to be played, and the fourth voice information can be ignored, so that the user can quickly determine the specific content of the voice information.
  • the chat APP can sequentially store the voice information according to the reply process of the voice information.
  • the chat APP plays the fourth voice information 904 and the fifth voice information 905 sequentially.
  • the chat information can confirm that the sixth voice message 906 is located between the fourth voice message 904 and the fifth voice message Between 905.
  • the fourth voice information 904 , the sixth voice information 906 and the fifth voice information 906 can be stored in order according to the fourth voice information 904 , the sixth voice information 906 , and the fifth voice information 805 .
  • the chat APP can play the voice order in the order of the fourth voice information 904, the sixth voice information 906, and the fifth voice information 905, which can maintain the continuity of the voice content.
  • the user can manually operate the voice information to group the voice information. As shown in Figure 9, if the user plays the eighth voice message 908 after playing the seventh voice message 907, and receives the ninth voice message 909 sent by user A, user B can manually drag the eighth voice message 908 , divide the eighth voice information 908 and the ninth voice information 909 into one voice topic.
  • the specific process for the user to manually operate the voice information can be set according to requirements, which is not limited in this implementation.
  • the user manually operates the voice information to divide the voice topic, which can facilitate the user to classify the voice information according to the voice content, so that the user can quickly find the voice information in the future.
  • the communication control method provided in the embodiment of the present application may be executed by an earphone, or a control module in the earphone for executing the communication control method.
  • the headset provided in the embodiment of the present application is described by taking the communication control method performed by the headset as an example.
  • FIG. 11 is a schematic structural diagram of an electronic device according to an exemplary embodiment.
  • the electronic device 1100 may include:
  • the first determining module 1101 is configured to determine a target application program that requires earphone communication from a plurality of running application programs.
  • the setting module 1102 is configured to set different communication identification information for target application programs respectively when the number of target application programs is not less than two.
  • the communication module 1103 is used to control the target application program to communicate with the headset with the same communication identification information.
  • electronic device 1100 may also include:
  • the display module is used for displaying the earphone selection interface.
  • the receiving module is configured to receive the first input in the earphone selection interface.
  • the second determining module is configured to determine the earphone corresponding to the target application program in response to the first input.
  • the first sending module is configured to send the communication identification information corresponding to the target application program to the headset, so that the communication identification information of the headset is the same as the communication identification information corresponding to the target application program.
  • electronic device 1100 may also include:
  • the second sending module is configured to send the target information of the target application to the earphone, so that the earphone outputs the instruction information corresponding to the target application program, and in the case of receiving the user operation corresponding to the instruction information, make the communication identification information of the earphone It is the same as the communication identification information indicating the target application to which the information belongs.
  • the communication module 1103 is specifically configured to, in the case of receiving the communication data sent by the earphone, transfer the communication data to the target application program to which the communication identification information in the communication data belongs; in the communication data sent by the target application program The communication identification information of the target application is added, and the communication data with the communication identification information added is sent to the earphone, so that the earphone processes the communication data according to the communication identification information in the communication data.
  • the communication module 1103 is further configured to, in the case that the communication data sent by the earphone includes a control instruction, if the priority of the target application having the same communication identification information as the earphone is lower than that of other target applications, Then it is determined that the control instruction is an invalid instruction.
  • the electronic device determines the target application program that has earphone communication requirements from among the running multiple application programs. Different communication identification information is set, and the target application program is controlled to communicate with the headset with the same communication identification information.
  • the communication identification information can be used to control multiple applications to communicate with the corresponding headset, so that multiple applications can work at the same time, which can solve the problem that some applications cannot function. problem of use.
  • the electronic device in the embodiment of the present application may be a mobile electronic device, or may be a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • assistant, PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • the electronic device in this embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the electronic device provided in the embodiment of the present application can implement various processes implemented by the method embodiments in FIG. 1 and FIG. 2 , and details are not repeated here to avoid repetition.
  • FIG. 12 is a schematic structural diagram of an earphone according to an exemplary embodiment.
  • the earphone 1200 may include:
  • the determining module 1201 is configured to determine the communication identification information of the earphone; the earphone is wirelessly connected to the electronic device, and the electronic device is used to determine that there are no less than two target application programs that have earphone communication requirements among the running multiple application programs, Set different communication identification information for target applications respectively;
  • the communication module 1202 is configured to control the earphone to communicate with the target application program having the same communication identification information.
  • the earphone 1200 may include: a receiving module, configured to receive the target information of the target application sent by the electronic device;
  • the determining module 1201 is specifically configured to set the communication identification information of the headset to be the same as the communication identification information of at least one target application program based on the target information.
  • the communication identification information of the earphone is determined, and the earphone is controlled to communicate with the target application program having the same communication identification information.
  • the communication identification information can be used to control multiple applications to communicate with the corresponding headset, so that multiple applications can work at the same time, which can solve the problem that some applications cannot function. problem of use.
  • the headset in this embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the earphone provided in the embodiment of the present application can implement various processes implemented in the method embodiment in FIG. 8 , and details are not repeated here to avoid repetition.
  • FIG. 13 is a schematic structural diagram of another electronic device provided according to an exemplary embodiment.
  • the electronic device 1300 includes a processor 1301 and a memory 1302 .
  • the program or instruction running on the computer when the program or instruction is executed by the processor 1301, implements the various processes of the communication control method embodiment above, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • an embodiment of the present application further provides an electronic device, including a processor and a memory, a program or instruction stored in the memory and operable on the processor, and the above-mentioned program or instruction is implemented when executed by the processor.
  • the various processes of the communication control method performed by the electronic device or the earphone can achieve the same technical effect, and will not be repeated here to avoid repetition.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • Fig. 14 is a schematic diagram of a hardware structure of an electronic device according to an exemplary embodiment.
  • the electronic device 1400 includes, but is not limited to: a radio frequency unit 1401, a network module 1402, an audio output unit 1403, an input unit 1404, a sensor 1405, a display unit 1406, a user input unit 1407, an interface unit 1408, a memory 1409, and a processor 1410, etc. part.
  • the electronic device 1400 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1410 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 14 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
  • the processor 1410 is used to determine the target application program with earphone communication requirements from the running multiple application programs; when the number of target application programs is not less than 2, set different communication channels for the target application programs respectively. identifying information;
  • a network module 1402 configured to control the target application program to communicate with the headset having the same communication identification information.
  • the electronic device determines the target application program that has earphone communication requirements from among the running multiple application programs. Different communication identification information is set, and the target application program is controlled to communicate with the headset with the same communication identification information.
  • the communication identification information can be used to control multiple applications to communicate with the corresponding headset, so that multiple applications can work at the same time, which can solve the problem that some applications cannot function. problem of use.
  • the display unit 1406 is configured to display an earphone selection interface; in the earphone selection interface, receive a first input; in response to the first input, determine an earphone corresponding to the target application;
  • the network module 1402 is configured to send the communication identification information corresponding to the target application program to the headset, so that the communication identification information of the headset is the same as the communication identification information corresponding to the target application program.
  • the electronic device displays the earphone selection interface, and the user can manually select the earphone corresponding to the target application program through the earphone selection interface, which can facilitate the user to choose the earphone for wearing. corresponding target application.
  • the network module 1402 is configured to send the target information of the target application to the earphone, so that the earphone outputs indication information corresponding to the target application program, and when a user operation corresponding to the indication information is received, the earphone's
  • the communication identification information is the same as the communication identification information indicating the target application to which the information belongs.
  • the headset outputs instruction information corresponding to the target application program, instructing the user to operate the headset to set the communication identification information of the headset to determine the target application program corresponding to the headset, which can facilitate the user using the headset to select the target application program corresponding to the headset according to needs .
  • the network module 1402 is configured to transfer the communication data to the target application program to which the communication identification information in the communication data belongs when the communication data sent by the earphone is received;
  • the electronic device controls the communication between the target application program and the corresponding earphone, it determines the corresponding relationship between the earphone and the target application program according to the communication identification information in the communication data, and can accurately control the communication between the target application program and the corresponding earphone. communication.
  • the processor 1410 is further configured to, in the case that the communication data sent by the earphone includes a control instruction, if the priority of the target application having the same communication identification information as the earphone is lower than the priority of other target applications, Then it is determined that the control instruction is an invalid instruction.
  • the electronic device can set the control commands received by the target application program with lower priority as invalid commands according to the priority of the target application program, which can prevent multiple earphones from simultaneously controlling the electronic device and affecting the user's understanding of the electronic device. Normal use.
  • the input unit 1404 may include a graphics processor (Graphics Processing Unit, GPU) 14041 and a microphone 14042, and the graphics processor 14041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1406 may include a display panel 14061, and the display panel 14061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1407 includes a touch panel 14071 and other input devices 14072 . Touch panel 14071, also called touch screen.
  • the touch panel 14071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 14072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 1409 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 1410 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1410 .
  • the embodiment of the present application also provides a readable storage medium.
  • the readable storage medium stores programs or instructions.
  • the program or instructions are executed by the processor, the various processes of the above-mentioned communication control method embodiments can be achieved, and the same To avoid repetition, the technical effects will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application also provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above communication control method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
  • modules, units, and subunits can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processor, DSP), digital signal processing equipment (DSP Device, DSPD ), programmable logic device (Programmable Logic Device, PLD), field-programmable gate array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, used to implement the disclosure other electronic units or combinations thereof.
  • ASIC Application Specific Integrated Circuits
  • DSP Digital Signal Processor
  • DSP Device digital signal processing equipment
  • PLD programmable logic device
  • FPGA field-programmable gate array
  • controller microcontroller, microprocessor
  • the technologies described in the embodiments of the present disclosure may be implemented through modules (such as procedures, functions, etc.) that execute the functions described in the embodiments of the present disclosure.
  • Software codes can be stored in memory and executed by a processor.
  • Memory can be implemented within the processor or external to the processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)

Abstract

Sont divulgués dans la présente demande un procédé de commande de communication, un dispositif électronique et des écouteurs, qui appartiennent au domaine technique des communications. Le procédé consiste à : déterminer une application cible, qui présente une exigence de communication d'écouteur, parmi une pluralité d'applications de fonctionnement ; lorsqu'il n'y a pas moins de deux applications cibles, définir respectivement différentes informations d'identification de communication pour les applications cibles ; et amener les applications cibles à communiquer avec des écouteurs respectifs ayant les mêmes informations d'identification de communication.
PCT/CN2022/090912 2021-05-08 2022-05-05 Procédé de commande de communication, dispositif électronique et écouteurs WO2022237609A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110504454.2 2021-05-08
CN202110504454.2A CN113271376B (zh) 2021-05-08 2021-05-08 通信控制方法、电子设备和耳机

Publications (1)

Publication Number Publication Date
WO2022237609A1 true WO2022237609A1 (fr) 2022-11-17

Family

ID=77230236

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090912 WO2022237609A1 (fr) 2021-05-08 2022-05-05 Procédé de commande de communication, dispositif électronique et écouteurs

Country Status (2)

Country Link
CN (1) CN113271376B (fr)
WO (1) WO2022237609A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116761156A (zh) * 2023-08-23 2023-09-15 腾讯科技(深圳)有限公司 音频处理方法、装置和存储介质及电子设备

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113271376B (zh) * 2021-05-08 2023-08-22 维沃移动通信有限公司 通信控制方法、电子设备和耳机

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769431A (zh) * 2018-07-03 2018-11-06 Oppo(重庆)智能科技有限公司 音频播放控制方法、装置、存储介质及移动终端
CN109445740A (zh) * 2018-09-30 2019-03-08 Oppo广东移动通信有限公司 音频播放方法、装置、电子设备及存储介质
CN110381485A (zh) * 2019-06-14 2019-10-25 华为技术有限公司 蓝牙通信方法、tws蓝牙耳机及终端
US20200092651A1 (en) * 2018-05-10 2020-03-19 Microchip Technology Incorporated Data packet compensation in multi-device media systems
CN111459456A (zh) * 2020-04-07 2020-07-28 维沃移动通信有限公司 一种音频的控制方法及电子设备
CN113271376A (zh) * 2021-05-08 2021-08-17 维沃移动通信有限公司 通信控制方法、电子设备和耳机

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180124180A (ko) * 2017-05-10 2018-11-21 주식회사 비즈모델라인 블루투스 이어셋을 이용한 거래 방법
CN109194827B (zh) * 2018-08-28 2021-02-23 维沃移动通信有限公司 一种终端设备、音频信号输出方法及系统
CN111884908B (zh) * 2020-06-23 2022-09-02 维沃移动通信有限公司 联系人标识显示方法、装置及电子设备
CN112351507B (zh) * 2020-10-30 2023-04-14 维沃移动通信有限公司 交互控制方法、交互控制装置、电子设备和可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200092651A1 (en) * 2018-05-10 2020-03-19 Microchip Technology Incorporated Data packet compensation in multi-device media systems
CN108769431A (zh) * 2018-07-03 2018-11-06 Oppo(重庆)智能科技有限公司 音频播放控制方法、装置、存储介质及移动终端
CN109445740A (zh) * 2018-09-30 2019-03-08 Oppo广东移动通信有限公司 音频播放方法、装置、电子设备及存储介质
CN110381485A (zh) * 2019-06-14 2019-10-25 华为技术有限公司 蓝牙通信方法、tws蓝牙耳机及终端
CN111459456A (zh) * 2020-04-07 2020-07-28 维沃移动通信有限公司 一种音频的控制方法及电子设备
CN113271376A (zh) * 2021-05-08 2021-08-17 维沃移动通信有限公司 通信控制方法、电子设备和耳机

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116761156A (zh) * 2023-08-23 2023-09-15 腾讯科技(深圳)有限公司 音频处理方法、装置和存储介质及电子设备
CN116761156B (zh) * 2023-08-23 2023-11-14 腾讯科技(深圳)有限公司 音频处理方法、装置和存储介质及电子设备

Also Published As

Publication number Publication date
CN113271376A (zh) 2021-08-17
CN113271376B (zh) 2023-08-22

Similar Documents

Publication Publication Date Title
US11604572B2 (en) Multi-screen interaction method and apparatus, and storage medium
WO2019090726A1 (fr) Procédé de sélection de dispositif bluetooth, terminal et système
WO2020133614A1 (fr) Procédé de communication sans fil, terminal, composant audio, appareil et support d'enregistrement
WO2022237609A1 (fr) Procédé de commande de communication, dispositif électronique et écouteurs
CN107690796B (zh) 多个用户设备之间的呼叫管理
US9077796B2 (en) System containing a mobile communication device and associated docking station
WO2016184302A1 (fr) Procédé de transmission de message et dispositif électronique
EP2327198B1 (fr) Interface utilisateur distante dans un environnement à téléphones multiples
US20180139252A1 (en) Network call method and apparatus, terminal, and server
WO2019196691A1 (fr) Procédé d'affichage d'interface de clavier et terminal mobile
WO2021129529A1 (fr) Procédé de commutation de dispositifs et dispositif associé
WO2021104230A1 (fr) Procédé de synchronisation et dispositif électronique
WO2022156662A1 (fr) Procédé et appareil de commutation de mode de lecture audio, dispositif électronique et support de stockage
EP4318199A1 (fr) Procédé d'interaction entre des dispositifs électroniques et dispositif électronique
CN115190197B (zh) 基于蓝牙耳机的通话方法、装置及存储介质
WO2021022720A1 (fr) Procédé de transmission de données à base de blueetooth, support de stockage et terminal
WO2020007300A1 (fr) Procédé et dispositif de traitement d'appel entrant, support d'informations lisible et terminal mobile
WO2020242726A1 (fr) Commandes améliorées pour un ordinateur sur la base d'états communiqués à un dispositif périphérique
KR20140137736A (ko) 그룹 메시지 표시 방법 및 장치
CN111654450A (zh) 数据传输方法及装置、存储介质
WO2022206651A1 (fr) Procédé et appareil de communication instantanée, dispositif électronique et support de stockage
WO2022057552A1 (fr) Système de commande de dispositif
WO2015078349A1 (fr) Procédé et appareil de commutation d'un état de réception du son d'un microphone
WO2023241455A1 (fr) Procédé et appareil de traitement d'opération de dialogue en ligne en groupe, dispositif électronique et support de stockage
WO2021134866A1 (fr) Procédé et appareil de commutation d'appel, support de stockage et terminal mobile

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: 22806577

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE