Portable audio acquisition system and method based on near field communication technology

By using near-field communication technology to obtain the audio identification code of the audio device in the audio acquisition system, the problem of low audio acquisition efficiency in the prior art is solved, and the rapid and accurate acquisition of audio files is achieved.

CN119450425APending Publication Date: 2025-02-14GUANGZHOU BAOLUN ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411560687.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

When obtaining audio content at different locations in the prior art, there are problems such as low recognition efficiency, high time-consuming and low recognition accuracy.

Method used

A portable audio acquisition system based on near-field communication technology is adopted to obtain the audio identification code currently played by the audio device through near-field communication, and match the corresponding audio through the audio identification code, thereby achieving rapid acquisition of audio files.

Benefits of technology

It improves the search and acquisition efficiency of audio files, shortens the steps to obtain audio, and improves the efficiency of audio files acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119450425A_ABST
    Figure CN119450425A_ABST
Patent Text Reader

Abstract

The invention discloses a portable audio acquisition system and method based on a near field communication technology. The portable audio acquisition system comprises a cloud storage module, an audio equipment module and a mobile equipment module, the cloud storage module is used for storing an audio file and an audio identification code and sending the audio file to the audio equipment module; the audio equipment module is used for playing audio, performing near field communication with the mobile equipment module, and transmitting an audio identification code of the currently played audio to the mobile equipment module; and the mobile equipment module is used for performing near field communication with the audio equipment module, requesting the audio identification code and sending the audio identification code to the other audio equipment module, so that the other audio equipment module plays the audio file. The near field communication technology is utilized, communication with the audio equipment can be carried out in a simple and rapid mode to obtain the audio identification code, the searching and obtaining efficiency of the audio file is improved, the steps of obtaining the audio are greatly reduced from the flow, and the obtaining efficiency of the audio file is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a portable audio acquisition system and method based on near field communication technology. Background Art

[0002] With the development of mobile Internet, people's demand for audio content is growing. Existing methods for obtaining audio content usually rely on fixed network connections or pre-downloaded content, and lack a method that can easily and quickly obtain audio content in different locations. Existing methods for obtaining audio content in different locations often use music applications in mobile devices to obtain corresponding audio by performing audio recognition on the audio. This method is easily disturbed by noisy environments and requires a certain amount of time to obtain and recognize the audio. It has the problems of low recognition efficiency, high time consumption, and low recognition accuracy.

[0003] Therefore, a method for obtaining audio files simply and quickly is currently needed. Summary of the invention

[0004] To solve the above problems, the present invention provides a portable audio acquisition system and method based on near field communication technology, which obtains the audio identification code currently played by an audio device through near field communication, and matches the corresponding audio through the audio identification code, so that another audio device can play the audio, solving the problem that the existing audio recognition is time-consuming and has a low recognition rate, resulting in a single means of audio file acquisition and inefficient acquisition method.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A portable audio acquisition system based on near field communication technology includes a cloud storage module, several audio device modules and a mobile device module;

[0007] The cloud storage module is used to store audio files and audio identification codes corresponding to the audio files, retrieve the corresponding audio files according to the audio identification codes uploaded by the audio device module, and send the audio files to the audio device module that uploaded the audio identification codes;

[0008] The audio device module is used to play audio, perform near field communication with the mobile device module, transmit the audio identification code of the currently playing audio to the mobile device module through near field communication according to the request of the mobile device module, receive the audio identification code sent by the mobile device module, upload the audio identification code to the cloud storage module, and play the audio file sent by the cloud storage module;

[0009] The mobile device module is used to perform near field communication with the audio device module, request the audio device module for an audio identification code currently being played, receive the audio identification code of the currently playing audio sent by the audio device module, store the audio identification code, and send the audio identification code to another audio device module, so that the other audio device module plays the audio file according to the sent audio identification code.

[0010] Furthermore, the audio device module includes an audio playback unit and an NFC communication unit; the audio playback unit is used to receive a transmission instruction sent by the NFC communication unit, and send an audio identification code of the currently playing audio to the NFC communication unit according to the transmission instruction; the NFC communication unit is used to respond to a near-field communication request of the mobile device module, send a transmission instruction to the audio playback unit according to the near-field communication request, obtain the audio identification code of the currently playing audio, and send the audio identification code of the currently playing audio to the mobile device module.

[0011] Furthermore, the audio device module also includes: when the mobile device module communicates with the audio device module to request the currently playing audio, the audio device module requests the cloud storage module to retrieve whether the currently playing audio exists in the cloud storage module, and when the cloud storage module does not have the audio file of the currently playing audio, an audio identification code is generated based on the currently playing audio, and the audio file of the currently playing audio and the audio identification code are uploaded to the cloud storage module.

