WO2020133614A1 - 一种无线通信方法、终端、音频组件、装置及存储介质 - Google Patents

一种无线通信方法、终端、音频组件、装置及存储介质 Download PDF

Info

Publication number
WO2020133614A1
WO2020133614A1 PCT/CN2019/072469 CN2019072469W WO2020133614A1 WO 2020133614 A1 WO2020133614 A1 WO 2020133614A1 CN 2019072469 W CN2019072469 W CN 2019072469W WO 2020133614 A1 WO2020133614 A1 WO 2020133614A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio component
communication link
audio
confirmation information
time slot
Prior art date
Application number
PCT/CN2019/072469
Other languages
English (en)
French (fr)
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 展讯通信(上海)有限公司
Priority to US16/320,952 priority Critical patent/US11425769B2/en
Publication of WO2020133614A1 publication Critical patent/WO2020133614A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • H04L5/0055Physical resource allocation for ACK/NACK
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • 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
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/542Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/07Applications of wireless loudspeakers or wireless microphones

Definitions

  • the present disclosure relates to the field of communication technology, and in particular, to a wireless communication method, terminal, audio component, device, and storage medium.
  • Bluetooth communication has been widely used as a short-range wireless communication method.
  • Bluetooth communication can realize short-distance data exchange between fixed devices, mobile devices and personal area networks, and can enable data exchange to be carried out anytime and anywhere between Bluetooth-enabled devices. Due to the characteristics of Bluetooth communication, Bluetooth technology can be applied to the headset.
  • Bluetooth headsets are gradually changing from mono-ear Bluetooth headsets to binaural Bluetooth headsets.
  • the secondary Bluetooth headset is controlled by the primary Bluetooth headset to realize the dual Bluetooth headset function, the primary Bluetooth headset will be overloaded; if the data is sent to the two Bluetooth headsets through the terminal respectively The way to achieve dual Bluetooth headset function will take up too much communication resources.
  • the present disclosure proposes a wireless communication method, terminal, audio component, device, and storage medium, which can reduce the workload of the main Bluetooth headset or the terminal.
  • a wireless communication method including:
  • the performing data collaborative processing according to the first confirmation information and the second confirmation information includes:
  • the content of the second audio data packet is consistent with the first audio data packet.
  • the performing data collaborative processing according to the first confirmation information and the second confirmation information includes:
  • the content of the second audio data packet is consistent with the first audio data packet.
  • the performing data collaborative processing according to the first confirmation information and/or the second confirmation information includes:
  • the audio data packet to be sent subsequent to the first audio data packet is a third audio data packet, and the third audio data packet is sent to the first audio component.
  • the method further includes:
  • the second confirmation information is at least one message sent when occupying a first idle time slot; wherein, the first idle time slot is a time slot in a first audio data packet transmission time slot Idle time slot; and/or,
  • the second acknowledgment information is at least one message sent by occupying the second idle time slot; wherein, the second idle time slot is an idle time slot of the first acknowledgment information receiving time slot.
  • the method further includes:
  • the The master-slave switching instruction is used to instruct the first audio component to monitor the second communication link, and instruct the second audio component to receive the first audio data packet.
  • the method further includes:
  • the first audio component and/or the second audio component When the power of the first audio component and/or the second audio component is lower than a preset power threshold, if there is currently no audio data to be sent, the first audio component and/or the second The audio component sends a standby instruction to put the first audio component and/or the second audio component into a standby state.
  • connection manner of the first communication link and the second communication link is different, and the power consumption of the second communication link is less than the power consumption of the first communication link .
  • a wireless communication method applied to a second audio component of an electronic device including:
  • the method further includes:
  • the sending second confirmation information to the terminal according to the first audio data packet includes:
  • the first idle time slot is an idle time slot in a receiving time slot for receiving a first audio data packet
  • the second idle time slot is an idle time slot in a reception time slot in which the terminal receives the first confirmation information.
  • connection manner of the first communication link and the second communication link is different, and the power consumption of the second communication link is less than the power consumption of the first communication link .
  • a terminal including:
  • a first communication module configured to establish a first communication link and communicate with the first audio component of the electronic device according to the first communication link
  • a second communication module configured to establish a second communication link and communicate with the second audio component of the electronic device according to the second communication link
  • a first transmission module configured to send a first audio data packet to the first audio component, and receive first confirmation information fed back by the first audio component;
  • a second transmission module configured to receive second confirmation information fed back by the second audio component after monitoring the terminal to send the first audio data packet
  • the execution module is configured to perform data collaboration processing according to the first confirmation information and the second confirmation information.
  • the execution module includes:
  • a first judgment submodule configured to perform data retransmission when any one of the first confirmation information and the second confirmation information is NACK;
  • a first sending submodule configured to send a second audio data packet to the first audio component
  • the content of the second audio data packet is consistent with the first audio data packet.
  • the execution module includes:
  • a second judgment submodule configured to perform data retransmission without receiving the first confirmation information and/or the second confirmation information
  • the second sending submodule is configured to send a second audio data packet to the first audio component; the content of the second audio data packet is consistent with the first audio data packet.
  • the execution module includes:
  • a third judgment submodule configured to continue data transmission when the first confirmation information and the second confirmation information are ACK;
  • the third sending submodule is configured to send the third audio data packet to the first audio component after the to-be-sent audio data packet sent by the first audio data packet is a third audio data packet.
  • the second transmission module is further configured to send the link information of the first communication link to the second audio component, so that the second audio component according to the link information Monitoring the first communication link.
  • the second confirmation information is at least one message sent when occupying a first idle time slot; wherein, the first idle time slot is a time slot in a first audio data packet transmission time slot Idle time slot; and/or,
  • the second acknowledgment information is at least one message sent by occupying the second idle time slot; wherein, the second idle time slot is an idle time slot of the first acknowledgment information receiving time slot.
  • the second transmission module is further configured to: when the power difference between the second audio component and the first audio component is greater than a preset power difference
  • the first audio component and the second audio component send a master-slave switching instruction, the master-slave switching instruction is used to instruct the first audio component to monitor the second communication link, and instruct the second The audio component receives the first audio data packet.
  • the second transmission module is further configured to: when the power of the first audio component and/or the second audio component is lower than a preset power threshold, if there is currently no pending When audio data is sent, a standby instruction is sent to the first audio component and/or the second audio component to put the first audio component and/or the second audio component into a standby state.
  • connection manner of the first communication link and the second communication link is different, and the power consumption of the second communication link is less than the power consumption of the first communication link .
  • an audio component of an electronic device the audio component includes:
  • the communication module is used to establish a second communication link and communicate with the terminal according to the second communication link;
  • a monitoring module configured to monitor the first audio data packet sent by the terminal to the first audio component of the electronic device through the first communication link;
  • the sending module is configured to send second confirmation information to the terminal according to the first audio data packet, so that the terminal performs data collaboration processing according to the first confirmation information sent by the first audio component and the second confirmation information.
  • the monitoring module is further configured to receive link information of the first communication link sent by the terminal, and monitor the first communication link according to the link information.
  • the sending module is specifically used for,
  • the first idle time slot is an idle time slot in a receiving time slot for receiving a first audio data packet
  • the second idle time slot is an idle time slot in a reception time slot in which the terminal receives the first confirmation information.
  • connection manner of the first communication link and the second communication link is different, and the power consumption of the second communication link is less than the power consumption of the first communication link .
  • a wireless communication device including: a processor; a memory for storing processor executable instructions; wherein the processor is configured to perform the above method.
  • a non-volatile computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions implement the above method when executed by a processor.
  • the terminal of the embodiment of the present disclosure may establish a first communication link to communicate with the first audio component of the electronic device according to the first communication link, and may also establish a second communication link to communicate with the electronic device according to the second communication link
  • the second audio component communicates, and then sends a first audio data packet to the first audio component, receives the first confirmation information fed back by the first audio component, receives the second audio component to monitor the terminal to send the first audio data
  • the second confirmation information fed back after the package and then perform data collaboration processing according to the first confirmation information and the second confirmation information.
  • the terminal can control two audio components simultaneously, for example, connect and control the first audio component and the second audio component, and then monitor and control the second audio component, for example.
  • the terminal can send a copy of the audio data to synchronize the audio data of the two audio components, saving the terminal's transmission resources.
  • the audio components are controlled through the terminal, which can reduce the workload of the audio components and save the power consumption of the audio components.
  • FIG. 1 shows a flowchart of a wireless communication method according to an embodiment of the present disclosure.
  • FIG. 2 shows a schematic diagram of data transmission between the terminal and the first audio component and the second audio component according to an embodiment of the present disclosure.
  • FIG. 3 shows a timing diagram of receiving and sending audio data according to an embodiment of the present disclosure.
  • FIG. 4 shows a schematic diagram of an application scenario of a wireless communication method according to an embodiment of the present disclosure.
  • FIG. 5 shows a schematic diagram of an application scenario of a wireless communication method according to an embodiment of the present disclosure.
  • FIG. 6 shows a flowchart of a wireless communication method according to an embodiment of the present disclosure.
  • FIG. 7 shows a schematic diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 8 shows a schematic diagram of an audio component according to an embodiment of the present disclosure.
  • FIG. 9 shows a structural diagram of a wireless communication device according to an embodiment of the present disclosure.
  • the terminal establishes a communication connection with the first audio component through the first communication link, and establishes a communication connection with the second audio component through the second communication link. Then, the terminal sends the first audio data packet to the first audio component through the first communication link.
  • the first audio component may receive the first audio data packet sent by the terminal, and return the first confirmation information to the terminal according to the first audio data packet.
  • the second audio component may acquire the first audio data packet by listening to the terminal, and return the second confirmation information packet to the terminal according to the first audio data packet.
  • the terminal receives the first confirmation packet and the second confirmation packet, and then can determine the second audio data packet sent to the first audio component according to the reception time of the first confirmation packet and the reception time of the second confirmation packet.
  • the audio component and the second audio component perform data collaborative processing to synchronize the audio data of the first audio component and the second audio component. In this way, the terminal can control two audio components simultaneously, for example, connect and control the first audio component and the second audio component, and then monitor and control the second audio component, for example.
  • the terminal can send a copy of the audio data, and then determine the second audio data packet sent to the first audio component according to the confirmation information sent by the two audio components.
  • the audio component and the second audio component can not only receive the same audio data, but also reduce the workload of the terminal.
  • the terminal may separately send audio data to the multiple audio components.
  • the multiple audio data needs to occupy multiple transmission resources of the terminal. In the case of limited transmission resources, there will be a phenomenon of tight transmission resources or transmission delays. Audio data transmission.
  • the terminal may send audio data to the first audio component, and then the first audio component may send the received audio data to the second audio component, and the first audio component controls the second audio component. In this manner, since the first audio component needs to control the second audio component, the load on the first audio component is excessive, so that the first audio component consumes processing resources and power.
  • the embodiments of the present disclosure provide a wireless communication solution.
  • the terminal can send a copy of audio data to enable the audio components in the electronic device to obtain synchronized audio data, saving transmission resources of the terminal.
  • it can reduce the load of audio components, effectively reduce the working time of audio components, reduce the power consumption of audio components, and extend the working time of audio components.
  • the terminal device in the embodiment of the present disclosure may be an audio component, such as a smart phone, smart watch, computer, tablet computer, or the like.
  • the first audio component and the second audio component may be audio playback devices, such as stereos, Bluetooth headsets, and so on.
  • FIG. 1 shows a flowchart of a wireless communication method according to an embodiment of the present disclosure. As shown in Figure 1, the method includes:
  • Step 101 Establish a first communication link, and communicate with the first audio component of the electronic device according to the first communication link.
  • the electronic device may be an audio playback device, such as an audio playback device such as a wireless headset, a wireless stereo, and so on.
  • the electronic device may include a first audio component and a second audio component.
  • the terminal may establish a first communication link with the first audio component of the electronic device through a preset wireless communication method, and communicate with the first audio component according to the first communication link.
  • the terminal may establish a wireless communication connection with the first audio component through standard asynchronous connectionless (ACL, Asynchronous Connectionless).
  • ACL is a communication connection method based on Bluetooth technology and can be used to transmit packet data.
  • Step 102 Establish a second communication link and communicate with the second audio component of the electronic device according to the second communication link.
  • the terminal may establish a second communication link with the second audio component of the electronic device through a preset wireless communication method, and communicate with the second audio component according to the second communication link.
  • the connection mode of the second communication link may be the same as the connection mode of the first communication link.
  • the terminal may establish a wireless communication connection with the first audio component and the second audio component through a standard ACL, respectively.
  • the first communication link and the second communication link are connected in different ways.
  • the power consumption of the second communication link may be smaller than that of the second communication link Power consumption.
  • the terminal may communicate with the first audio component through a standard ACL, and may communicate with the second audio component through a Bluetooth Low Energy (BLE) communication method.
  • BLE communication method has the advantage that it can significantly reduce power consumption and cost within the same communication distance, so that the power consumption and cost of the second audio component can be reduced.
  • Step 103 Send a first audio data packet to the first audio component, and receive first confirmation information fed back by the first audio component.
  • the terminal may send the first audio data packet to the first audio component through the first communication link.
  • the first audio component may return the first confirmation information to the terminal according to the first audio data packet.
  • the terminal receives the first confirmation information fed back by the first audio component.
  • Step 104 Receive second confirmation information fed back by the second audio component after monitoring the terminal to send the first audio data packet.
  • the terminal may send link information of the first communication link to the second audio component, so that the second audio component monitors the first communication link according to the link information.
  • the second audio component can actively monitor the first communication link, so that the first audio data packet sent by the terminal can be obtained in time. If the second component obtains the first audio data packet sent by the terminal, it may send second confirmation information to the terminal according to the first audio data packet. The terminal receives the second confirmation information fed back by the second audio component.
  • the second audio component may passively monitor the first communication link, such as monitoring the first communication link according to the monitoring instruction of the terminal.
  • the terminal may send a monitoring instruction to the second audio component when the current communication scenario meets the preset communication conditions, so that the second audio component starts to monitor the first communication link according to the monitoring instruction.
  • the preset communication condition includes any one of the following conditions: the load of the second audio component is greater than the passive monitoring load threshold; and there is audio data to be sent within the preset time configured.
  • the load of the second audio component When the load of the second audio component is greater than the passive monitoring load threshold, it indicates that the current load of the second audio component is too heavy. If the first communication link is actively monitored, the load of the second audio component will be increased, and then the load of the second audio component may be increased.
  • the monitoring instruction starts monitoring the first communication link to reduce the load of the second audio component.
  • the terminal when the terminal has audio data to be sent within the preset time configured, it may notify the second audio component to monitor the first communication link, thereby reducing the workload of the second audio component.
  • Step 105 Perform data collaboration processing according to the first confirmation information and the second confirmation information.
  • the terminal may perform data collaboration processing according to the first confirmation information and the second confirmation information.
  • the terminal may determine whether data retransmission is required according to the first confirmation information and the second confirmation information, so as to realize the synchronized playback of the audio data of the first audio component and the second audio component.
  • the terminal determines whether data retransmission is required according to the first confirmation information and the second confirmation information, the following situations may exist:
  • NACK exists in the first confirmation information and the second confirmation information received by the terminal (negative answer, Negative ACKnowledgment);
  • the terminal does not receive any of the first confirmation information and the second confirmation information
  • Both the first confirmation information and the second confirmation information received by the terminal are ACK (Acknowledgement, ACKnowledgment).
  • the terminal may send a third audio data packet to the first audio component through the first communication link, and the third audio data packet may be an audio data packet to be sent subsequent to the first audio data packet.
  • the first audio data packet may be an original old data packet sent by the terminal to the first audio component;
  • the second audio data packet may be a data packet retransmitted when the terminal performs data retransmission, and the second audio data packet The content of is the same as that of the first audio data packet;
  • the third audio data packet may be a new data packet to be sent that exists in the terminal after the first audio data packet.
  • FIG. 2 shows a schematic diagram of data transmission between the terminal and the first audio component and the second audio component according to an embodiment of the present disclosure.
  • the terminal may send the first audio data packet Packet to the first audio component in the time slot N through the first communication link.
  • TX represents a time slot for transmitting data
  • RX represents a time slot for receiving data.
  • the terminal transmits the packet in the TX time slot
  • the first audio component receives the packet in the RX time slot
  • the second audio component receives the packet in the RX time slot
  • the second audio component in the time slot N
  • the idle time slot in returns the ACK to the terminal
  • the first audio component sends an ACK to the terminal in time slot N+1
  • the terminal can send a new audio data packet to be sent in time slot N+2.
  • the first audio component receives the Packet in the RX time slot
  • the second audio component receives the Packet in the RX time slot
  • the second audio component returns an ACK to the terminal in the free time slot in the time slot N
  • the first audio component NACK is sent to the terminal in the time slot N+1, and the terminal can retransmit the packet in the time slot N+2.
  • the first audio component receives the Packet in the RX time slot
  • the second audio component receives the Packet in the RX time slot
  • the second audio component returns NACK to the terminal in the free time slot in the time slot N
  • the first audio component ACK is sent to the terminal in the time slot N+1
  • the terminal can retransmit the Packet in the time slot N+2.
  • the first audio component receives the Packet in the RX time slot
  • the second audio component receives the Packet in the RX time slot
  • the second audio component returns NACK to the terminal in the free time slot of the time slot N
  • the first audio component NACK is sent to the terminal in the time slot N+1
  • the terminal can retransmit the packet in the time slot N+2.
  • the first audio component does not receive the packet in the RX time slot
  • the second audio component receives the packet in the RX time slot
  • the second audio component returns an ACK to the terminal in the free time slot of time slot N
  • the terminal can Packet is retransmitted in time slot N+2.
  • the first audio component receives the packet in the RX time slot, the second audio component does not receive the packet in the RX time slot, and then, the second audio component returns NACK to the terminal in the free time slot of time slot N, and the terminal can Packet terminals retransmitted in time slot N+2 Packets can be retransmitted in time slot N+2.
  • the first audio component receives the Packet in the RX time slot, the second audio component does not receive the Packet in the RX time slot, and then, the first audio component sends an ACK to the terminal in the time slot N+1. Packet is retransmitted in slot N+2.
  • the first audio component receives the packet in the RX time slot, the second audio component does not receive the packet in the RX time slot, and then, the first audio component sends a NACK to the terminal in the time slot N+1. Packet is retransmitted in slot N+2.
  • the first audio component does not receive the Packet in the RX time slot, the second audio component does not receive the Packet in the RX time slot, and the terminal may retransmit the Packet in the time slot N+2.
  • the terminal can control two audio components at the same time, for example, connect and control the first audio component and the second audio component, and then monitor and control the second audio component, for example.
  • the terminal can send a copy of the audio data, and then determine the second audio data packet sent to the first audio component according to the confirmation information sent by the two audio components.
  • the audio component and the second audio component can not only receive the same audio data, but also reduce the workload of the terminal.
  • the terminal may obtain the power information of the first audio component and/or the second audio component in real time, and according to the obtained power information, the first audio component and/or the second audio component When the power level is lower than the preset power threshold, if there is currently no audio data to be sent, a standby command is sent to the first audio component and/or the second audio component to enable the first audio component and/or the second audio component to enter standby mode.
  • the terminal may control the first audio component or the second audio component to stand by when the power of any one of the first audio component and the second audio component is lower than a preset power threshold, and may also control the two audio components All of them enter the standby state, so that when the power of the audio component is low, the audio component can be made to stand by, thereby saving the power of the audio component.
  • the terminal may control the sending time of the audio data to be transmitted, and send the sending time to the second audio component, so that the second audio component intermittently stands by.
  • the terminal when playing music, may set the sending time for sending the first audio data to time slot N, and before sending the first audio data, send a standby command carrying the sending time to the second communication link
  • the second audio component makes the second audio component stand by in the time slot where the terminal does not have audio data to be sent, stops the second audio component in the time slot where the terminal has audio data to be sent, enters the monitoring state, and changes
  • the second audio component can enter the intermittent standby state according to the transmission time of the terminal transmission, thereby saving power.
  • the terminal may acquire the power information of the first audio component and the second audio component in real time, and implement function interchange between the first audio component and the second audio component according to the obtained power information. For example, when the power difference between the second audio component and the first audio component is greater than the preset power difference, an active-standby switching instruction is sent to the first audio component and the second audio component.
  • the active-standby switching instruction is used to Instruct the first audio component to monitor the second communication link, and instruct the second audio component to receive the first audio data packet.
  • the first communication link that the terminal communicates with the first audio component is an ACL connection
  • the second communication link that the terminal communicates with the second audio component is a BLE connection
  • the first The connection mode of the communication link can be converted into a BLE connection mode
  • the connection mode of the second communication link can be converted into an ACL connection mode.
  • the terminal sends a first audio data packet to the second audio component through the second connection link, and the second audio data packet returns second confirmation information to the terminal through the second connection link.
  • the first audio component acquires the first audio data packet by monitoring the second communication link, and returns the first confirmation information of the first audio data packet to the terminal through the first connection link.
  • the functions of the first audio component and the second audio component can be interchanged, so that the first audio component and the second audio component can be reduced
  • the power difference between them reduces the situation where one of the audio components in the electronic device runs out too quickly.
  • the second confirmation information returned by the second audio component received by the terminal may be at least one message sent by occupying the first idle time slot; and/or may be occupying the second idle time slot At least one message sent.
  • the first idle time slot is an idle time slot in the first audio data packet transmission time slot
  • the second idle time slot is an idle time slot of the first confirmation information reception time slot.
  • the idle time slot here may be an unused time slot among the time slots for audio data transmission.
  • FIG. 3 shows a timing diagram of receiving and sending audio data according to an embodiment of the present disclosure.
  • the second audio component listens to the first audio data packet Packet sent by the terminal to the first audio component in the time slot N, and can send second confirmation information, such as ACK or NACK, to the terminal in the first free time slot in the time slot N
  • the second audio component may send second confirmation information, such as ACK or NACK, to the terminal in the second free time slot in time slot N+1.
  • the second audio component may send second confirmation information to the terminal in the first free time slot in time slot N, and send the second second message to the terminal again in the second free time slot in time slot N+1
  • the second audio component sends the second confirmation information to the terminal multiple times, which can increase the success rate of the terminal receiving the confirmation information.
  • N is an integer.
  • FIG. 4 shows an application scenario according to an embodiment of the present disclosure.
  • the terminal may be a sound source device 401, the first audio component may be a sound A402, and the second audio component may be a sound B403.
  • the user can use the sound source device 401 to play music, and listen to the music played by the sound source device 401 through the sound A402 and the sound B403.
  • the sound source device 401 may establish a communication connection with the audio A 402 through the first communication link 404, and the first communication link 404 may be a standard ACL connection.
  • the sound source device 401 may establish a communication connection with the speaker B403 through the second communication link 405, and the second communication link 405 may be a standard ACL or BLE connection.
  • the BLE connection method has the advantages of significantly reducing power consumption and cost within the same communication range, and can be applied to the second communication link 405 of the sound source device 401 and the audio B403 to reduce the power consumption and cost of the headset.
  • the sound source device 401 can send the link information of the first communication link 404 to the sound B 403, so that the sound B 403 can connect the connection according to the link information in the monitoring instruction. Link monitoring.
  • the sound source device 401 sends the first audio data packet to the sound A 402 through the first communication link 404.
  • the sound A 402 After receiving the first audio data, the sound A 402 returns the first confirmation information of the first audio data to the sound source device 401.
  • the sound B 403 listens to the first communication link 404 to obtain the first audio data packet, and sends the second confirmation information of the sound A to the sound source device 401 in the idle time slot.
  • the sound source device 401 After receiving the first confirmation information and the second confirmation information, the sound source device 401 determines whether both the first confirmation information and the second confirmation information are ACK. If both the first acknowledgment information and the second acknowledgment information are ACK, in the case where there is audio data to be sent, an audio data packet carrying the audio data to be sent can be sent to the sound A402 in the next transmission slot. Otherwise, the old packet may be retransmitted in the next transmission slot, that is, an audio data packet with the same content as the first audio data packet is sent to the sound A402. In this way, audio A402 and audio B403 can play audio data transmitted by the sound source device 401 at the same time.
  • FIG. 5 shows an application scenario according to an embodiment of the present disclosure.
  • the terminal may be a mobile phone 501
  • the first audio device may be a Bluetooth headset A502
  • the second audio source device may be a Bluetooth headset B503.
  • the user can use the mobile phone 501 to talk and answer through the Bluetooth headset A502 and the Bluetooth headset B503.
  • the mobile phone 501 may establish a communication connection with the Bluetooth headset A502 through the first communication link 504, and the first communication link 504 may be a standard ACL connection method and a synchronous oriented connection (SCO, Synchronous Connection Oriented) connection method.
  • the mobile phone 501 may establish a communication connection with the Bluetooth headset B503 through the second communication link 505, and the second communication link 505 may be a standard ACL or BLE connection.
  • the mobile phone 501 can send a monitoring instruction to the Bluetooth headset B503, and the monitoring instruction can carry the link information of the first communication link 504, so that the Bluetooth headset B503 can The link information in the monitoring instruction monitors the connection link.
  • the mobile phone 501 sends a first audio data packet to the Bluetooth headset A502 through the first communication link 504.
  • the Bluetooth headset A502 After receiving the first audio data, the Bluetooth headset A502 returns the first confirmation information of the first audio data to the mobile phone 501.
  • the Bluetooth headset B can obtain the first audio data packet by monitoring the first communication link 504, and send the second confirmation information of the first audio data to the mobile phone 501 in an idle time slot.
  • both the first confirmation information and the second confirmation information are ACK
  • the mobile phone 501 sends an audio data packet carrying the audio data to be sent, otherwise, the old packet is re-sent, that is, the audio with the same content as the first audio data packet is sent to the Bluetooth headset A502 data pack. In this way, the voice synchronization of the Bluetooth headset A502 and the Bluetooth headset B503 can be achieved.
  • FIG. 6 shows a flowchart of a wireless communication method according to an embodiment of the present disclosure, which is applied to a second audio component of an electronic device.
  • the method includes:
  • Step 601 Establish a second communication link, and communicate with the terminal according to the second communication link;
  • Step 602 Monitor the first audio data packet sent by the terminal to the first audio component of the electronic device through the first communication link;
  • Step 603 Send second confirmation information to the terminal according to the first audio data packet, so that the terminal performs data collaboration processing according to the first confirmation information sent by the first audio component and the second confirmation information.
  • connection manner of the first communication link and the second communication link is different, and the power consumption of the second communication link is less than the power consumption of the first communication link .
  • the method further includes:
  • the sending second confirmation information to the terminal according to the first audio data packet includes:
  • the first idle time slot is an idle time slot in a receiving time slot for receiving a first audio data packet
  • the second idle time slot is an idle time slot in a reception time slot in which the terminal receives the first confirmation information.
  • FIG. 7 shows a schematic diagram of a terminal 70 according to an embodiment of the present disclosure. As shown in FIG. 7, the terminal 70 includes:
  • the first communication module 71 is configured to establish a first communication link and communicate with the first audio component of the electronic device according to the first communication link;
  • the second communication module 72 is configured to establish a second communication link and communicate with the second audio component of the electronic device according to the second communication link;
  • the first transmission module 73 is configured to send a first audio data packet to the first audio component and receive first confirmation information fed back by the first audio component;
  • a second transmission module 74 configured to receive second confirmation information fed back by the second audio component after monitoring the terminal to send the first audio data packet
  • the execution module 75 is configured to perform data collaboration processing according to the first confirmation information and the second confirmation information.
  • connection manner of the first communication link and the second communication link is different, and the power consumption of the second communication link is less than the power consumption of the second communication link .
  • the execution module 75 includes:
  • a first judgment submodule configured to perform data retransmission when any one of the first confirmation information and the second confirmation information is NACK;
  • the first sending submodule is configured to send a second audio data packet to the first audio component; the content of the second audio data packet is consistent with the first audio data packet.
  • the execution module 75 includes:
  • a second judgment submodule configured to perform data retransmission without receiving the first confirmation information and/or the second confirmation information
  • the second sending submodule is configured to send a second audio data packet to the first audio component; the content of the second audio data packet is consistent with the first audio data packet.
  • the execution module 75 includes:
  • a third judgment submodule configured to continue data transmission when the first confirmation information and the second confirmation information are ACK;
  • the third sending submodule is configured to send the third audio data packet to the first audio component after the to-be-sent audio data packet sent by the first audio data packet is a third audio data packet.
  • the second transmission module 74 is further configured to send the link information of the first communication link to the second audio component, so that the second audio component according to the link The information monitors the first communication link.
  • the second transmission module 74 is further configured to: when the power difference between the second audio component and the first audio component is greater than a preset power difference
  • the first audio component and the second audio component send a master-slave switching instruction, and the master-slave switching instruction is used to instruct the first audio component to monitor the second communication link, and to indicate the first Two audio components receive the first audio data packet.
  • the second transmission module 74 is further configured to: when the power of the first audio component and/or the second audio component is lower than a preset power threshold, if it does not currently exist When the audio data is to be sent, a standby instruction is sent to the first audio component and/or the second audio component to make the first audio component and/or the second audio component enter a standby state.
  • FIG. 8 shows an audio component 80 of an electronic device according to an embodiment of the present disclosure.
  • the audio component 80 includes:
  • the communication module 81 is configured to establish a second communication link and communicate with the terminal according to the second communication link;
  • the monitoring module 82 is configured to monitor the first audio data packet sent by the terminal to the first audio component of the electronic device through the first communication link;
  • the sending module 83 is configured to send second confirmation information to the terminal according to the first audio data packet, so that the terminal performs data collaboration processing according to the first confirmation information sent by the first audio component and the second confirmation information .
  • connection manner of the first communication link and the second communication link is different, and the power consumption of the second communication link is less than the power consumption of the second communication link .
  • the monitoring module 82 is further configured to receive link information of the first communication link sent by the terminal, and monitor the first communication link according to the link information.
  • the sending module 83 is specifically configured to send the second confirmation information in the first idle time slot at least once; wherein, the first idle time slot is for receiving the first audio data packet. Idle time slots in time slots; and/or,
  • the second idle time slot is an idle time slot in a reception time slot in which the terminal receives the first confirmation information.
  • Fig. 9 is a block diagram of a device 900 for wireless communication according to an exemplary embodiment.
  • the device 900 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so on.
  • the device 900 may include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, a sensor component 914, ⁇ 916.
  • the processing component 902 generally controls the overall operations of the device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps in the above method.
  • the processing component 902 may include one or more modules to facilitate interaction between the processing component 902 and other components.
  • the processing component 902 may include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
  • the memory 904 is configured to store various types of data to support operation at the device 900. Examples of these data include instructions for any application or method operating on the device 900, contact data, phone book data, messages, pictures, videos, and so on.
  • the memory 904 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable and removable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable and removable Programmable read only memory
  • PROM programmable read only memory
  • ROM read only memory
  • magnetic memory flash memory
  • flash memory magnetic disk or optical disk.
  • the power supply component 906 provides power to various components of the device 900.
  • the power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.
  • the multimedia component 908 includes a screen between the device 900 and the user that provides an output interface.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or sliding action, but also detect the duration and pressure related to the touch or sliding operation.
  • the multimedia component 908 includes a front camera and/or a rear camera. When the device 900 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 910 is configured to output and/or input audio signals.
  • the audio component 910 includes a microphone (MIC), and when the device 900 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal.
  • the received audio signal may be further stored in the memory 904 or transmitted via the communication component 916.
  • the audio component 910 further includes a speaker for outputting audio signals.
  • the I/O interface 912 provides an interface between the processing component 902 and a peripheral interface module.
  • the peripheral interface module may be a keyboard, a click wheel, or a button. These buttons may include, but are not limited to: home button, volume button, start button, and lock button.
  • the sensor assembly 914 includes one or more sensors for providing the device 900 with status assessments in various aspects.
  • the sensor component 914 can detect the on/off state of the device 900, and the relative positioning of the components, for example, the component is the display and keypad of the device 900, and the sensor component 914 can also detect the position change of the device 900 or a component of the device 900 The presence or absence of user contact with the device 900, the orientation or acceleration/deceleration of the device 900, and the temperature change of the device 900.
  • the sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • the sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor assembly 914 may further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • the communication component 916 is configured to facilitate wired or wireless communication between the device 900 and other devices.
  • the device 900 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof.
  • the communication component 916 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 916 further includes a near field communication (NFC) module to facilitate short-range communication.
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • the apparatus 900 may be one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component is implemented to perform the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A gate array
  • controller microcontroller, microprocessor or other electronic component is implemented to perform the above method.
  • a non-volatile computer-readable storage medium is also provided, for example, a memory 904 including computer program instructions, which can be executed by the processor 920 of the device 900 to complete the above method.
  • the present disclosure may be a system, method, and/or computer program product.
  • the computer program product may include a computer-readable storage medium loaded with computer-readable program instructions for causing the processor to implement various aspects of the present disclosure.
  • the computer-readable storage medium may be a tangible device that can hold and store instructions used by the instruction execution device.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), and erasable programmable read only memory (EPROM (Or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a computer on which instructions are stored
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • SRAM static random access memory
  • CD-ROM compact disk read-only memory
  • DVD digital versatile disk
  • memory stick floppy disk
  • mechanical encoding device such as a computer on which instructions are stored
  • the convex structure in the hole card or the groove and any suitable combination of the above.
  • the computer-readable storage medium used here is not to be interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, optical pulses through fiber optic cables), or through wires The transmitted electrical signal.
  • the computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded to an external computer or external storage device through a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • the network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing/processing device .
  • the computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or in one or more programming languages Source code or object code written in any combination.
  • the programming languages include object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages.
  • Computer readable program instructions can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer and partly on a remote computer, or completely on the remote computer or server carried out.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider to pass the Internet connection).
  • electronic circuits such as programmable logic circuits, field programmable gate arrays (FPGAs), or programmable logic arrays (PLA), are personalized by utilizing the state information of computer-readable program instructions.
  • Computer-readable program instructions are executed to implement various aspects of the present disclosure.
  • These computer-readable program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, or other programmable data processing device, thereby producing a machine that causes these instructions to be executed by the processor of a computer or other programmable data processing device A device that implements the functions/actions specified in one or more blocks in the flowchart and/or block diagram is generated.
  • the computer-readable program instructions may also be stored in a computer-readable storage medium. These instructions cause the computer, programmable data processing apparatus, and/or other devices to work in a specific manner. Therefore, the computer-readable medium storing the instructions includes An article of manufacture that includes instructions to implement various aspects of the functions/acts specified in one or more blocks in the flowchart and/or block diagram.
  • the computer-readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment, so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , So that the instructions executed on the computer, other programmable data processing device, or other equipment implement the functions/acts specified in one or more blocks in the flowchart and/or block diagram.
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of an instruction, and the module, a program segment, or a part of an instruction contains one or more executable instructions for implementing a prescribed logical function.
  • the functions noted in the blocks may also occur in an order different from that noted in the figures. For example, two consecutive blocks can actually be executed in parallel, and sometimes they can also be executed in reverse order, depending on the functions involved.
  • each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented with a dedicated hardware-based system that performs specified functions or actions Or, it can be realized by a combination of dedicated hardware and computer instructions.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Multimedia (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本公开涉及一种无线通信方法、终端、音频组件、装置及存储介质。其中,该方法包括:建立第一通信链路,根据所述第一通信链路与电子设备的第一音频组件进行通信;建立第二通信链路,根据所述第二通信链路与所述电子设备的第二音频组件进行通信;向所述第一音频组件发送第一音频数据包,接收所述第一音频组件反馈的第一确认信息;接收所述第二音频组件监听所述终端发送第一音频数据包后反馈的第二确认信息;根据所述第一确认信息和所述第二确认信息执行数据协同处理。采用本公开实施例,减少主蓝牙耳机或者终端的工作负荷。

Description

一种无线通信方法、终端、音频组件、装置及存储介质 技术领域
本公开涉及通信技术领域,尤其涉及一种无线通信方法、终端、音频组件、装置及存储介质。
背景技术
随着通信技术的发展,蓝牙通信作为一种短距离无线通信方式,得到了广泛的应用。蓝牙通信可以实现固定设备、移动设备和个人域网之间的短距离数据交换,可以使数据交换在具有蓝牙功能的设备之间随时随地进行。由于蓝牙通信的特点,可以将蓝牙技术应用在耳机上。
目前,蓝牙耳机逐渐由单耳蓝牙耳机转向双耳蓝牙耳机。但是,在双蓝牙耳机的应用过程中,如果通过主蓝牙耳机控制辅蓝牙耳机的方式,实现双蓝牙耳机功能,会使主蓝牙耳机负荷过重;如果通过终端分别将数据发送至两个蓝牙耳机的方式实现双蓝牙耳机功能,会占用过多的通信资源。
发明内容
有鉴于此,本公开提出了一种无线通信方法、终端、音频组件、装置及存储介质,可以减少主蓝牙耳机或者终端的工作负荷。
根据本公开的一方面,提供了一种无线通信方法,所述方法包括:
建立第一通信链路,根据所述第一通信链路与电子设备的第一音频组件进行通信;
建立第二通信链路,根据所述第二通信链路与所述电子设备的第二音频组件进行通信;
向所述第一音频组件发送第一音频数据包,接收所述第一音频组件反馈的第一确认信息;
接收所述第二音频组件监听所述终端发送第一音频数据包后反馈的第二确认信息;
根据所述第一确认信息和所述第二确认信息执行数据协同处理。
在一种可能的实现方式中,所述根据所述第一确认信息和所述第二确认信息执行数据协同处理,包括:
在所述第一确认信息和所述第二确认信息中任一信息为NACK的情况下进行数据重传;
向所述第一音频组件发送第二音频数据包;
所述第二音频数据包的内容与所述第一音频数据包一致。
在一种可能的实现方式中,所述根据所述第一确认信息和所述第二确认信息执行数据协同处理,包括:
在未接收到所述第一确认信息和/或所述第二确认信息的情况下进行数据重传;
向所述第一音频组件发送第二音频数据包;
所述第二音频数据包的内容与所述第一音频数据包一致。
在一种可能的实现方式中,所述根据所述第一确认信息和/或所述第二确认信息执行数据协同处理,包括:
在所述第一确认信息与所述第二确认信息为ACK的情况下继续进行数据发送;
接续所述第一音频数据包发送的待发音频数据包为第三音频数据包,向所述第一音频组件发送所述第三音频数据包。
在一种可能的实现方式中,所述建立第二通信链路,根据所述第二通信链路与所述电子设备的第二音频组件进行通信之后,还包括:
向所述第二音频组件发送第一通信链路的链路信息,使所述第二音频组件根据所述链路信息对所述第一通信链路进行监听。
在一种可能的实现方式中,所述第二确认信息,为占有第一空闲时隙所发出的至少一次信息;其中,所述第一空闲时隙为第一音频数据包发送时隙中的空闲时隙;和/或,
所述第二确认信息,为占有第二空闲时隙所发出的至少一次信息;其中,所述第二空闲时隙为第一确认信息接收时隙的空闲时隙。
在一种可能的实现方式中,所述方法还包括:
在所述第二音频组件与所述第一音频组件之间的电量差值大于预设电量差值时,向所述第一音频组件和所述第二音频组件发送主备切换指令,所述主备切换指令用于指示所述第一音频组件对所述第二通信链路进行监听,以及,指示所述第二音频组件接收所述第一音频数据包。
在一种可能的实现方式中,所述方法还包括:
在所述第一音频组件和/或所述第二音频组件的电量低于预设电量阈值时,如果当前不存在待发送音频数据,则向所述第一音频组件和/或所述第二音频组件发送待机指令,使所述第一音频组件和/或所述第二音频组件进入待机状态。
在一种可能的实现方式中,所述第一通信链路与所述第二通信链路的连接方式不同,所述第二通信链路的功耗小于所述第一通信链路的功耗。
根据本公开的另一方面,提供了一种无线通信方法,应用于电子设备的第二音频组件,所述方法包括:
建立第二通信链路,根据所述第二通信链路与终端进行通信;
监听所述终端通过第一通信链路向电子设备的第一音频组件发送的第一音频数据包;
根据所述第一音频数据包向所述终端发送第二确认信息,使所述终端根据第一音频组件发送的第一确认信息以及所述第二确认信息执行数据协同处理。
在一种可能的实现方式中,所述建立第二通信链路,根据所述第二通信链路与终端进行通信之后,还包括:
接收终端发送的第一通信链路的链路信息,根据所述链路信息对所述第一通信链路进行监听。
在一种可能的实现方式中,所述根据所述第一音频数据包向所述终端发送第二确认信息,包括:
至少一次在第一空闲时隙发送所述第二确认信息;其中,所述第一空闲时隙为接收第一音频数据包接收时隙中的空闲时隙;和/或,
至少一次在第二空闲时隙发送所述第二确认信息;其中,所述第二空闲时隙为终端接收第一确认信息接收时隙中的空闲时隙。
在一种可能的实现方式中,所述第一通信链路与所述第二通信链路的连接方式不同,所述第二通信链路的功耗小于所述第一通信链路的功耗。
根据本公开的另一方面,提供了一种终端,所述终端包括:
第一通信模块,用于建立第一通信链路,根据所述第一通信链路与电子设备的第一音频组件进行通信;
第二通信模块,用于建立第二通信链路,根据所述第二通信链路与所述电子设备的第二音频组件 进行通信;
第一传输模块,用于向所述第一音频组件发送第一音频数据包,接收所述第一音频组件反馈的第一确认信息;
第二传输模块,用于接收所述第二音频组件监听所述终端发送第一音频数据包后反馈的第二确认信息;
执行模块,用于根据所述第一确认信息和所述第二确认信息执行数据协同处理。
在一种可能的实现方式中,所述执行模块包括:
第一判断子模块,用于在所述第一确认信息和所述第二确认信息中任一信息为NACK的情况下进行数据重传;
第一发送子模块,用于向所述第一音频组件发送第二音频数据包;
所述第二音频数据包的内容与所述第一音频数据包一致。
在一种可能的实现方式中,所述执行模块包括:
第二判断子模块,用于在未接收到所述第一确认信息和/或所述第二确认信息的情况下进行数据重传;
第二发送子模块,用于向所述第一音频组件发送第二音频数据包;所述第二音频数据包的内容与所述第一音频数据包一致。
在一种可能的实现方式中,所述执行模块包括:
第三判断子模块,用于在所述第一确认信息与所述第二确认信息为ACK的情况下继续进行数据发送;
第三发送子模块,用于接续所述第一音频数据包发送的待发音频数据包为第三音频数据包,向所述第一音频组件发送所述第三音频数据包。
在一种可能的实现方式中,所述第二传输模块还用于,向所述第二音频组件发送第一通信链路的链路信息,使所述第二音频组件根据所述链路信息对所述第一通信链路进行监听。
在一种可能的实现方式中,所述第二确认信息,为占有第一空闲时隙所发出的至少一次信息;其中,所述第一空闲时隙为第一音频数据包发送时隙中的空闲时隙;和/或,
所述第二确认信息,为占有第二空闲时隙所发出的至少一次信息;其中,所述第二空闲时隙为第一确认信息接收时隙的空闲时隙。
在一种可能的实现方式中,所述第二传输模块还用于,在所述第二音频组件与所述第一音频组件之间的电量差值大于预设电量差值时,向所述第一音频组件和所述第二音频组件发送主备切换指令,所述主备切换指令用于指示所述第一音频组件对所述第二通信链路进行监听,以及,指示所述第二音频组件接收所述第一音频数据包。
在一种可能的实现方式中,所述第二传输模块还用于,在所述第一音频组件和/或所述第二音频组件的电量低于预设电量阈值时,如果当前不存在待发送音频数据,则向所述第一音频组件和/或所述第二音频组件发送待机指令,使所述第一音频组件和/或所述第二音频组件进入待机状态。
在一种可能的实现方式中,所述第一通信链路与所述第二通信链路的连接方式不同,所述第二通信链路的功耗小于所述第一通信链路的功耗。
根据本公开的另一方面,提供了一种电子设备的音频组件,所述音频组件包括:
通信模块,用于建立第二通信链路,根据所述第二通信链路与终端进行通信;
监听模块,用于监听所述终端通过第一通信链路向电子设备的第一音频组件发送的第一音频数据包;
发送模块,用于根据所述第一音频数据包向所述终端发送第二确认信息,使所述终端根据第一音频组件发送的第一确认信息以及所述第二确认信息执行数据协同处理。
在一种可能的实现方式中,所述监听模块还用于,接收终端发送的第一通信链路的链路信息,根据所述链路信息对所述第一通信链路进行监听。
在一种可能的实现方式中,所述发送模块具体用于,
至少一次在第一空闲时隙发送所述第二确认信息;其中,所述第一空闲时隙为接收第一音频数据包接收时隙中的空闲时隙;和/或,
至少一次在第二空闲时隙发送所述第二确认信息;其中,所述第二空闲时隙为终端接收第一确认信息接收时隙中的空闲时隙。
在一种可能的实现方式中,所述第一通信链路与所述第二通信链路的连接方式不同,所述第二通信链路的功耗小于所述第一通信链路的功耗。
根据本公开的另一方面,提供了一种无线通信装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行上述方法。
根据本公开的另一方面,提供了一种非易失性计算机可读存储介质,其上存储有计算机程序指令,其中,所述计算机程序指令被处理器执行时实现上述方法。
本公开实施例的终端可以建立第一通信链路,根据第一通信链路与电子设备的第一音频组件进行通信,还可以建立第二通信链路,根据第二通信链路与电子设备的第二音频组件进行通信,然后向第一音频组件发送第一音频数据包,接收所述第一音频组件反馈的第一确认信息,接收所述第二音频组件监听所述终端发送第一音频数据包后反馈的第二确认信息,再根据所述第一确认信息和所述第二确认信息执行数据协同处理。这样,终端可以同时对两个音频组件进行控制,例如,对第一音频组件和第二音频组件进行连接控制,再例如对第二音频组件进行监听控制。在终端与两个音频组件进行无线通信的过程中,终端可以发送一份音频数据使两个音频组件的音频数据同步,节省终端的传输资源。此外,音频组件通过终端进行控制,可以减少音频组件的工作负荷,节省音频组件的电能损耗。
根据下面参考附图对示例性实施例的详细说明,本公开的其它特征及方面将变得清楚。
附图说明
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了本公开的示例性实施例、特征和方面,并且用于解释本公开的原理。
图1示出了根据本公开一实施例的一种无线通信方法的流程图。
图2示出了根据本公开一实施例的终端与第一音频组件和第二音频组件数据传输的示意图。
图3示出了根据本公开一实施例的音频数据收发的时序示意图。
图4示出了根据本公开一实施例的无线通信方法的一应用场景的示意图。
图5示出了根据本公开一实施例的无线通信方法的一应用场景的示意图。
图6示出了根据本公开一实施例的一种无线通信方法的流程图。
图7示出了根据本公开一实施例的一种终端的示意图。
图8示出了根据本公开一实施例的一种音频组件的示意图。
图9示出了根据本公开一实施例的一种无线通信装置的结构图。
具体实施方式
以下将参考附图详细说明本公开的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。
另外,为了更好的说明本公开,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。
本公开实施例提供的无线通信方案,终端通过第一通信链路建立与第一音频组件的通信连接,通过第二通信链路建立与第二音频组件的通信连接。然后,终端通过第一通信链路向第一音频组件发送第一音频数据包。第一音频组件可以接收终端发送的第一音频数据包,并根据第一音频数据包向终端返回第一确认信息。第二音频组件可以通过监听终端获取第一音频数据包,并根据第一音频数据包向终端返回第二确认信息包。终端接收第一确认信息包和第二确认包,然后可以根据第一确认信息包的接收时间和第二确认信息包的接收时间确定向第一音频组件发送的第二音频数据包,对第一音频组件和第二音频组件执行数据协同处理,使第一音频组件和第二音频组件的音频数据同步。这样,终端可以同时对两个音频组件进行控制,例如,对第一音频组件和第二音频组件进行连接控制,再例如对第二音频组件进行监听控制。在终端与两个音频组件进行无线通信的过程中,终端可以发送一份音频数据,然后根据两个音频组件发送的确认信息确定向第一音频组件发送的第二音频数据包,这样,第一音频组件和第二音频组件不仅可以接收相同的音频数据,还可以减少终端工作量。
在相关技术中,如果需要多个音频组件接收相同的音频数据,终端可以分别向多个音频组件发送音频数据。这种方式中,由于终端需要向多个音频组件发送音频数据,多个音频数据需要占用终端的多个传输资源,在传输资源有限的情况下,会存在传输资源紧张或者传输延迟的现象,影响音频数据传输。在一些相关技术中,终端可以向第一音频组件发送音频数据,然后第一音频组件可以将接收的音频数据发送值第二音频组件,由第一音频组件对第二音频组件进行控制。这种方式中,由于第一音频组件需要对第二音频组件进行控制,会造成第一音频组件的负荷过重,使得第一音频组件消耗处理资源与电能。
有鉴于此,本公开实施例提供了一种无线通信方案,一方面,终端可以发送一份音频数据使电子设备中的音频组件得到同步的音频数据,节省终端的传输资源。另一方面,可以减少音频组件的负荷,有效减少音频组件的工作时间,降低音频组件的功耗,延长音频组件的工作时间。本公开实施例中的终端设备可以是音频组件,如智能手机、智能手表、计算机、平板电脑等。第一音频组件和第二音频组件可以是音频播放设备,如音响、蓝牙耳机等。
图1示出根据本公开一实施例的一种无线通信方法的流程图。如图1所示,该方法包括:
步骤101,建立第一通信链路,根据所述第一通信链路与电子设备的第一音频组件进行通信。
这里,电子设备可以是音频播放设备,如,无线耳机、无线音响等音频播放设备。电子设备可以包括第一音频组件和第二音频组件,第一音频组件和第二音频组件在播放音频数据时,可以相互配合,实现音频数据的同步播放。终端可以通过预设的无线通信方式与电子设备的第一音频组件建立第一通信链路,并根据第一通信链路与第一音频组件进行通信。例如,终端可以通过标准异步无连接(ACL,Asynchronous Connectionless)建立与第一音频组件的无线通信连接。ACL是一种基于蓝牙技术的通信连接方式,可以用于传输分组数据。
步骤102,建立第二通信链路,根据所述第二通信链路与所述电子设备的第二音频组件进行通信。
这里,终端可以通过预设的无线通信方式与电子设备的第二音频组件建立第二通信链路,并根据第二通信链路与第二音频组件进行通信。第二通信链路的连接方式可以与第一通信链路的连接方式相同,例如,终端可以通过标准ACL分别建立与第一音频组件、第二音频组件的无线通信连接。
在一种可能的实现方式中,第一通信链路与第二通信链路的连接方式不同,为了减小通信过程中的功耗,第二通信链路的功耗可以小于第二通信链路的功耗。举例来说,终端可以通过标准ACL与第一音频组件进行通信连接,可以通过蓝牙低能耗(BLE,Bluetooth Low Energy)通信方式与第二音频组件进行通信连接。BLE通信方式具有在同等通信距离范围内可以显著降低功耗和成本的优点,从而可以减少第二音频组件的功耗和成本。
步骤103,向所述第一音频组件发送第一音频数据包,接收所述第一音频组件反馈的第一确认信息。
这里,终端在存在待发送音频数据时,可以通过第一通信链路向第一音频组件发送第一音频数据包。第一音频组件在接收第一音频数据包之后,可以根据第一音频数据包向终端返回第一确认信息。终端接收第一音频组件反馈的第一确认信息。
步骤104,接收所述第二音频组件监听所述终端发送第一音频数据包后反馈的第二确认信息。
这里,终端在与第二音频组件建立通信连接之后,可以向第二音频组件发送第一通信链路的链路信息,使第二音频组件根据链路信息对第一通信链路进行监听。第二音频组件在获取第一通信链路的链路信息之后,可以主动对第一通信链路进行监听,从而可以及时获取终端发送的第一音频数据包。如果第二组件获取终端发送的第一音频数据包,可以根据第一音频数据包向终端发送第二确认信息。终端接收第二音频组件反馈的第二确认信息。
在一种可能的实现方式中,第二音频组件可以被动地对第一通信链路进行监听,如根据终端的监听指令对第一通信链路进行监听。举例来说,终端可以在当前的通信场景满足预设通信条件时,向第二音频组件发送监听指令,使第二音频组件根据监听指令开始对第一通信链路进行监听。预设通信条件包括以下任一条件:第二音频组件的负载大于被动监听负载阈值;在所配置预设时间内存在待发送音频数据。
当第二音频组件的负载大于被动监听负载阈值,表明第二音频组件当前的负载过大,若主动对第一通信链路进行监听,那么会加重第二音频组件的负载,进而可以根据终端的监听指令开始对第一通信链路进行监听,以减轻第二音频组件的负载。相应地,当终端在所配置预设时间内存在待发送音频 数据时,可以通知第二音频组件对第一通信链路进行监听,减少第二音频组件的工作负担。
步骤105,根据所述第一确认信息和所述第二确认信息执行数据协同处理。
这里,终端在获取第一确认信息和第二确认信息之后,可以根据第一确认信息和第二确认信息执行数据协同处理。终端在执行数据协同处理时,可以根据第一确认信息和第二确认信息判断是否需要进行数据重传,以实现第一音频组件和第二音频组件的音频数据的同步播放。
终端在根据第一确认信息和第二确认信息判断是否需要进行数据重传时,可以存在以下几种情况:
1)终端收到的第一确认信息和第二确认信息中存在NACK(否定回答,Negative ACKnowledgment);
2)终端未接收到第一确认信息和第二确认信息中的任一信息;
3)终端收到的第一确认信息和第二确认信息均为ACK(肯定回答,ACKnowledgment)。
在情况1)中,即在第一确认信息和第二确认信息中任一信息为NACK的情况下可以进行数据重传。如果第一确认信息和第二确认信息中任一信息为NACK,那么第一音频组件或者第二音频组件接收的数据包可能存在错误,或者,第一音频组件或者第二音频组件接收的数据包均为错误的数据包,终端可以向第一音频组件发送第二音频数据包,第二音频数据包的内容与第一音频数据包一致,实现音频数据重传。
在情况2)中,即在未接收到第一确认信息和/或第二确认信息的情况下可以进行数据重传。终端向第一音频组件发送第二音频数据包,第二音频数据包的内容与第一音频数据包一致,实现音频数据重传。
在情况3)中,即在第一确认信息与第二确认信息均为ACK的情况下可以继续进行数据发送。终端可以通过第一通信链路向第一音频组件发送第三音频数据包,第三音频数据包可以是接续第一音频数据包发送的待发音频数据包。
需要说明的是,第一音频数据包可以是终端向第一音频组件发送的原始的旧数据包;第二音频数据包可以是终端进行数据重传时重新发送的数据包,第二音频数据包的内容与第一音频数据包是相同的;第三音频数据包可以是在第一音频数据包之后,终端存在的待发送的新数据包。
结合上述3中情况,图2示出根据本公开一实施例的终端与第一音频组件和第二音频组件数据传输的示意图。
终端可以在时隙N通过第一通信链路向第一音频组件发送第一音频数据包Packet。图2中TX表示发送数据的时隙,RX表示接受数据的时隙。在201中,在时隙N中,终端在TX时隙发送Packet,第一音频组件在RX时隙接收Packet,第二音频组件在RX时隙接收Packet,然后,第二音频组件在时隙N中的空闲时隙向终端返回ACK,第一音频组件在时隙N+1中向终端发送ACK,终端可以在时隙N+2中发送待发送的新的音频数据包。在202中,第一音频组件在RX时隙接收Packet,第二音频组件在RX时隙接收Packet,然后,第二音频组件在时隙N中的空闲时隙向终端返回ACK,第一音频组件在时隙N+1中向终端发送NACK,终端可以在时隙N+2中重传Packet。在203中,第一音频组件在RX时隙接收Packet,第二音频组件在RX时隙接收Packet,然后,第二音频组件在时隙N中的空闲时隙向终端返回NACK,第一音频组件在时隙N+1中向终端发送ACK,终端可以在时隙N+2中重传Packet。在204中,第一音频组件在RX时隙接收Packet,第二音频组件在RX时隙接收Packet,然后,第二音频组件在时隙N中的空闲时隙向终端返回NACK,第一音频组件在时隙N+1中向终端发送NACK,终端可以在时隙N+2中重 传Packet。在205中,第一音频组件在RX时隙未接收到Packet,第二音频组件在RX时隙接收Packet,然后,第二音频组件在时隙N中的空闲时隙向终端返回ACK,终端可以在时隙N+2中重传Packet。在206中,第一音频组件在RX时隙接收Packet,第二音频组件在RX时隙未接收到Packet,然后,第二音频组件在时隙N中的空闲时隙向终端返回NACK,终端可以在时隙N+2中重传Packet终端可以在时隙N+2中重传Packet。在207中,第一音频组件在RX时隙接收Packet,第二音频组件在RX时隙未接收到Packet,然后,第一音频组件在时隙N+1中向终端发送ACK,终端可以在时隙N+2中重传Packet。在208中,第一音频组件在RX时隙接收Packet,第二音频组件在RX时隙未接收到Packet,然后,第一音频组件在时隙N+1中向终端发送NACK,终端可以在时隙N+2中重传Packet。在202中,第一音频组件在RX时隙未接收到Packet,第二音频组件在RX时隙未接收到Packet,终端可以在时隙N+2中重传Packet。
通过本公开实施例,终端可以同时对两个音频组件进行控制,例如,对第一音频组件和第二音频组件进行连接控制,再例如对第二音频组件进行监听控制。在终端与两个音频组件进行无线通信的过程中,终端可以发送一份音频数据,然后根据两个音频组件发送的确认信息确定向第一音频组件发送的第二音频数据包,这样,第一音频组件和第二音频组件不仅可以接收相同的音频数据,还可以减少终端工作量。
在一种可能的实现方式中,终端可以实时获取第一音频组件和/或第二音频组件的电量信息,并根据获取的电量信息,在第一音频组件和/或所述第二音频组件的电量低于预设电量阈值时,如果当前不存在待发送音频数据,则向第一音频组件和/或第二音频组件发送待机指令,使第一音频组件和/或所述第二音频组件进入待机状态。这里,终端可以在第一音频组件和第二音频组件中任一音频组件的电量低于预设电量阈值时,控制第一音频组件或者第二音频组件进行待机状态,还可以控制两个音频组件均进入待机状态,从而在音频组件的电量较低时,可以使音频组件待机,从而节省音频组件的电量。或者,终端可以控制待传输音频数据的发送时间,并将发送时间发送给第二音频组件,使第二音频组件间歇性进行待机。例如,终端在播放音乐时,可以将发送第一音频数据的发送时间设定为时隙N,并在发送第一音频数据之前,通过第二通信链路将携带有发送时间的待机指令发送给第二音频组件,使第二音频组件在终端不存在待发送音频数据的时隙中进行待机状态,使第二音频组件在终端存在待发送音频数据的时隙中停止待机,进入监听状态,换句话说,第二音频组件可以根据终端传输的发送时间,进入间歇性待机状态,从而节省电量。
在一种可能的实现方式中,终端可以实时获取第一音频组件和第二音频组件的电量信息,并根据获取的电量信息对第一音频组件和第二音频组件实现功能互换。举例来说,在第二音频组件与第一音频组件之间的电量差值大于预设电量差值时,向第一音频组件和第二音频组件发送主备切换指令,主备切换指令用于指示第一音频组件对第二通信链路进行监听,以及,指示第二音频组件接收第一音频数据包。例如,如果终端与第一音频组件通信的第一通信链路为ACL连接方式,终端与第二音频组件通信的第二通信链路为BLE连接方式,那么在执行主备切换指令之后,第一通信链路的连接方式可以转换为BLE连接方式,第二通信链路的连接方式可以转换为ACL连接方式。终端通过第二连接链路向第二音频组件发送第一音频数据包,第二音频数据包通过第二连接链路向终端返回第二确认信息。第一音频组件通过监听第二通信链路的方式获取第一音频数据包,并通过第一连接链路向终端返回第一音频数据包的第一确认信息。这样,可以在第一音频组件和第二音频组件之间的电量差过大时,实现 第一音频组件和第二音频组件的功能互换,从而可以减小第一音频组件和第二音频组件之间的电量差,减少电子设备中其中一个音频组件的电量耗尽过快的情况发生。
在一种可能的实现方式中,终端接收的第二音频组件返回的第二确认信息,可以是占有第一空闲时隙所发出的至少一次信息;和/或,可以是占有第二空闲时隙所发出的至少一次信息。其中,第一空闲时隙为第一音频数据包发送时隙中的空闲时隙,第二空闲时隙为第一确认信息接收时隙的空闲时隙。这里的空闲时隙可以是音频数据传输的时隙中未被利用的时隙。图3示出根据本公开一实施例的音频数据收发的时序示意图。
第二音频组件在时隙N中监听终端发送给第一音频组件的第一音频数据包Packet,在时隙N中的第一空余时隙中可以向终端发送第二确认信息,如ACK或NACK,或者,第二音频组件可以在时隙N+1中的第二空余时隙中,向终端发送第二确认信息,如ACK或NACK。或者,第二音频组件可以在时隙N中的第一空余时隙中可以向终端发送第二确认信息,并且在时隙N+1中的第二空余时隙中,再次向终端发送第二确认信息,第二音频组件多次向终端发送第二确认信息,可以增加终端接收确认信息的成功率。其中,N为整数。
图4示出根据本公开实施例的一应用场景。终端可以是音源设备401,第一音频组件可以是音响A402,第二音频组件可以是音响B403。用户可以使用音源设备401播放音乐,并通过音响A402和音响B403对音源设备401播放的音乐进行收听。
在本应用场景中,音源设备401可以通过第一通信链路404与音响A402建立通信连接,第一通信链路404可以是标准ACL连接方式。音源设备401可以通过第二通信链路405与音箱B403建立通信连接,第二通信链路405可以是标准ACL或BLE连接方式。BLE连接方式具有在同等通信范围内可以显著降低功耗和成本等优点,可以应用在音源设备401与音响B403的第二通信链路405,以减少耳机的功耗和成本。音源设备401分别与音响A402和音响B403建立无线连接之后,音源设备401可以向而音响B403发送第一通信链路404的链路信息,从而音响B403可以根据监听指令中的链路信息对该连接链路进行监听。音源设备401通过第一通信链路404向音响A402发送第一音频数据包,音响A402接收到第一音频数据之后,向音源设备401返回第一音频数据的第一确认信息。在406中,音响B403监听第一通信链路404获取第一音频数据包,在空闲时隙中向音源设备401发送音响A的第二确认信息。音源设备401接收第一确认信息和第二确认信息之后,判断第一确认信息和第二确认信息是否均为ACK。如果第一确认信息和第二确认信息均为ACK,在存在待发送音频数据的情况下,可以在下一传输时隙中向音响A402发送携带有待发送音频数据的音频数据包。否则,可以在下一传输时隙中重新发送旧包,即向音响A402发送内容与第一音频数据包相同的音频数据包。通过这种方式可以实现音响A402与音响B403同时播放音源设备401传输的音频数据。
图5示出根据本公开实施例的一应用场景。终端可以是手机501,第一音频设备可以是蓝牙耳机A502,第二音源设备可以是蓝牙耳机B503。用户可以使用手机501通话,并通过蓝牙耳机A502和蓝牙耳机B503进行接听。
在本应用场景中,手机501可以通过第一通信链路504与蓝牙耳机A502建立通信连接,第一通信链路504可以是标准ACL连接方式以及同步定向连接(SCO,Synchronous Connection Oriented)连接方式。手机501可以通过第二通信链路505与蓝牙耳机B503建立通信连接,第二通信链路505可以是标准 ACL或BLE连接方式。手机501分别与蓝牙耳机A502和蓝牙耳机B503建立无线连接之后,手机501可以向而蓝牙耳机B503发送监听指令,监听指令中可以携带第一通信链路504的链路信息,从而蓝牙耳机B503可以根据监听指令中的链路信息对该连接链路进行监听。手机501通过第一通信链路504向蓝牙耳机A502发送第一音频数据包,蓝牙耳机A502接收到第一音频数据之后,向手机501返回第一音频数据的第一确认信息。在506中,蓝牙耳机B通过对第一通信链路504的监听可以获取第一音频数据包,在空闲时隙中向手机501发送第一音频数据的第二确认信息。如果第一确认信息和第二确认信息均为ACK,手机501发送携带有待发送音频数据的音频数据包,否则,重新发送旧包,即向蓝牙耳机A502发送内容与第一音频数据包相同的音频数据包。通过这种方式可以实现蓝牙耳机A502与蓝牙耳机B503的语音同步。
图6示出根据本公开一实施例的一种无线通信方法的流程图,应用于电子设备的第二音频组件,所述方法包括:
步骤601,建立第二通信链路,根据所述第二通信链路与终端进行通信;
步骤602,监听所述终端通过第一通信链路向电子设备的第一音频组件发送的第一音频数据包;
步骤603,根据所述第一音频数据包向所述终端发送第二确认信息,使所述终端根据第一音频组件发送的第一确认信息以及所述第二确认信息执行数据协同处理。
在一种可能的实现方式中,所述第一通信链路与所述第二通信链路的连接方式不同,所述第二通信链路的功耗小于所述第一通信链路的功耗。
在一种可能的实现方式中,所述建立第二通信链路,根据所述第二通信链路与终端进行通信之后,还包括:
接收终端发送的第一通信链路的链路信息,根据所述链路信息对所述第一通信链路进行监听。
在一种可能的实现方式中,所述根据所述第一音频数据包向所述终端发送第二确认信息,包括:
至少一次在第一空闲时隙发送所述第二确认信息;其中,所述第一空闲时隙为接收第一音频数据包接收时隙中的空闲时隙;和/或,
至少一次在第二空闲时隙发送所述第二确认信息;其中,所述第二空闲时隙为终端接收第一确认信息接收时隙中的空闲时隙。
第二音频组件与终端的无线通信过程可以参照上述终端的无线通信过程,这里不再赘述。
图7示出根据本公开一实施例的一种终端70的示意图。如图7所示,该终端70包括:
第一通信模块71,用于建立第一通信链路,根据所述第一通信链路与电子设备的第一音频组件进行通信;
第二通信模块72,用于建立第二通信链路,根据所述第二通信链路与所述电子设备的第二音频组件进行通信;
第一传输模块73,用于向所述第一音频组件发送第一音频数据包,接收所述第一音频组件反馈的第一确认信息;
第二传输模块74,用于接收所述第二音频组件监听所述终端发送第一音频数据包后反馈的第二确认信息;
执行模块75,用于根据所述第一确认信息和所述第二确认信息执行数据协同处理。
在一种可能的实现方式中,所述第一通信链路与所述第二通信链路的连接方式不同,所述第二通信链路的功耗小于所述第二通信链路的功耗。
在一种可能的实现方式中,所述执行模块75包括:
第一判断子模块,用于在所述第一确认信息和所述第二确认信息中任一信息为NACK的情况下进行数据重传;
第一发送子模块,用于向所述第一音频组件发送第二音频数据包;所述第二音频数据包的内容与所述第一音频数据包一致。
在一种可能的实现方式中,所述执行模块75包括:
第二判断子模块,用于在未接收到所述第一确认信息和/或所述第二确认信息的情况下进行数据重传;
第二发送子模块,用于向所述第一音频组件发送第二音频数据包;所述第二音频数据包的内容与所述第一音频数据包一致。
在一种可能的实现方式中,所述执行模块75包括:
第三判断子模块,用于在所述第一确认信息与所述第二确认信息为ACK的情况下继续进行数据发送;
第三发送子模块,用于接续所述第一音频数据包发送的待发音频数据包为第三音频数据包,向所述第一音频组件发送所述第三音频数据包。
在一种可能的实现方式中,所述第二传输模块74还用于,向所述第二音频组件发送第一通信链路的链路信息,使所述第二音频组件根据所述链路信息对所述第一通信链路进行监听。
在一种可能的实现方式中,所述第二传输模块74还用于,在所述第二音频组件与所述第一音频组件之间的电量差值大于预设电量差值时,向所述第一音频组件和所述第二音频组件发送主备切换指令,所述主备切换指令用于指示所述第一音频组件对所述第二通信链路进行监听,以及,指示所述第二音频组件接收所述第一音频数据包。
在一种可能的实现方式中,所述第二传输模块74还用于,在所述第一音频组件和/或所述第二音频组件的电量低于预设电量阈值时,如果当前不存在待发送音频数据,则向所述第一音频组件和/或所述第二音频组件发送待机指令,使所述第一音频组件和/或所述第二音频组件进入待机状态。
图8示出根据本公开一实施例的一种电子设备的音频组件80,所述音频组件80包括:
通信模块81,用于建立第二通信链路,根据所述第二通信链路与终端进行通信;
监听模块82,用于监听所述终端通过第一通信链路向电子设备的第一音频组件发送的第一音频数据包;
发送模块83,用于根据所述第一音频数据包向所述终端发送第二确认信息,使所述终端根据第一音频组件发送的第一确认信息以及所述第二确认信息执行数据协同处理。
在一种可能的实现方式中,所述第一通信链路与所述第二通信链路的连接方式不同,所述第二通信链路的功耗小于所述第二通信链路的功耗。
在一种可能的实现方式中,所述监听模块82还用于,接收终端发送的第一通信链路的链路信息,根据所述链路信息对所述第一通信链路进行监听。
在一种可能的实现方式中,所述发送模块83具体用于至少一次在第一空闲时隙发送所述第二确认信息;其中,所述第一空闲时隙为接收第一音频数据包接收时隙中的空闲时隙;和/或,
至少一次在第二空闲时隙发送所述第二确认信息;其中,所述第二空闲时隙为终端接收第一确认信息接收时隙中的空闲时隙。
图9是根据一示例性实施例示出的一种用于无线通信的装置900的框图。例如,装置900可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图8,装置900可以包括以下一个或多个组件:处理组件902,存储器904,电源组件906,多媒体组件908,音频组件910,输入/输出(I/O)的接口912,传感器组件914,以及通信组件916。
处理组件902通常控制装置900的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件902可以包括一个或多个处理器920来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。例如,处理组件902可以包括多媒体模块,以方便多媒体组件908和处理组件902之间的交互。
存储器904被配置为存储各种类型的数据以支持在装置900的操作。这些数据的示例包括用于在装置900上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件906为装置900的各种组件提供电力。电源组件906可以包括电源管理系统,一个或多个电源,及其他与为装置900生成、管理和分配电力相关联的组件。
多媒体组件908包括在所述装置900和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件908包括一个前置摄像头和/或后置摄像头。当装置900处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件910被配置为输出和/或输入音频信号。例如,音频组件910包括一个麦克风(MIC),当装置900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器904或经由通信组件916发送。在一些实施例中,音频组件910还包括一个扬声器,用于输出音频信号。
I/O接口912为处理组件902和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件914包括一个或多个传感器,用于为装置900提供各个方面的状态评估。例如,传感器组件914可以检测到装置900的打开/关闭状态,组件的相对定位,例如所述组件为装置900的显示器和小键盘,传感器组件914还可以检测装置900或装置900一个组件的位置改变,用户与装置900接触的存 在或不存在,装置900方位或加速/减速和装置900的温度变化。传感器组件914可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件914还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件914还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件916被配置为便于装置900和其他设备之间有线或无线方式的通信。装置900可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件916经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件916还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器904,上述计算机程序指令可由装置900的处理器920执行以完成上述方法。
本公开可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通 过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。
附图中的流程图和框图显示了根据本公开的实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,也不限于所披露的各实施例。在不偏离所说明的各实施例的范围的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中技术的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。

