WO2024041189A1 - Wireless audio/video apparatus and wireless communication method - Google Patents

Wireless audio/video apparatus and wireless communication method Download PDF

Info

Publication number
WO2024041189A1
WO2024041189A1 PCT/CN2023/103756 CN2023103756W WO2024041189A1 WO 2024041189 A1 WO2024041189 A1 WO 2024041189A1 CN 2023103756 W CN2023103756 W CN 2023103756W WO 2024041189 A1 WO2024041189 A1 WO 2024041189A1
Authority
WO
WIPO (PCT)
Prior art keywords
router
wireless
wireless audio
audio
access point
Prior art date
Application number
PCT/CN2023/103756
Other languages
French (fr)
Chinese (zh)
Inventor
童伟峰
陈俊
张亮
Original Assignee
恒玄科技(上海)股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 恒玄科技(上海)股份有限公司 filed Critical 恒玄科技(上海)股份有限公司
Publication of WO2024041189A1 publication Critical patent/WO2024041189A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to a wireless audio/video device and a wireless communication method.
  • WiFi-based wireless multimedia transmission protocols can be used to push audio data on smart devices to speakers that support the protocol for playback, for a better audio-visual experience.
  • Airplay protocol developed by Apple as an example.
  • This protocol can be used to push audio data on Apple iPhones and iPads (hereinafter referred to as smart devices) to speakers that support AirPlay for playback.
  • speakers that support AirPlay are mainly used in indoor wireless LAN environments.
  • the speakers and smart devices need to be connected to the same wireless router (sometimes also called a WiFi access point integrated on the router).
  • the router is needed to establish the network that the AirPlay protocol relies on.
  • Wireless LAN Dependence on routers limits usage scenarios.
  • users may move to wireless LANs established by different routers, and need to reconfigure the WiFi network for the speakers for different routers, which increases user inconvenience.
  • a wireless audio/video device that supports a WiFi-based wireless multimedia transmission protocol and is configured to communicate with a smart device supporting the WiFi-based wireless multimedia transmission protocol.
  • the wireless audio/video device includes a first system-on-chip, The first system-on-chip is configured to: after the smart device is connected to a router, receive configuration information from the router of the smart device, wherein the router is required to establish the WiFi-based wireless multimedia transmission protocol.
  • Dependent wireless local area network connecting to the router based on the configuration information of the router, receiving audio/video data from the smart device or cloud server via the router according to the WiFi-based wireless multimedia transmission protocol; and determining the According to the availability of the router, when it is detected that the router becomes unavailable, the local soft access point created according to the configuration information of the router is turned on, and the local soft access point is opened according to the WiFi-based wireless multimedia transmission protocol.
  • the soft access point receives audio/video data directly from the smart device.
  • a wireless communication method for a wireless audio/video device may include the following steps.
  • a wireless audio/video device is provided, which supports a WiFi-based wireless multimedia transmission protocol and is configured to communicate with a smart device supporting the WiFi-based wireless multimedia transmission protocol.
  • the wireless audio/video device receives configuration information from the router of the smart device, where the router is needed to establish the WiFi-based wireless multimedia transmission protocol on which the of wireless LAN.
  • the wireless audio/video device is connected to the router based on the configuration information of the router, and receives audio/video data from the smart device or cloud server via the router according to the WiFi-based wireless multimedia transmission protocol. .
  • the availability of the router can be detected.
  • the wireless audio/video device turns on a local soft access point created according to the configuration information of the router. , directly receiving audio/video data from the smart device via the enabled soft access point according to the WiFi-based wireless multimedia transmission protocol.
  • wireless audio/video device and wireless communication method while the wireless audio/video device is carried and moved freely by the user, available routers can be prioritized to share information from smart devices with low power consumption, stability and convenience. audio/video data, and when the router becomes unavailable, the wireless audio/video device itself can be relied on to directly connect to the smart device. Without the need for a complicated network configuration process, the audio/video data from the smart device can be stably and conveniently continued to be shared. During the entire process of free movement, users can maintain a good audio-visual experience.
  • Figure 1(a) shows a schematic diagram of communication between a wireless audio/video device and a smart device in a first mode according to an embodiment of the present application
  • Figure 1(b) shows a schematic diagram of communication between a wireless audio/video device and a smart device in the second mode according to an embodiment of the present application
  • FIG. 2 shows a schematic diagram of a processing process performed by a wireless audio/video device according to an embodiment of the present application
  • Figure 3 shows a structural diagram of a system-on-chip of a wireless audio/video device according to an embodiment of the present application
  • Figure 4 shows a schematic diagram of a first example of a wireless communication process between a speaker (an example of a wireless audio/video device) and a mobile phone (an example of a smart device) according to an embodiment of the present application;
  • Figure 5 shows a schematic diagram of a second example of a wireless communication process between a pair of earphones (an example of a wireless audio/video device) and a mobile phone according to an embodiment of the present application;
  • FIG. 6 shows a schematic diagram of a third example of a wireless communication process between an in-ear headset (an example of a wireless audio/video device) and a mobile phone according to an embodiment of the present application;
  • FIG. 7 shows a schematic diagram of a fourth example of a wireless communication process between an in-ear earphone (an example of a wireless audio/video device) and a mobile phone according to an embodiment of the present application;
  • Figure 8 shows a flow chart of a wireless communication method for a wireless audio/video device according to an embodiment of the present application
  • Figure 9 shows a schematic diagram of a wireless kit including a wireless audio/video device and a charging box according to an embodiment of the present application.
  • Figure 10 shows a schematic diagram of a wireless communication method performed by a wireless audio/video device and a charging box according to an embodiment of the present application.
  • first”, second and third in this application are only intended to make descriptive distinctions and do not imply limitations on quantity or sequence, nor are they intended to limit the expressions immediately following the expression “first”. “,””second” and “third” after the “second” and “third” after the difference in the physical properties of the components, devices and systems.
  • a “first system on a chip” may include a system implemented on a single chip, or may include system(s) implemented on multiple chips.
  • FIG. 1(a) uses a speaker as an example of the wireless audio/video device 100 for illustration, but the present application is not limited thereto.
  • the wireless audio/video device 100 may include but is not limited to speakers, wireless earphones, various devices (such as smart TVs, smart glasses, displays) carrying speakers or video playback components (such as display components), and the like.
  • the wireless audio/video device 100 supports a WiFi-based wireless multimedia transmission protocol and is configured to communicate with a smart device 200 that supports the WiFi-based wireless multimedia transmission protocol.
  • a mobile phone is used as an example of the smart device 200 in FIG. 1(a)
  • the smart device 200 is not limited thereto and may include but is not limited to personal PCs, mobile phones, portable audio players, portable game consoles, tablets, and smart wearable devices. (such as smart watches, etc.).
  • the WiFi-based wireless multimedia transmission protocol may include any one of the DLNA protocol, the AirPlay protocol, the Miracast protocol, and improved versions of protocols based thereon.
  • the AirPlay protocol was developed by Apple. It can wirelessly transmit pictures, audio, and videos on iOS devices such as iPhone, iPad, and iPod touch to audio/video playback devices that support the AirPlay protocol through WiFi.
  • DLNA was first proposed by Sony, Intel, Microsoft, etc., and its full name is DIGITAL LIVING NETWORK ALLIANCE. It aims to solve the interconnection and interoperability of various electronic devices (such as but not limited to the above-mentioned wireless audio/video device 100 and smart device 200), so that such as photos, Video and music content can be shared among the above devices.
  • the Miracast protocol was developed by the Wi-Fi Alliance in 2012 and is a wireless display protocol based on Wi-Fi direct. Electronic devices that support this protocol can share video images wirelessly. For example, mobile phones can use the Miracast protocol to wirelessly play videos or photos directly on TVs or other devices.
  • the wireless audio/video device 100 may include a first system-on-chip 101 configured to share audio/video content from the smart device 200 .
  • various components such as the processing unit 101a, memory 101b, WiFi communication module 101c, BLE communication module 101d, codec, etc., as shown in Figure 2, can be implemented through SOC (system on chip), such as Implemented as a first system-on-chip 101.
  • SOC system on chip
  • various RISC (reduced instruction set computer) processor IPs purchased from ARM, etc. can be used as SOC processing
  • the unit 101a (and the communication module, etc.) is used to perform corresponding functions, so that it can be implemented as an embedded system.
  • IP Internet Protocol
  • modules such as but not limited to memory, various communication modules (such as WiFi communication module 101c, BLE communication module 101d, etc.), codecs, caches, etc. Devices and so on.
  • chip manufacturers can also develop customized versions of these modules based on off-the-shelf IP.
  • other components such as the antenna, sensor component 101e, speaker 101f, microphone 101g, etc. can be externally connected to the IP.
  • Users can implement various communication modules, codecs, etc. by building ASICs (Application Specific Integrated Circuits) based on purchased IP or self-developed modules to reduce power consumption and costs.
  • ASICs Application Specific Integrated Circuits
  • users can also use FPGA (Field Programmable Gate Array) to implement various communication modules, codecs, etc., which can be used to verify the stability of the hardware design.
  • FPGA Field Programmable Gate Array
  • buffers can usually be equipped to temporarily store the data generated during processing.
  • the first system-on-chip 101 may take the following steps to perform wireless communication.
  • the first system-on-chip 101 may receive configuration information of the router 300 from the smart device 200 (step 201).
  • the router 300 is needed to establish a wireless local area network on which the WiFi-based wireless multimedia transmission protocol relies.
  • the configuration information of the router 300 may include the network name and password of the router 300 .
  • the configuration information of the router 300 may include the Service Set Identifier (SSID for short), the Basic Service Set Identifier (BSSID for short), the media access control (BSSID) of the wireless router 300 that needs to be connected. Media Access Control (MAC) address, key and other information.
  • the smart device 200 capable of connecting to the router 300 knows the configuration information of the router 300, so that the configuration information can be sent to the first system-on-chip 101. This process is also called a network distribution process.
  • the first system-on-chip 101 may be connected to the router 300 based on the configuration information of the router 300, and according to the WiFi-based wireless multimedia transmission protocol, receive data from the smart device 200 or Audio/video data from a cloud server (not shown).
  • the router 300 works wirelessly and serves as an information exchange hub in a wireless local area network.
  • the networking role defined by the WiFi-based protocol is called an access point (AP).
  • AP access point
  • the router 300 is integrated with a WiFi access point and is used as a WiFi access point.
  • the router 300 is available (or the connection status is good)
  • try to connect to the router 300 to exchange the shared information from the smart device via the router 300. 200 or cloud server audio/video data so that the available router 300 can be fully utilized to share audio/video data stably and conveniently with low power consumption.
  • the first system-on-chip 101 can determine the availability of the router 300.
  • the router 300 When detecting that the router 300 becomes unavailable, open a local soft connection created according to the configuration information of the router 300.
  • the entry point 102 directly receives audio/video data from the smart device 200 via the enabled soft access point 102 according to the WiFi-based wireless multimedia transmission protocol.
  • the first system-on-chip 101 can determine the availability of the router 300 by determining whether it can continue to connect to the router 300 , and can also learn the connection status between the smart device 200 and the router 300 by communicating with the smart device 200 . As shown in FIG.
  • the so-called local soft access point 102 means that the WiFi access point is implemented in software and integrated on the wireless audio/video device 100, that is, the wireless audio/video device 100 is configured through software so that it can be used as a WiFi access point. Access Point.
  • the first system-on-chip 101 can dynamically monitor the availability of the router 300 and rely on the wireless audio/video device 100 itself (without relying on other relay components) to connect to the smart device 200 when the router 300 becomes unavailable.
  • the smart device 200 can automatically connect to the soft access point without performing a complex network configuration process on the wireless audio/video device 100. 102, continue to share and transmit audio/video data stably and conveniently, allowing users to maintain a good audio-visual experience throughout the entire process of free movement.
  • steps 201-203 are not necessarily executed in the order and number of times shown in Figure 2, but can be executed alternately.
  • the execution order of steps 201-202 and step 203 can also be exchanged without affecting the logic of each other. Specifically, after step 203, if the detection router 300 becomes available, that is, the first system-on-chip 101 can connect to the router 300 based on the current configuration information, the soft access point 102 will no longer be turned on, and the software will be restored as required.
  • the WiFi-based wireless multimedia transmission protocol receives audio/video data from the smart device 200 or the cloud server via the router 300, thereby saving the power consumption of the wireless audio/video device 100 until the router 300 becomes unavailable again.
  • the wireless audio/video device 100 consumes its own energy and computing resources to turn on the soft access point 102 only when the router 300 cannot perform its duties as a WiFi access point.
  • the soft access point 102 includes a WiFi hotspot, has the same configuration information as the router 300, and can not only be used to connect the smart device 200 to obtain audio/video data, but also can be used to obtain audio/video data when needed. Instead of the router 300, it is used to establish a wireless local area network on which the WiFi-based wireless multimedia transmission protocol relies.
  • the smart device 200 connected to the router 300 is the smart device 200 connected to the soft access point 102, which is only an example.
  • the smart device 200 connected to the router 300 may be different from the smart device 200 connected to the soft access point 102 . That is to say, after the wireless audio/video device 100 such as earphones (speakers) completes the network distribution process (that is, it can be connected to the router 300), different mobile phones can be connected to them (earphones, speakers). This also applies to soft access point 102. For example, two mobile phones A and B can cooperate in this way. Mobile phone A assists the earphones (or speakers) in configuring the network, and then mobile phone B pushes music to the earphones (or speakers) through the enabled soft access point 102.
  • a wireless audio/video device 100 such as a headset (speaker box) is successfully configured with a single router 300, which is only as an example.
  • the wireless audio/video device 100 such as a headset (speaker) may have successfully configured with multiple routers 300 and save configuration information of the multiple routers 300 .
  • the first system-on-chip 101 can select one from multiple configuration information to create the soft access point 102 according to the operating instructions from the mobile phone.
  • the local soft access point 102 may be created in advance according to the configuration information of the router 300 before being turned on. For example, before it is detected that the router 300 becomes unavailable, the soft access point 102 can be pre-created and kept in a closed state until it is detected that the router 300 becomes unavailable and then enabled. In some embodiments, when it is detected that the router 300 becomes unavailable, the local soft access point 102 can be created and turned on according to the configuration information of the router 300 .
  • the first system-on-chip 101 has obtained the configuration information of the router 300, which can be stored in, for example, the memory 101b (as shown in Figure 3).
  • the stored configuration information of the router 300 may be called and the soft access point 102 may be created accordingly.
  • monitoring the available status (such as connection status) of the router 300 and creating and/or starting the soft access point 102 accordingly can be automatically implemented without manual intervention by the user, and there is no need to manually complete the pairing of the wireless audio/video device 100 During the network configuration process of the soft access point 102, there is no need to manually set the relevant configuration information of the soft access point 102 by the smart device 200, thereby further improving the user's experience of using the wireless audio/video device 100.
  • a user's manual input option may also be provided, allowing the user to manually input configuration information, so that the first system-on-chip 101 creates the soft access point 102 based on the manually input configuration information.
  • FIG. 4 shows a schematic diagram of a first example of a wireless communication process between a speaker (an example of a wireless audio/video device) and a mobile phone (an example of a smart device) according to an embodiment of the present application.
  • the wireless communication mode of the speaker dynamically switches between mode one and mode two.
  • the mobile phone is connected to the router, which is used to establish a wireless LAN on which the Airplay protocol relies.
  • the mobile phone sends the configuration information of the router to the speaker through the WAC protocol defined by Apple or a custom method, which is also called the network configuration process of the mobile phone to the speaker.
  • the speaker connects to the router using the configuration information received in step 402.
  • the configuration information usually includes the network name and password of the router.
  • the speaker and the mobile phone After connecting to the router, the speaker and the mobile phone establish a connection according to the Airplay protocol (referred to as "establishing Airplay connection" in this article) (step 404).
  • the mobile phone pushes the music data to the speaker for playback through the Airplay connection.
  • the speaker switches the wireless communication mode to mode two (step 406).
  • the speaker can no longer try to connect to the router, but first uses the configuration information of the router obtained from the mobile phone distribution network to create and open a soft access point (SoftAP) with the same configuration.
  • SoftAP soft access point
  • the number of WiFi hotspots created can be one or more (step 407).
  • the mobile phone connects to the soft access point created by the speaker (step 408). Since the mobile phone has already been connected to the router with the same configuration in step 401, it can automatically connect to the soft access point (WiFi hotspot) created by the speaker without the user having to manually enter network configuration information.
  • the speaker and the mobile phone establish a new Airplay connection according to the Airplay protocol (step 409).
  • the mobile phone pushes music to the speaker for playback through the newly established Airplay connection.
  • the wireless audio/video device 100 may include at least one or a combination of audio devices, video devices, and smart devices with audio and/or video functionality that work together.
  • the specific combination method may depend on the user's application scenario.
  • the wireless audio/video device 100 includes a combination of earphones and a display screen (when watching a movie), or may include a combination of earphones and smart glasses (when playing games). wait.
  • the wireless audio/video device 100 may include groups of wireless audio devices that work together, with each group of wireless audio devices including a first wireless audio device and a second wireless audio device.
  • the set of wireless audio devices may include earphones having a first earphone and a second earphone, or a speaker assembly having a plurality of speakers corresponding to respective channels.
  • the following description takes a wireless audio device - a wireless pair of earphones including a first earphone and a second earphone - as an example.
  • the first earphone is used as an example of the "first wireless audio device”
  • the second earphone is used as the "second wireless audio device”.
  • audio device For example, the first system-on-chip included in the first earphone and the second system-on-chip included in the second earphone are uniformly represented by reference numeral 101 without distinction.
  • At least one wireless audio device such as the first earphone 100 and/or the second earphone 100 , is configured to store configuration information received from the router of the smart device 200 .
  • the first headset 100 includes a first system-on-chip 101, and the first system-on-chip 101 is further configured to: when it is determined that the router becomes unavailable, turn on the router according to the configuration information of the router.
  • the local first soft access point 102 directly receives the audio data from the smart device 200 via the enabled first soft access point 102 according to the DLNA protocol; and forwards the received audio data to the second headset. 100.
  • the wireless connection 1 for transmitting audio data from the smart device 200 to the first soft access point 102 of the first earphone adopts the WiFi communication mode, and the first system-on-chip 101 forwards the audio data to the second
  • the wireless connection 2 of the earphone 100 can adopt different communication modes, such as Bluetooth communication mode (including but not limited to BLE mode, conventional Bluetooth communication mode, improved Bluetooth Communication mode, LE Audio communication mode, etc.), NFC communication mode, etc.
  • the first soft access point is only turned on at the first system-on-chip 101 102 can be applied to the current conventional DLNA protocol restrictions on access points.
  • the current conventional DLNA protocol usually adopts a 1-to-1 inherent configuration and only supports the first soft access point 102 to transmit the received audio data to the first headset 100 itself, for example, to store it in the memory of the first headset 100 itself. , using the Bluetooth communication module, NFC communication module, etc.
  • the audio data can be forwarded to the second earphone 100, which is also usually equipped with a Bluetooth communication module, etc.
  • the second earphone 100 which is also usually equipped with a Bluetooth communication module, etc.
  • many smart devices on the market such as mobile phones, pads, etc., only support the conventional DLNA protocol, that is, smart devices can only send audio data to a wireless audio device through the DLNA protocol. Therefore, it is of great practical significance for multiple wireless audio devices (such as two headphones) to obtain audio data from smart devices that support the conventional DLNA protocol through the above method.
  • the DLNA protocol can also be customized. As shown in FIG. 6 , the customized DLNA protocol allows the router or the first soft access point 102 of the first headset 100 that supports it to act as a repeater. Forward the received audio data to several wireless audio devices, including but not limited to One earphone 100 itself and a second earphone 100 .
  • the first earphone 100 supports the customized DLNA protocol and is configured to communicate with the smart device 200 supporting the customized DLNA protocol. That is to say, through the customized DLNA protocol, the wireless connection 1 between the smart device 200 and the first earphone 100 is used to transmit audio data, and the wireless connection 1 between the first earphone 100 and the second earphone 100 is used to transmit audio data.
  • the WiFi communication mode can be adopted, thereby significantly improving the relay utility of opening the first soft access point 102 without opening other WiFi hotspots. It is also applicable to wireless audio devices that only set up a single WiFi communication.
  • the smart device 200 when the smart device 200 only supports the conventional DLNA protocol, there is no need to use other communication protocols or communication methods to implement audio transmission between multiple wireless audio devices, or the DLNA protocol is used to implement multiple wireless audio devices. Audio transmission between audio devices.
  • an additional second soft access point 102 is also turned on at the second earphone 100 to realize the connection between the smart device 200 and the first earphone 100 and the second earphone. Sharing of audio data between 100's.
  • the first earphone 100 supports the DLNA protocol and is configured to communicate in WiFi communication mode via the first wireless connection 1 with the smart device 200 that supports the conventional DLNA protocol.
  • the second headset 100 includes a second system-on-chip 101, and the second system-on-chip 101 is configured to: when the first headset 100 wants to forward audio data received from the smart device 200, create and open a local the second soft access point 102; directly receiving the audio data from the first earphone 100 via the turned-on second soft access point 102 according to the DLNA protocol.
  • the first system-on-chip 101 is further configured to: create a new DLNA connection 1a; and forward the audio data to the second headset 100 via the first soft access point 102 through the new DLNA connection 1a.
  • the second soft access point 102 can also be turned on at the first earphone 100 to enable the first earphone 100 to transmit audio data to the second earphone 100 through a DLNA connection.
  • the first soft access point 102 and the second soft access point 102 can implement their functions at the same soft access point.
  • At least one of the first earphone 100 and the second earphone 100 is configured to store the received configuration information of the router.
  • the first headset 100 includes a first system-on-chip 101, and the first system-on-chip 101 is configured to: when it is determined that the router becomes unavailable, enable local operation according to the configuration information of the router.
  • the first soft access point 102 of the smart device directly receives the audio data from the smart device through the enabled first soft access point 102 according to the AirPlay protocol and sends it to the second wireless device via the first soft access point 102. audio devices.
  • AirPlay is not limited to a one-to-one fixed configuration, but can relay audio data to multiple receivers For example, the first earphone 100 and the second earphone 100, or even other speakers, smart glasses, etc., thereby making the shared communication process more convenient.
  • the first system-on-chip 101 may be further configured to: when it is determined that the router becomes unavailable, create the first soft access point 102 and turn it on.
  • the first system-on-chip 101 page may be further configured to pre-create the local device after obtaining the configuration information of the router and before determining that the router becomes unavailable (that is, while the router is still available).
  • the first soft access point 102 is just not turned on until the router is unavailable and then turned on. In this way, when the user is listening to music, for example, when the user moves outdoors and cannot connect to the previous router, it takes less time to activate the first soft access point 102 and the response is faster, so that the user does not feel the interruption of the router. Turn on to improve the smooth experience of music listening.
  • the first system-on-chip 101 typically includes a BLE communication module 101d.
  • Smart devices usually also contain BLE communication modules.
  • the BLE communication module 101d can be utilized to maintain continuous and almost real-time monitoring of information about audio transmissions from smart devices with lower power consumption.
  • the first system-on-chip 101 may be configured to continuously communicate with the smart device via the BLE communication mode to learn whether the smart device indicates each wireless audio device (such as but not limited to the first earphone 100 and the second earphone). 100) To receive and/or play audio data; upon learning that the smart device instructs each wireless audio device to receive and/or play audio data and the router becomes unavailable, turn on the locally created first soft access point 102.
  • a smart device such as a mobile phone sends an instruction to receive and/or play audio data when the user opens the audio playback software or when the user clicks on the music file.
  • the smart device wants to transmit audio data and the router becomes unavailable, turning on the first soft access point 102 can reduce the power consumption of the wireless audio device when it is in standby or when it does not need to receive audio data.
  • the privacy risk of WiFi hotspot being turned on for a long time can be sensitive to the fact that audio data needs to be played but the router becomes unused or becomes unavailable due to the distance, so as to achieve smooth transmission of audio data.
  • the smart device does not instruct each wireless audio device (such as the first earphone 100) to receive and/or play audio data
  • the first earphone 100 continues to communicate with the smart device via the BLE communication mode
  • the first earphone 100 continues to communicate with the smart device via the BLE communication mode.
  • a soft access point 102 shuts down.
  • the smart device may stop playing audio data after a period of time.
  • the first earphone 100 can be converted to a state in which the BLE communication module 101d keeps working and the first soft access point 102 is turned off, so that it can Lower power consumption maintains continuous and near real-time monitoring of information about audio transmissions from smart devices while reducing wireless audio
  • the power consumption of the device when it is in standby or when it does not need to receive audio data reduces the privacy risk of WiFi hotspots being turned on for a long time.
  • the first system-on-chip 101 may be further configured to: via continuous communication with the smart device in the BLE communication mode, to learn whether the smart device cannot connect to the router, and if so, determine whether the smart device is unable to connect to the router. The router becomes unavailable.
  • the first system-on-chip 101 may be further configured to determine whether the router cannot be connected, and if so, determine that the router has become unavailable. Specifically, it can be determined within a predetermined time period, such as several seconds, tens of seconds, etc., whether the connection continues to be unavailable. If so, it is determined that the router has become unavailable.
  • the router can be restored to a normal working state, similar to the above monitoring of the unavailable state of the router.
  • the return to the normal state can also be detected by the first headset 100 itself, or the smart device can be informed in real time from the smart device via BLE communication. Check out the router and return to normal state.
  • the first system-on-chip 101 may be configured to continuously communicate with the smart device via the BLE communication mode to learn whether the smart device indicates each wireless audio device (such as but not limited to the first earphone 100 or the second earphone).
  • Information about whether the smart device instructs each wireless audio device (such as but not limited to the first earphone 100 or the second earphone 100) to receive and/or play audio data can be obtained from the smart device or through the current status of the wireless audio device. status to infer.
  • the first system-on-chip 101 of the first earphone 100 may be configured to: determine whether it is taken out from the charging box or whether it is in the ear, and if so, and the router becomes unavailable, open the locally created earphone. First soft access point 102.
  • This setting cleverly takes into account the use of wireless in-ear headphones. When people want to use wireless headphones to play audio data, they usually take the headphones out of the charging box (or keep them outside the charging box without charging), or The person wears the headphones in their ears. When the first earphone 100 is taken out of the charging box or placed in the ear, it usually means that it may be used to play audio data.
  • the first earphone 100 When the first earphone 100 is in the charging box or not worn in the ear, it means that it is not used to play audio data.
  • the first soft access point 102 at the first earphone 100 can be turned off, thereby reducing the risk of not playing audio data. Power consumption and privacy exposure risks when using data.
  • the first system-on-chip 101 can learn whether the first earphone 100 is in the charging box by performing wired (whether the contacts are in contact) or wireless communication (such as but not limited to BLE communication) with the charging box, and also Whether the first earphone 100 is in the charging box can be known through the sensor component 101e (see FIG. 3), such as but not limited to an optical sensor. Typically when inside the charging case, the optical sensor will detect a significant decrease in the energy of the incident light.
  • the first system-on-chip 101 may perform in-ear detection through a sensor component 101e (see FIG. 3), such as but not limited to a capacitive sensor, an optical sensor, etc. Once the first earphone 100 is inserted into the ear, the detected light or capacitance will change significantly.
  • a sensor component 101e see FIG. 3
  • FIG. 8 shows a flowchart of a wireless communication method for a wireless audio/video device according to an embodiment of the present application.
  • the wireless communication method may include step 801: providing a wireless audio/video device that supports a WiFi-based wireless multimedia transmission protocol and is configured to communicate with a smart device that supports the WiFi-based wireless multimedia transmission protocol. devices communicate.
  • the wireless audio/video device may receive configuration information from the router of the smart device, where the router is needed to establish the WiFi-based wireless device.
  • Wireless LAN on which the multimedia transmission protocol relies.
  • the wireless audio/video device may be connected to the router based on the configuration information of the router, and receive data from the smart device or cloud server via the router according to the WiFi-based wireless multimedia transmission protocol. audio/video data.
  • the availability of the router may be detected.
  • the wireless audio/video device opens a local soft connection created according to the configuration information of the router. Access point, directly receiving audio/video data from the smart device via the enabled soft access point according to the WiFi-based wireless multimedia transmission protocol.
  • the wireless communication method may include: receiving manually input configuration information of the router, or storing the received configuration information of the router; and creating based on the manually input or stored configuration information of the router.
  • the soft access point may include: receiving manually input configuration information of the router, or storing the received configuration information of the router; and creating based on the manually input or stored configuration information of the router.
  • the configuration information of the router can be stored and a soft access point can be created based on the stored configuration information of the router. Since the opened soft access point is created based on the configuration information of the router, the smart device does not need to perform wireless audio/video After the device performs a complex network configuration process, it can automatically connect to the soft access point, continue to share and transmit audio/video data stably and conveniently, and enable users to maintain a good audio-visual experience throughout the entire process of free movement.
  • Manual input of the router's configuration information can be used as an option or as a supplement.
  • the smart device can automatically connect to the enabled soft access point, there is no need to manually enter the router's configuration information. However, when the smart device cannot automatically connect to the enabled soft access point, When the soft access point is configured, it means that the configuration information based on the soft access point is different from the configuration information known by the smart device, and it can be modified manually.
  • the WiFi-based wireless multimedia transmission protocol may include a DLNA protocol or an AirPlay protocol.
  • the received configuration of the router may be stored in the first wireless audio device information.
  • the first wireless audio device turns on the local first soft access point according to the configuration information of the router, and uses the turned on first soft access point according to the DLNA protocol. Receive audio data directly from the smart device. Then, the first wireless audio device forwards the received audio data to the second wireless audio device.
  • the received configuration of the router may be stored in the first wireless audio device information.
  • the first wireless audio device turns on the local first soft access point according to the configuration information of the router.
  • the first wireless audio device directly receives audio data from the smart device via the enabled first soft access point according to the AirPlay protocol, and sends it to the second wireless audio device via the enabled first soft access point. device.
  • the first wireless audio device may continuously communicate with the smart device via the BLE communication mode to learn whether the smart device instructs each wireless audio device to receive and/or play audio data. Upon learning that the smart device instructs each wireless audio device to receive and/or play audio data and the router becomes unavailable, the first wireless audio device turns on the locally created first soft access point.
  • the first wireless audio device can perform continuous communication with the smart device in the BLE communication mode to learn whether the smart device cannot connect to the router, and if so, determine whether the router becomes unavailable.
  • the first wireless audio device may determine whether it cannot connect to the router, and if so, it may be determined that the router becomes unavailable.
  • the first wireless audio device when the smart device does not instruct each wireless audio device to receive and/or play audio data, the first wireless audio device continues to communicate with the smart device via the BLE communication mode, and the first wireless audio device turns off the A soft access point.
  • the received audio data may be forwarded by the first wireless audio device to the second wireless audio device via a WiFi communication mode or a Bluetooth communication mode.
  • the DLNA protocol can be customized, allowing the router that supports it or the first soft access point of the first wireless audio device to act as a repeater to pass the received audio
  • the data is forwarded to several wireless audio devices.
  • the second wireless audio device may: create and open a local second soft access point when the first wireless audio device wants to forward audio data received from the smart device. ; Directly receiving audio data from the first wireless audio device via the turned-on second soft access point according to the conventional DLNA protocol.
  • the first wireless audio device may continuously communicate with the smart device via the BLE communication mode to learn whether the smart device instructs each wireless audio device to receive and/or play audio data and whether the smart device is connected. Connect to the router; after learning that the smart device instructs each wireless audio device to receive and/or play audio data and has been connected to the router, receive audio data from the smart device via the router according to the DLNA protocol or Airplay protocol.
  • the first wireless audio device as the first earphone, it may be determined whether the first earphone is removed from the charging box or is in the ear, and if so, the router becomes unavailable. In this case, the first headset turns on the first soft access point created locally.
  • the present application discloses a wireless kit including a wireless audio/video device 100 and a charging box 900 .
  • a wireless audio/video device 100 As shown in FIG. 9 , the present application discloses a wireless kit including a wireless audio/video device 100 and a charging box 900 .
  • pair-of-ear headphones are used as an example of the wireless audio/video device 100, but the wireless audio/video device 100 in the present application is not limited thereto.
  • the wireless audio/video device 100 supports the WiFi-based wireless multimedia transmission protocol, and is configured to communicate with the smart device 200 that supports the WiFi-based wireless multimedia transmission protocol. It is characterized in that the charging box 900 includes a third System-on-chip 901 , and the wireless audio/video device 100 includes a first system-on-chip 101 .
  • the third system-on-chip 901 is configured to support base Based on the wireless multimedia transmission protocol of WiFi, and determine whether to connect to the router 300. Among them, the router 300 is needed to establish a wireless local area network on which the WiFi-based wireless multimedia transmission protocol relies.
  • the third system-on-chip 901 When it is determined that the router 300 cannot be connected, the third system-on-chip 901 turns on the third soft access point 903 created based on the configuration information of the router 300, and transmits it via the WiFi-based wireless multimedia transmission protocol.
  • the third soft access point 903 is turned on to receive the audio/video data from the smart device 200 and forward it.
  • the first system-on-chip 101 is further configured to attempt to connect to the router 300 based on the configuration information of the router 300 .
  • the first system-on-chip 101 When connected to the router 300 , the first system-on-chip 101 receives audio/video data from the smart device 200 or the cloud server via the router 300 according to the WiFi-based wireless multimedia transmission protocol.
  • the first system-on-chip 101 receives the forwarded audio/video data from the charging box 900 . Therefore, the wireless audio/video device 100 can try to connect to the router 300 via the first system-on-chip 101. When the router 300 is available (the connection status is good), the audio/video data can be received via the router 300.
  • the smart device can configure the configuration information (or network distribution) of the router 300 on the first system-on-chip 101 .
  • the charging box 900 can subsequently obtain and use the configuration information of the router 300 to disguise itself as the router 300. No need to enter it manually again. In some cases, one-click network configuration can be achieved.
  • the first system-on-chip 101 can automatically and quickly connect to the charging box 900 disguised as the router 300 .
  • the first system-on-chip 101 is further configured to send a signal to the third soft access point 903 via the BLE communication mode when the router 300 cannot be connected and the charging box 900 does not turn on the third soft access point 903 .
  • the charging box 900 sends a first notification to turn on the soft access point. Therefore, even if neither the router 300 nor the charging box 900 has an access point, the wireless audio/video device 100 will not rashly directly turn on its own local soft access point, but will notify the charging box 900 to prompt the charging box 900 to turn on the soft access point to further suppress the increase in its own power consumption.
  • the third system-on-chip 901 and the first system-on-chip 101 conduct continuous wireless communication via the BLE communication mode to notify the charging box 900 including whether to turn on the third soft access point 903 status information.
  • the first system-on-chip 101 is further configured to provide the smart device 200 with a signal when the router 300 cannot be connected and the charging box 900 does not turn on the third soft access point 903 .
  • the third system-on-chip 901 is further configured to receive a third notification from the smart device 200 to turn on the soft access point, and in response to receiving the third notification, turn on the third soft access point 903 .
  • the first system-on-chip 101 is further configured to only turn on the third soft access point 901 according to the configuration information of the router 300 when the charging box 900 does not turn on the third soft access point 901 within a predetermined time.
  • the created local first soft access point 102 directly receives audio/video data from the smart device 200 via the enabled first soft access point 102 according to the WiFi-based wireless multimedia transmission protocol.
  • the first system-on-chip 101 is further configured to determine the communication status of the BLE communication mode with the third system-on-chip 901 when the router 300 cannot be connected. If the communication status indicates that the BLE communication is disconnected, the local first soft access point 102 created according to the configuration information of the router 300 is turned on, and the first soft access point 102 is opened according to the WiFi-based wireless multimedia transmission protocol. Point 102 receives audio/video data directly from the smart device 200 .
  • the WiFi-based wireless multimedia transmission protocol includes the AirPlay protocol
  • the third system-on-chip 901 is further configured to, when the third soft access point 903 cannot be connected to the router 300, according to The AirPlay protocol forwards the audio/video data via the enabled third soft access point 903.
  • the WiFi-based wireless multimedia transmission protocol includes a conventional DLNA protocol
  • the third system-on-chip 901 includes a WiFi communication module configured to forward data received from the third soft access point 903 via the enabled third system-on-chip 901 . audio/video data of the smart device 200.
  • the WiFi-based wireless multimedia transmission protocol includes a customized DLNA protocol.
  • the customized DLNA protocol allows the third soft access point 903 to act as a repeater to forward the received audio data to several data sources.
  • the third system-on-chip 901 is further configured to forward the audio/video data received from the smart device 200 via the enabled third soft access point 903 .
  • the wireless audio/video device 100 may include a pair of earphones including a pair of first earphones and a second earphone, and the first system-on-chip 101 Disposed on the first earphone, the charging box 900 charges the pair of earphones when accommodated therein.
  • the third system-on-chip 901 is further configured to determine whether the pair of earphones are taken out from the charging box 900, and only turn on the pair of earphones when the pair of earphones are taken out from the charging box 900 and cannot be connected to the router 300.
  • the third soft access point 903 is turned on unnecessarily when the pair of earphones are placed in the charging box 900 and are in a charging state but not in use, thereby further suppressing an increase in their own power consumption.
  • the first system-on-chip 101 is further configured to determine whether the first earphone is in the ear, and if so, notify the third system-on-chip 901 via the BLE communication mode.
  • the third system-on-chip 901 is further configured to turn on the third soft access point 903 only after learning that the first earphone is in the ear and cannot be connected to the router 300 . In this way, the third soft access point 903 can be turned on only when the first earphone is in the ear and therefore has a high probability of being used for listening, thereby further suppressing an increase in its own power consumption.
  • the third soft access point 903 includes a WiFi hotspot, has the same configuration information as the router 300, and is used instead of the router 300 to form the WiFi-based wireless multimedia transmission protocol on which the of wireless LAN.
  • the wireless audio/video device 100 and the charging box 900 support the WiFi-based wireless multimedia transmission protocol, and the wireless audio/video device 100 is configured to communicate with the smart device 200 that supports the WiFi-based wireless multimedia transmission protocol. communication.
  • step 1001 the charging box 900 determines whether it is connected to the router 300.
  • the router 300 is needed to establish a wireless local area network on which the WiFi-based wireless multimedia transmission protocol relies.
  • step 1002 when the charging box 900 determines that it cannot connect to the router 300, the third soft access point 903 created based on the configuration information of the router 300 is turned on, and the wireless multimedia transmission based on WiFi is started.
  • the protocol receives audio/video data from the smart device via the enabled third soft access point 903 and forwards it.
  • step 1003 the wireless audio/video device 100 attempts to connect to the router 300 based on the configuration information of the router 300.
  • step 1004 the charging box 900 determines whether the wireless audio/video device 100 is connected to the router 300.
  • step 1005a when the wireless audio/video device 100 is connected to the router 300, receive data from the router 300 via the WiFi-based wireless multimedia transmission protocol. Audio/video data of smart device 200 or cloud server.
  • step 1005b when the wireless audio/video device 100 cannot connect to the router 300 and the charging box 900 turns on the third soft access point 903, the forwarded audio/video data from the charging box 900 is received.
  • steps 1001 to 1005b do not necessarily have to be executed in the order and number of times shown in Figure 10, but can be executed alternately, and the execution order of the steps can also be exchanged without affecting the logic of each other.
  • the wireless audio/video device 100 when the wireless audio/video device 100 cannot connect to the router 300 and the charging box 900 does not turn on the third soft access point 903, the wireless audio/video device 100 sends a signal to the third soft access point 903 via the BLE communication mode.
  • the charging box sends the first notification to turn on the soft access point.
  • the charging box 900 and the wireless audio/video device 100 conduct continuous wireless communication via the BLE communication mode to notify the charging box 900 of the status including whether to turn on the third soft access point 903 information.
  • the wireless audio/video device 100 when the wireless audio/video device 100 cannot connect to the router 300 and the charging box 900 does not turn on the third soft access point 903, it sends a message to the smart device 200. Second notification asking the charging box to turn on the soft access point.
  • the charging box 900 receives a third notification from the smart device 200 to turn on the soft access point, and in response to receiving the third notification, turns on the third soft access point 903 .
  • the wireless audio/video device 100 only turns on the third soft access point 903 created according to the configuration information of the router 300 when the charging box 900 does not turn on the third soft access point 903 within a predetermined time.
  • the local first soft access point 102 directly receives the audio/video data from the smart device 200 via the enabled first soft access point 102 according to the WiFi-based wireless multimedia transmission protocol.
  • the wireless audio/video device 100 determines the communication status of the BLE communication mode with the charging box 900 when it cannot connect to the router 300 . If the communication status indicates that the BLE communication is disconnected, the local first soft access point 102 created according to the configuration information of the router 300 is turned on, and the first soft access point 102 is opened according to the WiFi-based wireless multimedia transmission protocol. Point 102 receives audio/video data directly from the smart device 200 .
  • the WiFi-based wireless multimedia transmission protocol includes the AirPlay protocol, and when the charging box 900 fails to connect to the router 300 and turns on the third soft access point 903, it uses the AirPlay protocol. protocol, forward the audio/video data via the enabled third soft access point 903.
  • the WiFi-based wireless multimedia transmission protocol includes a conventional DLNA protocol
  • the charging box 900 includes a WiFi communication module that forwards data received from the smart device 200 via the enabled third soft access point 903 audio/video data.
  • the WiFi-based wireless multimedia transmission protocol includes a customized DLNA protocol.
  • the customized DLNA protocol allows the third soft access point 903 to act as a repeater to forward the received audio data to several data sources.
  • the charging box 900 forwards the audio/video data received from the smart device 200 via the enabled third soft access point 903 .
  • the wireless audio/video device 100 includes a pair of earphones including a pair of first earphones and a second earphone, and the first system-on-chip 101 is disposed on the first earphone.
  • the charging box 900 charges the pair of earphones while being accommodated therein.
  • the charging box 900 determines whether the earphones are taken out of the charging box.
  • the third soft access point 903 is turned on only when the pair of earphones are taken out of the charging box 900 and cannot be connected to the router 300 .
  • a wireless audio/video device includes a pair of earphones including a pair of first earphones and a second earphone, the first system-on-chip 101 being disposed on the first earphone.
  • the wireless audio/video device 100 determines whether the first earphone is in the ear, and if so, notifies the charging box via the BLE communication mode.
  • the charging box 900 only turns on the third soft access point 903 after learning that the first earphone is in the ear and cannot be connected to the router 300 .
  • the third soft access point 903 includes a WiFi hotspot, has the same configuration information as the router, and is used instead of the router to form a wireless network on which the WiFi-based wireless multimedia transmission protocol relies. local area network.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to a wireless audio/video apparatus and a wireless communication method. The apparatus includes a first system-on-chip, which is configured to: receive configuration information of a router after a smart device is connected to the router; connect to the router on the basis of the configuration information, and receive audio/video data by means of the router and according to a WiFi-based wireless multimedia transmission protocol; and when the router becomes unavailable, enable a soft access point, which is created according to the configuration information, and directly receive the audio/video data from the smart device by means of the enabled soft access point and according to the protocol. In this way, when a user moves freely with a wireless audio/video apparatus, audio/video data from a smart device can be stably and conveniently shared with low power consumption by preferentially using a router; and when the router becomes unavailable, the wireless audio/video apparatus itself directly connects to the smart device, such that it is possible to continue stably and conveniently sharing the audio/video data without needing a complicated network distribution process, and a good audio/visual experience can be maintained for users.