[0012] Furthermore, the audio identification code is generated according to the currently played audio, and its specific implementation method is: perform fast Fourier transform on the currently played audio to obtain the current audio spectrum, extract the MFCC feature vector of the current audio spectrum, and the MFCC feature vector is the audio identification code of the currently played audio.

[0013] Furthermore, the method of retrieving the corresponding audio file according to the audio identification code uploaded by the audio device module includes: the audio identification code uploaded by the audio device module is a first audio identification code, and the cosine similarity between the first audio identification code and the remaining audio identification codes in the cloud storage module is calculated, and the audio file corresponding to the audio identification code with the smallest cosine similarity with the first audio identification code is the audio file to be retrieved.

[0014] Furthermore, the method further includes: normalizing the MFCC feature vector, performing binary conversion on the normalized MFCC feature vector to obtain a binary identification code, wherein the binary identification code is a final audio identification code.

[0015] Furthermore, the format of the audio feature code also includes: a hash code and a UID number, and each audio feature code corresponds to only one audio file.

[0016] Furthermore, the communication method between the audio device module and the mobile device module also includes: communicating via Bluetooth or wireless local area network.

[0017] Through the above technical scheme, the present invention has the following beneficial effects: by utilizing near field communication technology, the audio device can be communicated with to obtain the audio identification code in a simple and quick manner, and the audio identification code is used to correspond to the audio file, thereby improving the efficiency of searching and obtaining the audio file, greatly reducing the steps of obtaining the audio in the process, and improving the efficiency of obtaining the audio file. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 The present invention is a schematic diagram of the structure of a portable audio acquisition system based on near field communication technology.

[0019] Figure 2 Schematic diagram of the structure of the audio device module in an embodiment of the present invention.

[0020] Figure 3 The figure is a schematic diagram of the overall process of a portable audio acquisition method based on near field communication technology in an embodiment of the present invention. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0022] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0023] Example 1

[0024] See also Figure 1 , a portable audio acquisition system based on near field communication technology, including a cloud storage module, several audio device modules and a mobile device module;

[0025] The cloud storage module is used to store audio files and audio identification codes corresponding to the audio files, retrieve the corresponding audio files according to the audio identification codes uploaded by the audio device module, and send the audio files to the audio device module that uploaded the audio identification codes;

[0026] The audio device module is used to play audio, perform near field communication with the mobile device module, transmit the audio identification code of the currently playing audio to the mobile device module through near field communication according to the request of the mobile device module, receive the audio identification code sent by the mobile device module, upload the audio identification code to the cloud storage module, and play the audio file sent by the cloud storage module;

[0027] The mobile device module is used to perform near field communication with the audio device module, request the audio device module for an audio identification code currently being played, receive the audio identification code of the currently playing audio sent by the audio device module, store the audio identification code, and send the audio identification code to another audio device module, so that the other audio device module plays the audio file according to the sent audio identification code.

[0028] The audio device module can be an audio output device such as a speaker, an amplifier, or a headset, and the mobile device module can be a mobile phone, a tablet, or an electronic device with NFC function. By acquiring audio feature codes from a variety of different devices, the simplicity and flexibility of audio acquisition can be improved. At the same time, the short distance and simple communication method of NFC can also reduce the steps of transmission. In addition, since the NFC communication rate is low, the present invention acquires audio by setting an audio identification code instead of directly transmitting the audio file. The audio identification code occupies a small space and the transmission time is short. It can better cooperate with the NFC function to jointly improve the efficiency of audio acquisition.

[0029] like Figure 2 As shown, in an optional embodiment, the audio device module includes an audio playback unit and an NFC communication unit; the audio playback unit is used to receive a transmission instruction sent by the NFC communication unit, and send an audio identification code of the currently playing audio to the NFC communication unit according to the transmission instruction; the NFC communication unit is used to respond to a near field communication request of the mobile device module, send a transmission instruction to the audio playback unit according to the near field communication request, obtain the audio identification code of the currently playing audio, and send the audio identification code of the currently playing audio to the mobile device module.

[0030] The audio playback and NFC communication are designed separately to expand the usage scenarios of audio acquisition. It is only necessary to ensure that the NFC communication unit and the audio playback unit can communicate normally. No matter where the audio playback unit is set, the user can obtain the corresponding audio identification code through the NFC communication unit separated from the audio playback unit. For example, if the sound box or speaker is installed in a high place, it is inconvenient for the user to perform near-field communication with it. At this time, the user can perform near-field communication through the corresponding NFC communication unit set in a low place, and can still interact with the audio playback unit in a high place to obtain the corresponding audio or play the corresponding audio, thereby improving the user experience.

