CN115396407A - Wireless audio/video device and wireless communication method - Google Patents

Wireless audio/video device and wireless communication method Download PDF

Info

Publication number
CN115396407A
CN115396407A CN202211019420.5A CN202211019420A CN115396407A CN 115396407 A CN115396407 A CN 115396407A CN 202211019420 A CN202211019420 A CN 202211019420A CN 115396407 A CN115396407 A CN 115396407A
Authority
CN
China
Prior art keywords
audio
wireless
video
access point
video data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211019420.5A
Other languages
Chinese (zh)
Other versions
CN115396407B (en
Inventor
童伟峰
陈俊
张亮
罗飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bestechnic Shanghai Co Ltd
Original Assignee
Bestechnic Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bestechnic Shanghai Co Ltd filed Critical Bestechnic Shanghai Co Ltd
Priority to CN202211019420.5A priority Critical patent/CN115396407B/en
Publication of CN115396407A publication Critical patent/CN115396407A/en
Priority to US18/080,192 priority patent/US12028393B2/en
Application granted granted Critical
Publication of CN115396407B publication Critical patent/CN115396407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

Landscapes

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

Abstract

The application relates to a wireless audio/video device and a wireless communication method, wherein the wireless audio/video device supports a wireless multimedia transmission protocol based on WiFi, and comprises a first wireless audio/video device and a second wireless audio/video device which respectively comprise a first system on chip and a second system on chip, and the first system on chip is configured as follows: attempting to connect the router based on configuration information of the router; receiving, via the router, audio/video data from the smart device or the cloud server while connected to the router; in the case of no connection to the router, directly receiving audio/video data from the intelligent device via the opened first soft access point; and forwarding the received audio/video data, the second system-on-chip configured to receive the forwarded audio/video data. The limitation that the router can be used only under the condition that the router can be connected is overcome. The networking process does not need to be repeated in a mobile use scene, and the use experience of a user is improved.

Description

Wireless audio/video device and wireless communication method
Technical Field
The present application relates to wireless audio/video devices, and more particularly, to a wireless audio/video apparatus and a wireless communication method.
Background
With the development of wireless intelligent mobile equipment, the use experience of a user is improved by utilizing the process of pushing audio or video to the playing equipment by the wireless intelligent mobile equipment based on a wireless multimedia transmission protocol (including a DLNA protocol, an Airplay protocol and the like), wherein the wireless intelligent mobile equipment is a controller and the playing equipment is controlled equipment. But only the controller and the controlled device can complete the audio or video push process by connecting to the same wireless router. Therefore, the usage scenario has limitations, and the router cannot be used under the condition that networking cannot be performed, and when there is more than one controlled device, the multiple controlled devices cannot receive audio or video data. In a mobile use scene, the router networking process needs to be repeated, and the inconvenience of use of a user is further increased.
Disclosure of Invention
The present application is provided to address the above-mentioned deficiencies in the prior art. There is a need for a wireless audio/video device and a wireless communication method capable of receiving audio/video data based on a WiFi wireless multimedia transmission protocol in a wireless local area network of a router; in the case of no connection to the router, the WiFi-based wireless multimedia transfer protocol is still able to receive audio/video data by creating the first soft access point. The router networking process does not have to be repeated in the mobile usage scenario. And the second system on chip can play by receiving the audio/video data forwarded by the first wireless audio/video device under the condition of the first soft access point. The limitation of the use scene is overcome, and the use experience of the user is improved.
According to a first aspect of the present application, there is provided a wireless audio/video apparatus supporting a WiFi-based wireless multimedia transmission protocol and configured to communicate with a smart device supporting the WiFi-based wireless multimedia transmission protocol, the wireless audio/video apparatus comprising a first wireless audio/video device and a second wireless audio/video device in a group and cooperating with each other, the first wireless audio/video device including a first system on chip thereon and the second wireless audio/video device including a second system on chip thereon. The first system on chip is configured to attempt to connect to a router based on configuration information of the router that is needed to establish a wireless local area network on which the WiFi-based wireless multimedia transfer protocol relies. And further configured to receive audio/video data from the smart device or cloud server via the router in accordance with the WiFi-based wireless multimedia transfer protocol while connected to the router. The wireless multimedia transmission system is also configured to open a local first soft access point created according to the configuration information of the router under the condition that the router is not connected, and directly receive audio/video data from the intelligent equipment through the opened first soft access point according to the WiFi-based wireless multimedia transmission protocol; and configured to forward the received audio/video data. The second system-on-chip is configured to: the forwarded audio/video data is received.
According to a second aspect of the present application, there is provided a wireless communication method for communication between a wireless audio/video apparatus supporting a WiFi-based wireless multimedia transmission protocol and a smart device, comprising: a wireless audio/video apparatus is provided that includes a first wireless audio/video device and a second wireless audio/video device that are grouped and cooperate. Attempting, by the first wireless audio/video device, to connect to the router based on configuration information of the router, the router being required to establish a wireless local area network on which the WiFi-based wireless multimedia transfer protocol relies. And receiving audio/video data from the intelligent equipment or the cloud server by the first wireless audio/video device through the router according to the WiFi-based wireless multimedia transmission protocol under the condition that the router is connected. And under the condition that the router is not connected, starting a local first soft access point created according to the configuration information of the router by a first wireless audio/video device, and directly receiving audio/video data from the intelligent equipment through the started first soft access point according to the WiFi-based wireless multimedia transmission protocol. Forwarding, by the first wireless audio/video device, the received audio/video data to the second wireless audio/video device.
According to the wireless audio/video device and the wireless communication method provided by the embodiments of the application, the first system on chip is used for trying to connect the router, and under the condition that the router can be connected, the intelligent device and/or the cloud server can directly send audio/video data to the first wireless audio/video device; under the condition that the connection with the router cannot be realized, the first soft access point is established through the configuration information of the router, the audio/video data sent by the intelligent equipment can still be received, and the limitation that the wireless multimedia transmission protocol based on the WiFi can only be used for receiving the audio/video data under the condition that the router can be connected is overcome. In a mobile use scene, the networking process of the router does not need to be repeated, and the use experience of a user is improved. The second system-on-chip of the second wireless audio/video device can receive the audio/video data forwarded by the first system-on-chip, so that the first wireless audio/video device and the second wireless audio/video device can play the audio/video data.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar parts throughout the different views. Like reference numerals having letter suffixes or different letter suffixes may represent different instances of similar components. The drawings illustrate various embodiments, by way of example and not by way of limitation, and together with the description and claims, serve to explain the claimed embodiments. The same reference numbers will be used throughout the drawings to refer to the same or like parts, where appropriate. Such embodiments are illustrative, and are not intended to be exhaustive or exclusive embodiments of the present apparatus or method.
Fig. 1 shows a first exemplary communication structure diagram of a wireless audio/video apparatus according to an embodiment of the application;
fig. 2 shows a second exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the application;
fig. 3 shows a third exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the application;
fig. 4 shows a fourth exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the application;
fig. 5 shows a fifth exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the application;
fig. 6 shows a sixth exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the application;
FIG. 7 illustrates a seventh example communication structure diagram of a wireless audio/video device according to an embodiment of the present application;
fig. 8 shows a flow diagram of a wireless communication method according to an embodiment of the application; and
fig. 9 shows a flow diagram of a wireless communication method according to another embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the present application is described in detail below with reference to the accompanying drawings and the detailed description. The embodiments of the present application will be described in further detail with reference to the drawings and specific embodiments, but the present application is not limited thereto. The order in which the various steps described herein are described as examples should not be construed as a limitation if there is no requirement for a context relationship between each other, and one skilled in the art would know that sequential adjustments may be made without destroying the logical relationship between each other, rendering the overall process impractical.
Fig. 1 shows a first exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the application. The wireless audio/video device supports a WiFi-based wireless multimedia transmission protocol. In some embodiments, the WiFi-based wireless multimedia transmission protocol includes any one of DLNA protocol, airPlay protocol, and Miracast protocol, and improved protocols based thereon. The DLNA protocol is proposed by sony, intel, microsoft, etc., and is called DIGITAL reality networking, which enables photos, videos, and music to be shared between electronic products such as mobile phones and tablet computers. The AirPlay protocol is to push the audio or video of controllers such as iPod, iPhone, iPad and Apple Watch to the controlled device for playing. The Miracast protocol is a Wi-Fi direct based wireless display protocol. The DLNA protocol supports a configuration where the sender and receiver are one-to-one, such as a first earpiece transmitting to a second earpiece. The AirPlay protocol supports a one-to-many configuration of the sender and receiver, such as a smart device sending audio to multiple receiving speakers. The wireless audio/video device can use any one of DLNA protocol, airPlay protocol and Miracast protocol and an improved protocol based on the DLNA protocol to communicate with the intelligent device, so that the intelligent device can push audio/video data conveniently.
As shown in fig. 1, the wireless audio/video apparatus comprises a first wireless audio/video device 110 and a second wireless audio/video device 120 which are grouped and cooperated, wherein a first system on chip 111 is included on the first wireless audio/video device 110 and a second system on chip 121 is included on the second wireless audio/video device 120. The first wireless audio/video device 110 and the second wireless audio/video device 120 may include an earphone to the ear with a first earphone and a second earphone, a master-slave speaker, and the like. Taking an earphone to the ear, a first system on chip 111 may be disposed in a first earphone, and a second system on chip 121 may be disposed in a second earphone.
As shown in fig. 1, the first system on chip 111 is configured to attempt to connect to the router 130 based on configuration information of the router, and the router 130 is required to establish a wireless local area network on which the WiFi-based wireless multimedia transmission protocol depends. In some embodiments, configuration information for router 130 includes a network name and password for router 130. The configuration information of the router 130 may further include Media Access Control (MAC) address, key, and other information of the wireless router to be connected. The configuration information of the router 130 can identify the router 130 and establish a wireless connection with the router 130 during the connection with the router 130.
As shown in fig. 1, in case of connecting to the router 130, audio/video data from the smart device 140 or the cloud server 150 is received via the router 130 according to the WiFi-based wireless multimedia transmission protocol. The smart device 140 may be any one of smart electronic devices such as a mobile phone, a laptop, a tablet, an iPod, and a smart watch. As shown in fig. 1, if the first system on chip 111 can be wirelessly connected to the router 130 by using the configuration information of the router 130, it indicates that the first system on chip 111 is within the connection range of the router 130, and if the smart device 140 or the cloud server 150 can also be wirelessly connected to the router 130 at the same time, the audio/video data of the smart device 140 or the cloud server 150 can be sent to the first system on chip via the router 130, so that the first system on chip 111 can play the audio/video. The audio/video data of the smart device 140 or the cloud server 150 may be directly forwarded to the second system on chip (not shown in fig. 1) through a router, or may be forwarded by the first system on chip through a WiFi connection or a bluetooth connection between the first system on chip and the second system on chip. Thus, the user can directly enjoy the experience of audio/video push playing based on the WiFi wireless multimedia transmission protocol in the environment with the router 130.
As shown in fig. 1, in the case of not connecting to the router 130, turning on a local first soft access point 112 created according to the configuration information of the router 130, and directly receiving audio/video data from the smart device 140 via the turned on first soft access point 112 according to the WiFi-based wireless multimedia transmission protocol; and forwarding the received audio/video data, the second system-on-chip 121 being configured to: the forwarded audio/video data is received. As shown in FIG. 1, the first system-on-chip connection 111 does not connect to the router 130, possibly because the first system-on-chip 111 is not in the connection range of the router 130 or the router 130 is inoperable. The first system on chip 111 opens the local first soft access point 112 created according to the configuration information of the connected router 130, and the first soft access point may be pre-created, so that it can be opened in time when the router is not connected, or the process of creating and opening can be performed when the router is not connected. In the process that the first system on chip 111 and the intelligent device 140 are connected to the router 130, the intelligent device 140 stores the configuration information of the router 130, so that under the condition that the first system on chip 111 is not connected to the router 130, the first system on chip 111 can be directly connected to the first soft access point 112, and the intelligent device 140 can be directly wirelessly connected to the first soft access point 112, so that the configuration information of the router 130 does not need to be manually input by a user, and the operation of the user can be facilitated. In the case of a wireless network established by the first soft access point 112, the smart device 140 transmits audio/video data to the first soft access point 112, and the first soft access point 112 transmits the audio/video data to the first system on chip 111. The first system on chip 111 can receive the audio/video data for playing, and then the audio/video data received by the first system on chip 111 can be forwarded by the first soft access point 112, or can be forwarded by the first system on chip 111 to the second system on chip 121 through bluetooth/WIFI for playing by the second wireless audio/video device 120. Thereby enabling the use of a WiFi-based wireless multimedia transfer protocol through the first soft access point 120 in the event that the first system on a chip 111 cannot connect to the router 130. The limitation that the router can only be used under the router networking is overcome, and the use by users is convenient. For example, in an outdoor scene without a router, the audio data can still be pushed to the first earphone through the mobile phone, so that a user can enjoy the experience of listening to music pushed by the mobile phone through the earphone outdoors.
As shown in fig. 1, if in the mobile usage scenario, the first system on chip 111 may not be in the connection range of the router 130, the router 130 may not work, or may be in the range of a new router, wherein the new router cannot be connected because the first system on chip 111 does not have the configuration information of the new router. Therefore, in a mobile use scene, the first soft access point 112 can be created by using the configuration information of the connected router, and the router networking is not required to be repeated, so that the experience of playing audio/video by the user based on the WiFi-based wireless multimedia transmission protocol is improved. For example, in the car that removes, smart machine 140 is the cell-phone, and the cell-phone can utilize the soft access point of first earphone directly to broadcast for earphone propelling movement audio frequency, does not need repeated router network deployment, also need not to repeat and join in marriage the net to first earphone, and convenience of customers promotes to remove and uses experience.
In some embodiments, the first system on a chip may include a mobile chip and a WiFi communication module that may convert a mobile network signal of the mobile chip to a wireless signal by creating a first soft access point. Such as 4G network signals, are converted to wireless signals by the first soft access point. Similarly, for the second system on chip in the following, the mobile chip and the WiFi communication module may also be included to establish a second soft access point and a third soft access point.
Various components in the present application, such as a classic bluetooth communication module, an LE Audio communication module, a codec, etc., may be implemented by an SOC (system on chip), including a first system on chip and a second system on chip. For example, various RISC (reduced instruction set computer) processors IP purchased from ARM corporation and the like can be used as the processor of the SOC to execute corresponding functions, and can be implemented as an embedded system. In particular, commercially available modules (IPs) have a number of modules thereon, such as, but not limited to, memory, various communication modules, codecs, buffers, and the like. Other components such as an antenna and speaker may be attached to the chip. A user can implement various communication modules, codecs, and the like by constructing an ASIC (application specific integrated circuit) based on purchased IP or an autonomously developed module in order to reduce power consumption and cost. For example, a user may also use an FPGA (field programmable gate array) to implement various communication modules, codecs, and the like, and may be used to verify the stability of a hardware design. Buffers are also typically provided for various communication modules, codecs, and the like, to temporarily store data generated during processing.
In some embodiments, in case the WiFi-based wireless multimedia transmission protocol is a DLNA protocol, the first system on chip is further configured to: forwarding the received audio/video data to the second wireless audio/video device via a WiFi communication mode or a Bluetooth communication mode. Returning to FIG. 1, audio/video data received by the first system-on-chip is forwarded to the second system-on-chip for playback. Under the condition of router networking, the audio is forwarded by utilizing the WiFi communication mode, and the method has the advantage of high transmission rate. The bluetooth communication mode may be for audio to be forwarded between the first headset and the second headset over a bluetooth connection. Wherein the bluetooth communication mode has the effect of reducing the forwarding power consumption of the headset. Wherein, in some embodiments, when the second wireless audio/video device is single, the first system on chip is further configured to: forwarding the received audio/video data to the second wireless audio/video device via a Bluetooth communication mode. For example, the first wireless audio/video device is a master speaker, the second wireless audio/video device is a slave speaker, and when only one slave speaker is provided, the audio/video can be forwarded to the single slave speaker one to one in a bluetooth mode, and the wireless audio/video device has the advantage of low power consumption. Based on the above, in some embodiments, the bluetooth communication mode includes an improved bluetooth communication mode, the improved bluetooth communication mode improves a physical layer of bluetooth, a symbol rate of the physical layer reaches n Mb/s, n includes an integer greater than or equal to 2, and a modulation mode includes Quadrature Phase Shift Keying (QPSK), gaussian Frequency Shift Keying (GFSK), or QAM. The improved Bluetooth communication mode is characterized in that Bluetooth protocols are multiplexed on layers above a physical layer, such as a Bluetooth medium access control (mac) layer, a Bluetooth host control interface layer and the like, the physical layer can adopt an n Mb/s symbol rate, and the modulation mode can be Quadrature Phase Shift Keying (QPSK), gaussian Frequency Shift Keying (GFSK) or QAM. The improved Bluetooth communication mode has the effect of reducing transmission power consumption compared with the WIFI communication mode; compared with the classic Bluetooth communication mode, the Bluetooth communication mode has higher transmission capability and can transmit audio/video data with higher code rate.
Fig. 2 shows a second exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the application. The intelligent device supports a customized DLNA protocol that allows the first soft access point to act as a repeater that forwards audio/video data received from the intelligent device to a plurality of wireless audio/video devices. For example, as shown in fig. 2, there are 4 wireless audio/video devices, the first wireless audio/video device 110 creates a first soft access point 111, and the first soft access point 111 can not only receive audio data of the smart device 140, but also forward the received audio data to the second wireless audio/video device 210, the third wireless audio/video device 220, and the fourth wireless audio/video device 230. Therefore, with the customized DLNA protocol, one-to-many transmission of audio/video data can be realized compared to the conventional DLNA protocol. For example, the master speaker may serve as a first wireless audio/video device, the slave speakers may have a plurality of slave speakers, and the master speaker may forward audio to other slave speakers, so that audio sharing between the master speaker and the plurality of slave speakers may be achieved.
Fig. 3 shows a third exemplary communication structure diagram of a wireless audio/video apparatus according to an embodiment of the application. The intelligent device supports a conventional DLNA protocol, and the second system on chip is configured to: creating and turning on a local second soft access point 122 in the event that the first wireless audio/video device 110 is to forward audio/video data received from the smart device 140; receiving audio/video data directly from the first wireless audio/video device 110 via the enabled second soft access point 122 according to the conventional DLNA protocol; the first system on chip 111 is further configured to: creating a new DLNA connection 160 between the first soft access point 112 and the second soft access point 122; the audio data is forwarded to the second wireless audio device 120 via the first soft access point 112 over the new DLNA connection. The conventional DLNA protocol refers to a DLNA protocol supporting a configuration in which a sender to a receiver is one-to-one. In this case, the smart device and the first wireless audio/video device receive audio/video data of the smart device 140 through the first soft access point 112. The second wireless audio/video device 120 is caused to receive the audio/video data forwarded by the first wireless audio/video device 110 via the newly created DLNA connection 160 between the first soft access point 112 and the second soft access point 122. This enables both the first wireless audio/video device 110 and the second wireless audio/video device 120 to receive audio/video data even via conventional DLNA protocols. The method is beneficial to realizing the sharing process of pushing the audio/video data to a plurality of wireless audio devices by the existing intelligent equipment 140 supporting the DLNA protocol.
In some embodiments, a first soft access point and a second soft access point are simultaneously arranged on a first system on chip, and the second system on chip is wirelessly connected with the second soft access point; or a fourth soft access point is arranged on the first system on chip, and the second system on chip is in wireless connection with the fourth soft access point. When the second soft access point and the first soft access point are simultaneously arranged on the first system on chip, the first soft access point receives audio/video data from the intelligent equipment, directly transmits the audio/video data to the first system on chip for playing, transmits the audio/video data to the second soft access point, and then transmits the audio/video data to the second system on chip. If the first soft access point and the second soft access point are both located on the first system on a chip, the audio/video data may be transmitted by means of a wired connection. The fourth soft access point can simultaneously realize the functions of the first soft access point and the second soft access point, and the fourth soft access point can receive audio/video data from the intelligent equipment and can also forward the audio/video data to the second system on chip.
In some embodiments, the first system on a chip is further configured to: and after the local first soft access point is opened, directly receiving audio data from the intelligent equipment through the opened first soft access point according to an AirPlay protocol and forwarding the audio data to the second wireless audio/video device. The AirPlay protocol supports one-to-many configuration of the sender and the receiver, and the first soft access point can directly serve as a repeater to forward the received audio data to the second wireless audio/video device for playing. Compared with the conventional DLNA protocol, the method has the advantage of more convenience in pushing audio/video data by communication.
In some embodiments, the first system on chip is further configured to continuously communicate in a BLE communication mode with the smart device to learn whether the smart device is not connected to the router; and under the condition that the intelligent equipment is not connected with the router, starting a local soft access point created according to the configuration information of the router, directly receiving audio/video data from the intelligent equipment through the started soft access point according to the WiFi-based wireless multimedia transmission protocol, and forwarding the received audio/video data. Returning to the embodiment shown in fig. 1, the first system on chip creates a first soft access point when it is not connected to a router. Then the first system on chip is unaware when the smart device is unable to connect to the router and the first soft access point is not opened, which may result in a wireless connection between the first system on chip and the smart device being broken. The intelligent device carries out continuous communication with the first system on chip in a BLE communication mode, the first system on chip can be made to know the condition of the connection router of the intelligent device in time, a soft access point can be created conveniently and timely by the first system on chip, then the first system on chip can continue to receive audio/video data sent by the intelligent device, and the problem that the wireless multimedia transmission protocol cannot be communicated based on WiFi due to disconnection of the intelligent device and the router is avoided.
Fig. 4 shows a fourth exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the application. The first system on a chip 110 is further configured to: acquiring a first power amount of a first wireless audio/video device 110 and a second power amount of a second wireless audio/video device 120 in the process of directly receiving audio/video data from the smart device 140 via the turned-on first soft access point 111 according to the WiFi-based wireless multimedia transmission protocol; and determining whether the first power is less than the second power by at least a predetermined degree, and if so, notifying the second system-on-chip 121 to create and turn on a third soft access point 123 based on the configuration information of the router, the second system-on-chip 121 being further configured to: in response to the notification, a third soft access point 123 is created and turned on based on the configuration information of the router; and according to the WiFi-based wireless multimedia transmission protocol, directly receiving the audio/video data from the intelligent device 140 through the opened third soft access point 123, and forwarding the received audio/video data to the first on-chip system 111. Since the first on-chip system 111 creates the first soft access point 112 to receive the audio/video data, and the first on-chip system 111 needs to forward the audio/video data to the second on-chip system 121, and the power consumption of the wireless device transmitting the radio frequency signal is much larger than that of the wireless device receiving the radio frequency signal, the power consumption of the first on-chip system 111 turning on the first soft access point 112 is higher than that of the second on-chip system 121, and the remaining power of the first on-chip system 111 is easily smaller than that of the second on-chip system 121. The first system-on-chip 111 may obtain a second amount of power of the second system-on-chip 121 and notify the second system-on-chip 121 to create the third soft access point 123 through bluetooth communication, wiFi communication, and the like. In the determination process, the first power amount and the second power amount may be compared, and when it is determined that the first power amount is less than the second power amount by at least a predetermined degree, for example, the predetermined degree may be a preset value, and when the value of the first power amount less than the second power amount reaches or exceeds the predetermined value, the second system-on-chip 121 is notified to turn on the third soft access point 123. In some cases, the predetermined value described above may be set smaller as the first amount of power is smaller. Thus, the smaller the first power, the more stringent the power requirements are to be reduced, the easier it is to switch soft access points. In this way, the second system-on-chip 121 directly receives the audio/video data of the smart device 140 and plays a role of forwarding the audio/video data, so as to reduce the power consumption of the first wireless audio/video device 110 and prolong the service life of the first wireless audio/video device 110. As can be seen, soft access point switching based on the first power being less than the second power can extend the lifetime of the first wireless audio/video device 110. And, after the third soft access point 112 starts to receive the audio/video data of the smart device 140, it starts to forward the received audio/video data to the first system on chip 111, so as to avoid interruption or pause of the audio/video played by the first system on chip 111.
The intelligent equipment is connected with the first soft access point or the third soft access point, and the intelligent equipment can be connected with one soft access point at the same time. In the switching process, the intelligent equipment does not change the mode of pushing the audio/video data, the intelligent equipment only senses information interaction with the soft access points, and different soft access points are not sensed and distinguished, so that in the switching process, the settings of the first wireless audio/video device and the second wireless audio/video device in the aspects of software and hardware can be the same, and upgrading or correcting in the aspects of software and hardware is not needed.
Fig. 5 shows a fifth exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the application. The first system on chip 111 is further configured to: in case the second system-on-chip 121 creates and opens a third soft access point 123 and receives audio/video data from the smart device 140 via the opened third soft access point 123, stop receiving audio/video data from the smart device 140 via the first soft access point 112, but keep the first soft access point 112 continuously opened, so that the audio/video data that has been received can be continuously forwarded to the second system-on-chip 121 until the first soft access point 112 is closed after the forwarding is completed; the second system-on-chip 121 is further configured to: in case the first soft access point 112 is switched off, the received audio/video data is forwarded to the first system on chip 111 via the switched on third soft access point 123 according to the WiFi-based wireless multimedia transfer protocol. Under the condition that the first wireless audio/video device 110 and the second wireless audio/video device 120 are switched to serve as the main receiving party and the third soft access point 123 of the second wireless audio/video device 120 is switched to serve as the audio/video data of the intelligent device 140, the first soft access point 112 is no longer used for receiving the audio/video data of the intelligent device 140. But still turns on the first soft access point 112 for forwarding and turns off the first soft access point 112 until the audio/video received from the smart device 140 is forwarded. Therefore, the wireless transmission performance can be influenced as little as possible, and the audio played on the second earphone is prevented from being interrupted or jammed. And, in case the first soft access point 112 is closed, the third soft access point 123 starts to forward the received audio/video to the first system on chip 111, which can avoid interruption or pause of the audio/video played by the first system on chip 111.
Fig. 6 shows a sixth exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the application. The first system on chip 111 is further configured to: in case of receiving audio/video data from the smart device 140, playing the audio/video data and storing the audio/video data in a buffer 113; the audio/video data in the buffer 112 is forwarded to the second system-on-chip 121 using the first soft access point 112 that is turned on. Taking the pair of ear phones as an example, the first soft access point of the first ear phone (the first wireless audio/video device 110) receives the audio data of the smart device, and on one hand, the audio data or a part of the audio data (such as one of the left and right channels) is provided to the first ear phone for playing, and on the other hand, the received audio data or a part of the audio data is placed in the buffer, so that the first ear phone necessarily has a part of the audio data to be relayed to the second ear phone (the second wireless audio/video device 120), and then the first soft access point transmits the audio data in the buffer to the second ear phone.
Fig. 7 shows a seventh exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the application. The first system on chip 111 is further configured to: in the case that the second system-on-chip 121 creates and opens the third soft access point 123, and receives the audio/video data from the smart device 140 via the opened third soft access point 123, the first soft access point is closed, and the received audio/video data is continuously forwarded to the second system-on-chip 121 via the bluetooth communication mode 170 or the modified bluetooth communication mode, so as to prevent interruption or jamming of the audio played on the second wireless audio/video device 120; the second system-on-chip 121 is further configured to: in case the forwarding of the received audio/video data is finished, the received audio/video data is forwarded to the first system on chip 111 via the bluetooth communication mode 170 or a modified bluetooth communication mode. The second system-on-chip 121 is not responsible for forwarding the audio/video data through the third soft access point 123. The audio/video data buffered by the first system-on-chip 111 is transmitted to the second system-on-chip 121 through the bluetooth communication mode 170 or the modified bluetooth communication mode. The second system-on-chip 121 forwards the new audio/video data also via the bluetooth communication mode 170 or the modified bluetooth communication mode. This can significantly reduce the transmission power consumption of the first wireless audio/video device 110 and the second wireless audio/video device 120. The power consumption of the first wireless audio/video device 110 and the second wireless audio/video device 120 can be reduced, and the service life of the first wireless audio/video device 110 and the second wireless audio/video device 120 can be prolonged.
In some embodiments, the first system on a chip is further configured to: under the condition of receiving audio/video data from the intelligent equipment, playing the audio/video data and storing the audio/video data in a buffer; forwarding the audio/video data in the buffer to the second system-on-chip via a bluetooth communication mode or a modified bluetooth communication mode. Returning to fig. 6, the buffered data in the buffer of fig. 6 is forwarded to the second system-on-chip via the first soft access point. Different from fig. 6, the audio/video data in the buffer may also forward the buffered data to the second system on chip through a bluetooth communication mode or a modified bluetooth communication mode, so as to reduce the transmission power consumption of the first system on chip, which is beneficial to reducing the power consumption of the first wireless audio/video device and prolonging the service life of the first wireless audio/video device.
In some embodiments, the first system on a chip is further configured to: the configuration information of the router is stored in advance, or the configuration information of the router is obtained from the intelligent equipment; and/or the second system-on-chip is further configured to: the configuration information of the router is stored in advance, or the configuration information of the router is obtained from the intelligent device, or the configuration information of the router is obtained from the first system on chip. The first system on chip may send the data to the second system on chip via bluetooth communication, wiFi communication, or the like. If the second system-on-chip stores the configuration information of the router or pre-stores the configuration information of the router in the process of receiving the first soft access point as a repeater to forward the audio/video data, the first system-on-chip does not need to send the audio/video data to the second system-on-chip. In some embodiments, the second system-on-chip creates the third soft access point based on a router having configuration information that is different from the router configuration information of the first soft access point; the configuration information of the router on which the second soft access point is based is different from the router configuration information of the first soft access point; the configuration information of the router on which the second soft access point and the third soft access point are based is the same or different. Because the second soft access point and the first soft access point are in a state of being simultaneously opened, for example, the first soft access point may be responsible for forwarding the cached data even though the first soft access point does not receive audio/video data from the smart device, the third soft access point and the second soft access point are also in a state of being simultaneously opened. Creating the first soft access point may be configuration information for a router to which the first wireless audio/video device has been co-connected with the smart device. Creating the third soft access point may be configuration information for a router to which the second wireless audio/video device has been co-connected with the smart device. The configuration information for creating the second soft access point may be configuration information of a router to which the first wireless audio/video device and the second wireless audio/video device are commonly connected.
In one embodiment, the first system on a chip is configured to: continuously communicating with the smart device via a BLE communication mode to learn whether the smart device is to transmit audio data; and under the condition that the intelligent equipment is informed of sending audio data and the router is not connected, starting a first soft access point which is created locally. The first system on chip and the intelligent device are in continuous communication in a BLE communication mode, and when the intelligent device is to send audio/video data to the first system on chip, the intelligent device informs the first system on chip through the BLE communication mode. Thus, when the smart device does not need to send audio data to the headset, the soft access point of the headset may not work, and the BLE communication module of the headset is still working. This greatly reduces power consumption when the headset is on standby or when audio data is not required to be transmitted.
In one embodiment, the first system on a chip is configured to: it is determined whether the first earpiece is removed from the charging box or is in the ear, and if so, and the router becomes disconnected, a first locally created soft access point is turned on. When the first earphone is taken out of the charging box, the first earphone is not charged any more, the user may need to use the first earphone to play audio, and if the first earphone is not connected to the router at the moment, the first soft access point is created. This may improve the user experience. When the first earphone is detected to be in the ear, the user possibly uses the first earphone to play audio, if the first earphone is not connected with the router, the first soft access point is established, and if the first earphone is not in the ear, the first soft access point is closed. Therefore, the use experience of a user can be improved, and the power consumption of the earphone when the earphone is not in the ear can be reduced. The in-ear detection can be realized by mounting a capacitance sensor, an optical sensor, or the like on the earphone.
The following describes a wireless communication method according to an embodiment of the present application.
Fig. 8 shows a flow diagram of a wireless communication method according to an embodiment of the application. The wireless communication method is used for communication between a wireless audio/video device supporting a wireless multimedia transmission protocol based on WiFi and a smart device. The WiFi-based wireless multimedia transmission protocol comprises any one of DLNA protocol, airPlay protocol and Miracast protocol and an improved protocol based on the DLNA protocol, the AirPlay protocol and the Miracast protocol. First, in step 801, a wireless audio/video apparatus is provided that includes a first wireless audio/video device and a second wireless audio/video device that are grouped and cooperate. The first wireless audio/video device and the second wireless audio/video device may include an earphone to the ear having a first earphone and a second earphone, a master-slave speaker, and the like.
Next, at step 802, an attempt is made by the first wireless audio/video device to connect to a router based on configuration information of the router that is needed to build a wireless local area network on which the WiFi-based wireless multimedia transfer protocol depends. In some embodiments, the configuration information of the router includes a network name and a password of the router. Before the first wireless audio/video device wants to receive audio/video data based on the wireless multimedia transmission protocol of WiFi, the first wireless audio/video device tries to connect with the router, and then judges whether the router is available or not so as to facilitate whether a first soft access point is to be created or not in the next step. Step 803 and step 804 are performed next.
And 803, in the case that the router is connected, receiving, by the first wireless audio/video device, audio/video data from the smart device or the cloud server via the router according to the WiFi-based wireless multimedia transmission protocol. In the case of router networking, the router is responsible for forwarding audio/video data of the smart device or the cloud server to the first wireless audio/video device, and the first wireless audio/video device receives the audio/video data. In addition, the audio/video data may be sent directly to the second wireless audio/video device through the router, such as may also be forwarded to the second wireless audio/video device through a wireless connection or a bluetooth connection between the first wireless audio/video device and the second wireless audio/video device.
Step 804, in case of not connecting to the router, the first wireless audio/video device starts a local first soft access point created according to the configuration information of the router, and directly receives audio/video data from the intelligent device via the started first soft access point according to the WiFi-based wireless multimedia transmission protocol. The first wireless audio/video device may not be connected to the router due to the first wireless audio/video device not being in the connection range of the router or the router being inoperable, at which time a local first soft access point is created via configuration information of the connected router. In the process that the first wireless audio/video device and the intelligent equipment are connected with the router, the intelligent equipment stores the configuration information of the router, so that under the condition that the first wireless audio/video device is not connected with the router, the intelligent equipment can be directly wirelessly connected with the first soft access point, a user does not need to manually input the configuration information of the router, and the operation of the user can be facilitated. Under the condition of a wireless network established by the first soft access point, the intelligent equipment sends the audio/video data to the first soft access point, and the first soft access point sends the audio/video data to the first wireless audio/video device. The first wireless audio/video device can receive audio/video data for playing, so that under the condition that the first wireless audio/video device can not be connected with the router, the first soft access point can support the use of a wireless multimedia transmission protocol based on WiFi. The limitation that the router can only be used under the router networking is overcome, and the use by users is convenient.
The received audio/video data is then forwarded by the first wireless audio/video device to the second wireless audio/video device at step 805. In step 804, the first wireless audio/video device is used as a receiver of the smart device, and the second wireless audio/video device cannot directly receive the audio/video data, so that the first wireless audio/video device forwards the audio/video data to be received to the second wireless audio/video device for playing by the second wireless audio/video device.
It should be noted that steps 803 to 805 are not necessarily performed in the order of fig. 8, but may be performed alternately, and the order of performing steps 803, 804, and 805 may be changed without affecting the logical performance of each other. Specifically, after the first wireless audio/video device attempts to connect to the router in step 802, there are two cases where the router is connected, and step 803 is performed correspondingly. What is performed without a connection to the router are steps 804 and 805 to perform the creation of the first soft access point, and the transmission of audio/video data is still possible based on the WiFi wireless multimedia transfer protocol.
In some embodiments, in the case that the WiFi-based wireless multimedia transport protocol is a DLNA protocol, the first wireless audio/video device forwards the received audio/video data to the second wireless audio/video device via a WiFi communication mode or a bluetooth communication mode. Returning to step 805 shown in fig. 8, the first wireless audio/video device forwards the audio or video data through either a WiFi communication mode or a bluetooth communication mode. For example, the first headset and the second headset may transmit audio or video data via a wireless connection or a bluetooth connection. A connection over bluetooth has lower transmission power consumption than a connection over wireless. Wherein, in some embodiments, when the second wireless audio/video device is single, the received audio/video data is forwarded by the first wireless audio/video device to the second wireless audio/video device via a Bluetooth communication mode. Since the conventional DLNA protocol supports one-to-one configuration, for example, the first wireless audio/video device is a master speaker, and the second wireless audio/video device is a slave speaker, when there is only one slave speaker, the audio/video can be forwarded to the single slave speaker one-to-one through the bluetooth mode, and the DLNA protocol has the advantage of low power consumption. Based on the above, in some embodiments, the bluetooth communication mode includes an improved bluetooth communication mode, the improved bluetooth communication mode improves a physical layer of bluetooth, a symbol rate of the physical layer reaches n Mb/s, n includes an integer greater than or equal to 2, and a modulation mode includes Quadrature Phase Shift Keying (QPSK), gaussian Frequency Shift Keying (GFSK) or QAM. The improved Bluetooth communication mode is characterized in that Bluetooth protocols are multiplexed on layers above a physical layer, such as a Bluetooth medium access control (mac) layer, a Bluetooth host control interface layer and the like, a 2Mb/s symbol rate can be adopted on the physical layer, and a modulation mode can be Quadrature Phase Shift Keying (QPSK), gaussian Frequency Shift Keying (GFSK) or QAM. The improved bluetooth communication mode has the effect of reducing transmission power consumption.
In some embodiments, the wireless communication method further comprises: customizing a DLNA protocol to allow the first soft access point to act as a repeater that forwards audio/video data received from the smart device to a plurality of wireless audio/video devices; and using a customized DLNA protocol as the WiFi-based wireless multimedia transmission protocol. Compared with the conventional DLNA protocol, the customized DLNA protocol utilizes the first soft access point as a repeater, and can realize one-to-many audio/video data transmission. For example, the master speaker may serve as a first wireless audio/video device, the slave speakers may have a plurality of slave speakers, and the master speaker may forward audio to other slave speakers, so that audio sharing between the master speaker and the plurality of slave speakers may be achieved.
In some embodiments, the wireless communication method further comprises: using a conventional DLNA protocol as a WiFi-based wireless multimedia transmission protocol; creating and opening a local second soft access point by the second wireless audio/video device if the first wireless audio/video device is to forward audio/video data received from the smart device; creating a new DLNA connection with the first soft access point and the second soft access point; forwarding, by the first wireless audio/video device, the audio/video data to the second wireless audio device over the new DLNA connection. The conventional DLNA protocol refers to a DLNA protocol supporting a configuration in which a sender to a receiver is one-to-one. In this case, the smart device and the first wireless audio/video device receive audio/video data of the smart device through the first soft access point. And enabling the second wireless audio/video device to receive the audio/video data forwarded by the first wireless audio/video device through the newly established DLNA connection between the first soft access point and the second soft access point. This enables both the first wireless audio/video device and the second wireless audio/video device to receive audio/video data even via conventional DLNA protocols.
In some embodiments, the wireless communication method further comprises: using AirPlay protocol as the WiFi-based wireless multimedia transfer protocol; after a first local soft access point is opened, the first wireless audio/video device directly receives audio data from the intelligent equipment through the opened first soft access point according to an AirPlay protocol; forwarding, by the first wireless audio/video device, the audio data to the second wireless audio/video device via the opened first soft access point. The AirPlay protocol can send the audio/video data to a plurality of receivers, and compared with the conventional DLNA protocol, the AirPlay protocol has the advantage that the audio/video data can be pushed and transmitted more conveniently. And thus may be transmitted directly to the second wireless audio/video device through the turned on first soft access point. Of course, in order to save power consumption, the received audio/video data may also be forwarded by the first wireless audio/video device to the second wireless audio/video device via the bluetooth communication mode.
In some embodiments, the wireless communication method further comprises: continuously communicating in a BLE communication mode with the smart device by the first wireless audio/video device to learn whether the smart device is not connected to the router. Returning to the process illustrated in fig. 8, the first soft access point is created without the first wireless audio/video device connecting to the router. But in the case that the smart device cannot be connected to the router, it is also impossible to transmit audio/video data using the WiFi-based wireless multimedia transmission protocol. Therefore, continuous communication is carried out between the intelligent equipment and the first wireless audio/video device in a BLE communication mode, the condition of the intelligent equipment for connecting the router can be timely known, a soft access point can be conveniently established by the first wireless audio/video device, then the first wireless audio/video device can continuously receive audio/video data sent by the intelligent equipment, and the problem that communication cannot be carried out based on a wireless multimedia transmission protocol of WiFi due to disconnection between the intelligent equipment and the router is avoided.
Fig. 9 shows a flow diagram of a wireless communication method according to another embodiment of the present application. First, in step 901, in the process that a first wireless audio/video device directly receives audio/video data from the smart device via an activated first soft access point according to the WiFi-based wireless multimedia transmission protocol, a first power amount of the first wireless audio/video device and a second power amount of a second wireless audio/video device are obtained. Because the first wireless audio/video device creates the first soft access point to receive the audio/video data, the first wireless audio/video device also needs to forward the audio/video data to the second wireless audio/video device, and the power consumption of the wireless device when transmitting the radio frequency signal is far larger than that of the second wireless audio/video device, the power consumption of the first wireless audio/video device is higher than that of the second wireless audio/video device, and the residual capacity is easier to be smaller than that of the second wireless audio/video device. It is therefore necessary to obtain a first power of the first wireless audio/video device and a second power of the second wireless audio/video device in step 901, respectively.
Next at decision step 902, it is determined whether the first amount of power is less than the second amount of power by at least a predetermined degree. If the result of decision 902 is yes, i.e., if the difference between the first amount of power and the second amount of power reaches a value or a predetermined value, then the first wireless audio/video device may not be suitable as a forwarding device. In some cases, the predetermined value described above may be set smaller as the first amount of power is smaller.
Next, step 903 is performed to create and open a third soft access point by the second wireless audio/video device based on the configuration information of the router. Since the power of the first wireless audio/video device is small and the power of the second wireless audio/video device is relatively large, the third soft access point of the second wireless audio/video device is then turned on, and then the third soft access point is used as a forwarding device.
Step 904 is then performed, where the second wireless audio/video device receives audio/video data directly from the smart device via the enabled third soft access point according to the WiFi-based wireless multimedia transfer protocol. The third soft access point utilizes configuration information of the router to which the smart device has connected. Therefore, after the third soft access point is created, the intelligent equipment can be directly connected with the third soft access point to realize seamless switching, and from the perspective of the intelligent equipment, audio/video data is always sent to the wireless audio/video device, and the first wireless audio/video device or the second wireless audio/video device is not distinguished. The software and hardware settings of the first wireless audio/video device and the second wireless audio/video device may be the same during handoff without requiring software and hardware upgrades or modifications.
Then, step 905 is performed, wherein the received audio/video data is forwarded by the second wireless audio/video device to the first wireless audio/video device. Therefore, the first wireless audio/video device is not responsible for forwarding data any more, but only receives the data, so that the power consumption is reduced, the power consumption is reduced conveniently, the service life is prolonged, and the use experience of a user is improved. As can be seen, soft access point switching based on the first power being less than the second power can extend the lifetime of the first wireless audio/video device 110.
As shown in fig. 5, in some embodiments, the wireless communication method further comprises: under the condition that the second wireless audio/video device creates and opens a third soft access point and receives audio/video data from the intelligent equipment through the opened third soft access point, stopping the first wireless audio/video device from receiving the audio/video data from the intelligent equipment through the first soft access point, but keeping the first soft access point continuously opened, so that the received audio/video data can be continuously forwarded to the second wireless audio/video device, and closing the first soft access point until the forwarding is finished; forwarding, by the second wireless audio/video device, the received audio/video data to the first wireless audio/video device via a third soft access point that is turned on in accordance with the WiFi-based wireless multimedia transmission protocol with the first soft access point turned off. Taking the primary and secondary earphones as an example, the first soft access point is no longer used for receiving audio/video data of the intelligent device. But still opening the first soft access point for forwarding, and closing the first soft access point until the audio/video received from the intelligent device is forwarded. Therefore, the wireless transmission performance can be influenced as little as possible, and the audio played on the main second earphone is prevented from being interrupted or jammed. And under the condition that the first soft access point is closed, the third soft access point starts to forward the received audio/video to the first on-chip system, so that the audio/video played by the first on-chip system can be prevented from being interrupted or blocked.
As shown in fig. 7, in some embodiments, the wireless communication method further comprises: closing the first soft access point under the condition that the second wireless audio/video device creates and opens a third soft access point and receives audio/video data from the intelligent equipment through the opened third soft access point; continuing, by the first wireless audio/video device, forwarding the audio/video data that has been received to the second wireless audio/video device via a bluetooth communication mode or a modified bluetooth communication mode; in the event that the forwarding of the received audio/video data is complete, forwarding, by the second wireless audio/video device, the received audio/video data to the first wireless audio/video device via the bluetooth communication mode or a modified bluetooth communication mode. Unlike fig. 5, the first soft access point is not utilized for forwarding audio/video data, the first soft access point is turned off, and the bluetooth communication mode or the modified bluetooth communication mode is utilized for forwarding audio/video data buffered in the first wireless audio/video device. Furthermore, the second wireless audio/video device also forwards newly received audio/video data via the bluetooth communication mode or the modified bluetooth communication mode. This can reduce the power consumption forwarded by the first wireless audio/video device and the second wireless audio/video device.
In some embodiments, the wireless communication method further comprises: playing, by the first wireless audio/video device, audio/video data from the smart device upon receiving the audio/video data, and storing the audio/video data in a buffer; forwarding, by the first wireless audio/video device, the audio/video data in the buffer to the second wireless audio/video device via a bluetooth communication mode or a modified bluetooth communication mode. Taking the pair of ear headphones as an example, the first soft access point of the first headphone receives the audio data of the smart device, on one hand, the audio data or a part of the audio data (such as one channel data of left and right channels) is provided for the first headphone to be played, and on the other hand, the received audio data or a part of the audio data is placed in a buffer, and the audio/video data in the buffer can forward the buffered data to the second headphone through a bluetooth communication mode or a modified bluetooth communication mode, so as to reduce the transmission power consumption of the first headphone.
The above description is intended to be illustrative and not restrictive. For example, the above-described examples (or one or more versions thereof) may be used in combination with each other. For example, other embodiments may be utilized by those of ordinary skill in the art upon reading the foregoing description. In addition, in the above detailed description, various features may be grouped together to streamline the application. This should not be interpreted as an intention that features of an application that are not claimed are essential to any claim. Rather, inventive subject matter may lie in less than all features of a particular application. 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 it is contemplated that the embodiments can be combined with each other 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 (31)

1. A wireless audio/video apparatus supporting a WiFi-based wireless multimedia transmission protocol and configured to communicate with a smart device supporting the WiFi-based wireless multimedia transmission protocol, the wireless audio/video apparatus comprising a first wireless audio/video device and a second wireless audio/video device in a group and cooperating, the first wireless audio/video device including a first system-on-chip thereon and the second wireless audio/video device including a second system-on-chip thereon,
the first system on a chip is configured to:
attempting to connect to a router based on configuration information of the router, the router being required to establish a wireless local area network on which the WiFi-based wireless multimedia transfer protocol relies;
receiving audio/video data from the smart device or a cloud server via the router in accordance with the WiFi-based wireless multimedia transfer protocol while connected to the router;
under the condition that the router is not connected, starting a local first soft access point established according to the configuration information of the router, and directly receiving audio/video data from the intelligent equipment through the started first soft access point according to the WiFi-based wireless multimedia transmission protocol; and
the received audio/video data is forwarded,
the second system-on-chip is configured to: the forwarded audio/video data is received.
2. The wireless audio/video device of claim 1, wherein the WiFi-based wireless multimedia transport protocol comprises a DLNA protocol.
3. The wireless audio/video device of claim 2, wherein the first system-on-chip is further configured to: forwarding the received audio/video data to the second wireless audio/video device via a WiFi communication mode or a Bluetooth communication mode.
4. The wireless audio/video apparatus according to claim 3, wherein when the second wireless audio/video device is single, the first system on a chip is further configured to: forwarding the received audio/video data to the second wireless audio/video device via a Bluetooth communication mode.
5. The wireless audio/video apparatus according to claim 3, wherein the Bluetooth communication mode comprises a modified Bluetooth communication mode, the modified Bluetooth communication mode modifies a physical layer of Bluetooth, a symbol rate of the physical layer reaches n Mb/s, n includes an integer greater than or equal to 2, and a modulation scheme includes Quadrature Phase Shift Keying (QPSK) or Gaussian Frequency Shift Keying (GFSK) or QAM.
6. The wireless audio/video apparatus of claim 2, wherein the intelligent device supports a custom DLNA protocol that allows the first soft access point to act as a repeater that forwards audio/video data received from the intelligent device to a plurality of wireless audio/video devices.
7. The wireless audio/video apparatus according to claim 2, wherein the smart device supports a conventional DLNA protocol, and wherein the second system-on-chip is configured to: creating and starting a local second soft access point under the condition that the first wireless audio/video device is to forward the audio/video data received from the intelligent equipment; receiving audio/video data directly from the first wireless audio/video device via the enabled second soft access point according to the conventional DLNA protocol;
the first system on a chip is further configured to: creating a new DLNA connection between the first soft access point and the second soft access point; forwarding the audio data to the second wireless audio device via the first soft access point over a new DLNA connection.
8. The wireless audio/video device of claim 1, wherein the WiFi-based wireless multimedia transfer protocol comprises AirPlay protocol.
9. The wireless audio/video device of claim 8, wherein the first system-on-chip is further configured to: and after the local first soft access point is opened, directly receiving audio data from the intelligent equipment through the opened first soft access point according to an AirPlay protocol and forwarding the audio data to the second wireless audio/video device.
10. The wireless audio/video device of any of claims 1-9, wherein the first system-on-chip is further configured to:
continuously communicating with the intelligent device in a BLE communication mode to know whether the intelligent device is not connected with the router;
and under the condition that the intelligent equipment is not connected with the router, starting a local soft access point created according to the configuration information of the router, directly receiving audio/video data from the intelligent equipment through the started soft access point according to the WiFi-based wireless multimedia transmission protocol, and forwarding the received audio/video data.
11. The wireless audio/video device of any of claims 1-9, wherein the first system-on-chip is further configured to: in the process of directly receiving audio/video data from the intelligent equipment through the opened first soft access point according to the WiFi-based wireless multimedia transmission protocol, acquiring first electric quantity of a first wireless audio/video device and second electric quantity of a second wireless audio/video device; and determining whether the first amount of power is less than the second amount of power by at least a predetermined degree, and if so, notifying the second system-on-chip to create and turn on a third soft access point based on the configuration information of the router,
the second system-on-chip is further configured to: creating and opening a third soft access point based on the configuration information of the router in response to the notification; and according to the WiFi-based wireless multimedia transmission protocol, directly receiving audio/video data from the intelligent equipment through the opened third soft access point, and forwarding the received audio/video data to the first system on chip.
12. The wireless audio/video device of claim 11, wherein the first system-on-chip is further configured to: under the condition that the second system-on-chip creates and opens a third soft access point and receives audio/video data from the intelligent device through the opened third soft access point, stopping receiving the audio/video data from the intelligent device through the first soft access point, but keeping the first soft access point continuously opened, so that the received audio/video data can be continuously forwarded to the second system-on-chip, and closing the first soft access point until the forwarding is finished;
the second system-on-chip is further configured to: and under the condition that the first soft access point is closed, forwarding the received audio/video data to the first system on chip through a third opened soft access point according to the WiFi-based wireless multimedia transmission protocol.
13. The wireless audio/video device of claim 12, wherein the first system-on-chip is further configured to: under the condition of receiving audio/video data from the intelligent equipment, playing the audio/video data and storing the audio/video data in a buffer; and forwarding the audio/video data in the buffer to the second system on chip by utilizing the opened first soft access point.
14. The wireless audio/video device of claim 11, wherein the first system-on-chip is further configured to: under the condition that the second system on chip creates and opens a third soft access point and receives audio/video data from the intelligent equipment through the opened third soft access point, closing the first soft access point and continuously forwarding the received audio/video data to the second system on chip through a Bluetooth communication mode or an improved Bluetooth communication mode;
the second system-on-chip is further configured to: forwarding the received audio/video data to the first system on chip via the Bluetooth communication mode or a modified Bluetooth communication mode if the forwarding of the received audio/video data is completed.
15. The wireless audio/video device of claim 14, wherein the first system-on-chip is further configured to: under the condition of receiving audio/video data from the intelligent equipment, playing the audio/video data and storing the audio/video data in a buffer; forwarding the audio/video data in the buffer to the second system-on-chip via a bluetooth communication mode or a modified bluetooth communication mode.
16. The wireless audio/video device of any of claims 1-9, wherein the first system-on-chip is further configured to: the configuration information of the router is stored in advance, or the configuration information of the router is obtained from the intelligent equipment; and/or
The second system-on-chip is further configured to: the configuration information of the router is stored in advance, or the configuration information of the router is acquired from the intelligent device, or the configuration information of the router is acquired from the first system on chip.
17. The wireless audio/video device of any of claims 1-9, wherein the first system-on-chip is configured to: continuously communicating with the smart device via a BLE communication mode to learn whether the smart device is to transmit audio data; and under the condition that the intelligent equipment is informed of sending audio data and the router is not connected, starting a first soft access point which is created locally.
18. The wireless audio/video apparatus of any of claims 1-9, wherein the first wireless audio/video device and the second wireless audio/video device comprise an anti-ear headphone having a first headphone and a second headphone.
19. The wireless audio/video device of claim 18, wherein the first system on a chip is configured to: it is determined whether the first earpiece is removed from the charging box or is in the ear, and if so, and the router becomes disconnected, a first locally created soft access point is turned on.
20. A wireless communication method for communication between a wireless audio/video device supporting a WiFi-based wireless multimedia transmission protocol and a smart appliance, comprising:
providing a wireless audio/video apparatus comprising a first wireless audio/video device and a second wireless audio/video device in a group and cooperating;
attempting, by a first wireless audio/video device, to connect to a router based on configuration information of the router, the router being required to establish a wireless local area network on which the WiFi-based wireless multimedia transfer protocol relies;
receiving, by a first wireless audio/video device, audio/video data from the smart device or a cloud server via the router according to the WiFi-based wireless multimedia transmission protocol while the router is connected;
under the condition that the router is not connected, a first wireless audio/video device starts a local first soft access point created according to the configuration information of the router, and audio/video data from the intelligent equipment are directly received through the started first soft access point according to the WiFi-based wireless multimedia transmission protocol;
forwarding, by the first wireless audio/video device, the received audio/video data to the second wireless audio/video device.
21. The wireless communication method of claim 20, further comprising: and under the condition that the WiFi-based wireless multimedia transmission protocol is a DLNA protocol, the first wireless audio/video device forwards the received audio/video data to the second wireless audio/video device through a WiFi communication mode or a Bluetooth communication mode.
22. The wireless communication method of claim 21, further comprising: when the second wireless audio/video device is single, forwarding, by the first wireless audio/video device, the received audio/video data to the second wireless audio/video device via a bluetooth communication mode.
23. The wireless communication method according to claim 21, wherein the bluetooth communication mode comprises a modified bluetooth communication mode, the modified bluetooth communication mode modifies a physical layer of bluetooth, a symbol rate of the physical layer reaches n Mb/s, n includes an integer greater than or equal to 2, and a modulation scheme includes Quadrature Phase Shift Keying (QPSK) or Gaussian Frequency Shift Keying (GFSK) or QAM.
24. The wireless communication method of claim 20, further comprising: customizing a DLNA protocol to allow the first soft access point to act as a repeater that forwards audio/video data received from the smart device to a plurality of wireless audio/video devices; and using a customized DLNA protocol as the WiFi-based wireless multimedia transmission protocol.
25. The wireless communication method of claim 20, further comprising:
using a conventional DLNA protocol as the WiFi-based wireless multimedia transmission protocol;
creating and opening a local second soft access point by the second wireless audio/video device if the first wireless audio/video device is to forward audio/video data received from the smart device;
creating a new DLNA connection with the first soft access point and the second soft access point;
forwarding, by the first wireless audio/video device, the audio data to the second wireless audio device over the new DLNA connection.
26. The wireless communication method of claim 20, further comprising:
using AirPlay protocol as the WiFi-based wireless multimedia transfer protocol;
after a local first soft access point is opened, the first wireless audio/video device directly receives audio data from the intelligent equipment through the opened first soft access point according to an AirPlay protocol;
forwarding, by the first wireless audio/video device, the audio data to the second wireless audio/video device via the opened first soft access point.
27. The wireless communication method according to any of claims 20-26, further comprising: continuously communicating in a BLE communication mode with the smart device by the first wireless audio/video device to learn whether the smart device is not connected to the router.
28. The wireless communication method according to any of claims 20-26, further comprising: in the process that a first wireless audio/video device directly receives audio/video data from the intelligent equipment through a first opened soft access point according to the WiFi-based wireless multimedia transmission protocol, acquiring first electric quantity of the first wireless audio/video device and second electric quantity of a second wireless audio/video device;
determining whether the first amount of power is less than the second amount of power by at least a predetermined degree, and if so, creating and opening a third soft access point by the second wireless audio/video device based on the configuration information of the router;
directly receiving, by the second wireless audio/video device, audio/video data from the smart device via the enabled third soft access point in accordance with the WiFi-based wireless multimedia transfer protocol;
forwarding, by the second wireless audio/video device, the received audio/video data to the first wireless audio/video device.
29. The wireless communication method of claim 28, further comprising:
under the condition that the second wireless audio/video device creates and opens a third soft access point and receives audio/video data from the intelligent equipment through the opened third soft access point, stopping the first wireless audio/video device from receiving the audio/video data from the intelligent equipment through the first soft access point, but keeping the first soft access point continuously opened, so that the received audio/video data can be continuously forwarded to the second wireless audio/video device, and closing the first soft access point until the forwarding is finished;
forwarding, by the second wireless audio/video device, the received audio/video data to the first wireless audio/video device via a third soft access point that is turned on in accordance with the WiFi-based wireless multimedia transmission protocol with the first soft access point turned off.
30. The wireless communication method of claim 28, further comprising:
closing the first soft access point under the condition that the second wireless audio/video device creates and opens a third soft access point and receives audio/video data from the intelligent equipment through the opened third soft access point; continuing, by the first wireless audio/video device, forwarding the audio/video data that has been received to the second wireless audio/video device via a bluetooth communication mode or a modified bluetooth communication mode;
forwarding, by the second wireless audio/video device, the received audio/video data to the first wireless audio/video device via the bluetooth communication mode or a modified bluetooth communication mode, if the forwarding of the received audio/video data is completed.
31. The wireless communication method of claim 20, further comprising:
playing, by the first wireless audio/video device, audio/video data from the smart device upon receiving the audio/video data, and storing the audio/video data in a buffer; forwarding, by the first wireless audio/video device, the audio/video data in the buffer to the second wireless audio/video device via a bluetooth communication mode or a modified bluetooth communication mode.
CN202211019420.5A 2022-08-24 2022-08-24 Wireless audio/video device and wireless communication method Active CN115396407B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211019420.5A CN115396407B (en) 2022-08-24 2022-08-24 Wireless audio/video device and wireless communication method
US18/080,192 US12028393B2 (en) 2022-08-24 2022-12-13 Wireless multimedia apparatus and operation method thereof

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN115396407A true CN115396407A (en) 2022-11-25
CN115396407B CN115396407B (en) 2024-01-12

Family

ID=84121474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211019420.5A Active CN115396407B (en) 2022-08-24 2022-08-24 Wireless audio/video device and wireless communication method

Country Status (1)

Country Link
CN (1) CN115396407B (en)

Cited By (1)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN114760616A (en) * 2022-05-19 2022-07-15 恒玄科技(北京)有限公司 Wireless communication method and wireless audio playing assembly

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN114760616A (en) * 2022-05-19 2022-07-15 恒玄科技(北京)有限公司 Wireless communication method and wireless audio playing assembly

Cited By (1)

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

Also Published As

Publication number Publication date
CN115396407B (en) 2024-01-12

Similar Documents

Publication Publication Date Title
US10701629B2 (en) Smart battery wear leveling for audio devices
JP5898235B2 (en) Communication method and communication apparatus
US9686030B2 (en) Method and apparatus for configuration and control of mixer for audio system using wireless docking system
JP6515918B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING SYSTEM, AND INFORMATION PROCESSING METHOD
US8799492B2 (en) Electronic device
JP6406249B2 (en) Information processing apparatus and information processing method
US20220418021A1 (en) Audio data transmission method and apparatus for wireless earphone, and storage medium and terminal
KR20160142314A (en) Streaming control for real-time transport protocol
US20230069230A1 (en) Switching between multiple earbud architectures
JP2023524790A (en) Electronic device and wireless communication method
CN111010715A (en) Data transmission method, device, storage medium and terminal
EP2699042B1 (en) Broadcast audio service
KR20140146539A (en) Wifi display compatible network gateway
CN105704110A (en) Media transmission method, media control method and device
CN105376069B (en) WLAN adapter for vehicle head unit
RU2505939C2 (en) Method and apparatus for wirelessly distributing multiplex signal comprising multimedia data over local area network
CN115396407B (en) Wireless audio/video device and wireless communication method
CN110830973B (en) Method for transmitting audio information by using wireless earphone
WO2024041189A1 (en) Wireless audio/video apparatus and wireless communication method
CN113840269A (en) Multimedia data transmission method and device, electronic equipment and storage medium
WO2013007722A1 (en) Network proxying technology
CN114885261A (en) Earphone assembly, wireless audio playing system and communication method thereof
US12028393B2 (en) Wireless multimedia apparatus and operation method thereof
CN105991516A (en) Method and device of transmitting audios reversely in wireless same-screen system
KR20090076628A (en) System offering streaming service and method for streaming service thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant