WO2019192426A1 - 音频播放方法及设备 - Google Patents

音频播放方法及设备 Download PDF

Info

Publication number
WO2019192426A1
WO2019192426A1 PCT/CN2019/080809 CN2019080809W WO2019192426A1 WO 2019192426 A1 WO2019192426 A1 WO 2019192426A1 CN 2019080809 W CN2019080809 W CN 2019080809W WO 2019192426 A1 WO2019192426 A1 WO 2019192426A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio signal
frequency adjustment
played
adjustment request
audio
Prior art date
Application number
PCT/CN2019/080809
Other languages
English (en)
French (fr)
Inventor
余尚春
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP19781626.7A priority Critical patent/EP3745749A4/en
Publication of WO2019192426A1 publication Critical patent/WO2019192426A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/53Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers
    • H04H20/61Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers for local area broadcast, e.g. instore broadcast
    • H04H20/62Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers for local area broadcast, e.g. instore broadcast for transportation systems, e.g. in vehicles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/0014Carrier regulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/10Frequency-modulated carrier systems, i.e. using frequency-shift keying
    • H04L27/16Frequency regulation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/0014Carrier regulation
    • H04L2027/0024Carrier regulation at the receiver end
    • H04L2027/0026Correction of carrier offset
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/48Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for in-vehicle communication