Description

一种无线音频/视频装置和无线通信方法A wireless audio/video device and wireless communication method 技术领域Technical field
本申请涉及一种无线音频/视频装置和无线通信方法。The present application relates to a wireless audio/video device and a wireless communication method.
背景技术Background technique
近年来,为了能够让个人电脑和其他电子产品,比如手机、平板、音箱等多种设备,通过无线网络互联互通,在多种设备之间共享诸如照片、视频、音乐等内容,人们开发出了多种基于WiFi的无线多媒体传输协议。例如,这种协议可以用于将智能设备上的音频数据推送到支持该协议的音箱进行播放,以获取更好的视听体验。In recent years, in order to allow personal computers and other electronic products, such as mobile phones, tablets, speakers and other devices to interconnect through wireless networks and share content such as photos, videos, music, etc. among multiple devices, people have developed A variety of WiFi-based wireless multimedia transmission protocols. For example, this protocol can be used to push audio data on smart devices to speakers that support the protocol for playback, for a better audio-visual experience.
以苹果公司开发的Airplay协议为例进行说明,该协议可以用于将苹果iPhone、iPad(下文中称为智能设备)上的音频数据推送到支持AirPlay的音箱上进行播放。现在支持AirPlay的音箱主要用于室内无线局域网环境,需要音箱跟智能设备连接到同一个无线路由器(有时也称为集成在路由器上的WiFi接入点),需要该路由器来组建AirPlay协议所依赖的无线局域网。对路由器的依赖,导致使用场景受限。另外,对于常见的移动使用场景,用户可能移动到不同路由器组建的无线局域网,需要针对不同的路由器重新为音箱配置WiFi网络,增加了用户使用上的不便。Take the Airplay protocol developed by Apple as an example. This protocol can be used to push audio data on Apple iPhones and iPads (hereinafter referred to as smart devices) to speakers that support AirPlay for playback. Nowadays, speakers that support AirPlay are mainly used in indoor wireless LAN environments. The speakers and smart devices need to be connected to the same wireless router (sometimes also called a WiFi access point integrated on the router). The router is needed to establish the network that the AirPlay protocol relies on. Wireless LAN. Dependence on routers limits usage scenarios. In addition, for common mobile usage scenarios, users may move to wireless LANs established by different routers, and need to reconfigure the WiFi network for the speakers for different routers, which increases user inconvenience.
发明内容Contents of the invention
提供了本申请以解决现有技术中存在的技术问题。This application is provided to solve technical problems existing in the prior art.
需要一种无线音频/视频装置和无线通信方法,其使得无线音频/视频装置被用户携载自由移动的同时,充分利用可用的路由器以低功耗稳定方便地共享来自智能设备的音频/视频数据,而在路由器变得不可用时,依靠无线音频/视频装置自身直连智能设备,无需复杂的配网过程,就可以稳定方便地继续共享来自智能设备的音频/视频数据,在整个自由移动的过程中,使得用户能够保持良好的视听体验。There is a need for a wireless audio/video device and a wireless communication method that allow the wireless audio/video device to be carried and moved freely by the user and at the same time make full use of available routers to share audio/video data from smart devices stably and conveniently with low power consumption. , and when the router becomes unavailable, the wireless audio/video device itself can be relied on to directly connect to the smart device. Without the need for a complicated network distribution process, the audio/video data from the smart device can be stably and conveniently continued to be shared during the entire free movement process. , allowing users to maintain a good audio-visual experience.
根据本申请的第一方面,提供了一种无线音频/视频装置,其支持基于WiFi的无线多媒体传输协议,且配置为与支持所述基于WiFi的无线多媒体传输协议的智能设备进行通信。所述无线音频/视频装置中包含第一片上系统, 所述第一片上系统配置为:在所述智能设备连接到路由器后,接收来自所述智能设备的路由器的配置信息,其中,需要所述路由器来组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网;基于所述路由器的配置信息连接到所述路由器,按照所述基于WiFi的无线多媒体传输协议经由所述路由器接收来自所述智能设备或云服务器的音频/视频数据;以及判定所述路由器的可用性,在检测到所述路由器变得不可用的情况下,开启根据所述路由器的配置信息所创建的本地的软接入点,按照所述基于WiFi的无线多媒体传输协议经由开启的软接入点直接接收来自所述智能设备的音频/视频数据。According to a first aspect of the present application, a wireless audio/video device is provided that supports a WiFi-based wireless multimedia transmission protocol and is configured to communicate with a smart device supporting the WiFi-based wireless multimedia transmission protocol. The wireless audio/video device includes a first system-on-chip, The first system-on-chip is configured to: after the smart device is connected to a router, receive configuration information from the router of the smart device, wherein the router is required to establish the WiFi-based wireless multimedia transmission protocol. Dependent wireless local area network; connecting to the router based on the configuration information of the router, receiving audio/video data from the smart device or cloud server via the router according to the WiFi-based wireless multimedia transmission protocol; and determining the According to the availability of the router, when it is detected that the router becomes unavailable, the local soft access point created according to the configuration information of the router is turned on, and the local soft access point is opened according to the WiFi-based wireless multimedia transmission protocol. The soft access point receives audio/video data directly from the smart device.
根据本申请的第二方面,提供了一种用于无线音频/视频装置的无线通信方法。该无线通信方法可以包括如下步骤。提供一种无线音频/视频装置,其支持基于WiFi的无线多媒体传输协议,且配置为与支持所述基于WiFi的无线多媒体传输协议的智能设备进行通信。在所述智能设备连接到路由器后,由所述无线音频/视频装置,接收来自所述智能设备的路由器的配置信息,其中,需要所述路由器来组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网。由所述无线音频/视频装置,基于所述路由器的配置信息连接到所述路由器,按照所述基于WiFi的无线多媒体传输协议经由所述路由器接收来自所述智能设备或云服务器的音频/视频数据。以及,可以检测所述路由器的可用性,在检测到所述路由器变得不可用的情况下,由所述无线音频/视频装置,开启根据所述路由器的配置信息所创建的本地的软接入点,按照所述基于WiFi的无线多媒体传输协议经由开启的软接入点直接接收来自所述智能设备的音频/视频数据。According to a second aspect of the present application, a wireless communication method for a wireless audio/video device is provided. The wireless communication method may include the following steps. A wireless audio/video device is provided, which supports a WiFi-based wireless multimedia transmission protocol and is configured to communicate with a smart device supporting the WiFi-based wireless multimedia transmission protocol. After the smart device is connected to the router, the wireless audio/video device receives configuration information from the router of the smart device, where the router is needed to establish the WiFi-based wireless multimedia transmission protocol on which the of wireless LAN. The wireless audio/video device is connected to the router based on the configuration information of the router, and receives audio/video data from the smart device or cloud server via the router according to the WiFi-based wireless multimedia transmission protocol. . And, the availability of the router can be detected. When it is detected that the router becomes unavailable, the wireless audio/video device turns on a local soft access point created according to the configuration information of the router. , directly receiving audio/video data from the smart device via the enabled soft access point according to the WiFi-based wireless multimedia transmission protocol.
利用根据本申请各个实施例的无线音频/视频装置和无线通信方法,在无线音频/视频装置被用户携载自由移动的同时,可以优先利用可用的路由器以低功耗稳定方便地共享来自智能设备的音频/视频数据,而在路由器变得不可用时,依靠无线音频/视频装置自身直连智能设备,无需复杂的配网过程,就可以稳定方便地继续共享来自智能设备的音频/视频数据,在整个自由移动的过程中,使得用户能够保持良好的视听体验。Using the wireless audio/video device and wireless communication method according to various embodiments of the present application, while the wireless audio/video device is carried and moved freely by the user, available routers can be prioritized to share information from smart devices with low power consumption, stability and convenience. audio/video data, and when the router becomes unavailable, the wireless audio/video device itself can be relied on to directly connect to the smart device. Without the need for a complicated network configuration process, the audio/video data from the smart device can be stably and conveniently continued to be shared. During the entire process of free movement, users can maintain a good audio-visual experience.
附图说明Description of drawings
在不一定按比例绘制的附图中,相同的附图标记可以在不同的视图中描述相似的部件。具有字母后缀或不同字母后缀的相同附图标记可以表示相似 部件的不同实例。附图大体上通过举例而不是限制的方式示出各种实施例,并且与说明书以及权利要求书一起用于对所公开的实施例进行说明。在适当的时候,在所有附图中使用相同的附图标记指代同一或相似的部分。这样的实施例是例证性的,而并非旨在作为本装置或方法的穷尽或排他实施例。In the drawings, which are not necessarily to scale, the same reference numbers may describe similar components in the different views. Identical reference signs with letter suffixes or different letter suffixes may indicate similarity. Different instances of the widget. The drawings illustrate various embodiments generally by way of example and not limitation, and together with the description and claims serve to explain the disclosed embodiments. Where appropriate, the same reference numbers will be used throughout the drawings to refer to the same or similar parts. Such embodiments are illustrative and are not intended to be exhaustive or exclusive embodiments of the apparatus or method.
图1(a)示出根据本申请实施例的无线音频/视频装置在第一模式下与智能设备的通信示意图;Figure 1(a) shows a schematic diagram of communication between a wireless audio/video device and a smart device in a first mode according to an embodiment of the present application;
图1(b)示出根据本申请实施例的无线音频/视频装置在第二模式下与智能设备的通信示意图;Figure 1(b) shows a schematic diagram of communication between a wireless audio/video device and a smart device in the second mode according to an embodiment of the present application;
图2示出根据本申请实施例的无线音频/视频装置的执行的处理过程的示意图;FIG. 2 shows a schematic diagram of a processing process performed by a wireless audio/video device according to an embodiment of the present application;
图3示出根据本申请实施例的无线音频/视频装置的片上系统的构造图;Figure 3 shows a structural diagram of a system-on-chip of a wireless audio/video device according to an embodiment of the present application;
图4示出根据本申请实施例的音箱(无线音频/视频装置的示例)与手机(智能设备的示例)的无线通信过程的第一示例的示意图;Figure 4 shows a schematic diagram of a first example of a wireless communication process between a speaker (an example of a wireless audio/video device) and a mobile phone (an example of a smart device) according to an embodiment of the present application;
图5示出根据本申请实施例的对耳耳机(无线音频/视频装置的示例)与手机的无线通信过程的第二示例的示意图;Figure 5 shows a schematic diagram of a second example of a wireless communication process between a pair of earphones (an example of a wireless audio/video device) and a mobile phone according to an embodiment of the present application;
图6示出根据本申请实施例的对耳耳机(无线音频/视频装置的示例)与手机的无线通信过程的第三示例的示意图;6 shows a schematic diagram of a third example of a wireless communication process between an in-ear headset (an example of a wireless audio/video device) and a mobile phone according to an embodiment of the present application;
图7示出根据本申请实施例的对耳耳机(无线音频/视频装置的示例)与手机的无线通信过程的第四示例的示意图;7 shows a schematic diagram of a fourth example of a wireless communication process between an in-ear earphone (an example of a wireless audio/video device) and a mobile phone according to an embodiment of the present application;
图8示出根据本申请实施例的用于无线音频/视频装置的无线通信方法的流程图;Figure 8 shows a flow chart of a wireless communication method for a wireless audio/video device according to an embodiment of the present application;
图9示出根据本申请实施例的包括无线音频/视频装置和充电盒的无线套件的示意图;以及Figure 9 shows a schematic diagram of a wireless kit including a wireless audio/video device and a charging box according to an embodiment of the present application; and
图10示出根据本申请实施例的无线音频/视频装置和充电盒执行的无线通信方法的示意图。Figure 10 shows a schematic diagram of a wireless communication method performed by a wireless audio/video device and a charging box according to an embodiment of the present application.
具体实施方式Detailed ways
为使本领域技术人员更好的理解本申请的技术方案,下面结合附图和具体实施方式对本申请作详细说明。下面结合附图和具体实施例对本申请的实施例作进一步详细描述,但不作为对本申请的限定。本文中所描述的各个步骤,如果彼此之间没有前后关系的必要性,则本文中作为示例对其进行描述的次序不应视为限制,本领域技术人员应知道可以对其进行顺序调整,只要 不破坏其彼此之间的逻辑性导致整个流程无法实现即可。本申请中的表述“第一”、“第二”和“第三”仅仅旨在描述上的区分,并不意味着对数量、顺序上的限定,也不旨在限定紧跟表述“第一”、“第二”和“第三”后的元件、装置和系统在物理属性上的差异。例如,“第一片上系统”可以包括在单个芯片上实现的系统,也可以包括在多个芯片上实现的(一个或多个)系统。In order to enable those skilled in the art to better understand the technical solutions of the present application, the present application will be described in detail below in conjunction with the drawings and specific implementation modes. The embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings and specific examples, but this is not intended to limit the present application. If the various steps described in this article are not necessarily related to each other, the order in which they are described as an example in this article should not be regarded as a limitation. Those skilled in the art will know that the order can be adjusted as long as As long as the logic between them is not destroyed and the entire process cannot be realized. The expressions "first", "second" and "third" in this application are only intended to make descriptive distinctions and do not imply limitations on quantity or sequence, nor are they intended to limit the expressions immediately following the expression "first". ",""second" and "third" after the "second" and "third" after the difference in the physical properties of the components, devices and systems. For example, a "first system on a chip" may include a system implemented on a single chip, or may include system(s) implemented on multiple chips.
如图1(a)所示,本申请公开了一种无线音频/视频装置100。图1(a)以音箱作为无线音频/视频装置100的示例进行说明,但本申请不限于此。该无线音频/视频装置100可以包括但不限于音箱、无线对耳耳机、携载有扬声器或者视频播放构件(例如显示构件)的各种装置(比如智能电视、智能眼镜、显示器)等等。该无线音频/视频装置100支持基于WiFi的无线多媒体传输协议,且配置为与支持所述基于WiFi的无线多媒体传输协议的智能设备200进行通信。虽然图1(a)中以手机作为智能设备200的示例,但智能设备200不限于此,而可以包括但不限于个人PC、手机、便携式音频播放器、便携式游戏机、平板、智能可穿戴设备(例如智能手表等)中的任何一种。As shown in Figure 1(a), the present application discloses a wireless audio/video device 100. FIG. 1(a) uses a speaker as an example of the wireless audio/video device 100 for illustration, but the present application is not limited thereto. The wireless audio/video device 100 may include but is not limited to speakers, wireless earphones, various devices (such as smart TVs, smart glasses, displays) carrying speakers or video playback components (such as display components), and the like. The wireless audio/video device 100 supports a WiFi-based wireless multimedia transmission protocol and is configured to communicate with a smart device 200 that supports the WiFi-based wireless multimedia transmission protocol. Although a mobile phone is used as an example of the smart device 200 in FIG. 1(a) , the smart device 200 is not limited thereto and may include but is not limited to personal PCs, mobile phones, portable audio players, portable game consoles, tablets, and smart wearable devices. (such as smart watches, etc.).
在一些实施例中,基于WiFi的无线多媒体传输协议可以包括DLNA协议、AirPlay协议和Miracast协议中的任何一种及基于此的改进版本的协议。AirPlay协议是苹果开发的,可以通过WiFi将iPhone、iPad、iPod touch等iOS设备上的包括图片、音频、视频通过无线的方式传输到支持AirPlay协议的音频/视频播放设备。DLNA最早由索尼、英特尔、微软等提出,全称是DIGITAL LIVING NETWORK ALLIANCE,旨在解决各种电子设备(例如但不限于上述无线音频/视频装置100与智能设备200)的互联互通,使得诸如照片、视频、音乐的内容能在以上设备中共享。Miracast协议是由Wi-Fi联盟于2012年所制定,以Wi-Fi direct为基础的无线显示协议。支持该协议的电子设备可通过无线方式分享视频画面,例如手机可通过Miracast协议将影片或照片以无线方式直接在电视或其他装置播放。In some embodiments, the WiFi-based wireless multimedia transmission protocol may include any one of the DLNA protocol, the AirPlay protocol, the Miracast protocol, and improved versions of protocols based thereon. The AirPlay protocol was developed by Apple. It can wirelessly transmit pictures, audio, and videos on iOS devices such as iPhone, iPad, and iPod touch to audio/video playback devices that support the AirPlay protocol through WiFi. DLNA was first proposed by Sony, Intel, Microsoft, etc., and its full name is DIGITAL LIVING NETWORK ALLIANCE. It aims to solve the interconnection and interoperability of various electronic devices (such as but not limited to the above-mentioned wireless audio/video device 100 and smart device 200), so that such as photos, Video and music content can be shared among the above devices. The Miracast protocol was developed by the Wi-Fi Alliance in 2012 and is a wireless display protocol based on Wi-Fi direct. Electronic devices that support this protocol can share video images wirelessly. For example, mobile phones can use the Miracast protocol to wirelessly play videos or photos directly on TVs or other devices.
如图1(a)所示,所述无线音频/视频装置100中可以包含第一片上系统101,所述第一片上系统101被配置为共享来自智能设备200的音频/视频内容。请注意,本文中,各种构件,例如如图2所示,处理单元101a、存储器101b、WiFi通信模块101c、BLE通信模块101d、编解码器等,可以通过SOC(片上系统)来实现,如实现为第一片上系统101。例如,可以利用从ARM公司等购买的各种RISC(精简指令集计算机)处理器IP来作为SOC的处理 单元101a(以及还有通信模块等)来执行对应的功能,从而可以实现为嵌入式系统。具体说来,在市场上可购买到的模组(IP)上具有很多模块,例如但不限于存储器、各种通信模块(例如WiFi通信模块101c、BLE通信模块101d等)、编解码器、缓存器等等。在一些实施例中,芯片制造商也可以在现成的IP上自主开发出这些模块的定制版本。此外,其它的比如天线、传感器组件101e、扬声器101f、麦克风101g等可以外接到IP上。用户可以通过基于购买的IP或自主研发的模块构建ASIC(特定用途集成电路),来实现各种通信模块、编解码器等,以便降低功耗和成本。例如,用户也可以利用FPGA(现场可编程门阵列)来实现各种通信模块、编解码器等,可以用于对硬件设计的稳定性进行验证。对于各种通信模块、编解码器等,通常还可以配备缓存器,对处理过程中产生的数据进行暂时存储。As shown in FIG. 1(a) , the wireless audio/video device 100 may include a first system-on-chip 101 configured to share audio/video content from the smart device 200 . Please note that in this article, various components, such as the processing unit 101a, memory 101b, WiFi communication module 101c, BLE communication module 101d, codec, etc., as shown in Figure 2, can be implemented through SOC (system on chip), such as Implemented as a first system-on-chip 101. For example, various RISC (reduced instruction set computer) processor IPs purchased from ARM, etc. can be used as SOC processing The unit 101a (and the communication module, etc.) is used to perform corresponding functions, so that it can be implemented as an embedded system. Specifically, there are many modules (IP) available on the market, such as but not limited to memory, various communication modules (such as WiFi communication module 101c, BLE communication module 101d, etc.), codecs, caches, etc. Devices and so on. In some embodiments, chip manufacturers can also develop customized versions of these modules based on off-the-shelf IP. In addition, other components such as the antenna, sensor component 101e, speaker 101f, microphone 101g, etc. can be externally connected to the IP. Users can implement various communication modules, codecs, etc. by building ASICs (Application Specific Integrated Circuits) based on purchased IP or self-developed modules to reduce power consumption and costs. For example, users can also use FPGA (Field Programmable Gate Array) to implement various communication modules, codecs, etc., which can be used to verify the stability of the hardware design. For various communication modules, codecs, etc., buffers can usually be equipped to temporarily store the data generated during processing.
结合图1(a)和图2,第一片上系统101可以采取如下步骤来执行无线通信。Combining FIG. 1(a) and FIG. 2, the first system-on-chip 101 may take the following steps to perform wireless communication.
在所述智能设备200连接到路由器300后,第一片上系统101可以接收来自所述智能设备200的路由器300的配置信息(步骤201)。其中,需要所述路由器300来组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网。例如,路由器300的配置信息可以包括路由器300的网络名称和密码。在一些实施例中,路由器300的配置信息可以包括需要连接的无线路由器300的服务集标识(Service Set Identifier,简称SSID)、基础服务集标识(Basic Service Set Identifier,简称BSSID)、媒体访问控制(Media Access Control,简称MAC)地址、密钥等信息。能够连接到路由器300的智能设备200知晓路由器300的配置信息,从而可以将该配置信息发送到第一片上系统101,这个过程也称为配网过程。After the smart device 200 is connected to the router 300, the first system-on-chip 101 may receive configuration information of the router 300 from the smart device 200 (step 201). Among them, the router 300 is needed to establish a wireless local area network on which the WiFi-based wireless multimedia transmission protocol relies. For example, the configuration information of the router 300 may include the network name and password of the router 300 . In some embodiments, the configuration information of the router 300 may include the Service Set Identifier (SSID for short), the Basic Service Set Identifier (BSSID for short), the media access control (BSSID) of the wireless router 300 that needs to be connected. Media Access Control (MAC) address, key and other information. The smart device 200 capable of connecting to the router 300 knows the configuration information of the router 300, so that the configuration information can be sent to the first system-on-chip 101. This process is also called a network distribution process.
在步骤202,第一片上系统101可以基于所述路由器300的配置信息连接到所述路由器300,按照所述基于WiFi的无线多媒体传输协议,经由所述路由器300接收来自所述智能设备200或云服务器(未示出)的音频/视频数据。路由器300以无线方式工作,用作无线局域网中的信息交换枢纽。通常来说,基于WiFi的协议定义的组网角色称为接入点(AP),通常路由器300集成有WiFi接入点,并用作WiFi接入点。在用户自由移动从而携载的无线音频/视频装置100也随之移动的过程中,如果路由器300可用(或者说连接状态良好),尽量连接到路由器300以经由路由器300来交换共享来自智能设 备200或云服务器的音频/视频数据,从而可以充分利用可用的路由器300以低功耗稳定方便地共享音频/视频数据。In step 202, the first system-on-chip 101 may be connected to the router 300 based on the configuration information of the router 300, and according to the WiFi-based wireless multimedia transmission protocol, receive data from the smart device 200 or Audio/video data from a cloud server (not shown). The router 300 works wirelessly and serves as an information exchange hub in a wireless local area network. Generally speaking, the networking role defined by the WiFi-based protocol is called an access point (AP). Usually the router 300 is integrated with a WiFi access point and is used as a WiFi access point. When the user moves freely and the wireless audio/video device 100 he carries moves with him, if the router 300 is available (or the connection status is good), try to connect to the router 300 to exchange the shared information from the smart device via the router 300. 200 or cloud server audio/video data, so that the available router 300 can be fully utilized to share audio/video data stably and conveniently with low power consumption.
在步骤203,第一片上系统101可以判定所述路由器300的可用性,在检测到所述路由器300变得不可用的情况下,开启根据所述路由器300的配置信息所创建的本地的软接入点102,按照所述基于WiFi的无线多媒体传输协议经由开启的软接入点102直接接收来自所述智能设备200的音频/视频数据。具体说来,第一片上系统101可以通过判定自身能否继续连接到路由器300来判定路由器300的可用性,也可以通过与智能设备200通信来获知智能设备200与路由器300的连接状况。如图1(b)所示,如果无线音频/视频装置100不能正常连接到路由器300,或者得知智能设备200不能正常连接到路由器300,则判定路由器300不可用。所谓的本地的软接入点102,是指该WiFi接入点以软件方式实现,集成在无线音频/视频装置100上,也就是使得无线音频/视频装置100经由软件设置,使得自身用作WiFi接入点。如此,第一片上系统101可以动态地监控路由器300的可用性,在路由器300变得不可用时,依靠无线音频/视频装置100(而无需依赖其他中继构件)自身与智能设备200相连。并且,由于开启的软接入点102就是根据所述路由器300的配置信息所创建的,智能设备200无需对无线音频/视频装置100执行复杂的配网过程,就可以自动连上软接入点102,稳定方便地继续分享传输音频/视频数据,在整个自由移动的过程中,使得用户能够保持良好的视听体验。In step 203, the first system-on-chip 101 can determine the availability of the router 300. When detecting that the router 300 becomes unavailable, open a local soft connection created according to the configuration information of the router 300. The entry point 102 directly receives audio/video data from the smart device 200 via the enabled soft access point 102 according to the WiFi-based wireless multimedia transmission protocol. Specifically, the first system-on-chip 101 can determine the availability of the router 300 by determining whether it can continue to connect to the router 300 , and can also learn the connection status between the smart device 200 and the router 300 by communicating with the smart device 200 . As shown in FIG. 1(b) , if the wireless audio/video device 100 cannot be connected to the router 300 normally, or it is learned that the smart device 200 cannot be connected to the router 300 normally, it is determined that the router 300 is unavailable. The so-called local soft access point 102 means that the WiFi access point is implemented in software and integrated on the wireless audio/video device 100, that is, the wireless audio/video device 100 is configured through software so that it can be used as a WiFi access point. Access Point. In this way, the first system-on-chip 101 can dynamically monitor the availability of the router 300 and rely on the wireless audio/video device 100 itself (without relying on other relay components) to connect to the smart device 200 when the router 300 becomes unavailable. Moreover, since the enabled soft access point 102 is created based on the configuration information of the router 300, the smart device 200 can automatically connect to the soft access point without performing a complex network configuration process on the wireless audio/video device 100. 102, continue to share and transmit audio/video data stably and conveniently, allowing users to maintain a good audio-visual experience throughout the entire process of free movement.
请注意,步骤201-步骤203不一定按照图2的顺序和次数来执行,而是可以交替执行,在不影响彼此的逻辑性的情况下也可以调换步骤201-202与步骤203执行顺序。具体说来,在步骤203之后,如果检测路由器300变得可用,也就是第一片上系统101又可以基于当前配置信息连接到路由器300了,则不再开启软接入点102,恢复按照所述基于WiFi的无线多媒体传输协议,经由路由器300接收来自智能设备200或云服务器的音频/视频数据,从而节省无线音频/视频装置100的功耗,直到路由器300再次变得不可用。也就是说,只有在路由器300不能履行作为WiFi接入点的职责时,无线音频/视频装置100才消耗自己的能量和计算资源开启软接入点102。在一些实施例中,所述软接入点102包括WiFi热点,具有与所述路由器300相同的配置信息,不仅可以用于连接智能设备200来获取音频/视频数据,需要时也可以 代替所述路由器300用于组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网。Please note that steps 201-203 are not necessarily executed in the order and number of times shown in Figure 2, but can be executed alternately. The execution order of steps 201-202 and step 203 can also be exchanged without affecting the logic of each other. Specifically, after step 203, if the detection router 300 becomes available, that is, the first system-on-chip 101 can connect to the router 300 based on the current configuration information, the soft access point 102 will no longer be turned on, and the software will be restored as required. The WiFi-based wireless multimedia transmission protocol receives audio/video data from the smart device 200 or the cloud server via the router 300, thereby saving the power consumption of the wireless audio/video device 100 until the router 300 becomes unavailable again. That is, the wireless audio/video device 100 consumes its own energy and computing resources to turn on the soft access point 102 only when the router 300 cannot perform its duties as a WiFi access point. In some embodiments, the soft access point 102 includes a WiFi hotspot, has the same configuration information as the router 300, and can not only be used to connect the smart device 200 to obtain audio/video data, but also can be used to obtain audio/video data when needed. Instead of the router 300, it is used to establish a wireless local area network on which the WiFi-based wireless multimedia transmission protocol relies.
在图1(a)和图1(b)中,与路由器300相连的智能设备200就是与软接入点102相连的智能设备200,这仅仅作为示例。在一些实施例中,与路由器300相连的智能设备200可以不同于与软接入点102相连的智能设备200。也就是说,对诸如耳机(音箱)的无线音频/视频装置100完成配网过程(即能跟路由器300相连)后,不同的手机都能跟它们(耳机、音箱)相连。这也适用于软接入点102。例如,两个手机a和手机b可以这样配合,手机a去协助耳机(或音箱)配网,到时手机b通过开启的软接入点102推送音乐给耳机(或音箱)播放。In Figure 1 (a) and Figure 1 (b), the smart device 200 connected to the router 300 is the smart device 200 connected to the soft access point 102, which is only an example. In some embodiments, the smart device 200 connected to the router 300 may be different from the smart device 200 connected to the soft access point 102 . That is to say, after the wireless audio/video device 100 such as earphones (speakers) completes the network distribution process (that is, it can be connected to the router 300), different mobile phones can be connected to them (earphones, speakers). This also applies to soft access point 102. For example, two mobile phones A and B can cooperate in this way. Mobile phone A assists the earphones (or speakers) in configuring the network, and then mobile phone B pushes music to the earphones (or speakers) through the enabled soft access point 102.
在图1(a)和图1(b)中示出诸如耳机(音箱)的无线音频/视频装置100与单个路由器300配网成功,这仅仅作为示例。实际上,诸如耳机(音箱)的无线音频/视频装置100可以有过与多个路由器300配网成功的经历,并保存有多个路由器300的配置信息。而第一片上系统101则可以根据来自手机的操作指令,从多个配置信息中选择一个来创建软接入点102。It is shown in FIG. 1(a) and FIG. 1(b) that a wireless audio/video device 100 such as a headset (speaker box) is successfully configured with a single router 300, which is only as an example. In fact, the wireless audio/video device 100 such as a headset (speaker) may have successfully configured with multiple routers 300 and save configuration information of the multiple routers 300 . The first system-on-chip 101 can select one from multiple configuration information to create the soft access point 102 according to the operating instructions from the mobile phone.
在一些实施例中,可以在开启之前,预先根据所述路由器300的配置信息创建本地的软接入点102。例如,可以在检测到所述路由器300变得不可用之前,就预先创建好软接入点102,只是保持关闭状态,等到检测到路由器300变得不可用时再启用。在一些实施例中,也可以在检测到所述路由器300变得不可用的情况下,再根据所述路由器300的配置信息创建本地的软接入点102并开启。In some embodiments, the local soft access point 102 may be created in advance according to the configuration information of the router 300 before being turned on. For example, before it is detected that the router 300 becomes unavailable, the soft access point 102 can be pre-created and kept in a closed state until it is detected that the router 300 becomes unavailable and then enabled. In some embodiments, when it is detected that the router 300 becomes unavailable, the local soft access point 102 can be created and turned on according to the configuration information of the router 300 .
在步骤201,第一片上系统101已经获取到路由器300的配置信息,获取后可以存储到例如存储器101b中(如图3所示)。要创建软接入点102时,可以调用所存储的路由器300的配置信息并据此来创建软接入点102。也就是说,监控路由器300的可用状态(例如连接状态)以及据此创建和/或开启软接入点102都可以自动实现,无需用户手动介入,不需要手动再完成无线音频/视频装置100对软接入点102的配网过程,也不需要手动再次设置智能设备200对软接入点102的相关配置信息,从而进一步提升用户对无线音频/视频装置100的使用体验。在一些实施例中,也可以提供用户的手动输入选项,可以让用户手动输入配置信息,以便第一片上系统101基于手动输入的配置信息来创建所述软接入点102。 In step 201, the first system-on-chip 101 has obtained the configuration information of the router 300, which can be stored in, for example, the memory 101b (as shown in Figure 3). When the soft access point 102 is to be created, the stored configuration information of the router 300 may be called and the soft access point 102 may be created accordingly. That is to say, monitoring the available status (such as connection status) of the router 300 and creating and/or starting the soft access point 102 accordingly can be automatically implemented without manual intervention by the user, and there is no need to manually complete the pairing of the wireless audio/video device 100 During the network configuration process of the soft access point 102, there is no need to manually set the relevant configuration information of the soft access point 102 by the smart device 200, thereby further improving the user's experience of using the wireless audio/video device 100. In some embodiments, a user's manual input option may also be provided, allowing the user to manually input configuration information, so that the first system-on-chip 101 creates the soft access point 102 based on the manually input configuration information.
图4示出根据本申请实施例的音箱(无线音频/视频装置的示例)与手机(智能设备的示例)的无线通信过程的第一示例的示意图。如图4所示,音箱的无线通信模式在模式一与模式二之间动态地切换。在步骤401,手机连接到路由器上,该路由器用于组建Airplay协议所依赖的无线局域网。在步骤402,手机通过苹果公司定义的WAC协议或者自定义方式将路由器的配置信息发送到音箱,也称为手机对音箱的配网过程。在步骤403,音箱使用步骤402中收到的配置信息连接路由器,该配置信息通常包括路由器的网络名称和密码等。连上路由器则音箱与手机按照Airplay协议建立连接(本文中简称为“建立Airplay连接”)(步骤404)。在步骤405,手机通过Airplay连接推送音乐数据到音箱进行播放。FIG. 4 shows a schematic diagram of a first example of a wireless communication process between a speaker (an example of a wireless audio/video device) and a mobile phone (an example of a smart device) according to an embodiment of the present application. As shown in Figure 4, the wireless communication mode of the speaker dynamically switches between mode one and mode two. In step 401, the mobile phone is connected to the router, which is used to establish a wireless LAN on which the Airplay protocol relies. In step 402, the mobile phone sends the configuration information of the router to the speaker through the WAC protocol defined by Apple or a custom method, which is also called the network configuration process of the mobile phone to the speaker. In step 403, the speaker connects to the router using the configuration information received in step 402. The configuration information usually includes the network name and password of the router. After connecting to the router, the speaker and the mobile phone establish a connection according to the Airplay protocol (referred to as "establishing Airplay connection" in this article) (step 404). In step 405, the mobile phone pushes the music data to the speaker for playback through the Airplay connection.
当音箱处于没有路由器的环境时,音箱将无线通信模式切换到模式二(步骤406)。此时音箱可以不再尝试去连接路由器,而是优先利用手机配网获得的路由器的配置信息,创建并开启相同配置的软接入点(SoftAP),创建的WiFi热点数可以为一个或者多个(步骤407)。接着,手机连接到音箱创建的软接入点(步骤408)。鉴于手机在步骤401中已经连接过相同配置的路由器,从而能自动连接音箱创建的软接入点(WiFi热点),无需用户手动输入网络配置信息。在开启的软接入点而非路由器的基础上,音箱与手机按照Airplay协议建立新的Airplay连接(步骤409)。在步骤410,手机通过新建立的Airplay连接,推送音乐到音箱播放。When the speaker is in an environment without a router, the speaker switches the wireless communication mode to mode two (step 406). At this time, the speaker can no longer try to connect to the router, but first uses the configuration information of the router obtained from the mobile phone distribution network to create and open a soft access point (SoftAP) with the same configuration. The number of WiFi hotspots created can be one or more (step 407). Next, the mobile phone connects to the soft access point created by the speaker (step 408). Since the mobile phone has already been connected to the router with the same configuration in step 401, it can automatically connect to the soft access point (WiFi hotspot) created by the speaker without the user having to manually enter network configuration information. Based on the enabled soft access point instead of the router, the speaker and the mobile phone establish a new Airplay connection according to the Airplay protocol (step 409). In step 410, the mobile phone pushes music to the speaker for playback through the newly established Airplay connection.
在一些实施例中,所述无线音频/视频装置100可以包括协同工作的音频器件、视频器件和具有音频和/或视频功能的智能器件中的至少一种或其组合。具体的组合方式可以取决于用户的应用场景,例如,无线音频/视频装置100包括对耳耳机与显示屏的组合(观看电影时),可以包括对耳耳机与智能眼镜的组合(打游戏时)等。In some embodiments, the wireless audio/video device 100 may include at least one or a combination of audio devices, video devices, and smart devices with audio and/or video functionality that work together. The specific combination method may depend on the user's application scenario. For example, the wireless audio/video device 100 includes a combination of earphones and a display screen (when watching a movie), or may include a combination of earphones and smart glasses (when playing games). wait.
在一些实施例中,所述无线音频/视频装置100可以包括协同工作的无线音频器件的组,各组无线音频器件包括第一无线音频器件和第二无线音频器件。例如,所述无线音频器件的组可以包括具有第一耳机和第二耳机的对耳耳机,或者具有对应各个声道的多个音箱的音箱组件。下面以无线音频器件-包括第一耳机和第二耳机的无线对耳耳机-为例进行说明,具体地,第一耳机作为“第一无线音频器件”的示例而第二耳机作为“第二无线音频器件”的 示例,对于第一耳机包含的第一片上系统和第二耳机包含的第二片上系统统一用附图标记101表示而不做区分。In some embodiments, the wireless audio/video device 100 may include groups of wireless audio devices that work together, with each group of wireless audio devices including a first wireless audio device and a second wireless audio device. For example, the set of wireless audio devices may include earphones having a first earphone and a second earphone, or a speaker assembly having a plurality of speakers corresponding to respective channels. The following description takes a wireless audio device - a wireless pair of earphones including a first earphone and a second earphone - as an example. Specifically, the first earphone is used as an example of the "first wireless audio device" and the second earphone is used as the "second wireless audio device". audio device” For example, the first system-on-chip included in the first earphone and the second system-on-chip included in the second earphone are uniformly represented by reference numeral 101 without distinction.
但须知以下实施例也可以灵活转用于其他无线音频器件(例如无线音箱)、无线视频器件或者具有音频和/或视频功能的智能器件,在此不赘述。However, it should be noted that the following embodiments can also be flexibly applied to other wireless audio devices (such as wireless speakers), wireless video devices, or smart devices with audio and/or video functions, which will not be described again here.
在一些实施例中,至少一个无线音频器件,例如第一耳机100和/或第二耳机100,配置为存储接收自智能设备200的路由器的配置信息。其中,所述第一耳机100包含第一片上系统101,所述第一片上系统101进一步配置为:在判定所述路由器变得不可用的情况下,根据所述路由器的配置信息来开启本地的第一软接入点102,并按照DLNA协议经由开启的第一软接入点102直接接收来自所述智能设备200的音频数据;以及将接收到的音频数据转发给所述第二耳机100。如图5所示,从智能设备200向第一耳机的第一软接入点102传输音频数据的无线连接1采用的是WiFi通信模式,而第一片上系统101将音频数据转发给第二耳机100(实际上是第二耳机100上的第二片上系统101)的无线连接2可以采用不同的通信模式,例如蓝牙通信模式(包括但不限于BLE模式、常规蓝牙通信模式、改进型的蓝牙通信模式、LE Audio通信模式等)、NFC通信模式等。通过在第一耳机100与第二耳机100之间采用与WiFi通信模式不同的通信模式,尤其是不依赖于无线局域网的通信模式,仅仅在第一片上系统101处开启第一软接入点102就可以适用于当前常规的DLNA协议对于接入点的限制。具体说来,当前常规的DLNA协议通常采用1对1的固有配置,只支持第一软接入点102将接收的音频数据传输给第一耳机100自身,例如存储在第一耳机100自身的存储器中,利用第一耳机100上通常设有的蓝牙通信模块、NFC通信模块等,就可以将音频数据转发给通常也设有蓝牙通信模块等的第二耳机100。如此,可以尽量减少开启的热点,毕竟热点会带来隐私暴露的风险。另一方面也能减少功耗。目前市面上不少智能设备,比如手机、pad等,只支持常规的DLNA协议,即智能设备只能通过DLNA协议向一个无线音频器件发送音频数据。因此,多个无线音频器件(比如两个耳机)通过上述方式从支持常规的DLNA协议的智能设备获取音频数据,有很大实用意义。In some embodiments, at least one wireless audio device, such as the first earphone 100 and/or the second earphone 100 , is configured to store configuration information received from the router of the smart device 200 . Wherein, the first headset 100 includes a first system-on-chip 101, and the first system-on-chip 101 is further configured to: when it is determined that the router becomes unavailable, turn on the router according to the configuration information of the router. The local first soft access point 102 directly receives the audio data from the smart device 200 via the enabled first soft access point 102 according to the DLNA protocol; and forwards the received audio data to the second headset. 100. As shown in Figure 5, the wireless connection 1 for transmitting audio data from the smart device 200 to the first soft access point 102 of the first earphone adopts the WiFi communication mode, and the first system-on-chip 101 forwards the audio data to the second The wireless connection 2 of the earphone 100 (actually the second system-on-chip 101 on the second earphone 100) can adopt different communication modes, such as Bluetooth communication mode (including but not limited to BLE mode, conventional Bluetooth communication mode, improved Bluetooth Communication mode, LE Audio communication mode, etc.), NFC communication mode, etc. By adopting a communication mode different from the WiFi communication mode between the first earphone 100 and the second earphone 100 , especially a communication mode that does not rely on wireless LAN, the first soft access point is only turned on at the first system-on-chip 101 102 can be applied to the current conventional DLNA protocol restrictions on access points. Specifically, the current conventional DLNA protocol usually adopts a 1-to-1 inherent configuration and only supports the first soft access point 102 to transmit the received audio data to the first headset 100 itself, for example, to store it in the memory of the first headset 100 itself. , using the Bluetooth communication module, NFC communication module, etc. usually provided on the first earphone 100, the audio data can be forwarded to the second earphone 100, which is also usually equipped with a Bluetooth communication module, etc. In this way, you can minimize the number of hotspots that are turned on. After all, hotspots bring the risk of privacy exposure. On the other hand, it can also reduce power consumption. Currently, many smart devices on the market, such as mobile phones, pads, etc., only support the conventional DLNA protocol, that is, smart devices can only send audio data to a wireless audio device through the DLNA protocol. Therefore, it is of great practical significance for multiple wireless audio devices (such as two headphones) to obtain audio data from smart devices that support the conventional DLNA protocol through the above method.
在一些实施例中,也可以对DLNA协议进行定制,如图6所示,定制的DLNA协议允许支持其的所述路由器或所述第一耳机100的第一软接入点102作为中继器将接收到的音频数据转发给数个无线音频器件,包括但不限于第 一耳机100自身和第二耳机100。第一耳机100支持定制的DLNA协议,且配置为与支持定制的DLNA协议的智能设备200通信。也就是说,通过定制的DLNA协议,智能设备200与第一耳机100之间用于传输音频数据的无线连接1和第一耳机100与第二耳机100之间用于传输音频数据的无线连接1可以均采用WiFi通信模式,从而显著提升开启第一软接入点102的中继效用,无需开启其他WiFi热点,对于仅仅设置单一WiFi通信的无线音频器件也都适用。In some embodiments, the DLNA protocol can also be customized. As shown in FIG. 6 , the customized DLNA protocol allows the router or the first soft access point 102 of the first headset 100 that supports it to act as a repeater. Forward the received audio data to several wireless audio devices, including but not limited to One earphone 100 itself and a second earphone 100 . The first earphone 100 supports the customized DLNA protocol and is configured to communicate with the smart device 200 supporting the customized DLNA protocol. That is to say, through the customized DLNA protocol, the wireless connection 1 between the smart device 200 and the first earphone 100 is used to transmit audio data, and the wireless connection 1 between the first earphone 100 and the second earphone 100 is used to transmit audio data. The WiFi communication mode can be adopted, thereby significantly improving the relay utility of opening the first soft access point 102 without opening other WiFi hotspots. It is also applicable to wireless audio devices that only set up a single WiFi communication.
在一些实施例中,对于智能设备200只支持常规DLNA协议的情况下,也可以不需要用其它通信协议或通信方式实现多个无线音频器件间的音频传送,还是利用DLNA协议来实现多个无线音频器件间的音频传送。除了在第一耳机100处开启第一软接入点102以外,还进一步在第二耳机100处开启额外的第二软接入点102,来实现智能设备200与第一耳机100和第二耳机100之间的音频数据的共享。具体地,如图7所示,所述第一耳机100支持DLNA协议,且配置为与支持常规的DLNA协议的智能设备200,经由第一无线连接1以WiFi通信模式来通信。所述第二耳机100包括第二片上系统101,所述第二片上系统101配置为:在所述第一耳机100要转发接收自所述智能设备200的音频数据的情况下,创建并开启本地的第二软接入点102;按照DLNA协议经由开启的第二软接入点102直接接收来自所述第一耳机100的音频数据。所述第一片上系统101进一步配置为:创建新的DLNA连接1a;通过新的DLNA连接1a经由所述第一软接入点102向所述第二耳机100转发所述音频数据。在一些实施例中,也可以在第一耳机100处开启第二软接入点102,实现第一耳机100通过DLNA连接向第二耳机100传送音频数据。在该实施例中,第一软接入点102、第二软接入点102可以在同一软接入点实现其功能。In some embodiments, when the smart device 200 only supports the conventional DLNA protocol, there is no need to use other communication protocols or communication methods to implement audio transmission between multiple wireless audio devices, or the DLNA protocol is used to implement multiple wireless audio devices. Audio transmission between audio devices. In addition to turning on the first soft access point 102 at the first earphone 100, an additional second soft access point 102 is also turned on at the second earphone 100 to realize the connection between the smart device 200 and the first earphone 100 and the second earphone. Sharing of audio data between 100's. Specifically, as shown in FIG. 7 , the first earphone 100 supports the DLNA protocol and is configured to communicate in WiFi communication mode via the first wireless connection 1 with the smart device 200 that supports the conventional DLNA protocol. The second headset 100 includes a second system-on-chip 101, and the second system-on-chip 101 is configured to: when the first headset 100 wants to forward audio data received from the smart device 200, create and open a local the second soft access point 102; directly receiving the audio data from the first earphone 100 via the turned-on second soft access point 102 according to the DLNA protocol. The first system-on-chip 101 is further configured to: create a new DLNA connection 1a; and forward the audio data to the second headset 100 via the first soft access point 102 through the new DLNA connection 1a. In some embodiments, the second soft access point 102 can also be turned on at the first earphone 100 to enable the first earphone 100 to transmit audio data to the second earphone 100 through a DLNA connection. In this embodiment, the first soft access point 102 and the second soft access point 102 can implement their functions at the same soft access point.
下面以对耳耳机为例,对采用AirPlay协议的情况进行具体说明。The following uses pairs of earphones as an example to give a detailed explanation of the use of AirPlay protocol.
第一耳机100和第二耳机100中的至少一个配置为存储所接收的路由器的配置信息。其中,所述第一耳机100包括第一片上系统101,所述第一片上系统101配置为:在判定所述路由器变得不可用的情况下,根据所述路由器的配置信息来开启本地的第一软接入点102,并按照AirPlay协议经由开启的第一软接入点102,直接接收来自所述智能设备的音频数据并经由第一软接入点102发送给所述第二无线音频器件。与常规的DLNA协议不同,AirPlay并不限于一对一的固定配置,而是可以将音频数据中继到多个接收 方,例如第一耳机100和第二耳机100,甚至其他的音箱、智能眼镜等,从而使得共享通信过程更方便。At least one of the first earphone 100 and the second earphone 100 is configured to store the received configuration information of the router. Wherein, the first headset 100 includes a first system-on-chip 101, and the first system-on-chip 101 is configured to: when it is determined that the router becomes unavailable, enable local operation according to the configuration information of the router. The first soft access point 102 of the smart device directly receives the audio data from the smart device through the enabled first soft access point 102 according to the AirPlay protocol and sends it to the second wireless device via the first soft access point 102. audio devices. Unlike regular DLNA protocols, AirPlay is not limited to a one-to-one fixed configuration, but can relay audio data to multiple receivers For example, the first earphone 100 and the second earphone 100, or even other speakers, smart glasses, etc., thereby making the shared communication process more convenient.
关于第一软接入点102的创建,所述第一片上系统101可以进一步配置为:在判定所述路由器变得不可用时,再创建第一软接入点102并开启。可替代地,第一片上系统101页可以进一步配置为在获取到路由器的配置信息后且在判定所述路由器变得不可用之前(也就是路由器还可用的状态下),就预先创建好本地的第一软接入点102,只是不开启,等到路由器不可用了再开启。如此,在用户在收听音乐的过程中,例如转移到户外导致连不上先前的路由器时,启用第一软接入点102的耗时更短,响应更迅速,让用户感受不到路由器的断开,提升对音乐收听的流畅体验。Regarding the creation of the first soft access point 102, the first system-on-chip 101 may be further configured to: when it is determined that the router becomes unavailable, create the first soft access point 102 and turn it on. Alternatively, the first system-on-chip 101 page may be further configured to pre-create the local device after obtaining the configuration information of the router and before determining that the router becomes unavailable (that is, while the router is still available). The first soft access point 102 is just not turned on until the router is unavailable and then turned on. In this way, when the user is listening to music, for example, when the user moves outdoors and cannot connect to the previous router, it takes less time to activate the first soft access point 102 and the response is faster, so that the user does not feel the interruption of the router. Turn on to improve the smooth experience of music listening.
返回到图3,第一片上系统101通常会包括BLE通信模块101d。智能设备通常也会包含BLE通信模块。在一些实施例中,可以利用BLE通信模块101d,以较低的功耗保持对智能设备有关音频传输的信息的持续且几乎实时的监控。具体说来,所述第一片上系统101可以配置为:与智能设备经由BLE通信模式持续地通信,以获知智能设备是否指示各无线音频器件(例如但不限于第一耳机100和第二耳机100)要接收和/或播放音频数据;在获知智能设备指示各无线音频器件要接收和/或播放音频数据并且所述路由器变得不可用的情况下,开启本地创建的第一软接入点102。具体说来,智能设备诸如手机在用户打开音频播放软件时,或者用户点击音乐文件时,发出要接收和/或播放音频数据的指示。在智能设备要传输音频数据的情况下,且路由器变得不可用的情况下,再开启第一软接入点102,可以降低无线音频器件待机时或者不需要接收音频数据时的功耗,减少WiFi热点长时间开启的隐私风险,同时又可以针对确实要播放音频数据但路由器变为不用或由于距离变远不可用时能灵敏地开启软接入点,以实现音频数据的顺畅传输。相反,在智能设备没有指示各无线音频器件(例如第一耳机100)要接收和/或播放音频数据的情况下,所述第一耳机100持续与智能设备经由BLE通信模式通信,而所述第一软接入点102关闭。例如,智能设备可能在播放音频数据一段时间后停止,那么第一耳机100尤其第一片上系统101可以转为BLE通信模块101d保持工作而第一软接入点102关闭的状态,从而能够以较低的功耗保持对智能设备有关音频传输的信息的持续且几乎实时的监控,又能够降低无线音频 器件待机时或者不需要接收音频数据时的功耗,减少WiFi热点长时间开启的隐私风险。Returning to Figure 3, the first system-on-chip 101 typically includes a BLE communication module 101d. Smart devices usually also contain BLE communication modules. In some embodiments, the BLE communication module 101d can be utilized to maintain continuous and almost real-time monitoring of information about audio transmissions from smart devices with lower power consumption. Specifically, the first system-on-chip 101 may be configured to continuously communicate with the smart device via the BLE communication mode to learn whether the smart device indicates each wireless audio device (such as but not limited to the first earphone 100 and the second earphone). 100) To receive and/or play audio data; upon learning that the smart device instructs each wireless audio device to receive and/or play audio data and the router becomes unavailable, turn on the locally created first soft access point 102. Specifically, a smart device such as a mobile phone sends an instruction to receive and/or play audio data when the user opens the audio playback software or when the user clicks on the music file. When the smart device wants to transmit audio data and the router becomes unavailable, turning on the first soft access point 102 can reduce the power consumption of the wireless audio device when it is in standby or when it does not need to receive audio data. The privacy risk of WiFi hotspot being turned on for a long time can be sensitive to the fact that audio data needs to be played but the router becomes unused or becomes unavailable due to the distance, so as to achieve smooth transmission of audio data. On the contrary, in the case where the smart device does not instruct each wireless audio device (such as the first earphone 100) to receive and/or play audio data, the first earphone 100 continues to communicate with the smart device via the BLE communication mode, and the first earphone 100 continues to communicate with the smart device via the BLE communication mode. A soft access point 102 shuts down. For example, the smart device may stop playing audio data after a period of time. Then the first earphone 100, especially the first system-on-chip 101, can be converted to a state in which the BLE communication module 101d keeps working and the first soft access point 102 is turned off, so that it can Lower power consumption maintains continuous and near real-time monitoring of information about audio transmissions from smart devices while reducing wireless audio The power consumption of the device when it is in standby or when it does not need to receive audio data reduces the privacy risk of WiFi hotspots being turned on for a long time.
在一些实施例中,关于路由器是否变得不可用的判定,可以对智能设备与路由器的连接状况及第一片上系统101所在的第一耳机100与路由器的连接状况进行择一或组合考虑来做出。例如,所述第一片上系统101可以进一步配置为:经由与所述智能设备的BLE通信模式的持续通信,以获知所述智能设备是否连不上所述路由器,如果是,则判定所述路由器变得不可用。又例如,所述第一片上系统101可以进一步配置为:判定是否连不上所述路由器,如果是,则判定所述路由器变得不可用。具体说来,可以在预定的时间段内例如若干秒,几十秒等判定是否持续连不上,如果是,才判定路由器变得不可用。In some embodiments, regarding the determination of whether the router becomes unavailable, one or a combination of the connection status of the smart device and the router and the connection status of the first earphone 100 where the first system-on-chip 101 is located and the router can be considered. made. For example, the first system-on-chip 101 may be further configured to: via continuous communication with the smart device in the BLE communication mode, to learn whether the smart device cannot connect to the router, and if so, determine whether the smart device is unable to connect to the router. The router becomes unavailable. For another example, the first system-on-chip 101 may be further configured to determine whether the router cannot be connected, and if so, determine that the router has become unavailable. Specifically, it can be determined within a predetermined time period, such as several seconds, tens of seconds, etc., whether the connection continues to be unavailable. If so, it is determined that the router has become unavailable.
路由器可以恢复为正常工作的状态,类似于上文关于路由器不可用状态的监控,恢复正常状态也可以由第一耳机100自身来检测得知,或者经由BLE通信来实时从智能设备获知智能设备是否检出路由器恢复了正常状态。具体说来,所述第一片上系统101可以配置为:与智能设备经由BLE通信模式持续地通信,以获知智能设备是否指示各无线音频器件(例如但不限于第一耳机100或第二耳机100)要接收和/或播放音频数据以及智能设备是否已经连上路由器;在获知智能设备指示各无线音频器件要接收和/或播放音频数据并且已经连上路由器的情况下,根据DLNA协议或Airplay协议经由所述路由器接收来自所述智能设备的音频数据。也就是说,一旦路由器恢复正常工作状态,而智能设备确实会有音频数据要推送到无线音频器件播放,则恢复根据DLNA协议或Airplay协议经由所述路由器来中继音频数据,从而减少无线音频器件的功耗,且关闭无需启用的软接入点。The router can be restored to a normal working state, similar to the above monitoring of the unavailable state of the router. The return to the normal state can also be detected by the first headset 100 itself, or the smart device can be informed in real time from the smart device via BLE communication. Check out the router and return to normal state. Specifically, the first system-on-chip 101 may be configured to continuously communicate with the smart device via the BLE communication mode to learn whether the smart device indicates each wireless audio device (such as but not limited to the first earphone 100 or the second earphone). 100) To receive and/or play audio data and whether the smart device is connected to the router; upon learning that the smart device instructs each wireless audio device to receive and/or play audio data and is connected to the router, according to the DLNA protocol or Airplay A protocol receives audio data from the smart device via the router. That is to say, once the router returns to normal working status and the smart device does have audio data to be pushed to the wireless audio device for playback, it will resume relaying audio data via the router according to the DLNA protocol or Airplay protocol, thereby reducing the number of wireless audio devices. power consumption, and disable soft access points that do not need to be enabled.
关于智能设备是否指示各无线音频器件(例如但不限于第一耳机100或第二耳机100)要接收和/或播放音频数据的信息,除了可以从智能设备获知,也可以通过无线音频器件的当前状态来推断。Information about whether the smart device instructs each wireless audio device (such as but not limited to the first earphone 100 or the second earphone 100) to receive and/or play audio data can be obtained from the smart device or through the current status of the wireless audio device. status to infer.
以无线对耳耳机为例进行说明。所述第一耳机100的所述第一片上系统101可以配置为:判定是否从充电盒取出或者是否在耳内,如果是,且所述路由器变得不可用的情况下,开启本地创建的第一软接入点102。这种设定巧妙考虑到了无线对耳耳机的使用方式,人们要使用无线耳机播放音频数据时,通常会将耳机从充电盒取出(或者保持在充电盒外不再充电的状态),或 者将耳机佩戴在耳内。当第一耳机100从充电盒取出或者置入耳内时,通常意味着可能要用于播放音频数据了。当第一耳机100处于充电盒内,或者没有佩戴在耳内时,则意味着不用于播放音频数据,可以关闭第一耳机100处的第一软接入点102,从而可以减少不会播放音频数据时的功耗和隐私暴露风险。Take wireless in-ear headphones as an example for explanation. The first system-on-chip 101 of the first earphone 100 may be configured to: determine whether it is taken out from the charging box or whether it is in the ear, and if so, and the router becomes unavailable, open the locally created earphone. First soft access point 102. This setting cleverly takes into account the use of wireless in-ear headphones. When people want to use wireless headphones to play audio data, they usually take the headphones out of the charging box (or keep them outside the charging box without charging), or The person wears the headphones in their ears. When the first earphone 100 is taken out of the charging box or placed in the ear, it usually means that it may be used to play audio data. When the first earphone 100 is in the charging box or not worn in the ear, it means that it is not used to play audio data. The first soft access point 102 at the first earphone 100 can be turned off, thereby reducing the risk of not playing audio data. Power consumption and privacy exposure risks when using data.
在一些实施例中,第一片上系统101可以通过与充电盒进行有线(触点是否接触)或无线通信(例如但不限于BLE通信),来获知第一耳机100是否在充电盒内,也可以通过传感器组件101e(参见图3),例如但不限于光学传感器等,来获知第一耳机100是否在充电盒内。通常在处于充电盒内时,光学传感器会检测到入射光线的能量的显著降低。In some embodiments, the first system-on-chip 101 can learn whether the first earphone 100 is in the charging box by performing wired (whether the contacts are in contact) or wireless communication (such as but not limited to BLE communication) with the charging box, and also Whether the first earphone 100 is in the charging box can be known through the sensor component 101e (see FIG. 3), such as but not limited to an optical sensor. Typically when inside the charging case, the optical sensor will detect a significant decrease in the energy of the incident light.
在一些实施例中,第一片上系统101可以通过传感器组件101e(参见图3),例如但不限于电容传感器、光学传感器等,来进行入耳检测。一旦第一耳机100入耳,检测到的光线或者电容会发生显著的改变。In some embodiments, the first system-on-chip 101 may perform in-ear detection through a sensor component 101e (see FIG. 3), such as but not limited to a capacitive sensor, an optical sensor, etc. Once the first earphone 100 is inserted into the ear, the detected light or capacitance will change significantly.
图8示出根据本申请实施例的用于无线音频/视频装置的无线通信方法的流程图。如图8所示,该无线通信方法可以包括步骤801:提供一种无线音频/视频装置,其支持基于WiFi的无线多媒体传输协议,且配置为与支持所述基于WiFi的无线多媒体传输协议的智能设备进行通信。FIG. 8 shows a flowchart of a wireless communication method for a wireless audio/video device according to an embodiment of the present application. As shown in Figure 8, the wireless communication method may include step 801: providing a wireless audio/video device that supports a WiFi-based wireless multimedia transmission protocol and is configured to communicate with a smart device that supports the WiFi-based wireless multimedia transmission protocol. devices communicate.
在步骤802,可以在所述智能设备连接到路由器后,由所述无线音频/视频装置,接收来自所述智能设备的路由器的配置信息,其中,需要所述路由器来组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网。In step 802, after the smart device is connected to the router, the wireless audio/video device may receive configuration information from the router of the smart device, where the router is needed to establish the WiFi-based wireless device. Wireless LAN on which the multimedia transmission protocol relies.
在步骤803,可以由所述无线音频/视频装置,基于所述路由器的配置信息连接到所述路由器,按照所述基于WiFi的无线多媒体传输协议经由所述路由器接收来自所述智能设备或云服务器的音频/视频数据。In step 803, the wireless audio/video device may be connected to the router based on the configuration information of the router, and receive data from the smart device or cloud server via the router according to the WiFi-based wireless multimedia transmission protocol. audio/video data.
在步骤804,可以检测所述路由器的可用性,在检测到所述路由器变得不可用的情况下,由所述无线音频/视频装置,开启根据所述路由器的配置信息所创建的本地的软接入点,按照所述基于WiFi的无线多媒体传输协议经由开启的软接入点直接接收来自所述智能设备的音频/视频数据。In step 804, the availability of the router may be detected. When it is detected that the router becomes unavailable, the wireless audio/video device opens a local soft connection created according to the configuration information of the router. Access point, directly receiving audio/video data from the smart device via the enabled soft access point according to the WiFi-based wireless multimedia transmission protocol.
上文中结合无线音频/视频装置描述的无线通信过程的实施例均可以分别或组合地结合于此。具体说来,该无线通信方法可以包括:接收手动输入的所述路由器的配置信息,或者存储所接收的所述路由器的配置信息;以及基于手动输入或者存储的所述路由器的配置信息,来创建所述软接入点。 The embodiments of the wireless communication process described above in connection with the wireless audio/video device can be incorporated here either individually or in combination. Specifically, the wireless communication method may include: receiving manually input configuration information of the router, or storing the received configuration information of the router; and creating based on the manually input or stored configuration information of the router. The soft access point.
可以对路由器的配置信息进行存储并根据存储的路由器的配置信息来创建软接入点,由于开启的软接入点就是根据所述路由器的配置信息所创建的,智能设备无需对无线音频/视频装置执行复杂的配网过程,就可以自动连上软接入点,稳定方便地继续分享传输音频/视频数据,在整个自由移动的过程中,使得用户能够保持良好的视听体验。路由器的配置信息的手动输入,可以作为选项,也可以作为补充,当智能设备能够自动连上开启的软接入点时,可以无需手动输入路由器的配置信息,而当智能设备无法自动连上开启的软接入点时,说明软接入点基于的配置信息不同于智能设备所知的配置信息,则可以手动进行修改。The configuration information of the router can be stored and a soft access point can be created based on the stored configuration information of the router. Since the opened soft access point is created based on the configuration information of the router, the smart device does not need to perform wireless audio/video After the device performs a complex network configuration process, it can automatically connect to the soft access point, continue to share and transmit audio/video data stably and conveniently, and enable users to maintain a good audio-visual experience throughout the entire process of free movement. Manual input of the router's configuration information can be used as an option or as a supplement. When the smart device can automatically connect to the enabled soft access point, there is no need to manually enter the router's configuration information. However, when the smart device cannot automatically connect to the enabled soft access point, When the soft access point is configured, it means that the configuration information based on the soft access point is different from the configuration information known by the smart device, and it can be modified manually.
如上所述,所述基于WiFi的无线多媒体传输协议可以包括DLNA协议,或者AirPlay协议。As mentioned above, the WiFi-based wireless multimedia transmission protocol may include a DLNA protocol or an AirPlay protocol.
在一些实施例中,在所述无线音频/视频装置包括成组的第一无线音频器件和第二无线音频器件的情况下,可以在所述第一无线音频器件中存储所接收的路由器的配置信息。在所述路由器变得不可用的情况下,由所述第一无线音频器件根据所述路由器的配置信息开启本地的第一软接入点,并按照DLNA协议经由开启的第一软接入点直接接收来自所述智能设备的音频数据。接着,由所述第一无线音频器件将接收到的音频数据转发给所述第二无线音频器件。In some embodiments, where the wireless audio/video device includes a set of a first wireless audio device and a second wireless audio device, the received configuration of the router may be stored in the first wireless audio device information. When the router becomes unavailable, the first wireless audio device turns on the local first soft access point according to the configuration information of the router, and uses the turned on first soft access point according to the DLNA protocol. Receive audio data directly from the smart device. Then, the first wireless audio device forwards the received audio data to the second wireless audio device.
在一些实施例中,在所述无线音频/视频装置包括成组的第一无线音频器件和第二无线音频器件的情况下,可以在所述第一无线音频器件中存储所接收的路由器的配置信息。在所述路由器变得不可用的情况下,由所述第一无线音频器件根据所述路由器的配置信息开启本地的第一软接入点。由所述第一无线音频器件,按照AirPlay协议经由开启的第一软接入点直接接收来自所述智能设备的音频数据,并经由开启的第一软接入点发送给所述第二无线音频器件。In some embodiments, where the wireless audio/video device includes a set of a first wireless audio device and a second wireless audio device, the received configuration of the router may be stored in the first wireless audio device information. When the router becomes unavailable, the first wireless audio device turns on the local first soft access point according to the configuration information of the router. The first wireless audio device directly receives audio data from the smart device via the enabled first soft access point according to the AirPlay protocol, and sends it to the second wireless audio device via the enabled first soft access point. device.
在一些实施例中,可以由所述第一无线音频器件与智能设备经由BLE通信模式持续地通信,以获知智能设备是否指示各无线音频器件要接收和/或播放音频数据。在获知智能设备指示各无线音频器件要接收和/或播放音频数据并且所述路由器变得不可用的情况下,由所述第一无线音频器件开启本地创建的第一软接入点。 In some embodiments, the first wireless audio device may continuously communicate with the smart device via the BLE communication mode to learn whether the smart device instructs each wireless audio device to receive and/or play audio data. Upon learning that the smart device instructs each wireless audio device to receive and/or play audio data and the router becomes unavailable, the first wireless audio device turns on the locally created first soft access point.
在一些实施例中,可以由所述第一无线音频器件与所述智能设备进行BLE通信模式的持续通信,以获知所述智能设备是否连不上所述路由器,如果是,则判定所述路由器变得不可用。或者,可以由所述第一无线音频器件判定是否连不上所述路由器,如果是,则判定所述路由器变得不可用。In some embodiments, the first wireless audio device can perform continuous communication with the smart device in the BLE communication mode to learn whether the smart device cannot connect to the router, and if so, determine whether the router becomes unavailable. Alternatively, the first wireless audio device may determine whether it cannot connect to the router, and if so, it may be determined that the router becomes unavailable.
在一些实施例中,在智能设备没有指示各无线音频器件要接收和/或播放音频数据的情况下,由所述第一无线音频器件持续与智能设备经由BLE通信模式通信,而关闭所述第一软接入点。In some embodiments, when the smart device does not instruct each wireless audio device to receive and/or play audio data, the first wireless audio device continues to communicate with the smart device via the BLE communication mode, and the first wireless audio device turns off the A soft access point.
在一些实施例中,可以由所述第一无线音频器件,经由WiFi通信模式或蓝牙通信模式,将接收到的音频数据转发给所述第二无线音频器件。In some embodiments, the received audio data may be forwarded by the first wireless audio device to the second wireless audio device via a WiFi communication mode or a Bluetooth communication mode.
在一些实施例中,可以定制所述DLNA协议,定制的DLNA协议允许支持其的所述路由器或所述第一无线音频器件的所述第一软接入点作为中继器将接收到的音频数据转发给数个无线音频器件。In some embodiments, the DLNA protocol can be customized, allowing the router that supports it or the first soft access point of the first wireless audio device to act as a repeater to pass the received audio The data is forwarded to several wireless audio devices.
在一些实施例中,可以由所述第二无线音频器件:在所述第一无线音频器件要转发接收自所述智能设备的音频数据的情况下,创建并开启本地的第二软接入点;按照常规的DLNA协议经由开启的第二软接入点直接接收来自所述第一无线音频器件的音频数据。In some embodiments, the second wireless audio device may: create and open a local second soft access point when the first wireless audio device wants to forward audio data received from the smart device. ; Directly receiving audio data from the first wireless audio device via the turned-on second soft access point according to the conventional DLNA protocol.
在一些实施例中,可以由所述第一无线音频器件与智能设备经由BLE通信模式持续地通信,以获知智能设备是否指示各无线音频器件要接收和/或播放音频数据以及智能设备是否已经连上路由器;在获知智能设备指示各无线音频器件要接收和/或播放音频数据并且已经连上路由器的情况下,根据DLNA协议或Airplay协议经由所述路由器接收来自所述智能设备的音频数据。In some embodiments, the first wireless audio device may continuously communicate with the smart device via the BLE communication mode to learn whether the smart device instructs each wireless audio device to receive and/or play audio data and whether the smart device is connected. Connect to the router; after learning that the smart device instructs each wireless audio device to receive and/or play audio data and has been connected to the router, receive audio data from the smart device via the router according to the DLNA protocol or Airplay protocol.
在一些实施例中,对于作为第一耳机的所述第一无线音频器件,可以判定所述第一耳机是否从充电盒取出或者是否在耳内,如果是,且所述路由器变得不可用的情况下,由所述第一耳机开启本地创建的第一软接入点。In some embodiments, for the first wireless audio device as the first earphone, it may be determined whether the first earphone is removed from the charging box or is in the ear, and if so, the router becomes unavailable. In this case, the first headset turns on the first soft access point created locally.
如图9所示,本申请公开了一种包括无线音频/视频装置100和充电盒900的无线套件。在图9中,以对耳耳机作为无线音频/视频装置100的示例进行说明,但是本申请中的无线音频/视频装置100不限于此。As shown in FIG. 9 , the present application discloses a wireless kit including a wireless audio/video device 100 and a charging box 900 . In FIG. 9 , pair-of-ear headphones are used as an example of the wireless audio/video device 100, but the wireless audio/video device 100 in the present application is not limited thereto.
所述无线音频/视频装置100支持基于WiFi的无线多媒体传输协议,且配置为与支持所述基于WiFi的无线多媒体传输协议的智能设备200进行通信,其特征在于,所述充电盒900包含第三片上系统901,而且所述无线音频/视频装置100包含第一片上系统101。所述第三片上系统901被配置为支持基 于WiFi的无线多媒体传输协议,并判定是否连接到路由器300。其中,需要所述路由器300来组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网。在判定连不上所述路由器300的情况下,所述第三片上系统901开启基于所述路由器300的配置信息创建的第三软接入点903,按照所述基于WiFi的无线多媒体传输协议经由开启的第三软接入点903来接收来自所述智能设备200的音频/视频数据,并进行转发。所述第一片上系统101进一步配置为基于路由器300的配置信息尝试连接所述路由器300。在连接到所述路由器300的情况下,所述第一片上系统101按照所述基于WiFi的无线多媒体传输协议经由所述路由器300接收来自所述智能设备200或云服务器的音频/视频数据。在连不上所述路由器300且所述充电盒900开启了所述第三软接入点903的情况下,所述第一片上系统101接收来自充电盒900的转发的音频/视频数据。由此,所述无线音频/视频装置100经由第一片上系统101可以尽量去尝试连接路由器300,在路由器300可用(连接状况良好)的情况下,就可以经由路由器300来接收音频/视频数据,从而在降低自身功耗(因为非必要则不开启自身本地处的软接入点)的同时,确保音频/视频数据的顺畅;而在连不上路由器300的情况下,也不会贸然直接开启自身本地的软接入点903,而是核实配备有第三片上系统901的充电盒900是否开启了第三软接入点903,一旦开启,就依赖于储电量明显高于自身的充电盒900来转发获取音频/视频数据,从而进一步抑制自身功耗的增加。具体说来,可以由智能设备对第一片上系统101配置路由器300的配置信息(或者说配网)。然后,充电盒900后续可以获取并使用路由器300的配置信息来伪装成路由器300。不需要再次手工输入。在一些情况下,可以实现一键配网。在连不上路由器300的情况下,第一片上系统101可以自动迅速地连上伪装成路由器300的充电盒900。The wireless audio/video device 100 supports the WiFi-based wireless multimedia transmission protocol, and is configured to communicate with the smart device 200 that supports the WiFi-based wireless multimedia transmission protocol. It is characterized in that the charging box 900 includes a third System-on-chip 901 , and the wireless audio/video device 100 includes a first system-on-chip 101 . The third system-on-chip 901 is configured to support base Based on the wireless multimedia transmission protocol of WiFi, and determine whether to connect to the router 300. Among them, the router 300 is needed to establish a wireless local area network on which the WiFi-based wireless multimedia transmission protocol relies. When it is determined that the router 300 cannot be connected, the third system-on-chip 901 turns on the third soft access point 903 created based on the configuration information of the router 300, and transmits it via the WiFi-based wireless multimedia transmission protocol. The third soft access point 903 is turned on to receive the audio/video data from the smart device 200 and forward it. The first system-on-chip 101 is further configured to attempt to connect to the router 300 based on the configuration information of the router 300 . When connected to the router 300 , the first system-on-chip 101 receives audio/video data from the smart device 200 or the cloud server via the router 300 according to the WiFi-based wireless multimedia transmission protocol. When the router 300 cannot be connected and the charging box 900 turns on the third soft access point 903 , the first system-on-chip 101 receives the forwarded audio/video data from the charging box 900 . Therefore, the wireless audio/video device 100 can try to connect to the router 300 via the first system-on-chip 101. When the router 300 is available (the connection status is good), the audio/video data can be received via the router 300. , thereby reducing its own power consumption (because it does not turn on its local soft access point unless necessary) while ensuring the smooth flow of audio/video data; and when it cannot connect to the router 300, it will not rashly directly Turn on its own local soft access point 903, but verify whether the charging box 900 equipped with the third system-on-chip 901 has turned on the third soft access point 903. Once turned on, it relies on the charging box with a significantly higher power storage than its own. 900 to forward to obtain audio/video data, thereby further suppressing the increase in its own power consumption. Specifically, the smart device can configure the configuration information (or network distribution) of the router 300 on the first system-on-chip 101 . Then, the charging box 900 can subsequently obtain and use the configuration information of the router 300 to disguise itself as the router 300. No need to enter it manually again. In some cases, one-click network configuration can be achieved. When the router 300 cannot be connected, the first system-on-chip 101 can automatically and quickly connect to the charging box 900 disguised as the router 300 .
在一些实施例中,所述第一片上系统101进一步配置为在连不上所述路由器300且充电盒900没有开启所述第三软接入点903的情况下,经由BLE通信模式向所述充电盒900发送开启软接入点的第一通知。由此,无线音频/视频装置100即便路由器300和充电盒900都没有接入点的情况下依然不会贸然直接开启自身本地的软接入点,而是通知充电盒900,以促使充电盒900来开启软接入点,从而进一步抑制自身功耗的增加。 In some embodiments, the first system-on-chip 101 is further configured to send a signal to the third soft access point 903 via the BLE communication mode when the router 300 cannot be connected and the charging box 900 does not turn on the third soft access point 903 . The charging box 900 sends a first notification to turn on the soft access point. Therefore, even if neither the router 300 nor the charging box 900 has an access point, the wireless audio/video device 100 will not rashly directly turn on its own local soft access point, but will notify the charging box 900 to prompt the charging box 900 to turn on the soft access point to further suppress the increase in its own power consumption.
在一些实施例中,所述第三片上系统901与所述第一片上系统101经由BLE通信模式进行持续的无线通信,以通知所述充电盒900的包括是否开启第三软接入点903的状态信息。In some embodiments, the third system-on-chip 901 and the first system-on-chip 101 conduct continuous wireless communication via the BLE communication mode to notify the charging box 900 including whether to turn on the third soft access point 903 status information.
在一些实施例中,所述第一片上系统101进一步配置为在连不上所述路由器300且充电盒900没有开启所述第三软接入点903的情况下,向所述智能设备200发送要求充电盒900开启软接入点的第二通知。所述第三片上系统901进一步配置为接收来自所述智能设备200的开启软接入点的第三通知,响应于接收到所述第三通知,开启所述第三软接入点903。In some embodiments, the first system-on-chip 101 is further configured to provide the smart device 200 with a signal when the router 300 cannot be connected and the charging box 900 does not turn on the third soft access point 903 . Send a second notification requesting the charging box 900 to turn on the soft access point. The third system-on-chip 901 is further configured to receive a third notification from the smart device 200 to turn on the soft access point, and in response to receiving the third notification, turn on the third soft access point 903 .
在一些实施例中,所述第一片上系统101进一步配置为在充电盒900在预定时间内没有开启所述第三软接入点901的情况下,才开启根据所述路由器300的配置信息所创建的本地的第一软接入点102,按照所述基于WiFi的无线多媒体传输协议经由开启的第一软接入点102直接接收来自所述智能设备200的音频/视频数据。In some embodiments, the first system-on-chip 101 is further configured to only turn on the third soft access point 901 according to the configuration information of the router 300 when the charging box 900 does not turn on the third soft access point 901 within a predetermined time. The created local first soft access point 102 directly receives audio/video data from the smart device 200 via the enabled first soft access point 102 according to the WiFi-based wireless multimedia transmission protocol.
在一些实施例中,所述第一片上系统101进一步配置为在连不上所述路由器300的情况下,判定与所述第三片上系统901的BLE通信模式的通信状况。如果通信状况指示BLE通信断开,则开启根据所述路由器300的配置信息所创建的本地的第一软接入点102,按照所述基于WiFi的无线多媒体传输协议经由开启的第一软接入点102直接接收来自所述智能设备200的音频/视频数据。In some embodiments, the first system-on-chip 101 is further configured to determine the communication status of the BLE communication mode with the third system-on-chip 901 when the router 300 cannot be connected. If the communication status indicates that the BLE communication is disconnected, the local first soft access point 102 created according to the configuration information of the router 300 is turned on, and the first soft access point 102 is opened according to the WiFi-based wireless multimedia transmission protocol. Point 102 receives audio/video data directly from the smart device 200 .
具体说来,所述基于WiFi的无线多媒体传输协议包括AirPlay协议,且所述第三片上系统901进一步配置为在连不上所述路由器300而开启第三软接入点903的情况下,按照AirPlay协议,经由开启的第三软接入点903,转发所述音频/视频数据。Specifically, the WiFi-based wireless multimedia transmission protocol includes the AirPlay protocol, and the third system-on-chip 901 is further configured to, when the third soft access point 903 cannot be connected to the router 300, according to The AirPlay protocol forwards the audio/video data via the enabled third soft access point 903.
在一些实施例中,所述基于WiFi的无线多媒体传输协议包括常规的DLNA协议,所述第三片上系统901上包含WiFi通信模块,配置为转发经由开启的第三软接入点903接收自所述智能设备200的音频/视频数据。In some embodiments, the WiFi-based wireless multimedia transmission protocol includes a conventional DLNA protocol, and the third system-on-chip 901 includes a WiFi communication module configured to forward data received from the third soft access point 903 via the enabled third system-on-chip 901 . audio/video data of the smart device 200.
在一些实施例中,所述基于WiFi的无线多媒体传输协议包括定制的DLNA协议,定制的DLNA协议允许所述第三软接入点903作为中继器将接收到的音频数据转发给数个数据接收方,所述第三片上系统901进一步配置为经由开启的所述第三软接入点903转发接收自所述智能设备200的音频/视频数据。 In some embodiments, the WiFi-based wireless multimedia transmission protocol includes a customized DLNA protocol. The customized DLNA protocol allows the third soft access point 903 to act as a repeater to forward the received audio data to several data sources. On the receiving side, the third system-on-chip 901 is further configured to forward the audio/video data received from the smart device 200 via the enabled third soft access point 903 .
作为示例而非限制,如图9所示,所述无线音频/视频装置100可以包括对耳耳机,该对耳耳机包括成对的第一耳机和第二耳机,所述第一片上系统101设置在所述第一耳机上,所述充电盒900在容纳于所述对耳耳机的情况下对其进行充电。所述第三片上系统901进一步配置为判定所述对耳耳机是否从充电盒900取出,在所述对耳耳机从充电盒900取出且连不上所述路由器300的情况下,才开启所述第三软接入点903。如此,避免了对耳耳机置于充电盒900中处于充电状态而非使用状态时,不必要地开启第三软接入点903,从而进一步抑制自身功耗的增加。As an example and not a limitation, as shown in FIG. 9 , the wireless audio/video device 100 may include a pair of earphones including a pair of first earphones and a second earphone, and the first system-on-chip 101 Disposed on the first earphone, the charging box 900 charges the pair of earphones when accommodated therein. The third system-on-chip 901 is further configured to determine whether the pair of earphones are taken out from the charging box 900, and only turn on the pair of earphones when the pair of earphones are taken out from the charging box 900 and cannot be connected to the router 300. Third soft access point 903. In this way, it is avoided that the third soft access point 903 is turned on unnecessarily when the pair of earphones are placed in the charging box 900 and are in a charging state but not in use, thereby further suppressing an increase in their own power consumption.
在一些实施例中,所述第一片上系统101进一步配置为判定第一耳机是否在耳内,如果是则经由BLE通信模式通知所述第三片上系统901。所述第三片上系统901进一步配置为在获知所述第一耳机在耳内并且连不上所述路由器300的情况下,才开启所述第三软接入点903。如此,可以在第一耳机处于耳内因此有很大概率处于听音的使用状态的情况下,才开启第三软接入点903,从而进一步抑制自身功耗的增加。In some embodiments, the first system-on-chip 101 is further configured to determine whether the first earphone is in the ear, and if so, notify the third system-on-chip 901 via the BLE communication mode. The third system-on-chip 901 is further configured to turn on the third soft access point 903 only after learning that the first earphone is in the ear and cannot be connected to the router 300 . In this way, the third soft access point 903 can be turned on only when the first earphone is in the ear and therefore has a high probability of being used for listening, thereby further suppressing an increase in its own power consumption.
在一些实施例中,所述第三软接入点903包括WiFi热点,具有与所述路由器300相同的配置信息,且代替所述路由器300用于组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网。In some embodiments, the third soft access point 903 includes a WiFi hotspot, has the same configuration information as the router 300, and is used instead of the router 300 to form the WiFi-based wireless multimedia transmission protocol on which the of wireless LAN.
参照图10,将结合图9描述根据本申请实施例的无线音频/视频装置100和充电盒900执行的无线通信方法。所述无线音频/视频装置100和所述充电盒900支持基于WiFi的无线多媒体传输协议,且所述无线音频/视频装置100配置为与支持所述基于WiFi的无线多媒体传输协议的智能设备200进行通信。Referring to FIG. 10 , a wireless communication method performed by the wireless audio/video device 100 and the charging box 900 according to the embodiment of the present application will be described in conjunction with FIG. 9 . The wireless audio/video device 100 and the charging box 900 support the WiFi-based wireless multimedia transmission protocol, and the wireless audio/video device 100 is configured to communicate with the smart device 200 that supports the WiFi-based wireless multimedia transmission protocol. communication.
在步骤1001,由所述充电盒900,判定是否连接到路由器300。其中,需要所述路由器300来组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网。在步骤1002,由所述充电盒900判定连不上所述路由器300的情况下,开启基于所述路由器300的配置信息创建的第三软接入点903,按照所述基于WiFi的无线多媒体传输协议经由开启的第三软接入点903来接收来自所述智能设备的音频/视频数据,并进行转发。在步骤1003,无线音频/视频装置100基于路由器300的配置信息尝试连接所述路由器300。在步骤1004,由所述充电盒900判定无线音频/视频装置100是否连接到所述路由器300。在步骤1005a,在无线音频/视频装置100连接到所述路由器300的情况下,按照所述基于WiFi的无线多媒体传输协议经由所述路由器300接收来自所述 智能设备200或云服务器的音频/视频数据。在步骤1005b,在无线音频/视频装置100连不上路由器300且充电盒900开启了第三软接入点903的情况下,接收来自充电盒900的转发的音频/视频数据。In step 1001, the charging box 900 determines whether it is connected to the router 300. Among them, the router 300 is needed to establish a wireless local area network on which the WiFi-based wireless multimedia transmission protocol relies. In step 1002, when the charging box 900 determines that it cannot connect to the router 300, the third soft access point 903 created based on the configuration information of the router 300 is turned on, and the wireless multimedia transmission based on WiFi is started. The protocol receives audio/video data from the smart device via the enabled third soft access point 903 and forwards it. In step 1003, the wireless audio/video device 100 attempts to connect to the router 300 based on the configuration information of the router 300. In step 1004, the charging box 900 determines whether the wireless audio/video device 100 is connected to the router 300. In step 1005a, when the wireless audio/video device 100 is connected to the router 300, receive data from the router 300 via the WiFi-based wireless multimedia transmission protocol. Audio/video data of smart device 200 or cloud server. In step 1005b, when the wireless audio/video device 100 cannot connect to the router 300 and the charging box 900 turns on the third soft access point 903, the forwarded audio/video data from the charging box 900 is received.
请注意,步骤1001-步骤1005b不一定按照图10的顺序和次数来执行,而是可以交替执行,在不影响彼此的逻辑性的情况下也可以调换步骤执行顺序。Please note that steps 1001 to 1005b do not necessarily have to be executed in the order and number of times shown in Figure 10, but can be executed alternately, and the execution order of the steps can also be exchanged without affecting the logic of each other.
在一些实施例中,由所述无线音频/视频装置100,在连不上所述路由器300且充电盒900没有开启所述第三软接入点903的情况下,经由BLE通信模式向所述充电盒发送开启软接入点的第一通知。In some embodiments, when the wireless audio/video device 100 cannot connect to the router 300 and the charging box 900 does not turn on the third soft access point 903, the wireless audio/video device 100 sends a signal to the third soft access point 903 via the BLE communication mode. The charging box sends the first notification to turn on the soft access point.
在一些实施例中,所述充电盒900与所述无线音频/视频装置100经由BLE通信模式进行持续的无线通信,以通知所述充电盒900的包括是否开启第三软接入点903的状态信息。In some embodiments, the charging box 900 and the wireless audio/video device 100 conduct continuous wireless communication via the BLE communication mode to notify the charging box 900 of the status including whether to turn on the third soft access point 903 information.
在一些实施例中,由所述无线音频/视频装置100,在连不上所述路由器300且充电盒900没有开启所述第三软接入点903的情况下,向所述智能设备200发送要求充电盒开启软接入点的第二通知。由所述充电盒900,接收来自所述智能设备200的开启软接入点的第三通知,响应于接收到所述第三通知,开启所述第三软接入点903。In some embodiments, when the wireless audio/video device 100 cannot connect to the router 300 and the charging box 900 does not turn on the third soft access point 903, it sends a message to the smart device 200. Second notification asking the charging box to turn on the soft access point. The charging box 900 receives a third notification from the smart device 200 to turn on the soft access point, and in response to receiving the third notification, turns on the third soft access point 903 .
在一些实施例中,在充电盒900在预定时间内没有开启所述第三软接入点903的情况下,才由所述无线音频/视频装置100开启根据所述路由器300的配置信息所创建的本地的第一软接入点102,按照所述基于WiFi的无线多媒体传输协议经由开启的第一软接入点102直接接收来自所述智能设备200的音频/视频数据。In some embodiments, the wireless audio/video device 100 only turns on the third soft access point 903 created according to the configuration information of the router 300 when the charging box 900 does not turn on the third soft access point 903 within a predetermined time. The local first soft access point 102 directly receives the audio/video data from the smart device 200 via the enabled first soft access point 102 according to the WiFi-based wireless multimedia transmission protocol.
在一些实施例中,由所述无线音频/视频装置100,在连不上所述路由器300的情况下,判定与所述充电盒900的BLE通信模式的通信状况。如果通信状况指示BLE通信断开,则开启根据所述路由器300的配置信息所创建的本地的第一软接入点102,按照所述基于WiFi的无线多媒体传输协议经由开启的第一软接入点102直接接收来自所述智能设备200的音频/视频数据。In some embodiments, the wireless audio/video device 100 determines the communication status of the BLE communication mode with the charging box 900 when it cannot connect to the router 300 . If the communication status indicates that the BLE communication is disconnected, the local first soft access point 102 created according to the configuration information of the router 300 is turned on, and the first soft access point 102 is opened according to the WiFi-based wireless multimedia transmission protocol. Point 102 receives audio/video data directly from the smart device 200 .
在一些实施例中,所述基于WiFi的无线多媒体传输协议包括AirPlay协议,且由所述充电盒900,在连不上所述路由器300而开启第三软接入点903的情况下,按照AirPlay协议,经由开启的第三软接入点903,转发所述音频/视频数据。 In some embodiments, the WiFi-based wireless multimedia transmission protocol includes the AirPlay protocol, and when the charging box 900 fails to connect to the router 300 and turns on the third soft access point 903, it uses the AirPlay protocol. protocol, forward the audio/video data via the enabled third soft access point 903.
在一些实施例中,所述基于WiFi的无线多媒体传输协议包括常规的DLNA协议,所述充电盒900包含WiFi通信模块,其转发经由开启的第三软接入点903接收自所述智能设备200的音频/视频数据。In some embodiments, the WiFi-based wireless multimedia transmission protocol includes a conventional DLNA protocol, and the charging box 900 includes a WiFi communication module that forwards data received from the smart device 200 via the enabled third soft access point 903 audio/video data.
在一些实施例中,所述基于WiFi的无线多媒体传输协议包括定制的DLNA协议,定制的DLNA协议允许所述第三软接入点903作为中继器将接收到的音频数据转发给数个数据接收方,由所述充电盒900经由开启的所述第三软接入点903转发接收自所述智能设备200的音频/视频数据。In some embodiments, the WiFi-based wireless multimedia transmission protocol includes a customized DLNA protocol. The customized DLNA protocol allows the third soft access point 903 to act as a repeater to forward the received audio data to several data sources. On the receiving side, the charging box 900 forwards the audio/video data received from the smart device 200 via the enabled third soft access point 903 .
在一些实施例中,所述无线音频/视频装置100包括对耳耳机,该对耳耳机包括成对的第一耳机和第二耳机,所述第一片上系统101设置在所述第一耳机上,所述充电盒900在容纳于所述对耳耳机的情况下对其进行充电。由所述充电盒900,判定所述对耳耳机是否从充电盒取出。在所述对耳耳机从充电盒900取出且连不上所述路由器300的情况下,才开启所述第三软接入点903。In some embodiments, the wireless audio/video device 100 includes a pair of earphones including a pair of first earphones and a second earphone, and the first system-on-chip 101 is disposed on the first earphone. On the other hand, the charging box 900 charges the pair of earphones while being accommodated therein. The charging box 900 determines whether the earphones are taken out of the charging box. The third soft access point 903 is turned on only when the pair of earphones are taken out of the charging box 900 and cannot be connected to the router 300 .
在一些实施例中,无线音频/视频装置包括对耳耳机,该对耳耳机包括成对的第一耳机和第二耳机,所述第一片上系统101设置在所述第一耳机上。由所述无线音频/视频装置100,判定所述第一耳机是否在耳内,如果是则经由BLE通信模式通知所述充电盒。由所述充电盒900,在获知所述第一耳机在耳内并且连不上所述路由器300的情况下,才开启所述第三软接入点903。In some embodiments, a wireless audio/video device includes a pair of earphones including a pair of first earphones and a second earphone, the first system-on-chip 101 being disposed on the first earphone. The wireless audio/video device 100 determines whether the first earphone is in the ear, and if so, notifies the charging box via the BLE communication mode. The charging box 900 only turns on the third soft access point 903 after learning that the first earphone is in the ear and cannot be connected to the router 300 .
在一些实施例中,所述第三软接入点903包括WiFi热点,具有与所述路由器相同的配置信息,且代替所述路由器用于组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网。In some embodiments, the third soft access point 903 includes a WiFi hotspot, has the same configuration information as the router, and is used instead of the router to form a wireless network on which the WiFi-based wireless multimedia transmission protocol relies. local area network.
以上描述旨在是说明性的而不是限制性的。例如,上述示例(或其一个或更多方案)可以彼此组合使用。例如本领域普通技术人员在阅读上述描述时可以使用其它实施例。另外,在上述具体实施方式中,各种特征可以被分组在一起以简单化本申请。这不应解释为一种不要求保护的公开的特征对于任一权利要求是必要的意图。相反,本发明的主题可以少于特定的公开的实施例的全部特征。从而,以下权利要求书作为示例或实施例在此并入具体实施方式中,其中每个权利要求独立地作为单独的实施例,并且考虑这些实施例可以以各种组合或排列彼此组合。本发明的范围应参照所附权利要求以及这些权利要求赋权的等同形式的全部范围来确定。 The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be used by those of ordinary skill in the art upon reading the above description. Additionally, in the above detailed description, various features may be grouped together to simplify the present application. This should not be interpreted as an intention that an unclaimed disclosed feature is essential to any claim. Rather, inventive subject matter may lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the Detailed Description as examples or embodiments, with each claim standing on its own as a separate embodiment, and with it being contemplated that these embodiments may be combined with one another in various combinations or permutations. The scope of the invention should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.