Claims (28)

  1. 一种无线通信方法,其特征在于,所述方法包括:
    建立第一通信链路,根据所述第一通信链路与电子设备的第一音频组件进行通信;
    建立第二通信链路,根据所述第二通信链路与所述电子设备的第二音频组件进行通信;
    向所述第一音频组件发送第一音频数据包,接收所述第一音频组件反馈的第一确认信息;
    接收所述第二音频组件监听终端发送第一音频数据包后反馈的第二确认信息;
    根据所述第一确认信息和所述第二确认信息执行数据协同处理。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述第一确认信息和所述第二确认信息执行数据协同处理,包括:
    在所述第一确认信息和所述第二确认信息中任一信息为NACK的情况下进行数据重传;
    向所述第一音频组件发送第二音频数据包;
    所述第二音频数据包的内容与所述第一音频数据包一致。
  3. 根据权利要求1所述的方法,其特征在于,所述根据所述第一确认信息和所述第二确认信息执行数据协同处理,包括:
    在未接收到所述第一确认信息和/或所述第二确认信息的情况下进行数据重传;
    向所述第一音频组件发送第二音频数据包;
    所述第二音频数据包的内容与所述第一音频数据包一致。
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述第一确认信息和/或所述第二确认信息执行数据协同处理,包括:
    在所述第一确认信息与所述第二确认信息为ACK的情况下继续进行数据发送;
    接续所述第一音频数据包发送的待发音频数据包为第三音频数据包,向所述第一音频组件发送所述第三音频数据包。
  5. 根据权利要求1所述的方法,其特征在于,所述建立第二通信链路,根据所述第二通信链路与所述电子设备的第二音频组件进行通信之后,还包括:
    向所述第二音频组件发送第一通信链路的链路信息,使所述第二音频组件根据所述链路信息对所述第一通信链路进行监听。
  6. 根据权利要求1所述的方法,其特征在于,
    所述第二确认信息,为占有第一空闲时隙所发出的至少一次信息;其中,所述第一空闲时隙为第一音频数据包发送时隙中的空闲时隙;和/或,
    所述第二确认信息,为占有第二空闲时隙所发出的至少一次信息;其中,所述第二空闲时隙为第一确认信息接收时隙的空闲时隙。
  7. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在所述第二音频组件与所述第一音频组件之间的电量差值大于预设电量差值时,向所述第一音频组件和所述第二音频组件发送主备切换指令,所述主备切换指令用于指示所述第一音频组件对所述第二通信链路进行监听,以及,指示所述第二音频组件接收所述第一音频数据包。
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在所述第一音频组件和/或所述第二音频组件的电量低于预设电量阈值时,如果当前不存在待发 送音频数据,则向所述第一音频组件和/或所述第二音频组件发送待机指令,使所述第一音频组件和/或所述第二音频组件进入待机状态。
  9. 根据权利要求1所述的方法,其特征在于,所述第一通信链路与所述第二通信链路的连接方式不同,所述第二通信链路的功耗小于所述第一通信链路的功耗。
  10. 一种无线通信方法,其特征在于,应用于电子设备的第二音频组件,所述方法包括:
    建立第二通信链路,根据所述第二通信链路与终端进行通信;
    监听所述终端通过第一通信链路向电子设备的第一音频组件发送的第一音频数据包;
    根据所述第一音频数据包向所述终端发送第二确认信息,使所述终端根据第一音频组件发送的第一确认信息以及所述第二确认信息执行数据协同处理。
  11. 根据权利要求10所述的方法,其特征在于,所述建立第二通信链路,根据所述第二通信链路与终端进行通信之后,还包括:
    接收终端发送的第一通信链路的链路信息,根据所述链路信息对所述第一通信链路进行监听。
  12. 根据权利要求10所述的方法,其特征在于,所述根据所述第一音频数据包向所述终端发送第二确认信息,包括:
    至少一次在第一空闲时隙发送所述第二确认信息;其中,所述第一空闲时隙为接收第一音频数据包接收时隙中的空闲时隙;和/或,
    至少一次在第二空闲时隙发送所述第二确认信息;其中,所述第二空闲时隙为终端接收第一确认信息接收时隙中的空闲时隙。
  13. 根据权利要求10所述的方法,其特征在于,所述第一通信链路与所述第二通信链路的连接方式不同,所述第二通信链路的功耗小于所述第一通信链路的功耗。
  14. 一种终端,其特征在于,所述终端包括:
    第一通信模块,用于建立第一通信链路,根据所述第一通信链路与电子设备的第一音频组件进行通信;
    第二通信模块,用于建立第二通信链路,根据所述第二通信链路与所述电子设备的第二音频组件进行通信;
    第一传输模块,用于向所述第一音频组件发送第一音频数据包,接收所述第一音频组件反馈的第一确认信息;
    第二传输模块,用于接收所述第二音频组件监听所述终端发送第一音频数据包后反馈的第二确认信息;
    执行模块,用于根据所述第一确认信息和所述第二确认信息执行数据协同处理。
  15. 根据权利要求14所述的终端,其特征在于,所述执行模块包括:
    第一判断子模块,用于在所述第一确认信息和所述第二确认信息中任一信息为NACK的情况下进行数据重传;
    第一发送子模块,用于向所述第一音频组件发送第二音频数据包;
    所述第二音频数据包的内容与所述第一音频数据包一致。
  16. 根据权利要求14所述的终端,其特征在于,所述执行模块包括:
    第二判断子模块,用于在未接收到所述第一确认信息和/或所述第二确认信息的情况下进行数据重传;
    第二发送子模块,用于向所述第一音频组件发送第二音频数据包;所述第二音频数据包的内容与所述第一音频数据包一致。
  17. 根据权利要求14所述的终端,其特征在于,所述执行模块包括:
    第三判断子模块,用于在所述第一确认信息与所述第二确认信息为ACK的情况下继续进行数据发送;
    第三发送子模块,用于接续所述第一音频数据包发送的待发音频数据包为第三音频数据包,向所述第一音频组件发送所述第三音频数据包。
  18. 根据权利要求14所述的终端,其特征在于,所述第二传输模块还用于,向所述第二音频组件发送第一通信链路的链路信息,使所述第二音频组件根据所述链路信息对所述第一通信链路进行监听。
  19. 根据权利要求14所述的终端,其特征在于,
    所述第二确认信息,为占有第一空闲时隙所发出的至少一次信息;其中,所述第一空闲时隙为第一音频数据包发送时隙中的空闲时隙;和/或,
    所述第二确认信息,为占有第二空闲时隙所发出的至少一次信息;其中,所述第二空闲时隙为第一确认信息接收时隙的空闲时隙。
  20. 根据权利要求14所述的终端,其特征在于,所述第二传输模块还用于,在所述第二音频组件与所述第一音频组件之间的电量差值大于预设电量差值时,向所述第一音频组件和所述第二音频组件发送主备切换指令,所述主备切换指令用于指示所述第一音频组件对所述第二通信链路进行监听,以及,指示所述第二音频组件接收所述第一音频数据包。
  21. 根据权利要求14所述的终端,其特征在于,所述第二传输模块还用于,在所述第一音频组件和/或所述第二音频组件的电量低于预设电量阈值时,如果当前不存在待发送音频数据,则向所述第一音频组件和/或所述第二音频组件发送待机指令,使所述第一音频组件和/或所述第二音频组件进入待机状态。
  22. 根据权利要求14所述的终端,其特征在于,所述第一通信链路与所述第二通信链路的连接方式不同,所述第二通信链路的功耗小于所述第一通信链路的功耗。
  23. 一种电子设备的音频组件,其特征在于,所述音频组件包括:
    通信模块,用于建立第二通信链路,根据所述第二通信链路与终端进行通信;
    监听模块,用于监听所述终端通过第一通信链路向电子设备的第一音频组件发送的第一音频数据包;
    发送模块,用于根据所述第一音频数据包向所述终端发送第二确认信息,使所述终端根据第一音频组件发送的第一确认信息以及所述第二确认信息执行数据协同处理。
  24. 根据权利要求23所述的音频组件,其特征在于,所述监听模块还用于,接收终端发送的第一通信链路的链路信息,根据所述链路信息对所述第一通信链路进行监听。
  25. 根据权利要求23所述的音频组件,其特征在于,所述发送模块具体用于,
    至少一次在第一空闲时隙发送所述第二确认信息;其中,所述第一空闲时隙为接收第一音频数据 包接收时隙中的空闲时隙;和/或,
    至少一次在第二空闲时隙发送所述第二确认信息;其中,所述第二空闲时隙为终端接收第一确认信息接收时隙中的空闲时隙。
  26. 根据权利要求23所述的音频组件,其特征在于,所述第一通信链路与所述第二通信链路的连接方式不同,所述第二通信链路的功耗小于所述第一通信链路的功耗。
  27. 一种无线通信装置,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为执行权利要求1至9或权利要求10至13中任意一项所述的方法。
  28. 一种非易失性计算机可读存储介质,其上存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器执行时实现权利要求1至9或权利要求10至13中任意一项所述的方法。