Definitions

  • the present application relates to the field of terminal technologies, and in particular, to an audio playing method and device.
  • Smart Rearview Mirror (also known as Car Cloud Mirror) is an electronic product that combines the functions of interior rearview mirrors, driving recorders, map navigation, voice interaction, music entertainment and wireless connectivity.
  • the wireless connection may include a second generation (2nd Generation, 2G)/3rd Generation (3G)/4th Generation (4th Generation, 4G) mobile communication, and a wireless fidelity (Wireless-Fidelity, Wi-Fi).
  • Bluetooth Bluetooth
  • smart rearview mirrors usually also have a Frequency Modulation (FM) transmission function.
  • the smart rearview mirror can transmit MP3 (Moving Picture Experts Group Audio Layer-3, MP3) songs to the in-vehicle device via FM. Thereafter, the in-vehicle device receives the MP3 song, completes FM demodulation, and plays the MP3 song using an audio device having a stereo playback effect.
  • MP3 Motion Picture Experts Group Audio Layer-3
  • the transmission and reception of the above FM signals are performed after the user manually tunes the smart mirror and the in-vehicle device to the same FM frequency.
  • the smart rearview mirror and the in-vehicle device are not tuned to the same FM frequency, there will be no audio signal being played by the in-vehicle device, or the quality of the audio signal played by the in-vehicle device is deteriorated, or the in-vehicle device is playing its own FM radio station.
  • the phenomenon of the show For example, the user may manually tune the FM frequency of the in-vehicle device to another FM frequency different from the smart mirror, or FM frequency drift occurs in at least one of the in-vehicle device and the smart rear view mirror, which may cause the above situation to occur.
  • the user is required to manually tune the smart mirror and the in-vehicle device to the same FM frequency.
  • most users especially those who use smart rearview mirrors for the first time, may think that at least one of the in-vehicle device and the smart rearview mirror has failed.
  • the user knows the use of smart rearview mirrors and vehicle equipment in detail by consulting the manual, querying the Internet, calling the hotline service, and accessing the WeChat public account, it is clear that the causes and solutions of the above phenomenon are clear. The user is wasted a lot of time, resulting in a poor user experience.
  • the embodiment of the present invention provides an audio playback method and device, which can solve the problem that the FM carrier frequency of the second device cannot be automatically synchronized with the FM carrier frequency of the first device, and can improve the first device to play the audio signal through the second device. reliability.
  • an embodiment of the present application provides the following technical solutions:
  • an audio playback method is provided.
  • the method is applied to the first device.
  • the first device turns off its own audio playback function.
  • the method may include: the first device transmitting the audio signal to be played to the second device by using a frequency modulation FM mode, so that the second device plays the audio signal to be played.
  • the first device then receives an audio signal in the environment in which the first device is located. Thereafter, if the first device determines that the received audio signal does not match the audio signal to be played, the first device sends a frequency adjustment request to the second device.
  • the frequency adjustment request is used by the second device to complete synchronization of the FM carrier frequency of the second device with the first device.
  • the first device can automatically receive the audio signal in the environment where the first device is located. If the audio signal received by the first device does not match the audio signal to be played, the first device may determine that the second device does not work on the same FM carrier frequency, that is, the second device is in an FM lost lock state, and then A device automatically sends a frequency adjustment request to the second device, so that the second device completes its FM carrier frequency synchronization with the first device according to the request, and the second device and the first device are in an FM carrier frequency out-of-synchronization state. The second device cannot adjust the FM carrier frequency in real time to synchronize with the FM carrier frequency of the first device, and can improve the reliability of the first device playing the audio signal through the second device, and does not require manual operation by the user, thereby improving user experience.
  • the frequency adjustment request may carry the FM carrier frequency of the first device.
  • the method may further include The first device outputs the prompt information; wherein the prompt information may include at least one of a text, a picture, and a voice, where the prompt information is used to guide the user to complete the FM carrier frequency synchronization operation between the second device and the first device.
  • the first device outputs the prompt information, which may include: the first device turns on the audio play function of the first device, and outputs the voice prompt information, so that the user manually completes the FM carrier frequency synchronization between the second device and the first device according to the voice prompt information.
  • the prompt information may include: the first device turns on the audio play function of the first device, and outputs the voice prompt information, so that the user manually completes the FM carrier frequency synchronization between the second device and the first device according to the voice prompt information.
  • the first device sending the frequency adjustment request to the second device may include: the first device sending the frequency to the second device by using a wireless connection between the first device and the second device Adjust the request.
  • the wireless connection may include any one of the above wireless connections.
  • the method may further include: receiving, by the first device, the frequency adjustment response sent by the second device by using the wireless connection.
  • the frequency adjustment response is used to indicate whether the second device synchronizes the FM carrier frequency of the second device with the first device according to the frequency adjustment request.
  • the method may further include: the first device buffering the audio signal to be played within the first specified time period.
  • the receiving, by the first device, the audio signal in the environment where the first device is located may include: the first device receiving the audio signal in the environment where the first device is located in the second specified time period.
  • the second specified time period has a common duration with the first specified time period.
  • the determining, by the first device, that the received audio signal does not match the audio signal to be played may include: determining, by the first device, the audio signal received within the common duration and the audio signal to be played buffered in the common duration, at least one of the following features Does not match: signal waveform and audio content.
  • a preset duration threshold may be set for the common duration, that is, only when the common duration is greater than the preset duration threshold, the audio signal received within the common duration and the audio signal to be played buffered in the common duration are in the signal.
  • the matching of the waveform and/or the audio content is considered to be that the received audio signal is matched with the audio signal to be played, which can avoid the misjudgment caused by the sampling time being too short, thereby improving the accuracy and reliability of the judgment result.
  • the present application also provides an audio playback method.
  • the method is applied to a second device.
  • the second device turns on its own audio playback function.
  • the method may include: receiving, by the second device, an audio signal to be played that is sent by the first device by using a frequency modulation FM method.
  • the second device may further receive the frequency adjustment request sent by the first device, and complete the FM carrier frequency synchronization between the second device and the first device according to the frequency adjustment request.
  • the frequency adjustment request is used by the second device to complete synchronization of the FM carrier frequency of the second device with the first device.
  • the second device receiving the frequency adjustment request sent by the first device may include: receiving, by the second device, the frequency adjustment sent by the first device by using a wireless connection between the second device and the first device request.
  • the wireless connection may include at least one of the following: wireless fidelity Wi-Fi, Bluetooth BT, second generation 2G mobile communication connection, third generation 3G mobile communication connection, fourth generation 4G mobile communication connection, and fifth Generation 5G mobile communication connection.
  • the method may further include: the second device connecting to the first device by using a wireless connection Send frequency adjustment response.
  • the frequency adjustment response is used to indicate whether the second device synchronizes the FM carrier frequency of the second device with the first device according to the frequency adjustment request.
  • the application provides an apparatus.
  • the device turns off its own audio playback function.
  • the device may include: a sending module, a receiving module, and a processing module.
  • the sending module is configured to send the to-be-played audio signal to the second device by using the frequency modulation FM mode, so that the second device plays the to-be-played audio signal.
  • the receiving module is configured to receive an audio signal in an environment where the device is located.
  • a processing module configured to determine whether the audio signal received by the receiving module matches the audio signal to be played.
  • the sending module is further configured to: if the processing module determines that the received audio signal does not match the audio signal to be played, send a frequency adjustment request to the second device.
  • the frequency adjustment request is used by the second device to complete synchronization of the second device with the FM carrier frequency of the device.
  • the device can also include a storage module for storing instructions and data.
  • the frequency adjustment request described above may carry the FM carrier frequency of the device.
  • the device may also include an output module.
  • the output module is configured to output prompt information.
  • the prompt information may include at least one of a text, a picture, and a voice, and is mainly used to guide the user to complete the FM carrier frequency synchronization operation between the second device and the device.
  • the processing module is further configured to enable the device's own audio playback function.
  • the output module is further configured to output voice prompt information.
  • the sending module is further configured to send a frequency adjustment request to the second device by using a wireless connection between the device and the second device.
  • the wireless connection may include any one of the above wireless connections.
  • the receiving module is further configured to receive, by using a wireless connection, a frequency adjustment response sent by the second device.
  • the frequency adjustment response is used to indicate whether the second device completes synchronization of the second device with the FM carrier frequency of the device according to the frequency adjustment request.
  • the processing module is further configured to buffer an audio signal to be played in a first specified time period.
  • the receiving module is further configured to receive an audio signal in an environment where the device is located in the second specified time period.
  • the second specified time period has a common duration with the first specified time period.
  • the processing module is further configured to determine that the audio signal received within the common duration and the audio signal to be played that are buffered within the common duration do not match at least one of the following characteristics: a signal waveform and an audio content.
  • the application also provides an apparatus.
  • the device turns on its own audio playback function.
  • the device can include: a receiving module and a processing module.
  • the receiving module is configured to receive an audio signal to be played that is sent by the first device by using a frequency modulation FM method.
  • the receiving module is further configured to receive a frequency adjustment request sent by the first device.
  • the processing module is further configured to synchronize the FM carrier frequency of the device with the first device according to the frequency adjustment request.
  • the receiving module is further configured to receive a frequency adjustment request sent by the first device by using a wireless connection between the device and the first device.
  • the wireless connection may include at least one of the above wireless connections.
  • the device may also include a transmitting module.
  • the sending module is configured to send a frequency adjustment response to the first device by using a wireless connection.
  • the frequency adjustment response is used to indicate whether the device synchronizes the FM carrier frequency of the device with the first device according to the frequency adjustment request.
  • the application also provides an apparatus.
  • the device can include a processor, a communication interface, and a memory.
  • the memory is for storing computer executable instructions
  • the processor is coupled to the memory via a bus, and when the device is running, the processor executes computer executable instructions stored in the memory to cause the device to perform the audio playback as described in the first aspect method.
  • the application also provides an apparatus.
  • the device can include a processor, a communication interface, and a memory.
  • the memory is for storing computer executable instructions
  • the processor is coupled to the memory via a bus, and when the device is running, the processor executes computer executable instructions stored in the memory to cause the device to perform the audio playback as described in the second aspect method.
  • the present application provides a computer readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the audio playback method of the first aspect.
  • the present application further provides a computer readable storage medium having stored therein instructions for causing a computer to perform the audio playback method of the second aspect when the instructions are run on a computer.
  • the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the audio playback method of the first aspect.
  • the present application further provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the audio playback method of the second aspect.
  • the names of the respective unit modules in the foregoing first device and the second device are not limited to the device itself. In actual implementation, the unit modules may appear under other names. As long as the functions of the respective unit modules are similar to the embodiments of the present application, they are within the scope of the claims and their equivalents.
  • FIG. 1 is a schematic diagram of an application scenario of an audio playing method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of an interface of a first device according to an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram 1 of a first device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart 1 of an audio playing method according to an embodiment of the present application.
  • FIG. 5 is a second schematic flowchart of an audio playing method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart 3 of an audio playing method according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic flowchart 4 of an audio playing method according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic flowchart 5 of an audio playing method according to an embodiment of the present disclosure.
  • FIG. 9A is a second schematic structural diagram of a first device according to an embodiment of the present disclosure.
  • 9B is a schematic structural diagram 3 of a first device according to an embodiment of the present disclosure.
  • 10A is a schematic structural diagram 1 of a second device according to an embodiment of the present application.
  • FIG. 10B is a second schematic structural diagram of a second device according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram 4 of a first device according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram 3 of a second device according to an embodiment of the present disclosure.
  • first and second and the like in the specification of the present application and the drawings are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of the objects.
  • the audio playing method and device provided by the embodiment of the present invention can automatically detect and adjust the FM carrier frequency synchronization between the second device and the first device, thereby improving the reliability of the first device playing the audio signal through the second device, and does not need to be Manual operation by the user can enhance the user experience.
  • FIG. 1 is a schematic diagram of an application scenario of an audio playing method provided by an embodiment of the present application.
  • the first device 101 can be an electronic device such as a smart rearview mirror or a smart phone
  • the second device 102 can be an electronic device such as an in-vehicle device (including an in-vehicle central control device and a car audio device), a smart speaker, and the like.
  • the audio playback effect of the second device 102 is better than that of the first device 101.
  • the second device 102 can play stereo music, while the first device 101 cannot play stereo music.
  • the first device 101 modulates the audio signal to be played onto the preset FM carrier frequency and transmits it. After the second device 102 receives and demodulates the signal, it plays through its own audio device.
  • the first device 101 may be a smart rear view mirror 200.
  • the embodiment will be specifically described below by taking the smart rear view mirror 200 as an example. It should be understood that the illustrated smart rear view mirror 200 is only one example of the first device described above, and the smart rear view mirror 200 may have more or fewer components than those shown in the figures, and two combinations may be combined. Or more components, or can have different component configurations.
  • the smart rear view mirror 200 may specifically include: a processor 201, a radio frequency (RF) circuit 202, a memory 203, a touch screen 204, a Bluetooth device 205, one or more sensors 206, and a Wi-Fi device. 207, positioning device 208, audio circuit 209, peripheral interface 210, and power supply device 211 and the like. These components can communicate over one or more communication buses or signal lines (not shown in Figure 2). It will be understood by those skilled in the art that the hardware structure shown in FIG. 2 does not constitute a limitation of the smart rear view mirror, and the smart rear view mirror 200 may include more or less components than those illustrated, or may combine some components. Or different parts arrangement.
  • RF radio frequency
  • the processor 201 is a control center of the smart rear view mirror 200, which connects various parts of the smart rearview mirror 200 with various interfaces and lines, by running or executing an application stored in the memory 203, and calling data stored in the memory 203. Perform various functions and processing data of the smart mirror 200.
  • the processor 201 may include one or more processing units; for example, the processor 201 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.
  • the processor 201 may further include a fingerprint verification chip for verifying the collected fingerprint.
  • the radio frequency circuit 202 can be used to receive and transmit wireless signals during transmission or reception of information or calls.
  • the radio frequency circuit 202 can process the downlink data of the base station and then process it to the processor 201; in addition, transmit the data related to the uplink to the base station.
  • radio frequency circuit 202 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency circuit 202 can also communicate with other devices through wireless communication.
  • the wireless communication can use any wireless communication standard or protocol including, but not limited to, global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
  • the memory 203 is used to store applications and data, and the processor 201 executes various functions and data processing of the smart mirror 200 by running applications and data stored in the memory 203.
  • the memory 203 mainly includes a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.); the storage data area can be stored according to the use of the smart Data created by the mirror 200 (such as audio data, phone book, etc.).
  • the memory 203 may include a high speed random access memory (RAM), and may also include a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
  • the memory 203 can store various operating systems, for example, developed by Apple. Operating system, developed by Google Inc. Operating system, etc.
  • the memory 203 may be independent and connected to the processor 201 via the communication bus; the memory 203 may also be integrated with the processor 201.
  • the touch screen 204 may specifically include a touch panel 204-1 and a display 204-2.
  • the touch panel 204-1 can collect touch events on or near the user of the smart rear view mirror 200 (such as the user using a finger, a stylus, or the like on the touch panel 204-1 or touching
  • the operation near the control board 204-1) transmits the collected touch information to other devices (for example, the processor 201).
  • the touch event of the user in the vicinity of the touch panel 204-1 may be referred to as a hovering touch; the hovering touch may mean that the user does not need to directly touch the touchpad in order to select, move or drag a target (eg, a control, etc.) And only the user is located near the first device in order to perform the desired function.
  • the touch panel 204-1 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • a display (also referred to as display screen) 204-2 can be used to display information entered by the user or information provided to the user as well as various menus of the smart rear view mirror 200.
  • the display 204-2 can be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the touchpad 204-1 can be overlaid on the display 204-2. When the touchpad 204-1 detects a touch event on or near it, the touchpad 204-1 transmits to the processor 201 to determine the type of touch event, followed by the processor. 201 may provide a corresponding visual output on display 204-2 depending on the type of touch event.
  • the touch panel 204-1 and the display screen 204-2 function as two separate components to implement the input and output functions of the smart mirror 200, in some embodiments, the touch can be performed.
  • the board 204-1 is integrated with the display screen 204-2 to implement the input and output functions of the smart mirror 200.
  • the touch screen 204 is formed by stacking a plurality of layers of materials. In the embodiment of the present application, only the touch panel (layer) and the display screen (layer) are shown. The other layers are not described in the embodiment of the present application. .
  • the touch panel 204-1 may be disposed on the front surface of the smart rearview mirror 200 in the form of a full panel
  • the display screen 204-2 may also be disposed on the front surface of the smart rearview mirror 200 in the form of a full panel, so that after the smart The front side of the sight glass enables a frameless structure.
  • the smart rear view mirror 200 may also include a Bluetooth device 205 for enabling data exchange between the smart rear view mirror 200 and other short distance first devices (eg, smart rearview mirrors, smart watches, etc.).
  • the Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip or the like.
  • the Wi-Fi device 207 is configured to provide the smart mirror 200 with network access complying with the Wi-Fi related standard protocol, and the smart mirror 200 can be connected to the Wi-Fi access point through the Wi-Fi device 207, thereby Helping users send and receive email, browse the web and access streaming media, etc. It provides users with wireless broadband Internet access.
  • the Wi-Fi device 207 can also function as a Wi-Fi wireless access point, and can provide Wi-Fi network access to other first devices.
  • the audio circuit 209, the speaker 213, and the microphone 214 can provide an audio interface between the user and the smart rearview mirror 200.
  • the audio circuit 209 can transmit the converted electrical data of the received audio data to the speaker 213 for conversion to the sound signal output by the speaker 213; on the other hand, the microphone 214 converts the collected sound signal into an electrical signal by the audio circuit 209. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 202 for transmission to, for example, another smart rearview mirror, or the audio data is output to the memory 203 for further processing.
  • the FM transmitting circuit 215 is for modulating the audio signal onto a preset FM carrier frequency and transmitting it.
  • the MP3 music stored locally by the smart mirror 200 can be modulated onto a 100 MHz FM carrier frequency and the modulated FM signal can be transmitted.
  • the smart rear view mirror 200 may also have a fingerprint recognition function.
  • the fingerprint reader 212 can be configured on the back of the smart rear view mirror 200 (eg, below the rear camera) or on the front side of the smart rear view mirror 200 (eg, below the touch screen 204).
  • the fingerprint collection device 212 can be configured in the touch screen 204 to implement the fingerprint recognition function, that is, the fingerprint collection device 212 can be integrated with the touch screen 204 to implement the fingerprint recognition function of the smart rear view mirror 200.
  • the fingerprint capture device 212 is disposed in the touch screen 204, may be part of the touch screen 204, or may be otherwise disposed in the touch screen 204.
  • the main component of the fingerprint collection device 212 in the embodiment of the present application is a fingerprint sensor, which can employ any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technologies.
  • Smart rear view mirror 200 may also include at least one type of sensor 206, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display of the touch screen 204 according to the brightness of the ambient light, and the proximity sensor may be turned off when the smart rear view mirror 200 moves to the ear.
  • the power of the display As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the posture of smart mirrors (such as horizontal and vertical screens).
  • the positioning device 208 is configured to provide a geographic location for the smart rear view mirror 200. It can be understood that the positioning device 208 can be specifically a receiver of a positioning system such as a Global Positioning System (GPS) or a Beidou satellite navigation system or a Russian GLONASS. After receiving the geographical location transmitted by the positioning system, the positioning device 208 sends the information to the processor 201 for processing, or sends it to the memory 203 for storage. In still other embodiments, the positioning device 208 can also be a receiver of an Assisted Global Positioning System (AGPS) that assists the positioning device 208 in performing ranging and positioning services by acting as a secondary server.
  • AGPS Assisted Global Positioning System
  • the secondary positioning server provides positioning assistance via a wireless communication network in communication with a positioning device 208 (ie, a GPS receiver) of the first device, such as smart rearview mirror 200.
  • the positioning device 208 can also be a Wi-Fi access point based positioning technology. Since each Wi-Fi access point has a globally unique Media Access Control (MAC) address, the first device can scan and collect surrounding Wi-Fi access when Wi-Fi is turned on. The broadcast signal of the point, so that the MAC address broadcasted by the Wi-Fi access point can be obtained; the first device sends the data (such as the MAC address) capable of indicating the Wi-Fi access point to the location server through the wireless communication network. The geographic location of each Wi-Fi access point is retrieved by the location server, and the geographic location of the first device is calculated and sent to the location device 208 of the first device in combination with the strength of the Wi-Fi broadcast signal. .
  • MAC Media Access Control
  • the peripheral interface 210 is used to provide various interfaces for external input/output devices (such as a keyboard, a mouse, an external display, an external memory, a subscriber identity module card, etc.). For example, it is connected to the mouse through a Universal Serial Bus (USB) interface, and is connected to a Subscriber Identification Module (SIM) card provided by the service provider through a metal contact on the card slot of the subscriber identity module. . Peripheral interface 210 can be used to couple the external input/output peripherals described above to processor 201 and memory 203.
  • USB Universal Serial Bus
  • SIM Subscriber Identification Module
  • the smart rear view mirror 200 may further include a power supply device 211 (such as a battery and a power management chip) that supplies power to various components, and the battery may be logically connected to the processor 201 through the power management chip to manage charging, discharging, and the like by the power supply device 211. Power management and other functions.
  • a power supply device 211 such as a battery and a power management chip
  • the battery may be logically connected to the processor 201 through the power management chip to manage charging, discharging, and the like by the power supply device 211. Power management and other functions.
  • the smart rearview mirror 200 may further include a camera (front camera and/or rear camera), a flash, a pico projection device, a Near Field Communication (NFC) device, etc., not here. Let me repeat.
  • a camera front camera and/or rear camera
  • a flash a pico projection device
  • NFC Near Field Communication
  • the foregoing second device 102 has a similar structure to the first device. However, in the embodiment of the present application, the second device 102 needs to receive the FM signal and does not need to transmit the FM signal. Thus, unlike the first device 101, the second device 102 includes an FM receiver, but may not include the FM transmitter 215.
  • FIG. 3 shows a schematic diagram of a graphical user interface (GUI) 300 of the prior art device 101.
  • GUI graphical user interface
  • the following application icons can generally be displayed on the first device GUI 300: audio play 301, radio 302, drive recorder 303, FM transmitter 304, navigation 305, and call 306. Click the icon to invoke the app for that icon.
  • the FM transmitter 304 can invoke any of the audio play 301, the radio 302, the drive recorder 303, the navigation 305, and the incoming call 306 to obtain an audio signal to be played.
  • the FM carrier frequency of the FM transmitter 304 is preferably different from the FM carrier frequency of the radio 302 to avoid the first
  • the two devices 102 simultaneously receive the FM transmitter 304 and the FM signals transmitted by the station with the same FM carrier frequency to interfere with each other, thereby reducing the quality of the FM signal received by the second device 102.
  • the first device GUI 300 may further include a setting 307, and the user may complete the speaker, Wi-Fi hotspot, Bluetooth, wireless local area network of the first device 101 in the setting interface (not shown in FIG. 3) that is clicked on. (Wireless Local Area Networks, WLAN), settings such as mobile data switches, and the status corresponding to the above settings are displayed in the first device GUI 300 (corresponding to reference numeral 308).
  • Wi-Fi hotspot Wi-Fi hotspot
  • Bluetooth wireless local area network of the first device 101 in the setting interface (not shown in FIG. 3) that is clicked on.
  • WLAN Wireless Local Area Networks
  • settings such as mobile data switches
  • the status corresponding to the above settings are displayed in the first device GUI 300 (corresponding to reference numeral 308).
  • the second device GUI can also be designed in a similar manner to the first device GUI 300. It should be noted that the second device 102 generally does not require FM transmission capability. Therefore, there is usually no FM transmitter corresponding icon in the second device GUI. In addition, the second device 102 may have some or all of the functions of the first device 101 except the FM transmitter, and may also have the functions that the first device 101 does not have.
  • GUI of the second device 102 may adopt the same GUI as the first device GUI 300 shown in FIG. 3, and may also adopt a GUI different from the first device GUI 300 shown in FIG. This is not limited.
  • FIG. 4 is a schematic flowchart diagram of an audio playing method provided by an embodiment of the present application.
  • the method is applied to a first device and a second device.
  • the first device turns off its own audio playback function
  • the second device turns on its own audio playback function.
  • the method can include S401-S408:
  • the first device sends the to-be-played audio signal to the second device by using a frequency modulation FM method.
  • the audio signal to be played may be derived from an audio file stored locally by the first device, such as a local MP3 music file.
  • the audio signal to be played may also be an audio signal generated by an application called by the first device, such as a prompt voice generated by navigation.
  • the audio signal to be played may also be other audio signals received by the first device, for example, a radio program received by the radio of the first device.
  • the first device 101 modulates the audio signal to be played on a preset FM carrier frequency and transmits it through the FM transmitter 1012 and the FM transmit antenna 1013.
  • the FM modulation and transmission are prior art, the embodiments of the present application will not be described again.
  • the second device receives an audio signal to be played that is sent by the first device by using a frequency modulation FM method.
  • the second device 102 receives, demodulates, by the FM receiving antenna 1021 and the FM receiver 1022, the audio signal to be played sent by the first device 101, and transmits it to the processor 1023.
  • the FM receiving and demodulating are prior art, the embodiments of the present application will not be described again.
  • the second device plays the audio signal to be played.
  • the processor 1023 of the second device 102 plays the audio signal to be played through the audio amplifier 1024 and the speaker 1025.
  • the audio signal is played through the audio amplifier and the speaker is not described in detail in the embodiments of the present application.
  • the first device receives an audio signal in an environment where the first device is located.
  • the environment where the first device is located refers to the physical environment where the first device is located.
  • the inner space of the car is the environment where the first device is located.
  • the audio signal in the environment where the first device is located may include an audio signal played by the second device, a voice signal of the inside of the passenger compartment, engine noise, noise generated by the vehicle air conditioner, and the like.
  • the first device receives the audio signal in the environment where the first device is located, which means that the first device uses the audio collection module installed by the first device to collect the audio signal in the environment where the first device is located.
  • the first device uses the audio collection module installed by the first device to collect the audio signal in the environment where the first device is located.
  • various sound signals in the above environment are collected by a microphone built in or external to the first device.
  • the first device determines that the received audio signal does not match the audio signal to be played.
  • the received audio signal does not match the audio signal to be played, which means that there is no audio signal in the received audio signal that has the same signal characteristics as the audio signal to be played.
  • the signal characteristics may include waveform features of the audio signal and voice content carried by the audio signal.
  • the waveform features described above may include the spectrum and amplitude of the audio signal.
  • the judgment may be made according to the similarity between the spectrogram of the received audio signal and the spectrogram of the rock music. For the same reason, the judgment may be made according to the similarity of the amplitude envelope curve of the audio signal, which is not described in the embodiment of the present application.
  • the above voice content may be a statement and a vocabulary carried by the audio signal in a natural language.
  • the audio signal to be played is a navigation prompt, for example, “Please go straight ahead of the intersection”, “the vehicle is transported 200 meters ahead, please drive carefully”, etc.
  • the voice recognition algorithm may be used to determine the received audio signal. Whether to carry the above navigation prompts.
  • the S404-S405 may be triggered according to a user input instruction, or may be executed periodically, that is, when the first device time reaches a preset execution period, which is not limited in this embodiment of the present application.
  • the first device sends a frequency adjustment request to the second device.
  • the frequency adjustment request is used by the second device to complete synchronization of the FM carrier frequency of the second device with the first device.
  • the frequency adjustment request may carry the FM carrier frequency of the first device, and the second device may adjust its current FM carrier frequency to the FM carrier frequency of the first device according to the FM carrier frequency of the first device.
  • the sending, by the first device, the frequency adjustment request to the second device may include:
  • the first device sends a frequency adjustment request to the second device by using a wireless connection between the first device and the second device.
  • the wireless connection may include any one of the above wireless connections.
  • the first device does not need to send any information to the second device, so as to reduce signaling interaction between the first device and the second device and improve efficiency.
  • the first device may also send an FM synchronization status indication to the second device, which is not limited in this embodiment of the present application.
  • the first device needs to carry its FM carrier frequency information on the wireless signal supported by the wireless connection and transmit it.
  • the wireless connection is a prior art, and the embodiments of the present application are not described again.
  • the second device receives the frequency adjustment request sent by the first device.
  • the second device receives the frequency adjustment request sent by the first device through its wireless connection with the first device.
  • the second device synchronizes the FM carrier frequency of the second device with the first device according to the frequency adjustment request.
  • the second device receives and parses the received wireless signal, acquires an FM carrier frequency carried by the frequency adjustment request, and then automatically completes synchronization of the FM carrier frequency of the second device with the first device according to the FM carrier frequency.
  • S406-S408 may also be executed before the execution of S401-S405, which is not limited in this embodiment of the present application.
  • the first device can automatically receive the audio signal in the environment where the first device is located; If the playing audio signal does not match, the first device may determine that the second device does not work on the same FM carrier frequency, that is, the second device is in an FM lost lock state, and then the first device automatically sends a frequency adjustment to the second device. Requesting, so that the second device completes its FM carrier frequency synchronization with the first device according to the request, and can solve the problem that when the second device and the first device are in the FM carrier frequency out-of-synchronization state, the second device cannot adjust the FM carrier frequency in real time.
  • the problem of synchronizing with the first device FM carrier frequency can improve the reliability of the first device playing the audio signal through the second device, and does not require user operation, thereby improving the user experience.
  • the method may further include: S501:
  • the first device outputs prompt information.
  • the prompt information is used to guide the user to complete the FM carrier frequency synchronization operation between the second device and the first device, and may include at least one of a text, a picture, and a voice.
  • the S501 first device outputs prompt information, which may include S601-S602:
  • S601 The first device starts its own audio playing function.
  • the first device outputs voice prompt information.
  • the first device in view of the prompt information being the voice prompt information, the first device must first turn on its own audio play function, and then output the voice prompt information.
  • the voice prompt information may be used to guide the user to check whether the second device cannot normally play the audio signal to be played sent by the first device, and guide the user to manually complete the FM carrier frequency synchronization operation (manual tuning) of the second device.
  • the user may be prompted to check the second device in turn and manually complete the corresponding operation: whether the power is on, whether the FM receiver is turned on, and whether the FM carrier frequency setting of the FM receiver is the same as the carrier frequency of the FM transmitter of the first device.
  • the first device transmits the to-be-played audio to the second device by performing frequency modulation FM mode.
  • the method may further include S701:
  • the first device caches an audio signal to be played in a first specified time period.
  • the first specified time period can be determined according to actual needs. For example, the first specified time period may be set to 5 minutes, or the first specified time period may be set to 10 minutes.
  • the S404 first device receives the audio signal in the environment where the first device is located, and may include S702-S703:
  • the first device receives an audio signal in an environment where the first device is located in the second specified time period.
  • the second specified time period is similar to the first specified time period, and may be determined according to actual requirements.
  • the second specified time period and the first specified time period must have a common duration.
  • the S405 determines that the received audio signal does not match the audio signal to be played, and may include S703:
  • the first device determines that the audio signal received within the common duration and the to-be-played audio signal buffered in the common duration do not match at least one of the following characteristics: a signal waveform and an audio content.
  • the signal waveform mismatch may include that the audio signal waveform to be played before FM modulation does not match the audio signal waveform received by the first device.
  • the signal waveform is identified as the prior art, the embodiments of the present application are not described again.
  • the audio content mismatch may include that the audio content carried by the audio signal to be played does not match the audio content carried by the audio signal received by the first device.
  • the audio signal to be played and the audio signal received by the first device each carry a navigation prompt voice or a lyric of the same song.
  • a preset duration threshold may be set for the common duration, that is, only when the common duration is greater than the preset duration threshold, the audio signal received within the common duration and the audio signal to be played buffered in the common duration are in the signal.
  • the matching of the waveform and/or the audio content is considered to be that the received audio signal is matched with the audio signal to be played, thereby avoiding the misjudgment caused by the sampling time being too short, and improving the accuracy and reliability of the judgment result.
  • the second device completes the second device according to the frequency adjustment request.
  • the method may further include S801-S802:
  • the second device sends a frequency adjustment response to the first device by using a wireless connection.
  • the frequency adjustment response is mainly used to indicate whether the second device synchronizes the FM carrier frequency of the second device with the first device according to the frequency adjustment request. For example, if the FM carrier frequency synchronization has been completed, the frequency adjustment response may carry the synchronization success indication information. For another example, if the FM carrier frequency synchronization is not completed, the frequency adjustment response may carry the synchronization failure indication information and the current FM carrier frequency of the second device, so that the first device according to the current FM carrier frequency of the second device and the first device The deviation between the FM carrier frequencies, the frequency adjustment response is sent again.
  • the frequency adjustment response of the next transmission may also carry another FM carrier frequency different from the previous FM carrier frequency.
  • the current frequency adjustment response carries an FM carrier frequency of 100 megahertz (Mega Hertz, MHz)
  • the FM carrier frequency carried by the next frequency adjustment response may be 95 MHz.
  • the first device receives the frequency adjustment response sent by the second device by using a wireless connection, so that the first device can directly determine the FM carrier frequency carried by the next frequency adjustment request according to the frequency adjustment response, thereby reducing the environment where the first device collects the environment.
  • the audio signal in the middle, and the workload of matching the audio signal with the audio signal to be played, can improve the reliability and efficiency of audio playback.
  • the embodiment of the present application may divide the function module by using the first device and the second device according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the modules in the embodiment of the present application is schematic, and only one logical function is divided, and the actual implementation may have another division manner.
  • FIG. 9A is a schematic diagram showing a possible structure of the first device involved in the above embodiment.
  • the first device turns off its own audio playback function.
  • the first device may include: a sending module 901, a receiving module 902, and a processing module 903.
  • the sending module 901 is configured to send, by using a frequency modulation FM mode, an audio signal to be played to the second device, so that the second device plays the audio signal to be played.
  • the receiving module 902 is configured to receive an audio signal in an environment where the first device is located.
  • the processing module 903 is configured to determine whether the audio signal received by the receiving module 902 matches the audio signal to be played.
  • the sending module 901 is further configured to: if the processing module 903 determines that the received audio signal does not match the audio signal to be played, send a frequency adjustment request to the second device.
  • the frequency adjustment request is used by the second device to complete synchronization of the FM carrier frequency of the second device with the first device.
  • the first device may further include a storage module 904 for storing instructions and data.
  • the frequency adjustment request may carry the FM carrier frequency of the first device.
  • the first device may further include an output module 905.
  • the output module 905 is configured to output prompt information.
  • the prompt information may include at least one of a text, a picture, and a voice, where the prompt information is used to guide the user to complete the FM carrier frequency synchronization operation between the second device and the first device.
  • the output module 905 can be at least one of a speaker, a display of the first device.
  • the processing module 903 is further configured to enable a self-audio playing function.
  • the output module 905 is further configured to output voice prompt information.
  • the sending module 901 is further configured to send a frequency adjustment request to the second device by using a wireless connection between the first device and the second device.
  • the wireless connection may include any one of the following connections: wireless fidelity Wi-Fi, Bluetooth BT, second generation 2G mobile communication connection, third generation 3G mobile communication connection, fourth generation 4G mobile communication connection, and fifth Generation 5G mobile communication connection.
  • the receiving module 902 is further configured to receive, by using a wireless connection, a frequency adjustment response sent by the second device, where the frequency adjustment response is used to indicate whether the second device completes the second device and the first device according to the frequency adjustment request.
  • FM carrier frequency synchronization is used to indicate whether the second device completes the second device and the first device according to the frequency adjustment request.
  • processing module 903 is further configured to buffer an audio signal to be played in the first specified time period
  • the receiving module 902 is further configured to receive an audio signal in an environment where the first device is located in the second specified time period, where the second specified time period and the first specified time period have a common duration;
  • the processing module 903 is further configured to determine that the audio signal received within the common duration and the audio signal to be played that are buffered within the common duration do not match at least one of the following characteristics: a signal waveform and an audio content.
  • FIG. 10A shows a possible structural diagram of the second device involved in the above embodiment.
  • the second device turns on its own audio playback function.
  • the second device 1000 may include: a receiving module 1001 and a processing module 1002.
  • the receiving module 1001 is configured to receive an audio signal to be played that is sent by the first device by using a frequency modulation FM method.
  • the processing module 1002 is configured to play an audio signal to be played
  • the receiving module 1001 is further configured to receive a frequency adjustment request sent by the first device, where the frequency adjustment request is used by the second device to complete synchronization of the FM carrier frequency of the second device with the first device.
  • the processing module 1002 is further configured to complete synchronization of the FM carrier frequency of the second device with the first device according to the frequency adjustment request.
  • the second device 1000 may further include a storage module 1003 for storing instructions and data.
  • the receiving module 1001 is further configured to receive, by using a wireless connection between the second device and the first device, a frequency adjustment request sent by the first device, where the wireless connection may include at least one of the following: wireless Fidelity Wi-Fi, Bluetooth BT, second generation 2G mobile communication connection, third generation 3G mobile communication connection, fourth generation 4G mobile communication connection and fifth generation 5G mobile communication connection.
  • the wireless connection may include at least one of the following: wireless Fidelity Wi-Fi, Bluetooth BT, second generation 2G mobile communication connection, third generation 3G mobile communication connection, fourth generation 4G mobile communication connection and fifth generation 5G mobile communication connection.
  • the second device may further include a sending module 1004.
  • the sending module 1004 is configured to send a frequency adjustment response to the first device by using a wireless connection.
  • the frequency adjustment response is used to indicate whether the second device synchronizes the FM carrier frequency of the second device with the first device according to the frequency adjustment request.
  • Fig. 11 is a view showing another possible structural diagram of the first device involved in the above embodiment.
  • the first device may include: a processing unit 1101, a communication unit 1102, and a storage unit 1103; wherein the storage unit 1103 is configured to store computer executable instructions, between the processing unit 1101, the communication unit 1102, and the storage unit 1103 Connected by bus 1104, when the first device is running, processing unit 1101 executes computer executable instructions stored by storage unit 1103 to cause the first device to perform any of Figures 4-8 and various alternative implementations thereof.
  • the audio playing method may include: a processing unit 1101, a communication unit 1102, and a storage unit 1103; wherein the storage unit 1103 is configured to store computer executable instructions, between the processing unit 1101, the communication unit 1102, and the storage unit 1103 Connected by bus 1104, when the first device is running, processing unit 1101 executes computer executable instructions stored by storage unit 1103 to cause the first device to perform any of Figures 4-8 and various alternative implementations thereof.
  • the audio playing method when the
  • the above processing unit 1101 may be a processor or a controller in the first device.
  • the processing unit 1101 can be the processor 201 shown in FIG. 2.
  • the processor or controller may implement or perform various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor or controller can be a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 1102 can be a transceiver, a transceiver circuit, a communication interface, or the like in the first device.
  • the communication unit 1102 can be at least one of the radio frequency circuit 202, the Wi-Fi device 207, the Bluetooth 205, the peripheral interface 210, the FM transmission circuit 215, and the touch screen 204 shown in FIG.
  • the storage unit 1103 may be a memory or the like in the first device.
  • the storage unit 1103 may be the memory 203 shown in FIG. 2.
  • the memory may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read only memory, flash memory, hard disk or solid state hard disk; the memory may also include a memory of the kind described above combination.
  • the bus 1104 may be an Extended Industry Standard Architecture (EISA) bus or the like.
  • EISA Extended Industry Standard Architecture
  • the bus 1104 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 11, but it does not mean that there is only one bus or one type of bus.
  • FIG. 12 shows another possible structural diagram of the second device involved in the above embodiment.
  • the second device may include: a processing unit 1201, a communication unit 1202, and a storage unit 1203; wherein the storage unit 1203 is configured to store computer executable instructions, between the processing unit 1201, the communication unit 1202, and the storage unit 1203 Connected by bus 1204, when the second device is running, processing unit 1201 executes computer executable instructions stored by storage unit 1203 to cause the second device to perform any of Figures 4-8 and various alternative implementations thereof.
  • the audio playing method may include: a processing unit 1201, a communication unit 1202, and a storage unit 1203; wherein the storage unit 1203 is configured to store computer executable instructions, between the processing unit 1201, the communication unit 1202, and the storage unit 1203 Connected by bus 1204, when the second device is running, processing unit 1201 executes computer executable instructions stored by storage unit 1203 to cause the second device to perform any of Figures 4-8 and various alternative implementations thereof.
  • the audio playing method when the second device is running,
  • the processing unit 1201 may be a processor or a controller in the second device.
  • processing unit 1201 may be processor 201 shown in FIG.
  • the processor or controller may implement or perform various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor or controller can be a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, such as one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 1202 may be a transceiver, a transceiver circuit, a communication interface, or the like in the second device.
  • communication unit 1202 can be at least one of radio frequency circuit 202, Wi-Fi device 207, Bluetooth 205, peripheral interface 210, FM transmit circuit 215, and touch screen 204 shown in FIG.
  • the storage unit 1203 may be a memory or the like in the second device.
  • the storage unit 1203 may be the memory 203 shown in FIG. 2.
  • the memory may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read only memory, flash memory, hard disk or solid state hard disk; the memory may also include a memory of the kind described above combination.
  • the bus 1204 may be an Extended Industry Standard Architecture (EISA) bus or the like.
  • EISA Extended Industry Standard Architecture
  • the bus 1204 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 12, but it does not mean that there is only one bus or one type of bus.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a Digital Versatile Disc (DVD)), or a semiconductor medium (such as a Solid State Disk (SSD)). Wait.
  • a magnetic medium for example, a floppy disk, a hard disk, a magnetic tape
  • an optical medium for example, a Digital Versatile Disc (DVD)
  • DVD Digital Versatile Disc
  • SSD Solid State Disk