[0031] In an optional embodiment, the audio device module also includes: when the mobile device module communicates with the audio device module to request the currently playing audio, the audio device module requests the cloud storage module to retrieve whether the currently playing audio exists in the cloud storage module, and when the cloud storage module does not have the audio file of the currently playing audio, an audio identification code is generated based on the currently playing audio, and the audio file of the currently playing audio and the audio identification code are uploaded to the cloud storage module.

[0032] Since some audio devices may play the audio set by the user through Bluetooth or local storage, but the corresponding audio file does not exist in the cloud storage at this time, the audio device module can generate a corresponding audio identification code based on the audio file and upload it together with the audio file. After obtaining the audio identification code, the user can still obtain the audio file through the cloud storage module on other audio devices, thereby improving the convenience of audio acquisition.

[0033] In an optional embodiment, the audio identification code is generated according to the currently playing audio, and its specific implementation method is: perform a fast Fourier transform on the currently playing audio to obtain the current audio spectrum, and extract the MFCC feature vector of the current audio spectrum, and the MFCC feature vector is the audio identification code of the currently playing audio.

[0034] MFCC feature vector is a feature vector commonly used in the field of audio processing. The audio is converted into a feature vector, and then compared and retrieved based on the feature vector. When the audio in the cloud storage does not have an audio number set, the corresponding audio file can also be searched through the feature vector, which expands the means of audio acquisition.

[0035] In an optional embodiment, the method of retrieving the corresponding audio file according to the audio identification code uploaded by the audio device module includes: the audio identification code uploaded by the audio device module is a first audio identification code, and the cosine similarity between the first audio identification code and the remaining audio identification codes in the cloud storage module is calculated, and the audio file corresponding to the audio identification code with the smallest cosine similarity with the first audio identification code is the audio file to be retrieved.

[0036] Cosine similarity evaluates the similarity of two vectors by calculating the cosine value of the angle between them. The higher the similarity, the more similar the two vectors are. The audio identification code extracts the feature vector of the audio file. Therefore, the higher the similarity of two feature vectors, the closer the audio files corresponding to the two are. The above method can easily retrieve the required audio file.

[0037] In an optional embodiment, the method further includes: normalizing the MFCC feature vector, performing binary conversion on the normalized MFCC feature vector to obtain a binary identification code, wherein the binary identification code is a final audio identification code.

[0038] Through normalization, that is, binary conversion, all audio identification codes are unified into the same metric space, reducing the amount of calculation during retrieval and facilitating the comparison of feature vectors. At the same time, binary conversion can compress the size of the audio identification code, which is more conducive to NFC transmission.

[0039] In an optional embodiment, the format of the audio feature code also includes: a hash code and a UID number, and each audio feature code corresponds to only one audio file.

[0040] In an optional embodiment, the communication method between the audio device module and the mobile device module also includes: communicating via Bluetooth or wireless local area network.

[0041] Example 2

[0042] See also Figure 2 , a portable audio acquisition method based on near field communication technology, comprising the following steps: S1. a mobile device performs near field communication with a first audio device module, and requests an audio identification code currently played by the first audio device;

[0043] S2. The first audio device transmits the audio identification code of the currently playing audio to the mobile device via near field communication according to the request of the mobile device;

[0044] S3. The mobile device receives the audio identification code of the currently playing audio sent by the first audio device, stores the audio identification code, sends the audio identification code to the second audio device, the second audio device uploads the audio identification code to the cloud device, the cloud device retrieves the corresponding audio file according to the uploaded audio identification code, sends the corresponding audio file to the second audio device, and the second audio device plays the audio file sent by the cloud device.

[0045] The audio device includes an audio playback mechanism and an NFC communication mechanism; the audio playback mechanism is used to receive a transmission instruction sent by the NFC communication mechanism, and send the audio identification code of the currently playing audio to the NFC communication mechanism according to the transmission instruction; the NFC communication mechanism is used to respond to the near field communication request of the mobile device, send a transmission instruction to the audio playback mechanism according to the near field communication request, obtain the audio identification code of the currently playing audio, and send the audio identification code of the currently playing audio to the mobile device. The embodiment disclosed in this specification is only an example of a unilateral feature of the present invention, and the protection scope of the present invention is not limited to this embodiment, and any other functionally equivalent embodiments fall within the protection scope of the present invention. For those skilled in the art, various other corresponding changes and deformations can be made according to the technical solutions and concepts described above, and all of these changes and deformations should fall within the protection scope of the claims of the present invention.

Claims

