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

Wireless audio/video device and wireless communication method Download PDF

Info

Publication number
CN115396407B
CN115396407B CN202211019420.5A CN202211019420A CN115396407B CN 115396407 B CN115396407 B CN 115396407B CN 202211019420 A CN202211019420 A CN 202211019420A CN 115396407 B CN115396407 B CN 115396407B
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.)
Active
Application number
CN202211019420.5A
Other languages
Chinese (zh)
Other versions
CN115396407A (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/US20240073265A1/en
Application granted granted Critical
Publication of CN115396407B publication Critical patent/CN115396407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or 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

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, wherein the first wireless audio/video device and the second wireless audio/video device respectively comprise a first system-on-chip and a second system-on-chip, and the first system-on-chip is configured to: attempting to connect to the router based on the configuration information of the router; receiving audio/video data from the smart device or the cloud server via the router, while connected to the router; directly receiving audio/video data from the intelligent device via the first soft access point which is opened under the condition that the router is not connected; and forwarding the received audio/video data, the second system-on-chip being configured to receive the forwarded audio/video data. The limitation that the router can only be used in the scene of being connected with an upper router is overcome. The networking process is not required to be repeated in the mobile use scene, so that the use experience of the user is improved.

Description

Wireless audio/video device and wireless communication method
Technical Field
The present application relates to wireless audio/video apparatuses, and more particularly, to a wireless audio/video device and a wireless communication method.
Background
With the development of wireless intelligent mobile equipment, based on the process that wireless multimedia transmission protocol (including DLNA protocol, airplay protocol and the like) is utilized to push audio or video to playing equipment for playing, the use experience of users is improved, the wireless intelligent mobile equipment is a controller in the process, and the playing equipment is controlled equipment. But only the push process of the audio or video can be completed by connecting the controller and the controlled device to the same wireless router. Therefore, the use scenario has a limitation, and the router cannot be used under the condition that the router cannot be networked, and when the number of the controlled devices is more than one, the plurality of the controlled devices cannot receive the audio or video data. In a mobile use scene, the router networking process needs to be repeated, and the inconvenience of the 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 apparatus and wireless communication method that is capable of receiving audio/video data based on a wireless multimedia transmission protocol of WiFi in a wireless local area network of a router; in case of no connection to the router, by creating the first soft access point, audio/video data can still be received based on the wireless multimedia transmission protocol of WiFi. It is not necessary to repeat the router networking process in a 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, the first wireless audio/video device comprising a first system on a chip and the second wireless audio/video device comprising a second system on a chip. The first system-on-chip is configured to attempt to connect to a router based on configuration information of the router that is required to build a wireless local area network on which the WiFi-based wireless multimedia transmission protocol depends. And is 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 transmission protocol upon connection to the router. The method comprises the steps of receiving a wireless multimedia transmission protocol based on WiFi, wherein the wireless multimedia transmission protocol is used for receiving audio/video data from the intelligent equipment through a first soft access point which is established according to configuration information of a router when the wireless multimedia transmission protocol based on WiFi is connected to the intelligent equipment; 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 first and second wireless audio/video devices that are grouped and co-operate. Attempting, by the first wireless audio/video device, to connect to the router based on the configuration information of the router, the router is required to build a wireless local area network on which the WiFi-based wireless multimedia transmission protocol depends. In the case of connecting the router, audio/video data from the smart device or cloud server is received by the first wireless audio/video device via the router in accordance with the WiFi-based wireless multimedia transmission protocol. And 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 device is 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.
According to the wireless audio/video device and the wireless communication method, the first system on a chip is utilized to try to connect with the router, and under the condition that the router can be connected, the intelligent equipment and/or the cloud server can directly send audio/video data to the first wireless audio/video device; under the condition that the router cannot be connected, the first soft access point is created through the configuration information of the router, audio/video data sent by the intelligent equipment can still be received, and the limitation that the audio/video data can be received based on the WiFi wireless multimedia transmission protocol only in the scene that the router can be connected is overcome. In the mobile use scene, the networking process of the router is not required to be repeated, and the use experience of the user is improved. The second system-on-chip of the second wireless audio/video device is capable of receiving the audio/video data forwarded by the first system-on-chip, so that both 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 numerals may describe similar components in different views. The same reference numerals with letter suffixes or different letter suffixes may represent different instances of similar components. The accompanying drawings illustrate various embodiments by way of example in general and not by way of limitation, and together with the description and claims serve to explain the claimed embodiments. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. Such embodiments are illustrative and not intended to be exhaustive or exclusive of the present apparatus or method.
Fig. 1 shows a first exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the present application;
fig. 2 shows a second exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the present application;
fig. 3 shows a third exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the present application;
fig. 4 shows a fourth exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the present application;
fig. 5 shows a fifth exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the present application;
fig. 6 shows a sixth exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the present application;
fig. 7 shows a seventh exemplary 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 present 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 better understand the technical solutions of the present application, the following detailed description of the present application is provided with reference to the accompanying drawings and the specific embodiments. Embodiments of the present application will now be described in further detail with reference to the accompanying drawings and specific examples, but are not intended to be limiting of the present application. The order in which the steps are described herein by way of example should not be construed as limiting if there is no necessity for a relationship between each other, and it should be understood by those skilled in the art that the steps may be sequentially modified without disrupting the logic of each other so that the overall process is not realized.
Fig. 1 shows a schematic diagram of a first example communication structure of a wireless audio/video device according to an embodiment of the present 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 modified protocols based thereon. The DLNA protocol is proposed by sony, intel, microsoft, etc., and is called DIGITAL LIVING NETWORK ALLIANCE, which enables sharing of photos, videos, and music among electronic products such as mobile phones and tablet computers. The air play protocol is to push audio or video of the 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 one-to-one configuration of the sender and the receiver, such as a first earpiece sending to a second earpiece. The AirPlay protocol supports a one-to-many configuration of sender and receiver, such as the smart device sending audio to multiple receiving speakers. The wireless audio/video device can communicate with the intelligent device by using any one of DLNA protocol, airPlay protocol and Miracast protocol and the improved protocol based on the DLNA protocol, airPlay protocol and Miracast protocol, so that the intelligent device can push audio/video data conveniently.
As shown in fig. 1, the wireless audio/video apparatus includes a first wireless audio/video device 110 and a second wireless audio/video device 120 that are grouped and cooperate, the first wireless audio/video device 110 including a first system-on-chip 111 and the second wireless audio/video device 120 including a second system-on-chip 121. The first wireless audio/video device 110 and the second wireless audio/video device 120 may include a pair of ear phones with a first earpiece and a second earpiece, a master slave speaker, etc. Taking the example of a pair of ear phones, the first system-on-chip 111 may be provided in a first ear phone and the second system-on-chip 121 may be provided in a second ear phone.
As shown in fig. 1, the first system on a chip 111 is configured to attempt to connect to the router 130 based on configuration information of the router, the router 130 being required to build a wireless local area network on which the WiFi-based wireless multimedia transmission protocol depends. In some embodiments, the configuration information of router 130 includes a network name and password of router 130. The configuration information of the router 130 may further include information such as a media access control (Media Access Control, abbreviated MAC) address, a key, etc. of the wireless router to be connected. The configuration information through the router 130 enables identification of the router 130 and establishment of a wireless connection with the router 130 during connection of the router 130.
As shown in fig. 1, audio/video data from the smart device 140 or cloud server 150 is received via the router 130 in accordance with the WiFi-based wireless multimedia transmission protocol, with being connected to the router 130. The smart device 140 may be any one of smart electronic devices such as a mobile phone, a notebook computer, a tablet computer, an iPod, a smart watch, and the like. 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 is indicated 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, 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 plays the audio/video. The audio/video data of the smart device 140 or the cloud server 150 may be forwarded directly 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 of the wireless multimedia transmission protocol based on WiFi in the environment with the router 130.
As shown in fig. 1, in case of being not connected to the router 130, the local first soft access point 112 created according to the configuration information of the router 130 is turned on, and audio/video data from the smart device 140 is directly received 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 a chip 111 may not be connected to the router 130 because the first system on a chip 111 is not within the connection range of the router 130 or the router 130 is not operational. The first system on a chip 111 opens the local first soft access point 112 created from the configuration information of the connected router 130, which may be pre-created so that it can be opened in time when the router is not connected or the creation and opening process 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 with the router 130, the intelligent device 140 stores the configuration information of the router 130, so that the first system on chip 111 can be directly connected with the first soft access point 112 under the condition that the first system on chip 111 is not connected with the router 130, and the intelligent device 140 can be directly connected with the first soft access point 112 in a wireless manner, so that a user does not need to manually input the configuration information of the router 130, 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 audio/video data to the first system on a chip 111. The first on-chip system 111 can receive the audio/video data for playing, and then the audio/video data received by the first on-chip system 111 can be forwarded by the first soft access point 112, or can be forwarded by the first on-chip system 111 to the second on-chip system 121 through bluetooth/WIFI for playing by the second wireless audio/video device 120. In this way, in case the first system on chip 111 cannot connect to the router 130, the use of the WiFi-based wireless multimedia transmission protocol can be supported by the first soft access point 120. The limitation that the router can only be used under the networking of the router is overcome, and the router is convenient for users to use. For example, in the outdoor router-free scenario, 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 mobile phone outdoors.
As shown in fig. 1, if the first system on chip 111 is not within the connection range of the router 130, the router 130 cannot operate, or is within the range of a new router in a mobile usage scenario, the new router cannot be connected because the first system on chip 111 does not have configuration information of the new router. Therefore, in the mobile usage scenario, 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 that the user directly plays the audio/video based on the wireless multimedia transmission protocol of the WiFi is improved. For example, in a mobile car, the intelligent device 140 is a mobile phone, the mobile phone can directly push audio to the pair of ear phones by using the soft access point of the first earphone, the router networking is not required to be repeated, the first earphone is not required to be repeatedly connected, and the mobile use experience is convenient for users.
In some embodiments, the first system-on-chip may include a mobile chip and a WiFi communication module that may convert mobile network signals of the mobile chip into wireless signals by creating a first soft access point. Such as a 4G network signal, is converted to a wireless signal by a first soft access point. Similarly, for the second system-on-chip hereinafter, the mobile chip and the WiFi communication module may be also included to establish the second soft access point and the third soft access point.
The various components in the present application, such as the classical bluetooth communication module, the LE Audio communication module, the 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 company or the like may be used as processors of the SOC to execute the corresponding functions, and may be implemented as an embedded system. In particular, there are many modules on the commercially available modules (IP), such as, but not limited to, memory, various communication modules, codecs, buffers, and the like. Other devices such as an antenna and speaker may be external to the chip. Users can implement various communication modules, codecs, etc. by constructing ASICs (application specific integrated circuits) based on purchased IPs or self-developed modules in order to reduce power consumption and cost. For example, a user may also implement various communication modules, codecs, etc. using an FPGA (field programmable gate array), which may be used to verify the stability of a hardware design. Buffers are also commonly provided for various communication modules, codecs, etc., to temporarily store data generated during processing.
In some embodiments, where the WiFi-based wireless multimedia transport protocol is the DLNA protocol, the first system on a chip is further configured to: and 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, the 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 WiFi communication mode is utilized to forward the audio, and the router has the advantage of high transmission rate. The bluetooth communication mode may be that audio is forwarded between the first earpiece and the second earpiece over a bluetooth connection. Wherein the bluetooth communication mode has the effect of reducing the power consumption of the headset forwarding. Wherein, in some embodiments, when the second wireless audio/video device is singular, the first system-on-chip is further configured to: and 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 sound box, the second wireless audio/video device is a slave sound box, when only one slave sound box exists, audio/video can be forwarded to a single slave sound box one to one through a Bluetooth mode, and the wireless audio/video device has the advantage of low power consumption. And on the basis, in some embodiments, the bluetooth communication mode comprises an improved bluetooth communication mode, the improved bluetooth communication mode improves a physical layer of bluetooth, the symbol rate of the physical layer reaches n Mb/s, n comprises an integer greater than or equal to 2, and the modulation mode comprises 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 at 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 symbol rate of n Mb/s, 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 function of reducing transmission power consumption compared with the WIFI communication mode; compared with the classical Bluetooth communication mode, the system 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 present application. The smart device supports a customized DLNA protocol that allows the first soft access point to act as a repeater to forward audio/video data received from the smart device to a number of wireless audio/video devices. For example, as shown in fig. 2, there are 4 wireless audio/video devices in total, the first wireless audio/video device 110 creates the 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, by the customized DLNA protocol, one-to-many transmission of audio/video data can be achieved compared to the conventional DLNA protocol. For example, the master sound box is used as a first wireless audio/video device, a plurality of slave sound boxes can be provided, and the master sound box can forward audio to other slave sound boxes, so that audio sharing between the master sound box and the plurality of slave sound boxes can be realized.
Fig. 3 shows a third exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the present application. The smart device supports a conventional DLNA protocol, and the second system-on-chip is configured to: creating and activating a local second soft access point 122 in case the first wireless audio/video device 110 is to forward audio/video data received from the smart device 140; directly receiving audio/video data from the first wireless audio/video device 110 via the second soft access point 122 turned on according to the conventional DLNA protocol; the first system on a 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 a new DLNA connection. The conventional DLNA protocol refers to a DLNA protocol supporting a one-to-one configuration of a sender to a receiver. 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 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 be able to receive audio/video data even with the conventional DLNA protocol. The implementation of the existing DLNA protocol enabled smart device 140 pushing the sharing process of audio/video data to multiple wireless audio devices is facilitated.
In some embodiments, a first soft access point and a second soft access point are simultaneously set 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 the audio/video data from the intelligent device, 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 forwards the audio/video data to the second system-on-chip. If both the first soft access point and the second soft access point are located on the first system-on-chip, the transmission of audio/video data may be performed by means of a wired connection. The fourth soft access point can realize the functions of the first soft access point and the second soft access point simultaneously, and the fourth soft access point can not only receive the audio/video data from the intelligent device, but also forward the audio/video data to the second system on a chip.
In some embodiments, the first system-on-chip is further configured to: after the local first soft access point is started, audio data from the intelligent equipment is directly received through the started first soft access point according to an AirPlay protocol and is forwarded to the second wireless audio/video device. The AirPlay protocol supports a one-to-many configuration of the sender and receiver, and the first soft access point may act directly as a repeater to forward received audio data to the second wireless audio/video device for playback. Compared with the conventional DLNA protocol, the method has the advantage of more convenient communication push of audio/video data.
In some embodiments, the first system on a chip is further configured to communicate continuously with the smart device in BLE communication mode to learn whether the smart device is not connected to the router; and under the condition that the intelligent device 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 device 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 the router is not connected. The first system-on-chip is not aware when the smart device is unable to connect to the router and therefore does not turn on the first soft access point, which may result in a disconnection of the wireless connection between the first system-on-chip and the smart device. Continuous communication is carried out with the first system on a chip through the intelligent device in a BLE communication mode, the first system on a chip can be timely informed of the condition of a connection router of the intelligent device, the first system on a chip is convenient to timely establish a soft access point, then the first system on a chip can continuously receive audio/video data sent by the intelligent device, and the problem that communication cannot be carried out based on a wireless multimedia transmission protocol of 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 present application. The first system on a chip 110 is further configured to: acquiring a first power of the first wireless audio/video device 110 and a second power of the second wireless audio/video device 120 during 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 level is less than the second power level 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: creating and turning on a third soft access point 123 based on the configuration information of the router in response to the notification; audio/video data from the smart device 140 is received directly via the third soft access point 123, which is turned on, according to the WiFi-based wireless multimedia transmission protocol, and the received audio/video data is forwarded to the first system on chip 111. Since the first system-on-chip 111 creates the first soft access point 112 to receive the audio/video data, and the first system-on-chip 111 needs to forward the audio/video data to the second system-on-chip 121, and the power consumption of the wireless device when transmitting the radio frequency signal is much greater than that of the receiving, the power consumption of the first system-on-chip 111 for turning on the first soft access point 112 is higher than that of the second system-on-chip 121, and the residual power of the first system-on-chip 111 is easily smaller than that of the second system-on-chip 121. The first system-on-chip 111 may obtain the second power of the second system-on-chip 121 through bluetooth communication, wiFi communication, or the like and inform the second system-on-chip 121 to create the third soft access point 123. In the determining process, the first power level and the second power level may be compared, when the first power level is determined to be less than the second power level by at least a predetermined degree, for example, the predetermined degree may be a preset value, and when the value of the first power level less than the second power level reaches or exceeds the preset value, the second system on chip 121 is notified to turn on the third soft access point 123. In some cases, the above-described predetermined value may be set smaller as the first electric quantity is smaller. Thus, the smaller the first power, the more stringent the power requirement is to be reduced, and the easier it is to switch soft access points. The second system on chip 121 is thus switched to directly receive the audio/video data of the intelligent device 140 and send the audio/video data to reduce the power consumption of the first wireless audio/video device 110, so as to prolong the service time of the first wireless audio/video device 110. It can be seen that the soft access point switching based on the first power being smaller than the second power can extend the usage time 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 jamming of the audio/video played by the first system on chip 111.
The intelligent device is connected with the first soft access point or the third soft access point, and the intelligent device can only 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, and only perceives the interaction of information with the soft access point, and does not perceive difference for different soft access points, so that the settings of the first wireless audio/video device and the second wireless audio/video device in terms of software and hardware can be the same in the switching process, and the updating or correction in terms 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 present application. The first system on a chip 111 is further configured to: in the case where the second system-on-chip 121 creates and turns on the third soft access point 123 and receives audio/video data from the smart device 140 via the turned-on third soft access point 123, the reception of audio/video data from the smart device 140 via the first soft access point 112 is stopped, but the first soft access point 112 is kept continuously turned on, so that the forwarding of the audio/video data that has been received to the second system-on-chip 121 can be continued until the forwarding is completed and the first soft access point 112 is turned off again; the second system-on-chip 121 is further configured to: with the first soft access point 112 off, the received audio/video data is forwarded to the first system on chip 111 via the third soft access point 123 on in accordance with the WiFi-based wireless multimedia transfer protocol. The first wireless audio/video device 110 and the second wireless audio/video device 120 perform switching as primary and secondary sides, and the first soft access point 112 is not used to receive the audio/video data of the intelligent device 140 under the condition that the third soft access point 123 of the second wireless audio/video device 120 is switched to receive the audio/video data of the intelligent device 140. But still turn on the first soft access point 112 for forwarding until the audio/video received from the smart device 140 is forwarded, the first soft access point 112 is turned off. 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 blocked. And, in the case that the first soft access point 112 is turned off, the third soft access point 123 starts to forward the received audio/video to the first system on chip 111, so that interruption or jamming of the audio/video played by the first system on chip 111 can be avoided.
Fig. 6 shows a sixth exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the present application. The first system on a chip 111 is further configured to: playing the audio/video data in case of receiving the audio/video data from the smart device 140, and storing the audio/video data in the buffer 113; with the first soft access point 112 turned on, the audio/video data in the buffer 112 is forwarded to the second system on chip 121. Taking the example of an ear-facing earphone, the first soft access point of the first earphone (the first wireless audio/video device 110) receives audio data of the smart device, on the one hand, the audio data or a part of the audio data (such as one of the left and right channels of audio data) is given to the first earphone for playing, and on the other hand, the received audio data or a part of the audio data is put in the buffer, so that the first earphone necessarily has a part of the audio data to be relayed to the second earphone (the second wireless audio/video device 120), and then the audio data in the buffer is sent to the second earphone by the first soft access point.
Fig. 7 shows a seventh exemplary communication structure diagram of a wireless audio/video device according to an embodiment of the present application. The first system on a 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 audio/video data from the smart device 140 via the opened third soft access point 123, closing the first soft access point, and continuing to forward the received audio/video data 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 audio played on the second wireless audio/video device 120; the second system-on-chip 121 is further configured to: in case the received audio/video data is forwarded over, 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 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 via the bluetooth communication mode 170 or a modified bluetooth communication mode. The second system on chip 121 forwards the new audio/video data also via the bluetooth communication mode 170 or a modified bluetooth communication mode. This can greatly 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 is reduced, and the service time of the first wireless audio/video device 110 and the second wireless audio/video device 120 is prolonged.
In some embodiments, the first system-on-chip is further configured to: playing the audio/video data and storing the audio/video data in a buffer under the condition of receiving the audio/video data from the intelligent device; the audio/video data in the buffer is forwarded 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 through the first soft access point. Unlike fig. 6, the audio/video data in the buffer may also forward the buffered data to the second system-on-chip through the bluetooth communication mode or the modified bluetooth communication mode, thereby reducing 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 time of the first wireless audio/video device.
In some embodiments, 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 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 be transmitted to the second system-on-chip by means of bluetooth communication, wiFi communication, etc. If the second system-on-chip stores the configuration information of the router or stores the configuration information of the router in advance in the process of receiving the first soft access point as a repeater for forwarding the audio/video data, the first system-on-chip does not need to be sent to the second system-on-chip. In some embodiments, the second system-on-chip creates a third soft access point based on a different configuration information of the router than the router of the first soft access point; the second soft access point is based on the different configuration information of the router from the first soft access point; the second soft access point and the third soft access point are based on the same or different configuration information of the router. Because the second soft access point and the first soft access point have a state of being simultaneously on, such as the first soft access point is likely to be responsible for forwarding buffered data even if it does not receive audio/video data from the smart device, the third soft access point and the second soft access point have a state of being simultaneously on. Creating the first soft access point may be the configuration information of a router to which the first wireless audio/video device is commonly connected with the smart device. Creating the third soft access point may be the configuration information of a router to which the second wireless audio/video device is commonly 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-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; the first soft access point created locally is turned on knowing that the smart device is to send audio data and that the router is not attached. The first system-on-chip communicates continuously with the intelligent device 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 notifies the first system-on-chip through the BLE communication mode. Thus, when the intelligent device does not need to send audio data to the earphone, the soft access point of the earphone can be disabled, and the BLE communication module of the earphone is still in operation. This greatly reduces the power consumption of the headset when it is on standby or when it is not needed to transmit audio data.
In one embodiment, the first system-on-chip is configured to: and judging whether the first earphone is taken out from the charging box or in the ear, and if so, starting a first soft access point which is created locally under the condition that the router becomes disconnected. When the first earpiece is removed from the charging cartridge, indicating that the first earpiece is not charged, the user may need to use the first earpiece to play audio, if at this time the first earpiece is also not connected to the router, creating a first soft access point. This may improve the user experience. When the first earphone is detected in the ear, the user may use the first earphone to play audio, if the first earphone is not connected with the router at the moment, the first soft access point is created, 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. In-ear detection may be achieved by mounting a capacitive sensor, an optical sensor, etc. on the headset.
A wireless communication method according to an embodiment of the present application is specifically described below.
Fig. 8 shows a flow diagram of a wireless communication method according to an embodiment of the present application. The wireless communication method is used for supporting communication between the wireless audio/video device and the intelligent equipment based on the WiFi wireless multimedia transmission protocol. The wireless multimedia transmission protocol based on WiFi includes any one of DLNA protocol, airPlay protocol and Miracast protocol and the improved protocol based thereon. 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 a pair of ear phones with a first earpiece and a second earpiece, a master slave speaker, etc.
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 required to build a wireless local area network on which the WiFi-based wireless multimedia transmission protocol depends. In some embodiments, the configuration information of the router includes a network name and 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 attempts to connect to the router, and then judges whether the router is available or not so as to establish a first soft access point or not in the next step. Next, steps 803 and 804 are performed.
Step 803, receiving, by the first wireless audio/video device, audio/video data from the smart device or cloud server via the router in accordance with the WiFi-based wireless multimedia transmission protocol, with the router connected. In the case of router networking, the router is responsible for forwarding audio/video data of the smart device or cloud server to the first wireless audio/video device, which receives the audio/video data. In addition, the audio/video data may be sent directly to the second wireless audio/video device via a router, such as may be forwarded to the second wireless audio/video device via a wireless connection or bluetooth connection between the first wireless audio/video device and the second wireless audio/video device.
Step 804, when the router is not connected, 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 according to the WiFi-based wireless multimedia transmission protocol via the started first soft access point. The first wireless audio/video device may not be connected to the router because the first wireless audio/video device is not within the connection range of the router or the router is not operational, at which time a local first soft access point is created by the configuration information of the connected router. In the process that the first wireless audio/video device is connected with the router, the intelligent device stores the configuration information of the router, so that the intelligent device can be directly connected with the first soft access point in a wireless mode under the condition that the first wireless audio/video device is not connected with the router, a user does not need to manually input the configuration information of the router, and the operation of the user can be facilitated. In the case of a wireless network established by a first soft access point, the intelligent device transmits audio/video data to the first soft access point, which transmits 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 the first soft access point can support the use of a wireless multimedia transmission protocol based on WiFi under the condition that the first wireless audio/video device cannot be connected with the router. The limitation that the router can only be used under the networking of the router is overcome, and the router is convenient for users to use.
The received audio/video data is then forwarded by the first wireless audio/video device to the second wireless audio/video device in step 805. In step 804, the first wireless audio/video device is used as a receiving party for transmitting the intelligent 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 the steps 803 to 805 are not necessarily performed in the order of fig. 8, but may be performed alternately, and the execution order of the steps 803, 804, and 805 may be exchanged without affecting the logic of each other. Specifically, after the first wireless audio/video device attempts to connect to the router in step 802, it is divided into two cases, and in the case of connecting to the router, step 803 is correspondingly performed. Steps 804 and 805 are performed without connection to the router to create the first soft access point, and still transmit audio/video data based on the WiFi wireless multimedia transmission protocol.
In some embodiments, in the case where the WiFi-based wireless multimedia transmission protocol is a DLNA protocol, the received audio/video data is forwarded by the first wireless audio/video device 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 a WiFi communication mode or a bluetooth communication mode. For example, audio or video data is transmitted between the first earpiece and the second earpiece via a wireless connection or a bluetooth connection. With a bluetooth connection having lower transmit power consumption than with a wireless connection. Wherein in some embodiments, when the second wireless audio/video device is singular, 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. Because the conventional DLNA protocol supports one-to-one configuration, for example, the first wireless audio/video device is a master sound box, and the second wireless audio/video device is a slave sound box, when only one slave sound box exists, audio/video can be forwarded to a single slave sound box one-to-one through a Bluetooth mode, and the Bluetooth type wireless audio/video device has the advantage of low power consumption. And on the basis, in some embodiments, the bluetooth communication mode comprises an improved bluetooth communication mode, the improved bluetooth communication mode improves a physical layer of bluetooth, the symbol rate of the physical layer reaches n Mb/s, n comprises an integer greater than or equal to 2, and the modulation mode comprises 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 at layers above a physical layer, such as a Bluetooth medium access control (mac) layer, a Bluetooth host control interface layer and the like, a symbol rate of 2Mb/s can be adopted at 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 DLNA protocol to allow the first soft access point to act as a repeater to forward audio/video data received from the smart device to a plurality of wireless audio/video devices; a custom DLNA protocol is used as the WiFi-based wireless multimedia transmission protocol. Compared with the conventional DLNA protocol, the customized DLNA protocol can realize one-to-many transmission of audio/video data by using the first soft access point as a repeater. For example, the master sound box is used as a first wireless audio/video device, a plurality of slave sound boxes can be provided, and the master sound box can forward audio to other slave sound boxes, so that audio sharing between the master sound box and the plurality of slave sound boxes can be realized.
In some embodiments, the wireless communication method further comprises: conventional DLNA protocol is used as WiFi-based wireless multimedia transmission protocol; creating and activating a local second soft access point by the second wireless audio/video device in case the first wireless audio/video device is to forward audio/video data received from the smart device; creating a new DLNA connection using 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 a new DLNA connection. The conventional DLNA protocol refers to a DLNA protocol supporting a one-to-one configuration of a sender to a receiver. 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 created DLNA connection between the first soft access point and the second soft access point. Thus, even through the conventional DLNA protocol, it is possible to realize that both the first wireless audio/video device and the second wireless audio/video device can receive audio/video data.
In some embodiments, the wireless communication method further comprises: using an AirPlay protocol as the WiFi-based wireless multimedia transmission protocol; after a local first soft access point is started, the first wireless audio/video device directly receives audio data from the intelligent equipment through the started 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 turned-on first soft access point. The AirPlay protocol can relay and send audio/video data to a plurality of receivers, and has the advantage of more convenient communication pushing of the audio/video data compared with the conventional DLNA protocol. And thus may be sent directly to the second wireless audio/video device via the first soft access point that is turned on. Of course, in order to save power consumption, the first wireless audio/video device may also forward the received audio/video data to the second wireless audio/video device via the bluetooth communication mode.
In some embodiments, the wireless communication method further comprises: and carrying out continuous communication in a BLE communication mode with the intelligent device by the first wireless audio/video device so as to know whether the intelligent device is not connected with the router. Returning to the process shown in fig. 8, a first soft access point is created without the first wireless audio/video device connected to the router. But in case the smart device cannot connect to the upper router, it is just as impossible to transmit audio/video data using the WiFi-based wireless multimedia transmission protocol. Therefore, the intelligent device continuously communicates with the first wireless audio/video device in a BLE communication mode, the condition of a connection router of the intelligent device can be timely known, the first wireless audio/video device is convenient to establish a soft access point, then the first wireless audio/video device can continuously receive audio/video data sent by the intelligent device, and the problem that communication cannot be carried out based on a wireless multimedia transmission protocol of WiFi due to the fact that the intelligent device is disconnected with the router is avoided.
Fig. 9 shows a flow diagram of a wireless communication method according to another embodiment of the present application. Firstly, in step 901, in a process that a first wireless audio/video device directly receives audio/video data from the smart device via an opened first soft access point according to the WiFi-based wireless multimedia transmission protocol, a first electric quantity of the first wireless audio/video device and a second electric quantity 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, and the first wireless audio/video device also needs to forward the audio/video data to the second wireless audio/video device, the power consumption of the wireless device when transmitting the radio frequency signal is far greater than that of the wireless device, so that the power consumption of the first wireless audio/video device is higher than that of the second wireless audio/video device, and the residual electric quantity is easier to be smaller than that of the second wireless audio/video device. It is therefore necessary to acquire 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, a determination is made as to whether the first charge is less than the second charge by at least a predetermined amount. If the result of the decision step 902 is yes, i.e. if the difference between the first power level and the second power level has reached a value or a predetermined value, it is indicated that the first wireless audio/video device may not be suitable as a forwarding device in the following. In some cases, the above-described predetermined value may be set smaller as the first electric quantity is smaller.
Next, step 903 is performed, where a third soft access point is created and turned on by the second wireless audio/video device based on the configuration information of the router. Because the electric quantity of the first wireless audio/video device is smaller, and the electric quantity of the second wireless audio/video device is relatively larger, then the third soft access point of the second wireless audio/video device is started, and then the third soft access point is used as forwarding equipment.
Next, step 904 is performed, by the second wireless audio/video device, directly receiving audio/video data from the smart device via the third soft access point turned on according to the WiFi-based wireless multimedia transmission protocol. The third soft access point uses configuration information of the router to which the intelligent device is connected. Thus, after the third soft access point is created, the intelligent device can be directly connected with the third soft access point to realize seamless switching, and from the perspective of the intelligent device, 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 settings of the first wireless audio/video device and the second wireless audio/video device in terms of software and hardware can be the same during the switching process, and no upgrades or modifications in terms of software and hardware are required.
Step 905 then proceeds to forward the received audio/video data 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, but only receives data, so that the power consumption is reduced, the power consumption is convenient to reduce, the service time is prolonged, and the use experience of a user is improved. It can be seen that the soft access point switching based on the first power being smaller than the second power can extend the usage time of the first wireless audio/video device 110.
As shown in fig. 5, in some embodiments, the wireless communication method further comprises: in the case that the second wireless audio/video device creates and opens a third soft access point and receives audio/video data from the intelligent device via the opened third soft access point, stopping the first wireless audio/video device from receiving the audio/video data from the intelligent device via 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 until the forwarding is completed and then closing the first soft access point; forwarding, by the second wireless audio/video device, the received audio/video data to the first wireless audio/video device via the turned-on third soft access point in accordance with the WiFi-based wireless multimedia transmission protocol, with the first soft access point turned off. Taking the primary second earphone as an example, the first soft access point is no longer utilized to receive the audio/video data of the intelligent device. But still turning on the first soft access point to forward until the audio/video received from the smart device is forwarded, and turning off the first soft access point. 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 blocked. 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 system-on-chip, so that interruption or blocking of the audio/video played by the first system-on-chip can be avoided.
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 device through the opened third soft access point; continuing, by the first wireless audio/video device, forwarding of 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; and 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, in the event that the forwarding of the received audio/video data is completed. Unlike fig. 5, the first soft access point is not utilized for forwarding audio/video data, and is turned off, and the bluetooth communication mode or modified bluetooth communication mode is utilized for forwarding audio/video data buffered in the first wireless audio/video device. Moreover, the second wireless audio/video device also forwards newly received audio/video data via a bluetooth communication mode or a modified bluetooth communication mode. This can reduce the power consumption of the first wireless audio/video device and the second wireless audio/video device for forwarding.
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, audio/video data in a buffer to the second wireless audio/video device via a bluetooth communication mode or a modified bluetooth communication mode. Taking an example of an ear phone, the first soft access point of the first earphone receives audio data of the intelligent device, on one hand, the audio data or part of the audio data (such as one channel data of left and right channels) is sent to the first earphone for playing, on the other hand, the received audio data or part of the audio data is placed in a buffer, and the audio/video data in the buffer can be forwarded to the second earphone through a Bluetooth communication mode or an improved Bluetooth communication mode, so that the transmitting power consumption of the first earphone is reduced.
The above description is intended to be illustrative and not restrictive. For example, the above-described examples (or one or more aspects thereof) may be used in combination with each other. For example, other embodiments may be used by those of ordinary skill in the art upon reading the above description. In addition, in the above detailed description, various features may be grouped together to streamline the application. This is not to be interpreted as an intention that the features of the non-claimed application are essential to any claim. Rather, the inventive subject matter may lie in less than all features of a particular disclosed embodiment. Thus, the following claims are hereby incorporated into the detailed description as examples or embodiments, with each claim standing on its own as a separate embodiment, and it is contemplated that these embodiments may be combined with one another in various combinations or permutations. The scope of the invention should be determined with reference to the appended claims, along with the full scope of equivalents to which such claims are entitled.

Claims (31)

1. A wireless audio/video device 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 device 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 comprising a first system-on-chip and the second wireless audio/video device comprising a second system-on-chip,
the first system-on-chip is configured to:
attempting to connect to a router based on configuration information of the router, the router being required to build a wireless local area network on which the WiFi-based wireless multimedia transmission protocol depends;
receiving audio/video data from the smart device or cloud server via the router in accordance with the WiFi-based wireless multimedia transmission protocol, while connected to the router;
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, 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, wherein the intelligent equipment is directly connected with the first soft access point without manually inputting the configuration information of the router under the condition that the configuration information of the router is stored; and
The received audio/video data is forwarded and,
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 transmission protocol comprises a DLNA protocol.
3. The wireless audio/video device of claim 2, wherein the first system-on-chip is further configured to: and 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 of claim 3, wherein when the second wireless audio/video device is singular, the first system-on-chip is further configured to: and forwarding the received audio/video data to the second wireless audio/video device via a bluetooth communication mode.
5. A wireless audio/video device according to claim 3, wherein the bluetooth communication mode comprises a modified bluetooth communication mode that modifies a physical layer of bluetooth, the symbol rate of the physical layer reaching n Mb/s, n comprising an integer greater than or equal to 2, the modulation mode comprising Quadrature Phase Shift Keying (QPSK) or Gaussian Frequency Shift Keying (GFSK) or QAM.
6. The wireless audio/video apparatus of claim 2, wherein the smart device supports a customized DLNA protocol that allows the first soft access point to act as a repeater to forward audio/video data received from the smart device to a plurality of wireless audio/video devices.
7. The wireless audio/video apparatus of 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 in case the first wireless audio/video device is to forward audio/video data received from the smart device; directly receiving audio/video data from the first wireless audio/video device via an open second soft access point according to the conventional DLNA protocol;
the first system-on-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 transmission protocol comprises an AirPlay protocol.
9. The wireless audio/video device of claim 8, wherein the first system-on-chip is further configured to: after the local first soft access point is started, audio data from the intelligent equipment is directly received through the started first soft access point according to an AirPlay protocol and is forwarded 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:
continuous communication in a BLE communication mode is carried out with the intelligent equipment so as to know whether the intelligent equipment is not connected with the router;
and under the condition that the intelligent device 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 device 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: acquiring a first electric quantity of a first wireless audio/video device and a second electric quantity of a second wireless audio/video device in the process of directly receiving audio/video data from the intelligent equipment through an opened first soft access point 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, 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 starting a third soft access point based on the configuration information of the router in response to the notification; and directly receiving the audio/video data from the intelligent device through a third soft access point which is started according to the WiFi-based wireless multimedia transmission protocol, 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: in the case that the second system-on-chip creates and opens a third soft access point and receives audio/video data from the intelligent device via the opened third soft access point, stopping receiving the audio/video data from the intelligent device via 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 until the first soft access point is closed again after the forwarding is completed;
the second system-on-chip is further configured to: forwarding the received audio/video data to the first system-on-chip via an on third soft access point in accordance with the WiFi-based wireless multimedia transfer protocol with the first soft access point turned off.
13. The wireless audio/video device of claim 12, wherein the first system-on-chip is further configured to: playing the audio/video data and storing the audio/video data in a buffer under the condition of receiving the audio/video data from the intelligent device; and forwarding the audio/video data in the buffer to the second system-on-chip by using 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: if 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, 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 a modified Bluetooth communication mode;
the second system-on-chip is further configured to: and forwarding the received audio/video data to the first system-on-chip via the Bluetooth communication mode or the modified Bluetooth communication mode in case the received audio/video data is forwarded.
15. The wireless audio/video device of claim 14, wherein the first system-on-chip is further configured to: playing the audio/video data and storing the audio/video data in a buffer under the condition of receiving the audio/video data from the intelligent device; the audio/video data in the buffer is forwarded 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 obtained from the intelligent device, or the configuration information of the router is obtained 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; the first soft access point created locally is turned on knowing that the smart device is to send audio data and that the router is not attached.
18. The wireless audio/video device of any of claims 1-9, wherein the first wireless audio/video device and the second wireless audio/video device comprise a pair of ear phones having a first earpiece and a second earpiece.
19. The wireless audio/video device of claim 18, wherein the first system-on-chip is configured to: and judging whether the first earphone is taken out from the charging box or in the ear, and if so, starting a first soft access point which is created locally under the condition that the router becomes disconnected.
20. A wireless communication method for communication between a wireless audio/video device supporting a WiFi-based wireless multimedia transmission protocol and a smart device, comprising:
providing a wireless audio/video apparatus comprising a first wireless audio/video device and a second wireless audio/video device in groups 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 build a wireless local area network on which the WiFi-based wireless multimedia transmission protocol depends;
receiving, by a first wireless audio/video device, audio/video data from the smart device or cloud server via the router in accordance with the WiFi-based wireless multimedia transmission protocol, with the router connected thereto;
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 device is directly received through the started first soft access point according to the WiFi-based wireless multimedia transmission protocol, wherein the intelligent device is directly connected with the first soft access point without manually inputting the configuration information of the router under the condition that the configuration information of the router is stored;
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 DLNA protocol, forwarding the received audio/video data to the second wireless audio/video device by the first wireless audio/video device through a WiFi communication mode or a Bluetooth communication mode.
22. The wireless communication method according to 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 includes a modified bluetooth communication mode that 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 the 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 DLNA protocol to allow the first soft access point to act as a repeater to forward audio/video data received from the smart device to a plurality of wireless audio/video devices; a custom DLNA protocol is used 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 activating a local second soft access point by the second wireless audio/video device in case the first wireless audio/video device is to forward audio/video data received from the smart device;
Creating a new DLNA connection using 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 a new DLNA connection.
26. The wireless communication method of claim 20, further comprising:
using an AirPlay protocol as the WiFi-based wireless multimedia transmission protocol;
after a local first soft access point is started, the first wireless audio/video device directly receives audio data from the intelligent equipment through the started 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 turned-on first soft access point.
27. The wireless communication method according to any one of claims 20-26, further comprising: and carrying out continuous communication in a BLE communication mode with the intelligent device by the first wireless audio/video device so as to know whether the intelligent device is not connected with the router.
28. The wireless communication method according to any one of claims 20-26, further comprising: acquiring a first electric quantity of a first wireless audio/video device and a second electric quantity of a second wireless audio/video device in the process that the first wireless audio/video device directly receives audio/video data from the intelligent equipment through an opened first soft access point according to the WiFi-based wireless multimedia transmission protocol;
Determining whether the first power is less than the second power by at least a predetermined degree, 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 an open third soft access point in accordance with the WiFi-based wireless multimedia transmission protocol;
forwarding, by the second wireless audio/video device, the received audio/video data to the first wireless audio/video device.
29. The method of wireless communication according to claim 28, further comprising:
in the case that the second wireless audio/video device creates and opens a third soft access point and receives audio/video data from the intelligent device via the opened third soft access point, stopping the first wireless audio/video device from receiving the audio/video data from the intelligent device via 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 until the forwarding is completed and then closing the first soft access point;
Forwarding, by the second wireless audio/video device, the received audio/video data to the first wireless audio/video device via the turned-on third soft access point in accordance with the WiFi-based wireless multimedia transmission protocol, with the first soft access point turned off.
30. The method of wireless communication according to 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 device through the opened third soft access point; continuing, by the first wireless audio/video device, forwarding of 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;
and 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, in the event that 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, audio/video data in a 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 US20240073265A1 (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 CN115396407A (en) 2022-11-25
CN115396407B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115396408B (en) * 2022-08-24 2023-11-03 恒玄科技(上海)股份有限公司 Wireless audio/video device 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

Also Published As

Publication number Publication date
CN115396407A (en) 2022-11-25

Similar Documents

Publication Publication Date Title
US10977023B2 (en) Home gateway expansion
EP3005755B1 (en) Method and system for using wi-fi display transport mechanisms to accomplish voice and data communications
EP2582160B1 (en) Methods and apparatus to control accessories
EP2201722B1 (en) Digital living network alliance (dlna) enabled portable electronic devices, dlna management consoles and related methods of operating dlna enabled portable electronic devices
US20170006415A1 (en) Method and apparatus for controlling device in wireless communication system
CN113360108B (en) Screen projection connection control method and electronic equipment
US20220418021A1 (en) Audio data transmission method and apparatus for wireless earphone, and storage medium and terminal
WO2013180859A1 (en) Smart battery wear leveling for audio devices
KR20130115986A (en) Seamless transfer of media streams
CN101595682A (en) The direct link setup mechanisms that is used for WLAN
US20160299739A1 (en) Method for controlling data streaming using bluetooth communication
US10827455B1 (en) Method and apparatus for sending a notification to a short-range wireless communication audio output device
KR102194747B1 (en) Wifi display compatible network gateway
EP2699042B1 (en) Broadcast audio service
CN115396407B (en) Wireless audio/video device and wireless communication method
US20230069230A1 (en) Switching between multiple earbud architectures
CN103138806A (en) Connection establishing method, connection establishing module and terminal device
CN110830973B (en) Method for transmitting audio information by using wireless earphone
WO2024041189A1 (en) Wireless audio/video apparatus and wireless communication method
CN114747176A (en) Method, apparatus and computer program for setting encryption key in wireless communication system and recording medium thereof
EP4250661A1 (en) Cross-network segment discovery method, routing device and system
CN101001266A (en) Picture automatic converting device of mobile phone and method for using picture automatic conversion
US20240073265A1 (en) Wireless multimedia apparatus and operation method thereof
WO2023044787A1 (en) Beam configuration method, beam determination method, base station, signal transfer device, and storage medium
CN105991516A (en) Method and device of transmitting audios reversely in wireless same-screen system

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