Claims (33)

  1. 一种无线音频/视频装置,其支持基于WiFi的无线多媒体传输协议,且配置为与支持所述基于WiFi的无线多媒体传输协议的智能设备进行通信,其特征在于,所述无线音频/视频装置中包含第一片上系统,所述第一片上系统配置为:A wireless audio/video device that supports a WiFi-based wireless multimedia transmission protocol and is configured to communicate with an intelligent device that supports the WiFi-based wireless multimedia transmission protocol, characterized in that, in the wireless audio/video device Containing a first system-on-chip, the first system-on-chip is configured as:
    在所述智能设备连接到路由器后,接收来自所述智能设备的路由器的配置信息,其中,需要所述路由器来组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网;After the smart device is connected to the router, receive configuration information from the router of the smart device, where the router is needed to establish a wireless local area network on which the WiFi-based wireless multimedia transmission protocol relies;
    基于所述路由器的配置信息连接到所述路由器,按照所述基于WiFi的无线多媒体传输协议经由所述路由器接收来自所述智能设备或云服务器的音频/视频数据;以及Connect to the router based on the configuration information of the router, and receive audio/video data from the smart device or cloud server via the router in accordance with the WiFi-based wireless multimedia transmission protocol; and
    判定所述路由器的可用性,在检测到所述路由器变得不可用的情况下,开启根据所述路由器的配置信息所创建的本地的软接入点,按照所述基于WiFi的无线多媒体传输协议经由开启的软接入点直接接收来自所述智能设备的音频/视频数据。Determine the availability of the router, and when it is detected that the router becomes unavailable, open a local soft access point created according to the configuration information of the router, and use the WiFi-based wireless multimedia transmission protocol via The enabled soft access point receives audio/video data directly from the smart device.
  2. 根据权利要求1所述的无线音频/视频装置,其特征在于,所述第一片上系统进一步配置为:存储所接收的路由器的配置信息,并根据存储的路由器的配置信息来创建软接入点;或者The wireless audio/video device according to claim 1, wherein the first system-on-chip is further configured to: store the received configuration information of the router, and create soft access according to the stored configuration information of the router. point; or
    创建所述软接入点所根据的配置信息是经由手动输入的。The configuration information from which the soft access point is created is entered manually.
  3. 根据权利要求1所述的无线音频/视频装置,其特征在于,所述软接入点包括WiFi热点,具有与所述路由器相同的配置信息,且代替所述路由器用于组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网。The wireless audio/video device according to claim 1, wherein the soft access point includes a WiFi hotspot, has the same configuration information as the router, and is used to build the WiFi-based network instead of the router. Wireless LAN on which the wireless multimedia transmission protocol relies.
  4. 根据权利要求1所述的无线音频/视频装置,其特征在于,所述基于WiFi的无线多媒体传输协议包括DLNA协议。The wireless audio/video device according to claim 1, wherein the WiFi-based wireless multimedia transmission protocol includes a DLNA protocol.
  5. 根据权利要求1所述的无线音频/视频装置,其特征在于,所述基于WiFi的无线多媒体传输协议包括AirPlay协议。The wireless audio/video device according to claim 1, wherein the WiFi-based wireless multimedia transmission protocol includes an AirPlay protocol.
  6. 根据权利要求4所述的无线音频/视频装置,其特征在于,所述无线音频/视频装置包括协同工作的无线音频器件的组,各组无线音频器件包括第一无线音频器件和第二无线音频器件,其中,The wireless audio/video device according to claim 4, wherein the wireless audio/video device includes a group of wireless audio devices working together, and each group of wireless audio devices includes a first wireless audio device and a second wireless audio device. device, where,
    至少一个无线音频器件配置为存储所接收的路由器的配置信息,at least one wireless audio device configured to store received configuration information of the router,
    其中,所述第一无线音频器件包含所述第一片上系统,所述第一片上系统进一步配置为:在判定所述路由器变得不可用的情况下,根据所述路由器 的配置信息来开启本地的第一软接入点,并按照DLNA协议经由开启的第一软接入点直接接收来自所述智能设备的音频数据;以及将接收到的音频数据转发给所述第二无线音频器件。Wherein, the first wireless audio device includes the first system-on-chip, and the first system-on-chip is further configured to: when it is determined that the router becomes unavailable, according to the router configuration information to turn on the local first soft access point, and directly receive audio data from the smart device via the turned on first soft access point according to the DLNA protocol; and forward the received audio data to the third 2. Wireless audio devices.
  7. 根据权利要求5所述的无线音频/视频装置,其特征在于,所述无线音频/视频装置包括协同工作的无线音频器件的组,各组无线音频器件包括第一无线音频器件和第二无线音频器件,其中,The wireless audio/video device according to claim 5, wherein the wireless audio/video device includes a group of cooperatively working wireless audio devices, each group of wireless audio devices including a first wireless audio device and a second wireless audio device. device, where,
    至少一个无线音频器件配置为存储所接收的路由器的配置信息,at least one wireless audio device configured to store received configuration information of the router,
    其中,所述第一无线音频器件包括所述第一片上系统,所述第一片上系统配置为:在判定所述路由器变得不可用的情况下,根据所述路由器的配置信息来开启本地的第一软接入点,并按照AirPlay协议经由开启的第一软接入点,直接接收来自所述智能设备的音频数据并经由第一软接入点发送给所述第二无线音频器件。Wherein, the first wireless audio device includes the first system-on-chip, and the first system-on-chip is configured to: when it is determined that the router becomes unavailable, turn on the router according to the configuration information of the router. The local first soft access point directly receives the audio data from the smart device via the activated first soft access point according to the AirPlay protocol and sends it to the second wireless audio device via the first soft access point. .
  8. 根据权利要求6或7所述的无线音频/视频装置,其特征在于,所述第一无线音频器件的所述第一片上系统进一步配置为:在判定所述路由器变得不可用时,或者在获取到路由器的配置信息后且在判定所述路由器变得不可用之前,创建本地的第一软接入点。The wireless audio/video device according to claim 6 or 7, wherein the first system-on-chip of the first wireless audio device is further configured to: when it is determined that the router becomes unavailable, or when After obtaining the configuration information of the router and before determining that the router becomes unavailable, a local first soft access point is created.
  9. 根据权利要求6或7所述的无线音频/视频装置,其特征在于,所述第一无线音频器件的所述第一片上系统被配置为:与智能设备经由BLE通信模式持续地通信,以获知智能设备是否指示各无线音频器件要接收和/或播放音频数据;在获知智能设备指示各无线音频器件要接收和/或播放音频数据并且所述路由器变得不可用的情况下,开启本地创建的第一软接入点。The wireless audio/video device according to claim 6 or 7, wherein the first system-on-chip of the first wireless audio device is configured to continuously communicate with a smart device via a BLE communication mode to Learn whether the smart device instructs each wireless audio device to receive and/or play audio data; when learning that the smart device instructs each wireless audio device to receive and/or play audio data and the router becomes unavailable, start local creation The first soft access point.
  10. 根据权利要求6或7所述的无线音频/视频装置,其特征在于,所述第一无线音频器件的所述第一片上系统进一步配置为:经由与所述智能设备的BLE通信模式的持续通信,以获知所述智能设备是否连不上所述路由器,如果是,则判定所述路由器变得不可用。The wireless audio/video device according to claim 6 or 7, wherein the first system-on-chip of the first wireless audio device is further configured to: via the persistence of the BLE communication mode with the smart device. Communicate to know whether the smart device cannot connect to the router, and if so, determine that the router becomes unavailable.
  11. 根据权利要求6或7所述的无线音频/视频装置,其特征在于,所述第一无线音频器件的所述第一片上系统进一步配置为:判定是否连不上所述路由器,如果是,则判定所述路由器变得不可用。The wireless audio/video device according to claim 6 or 7, wherein the first system-on-chip of the first wireless audio device is further configured to: determine whether the router cannot be connected, and if so, It is then determined that the router becomes unavailable.
  12. 根据权利要求9所述的无线音频/视频装置,其特征在于,在智能设备没有指示各无线音频器件要接收和/或播放音频数据的情况下,所述第一无 线音频器件持续与智能设备经由BLE通信模式通信,而所述第一软接入点关闭。The wireless audio/video device according to claim 9, characterized in that when the smart device does not instruct each wireless audio device to receive and/or play audio data, the first wireless audio device The line audio device continues to communicate with the smart device via BLE communication mode while the first soft access point is turned off.
  13. 根据权利要求6所述的无线音频/视频装置,其特征在于,所述第一无线音频器件的所述第一片上系统进一步配置为:经由WiFi通信模式或蓝牙通信模式,将接收到的音频数据转发给所述第二无线音频器件。The wireless audio/video device according to claim 6, wherein the first system-on-chip of the first wireless audio device is further configured to: transmit the received audio signal via a WiFi communication mode or a Bluetooth communication mode. The data is forwarded to the second wireless audio device.
  14. 根据权利要求6所述的无线音频/视频装置,其特征在于,所述第一无线音频器件支持定制的DLNA协议,且配置为与支持定制的DLNA协议的智能设备通信,定制的DLNA协议允许支持其的所述路由器或所述第一无线音频器件的所述第一软接入点作为中继器将接收到的音频数据转发给数个无线音频器件。The wireless audio/video device according to claim 6, wherein the first wireless audio device supports a customized DLNA protocol and is configured to communicate with a smart device supporting the customized DLNA protocol, and the customized DLNA protocol allows supporting The router or the first soft access point of the first wireless audio device acts as a repeater to forward the received audio data to several wireless audio devices.
  15. 根据权利要求6所述的无线音频/视频装置,其特征在于,所述第一无线音频器件支持常规的DLNA协议,且配置为与支持常规的DLNA协议的智能设备通信,The wireless audio/video device according to claim 6, wherein the first wireless audio device supports a conventional DLNA protocol and is configured to communicate with a smart device that supports the conventional DLNA protocol,
    所述第二无线音频器件包括第二片上系统,所述第二片上系统配置为:在所述第一无线音频器件要转发接收自所述智能设备的音频数据的情况下,创建并开启本地的第二软接入点;按照所述常规的DLNA协议经由开启的第二软接入点直接接收来自所述第一无线音频器件的音频数据;The second wireless audio device includes a second system-on-chip, and the second system-on-chip is configured to: when the first wireless audio device wants to forward audio data received from the smart device, create and open a local a second soft access point; directly receiving audio data from the first wireless audio device via the enabled second soft access point according to the conventional DLNA protocol;
    所述第一片上系统进一步配置为:创建新的DLNA连接;通过新的DLNA连接经由所述第一软接入点向所述第二无线音频器件转发所述音频数据。The first system-on-chip is further configured to: create a new DLNA connection; and forward the audio data to the second wireless audio device via the first soft access point through the new DLNA connection.
  16. 根据权利要求6或7所述的无线音频/视频装置,其特征在于,所述第一无线音频器件的所述第一片上系统被配置为:与智能设备经由BLE通信模式持续地通信,以获知智能设备是否指示各无线音频器件要接收和/或播放音频数据以及智能设备是否已经连上路由器;在获知智能设备指示各无线音频器件要接收和/或播放音频数据并且已经连上路由器的情况下,根据DLNA协议或Airplay协议经由所述路由器接收来自所述智能设备的音频数据。The wireless audio/video device according to claim 6 or 7, wherein the first system-on-chip of the first wireless audio device is configured to continuously communicate with a smart device via a BLE communication mode to Learn whether the smart device instructs each wireless audio device to receive and/or play audio data and whether the smart device is connected to the router; learn whether the smart device instructs each wireless audio device to receive and/or play audio data and is connected to the router. Next, audio data from the smart device is received via the router according to the DLNA protocol or the Airplay protocol.
  17. 根据权利要求6或7所述的无线音频/视频装置,其特征在于,所述无线音频器件的组包括具有第一耳机和第二耳机的对耳耳机或者具有对应各个声道的多个音箱的音箱组件。The wireless audio/video device according to claim 6 or 7, characterized in that the group of wireless audio devices includes pairs of earphones having a first earphone and a second earphone or a pair of earphones having a plurality of speakers corresponding to each sound channel. Speaker components.
  18. 根据权利要求4或5所述的无线音频/视频装置,其特征在于,所述无线音频/视频装置包括协同工作的音频器件、视频器件和具有音频和/或视频功能的智能器件中的至少一种或其组合。 The wireless audio/video device according to claim 4 or 5, characterized in that the wireless audio/video device includes at least one of a cooperative audio device, a video device and a smart device with audio and/or video functions. species or combination thereof.
  19. 根据权利要求17所述的无线音频/视频装置,其特征在于,所述第一耳机的所述第一片上系统被配置为:判定是否从充电盒取出或者是否在耳内,如果是,且所述路由器变得不可用的情况下,开启本地创建的第一软接入点。The wireless audio/video device of claim 17, wherein the first system-on-chip of the first earphone is configured to: determine whether it is taken out of the charging box or in the ear, and if so, and In the event that the router becomes unavailable, the first soft access point created locally is enabled.
  20. 一种用于无线音频/视频装置的无线通信方法,其特征在于,包括:A wireless communication method for wireless audio/video devices, characterized by including:
    提供一种无线音频/视频装置,其支持基于WiFi的无线多媒体传输协议,且配置为与支持所述基于WiFi的无线多媒体传输协议的智能设备进行通信;Provided is a wireless audio/video device that supports a WiFi-based wireless multimedia transmission protocol and is configured to communicate with an intelligent device that supports the WiFi-based wireless multimedia transmission protocol;
    在所述智能设备连接到路由器后,由所述无线音频/视频装置,接收来自所述智能设备的路由器的配置信息,其中,需要所述路由器来组建所述基于WiFi的无线多媒体传输协议所依赖的无线局域网;After the smart device is connected to the router, the wireless audio/video device receives configuration information from the router of the smart device, where the router is needed to establish the WiFi-based wireless multimedia transmission protocol on which the wireless LAN;
    由所述无线音频/视频装置,基于所述路由器的配置信息连接到所述路由器,按照所述基于WiFi的无线多媒体传输协议经由所述路由器接收来自所述智能设备或云服务器的音频/视频数据;以及The wireless audio/video device is connected to the router based on the configuration information of the router, and receives audio/video data from the smart device or cloud server via the router according to the WiFi-based wireless multimedia transmission protocol. ;as well as
    检测所述路由器的可用性,在检测到所述路由器变得不可用的情况下,由所述无线音频/视频装置,开启根据所述路由器的配置信息所创建的本地的软接入点,按照所述基于WiFi的无线多媒体传输协议经由开启的软接入点直接接收来自所述智能设备的音频/视频数据。Detect the availability of the router. When it is detected that the router becomes unavailable, the wireless audio/video device turns on the local soft access point created according to the configuration information of the router. According to the The WiFi-based wireless multimedia transmission protocol directly receives audio/video data from the smart device via the enabled soft access point.
  21. 根据权利要求20所述的无线通信方法,其特征在于,还包括:The wireless communication method according to claim 20, further comprising:
    接收手动输入的所述路由器的配置信息,或者存储所接收的所述路由器的配置信息;以及Receive manually input configuration information of the router, or store the received configuration information of the router; and
    基于手动输入或者存储的所述路由器的配置信息,来创建所述软接入点。The soft access point is created based on manually input or stored configuration information of the router.
  22. 根据权利要求20所述的无线通信方法,其特征在于,所述基于WiFi的无线多媒体传输协议包括DLNA协议。The wireless communication method according to claim 20, wherein the WiFi-based wireless multimedia transmission protocol includes a DLNA protocol.
  23. 根据权利要求20所述的无线通信方法,其特征在于,所述基于WiFi的无线多媒体传输协议包括AirPlay协议。The wireless communication method according to claim 20, wherein the WiFi-based wireless multimedia transmission protocol includes AirPlay protocol.
  24. 根据权利要求22所述的无线通信方法,其特征在于,还包括,在所述无线音频/视频装置包括成组的第一无线音频器件和第二无线音频器件的情况下:The wireless communication method according to claim 22, further comprising: when the wireless audio/video device includes a group of first wireless audio devices and second wireless audio devices:
    在所述第一无线音频器件中存储所接收的路由器的配置信息;storing the received configuration information of the router in the first wireless audio device;
    在所述路由器变得不可用的情况下,由所述第一无线音频器件根据所述路由器的配置信息开启本地的第一软接入点,并按照DLNA协议经由开启的第一软接入点直接接收来自所述智能设备的音频数据; When the router becomes unavailable, the first wireless audio device turns on the local first soft access point according to the configuration information of the router, and uses the turned on first soft access point according to the DLNA protocol. Receive audio data directly from the smart device;
    由所述第一无线音频器件将接收到的音频数据转发给所述第二无线音频器件。The first wireless audio device forwards the received audio data to the second wireless audio device.
  25. 根据权利要求23所述的无线通信方法,其特征在于,还包括,在所述无线音频/视频装置包括成组的第一无线音频器件和第二无线音频器件的情况下:The wireless communication method according to claim 23, further comprising: when the wireless audio/video device includes a group of first wireless audio devices and second wireless audio devices:
    在所述第一无线音频器件中存储所接收的路由器的配置信息;storing the received configuration information of the router in the first wireless audio device;
    在所述路由器变得不可用的情况下,由所述第一无线音频器件根据所述路由器的配置信息开启本地的第一软接入点;以及When the router becomes unavailable, the first wireless audio device turns on the local first soft access point according to the configuration information of the router; and
    由所述第一无线音频器件,按照AirPlay协议经由开启的第一软接入点直接接收来自所述智能设备的音频数据,并经由开启的第一软接入点发送给所述第二无线音频器件。The first wireless audio device directly receives audio data from the smart device via the enabled first soft access point according to the AirPlay protocol, and sends it to the second wireless audio device via the enabled first soft access point. device.
  26. 根据权利要求24或25所述的无线通信方法,其特征在于,还包括:The wireless communication method according to claim 24 or 25, further comprising:
    由所述第一无线音频器件与智能设备经由BLE通信模式持续地通信,以获知智能设备是否指示各无线音频器件要接收和/或播放音频数据;The first wireless audio device continuously communicates with the smart device via the BLE communication mode to learn whether the smart device instructs each wireless audio device to receive and/or play audio data;
    在获知智能设备指示各无线音频器件要接收和/或播放音频数据并且所述路由器变得不可用的情况下,由所述第一无线音频器件开启本地创建的第一软接入点。Upon learning that the smart device instructs each wireless audio device to receive and/or play audio data and the router becomes unavailable, the first wireless audio device turns on the locally created first soft access point.
  27. 根据权利要求24或25所述的无线通信方法,其特征在于,还包括:The wireless communication method according to claim 24 or 25, further comprising:
    由所述第一无线音频器件与所述智能设备进行BLE通信模式的持续通信,以获知所述智能设备是否连不上所述路由器,如果是,则判定所述路由器变得不可用;或者The first wireless audio device performs continuous communication with the smart device in the BLE communication mode to learn whether the smart device cannot connect to the router, and if so, determine that the router becomes unavailable; or
    由所述第一无线音频器件判定是否连不上所述路由器,如果是,则判定所述路由器变得不可用。The first wireless audio device determines whether it cannot connect to the router, and if so, it determines that the router becomes unavailable.
  28. 根据权利要求26所述的无线通信方法,其特征在于,还包括:在智能设备没有指示各无线音频器件要接收和/或播放音频数据的情况下,由所述第一无线音频器件持续与智能设备经由BLE通信模式通信,而关闭所述第一软接入点。The wireless communication method according to claim 26, further comprising: in the case where the smart device does not instruct each wireless audio device to receive and/or play audio data, the first wireless audio device continues to communicate with the smart device. The device communicates via BLE communication mode while turning off the first soft access point.
  29. 根据权利要求24所述的无线通信方法,其特征在于,还包括:由所述第一无线音频器件,经由WiFi通信模式或蓝牙通信模式,将接收到的音频数据转发给所述第二无线音频器件。 The wireless communication method according to claim 24, further comprising: forwarding, by the first wireless audio device, the received audio data to the second wireless audio device via WiFi communication mode or Bluetooth communication mode. device.
  30. 根据权利要求24所述的无线通信方法,其特征在于,还包括:定制所述DLNA协议,定制的DLNA协议允许支持其的所述路由器或所述第一无线音频器件的所述第一软接入点作为中继器将接收到的音频数据转发给数个无线音频器件。The wireless communication method according to claim 24, further comprising: customizing the DLNA protocol, and the customized DLNA protocol allows the first soft connection of the router or the first wireless audio device to support it. The entry point acts as a repeater to forward received audio data to several wireless audio devices.
  31. 根据权利要求24所述的无线通信方法,其特征在于,还包括,由所述第二无线音频器件:在所述第一无线音频器件要转发接收自所述智能设备的音频数据的情况下,创建并开启本地的第二软接入点;按照常规的DLNA协议经由开启的第二软接入点直接接收来自所述第一无线音频器件的音频数据。The wireless communication method according to claim 24, further comprising: by the second wireless audio device: when the first wireless audio device wants to forward the audio data received from the smart device, Create and turn on a local second soft access point; directly receive audio data from the first wireless audio device via the turned on second soft access point according to the conventional DLNA protocol.
  32. 根据权利要求24或25所述的无线通信方法,其特征在于,还包括:由所述第一无线音频器件与智能设备经由BLE通信模式持续地通信,以获知智能设备是否指示各无线音频器件要接收和/或播放音频数据以及智能设备是否已经连上路由器;在获知智能设备指示各无线音频器件要接收和/或播放音频数据并且已经连上路由器的情况下,根据DLNA协议或Airplay协议经由所述路由器接收来自所述智能设备的音频数据。The wireless communication method according to claim 24 or 25, further comprising: the first wireless audio device continuously communicating with the smart device via the BLE communication mode to learn whether the smart device instructs each wireless audio device to Receive and/or play audio data and whether the smart device has been connected to the router; upon learning that the smart device instructs each wireless audio device to receive and/or play audio data and has been connected to the router, all wireless audio devices are connected via the DLNA protocol or Airplay protocol. The router receives audio data from the smart device.
  33. 根据权利要求24或25所述的无线通信方法,其特征在于,还包括,对于作为第一耳机的所述第一无线音频器件:判定所述第一耳机是否从充电盒取出或者是否在耳内,如果是,且所述路由器变得不可用的情况下,由所述第一耳机开启本地创建的第一软接入点。 The wireless communication method according to claim 24 or 25, further comprising, for the first wireless audio device as the first earphone: determining whether the first earphone is taken out from the charging box or is in the ear. , if so, and the router becomes unavailable, the first headset turns on the locally created first soft access point.