Landscapes

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

Abstract

本申请公开了一种音频播放方法及设备,涉及终端技术领域,能够解决第二设备的FM载频与第一设备的FM载频不能自动同步的问题。所述方法应用于第一设备,所述第一设备关闭自身音频播放功能。所述方法包括:第一设备通过频率调制FM方式向第二设备发送待播放音频信号,以便所述第二设备播放所述待播放音频信号;所述第一设备接收所述第一设备所在环境中的音频信号;若所述第一设备确定接收的音频信号与所述待播放音频信号不匹配,则所述第一设备向所述第二设备发送频率调整请求;其中,所述频率调整请求用于所述第二设备完成所述第二设备与所述第一设备的FM载频同步。

Description

音频播放方法及设备 技术领域
本申请涉及终端技术领域,尤其涉及一种音频播放方法及设备。
背景技术
智能后视镜(也称车载云镜)是一个集车内后视镜、行车记录仪、地图导航、语音交互、音乐娱乐和无线连接等众多功能于一身的电子产品。其中,无线连接可以包括第二代(2nd Generation,2G)/第三代(3rd Generation,3G)/第四代(4th Generation、4G)移动通信、无线保真(WIreless-Fidelity,Wi-Fi)、蓝牙(BlueTooth,BT)中的至少一种。此外,智能后视镜通常还具有调频(Frequency Modulation,FM)发射功能。例如,智能后视镜可以通过FM方式向车载设备发送MP3(Moving Picture Experts Group Audio Layer-3,MP3)歌曲。之后,车载设备接收该MP3歌曲,完成FM解调并利用自身具有立体声播放效果的音响设备播放该MP3歌曲。
上述FM信号的发射与接收是在用户分别将智能后视镜和车载设备手动调谐至同一FM频率之后进行的。当智能后视镜和车载设备没有调谐至同一FM频率时,将会出现车载设备没有播放音频信号,或者车载设备播放的音频信号质量变差,或者车载设备播放的是其自身接收到的FM电台节目的现象。例如,用户将车载设备的FM频率手动调谐至与智能后视镜不同的另一FM频率,或者车载设备和智能后视镜中的至少一个发生FM频率漂移,均可能导致上述情况发生。此时,需要用户再次将智能后视镜和车载设备手动调谐至同一FM频率。然而此时,大多数用户,尤其是首次使用智能后视镜的用户,可能以为车载设备和智能后视镜中的至少一个发生故障而不知所措。当用户在通过查阅说明书、上网查询、拨打热线服务电话、访问微信公众号等方式详细了解到智能后视镜和车载设备的使用方法后,方才弄清楚出现上述现象的原因和解决方法,这无疑浪费了用户大量时间,导致用户体验较差。
发明内容
本申请的实施例提供一种音频播放方法及设备,能够解决第二设备的FM载频与第一设备的FM载频不能自动同步的问题,能够提高第一设备通过第二设备播放音频信号的可靠性。
为达到上述目的,本申请的实施例提供如下技术方案:
第一方面,提供一种音频播放方法。该方法应用于第一设备。其中,第一设备关闭自身音频播放功能。该方法可以包括:第一设备通过频率调制FM方式向第二设备发送待播放音频信号,以便第二设备播放待播放音频信号。然后,第一设备接收第一设备所在环境中的音频信号。之后,若第一设备确定接收的音频信号与待播放音频信号不匹配,则第一设备向第二设备发送频率调整请求。其中,频率调整请求用于第二设备完成第二设备与第一设备的FM载频同步。
本申请提供的音频播放方法,第一设备通过FM方式向第二设备发送待播放音频信号后,能够自动接收第一设备所在环境中的音频信号。若第一设备接收的音频信号与待播放音频信号不匹配,则第一设备可以确定第二设备与第一设备没有工作在同一 FM载频上,即第二设备处于FM失锁状态,之后第一设备自动向第二设备发送频率调整请求,以便第二设备根据该请求完成其与第一设备的FM载频同步,可以解决当第二设备与第一设备处于FM载频失步状态时,第二设备不能实时调整本身FM载频,使之与第一设备的FM载频同步的问题,能够提高第一设备通过第二设备播放音频信号的可靠性,且不需要用户手动操作,能够提高用户体验。
示例性地,上述频率调整请求可以携带有第一设备的FM载频。
为了方便用户手动完成第二设备与第一设备的FM载频同步,在一种可能的设计方法中,在第一设备确定接收的音频信号与待播放音频信号不匹配之后,该方法还可以包括:第一设备输出提示信息;其中,提示信息可以包括文字、图片和语音中的至少一种,提示信息用于指导用户完成第二设备与第一设备之间的FM载频同步操作。
示例性地,第一设备输出提示信息,可以包括:第一设备开启自身音频播放功能,并输出语音提示信息,以便用户根据语音提示信息,手动完成第二设备与第一设备的FM载频同步。
实际应用中,第一设备与第二设备之间通常存在诸如Wi-Fi、BT、第2-5代移动通信连接中的至少一种无线连接。可以理解,在一种可能的设计方法中,第一设备向第二设备发送频率调整请求,可以包括:第一设备通过第一设备与第二设备之间的无线连接,向第二设备发送频率调整请求。其中,无线连接可以包括上述无线连接中的任意一种。
为了确定第二设备是否与第一设备处于FM载频同步状态,以便第一设备能够根据频率调整响应直接确定下一个频率调整请求携带的FM载频,从而减少第一设备采集其所在环境中的音频信号,并将该音频信号与其发送的待播放音频信号进行匹配的工作量,以便提高音频播放的可靠性和效率。因此,在一种可能的设计方法中,在第一设备向第二设备发送频率调整请求之后,该方法还可以包括:第一设备通过无线连接,接收第二设备发送的频率调整响应。其中,频率调整响应用于指示第二设备是否根据频率调整请求完成第二设备与第一设备的FM载频同步。
作为确定第二设备是否与第一设备处于FM载频同步的备选方案,在另一种可能的设计方法中,在第一设备通过频率调制FM方式向第二设备发送待播放音频信号之后,该方法还可以包括:第一设备缓存第一指定时间段内的待播放音频信号。相应地,第一设备接收第一设备所在环境中的音频信号,可以包括:第一设备接收第二指定时间段内第一设备所在环境中的音频信号。其中,第二指定时间段与第一指定时间段存在公共时长。相应地,第一设备确定接收的音频信号与待播放音频信号不匹配,可以包括:第一设备确定公共时长内接收的音频信号与公共时长内缓存的待播放音频信号,在如下至少一项特征上不匹配:信号波形和音频内容。
当然,实际应用中,可以为公共时长设置一个预设时长阈值,即只有在公共时长大于预设时长阈值的情况下,公共时长内接收的音频信号与公共时长内缓存的待播放音频信号在信号波形和/或音频内容上匹配,方才视为接收的音频信号与待播放音频信号是匹配的,能够避免采样时间太短而导致的误判,从而提高判断结果的准确性和可靠性。
第二方面,本申请还提供一种音频播放方法。该方法应用于第二设备。其中,第 二设备开启自身音频播放功能。该方法可以包括:第二设备接收和播放第一设备通过频率调制FM方式发送的待播放音频信号。第二设备还可以接收第一设备发送的频率调整请求,并根据该频率调整请求,完成第二设备与第一设备的FM载频同步。其中,频率调整请求用于第二设备完成第二设备与第一设备的FM载频同步。
在一种可能的设计方法中,第二设备接收第一设备发送的频率调整请求,可以包括:第二设备通过第二设备与第一设备之间的无线连接,接收第一设备发送的频率调整请求。其中,无线连接可以包括如下连接中的至少一种:无线保真Wi-Fi、蓝牙BT、第二代2G移动通信连接、第三代3G移动通信连接、第四代4G移动通信连接和第五代5G移动通信连接。
在一种可能的设计方法中,在第二设备根据频率调整请求,完成第二设备与第一设备的FM载频同步之后,该方法还可以包括:第二设备通过无线连接,向第一设备发送频率调整响应。其中,频率调整响应用于指示第二设备是否根据频率调整请求完成第二设备与第一设备的FM载频同步。
第三方面,本申请提供一种设备。其中,该设备关闭自身音频播放功能。该设备可以包括:发送模块、接收模块和处理模块。其中,发送模块,用于通过频率调制FM方式向第二设备发送待播放音频信号,以便第二设备播放待播放音频信号。接收模块,用于接收该设备所在环境中的音频信号。处理模块,用于确定接收模块接收的音频信号与待播放音频信号是否匹配。发送模块,还用于若处理模块确定接收的音频信号与待播放音频信号不匹配,则向第二设备发送频率调整请求。其中,频率调整请求用于第二设备完成第二设备与该设备的FM载频同步。此外,该设备还可以包括存储模块,用于存储指令和数据。
示例性地,上述频率调整请求可以携带有该设备的FM载频。
在一种可能的设计中,该设备还可以包括输出模块。其中,输出模块,用于输出提示信息。该提示信息可以包括文字、图片和语音中的至少一种,主要用于指导用户完成第二设备与该设备之间的FM载频同步操作。
示例性地,处理模块,还用于开启该设备自身音频播放功能。相应地,输出模块,还用于输出语音提示信息。
实际应用中,该设备与第二设备之间通常存在诸如Wi-Fi、BT、第2-5代移动通信连接中的至少一种无线连接。可以理解,在一种可能的设计中,发送模块,还用于通过该设备与第二设备之间的无线连接,向第二设备发送频率调整请求。其中,无线连接可以包括上述无线连接中的任意一种。
在一种可能的设计中,接收模块,还用于通过无线连接,接收第二设备发送的频率调整响应。其中,频率调整响应用于指示第二设备是否根据频率调整请求完成第二设备与该设备的FM载频同步。
在一种可能的设计中,处理模块,还用于缓存第一指定时间段内的待播放音频信号。相应地,接收模块,还用于接收第二指定时间段内该设备所在环境中的音频信号。其中,第二指定时间段与第一指定时间段存在公共时长。相应地,处理模块,还用于确定公共时长内接收的音频信号与公共时长内缓存的待播放音频信号,在如下至少一项特征上不匹配:信号波形和音频内容。
第四方面,本申请还提供一种设备。其中,该设备开启自身音频播放功能。该设备可以包括:接收模块和处理模块。其中,接收模块,用于接收第一设备通过频率调制FM方式发送的待播放音频信号。处理模块,用于播放待播放音频信号。接收模块,还用于接收第一设备发送的频率调整请求。处理模块,还用于根据频率调整请求,完成该设备与第一设备的FM载频同步。
实际应用中,该设备与第一设备之间通常存在诸如Wi-Fi、BT、第2-5代移动通信连接中的至少一种无线连接。可以理解,在一种可能的设计中,接收模块,还用于通过该设备与第一设备之间的无线连接,接收第一设备发送的频率调整请求。其中,无线连接可以包括上述无线连接中的至少一种。
在一种可能的设计中,该设备还可以包括发送模块。其中,发送模块,用于通过无线连接,向第一设备发送频率调整响应。其中,频率调整响应用于指示该设备是否根据频率调整请求完成该设备与第一设备的FM载频同步。
第五方面,本申请还提供一种设备。该设备可以包括:处理器、通信接口和存储器。其中,存储器用于存储计算机可执行指令,处理器与存储器通过总线连接,当该设备运行时,处理器执行存储器存储的计算机可执行指令,以使该设备执行如第一方面所述的音频播放方法。
第六方面,本申请还提供一种设备。该设备可以包括:处理器、通信接口和存储器。其中,存储器用于存储计算机可执行指令,处理器与存储器通过总线连接,当该设备运行时,处理器执行存储器存储的计算机可执行指令,以使该设备执行如第二方面所述的音频播放方法。
第七方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令在计算机上运行时,使得计算机执行如第一方面所述的音频播放方法。
第八方面,本申请还提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令在计算机上运行时,使得计算机执行如第二方面所述的音频播放方法。
第九方面,本申请提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如第一方面所述的音频播放方法。
第十方面,本申请还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如第二方面所述的音频播放方法。
本申请的实施例中,上述第一设备和第二设备内各个单元模块的名称对设备本身不构成限定,在实际实现中,这些单元模块可以以其他名称出现。只要各个单元模块的功能和本申请的实施例类似,即属于本申请权利要求及其等同技术的范围之内。
附图说明
图1为本申请实施例提供的音频播放方法的应用场景示意图;
图2为本申请实施例提供的第一设备的界面示意图;
图3为本申请实施例提供的第一设备的结构示意图一;
图4为本申请实施例提供的音频播放方法的流程示意图一;
图5为本申请实施例提供的音频播放方法的流程示意图二;
图6为本申请实施例提供的音频播放方法的流程示意图三;
图7为本申请实施例提供的音频播放方法的流程示意图四;
图8为本申请实施例提供的音频播放方法的流程示意图五;
图9A为本申请实施例提供的第一设备的结构示意图二;
图9B为本申请实施例提供的第一设备的结构示意图三;
图10A为本申请实施例提供的第二设备的结构示意图一;
图10B为本申请实施例提供的第二设备的结构示意图二;
图11为本申请实施例提供的第一设备的结构示意图四;
图12为本申请实施例提供的第二设备的结构示意图三。
具体实施方式
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
本申请的说明书以及附图中的术语“第一”和“第二”等是用于区别不同的对象,或者用于区别对同一对象的不同处理,而不是用于描述对象的特定顺序。
此外,本申请的描述中所提到的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
在本申请的描述中,除非另有说明,“多个”的含义是指两个或两个以上。
本申请实施例提供的音频播放方法及设备,能够实现自动检测并调整第二设备与第一设备的FM载频同步,从而提高第一设备通过第二设备播放音频信号的可靠性,且不需要用户手动操作,能够提升用户体验。
图1示出了本申请实施例提供的音频播放方法的应用场景示意图。如图1所示,第一设备101可以为智能后视镜、智能手机等电子设备,第二设备102可以为车载设备(包括车载中控设备和车载音响设备)、智能音箱等电子设备。通常,第二设备102的音频播放效果要优于第一设备101。例如,第二设备102能够播放立体声音乐,而第一设备101不能播放立体声音乐。具体地,第一设备101将待播放音频信号调制到预设FM载频上并发射出去。第二设备102接收并解调该信号后,通过自身音响设备进行播放。
如图2所示,上述第一设备101可以为智能后视镜200。下面以智能后视镜200为例对实施例进行具体说明。应该理解的是,图示智能后视镜200仅是上述第一设备的一个范例,并且智能后视镜200可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。
如图2所示,智能后视镜200具体可以包括:处理器201、射频(Radio Frequency,RF)电路202、存储器203、触摸屏204、蓝牙装置205、一个或多个传感器206、Wi-Fi装置207、定位装置208、音频电路209、外设接口210以及电源装置211等部件。这 些部件可通过一根或多根通信总线或信号线(图2中未示出)进行通信。本领域技术人员可以理解,图2中示出的硬件结构并不构成对智能后视镜的限定,智能后视镜200可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图2对智能后视镜200的各个部件进行具体的介绍:
处理器201是智能后视镜200的控制中心,利用各种接口和线路连接智能后视镜200的各个部分,通过运行或执行存储在存储器203内的应用,以及调用存储在存储器203内的数据,执行智能后视镜200的各种功能和处理数据。在一些实施例中,处理器201可包括一个或多个处理单元;举例来说,处理器201可以是华为技术有限公司制造的麒麟960芯片。在本申请一些实施例中,上述处理器201还可以包括指纹验证芯片,用于对采集到的指纹进行验证。
射频电路202可用于在收发信息或通话过程中,无线信号的接收和发送。特别地,射频电路202可以将基站的下行数据接收后,给处理器201处理;另外,将涉及上行的数据发送给基站。通常,射频电路202包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频电路202还可以通过无线通信和其他设备通信。所述无线通信可以使用任一无线通信标准或协议,包括但不限于全球移动通信系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。
存储器203用于存储应用以及数据,处理器201通过运行存储在存储器203的应用以及数据,执行智能后视镜200的各种功能以及数据处理。存储器203主要包括存储程序区以及存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用(比如声音播放功能、图像播放功能等);存储数据区可以存储根据使用智能后视镜200时所创建的数据(比如音频数据、电话本等)。此外,存储器203可以包括高速随机存取存储器(Ramdom Access Memory,RAM),还可以包括非易失存储器,例如磁盘存储器件、闪存器件或其他易失性固态存储器件等。存储器203可以存储各种操作系统,例如,苹果公司所开发的
Figure PCTCN2019080809-appb-000001
操作系统,谷歌公司所开发的
Figure PCTCN2019080809-appb-000002
操作系统等。上述存储器203可以是独立的,通过上述通信总线与处理器201相连接;存储器203也可以和处理器201集成在一起。
触摸屏204具体可以包括触控板204-1和显示器204-2。
其中,触控板204-1可采集智能后视镜200的用户在其上或附近的触摸事件(比如用户使用手指、触控笔等任何适合的物体在触控板204-1上或在触控板204-1附近的操作),并将采集到的触摸信息发送给其他器件(例如处理器201)。其中,用户在触控板204-1附近的触摸事件可以称之为悬浮触控;悬浮触控可以是指,用户无需为了选择、移动或拖动目标(例如控件等)而直接接触触控板,而只需用户位于第一设备附近以便执行所想要的功能。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型来实现触控板204-1。
显示器(也称为显示屏)204-2可用于显示由用户输入的信息或提供给用户的信息以及智能后视镜200的各种菜单。可以采用液晶显示器、有机发光二极管等形式来配置显示器204-2。触控板204-1可以覆盖在显示器204-2之上,当触控板204-1检测到在其上或附近的触摸事件后,传送给处理器201以确定触摸事件的类型,随后处 理器201可以根据触摸事件的类型在显示器204-2上提供相应的视觉输出。虽然在图2中,触控板204-1与显示屏204-2是作为两个独立的部件来实现智能后视镜200的输入和输出功能,但是在某些实施例中,可以将触控板204-1与显示屏204-2集成而实现智能后视镜200的输入和输出功能。可以理解的是,触摸屏204是由多层的材料堆叠而成,本申请实施例中只展示出了触控板(层)和显示屏(层),其他层在本申请实施例中不予记载。另外,触控板204-1可以以全面板的形式配置在智能后视镜200的正面,显示屏204-2也可以以全面板的形式配置在智能后视镜200的正面,这样在智能后视镜的正面就能够实现无边框的结构。
智能后视镜200还可以包括蓝牙装置205,用于实现智能后视镜200与其他短距离的第一设备(例如智能后视镜、智能手表等)之间的数据交换。本申请实施例中的蓝牙装置可以是集成电路或者蓝牙芯片等。
Wi-Fi装置207,用于为智能后视镜200提供遵循Wi-Fi相关标准协议的网络接入,智能后视镜200可以通过Wi-Fi装置207接入到Wi-Fi接入点,进而帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。在其他一些实施例中,该Wi-Fi装置207也可以作为Wi-Fi无线接入点,可以为其他第一设备提供Wi-Fi网络接入。
音频电路209、扬声器213、麦克风214可提供用户与智能后视镜200之间的音频接口。音频电路209可将接收到的音频数据转换后的电信号,传输到扬声器213,由扬声器213转换为声音信号输出;另一方面,麦克风214将收集的声音信号转换为电信号,由音频电路209接收后转换为音频数据,再将音频数据输出至RF电路202以发送给比如另一智能后视镜,或者将音频数据输出至存储器203以便进一步处理。
FM发射电路215用于将音频信号调制到预设FM载频上并发射出去。例如,可以将智能后视镜200本地存储的MP3音乐调制到100MHz的FM载频上,并将调制后的FM信号发射出去。
另外,智能后视镜200还可以具有指纹识别功能。例如,可以在智能后视镜200的背面(例如后置摄像头的下方)配置指纹识别器212,或者在智能后视镜200的正面(例如触摸屏204的下方)配置指纹识别器212。又例如,可以在触摸屏204中配置指纹采集器件212来实现指纹识别功能,即指纹采集器件212可以与触摸屏204集成在一起来实现智能后视镜200的指纹识别功能。在这种情况下,该指纹采集器件212配置在触摸屏204中,可以是触摸屏204的一部分,也可以以其他方式配置在触摸屏204中。本申请实施例中的指纹采集器件212的主要部件是指纹传感器,该指纹传感器可以采用任何类型的感测技术,包括但不限于光学式、电容式、压电式或超声波传感技术等。
智能后视镜200还可以包括至少一种传感器206,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节触摸屏204的显示器的亮度,接近传感器可在智能后视镜200移动到耳边时,关闭显示器的电源。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别智能后视镜姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态 校准)、振动识别相关功能(比如计步器、敲击)等;至于智能后视镜200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
定位装置208,用于为智能后视镜200提供地理位置。可以理解的是,该定位装置208具体可以是全球定位系统(Global Positioning System,GPS)或北斗卫星导航系统、俄罗斯GLONASS等定位系统的接收器。定位装置208在接收到上述定位系统发送的地理位置后,将该信息发送给处理器201进行处理,或者发送给存储器203进行保存。在另外的一些实施例中,该定位装置208还可以是辅助全球卫星定位系统(Assisted Global Positioning System,AGPS)的接收器,AGPS系统通过作为辅助服务器来协助定位装置208完成测距和定位服务,在这种情况下,辅助定位服务器通过无线通信网络与第一设备例如智能后视镜200的定位装置208(即GPS接收器)通信而提供定位协助。在另外的一些实施例中,该定位装置208也可以是基于Wi-Fi接入点的定位技术。由于每一个Wi-Fi接入点都有一个全球唯一的媒体介入控制(Media Access Control,MAC)地址,第一设备在开启Wi-Fi的情况下即可扫描并收集周围的Wi-Fi接入点的广播信号,因此可以获取到Wi-Fi接入点广播出来的MAC地址;第一设备将这些能够标示Wi-Fi接入点的数据(例如MAC地址)通过无线通信网络发送给位置服务器,由位置服务器检索出每一个Wi-Fi接入点的地理位置,并结合Wi-Fi广播信号的强弱程度,计算出该第一设备的地理位置并发送到该第一设备的定位装置208中。
外设接口210,用于为外部的输入/输出设备(例如键盘、鼠标、外接显示器、外部存储器、用户识别模块卡等)提供各种接口。例如通过通用串行总线(Universal Serial Bus,USB)接口与鼠标连接,通过用户识别模块卡卡槽上的金属触点与电信运营商提供的用户识别模块卡(Subscriber Identification Module,SIM)卡进行连接。外设接口210可以被用来将上述外部的输入/输出外围设备耦接到处理器201和存储器203。
智能后视镜200还可以包括给各个部件供电的电源装置211(比如电池和电源管理芯片),电池可以通过电源管理芯片与处理器201逻辑相连,从而通过电源装置211实现管理充电、放电、以及功耗管理等功能。
尽管图2未示出,智能后视镜200还可以包括摄像头(前置摄像头和/或后置摄像头)、闪光灯、微型投影装置、近场通信(Near Field Communication,NFC)装置等,在此不再赘述。
需要说明的是,上述第二设备102结构与第一设备类似。然而,在本申请实施例中,第二设备102需要接收FM信号,并不需要发射FM信号。因此,与第一设备101不同,第二设备102包括FM接收机,但可以不包含FM发射机215。
图3示出了现有第一设备101的一种图形用户界面(Graphic User Interface,GUI)300的示意图。如图3所示,第一设备GUI 300上通常可以显示有以下应用程序图标:音频播放301、收音机302、行车记录仪303、FM发射机304、导航305和接打电话306。点击图标,即可调用该图标对应的应用程序。当然,也可以通过一个应用程序调用另一个应用程序。例如,FM发射机304可以调用音频播放301、收音机302、行车记录仪303、导航305和接打电话306中任意一个应用程序,以便获取待播放音 频信号。需要说明的是,在FM发射机304选择收音机302通过FM方式接收的电台节目作为其发射内容的情况下,FM发射机304的FM载频最好与收音机302的FM载频不同,以避免第二设备102同时接收到FM发射机304和该电台发射的具有相同FM载频的FM信号而相互干扰,进而降低第二设备102接收到的FM信号质量的问题。
此外,第一设备GUI 300还可以包括设置307,用户可以在点击打开的设置界面(图3中未示出)中完成第一设备101本机的扬声器、Wi-Fi热点、蓝牙、无线局域网络(Wireless Local Area Networks,WLAN)、移动数据开关等设置,并将上述设置对应的状态显示在第一设备GUI 300中(对应附图标记308)。鉴于设置为现有技术,本申请实施例不再赘述。
当然,第二设备GUI也可以采用与第一设备GUI 300相似的方式进行设计。需要说明的是,第二设备102通常不需要FM发射能力。因此,第二设备GUI中通常不存在FM发射机对应图标。此外,第二设备102可以具有第一设备101中除FM发射机之外的部分或全部功能,也可以具有第一设备101不具备的功能,本申请实施例对此不作限定。
需要说明的是,第二设备102的GUI可以采用与图3所示的第一设备GUI 300相同的GUI,也可以采用与图3所示的第一设备GUI 300不同的GUI,本申请实施例对此不作限定。
图4示出了本申请实施例提供的音频播放方法的流程示意图。该方法应用于第一设备和第二设备。其中,第一设备关闭自身音频播放功能,第二设备开启自身音频播放功能。如图4所示,该方法可以包括S401-S408:
S401、第一设备通过频率调制FM方式向第二设备发送待播放音频信号。
其中,待播放音频信号可以来源于第一设备本地存储的音频文件,例如本地的MP3音乐文件。待播放音频信号也可以是第一设备调用的应用程序产生的音频信号,例如导航产生的提示语音。待播放音频信号还可以是第一设备接收的其他音频信号,例如,第一设备的收音机接收到的电台节目。
示例性地,如图3所示,第一设备101将待播放音频信号调制在预设FM载频上,并通过FM发射机1012和FM发射天线1013发射出去。鉴于FM调制、发射为现有技术,本申请实施例不再赘述。
S402、第二设备接收第一设备通过频率调制FM方式发送的待播放音频信号。
示例性地,如图3所示,第二设备102通过FM接收天线1021、FM接收机1022接收、解调第一设备101发送的待播放音频信号,并向处理器1023发送。鉴于FM接收、解调为现有技术,本申请实施例不再赘述。
S403、第二设备播放待播放音频信号。
示例性地,如图3所示,第二设备102的处理器1023通过音频放大器1024和扬声器1025播放待播放音频信号。鉴于通过音频放大器和扬声器播放音频信号为现有技术,本申请实施例不再赘述。
S404、第一设备接收第一设备所在环境中的音频信号。
其中,第一设备所在环境是指第一设备所在位置的物理环境。例如,若第一设备为安装在车厢内部的智能后视镜,则上述车厢内部空间即为第一设备所在环境。第一 设备所在环境中的音频信号,可以包括第二设备播放的音频信号、车厢内部人员语音信号、发动机噪声、车载空调产生的噪声等。
示例性地,第一设备接收第一设备所在环境中的音频信号,是指第一设备利用其本机安装的音频采集模块采集第一设备所在环境中的音频信号。例如,通过第一设备内置或外接的麦克风采集上述环境中的各种声音信号。
S405、第一设备确定接收的音频信号与待播放音频信号不匹配。
其中,接收的音频信号与待播放音频信号不匹配,是指接收的音频信号中不存在与待播放音频信号的信号特征相同的音频信号。具体地,信号特征可以包括音频信号的波形特征和音频信号承载的语音内容。
上述波形特征可以包括音频信号的频谱和幅度。示例性地,若待播放音频信号为摇滚乐,其频谱图中的低音成分的信号强度较大,则可以根据接收的音频信号的频谱图与上述摇滚乐的频谱图的相似度作出判断。同理,也可以根据音频信号的幅度包络曲线的相似度作出判断,本申请实施例不再赘述。
上述语音内容可以为音频信号承载的、以自然语言为表现形式的语句和词汇。示例性地,若待播放音频信号为导航提示语,例如“前方路口请直行”、“前方右侧200米有车辆汇入,请谨慎驾驶”等,则可以利用语音识别算法确定接收的音频信号是否承载有上述导航提示语。
需要说明的是,S404-S405可以根据用户输入指令触发执行,也可以周期性执行,也即当第一设备时间达到预设执行周期时执行,本申请实施例对此不作限制。
S406、第一设备向第二设备发送频率调整请求。
其中,频率调整请求用于第二设备完成第二设备与第一设备的FM载频同步。
示例性地,上述频率调整请求可以携带有第一设备的FM载频,第二设备可根据该第一设备的FM载频将其当前FM载频调整为第一设备的FM载频。
实际应用中,第一设备与第二设备之间通常存在诸如Wi-Fi、BT、第2-5代移动通信连接等至少一种无线连接。可以理解,在一种可能的设计方法中,第一设备向第二设备发送频率调整请求,可以包括:
第一设备通过第一设备与第二设备之间的无线连接,向第二设备发送频率调整请求。
其中,无线连接可以包括上述无线连接中的任意一种。
可以理解,若接收的音频信号与待播放音频信号匹配,则第一设备是不需要向第二设备发送任何信息的,以便减少第一设备与第二设备之间的信令交互和提高效率。当然,第一设备也可以向第二设备发送FM同步状态指示,本申请实施例对此不作限制。
需要说明的是,第一设备需要将其FM载频信息承载于上述无线连接所支持的无线信号上并发射出去。鉴于上述无线连接为现有技术,本申请实施例不再赘述。
S407、第二设备接收第一设备发送的频率调整请求。
示例性地,第二设备通过其与第一设备的无线连接接收第一设备发送的频率调整请求。
S408、第二设备根据频率调整请求,完成第二设备与第一设备的FM载频同步。
示例性地,第二设备接收并解析接收到的无线信号,获取频率调整请求携带的FM载频,然后根据该FM载频自动完成第二设备与第一设备的FM载频同步。
需要说明的是,S406-S408,也可以在执行S401-S405之前执行,本申请实施例对此不作限定。
本申请实施例提供的音频播放方法,第一设备通过FM方式向第二设备发送待播放音频信号后,能够自动接收第一设备所在环境中的音频信号;若第一设备接收的音频信号与待播放音频信号不匹配,则第一设备可以确定第二设备与第一设备没有工作在同一FM载频上,即第二设备处于FM失锁状态,之后第一设备自动向第二设备发送频率调整请求,以便第二设备根据该请求完成其与第一设备的FM载频同步,可以解决当第二设备与第一设备处于FM载频失步状态时,第二设备不能实时调整本身FM载频,使之与第一设备FM载频同步的问题,能够提高第一设备通过第二设备播放音频信号的可靠性,且不需要用户操作,能够提升用户体验。
为了方便用户手动完成第二设备与第一设备的FM载频同步或者提示用户第二设备与第一设备的FM载频未同步,可选地,结合图4,如图5所示,在执行S405第一设备确定接收的音频信号与待播放音频信号不匹配之后,该方法还可以包括S501:
S501、第一设备输出提示信息。
其中,提示信息用于指导用户完成第二设备与第一设备之间的FM载频同步操作,可以包括文字、图片和语音中的至少一种,本申请实施例对此不作限定。
假定提示信息为语音提示信息。示例性地,结合图5,如图6所示,S501第一设备输出提示信息,可以包括S601-S602:
S601、第一设备开启自身音频播放功能。
S602、第一设备输出语音提示信息。
需要说明的是,鉴于提示信息为语音提示信息,第一设备必须先开启自身音频播放功能,再输出语音提示信息。
示例性地,语音提示信息可以为指导用户排查第二设备不能正常播放第一设备发送的待播放音频信号的原因,以及指导用户手动完成第二设备的FM载频同步操作(手动调谐)。例如,可以依次提示用户检查第二设备并手动完成相应操作:是否上电、FM接收机是否开启、FM接收机的FM载频设置是否与第一设备的FM发射机的载频相同。
为了确定第二设备是否与第一设备处于FM载频同步状态,可选地,结合图4,如图7所示,在执行S401第一设备通过频率调制FM方式向第二设备发送待播放音频信号之后,该方法还可以包括S701:
S701、第一设备缓存第一指定时间段内的待播放音频信号。
其中,第一指定时间段可以根据实际需求确定。例如,可以将第一指定时间段设置为5分钟,也可以将第一指定时间段设置为10分钟。
相应地,S404第一设备接收第一设备所在环境中的音频信号,可以包括S702-S703:
S702、第一设备接收第二指定时间段内第一设备所在环境中的音频信号。
其中,与第一指定时间段相似,第二指定时间段也可以根据实际需求确定,本申 请实施例不再赘述。
需要说明的是,第二指定时间段与第一指定时间段必须存在公共时长。
相应地,S405第一设备确定接收的音频信号与待播放音频信号不匹配,可以包括S703:
S703、第一设备确定公共时长内接收的音频信号与公共时长内缓存的待播放音频信号,在如下至少一项特征上不匹配:信号波形和音频内容。
示例性地,信号波形不匹配可以包括:FM调制前的待播放音频信号波形与第一设备接收的音频信号波形不匹配。鉴于信号波形识别为现有技术,本申请实施例不再赘述。
示例性地,音频内容不匹配可以包括:待播放音频信号承载的音频内容与第一设备接收的音频信号承载的音频内容不匹配。例如,待播放音频信号与第一设备接收的音频信号均承载有导航提示语音或者同一首歌曲的歌词。鉴于语音识别为现有技术,本申请实施例不再赘述。
当然,实际应用中,可以为公共时长设置一个预设时长阈值,即只有在公共时长大于预设时长阈值的情况下,公共时长内接收的音频信号与公共时长内缓存的待播放音频信号在信号波形和/或音频内容上匹配,方才视为接收的音频信号与待播放音频信号是匹配的,从而避免采样时间太短而导致的误判,能够提高判断结果的准确性和可靠性。
作为确定第二设备是否与第一设备FM载频同步的备选方案,可选地,结合图4,如图8所示,在执行S408第二设备根据频率调整请求,完成第二设备与第一设备的FM载频同步之后,该方法还可以包括S801-S802:
S801、第二设备通过无线连接,向第一设备发送频率调整响应。
其中,频率调整响应主要用于指示第二设备是否根据频率调整请求完成第二设备与第一设备的FM载频同步。例如,若已完成FM载频同步,则频率调整响应可以携带同步成功指示信息。又例如,若未能完成FM载频同步,则频率调整响应可以携带同步失败指示信息和第二设备的当前FM载频,以便第一设备根据第二设备的当前FM载频与第一设备的FM载频之间的偏差,再次发送频率调整响应。
当然,若未能完成FM载频同步的次数大于预设次数阈值,则下一次发送的频率调整响应也可以携带与之前的FM载频不同的另一个FM载频。例如,当前频率调整响应携带的FM载频为100兆赫兹(Mega Hertz,MHz),则下一个频率调整响应携带的FM载频可以为95MHz。
S802、第一设备通过无线连接,接收第二设备发送的频率调整响应,以便第一设备能够根据频率调整响应直接确定下一个频率调整请求携带的FM载频,从而减少第一设备采集其所在环境中的音频信号,并将该音频信号与其发送的待播放音频信号进行匹配的工作量,能够提高音频播放的可靠性和效率。
本申请实施例可以根据上述方法示例对第一设备和第二设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅 仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图9A示出了上述实施例中所涉及的第一设备的一种可能的结构示意图。其中,第一设备关闭自身音频播放功能。如图9A所示,第一设备可以包括:发送模块901、接收模块902和处理模块903。
其中,发送模块901,用于通过频率调制FM方式向第二设备发送待播放音频信号,以便第二设备播放待播放音频信号。
接收模块902,用于接收第一设备所在环境中的音频信号。
处理模块903,用于确定接收模块902接收的音频信号与待播放音频信号是否匹配。
发送模块901,还用于若处理模块903确定接收的音频信号与待播放音频信号不匹配,则向第二设备发送频率调整请求。其中,频率调整请求用于第二设备完成第二设备与第一设备的FM载频同步。
此外,第一设备还可以包括存储模块904,用于存储指令和数据。
示例性地,上述频率调整请求可以携带有第一设备的FM载频。
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到图4-8任意一项所示第一设备中对应功能模块的功能描述,在此不再赘述。
可选地,结合图9A,如图9B所示,第一设备还可以包括输出模块905。
其中,输出模块905,用于输出提示信息。其中,提示信息可以包括文字、图片和语音中的至少一种,提示信息用于指导用户完成第二设备与第一设备之间的FM载频同步操作。例如,输出模块905可以是第一设备的扬声器、显示器中的至少一种。
可选地,处理模块903,还用于开启自身音频播放功能;
输出模块905,还用于输出语音提示信息。
可选地,发送模块901,还用于通过第一设备与第二设备之间的无线连接,向第二设备发送频率调整请求。其中,无线连接可以包括如下连接中的任意一种:无线保真Wi-Fi、蓝牙BT、第二代2G移动通信连接、第三代3G移动通信连接、第四代4G移动通信连接和第五代5G移动通信连接。
可选地,接收模块902,还用于通过无线连接,接收第二设备发送的频率调整响应;其中,频率调整响应用于指示第二设备是否根据频率调整请求完成第二设备与第一设备的FM载频同步。
可选地,处理模块903,还用于缓存第一指定时间段内的待播放音频信号;
接收模块902,还用于接收第二指定时间段内第一设备所在环境中的音频信号;其中,第二指定时间段与第一指定时间段存在公共时长;
处理模块903,还用于确定公共时长内接收的音频信号与公共时长内缓存的待播放音频信号,在如下至少一项特征上不匹配:信号波形和音频内容。
图10A示出了上述实施例中所涉及的第二设备的一种可能的结构示意图。其中,第二设备开启自身音频播放功能。如图10A所示,第二设备1000可以包括:接收模块1001和处理模块1002。
其中,接收模块1001,用于接收第一设备通过频率调制FM方式发送的待播放音频信号;
处理模块1002,用于播放待播放音频信号;
接收模块1001,还用于接收第一设备发送的频率调整请求;其中,频率调整请求用于第二设备完成第二设备与第一设备的FM载频同步。
处理模块1002,还用于根据频率调整请求,完成第二设备与第一设备的FM载频同步。
此外,第二设备1000还可以包括存储模块1003,用于存储指令和数据。
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到图4-8任意一项所示第二设备中对应功能模块的功能描述,在此不再赘述。
可选地,接收模块1001,还用于通过第二设备与第一设备之间的无线连接,接收第一设备发送的频率调整请求;其中,无线连接可以包括如下连接中的至少一种:无线保真Wi-Fi、蓝牙BT、第二代2G移动通信连接、第三代3G移动通信连接、第四代4G移动通信连接和第五代5G移动通信连接。
可选地,结合如10A,如图10B所示,第二设备还可以包括发送模块1004。
其中,发送模块1004,用于通过无线连接,向第一设备发送频率调整响应。其中,频率调整响应用于指示第二设备是否根据频率调整请求完成第二设备与第一设备的FM载频同步。
图11示出了上述实施例中所涉及的第一设备的另一种可能的结构示意图。如图11所示,第一设备可以包括:处理单元1101、通信单元1102和存储单元1103;其中,存储单元1103用于存储计算机可执行指令,处理单元1101、通信单元1102和存储单元1103之间通过总线1104连接,当第一设备运行时,处理单元1101执行存储单元1103存储的计算机可执行指令,以使第一设备执行如图4-8及其各种可选的实现方式中任意之一所述的音频播放方法。
其中,上述处理单元1101可以是第一设备中的处理器或控制器。例如,处理单元1101可以是图2中示出的处理器201。该处理器或控制器可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。该处理器或控制器可以是中央处理器,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。
通信单元1102可以是第一设备中的收发器、收发电路或通信接口等。例如,通信单元1102可以是图2中示出的射频电路202、Wi-Fi装置207、蓝牙205、外设接口210、FM发射电路215和触摸屏204中的至少一种。
存储单元1103可以是第一设备中的存储器等。例如,存储单元1103可以是图2中示出的存储器203。该存储器可以包括易失性存储器,例如随机存取存储器;该存储器也可以包括非易失性存储器,例如只读存储器,快闪存储器,硬盘或固态硬盘;该存储器还可以包括上述种类的存储器的组合。
总线1104可以是扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线1104可以分为地址总线、数据总线、控制总线等。 为便于表示,图11中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
图12示出了上述实施例中所涉及的第二设备的另一种可能的结构示意图。如图12所示,第二设备可以包括:处理单元1201、通信单元1202和存储单元1203;其中,存储单元1203用于存储计算机可执行指令,处理单元1201、通信单元1202和存储单元1203之间通过总线1204连接,当第二设备运行时,处理单元1201执行存储单元1203存储的计算机可执行指令,以使第二设备执行如图4-8及其各种可选的实现方式中任意之一所述的音频播放方法。
其中,上述处理单元1201可以是第二设备中的处理器或控制器。例如,处理单元1201可以是图2中示出的处理器201。该处理器或控制器可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。该处理器或控制器可以是中央处理器,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。
通信单元1202可以是第二设备中的收发器、收发电路或通信接口等。例如,通信单元1202可以是图2中示出的射频电路202、Wi-Fi装置207、蓝牙205、外设接口210、FM发射电路215和触摸屏204中的至少一种。
存储单元1203可以是第二设备中的存储器等。例如,存储单元1203可以是图2中示出的存储器203。该存储器可以包括易失性存储器,例如随机存取存储器;该存储器也可以包括非易失性存储器,例如只读存储器,快闪存储器,硬盘或固态硬盘;该存储器还可以包括上述种类的存储器的组合。
总线1204可以是扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线1204可以分为地址总线、数据总线、控制总线等。为便于表示,图12中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
在上述实施例中,可以全部或部分的通过软件,硬件,固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式出现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘,硬盘、磁带)、光介质(例如,数字多功能光盘(Digital  Versatile Disc,DVD))或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (26)

  1. 一种音频播放方法,其特征在于,应用于第一设备,所述第一设备关闭自身音频播放功能;所述方法包括:
    第一设备通过频率调制FM方式向第二设备发送待播放音频信号,以便所述第二设备播放所述待播放音频信号;
    所述第一设备接收所述第一设备所在环境中的音频信号;
    若所述第一设备确定接收的音频信号与所述待播放音频信号不匹配,则所述第一设备向所述第二设备发送频率调整请求;其中,所述频率调整请求用于所述第二设备完成所述第二设备与所述第一设备的FM载频同步。
  2. 根据权利要求1所述的方法,其特征在于,所述频率调整请求携带有所述第一设备的FM载频。
  3. 根据权利要求1所述的方法,其特征在于,在所述第一设备确定接收的音频信号与所述待播放音频信号不匹配之后,所述方法还包括:
    所述第一设备输出提示信息;其中,所述提示信息包括文字、图片和语音中的至少一种,所述提示信息用于指导用户完成所述第二设备与所述第一设备之间的FM载频同步操作。
  4. 根据权利要求3所述的方法,其特征在于,所述第一设备输出提示信息,包括:
    所述第一设备开启自身音频播放功能;
    所述第一设备输出语音提示信息。
  5. 根据权利要求1所述的方法,其特征在于,所述第一设备向所述第二设备发送频率调整请求,包括:
    所述第一设备通过所述第一设备与所述第二设备之间的无线连接,向所述第二设备发送频率调整请求;其中,所述无线连接包括如下连接中的任意一种:无线保真Wi-Fi、蓝牙BT、第二代2G移动通信连接、第三代3G移动通信连接、第四代4G移动通信连接和第五代5G移动通信连接。
  6. 根据权利要求5所述的方法,其特征在于,在所述第一设备向所述第二设备发送频率调整请求之后,所述方法还包括:
    所述第一设备通过所述无线连接,接收所述第二设备发送的频率调整响应;其中,所述频率调整响应用于指示所述第二设备是否根据所述频率调整请求完成所述第二设备与所述第一设备的FM载频同步。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,在所述第一设备通过频率调制FM方式向第二设备发送待播放音频信号之后,所述方法还包括:
    所述第一设备缓存第一指定时间段内的待播放音频信号;
    所述第一设备接收所述第一设备所在环境中的音频信号,包括:
    所述第一设备接收第二指定时间段内所述第一设备所在环境中的音频信号;其中,所述第二指定时间段与所述第一指定时间段存在公共时长;
    所述第一设备确定接收的音频信号与所述待播放音频信号不匹配,包括:
    所述第一设备确定所述公共时长内接收的音频信号与所述公共时长内缓存的待播放音频信号,在如下至少一项特征上不匹配:信号波形和音频内容。
  8. 一种音频播放方法,其特征在于,应用于第二设备,所述第二设备开启自身音频播放功能;所述方法包括:
    第二设备接收第一设备通过频率调制FM方式发送的待播放音频信号;
    所述第二设备播放所述待播放音频信号;
    所述第二设备接收所述第一设备发送的频率调整请求;其中,所述频率调整请求用于所述第二设备完成所述第二设备与所述第一设备的FM载频同步;
    所述第二设备根据所述频率调整请求,完成所述第二设备与所述第一设备的FM载频同步。
  9. 根据权利要求8所述的方法,其特征在于,所述第二设备接收所述第一设备发送的频率调整请求,包括:
    所述第二设备通过所述第二设备与所述第一设备之间的无线连接,接收所述第一设备发送的频率调整请求;其中,所述无线连接包括如下连接中的至少一种:无线保真Wi-Fi和蓝牙BT。
  10. 根据权利要求9所述的方法,其特征在于,在所述第二设备根据所述频率调整请求,完成所述第二设备与所述第一设备的FM载频同步之后,所述方法还包括:
    所述第二设备通过所述无线连接,向所述第一设备发送频率调整响应;其中,所述频率调整响应用于指示所述第二设备是否根据所述频率调整请求完成所述第二设备与所述第一设备的FM载频同步。
  11. 一种设备,其特征在于,所述设备关闭自身音频播放功能;所述设备包括:发送模块、接收模块和处理模块;其中,
    所述发送模块,用于通过频率调制FM方式向第二设备发送待播放音频信号,以便所述第二设备播放所述待播放音频信号;
    所述接收模块,用于接收所述设备所在环境中的音频信号;
    所述处理模块,用于确定所述接收模块接收的音频信号与所述待播放音频信号是否匹配;
    所述发送模块,还用于若所述处理模块确定接收的音频信号与所述待播放音频信号不匹配,则向所述第二设备发送频率调整请求;其中,所述频率调整请求用于所述第二设备完成所述第二设备与所述设备的FM载频同步。
  12. 根据权利要求11所述的设备,其特征在于,所述频率调整请求携带有所述设备的FM载频。
  13. 根据权利要求11所述的设备,其特征在于,所述设备还包括输出模块;其中,
    所述输出模块,用于输出提示信息;其中,所述提示信息包括文字、图片和语音中的至少一种,所述提示信息用于指导用户完成所述第二设备与所述设备之间的FM载频同步操作。
  14. 根据权利要求13所述的设备,其特征在于,
    所述处理模块,还用于开启自身音频播放功能;
    所述输出模块,还用于输出语音提示信息。
  15. 根据权利要求11所述的设备,其特征在于,
    所述发送模块,还用于通过所述设备与所述第二设备之间的无线连接,向所述第二设备发送频率调整请求;其中,所述无线连接包括如下连接中的任意一种:无线保真Wi-Fi、蓝牙BT、第二代2G移动通信连接、第三代3G移动通信连接、第四代4G移动通信连接和第五代5G移动通信连接。
  16. 根据权利要求15所述的设备,其特征在于,
    所述接收模块,还用于通过所述无线连接,接收所述第二设备发送的频率调整响应;其中,所述频率调整响应用于指示所述第二设备是否根据所述频率调整请求完成所述第二设备与所述设备的FM载频同步。
  17. 根据权利要求11-16任一项所述的设备,其特征在于,
    所述处理模块,还用于缓存第一指定时间段内的待播放音频信号;
    所述接收模块,还用于接收第二指定时间段内所述设备所在环境中的音频信号;其中,所述第二指定时间段与所述第一指定时间段存在公共时长;
    所述处理模块,还用于确定所述公共时长内接收的音频信号与所述公共时长内缓存的待播放音频信号,在如下至少一项特征上不匹配:信号波形和音频内容。
  18. 一种设备,其特征在于,所述设备开启自身音频播放功能;所述设备包括:接收模块和处理模块;其中,
    所述接收模块,用于接收第一设备通过频率调制FM方式发送的待播放音频信号;
    所述处理模块,用于播放所述待播放音频信号;
    所述接收模块,还用于接收所述第一设备发送的频率调整请求;其中,所述频率调整请求用于所述设备完成所述设备与所述第一设备的FM载频同步;
    所述处理模块,还用于根据所述频率调整请求,完成所述设备与所述第一设备的FM载频同步。
  19. 根据权利要求18所述的设备,其特征在于,
    所述接收模块,还用于通过所述设备与所述第一设备之间的无线连接,接收所述第一设备发送的频率调整请求;其中,所述无线连接包括如下连接中的至少一种:无线保真Wi-Fi和蓝牙BT。
  20. 根据权利要求19所述的设备,其特征在于,所述设备还包括发送模块;其中,
    所述发送模块,用于通过所述无线连接,向所述第一设备发送频率调整响应;其中,所述频率调整响应用于指示所述设备是否根据所述频率调整请求完成所述设备与所述第一设备的FM载频同步。
  21. 一种设备,其特征在于,所述设备包括:处理器、通信接口和存储器;其中,
    所述存储器用于存储计算机可执行指令,所述处理器与所述存储器通过所述总线连接,当所述设备运行时,所述处理器执行所述存储器存储的计算机可执行指令,以使所述设备执行如权利要求1-7任一项所述的音频播放方法。
  22. 一种设备,其特征在于,所述设备包括:处理器、通信接口和存储器;其中,
    所述存储器用于存储计算机可执行指令,所述处理器与所述存储器通过所述总线 连接,当所述设备运行时,所述处理器执行所述存储器存储的计算机可执行指令,以使所述设备执行如权利要求8-10任一项所述的音频播放方法。
  23. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上运行时,使得所述计算机执行如权利要求1-7任一项所述的音频播放方法。
  24. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计算机上运行时,使得所述计算机执行如权利要求8-10任一项所述的音频播放方法。
  25. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行如权利要求1-7任一项所述的音频播放方法。
  26. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得所述计算机执行如权利要求8-10任一项所述的音频播放方法。
