Disclosure of Invention
The invention aims to provide an outdoor earphone wireless music playing method for reducing influence of square dance music on the surrounding environment.
The above object of the present invention is achieved by the following technical solutions:
the method is applied to a receiving end and comprises the following steps:
acquiring a Bluetooth signal; wherein the Bluetooth signal comprises an audio signal and an audio identification code representing the audio signal;
marking Bluetooth signals with the same audio identification code and forming audio marking information;
selecting one type of audio marking information as user selection information according to the operation of a user, and then reading an audio identification code corresponding to the user selection information;
and transmitting the audio signal corresponding to the user selection information to a playing end.
By adopting the technical scheme, when different types of square dances exist in a certain area, the corresponding audio identification codes representing the audio signals are identified, so that the square dances of the different audio signals can be distinguished; after one of the audio mark information is selected by a user, reading an audio identification code corresponding to the audio mark information according to the selection of the user, and transmitting a corresponding audio signal to a playing end for playing after the audio identification code is read, so that people always follow music of one audio signal to move in the process of dancing at the same place, the influence of the music played among teams of each dancing at the same place on each other is reduced, and the people dancing at the same place obtain better movement experience; the music is directly shared and transmitted between two users in a mode that the users carry the receiving end with them, the diffusion range of sound is small, and the influence of the played music on the life of surrounding residents when the users dance in the square is reduced; through the sharing mode, through the mode that the receiving end received bluetooth signal to realize the synchronous effect of music sharing, in order to keep the synchronism between each dancer when dancing, improved dancing person's motion experience.
The present invention may be further configured in a preferred example to: music flag information having the same audio identification code as the user selection information is retained.
By adopting the technical scheme, the music mark information with the same audio identification code as the user selection information is reserved, so that the receiving end can directly select connection when the sharing connection is established again, and the convenience of operation is improved.
The present invention may be further configured in a preferred example to: a bluetooth signal with user selection information is transmitted.
Through adopting above-mentioned technical scheme, also obtained the audio marker information that bluetooth signal carried after the receiving terminal obtained bluetooth signal, at this moment, the receiving terminal has also carried the audio identification code that represents this audio information, and the receiving terminal has simultaneously the function of receiving, signalling this moment, can regard as signal sender to establish shared connection with other receiving terminals in order to realize the function of music sharing, also can regard as receiving terminal to establish connection with other bluetooth signal sending terminals in order to obtain audio information, through such a mode, with the effect that realizes former receiving terminal reposition of redundant personnel, be favorable to improving data transmission's smoothness.
The second purpose of the invention is to provide an outdoor earphone wireless music playing method for reducing influence of square dance music on the surrounding environment.
The above object of the present invention is achieved by the following technical solutions:
the method is applied to a transmitting end and comprises the following steps:
and transmitting a Bluetooth signal, wherein the Bluetooth signal comprises audio information and a music identification code representing the audio information.
The Bluetooth signal is sent by the sending end to enable the receiving end to acquire the Bluetooth signal, the Bluetooth signal sent by the sending end carries the audio identification code, so that the Bluetooth signal has unique identification, the audio identification code represents the audio signal, after the receiving end identifies the audio identification code, the audio signal corresponding to the audio identification code is correspondingly acquired, the shared relation established between the receiving end and the sending end is formed, and a single communication channel is established between the receiving end and the sending end, so that the receiving end cannot be connected with the sending end carrying other audio identification codes in the whole dancing process, the receiving end always receives the same audio signal, and user experience is improved.
The invention further aims to provide an outdoor earphone wireless music playing receiving end capable of reducing influence of square dance music on surrounding environment.
The above object of the present invention is achieved by the following technical solutions:
the acquisition module acquires Bluetooth signals; wherein the Bluetooth signal comprises an audio signal and an audio identification code representing the audio information;
the marking module marks the Bluetooth signals with the same music identification code and forms audio marking information;
the selection module is used for selecting one type of audio mark information as user selection information according to the operation of a user, and then reading a music identification code corresponding to the user selection information;
and the transmission module is used for transmitting the audio signal corresponding to the user selection information to the playing end.
Through adopting above-mentioned technical scheme, send bluetooth signal's terminal as the sender, after the sender sent bluetooth signal, acquire the module and obtained this audio signal that has audio identification code, select the module after the user has selected one of them music mark information, read the audio identification code that corresponds under this music mark information, obtained the audio signal that has carried audio identification code promptly to make every audio signal all have unique identification. By establishing a single connecting channel between the receiving end and the transmitting end, the receiving end is connected with the transmitting end corresponding to other audio identification codes when dancing is reduced, and the influence of other music on the square on the dancer is reduced.
The present invention may be further configured in a preferred example to: the receiving end also comprises a storage module which reserves the music mark information with the same audio identification code as the user selection information.
By adopting the technical scheme, the music mark information with the same audio identification code as the user selection information is reserved, so that the receiving end can directly select connection when the sharing connection is established again, and the convenience of operation is improved.
The present invention may be further configured in a preferred example to: the receiving end further comprises a sharing module, and Bluetooth signals with user selection information are sent.
Through adopting above-mentioned technical scheme, also obtained the audio marker information that bluetooth signal carried after the receiving terminal obtained bluetooth signal, at this moment, the receiving terminal has also carried the audio identification code that represents this audio information, and the receiving terminal has simultaneously the function of receiving, signalling this moment, can regard as signal sender to establish shared connection with other receiving terminals in order to realize the function of music sharing, also can regard as receiving terminal to establish connection with other bluetooth signal sending terminals in order to obtain audio information, through such a mode, with the effect that realizes former receiving terminal reposition of redundant personnel, be favorable to improving data transmission's smoothness.
The invention aims at providing an outdoor earphone wireless music playing transmitting end capable of reducing influence of square dance music on surrounding environment.
And the sending module is used for sending Bluetooth signals, wherein the Bluetooth signals comprise audio information and music identification codes representing the audio information.
Through adopting above-mentioned technical scheme, send the bluetooth information that contains audio signal and carried the audio identification code through the sender to for the receiver is connected, and sender and receiver establish connecting channel through bluetooth signal, and then can realize sharing between the audio signal, have kept sender and receiver play the synchronism and the synchronism of music, have improved dancing experience of dancer. After a user of the receiving end selects one of the music mark information, a unique connection channel is established between the transmitting end and the receiving end, the uniqueness is achieved through an audio identification code, and the transmitting end shares the audio signal to the receiving end through a specific Bluetooth signal so that the receiving end can acquire the audio signal for playing.
It is a fifth object of the present invention to provide a computer-readable storage medium.
The above object of the present invention is achieved by the following technical solutions:
a computer program stored which can be loaded by a processor and which performs the method according to any of claims 1-3.
In summary, the beneficial technical effects of the invention are as follows:
1. when different types of square dances exist in a certain area, the corresponding audio identification codes of the representative audio signals are identified, so that the square dances of the different audio signals can be distinguished; after one of the audio mark information is selected by a user, reading an audio identification code corresponding to the audio mark information according to the selection of the user, and transmitting a corresponding audio signal to a playing end for playing after the audio identification code is read, so that people always follow music of one audio signal to move in the process of dancing at the same place, the influence of the music played among teams of each dancing at the same place on each other is reduced, and the people dancing at the same place obtain better movement experience; the music is directly shared and transmitted between two users in a mode that the users carry the receiving end with them, the diffusion range of sound is small, and the influence of the played music on the life of surrounding residents when the users dance in the square is reduced; after one person plays music in a sharing mode, the music played by the person is shared with other people who dance together, so that the effect of music synchronization is achieved, the synchronism among all the dancers in the dancing process is maintained, and the motion experience of the dancers is improved;
2. the music mark information with the same audio identification code as the user selection information is reserved, so that the receiving end can directly select connection when the sharing connection is established again, and the convenience of operation is improved;
3. after the receiving end obtains the Bluetooth signal, the receiving end also obtains the audio mark information carried by the Bluetooth signal, at the moment, the receiving end also carries the audio identification code representing the audio information, and at the moment, the receiving end has the functions of receiving and signaling, can be used as a signal sender to establish sharing connection with other receiving ends so as to realize the function of music sharing, and can also be used as the receiving end to establish connection with other Bluetooth signal sending ends so as to obtain the audio information.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, unless otherwise specified, the term "/" generally indicates that the associated object is an "or" relationship.
Referring to fig. 1, in an embodiment, there is provided an outdoor earphone wireless music playing receiving terminal, including: an acquisition module 10 for acquiring a bluetooth signal; wherein the Bluetooth signal comprises an audio signal and an audio identification code representing the audio information;
the marking module 20 marks the Bluetooth signals with the same music identification code and forms audio marking information;
a selection module 30 for selecting an audio tag information as user selection information according to a user operation and then reading a music identification code corresponding to the user selection information;
the transmission module 60 transmits the audio signal corresponding to the user selection information to the playing end.
Specifically, the receiving end may be a terminal with a signal receiving and transmitting function in a mobile phone, a tablet, a smart watch, a wired earphone, a wireless earphone and a bluetooth earphone. The audio information may be music, broadcast, or electronic book reading, etc., in this embodiment, music is taken as an example; the audio identification code is an information identification code with uniqueness, such as a digital code or a text code or combination of a digital and a text, carried in the Bluetooth signal, because the Bluetooth signal is provided with a UUID (universal serial bus) unique identification code, meanwhile, the Bluetooth information also carries the audio identification code, and a receiving end distinguishes different Bluetooth signals through the unique identification information of the Bluetooth signal, and it can be understood that the audio signals under the same audio identification code are consistent; the music mark information is to mark the audio signals having the same audio identification code, and the mark may be to mark an asterisk behind the searched characteristic music information, to cover the information with a color, or the like. The player refers to a playing device in the bluetooth headset, such as a speaker of the bluetooth headset.
Specifically, the mode selected by the user can be selected in a mode of triggering by a mechanical key, can be obtained in a mode of triggering by a virtual key, and can also be selected automatically; the mode of triggering the mechanical key can be automatically obtained by pressing a start key after starting, or can be obtained by pressing a corresponding trigger key again after starting; the virtual key triggering mode can be realized by pressing a related virtual trigger key in an interface of corresponding software; the automatic selection can be performed after a specific sound signal is acquired, and the later stage can be manually switched according to the needs of a user.
The receiving end and the transmitting end perform data transmission through UHF transmission, bluetooth, a mobile network, a wireless network or WIFI, in this embodiment, bluetooth is taken as an example, the receiving end has Bluetooth identification and connection functions, the acquisition module 10 receives Bluetooth signals sent by surrounding transmitting ends, the marking module 20 classifies the acquired Bluetooth signals according to different types of audio identification codes to divide various Bluetooth signals carrying different audio identification codes, the Bluetooth signals carrying the same audio identification code are classified and marked for user selection, the selection module 30 acquires user selection information to acquire Bluetooth signals selected by users, then inquires audio identification codes corresponding to music marking information selected by users, reads the audio identification codes and acquires audio signals corresponding to the audio identification codes to be transmitted to the playing end through Bluetooth for music playing. By restarting the Bluetooth headset, the information stored in the Bluetooth headset can be updated.
Further, the receiving end further comprises a storage module for reserving music mark information with the same audio identification code as the user selection information.
There may be multiple transmitting ends in the same location range, that is, there may be bluetooth signals carrying different audio identification codes, the marking module 20 marks the bluetooth signals having different audio identification codes, and after the user selects one of the music marking information according to the needs, the storage module is triggered to store the music marking information selected by the user in the storage module.
Further, the storage module includes a rejection sub-module that intercepts music tag information having an audio identification code that is not compatible with the user selection information.
After the selection module 30 acquires the user selection information, the rejection sub-module checks and compares the audio identification code carried by the bluetooth signal acquired again, and intercepts inconsistent music mark information under the condition that the audio identification code acquired by checking is inconsistent with the audio identification code corresponding to the user selection information.
Further, the receiving end further includes a sharing module 70 for transmitting a bluetooth signal with user selection information.
After the receiving end selects the needed music mark information, the storage module stores and reserves the audio signal corresponding to the music mark information selected by the user, namely, the audio mark information selected by the user is the user selection information, after the receiving end acquires the user selection information, the sharing module 70 is triggered, the sharing module 70 sends out the Bluetooth signal carrying the user selection information, and waits for other receiving ends to acquire the Bluetooth signal, at the moment, the receiving end is not only the receiving end but also the signal sending end, and the function of sending sound Bluetooth signals to other receiving ends so as to establish sharing connection with other receiving ends is achieved.
Further, the receiving end further includes a sorting module 40, configured to count the acquired bluetooth signals and form count information, and if the count information is one, directly feed back the bluetooth signals; if the count information is greater than or equal to two, the acquired Bluetooth signals are ranked according to strong to weak so as to form ranking data information;
and feeding back the Bluetooth signals ranked ahead according to the ranking information for selection.
Specifically, the ranking data information refers to that the bluetooth signals with the same audio identification code are digitally ranked according to the ranking mode of the signals from strong to weak, for example, the signal is marked as 1 with the strongest signal, the signal is marked as 2 … only, and so on, and the set formed by combining the numbers is the ranking data information.
The receiving end sequences the acquired Bluetooth signals according to the strength of the signals to form sequencing data information, so that a user can select the Bluetooth signals with stronger signals to connect according to the strength of the signals, a stronger signal connection relationship is established between the transmitting end and the receiving end, and better signal transmission is realized.
Further: the receiving end further comprises a preference module 50, which is used for acquiring the bluetooth signal with the forefront ranking number in the ranking data information fed back currently; and automatically identifying the audio identification code corresponding to the Bluetooth signal and transmitting the audio signal with the audio identification code to a player of the Bluetooth headset.
After the received bluetooth signals are ordered, the ordering module 40 obtains the ordering result through the optimizing module 50 and automatically identifies the bluetooth signal with the highest ordering to connect, and the receiving end reads the audio identification code carried by the bluetooth signal and obtains the audio signal corresponding to the audio identification code and transmits the audio signal to the player of the bluetooth headset for playing.
Further, the Bluetooth headset comprises a volume control module, the Bluetooth signals comprise volume signals, and volume following information and volume self-adjusting information are generated according to the operation of a user;
feeding back volume following information and volume adjusting information for selection;
acquiring the selection of a user;
if the volume adjustment information is acquired, generating a volume adjustment signal;
if the volume following information is acquired, generating a volume following signal and sending the volume following signal to the sending end so as to establish volume sharing with the sending end.
Specifically, the volume following information means that the volume of the bluetooth headset changes along with the current volume change of the transmitting end; the volume self-adjusting information means that the volume of the wireless earphone at the receiving end can be adjusted autonomously;
the selection mode can be selected by a mechanical key triggering mode or can be obtained by a virtual key triggering mode, and the mode is consistent with the selection of the music mark information and is not described herein. The Bluetooth signal sent by the sending end contains the current volume information of the sending end, after the receiving end obtains the volume information of the playing music of the sending end, two options of volume following information and volume self-adjusting information are generated through the volume signal for the receiving end to select, when the user selects the volume following information, the sending end generates the volume following signal according to the selection of the user, and volume sharing is established between the volume signal and the sending end, so that volume synchronous adjustment is realized; after the user selects the volume self-adjusting information, the receiving end obtains the independent adjusting right of the volume, and the user can adjust the volume in a mode of a virtual key or a mechanical key.
Further, in an embodiment, an outdoor earphone wireless music playing transmitting end is provided, including:
and the sending module is used for sending Bluetooth signals, wherein the Bluetooth signals comprise audio information and music identification codes representing the audio information.
In this embodiment, taking the mobile phone as an example, after the sending end starts the bluetooth signal sending operation through a mechanical key or a virtual key, the sending module sends out a bluetooth signal, then after the receiving end selects the bluetooth signal, user selection information is generated, the selecting module 30 reads an audio identification code corresponding to the user selection information, an audio signal is obtained, a sharing relationship is established between the sending end and the receiving end through bluetooth transmission, and music data sharing is realized between the sending end and the receiving end.
Further, referring to fig. 2 and fig. 3, an outdoor earphone wireless music playing method is provided for an embodiment of the present invention, and the method is applied to a receiving end, and the main flow of the method is described as follows:
step 100, acquiring a Bluetooth signal; the Bluetooth signal comprises an audio signal and an audio identification code representing the audio information.
And step 200, marking Bluetooth signals with the same music identification code and forming audio marking information.
Step 300, selecting an audio marking information as user selection information according to the operation of the user, and then reading an audio identification code corresponding to the user selection information.
Step 400, transmitting the audio signal corresponding to the user selection information to the playing end.
Further, before step 400, step 301 is further included to retain music mark information having the same audio identification code as the user selection information.
Further, after step 300, before step 400, a step 302 is further included of transmitting a bluetooth signal with user selection information.
Further, after the step 302, the method further includes a step 303 of counting the acquired bluetooth signals and forming count information, and if the count information is one, directly feeding back the bluetooth signals; if the count information is greater than or equal to two, the acquired Bluetooth signals are ranked according to strong to weak so as to form ranking data information; and feeding back the Bluetooth signals ranked ahead according to the ranking information for selection.
Further, after step 303, step 304 is included, where a bluetooth signal with the most front ranking number in the ranking data information fed back currently is obtained; and automatically identifying the audio identification code corresponding to the Bluetooth signal and transmitting the music with the audio identification code to a playing end of the Bluetooth earphone.
Further, after step 400, further comprising step 500, the bluetooth signal includes a volume signal, and volume following information and volume self-adjusting information are generated according to the operation of the user;
feeding back volume following information and volume adjusting information for selection;
acquiring the selection of a user;
if the volume adjustment information is acquired, generating a volume adjustment signal;
if the volume following information is acquired, generating a volume following signal and sending the volume following signal to the sending end so as to establish volume sharing with the sending end.
Embodiment four:
in an embodiment, there is provided a wireless music playing method of an outdoor earphone, which is applied to a transmitting end, and the method includes the following steps:
and transmitting a Bluetooth signal, wherein the Bluetooth signal comprises audio information and a music identification code representing the audio information.
Further, in an embodiment, a computer readable storage medium is provided storing method steps capable of being loaded by a processor and performing steps 100 to 500.