PCT/CN2023/103756 2022-08-24 2023-06-29 Wireless audio/video apparatus and wireless communication method WO2024041189A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211019451.0 2022-08-24
CN202211019451.0A CN115396408B (en) 2022-08-24 2022-08-24 Wireless audio/video device and wireless communication method

Publications (1)

Publication Number Publication Date
WO2024041189A1 true WO2024041189A1 (en) 2024-02-29

Family

ID=84120314

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/103756 WO2024041189A1 (en) 2022-08-24 2023-06-29 Wireless audio/video apparatus and wireless communication method

Country Status (2)

Country Link
CN (2) CN115426341B (en)
WO (1) WO2024041189A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115426341B (en) * 2022-08-24 2024-01-16 恒玄科技(上海)股份有限公司 Wireless audio/video device and wireless communication method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140365611A1 (en) * 2013-06-07 2014-12-11 Qualcomm Incorporated Method and system for using wi-fi display transport mechanisms to accomplish voice and data communications
CN110662209A (en) * 2019-10-11 2020-01-07 北京奇艺世纪科技有限公司 Screen projection equipment connection method and device in isolated network
CN112399406A (en) * 2019-08-15 2021-02-23 惠州迪芬尼声学科技股份有限公司 Sound box system and networking control method thereof
CN113543273A (en) * 2020-04-15 2021-10-22 深圳市云动创想科技有限公司 Audio data transmission method and system
CN115396407A (en) * 2022-08-24 2022-11-25 恒玄科技(上海)股份有限公司 Wireless audio/video device and wireless communication method
CN115396408A (en) * 2022-08-24 2022-11-25 恒玄科技(上海)股份有限公司 Wireless audio/video device and wireless communication method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202394525U (en) * 2011-11-21 2012-08-22 东莞市网音电子科技有限公司 Wireless audio play device based on DLNA (digital living network alliance) protocol
CN102509555A (en) * 2011-11-21 2012-06-20 东莞市网音电子科技有限公司 Wireless audio playing device and method based on DLNA (Digital Living Network Alliance) protocol
CN103648181B (en) * 2013-12-24 2017-01-11 广州爱的信息科技有限公司 Wireless network connection method for wireless network audio equipment
CN105338207A (en) * 2015-11-23 2016-02-17 李佳 WiFi (wireless fidelity) transmission based mobile phone sound system and using method thereof
CN111526506B (en) * 2020-07-01 2020-10-02 恒玄科技(北京)有限公司 Charging box and method for wireless communication and audio playing kit
CN114885261A (en) * 2022-04-22 2022-08-09 恒玄科技(北京)有限公司 Earphone assembly, wireless audio playing system and communication method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140365611A1 (en) * 2013-06-07 2014-12-11 Qualcomm Incorporated Method and system for using wi-fi display transport mechanisms to accomplish voice and data communications
CN112399406A (en) * 2019-08-15 2021-02-23 惠州迪芬尼声学科技股份有限公司 Sound box system and networking control method thereof
CN110662209A (en) * 2019-10-11 2020-01-07 北京奇艺世纪科技有限公司 Screen projection equipment connection method and device in isolated network
CN113543273A (en) * 2020-04-15 2021-10-22 深圳市云动创想科技有限公司 Audio data transmission method and system
CN115396407A (en) * 2022-08-24 2022-11-25 恒玄科技(上海)股份有限公司 Wireless audio/video device and wireless communication method
CN115396408A (en) * 2022-08-24 2022-11-25 恒玄科技(上海)股份有限公司 Wireless audio/video device and wireless communication method
CN115426341A (en) * 2022-08-24 2022-12-02 恒玄科技(上海)股份有限公司 Wireless audio/video device and wireless communication method