PCT/CN2019/072469 2018-12-29 2019-01-21 一种无线通信方法、终端、音频组件、装置及存储介质 WO2020133614A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/320,952 US11425769B2 (en) 2018-12-29 2019-01-21 Wireless communication method, terminal, audio component, device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811644882.XA CN109547992A (zh) 2018-12-29 2018-12-29 一种无线通信方法、终端、音频组件、装置及存储介质
CN201811644882.X 2018-12-29

Publications (1)

Publication Number Publication Date
WO2020133614A1 true WO2020133614A1 (zh) 2020-07-02

Family

ID=65831529

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/072469 WO2020133614A1 (zh) 2018-12-29 2019-01-21 一种无线通信方法、终端、音频组件、装置及存储介质

Country Status (3)

Country Link
US (1) US11425769B2 (zh)
CN (1) CN109547992A (zh)
WO (1) WO2020133614A1 (zh)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102632536B1 (ko) * 2019-03-05 2024-02-02 삼성전자주식회사 블루투스 네트워크 환경에서 응답 메시지를 전송하기 위한 전자 장치 및 그에 관한 방법
CN110234100B (zh) * 2019-06-28 2022-09-30 重庆物奇科技有限公司 一种无线数据传输方法、设备及系统
CN110234101B (zh) * 2019-06-28 2022-09-30 重庆物奇科技有限公司 一种可靠传输数据的无线传输方法、设备及系统
CN110266444A (zh) * 2019-07-08 2019-09-20 展讯通信(上海)有限公司 数据传输方法、装置及设备
KR20210020541A (ko) * 2019-08-16 2021-02-24 삼성전자주식회사 블루투스 네트워크 환경에서 데이터를 재전송하기 위한 전자 장치 및 그에 관한 방법
KR20210020542A (ko) * 2019-08-16 2021-02-24 삼성전자주식회사 블루투스 네트워크 환경에서 다중 링크 지원 방법 및 이를 위한 전자 장치
CN110944311B (zh) * 2019-11-06 2023-07-28 泰凌微电子(上海)股份有限公司 一种分配无线耳机的时隙的方法及采用该方法的无线耳机
CN110879695B (zh) * 2019-11-22 2021-03-26 北京声智科技有限公司 音频播放控制方法、装置及存储介质
CN110719651B (zh) * 2019-12-05 2020-05-26 展讯通信(上海)有限公司 数据传输方法及装置
CN111132377B (zh) * 2019-12-27 2022-03-22 昱兆微电子科技(上海)有限公司 一种终端与耳机的数据传输方法和系统
CN111479319B (zh) * 2020-03-30 2022-06-14 昆山泰芯微电子有限公司 一种通信方法以及装置
CN111556476B (zh) * 2020-04-17 2021-01-19 炬力(珠海)微电子有限公司 蓝牙tws设备间的数据传输方法及蓝牙tws设备
CN111901730B (zh) * 2020-06-22 2022-05-24 芯原微电子(上海)股份有限公司 Tws耳机交互方法及系统、tws耳机
CN111787098B (zh) * 2020-06-30 2022-10-04 歌尔科技有限公司 一种耳机升级方法、装置及一种耳机和存储介质
CN112446223B (zh) * 2020-11-23 2024-09-20 维沃移动通信有限公司 翻译方法、装置及电子设备
CN114727371A (zh) * 2021-01-06 2022-07-08 Oppo广东移动通信有限公司 通信方法及装置、设备、存储介质
CN113225691B (zh) * 2021-04-02 2022-07-08 北京小米移动软件有限公司 音频处理方法、装置及存储介质
CN115226080A (zh) * 2021-04-21 2022-10-21 Oppo广东移动通信有限公司 音频数据接收、发送方法、音频接收装置和音频发送装置
CN113490268A (zh) * 2021-06-28 2021-10-08 泰凌微电子(上海)股份有限公司 音频数据无线传输方法和系统
CN113411712A (zh) * 2021-06-29 2021-09-17 紫优科技(深圳)有限公司 一种基于智能耳机的双耳分离模式实现方法及系统
CN113795016A (zh) * 2021-07-07 2021-12-14 广州安凯微电子股份有限公司 高可靠性的蓝牙多播音频通信方法、系统及tws耳机
WO2023050128A1 (zh) * 2021-09-29 2023-04-06 华为技术有限公司 数据传输方法和装置
CN113660580A (zh) * 2021-10-20 2021-11-16 翱捷科技(深圳)有限公司 耳机通信方法和系统、一种耳机及一种电子设备
WO2023177883A1 (en) * 2022-03-17 2023-09-21 Bose Corporation Wireless data packet acknowledgment schemes
CN114915878A (zh) * 2022-04-28 2022-08-16 泰凌微电子(上海)股份有限公司 一种耳机通信方法、系统、装置、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080242229A1 (en) * 2007-03-28 2008-10-02 Agere Systems, Inc. Wireless Earphone
CN106792454A (zh) * 2016-12-19 2017-05-31 建荣半导体(深圳)有限公司 蓝牙通信方法、通信装置、通信系统及电子设备
CN108337074A (zh) * 2018-06-22 2018-07-27 恒玄科技(上海)有限公司 高可靠性的蓝牙耳机无线通信方法
CN108419228A (zh) * 2018-02-09 2018-08-17 恒玄科技(上海)有限公司 一种适于蓝牙耳机的无线通信方法

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2420176B (en) 2004-11-15 2009-11-04 Memco Ltd Safety sensing system for a powered door system
US10812423B2 (en) * 2017-03-15 2020-10-20 Naver Corporation Method, apparatus, system, and non-transitory computer readable medium for chatting on mobile device using an external device
KR102350498B1 (ko) * 2017-07-31 2022-01-14 삼성전자주식회사 외부 장치를 통해 오디오 신호를 재생하기 위한 전자 장치 및 그의 동작 방법
CN107894881A (zh) * 2017-10-18 2018-04-10 恒玄科技(上海)有限公司 蓝牙耳机的主从连接切换、通话监听和麦克切换的方法
CN108429949A (zh) * 2018-03-21 2018-08-21 恒玄科技(上海)有限公司 一种适于蓝牙耳机的蓝牙音频混合通信方法
CN108958696A (zh) * 2018-07-02 2018-12-07 Oppo广东移动通信有限公司 主从耳机切换控制方法及相关产品
CN108769432B (zh) * 2018-07-27 2020-02-11 Oppo广东移动通信有限公司 主耳机切换方法以及移动终端
CN109089330B (zh) * 2018-08-23 2021-02-05 维沃移动通信有限公司 一种音频数据传输方法及终端
US20200329052A1 (en) * 2019-04-12 2020-10-15 Qualcomm Incorporated System and method for aligning a packet counter in short-range wireless communications systems

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080242229A1 (en) * 2007-03-28 2008-10-02 Agere Systems, Inc. Wireless Earphone
CN106792454A (zh) * 2016-12-19 2017-05-31 建荣半导体(深圳)有限公司 蓝牙通信方法、通信装置、通信系统及电子设备
CN108419228A (zh) * 2018-02-09 2018-08-17 恒玄科技(上海)有限公司 一种适于蓝牙耳机的无线通信方法
CN108337074A (zh) * 2018-06-22 2018-07-27 恒玄科技(上海)有限公司 高可靠性的蓝牙耳机无线通信方法