PCT/CN2019/080809 2018-04-02 2019-04-01 音频播放方法及设备 WO2019192426A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP19781626.7A EP3745749A4 (en) 2018-04-02 2019-04-01 AUDIO PLAYBACK PROCESS AND DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810282716.3A CN110351213A (zh) 2018-04-02 2018-04-02 音频播放方法及设备
CN201810282716.3 2018-04-02

Publications (1)

Publication Number Publication Date
WO2019192426A1 true WO2019192426A1 (zh) 2019-10-10

Family

ID=68099831

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/080809 WO2019192426A1 (zh) 2018-04-02 2019-04-01 音频播放方法及设备

Country Status (3)

Country Link
EP (1) EP3745749A4 (zh)
CN (1) CN110351213A (zh)
WO (1) WO2019192426A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115459869A (zh) * 2022-10-27 2022-12-09 广州市保伦电子有限公司 一种基于fm收发模块的同步广播方法、广播设备及系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114666631B (zh) * 2020-12-23 2024-04-26 华为技术有限公司 音效调节方法及电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006106379A1 (en) * 2005-04-05 2006-10-12 Nokia Corporation Method and device for low-power fm transmission of audio data to rds capable fm radio receiver
CN105620394A (zh) * 2016-03-09 2016-06-01 深圳市智联腾众科技有限公司 一种汽车音响控制系统和汽车音响控制方法
CN107264447A (zh) * 2017-06-06 2017-10-20 湖南海翼电子商务股份有限公司 车辆内语音识别控制方法、系统及装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070142010A1 (en) * 2005-12-19 2007-06-21 Christopher Gary L Adaptive modulator and method of operating same
US7941141B2 (en) * 2006-08-31 2011-05-10 Garmin Switzerland Gmbh System and method for selecting a frequency for personal-use FM transmission
KR20080065879A (ko) * 2007-01-10 2008-07-15 삼성전자주식회사 오디오신호의 에프엠 전송 장치 및 방법
FR2914526A1 (fr) * 2007-03-28 2008-10-03 Parrot Sa Adaptateur"mains libres"de voiture pour telephone portable a emetteur fm incorpore,avec gestion des requetes incidentes selon l'etat de concordance avec la frequence du radiorecepteur associe.
CN101141136A (zh) * 2007-09-30 2008-03-12 中兴通讯股份有限公司 一种实现车载通话的方法及装置
US20090197534A1 (en) * 2008-02-06 2009-08-06 Sony Ericsson Mobile Communications Ab Automatic setup of radio transmission
CN101567736A (zh) * 2008-04-24 2009-10-28 深圳富泰宏精密工业有限公司 调频广播智能转换系统及方法
CN103378913A (zh) * 2012-04-17 2013-10-30 上海博泰悦臻电子设备制造有限公司 一种车载端及车载端收音机无间断播放方法
CN104065439B (zh) * 2013-03-20 2017-05-24 尼尔森网联媒介数据服务有限公司 无线广播收听率采集仪及无线广播收听率采集方法
CN104270442A (zh) * 2014-09-29 2015-01-07 谢小娟 一种车载音频播放方法、车载控制终端以及系统
CN107018468A (zh) * 2017-05-22 2017-08-04 成都星火聚点科技有限公司 一种同频fm车载音频播放系统
CN107707728A (zh) * 2017-07-25 2018-02-16 努比亚技术有限公司 一种音频传输切换方法、终端和计算机可读存储介质

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006106379A1 (en) * 2005-04-05 2006-10-12 Nokia Corporation Method and device for low-power fm transmission of audio data to rds capable fm radio receiver
CN105620394A (zh) * 2016-03-09 2016-06-01 深圳市智联腾众科技有限公司 一种汽车音响控制系统和汽车音响控制方法
CN107264447A (zh) * 2017-06-06 2017-10-20 湖南海翼电子商务股份有限公司 车辆内语音识别控制方法、系统及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3745749A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115459869A (zh) * 2022-10-27 2022-12-09 广州市保伦电子有限公司 一种基于fm收发模块的同步广播方法、广播设备及系统