1. A portable audio acquisition system based on near field communication technology, characterized in that: It includes a cloud storage module, several audio device modules and a mobile device module; The cloud storage module is used to store audio files and audio identification codes corresponding to the audio files, retrieve the corresponding audio files according to the audio identification codes uploaded by the audio device module, and send the audio files to the audio device module that uploaded the audio identification codes; The audio device module is used to play audio, perform near field communication with the mobile device module, transmit the audio identification code of the currently playing audio to the mobile device module through near field communication according to the request of the mobile device module, receive the audio identification code sent by the mobile device module, upload the audio identification code to the cloud storage module, and play the audio file sent by the cloud storage module; The mobile device module is used to perform near field communication with the audio device module, request the audio device module for an audio identification code currently being played, receive the audio identification code of the currently playing audio sent by the audio device module, store the audio identification code, and send the audio identification code to another audio device module, so that the other audio device module plays the audio file according to the sent audio identification code.

2. A portable audio acquisition system based on near field communication technology according to claim 1, characterized in that: The audio device module includes an audio playback unit and an NFC communication unit; the audio playback unit is used to receive a transmission instruction sent by the NFC communication unit, and send an audio identification code of the currently playing audio to the NFC communication unit according to the transmission instruction; the NFC communication unit is used to respond to a near-field communication request of the mobile device module, send a transmission instruction to the audio playback unit according to the near-field communication request, obtain the audio identification code of the currently playing audio, and send the audio identification code of the currently playing audio to the mobile device module.

3. A portable audio acquisition system based on near field communication technology according to claim 1, characterized in that: The audio device module also includes: when the mobile device module communicates with the audio device module to request the currently playing audio, the audio device module requests the cloud storage module to retrieve whether the currently playing audio exists in the cloud storage module, and when the cloud storage module does not have the audio file of the currently playing audio, an audio identification code is generated according to the currently playing audio, and the audio file of the currently playing audio and the audio identification code are uploaded to the cloud storage module.

4. A portable audio acquisition system based on near field communication technology according to claim 3, characterized in that: The specific implementation method of generating the audio identification code according to the currently played audio is as follows: performing a fast Fourier transform on the currently played audio to obtain the current audio spectrum, and extracting the MFCC feature vector of the current audio spectrum, wherein the MFCC feature vector is the audio identification code of the currently played audio.

5. A portable audio acquisition system based on near field communication technology according to claim 4, characterized in that: The method of retrieving the corresponding audio file according to the audio identification code uploaded by the audio device module includes: the audio identification code uploaded by the audio device module is a first audio identification code, and the cosine similarity between the first audio identification code and the remaining audio identification codes in the cloud storage module is calculated, and the audio file corresponding to the audio identification code with the smallest cosine similarity with the first audio identification code is the audio file to be retrieved.

6. A portable audio acquisition system based on near field communication technology according to claim 4, characterized in that: Also includes: The MFCC feature vector is normalized, and the normalized MFCC feature vector is binary-converted to obtain a binary identification code, which is the final audio identification code.

7. The portable audio acquisition system based on near field communication technology according to claim 1, characterized in that: The format of the audio feature code also includes: a hash code and a UID number, and each audio feature code corresponds to only one audio file.

8. The portable audio acquisition system based on near field communication technology according to claim 1, characterized in that: The communication method between the audio device module and the mobile device module also includes: communicating via Bluetooth or wireless local area network.

9. A portable audio acquisition method based on near field communication technology, characterized in that: The following steps are involved: S1. The mobile device performs near field communication with the first audio device, requesting the first audio device to play the audio identification code; S2. The first audio device transmits the audio identification code of the currently playing audio to the mobile device via near field communication according to the request of the mobile device; S3. The mobile device receives the audio identification code of the currently playing audio sent by the first audio device, stores the audio identification code, sends the audio identification code to the second audio device, the second audio device uploads the audio identification code to the cloud device, the cloud device retrieves the corresponding audio file according to the uploaded audio identification code, sends the corresponding audio file to the second audio device, and the second audio device plays the audio file sent by the cloud device.

10. A portable audio acquisition method based on near field communication technology, characterized in that: The audio device includes an audio playback mechanism and an NFC communication mechanism; the audio playback mechanism is used to receive a transmission instruction sent by the NFC communication mechanism, and send an audio identification code of the currently playing audio to the NFC communication mechanism according to the transmission instruction; the NFC communication mechanism is used to respond to a near-field communication request of a mobile device, send a transmission instruction to the audio playback mechanism according to the near-field communication request, obtain the audio identification code of the currently playing audio, and send the audio identification code of the currently playing audio to the mobile device.