Also Published As

Publication number Publication date
CN115426341A (en) 2022-12-02
CN115396408B (en) 2023-11-03
CN115396408A (en) 2022-11-25
CN115426341B (en) 2024-01-16

Similar Documents

Publication Publication Date Title
US10834567B2 (en) Broadcasting a device state in a wireless communication network
US11233836B2 (en) Concurrent audio streaming to multiple wireless audio output devices
WO2018000134A1 (en) Bluetooth connection method and terminal
US9686030B2 (en) Method and apparatus for configuration and control of mixer for audio system using wireless docking system
WO2019090726A1 (en) Method for selecting bluetooth device, terminal, and system
WO2018032455A1 (en) Bluetooth communication method and terminal
US11997496B2 (en) Temporary pairing for wireless devices
US8799492B2 (en) Electronic device
KR20200044505A (en) Electronic device suporting link sharing and method therefor
US20230039861A1 (en) Projection Connection Control Method And Electronic Device
US20100330910A1 (en) Method for transmitting and receiving data using e-field in portable terminal and apparatus thereof
WO2021254160A1 (en) Bluetooth device and bluetooth preemption method and apparatus therefor, and computer-readable storage medium
US20160299739A1 (en) Method for controlling data streaming using bluetooth communication
US10827455B1 (en) Method and apparatus for sending a notification to a short-range wireless communication audio output device
WO2024021736A1 (en) Transmission method, apparatus, and system for bluetooth multimedia packet, and device
WO2024041189A1 (en) Wireless audio/video apparatus and wireless communication method
CN114450971A (en) External audio electronic device, electronic device and method of managing communication link
WO2023273639A1 (en) Device connection method and apparatus, and computer-readable medium and electronic device
WO2024055494A1 (en) Call method and apparatus based on bluetooth earphone, and storage medium
KR20170043319A (en) Electronic device and audio ouputting method thereof
WO2021190609A1 (en) Data transmission method and electronic device
WO2024021735A1 (en) Bluetooth multimedia packet transmission method and apparatus, device, system, and storage medium
CN115396407B (en) Wireless audio/video device and wireless communication method
CN117062256A (en) Cross-equipment service transfer method, electronic equipment and system
WO2023116311A1 (en) Data interaction method and apparatus, and device and storage medium

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

Country of ref document: EP

Kind code of ref document: A1