Also Published As

Publication number Publication date
CN109547992A (zh) 2019-03-29
US20210337610A1 (en) 2021-10-28
US11425769B2 (en) 2022-08-23

Similar Documents

Publication Publication Date Title
WO2020133614A1 (zh) 一种无线通信方法、终端、音频组件、装置及存储介质
WO2019144387A1 (zh) 信息配置方法及装置、时频位置的确定方法及装置和基站
US10237901B2 (en) Method and apparatus for connecting with controlled smart device, and storage medium
EP3989611B1 (en) Audio playing method, device and storage medium
WO2017092371A1 (zh) 低功耗蓝牙设备的连接参数更新方法及装置
WO2019183854A1 (zh) 寻呼同步指示方法及装置、寻呼同步方法及装置和基站
WO2019095304A1 (zh) 混合自动重传请求反馈指示、反馈方法及装置和基站
EP4114023A1 (en) Inter-device multimedia content playback continuing method
EP3917181A1 (en) Method and device for data transmission, and storage medium
WO2019095296A1 (zh) 混合自动重传请求反馈指示、反馈方法及装置和基站
US10827455B1 (en) Method and apparatus for sending a notification to a short-range wireless communication audio output device
CN105578391B (zh) 信息处理方法、装置、系统及终端设备
TW201540042A (zh) 遙控器裝置、通話裝置、通話系統及通話方法
KR102252248B1 (ko) 무선충전 통신방법, 장치, 디바이스, 프로그램 및 저장매체
WO2019213962A1 (zh) 寻呼同步方法及装置
WO2021013196A1 (zh) 一种同时响应的方法及设备
WO2021046674A1 (zh) 数据处理方法、装置、电子设备和计算机可读存储介质
WO2019028730A1 (zh) 信息生成方法及装置、信号发送方法及装置
WO2019237360A1 (zh) 确定上下行切换点的方法及装置
WO2024055494A1 (zh) 基于蓝牙耳机的通话方法、装置及存储介质
JP2018503989A (ja) 情報処理方法、装置、プログラム、及び記録媒体
WO2019174047A1 (zh) 系统消息请求停止方法及装置、用户设备和基站
CN112702718A (zh) 一种通信方法、装置、设备及存储介质
US11516434B1 (en) Routing visual content from different camera systems to different applications during video call
WO2020097846A1 (zh) 同步信号块的配置信息的广播、接收方法和装置

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19903197

Country of ref document: EP

Kind code of ref document: A1