Also Published As

Publication number Publication date
EP3745749A1 (en) 2020-12-02
CN110351213A (zh) 2019-10-18
EP3745749A4 (en) 2021-03-17

Similar Documents

Publication Publication Date Title
US11470058B2 (en) Network connection method, mobile terminal, electronic device, and graphical user interface
JP7043562B2 (ja) インタラクティブ情報を獲得するための方法、端末、サーバ、およびシステム
KR101760422B1 (ko) 이동 단말기 및 그 제어방법
US9503857B2 (en) Method and apparatus for providing location information in mobile device
KR101733057B1 (ko) 전자 기기 및 전자 기기의 컨텐츠 공유 방법
JP7437305B2 (ja) 電子取引方法及び端末
KR102491005B1 (ko) 비디오 미리보기 방법 및 전자 장치
WO2019184016A1 (zh) Sim卡鉴权方法及终端
WO2018161962A1 (zh) 分享图像的方法、电子设备及系统
CN106157970B (zh) 一种音频识别方法以及终端
US9413434B2 (en) Cancellation of interfering audio on a mobile device
CN105606117A (zh) 导航提示方法及装置
US10636228B2 (en) Method, device, and system for processing vehicle diagnosis and information
CN108769893B (zh) 一种终端检测方法及终端
EP3640819A1 (en) Search method and apparatus
WO2017215661A1 (zh) 一种场景音效的控制方法、及电子设备
WO2021027466A1 (zh) 定位方法及终端设备
WO2019192426A1 (zh) 音频播放方法及设备
WO2018166202A1 (zh) 网络定位方法、计算机设备及非易失性可读存储介质
WO2020118495A1 (zh) 一种音频资源分配方法、装置和电子设备
CN105608095B (zh) 多媒体播放方法、装置及移动终端
CN109194998A (zh) 数据传输方法、装置、电子设备及计算机可读介质
CN106648505A (zh) 一种移动终端操控方法及移动终端
US8982739B2 (en) Mobile terminal and method of controlling the same
KR20130021891A (ko) 위치 기반 소셜 네트워크 서비스 접속 방법 및 그 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19781626

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019781626

Country of ref document: EP

Effective date: 20200826

NENP Non-entry into the national phase

Ref country code: DE